/* ============================================================
   GRAYHOST INNOVATIONS — COMPONENTS
   components.css — light-first components, dark overrides only
   where a component sits in .section--dark / .cta-band / footer.
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  position: relative;
  transition: color 0.3s var(--ease-out), border-color 0.3s ease,
    background-color 0.3s ease, transform 0.3s var(--ease-out),
    box-shadow 0.3s ease;
  will-change: transform;
}
.btn .btn-arrow { transition: transform 0.3s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--solid {
  background: var(--accent);
  color: #1d1206;
  box-shadow: 0 6px 20px rgba(235, 125, 41, 0.28);
}
.btn--solid:hover { background: #f08c3e; box-shadow: 0 8px 26px rgba(235, 125, 41, 0.36); }

.btn--ink {
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover { background: #2c2c31; }

.btn--ghost {
  border-color: rgba(24, 22, 18, 0.25);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
}
.section--dark .btn--ghost,
.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--ink-text);
}
.section--dark .btn--ghost:hover,
.cta-band .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg { padding: 1.15rem 2.4rem; font-size: var(--text-base); }

/* Underline-draw text link */
.link-draw {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--accent-deep);
  position: relative;
  padding-bottom: 3px;
}
.section--dark .link-draw,
.cta-band .link-draw { color: var(--accent); }
.link-draw::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.link-draw:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: var(--space-6);
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #f6f2ea 0%, var(--bg) 80%);
}
.hero--inner {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(4rem, 4rem + 4vw, 7.5rem));
  padding-bottom: clamp(3.5rem, 3rem + 4vw, 6.5rem);
}
.hero h1 { max-width: 15ch; margin-bottom: var(--space-4); }
h1 .accent, h2 .accent {
  font-style: normal;
  color: var(--accent-vivid);
}
.section--dark h1 .accent, .section--dark h2 .accent,
.cta-band h1 .accent, .cta-band h2 .accent { color: var(--accent); }
.hero .lede {
  max-width: 52ch;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero-meta {
  margin-top: clamp(3rem, 3rem + 3vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--text);
  font-weight: 600;
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.crumbs a:hover { color: var(--accent-deep); }
.crumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.5;
}

/* ---------- Trust strip / client logos ---------- */
.trust-strip {
  border-block: 1px solid var(--line);
  padding-block: var(--space-6);
  background: var(--surface);
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
}
@media (min-width: 768px) {
  .trust-stats { grid-template-columns: repeat(4, 1fr); }
}
.trust-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1;
  color: var(--accent-vivid);
}
.trust-stats .stat strong em { font-style: normal; }
.trust-stats .stat > span { font-size: var(--text-sm); color: var(--text-muted); }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-wall { grid-template-columns: repeat(6, 1fr); } }
.logo-wall li {
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 1.2rem;
  min-height: 96px;
}
.logo-wall img {
  max-height: 44px;
  width: auto;
  max-width: 120px;
  filter: grayscale(1) contrast(0.6) brightness(0.9);
  opacity: 0.65;
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-wall li:hover img { opacity: 1; filter: none; }
.svc-row {
  display: block;
  border-bottom: 1px solid var(--line);
  position: relative;
}

/* ---------- Product spotlight split ---------- */
.spotlight {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding-block: clamp(2.5rem, 2rem + 3vw, 5rem);
}
@media (min-width: 900px) {
  .spotlight { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 6rem); }
  .spotlight--flip .spotlight-media { order: 2; }
}
.spotlight + .spotlight { border-top: 1px solid var(--line); }
.spotlight-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #efe9df, #e3dccf);
}
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; }
.spotlight h3 { font-size: var(--text-2xl); margin-bottom: var(--space-3); }
.spotlight .product-kicker {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-deep);
  display: block;
  margin-bottom: var(--space-2);
}
.benefit-list { display: grid; gap: 0.85rem; margin-block: var(--space-4); }
.benefit-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.benefit-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b35309' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.spotlight-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ---------- Process steps ---------- */
.process { display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
}

/* Timeline (SDLC journey) */
.timeline {
  position: relative;
  display: grid;
  gap: var(--space-5);
  padding-left: clamp(1.6rem, 4vw, 2.5rem);
  counter-reset: phase;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--line) 88%);
}
.timeline .phase { position: relative; }
.timeline .phase::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.6rem, 4vw, 2.5rem));
  top: 8px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--accent);
}
.timeline .phase h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}
.timeline .phase h3::before {
  counter-increment: phase;
  content: counter(phase, decimal-leading-zero);
  font-size: var(--text-sm);
  color: var(--accent-deep);
}
.timeline .phase p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 58ch;
}

/* ---------- Cards ---------- */
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #eb7d29;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.card:hover { border-color: rgba(235, 125, 41, 0.45); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.card p { font-size: var(--text-sm); color: var(--text-muted); }
.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(235, 125, 41, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
}
.card .card-icon svg { width: 22px; height: 22px; }

/* Feature grid */
.feature-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .feature-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* Compact module tile (extension grids) */
.module-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.4rem;
  display: grid;
  gap: 0.5rem;
  align-content: start;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.module-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #eb7d29;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.module-tile:hover { border-color: rgba(235, 125, 41, 0.45); }
.module-tile:hover::before { transform: scaleX(1); }
.module-tile h3 { font-size: var(--text-base); font-weight: 600; }
.module-tile p {
  font-size: var(--text-xs);
  color: var(--text-muted);
  line-height: 1.55;
}
.module-tile .tile-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}
.module-tile .tile-icon svg { width: 17px; height: 17px; }

/* Integration chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1.1rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: border-color 0.25s ease, color 0.25s ease;
}
.chip:hover {
  border-color: rgba(235, 125, 41, 0.6);
  color: var(--text);
}
.chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Work cards ---------- */
.work-grid { display: grid; gap: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); grid-template-columns: 1fr; }
@media (min-width: 620px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-card {
  display: flex; flex-direction: column; height: 100%; position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(0.65rem, 0.55rem + 0.4vw, 0.85rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, border-color 0.3s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(24, 22, 18, 0.16); }
.work-card .work-media {
  border-radius: calc(var(--radius-lg) - 7px);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--tint);
  position: relative;
}
.work-card .work-media img,
.work-card .work-media .mock-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-expo);
}
.work-card:hover .work-media img,
.work-card:hover .work-media .mock-cover { transform: scale(1.05); }
.work-card .work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  padding: clamp(0.85rem, 0.75rem + 0.4vw, 1.1rem) 0.35rem 0;
}
.work-card h3 { font-size: var(--text-md); font-weight: 500; margin-right: auto; transition: color 0.25s ease; }
.work-card:hover h3 { color: var(--accent-deep); }
.work-card .work-tag {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 0.32rem 0.66rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.work-card .work-desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin: 0.5rem 0.35rem 0.35rem;
}

/* CSS-built cover for projects without imagery */
.mock-cover {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 15%, rgba(235, 125, 41, 0.25), transparent 55%),
    linear-gradient(150deg, #2c2c33, #17171b);
}
.mock-cover span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 1rem;
}
.mock-cover img {
  max-height: 64px;
  width: auto;
  max-width: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.mock-cover--light {
  background:
    radial-gradient(circle at 80% 15%, rgba(235, 125, 41, 0.2), transparent 55%),
    linear-gradient(150deg, #f3eee6, #e2dacb);
}
.mock-cover--light img { filter: brightness(0); opacity: 0.85; }

/* Filter bar */
.filter-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgba(251, 250, 248, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-block: 1px solid var(--line);
  padding-block: 0.8rem;
  margin-bottom: var(--space-6);
}
.filter-bar .container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar .container::-webkit-scrollbar { display: none; }
.filter-btn {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}
.work-grid .is-filtered-out { display: none; }

/* ---------- Tabs ---------- */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
  position: relative;
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.9rem 1.3rem;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.tab-btn:hover { color: var(--text); }
.tab-btn::after {
  content: "";
  position: absolute;
  left: 1.3rem;
  right: 1.3rem;
  bottom: -1px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
}
.tab-btn[aria-selected="true"] { color: var(--text); }
.tab-btn[aria-selected="true"]::after { transform: scaleX(1); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panel-in 0.45s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tab-panel { animation: none; }
}

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .quote-grid { grid-template-columns: repeat(2, 1fr); } }
.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 450;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.quote-card blockquote::before {
  content: "\201C";
  display: block;
  font-size: 3rem;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.quote-card figcaption {
  margin-top: auto;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.quote-card figcaption strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }
.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s var(--ease-out), border-color 0.3s ease;
}
.faq-item summary .faq-icon::before,
.faq-item summary .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.6px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-item summary .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  border-color: var(--accent);
}
.faq-item .faq-body {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  max-width: 62ch;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 550;
  margin-bottom: 0.45rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text);
  background: var(--surface);
  border: 1px solid rgba(24, 22, 18, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(235, 125, 41, 0.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b574f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 16px;
}
.field .field-error {
  display: none;
  font-size: var(--text-xs);
  color: #c0392b;
  margin-top: 0.35rem;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #c0392b; }
.field.has-error .field-error { display: block; }
.form-note { font-size: var(--text-xs); color: var(--text-muted); }
.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-size: var(--text-sm);
  margin-top: var(--space-3);
}
.form-status.is-ok {
  display: block;
  background: rgba(46, 125, 50, 0.08);
  color: #1e7d32;
  border: 1px solid rgba(46, 125, 50, 0.35);
}
.form-status.is-err {
  display: block;
  background: rgba(192, 57, 43, 0.07);
  color: #b03425;
  border: 1px solid rgba(192, 57, 43, 0.3);
}

/* ---------- Big CTA band ---------- */
.cta-band {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(ellipse 85% 65% at 50% -12%, rgba(235, 125, 41, 0.22), transparent 62%),
    var(--ink);
  color: var(--ink-text);
  text-align: center;
  padding-block: clamp(5rem, 4rem + 6vw, 9rem);
}
.cta-band h2 {
  font-size: var(--text-4xl);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: var(--space-4);
}
.cta-band p {
  color: var(--ink-text-muted);
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}
.cta-band .hero-ctas { justify-content: center; }
.cta-band .eyebrow { justify-content: center; }

/* ---------- Banner (training callout) ---------- */
.banner-split {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  background: linear-gradient(120deg, #fdf2e7, #f7efe3 60%);
  border: 1px solid rgba(235, 125, 41, 0.35);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 900px) { .banner-split { grid-template-columns: 1.2fr 1fr; } }
.banner-split .banner-copy { padding: clamp(2rem, 1.5rem + 3vw, 4rem); }
.banner-split h2 { margin-bottom: var(--space-3); font-size: var(--text-2xl); }
.banner-split p { color: var(--text-muted); margin-bottom: var(--space-4); }
.banner-split .banner-media {
  position: relative;
  min-height: 240px;
  background: var(--accent-soft);
}
.banner-split .banner-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Modal (demo request) ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 22, 18, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  transform: translateY(16px);
  transition: transform 0.35s var(--ease-out);
}
.modal.is-open .modal-card { transform: none; }
.modal-card h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.modal-card > p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.modal-close:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

/* ---------- Detail page two-col (sticky aside) ---------- */
.detail-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
  .detail-aside {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}
.detail-aside .aside-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  padding: var(--space-4);
  display: grid;
  gap: var(--space-3);
}
.detail-aside .aside-card h3 { font-size: var(--text-base); }
.detail-aside .aside-card ul {
  display: grid;
  gap: 0.5rem;
  font-size: var(--text-sm);
  color: var(--text-muted);
  list-style: none;
  padding: 0;
}

/* Checklist */
.check-list { display: grid; gap: 0.7rem; }
.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.check-list li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 0.32rem;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b35309' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13l5 5 11-12'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Tag pills */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-row span {
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 0.32rem 0.85rem;
  color: var(--text-muted);
}

/* Stat band */
.stat-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5) var(--space-4);
}
@media (min-width: 900px) { .stat-band { grid-template-columns: repeat(4, 1fr); } }
.stat-band div strong {
  font-family: var(--font-display);
  display: block;
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.05;
}
.stat-band div strong em { font-style: normal; color: var(--accent-deep); }
.stat-band div span { font-size: var(--text-sm); color: var(--text-muted); }

/* Map placeholder */
.map-block {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 62% 38%, rgba(235, 125, 41, 0.5) 0 6px, transparent 7px),
    linear-gradient(rgba(24, 22, 18, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 22, 18, 0.05) 1px, transparent 1px),
    var(--surface);
  background-size: auto, 44px 44px, 44px 44px, auto;
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-4);
}
.map-block p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 30ch;
}
.map-block strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-size: var(--text-md);
  margin-bottom: 0.3rem;
}
.section--dark .quote-card figcaption strong { color: var(--ink-text); }
.section--dark .chip,
.section--dark .tag-row span {
  background: var(--ink-2);
  border-color: var(--ink-line);
  color: var(--ink-text-muted);
}
.section--dark .chip:hover { color: var(--ink-text); }
.section--dark .faq-list,
.section--dark .faq-item { border-color: var(--ink-line); }
.section--dark .faq-item summary .faq-icon { border-color: var(--ink-line); }
.section--dark .faq-item summary:hover { color: var(--accent); }
.section--dark .faq-item .faq-body { color: var(--ink-text-muted); }
.section--dark .work-card .work-media {
  background: var(--ink-2);
  border-color: var(--ink-line);
}
.section--dark .work-card:hover h3 { color: var(--accent); }
.section--dark .link-draw { color: var(--accent); }
.section--dark .stat-band div strong em { color: var(--accent); }
.section--dark .stat-band div span { color: var(--ink-text-muted); }
.section--dark .trust-stats .stat strong { color: var(--accent); }
.section--dark .trust-stats .stat > span { color: var(--ink-text-muted); }
.section--dark .spotlight + .spotlight { border-top-color: var(--ink-line); }
.section--dark .spotlight-media {
  background: linear-gradient(135deg, #232328, #19191d);
}
.section--dark .timeline::before {
  background: linear-gradient(to bottom, var(--accent), var(--ink-line) 88%);
}
.section--dark .timeline .phase::before { background: var(--ink); }
.section--dark .timeline .phase h3::before { color: var(--accent); }
.section--dark .card .card-icon,
.section--dark .module-tile .tile-icon { box-shadow: none; }
/* White cards inside dark sections keep dark, readable text */
.section--dark .module-tile h3,
.section--dark .card h3 { color: var(--text); }
.section--dark .module-tile p,
.section--dark .card p { color: var(--text-muted); }

/* ============================================================
   WhatsApp floating button (injected on every page)
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 54px;
  padding: 0 1.3rem 0 0.6rem;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: var(--text-sm);
  box-shadow: 0 8px 24px rgba(18, 50, 30, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(18, 50, 30, 0.45);
}
.whatsapp-fab .fab-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
}
.whatsapp-fab svg { width: 24px; height: 24px; }
.whatsapp-fab .fab-label { white-space: nowrap; }
@media (max-width: 560px) {
  .whatsapp-fab {
    height: 52px;
    padding: 0;
    width: 52px;
    justify-content: center;
  }
  .whatsapp-fab .fab-mark { background: none; }
  .whatsapp-fab .fab-label { display: none; }
}

/* ============================================================
   Dark mode — component fixes for hardcoded light values
   ============================================================ */
html[data-theme="dark"] .btn--ghost {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}
html[data-theme="dark"] .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
html[data-theme="dark"] .btn--ink {
  background: #fff;
  color: #121214;
}
html[data-theme="dark"] .btn--ink:hover { background: #e8e6e0; }

html[data-theme="dark"] .logo-wall img {
  /* tone-preserving invert keeps emblem detail visible on dark */
  filter: grayscale(1) invert(1) contrast(0.85) brightness(1.4);
  opacity: 0.65;
}
html[data-theme="dark"] .logo-wall li:hover img {
  filter: grayscale(1) invert(1) contrast(0.85) brightness(1.6);
  opacity: 1;
}

html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .filter-bar {
  background: rgba(18, 18, 20, 0.88);
}
html[data-theme="dark"] .filter-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #15110c;
}

html[data-theme="dark"] .spotlight-media {
  background: linear-gradient(135deg, #232328, #19191d);
}

html[data-theme="dark"] .banner-split {
  background: linear-gradient(120deg, #2a1c0e, #1a1a1e 60%);
}

html[data-theme="dark"] .map-block {
  background:
    radial-gradient(circle at 62% 38%, rgba(235, 125, 41, 0.6) 0 6px, transparent 7px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    var(--surface);
  background-size: auto, 44px 44px, 44px 44px, auto;
}

html[data-theme="dark"] .mock-cover--light {
  background:
    radial-gradient(circle at 80% 15%, rgba(235, 125, 41, 0.22), transparent 55%),
    linear-gradient(150deg, #e8e2d6, #cfc6b4);
}

/* ============================================================
   Killer hero (home) — split layout with product visual
   ============================================================ */
.hero--home { min-height: auto; padding-bottom: clamp(3rem, 4vw, 5rem); }
.hero-split {
  display: grid;
  gap: clamp(2.5rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-split { grid-template-columns: 1.05fr 0.95fr; }
}

/* ============================================================
   Contact page — lined form, info rows, map embed
   ============================================================ */
.kicker-num {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}
.kicker-num b { color: var(--accent-deep); font-weight: 700; }

.form-lined .field {
  position: relative;
  padding: 1.5rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
}
.form-lined .field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.form-lined .field input,
.form-lined .field select,
.form-lined .field textarea {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.25rem 0;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: none;
}
.form-lined .field input:focus,
.form-lined .field select:focus,
.form-lined .field textarea:focus {
  box-shadow: none;
  border: none;
}
.form-lined .field textarea { min-height: 110px; }
.form-lined .field select { background-position: right 0 center; }
.form-lined .field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.form-lined .field:focus-within::after { transform: scaleX(1); }
.form-lined .field.has-error { border-bottom-color: #c0392b; }
.form-lined .field.has-error input,
.form-lined .field.has-error select,
.form-lined .field.has-error textarea { border: none; }

/* Contact details list */
.c-info {
  display: grid;
  border-top: 1px solid var(--line);
}
.c-info .ci {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.c-info .ci .ci-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}
.c-info .ci .ci-icon svg { width: 18px; height: 18px; }
.c-info .ci h3 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.c-info .ci p,
.c-info .ci a {
  display: block;
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}
.c-info .ci a:hover { color: var(--accent-deep); }

/* Map embed */
.map-shell {
  margin-top: clamp(3rem, 5vw, 5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.map-shell iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 42vw, 460px);
  border: 0;
  filter: grayscale(1) contrast(1.04);
}
html[data-theme="dark"] .map-shell iframe {
  filter: grayscale(1) invert(0.92) contrast(0.9);
}
.map-shell .map-cap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================================
   Footer contact icons
   ============================================================ */
.footer-contact li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.footer-contact .fc-icon {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  color: var(--accent);
  margin-top: 0.2rem;
}
.footer-contact .fc-icon svg { width: 100%; height: 100%; }

/* ============================================================
   Honeypot field — hidden from humans, visible to bots
   ============================================================ */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   Auto-scrolling client logo strip
   ============================================================ */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
  width: max-content;
  padding-block: 0.75rem;
  animation: marquee 32s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: 54px;
  width: auto;
  max-width: 170px;
  opacity: 0.75;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
}
.logo-track img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Editorial service table (what we do, home)
   ============================================================ */
.svc-table { border-top: 1px solid var(--line); }
.svc-table .svc-line {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  padding-block: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  border-bottom: 1px solid var(--line);
  align-items: center;
  position: relative;
}
@media (min-width: 900px) {
  .svc-table .svc-line {
    grid-template-columns: 1.25fr 0.65fr 1.1fr 0.75fr;
    gap: clamp(1.5rem, 3vw, 3.5rem);
  }
}
.svc-line .svc-title {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}
.svc-line .svc-title em {
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #eb7d29;
}
.svc-line .svc-title h3 {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  transition: color 0.25s ease;
}
.svc-line:hover .svc-title h3 { color: var(--accent-deep); }
.svc-line .svc-keys {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 22ch;
}
.svc-line .svc-blurb {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 38ch;
}
.svc-line .svc-pic {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 2.7;
  max-width: 300px;
  justify-self: end;
  width: 100%;
}
.svc-line .svc-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-expo);
}
.svc-line:hover .svc-pic img { transform: scale(1.05); }
@media (max-width: 899px) {
  .svc-line .svc-keys { display: none; }
  .svc-line .svc-pic { justify-self: start; max-width: 100%; aspect-ratio: 16/7; }
}
.svc-line > a.svc-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ============================================================
   Step list (service pages, "how it usually runs")
   ============================================================ */
.step-list { display: grid; list-style: none; padding: 0; }
.step-list li {
  counter-increment: steps;
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.55;
}
.step-list { counter-reset: steps; }
.step-list li:last-child { border-bottom: 0; }
.step-list li::before {
  content: "0" counter(steps);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #eb7d29;
  min-width: 1.7rem;
  flex-shrink: 0;
}

/* ============================================================
   Image slot — subtle placeholder marking where a real photo goes
   ============================================================ */
.img-slot {
  position: relative;
  background:
    radial-gradient(circle at 75% 20%, rgba(235, 125, 41, 0.1), transparent 55%),
    var(--tint);
  border: 1px dashed rgba(24, 22, 18, 0.22);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
}
html[data-theme="dark"] .img-slot { border-color: rgba(255, 255, 255, 0.22); }
.img-slot span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.75;
}
.img-slot span::before {
  content: "";
  width: 15px;
  height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b574f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='14' rx='2'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3Cpath d='M9 6l1.5-2h3L15 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   Statement hero (home v4, Fortex direction)
   Massive type, curvy geometric shapes instead of imagery.
   ============================================================ */
.hero--statement {
  min-height: auto;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 6vw, 7rem));
  padding-bottom: clamp(3.5rem, 5vw, 6rem);
}
.hero--statement .container { position: relative; }
.hero--statement .container > * { position: relative; z-index: 1; }
.hero--statement h1 {
  font-size: clamp(2.9rem, 1.4rem + 7vw, 7.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.99;
  max-width: none;
  margin-bottom: clamp(2rem, 3vw, 3.5rem);
}
.hero-foot {
  display: grid;
  gap: var(--space-4);
  align-items: start;
  max-width: 980px;
}
@media (min-width: 900px) {
  .hero-foot { grid-template-columns: 1.1fr 1fr; gap: var(--space-6); }
}
.hero-foot .lede { margin-bottom: 0; }
.hero-contact {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
}
.hero-contact a {
  color: var(--text);
  font-weight: 550;
  transition: color 0.25s ease;
}
.hero-contact a:hover { color: var(--accent-deep); }
.shape { position: absolute; display: block; }

/* ============================================================
   Fortex hero (home v5) — full-viewport photographic, bottom-
   anchored condensed type, numbered service index.
   ============================================================ */
.hero-fortex {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(1.2rem, 2vw, 2rem);
  color: #f4f1ec;
  overflow: clip;
  background: #0c0c10;
}
.hero-fortex .hf-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fortex .hf-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-fortex .hf-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 8, 12, 0.97) 0%, rgba(8, 8, 12, 0.82) 24%, rgba(8, 8, 12, 0.28) 58%, rgba(8, 8, 12, 0.5) 100%);
}
.hero-fortex .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.hf-mid {
  display: grid;
  gap: var(--space-4) var(--space-6);
  align-items: end;
  margin-bottom: clamp(1.6rem, 3vw, 3rem);
}
@media (min-width: 900px) {
  .hf-mid { grid-template-columns: minmax(0, 440px) 1fr; }
}
.hf-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(244, 241, 236, 0.85);
  max-width: 44ch;
}
.hf-index {
  display: grid;
  gap: 0.55rem;
  justify-self: stretch;
}
@media (min-width: 900px) {
  .hf-index { max-width: 560px; justify-self: end; width: 100%; }
}
.hf-index a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: var(--text-sm);
  color: rgba(244, 241, 236, 0.9);
  transition: color 0.25s ease;
}
.hf-index a:hover { color: #eb7d29; }
.hf-index a .idx { font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.hf-index a .rule {
  flex: 1;
  height: 1px;
  background: rgba(235, 125, 41, 0.65);
  transform-origin: left;
  transition: background 0.25s ease;
}
.hf-index a:hover .rule { background: #eb7d29; }
.hf-index a .lbl { white-space: nowrap; font-weight: 500; }

.hf-title {
  font-size: clamp(2.3rem, 1.1rem + 5.4vw, 5.8rem);
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: -0.028em;
  line-height: 0.94;
  max-width: none;
  color: #fff;
  margin-bottom: clamp(1.2rem, 2.5vw, 2.2rem);
}
.hf-title .dim { color: rgba(244, 241, 236, 0.5); }
.hf-title .hot { color: #eb7d29; }

.hf-scroll {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(235, 125, 41, 0.5);
  padding-top: 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.78);
}

/* Header sits over the dark hero until the page scrolls */
.site-header.on-dark:not(.is-scrolled) {
  background: rgba(12, 12, 16, 0.42);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.site-header.on-dark:not(.is-scrolled) .brand-mark,
.site-header.on-dark:not(.is-scrolled) .site-nav a,
.site-header.on-dark:not(.is-scrolled) .theme-toggle,
.site-header.on-dark:not(.is-scrolled) .nav-toggle {
  color: rgba(255, 255, 255, 0.92);
}
.site-header.on-dark:not(.is-scrolled) .site-nav a:hover {
  color: var(--accent);
  background: transparent;
}
.site-header.on-dark:not(.is-scrolled) .nav-toggle span { background: #fff; }
.site-header.on-dark:not(.is-scrolled) .theme-toggle {
  border-color: rgba(255, 255, 255, 0.3);
}
.site-header.on-dark:not(.is-scrolled) .site-nav a[aria-current="page"] {
  color: var(--accent);
  background: transparent;
}
.site-header.on-dark:not(.is-scrolled) .nav-drop-panel {
  background: #16161a;
  border-color: rgba(255, 255, 255, 0.14);
}
.site-header.on-dark:not(.is-scrolled) .nav-drop-panel a {
  color: rgba(255, 255, 255, 0.85);
}
.site-header.on-dark:not(.is-scrolled) .nav-drop-panel a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ============================================================
   Hero vertical services strip + subtle CTA
   ============================================================ */
.hf-services {
  font-size: clamp(0.82rem, 0.95vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 241, 236, 0.9);
  white-space: nowrap;
}
.hf-services i {
  font-style: normal;
  color: #eb7d29;
  margin: 0 0.55em;
}
@media (min-width: 900px) {
  .hf-services {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: clamp(0.9rem, 2vw, 1.8rem);
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    font-size: clamp(0.72rem, 0.85vw, 0.92rem);
    max-height: 88svh;
  }
  .hf-services i { margin: 0.55em 0; }
  .hero-fortex .container { padding-left: clamp(2.6rem, 4vw, 4.2rem); }
}
@media (max-width: 899px) {
  .hf-services {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    margin-bottom: var(--space-3);
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    margin-left: calc(-1 * clamp(1.25rem, 3vw, 3rem));
    margin-right: calc(-1 * clamp(1.25rem, 3vw, 3rem));
    padding-inline: clamp(1.25rem, 3vw, 3rem);
  }
  .hf-services::-webkit-scrollbar { display: none; }
}

.hf-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  padding-bottom: 0.35rem;
  border-bottom: 1.5px solid rgba(235, 125, 41, 0.8);
  transition: color 0.25s ease, gap 0.25s ease;
}
.hf-cta:hover { color: #eb7d29; gap: 0.9rem; }

/* ============================================================
   Flow grid — pro process cards (hairline grid, ghost numbers,
   orange guide line)
   ============================================================ */
.flow-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  counter-reset: flow;
}
@media (min-width: 640px) { .flow-grid--5, .flow-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .flow-grid--5 { grid-template-columns: repeat(5, 1fr); }
  .flow-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.flow-cell {
  counter-increment: flow;
  position: relative;
  background: var(--bg);
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.1rem) 1.4rem 1.7rem;
  transition: background-color 0.3s ease;
}
.flow-cell::before {
  content: counter(flow, decimal-leading-zero);
  display: block;
  font-size: clamp(2.4rem, 2vw + 1.6rem, 3.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(235, 125, 41, 0.55);
  margin-bottom: 1.4rem;
  transition: -webkit-text-stroke-color 0.3s ease, color 0.3s ease;
}
.flow-cell::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #eb7d29;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.flow-cell:hover { background: var(--surface); }
.flow-cell:hover::after { transform: scaleX(1); }
.flow-cell:hover::before { color: #eb7d29; -webkit-text-stroke-color: transparent; }
.flow-cell h3 {
  font-size: var(--text-md);
  margin-bottom: 0.5rem;
}
.flow-cell p {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Dark-section variant */
.section--dark .flow-grid {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.13);
}
.section--dark .flow-cell { background: #0e0e11; }
.section--dark .flow-cell:hover { background: #15151a; }
.section--dark .flow-cell p { color: var(--ink-text-muted); }

/* ============================================================
   Product screenshot gallery
   ============================================================ */
.shots {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .shots { grid-template-columns: repeat(2, 1fr); }
}
.shot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.section--dark .shot { border-color: var(--ink-line); background: var(--ink-2); }

/* ============================================================
   Device shots — MacBook-framed mockups (transparent PNG/WebP)
   shown freely, no card border. The frame is the visual.
   ============================================================ */
.device-shots {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .device-shots { grid-template-columns: repeat(2, 1fr); }
  .device-shots .device-shot--wide { grid-column: 1 / -1; }
}
.device-shot { margin: 0; }
.device-shot img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 44px rgba(20, 18, 14, 0.18));
}
html[data-theme="dark"] .device-shot img {
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.55));
}
.device-shot figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.section--dark .device-shot figcaption { color: var(--ink-text-muted); }

/* A single framed shot floated in a spotlight slot (no panel) */
.spotlight-media--free {
  background: none;
  border: none;
  overflow: visible;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
}
.spotlight-media--free img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(20, 18, 14, 0.2));
}
html[data-theme="dark"] .spotlight-media--free img {
  filter: drop-shadow(0 22px 40px rgba(0, 0, 0, 0.55));
}

/* Work cards holding a framed device mockup: contain on a soft panel */
.work-card--device .work-media {
  background: linear-gradient(160deg, var(--tint), var(--bg));
  border: none;
  display: flex;
  align-items: center;
  padding: clamp(0.8rem, 2vw, 1.4rem) clamp(0.8rem, 2vw, 1.4rem) 0;
}
.work-card--device .work-media img {
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 16px 30px rgba(20, 18, 14, 0.16));
}
html[data-theme="dark"] .work-card--device .work-media {
  background: linear-gradient(160deg, #1b1b20, #131316);
}
html[data-theme="dark"] .work-card--device .work-media img {
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.5));
}

/* Service-table picture holding a framed mockup: free, no border */
.svc-pic--free {
  border: none;
  border-radius: 0;
  background: none;
  overflow: visible;
  aspect-ratio: auto;
}
.svc-pic--free img {
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(20, 18, 14, 0.16));
}
html[data-theme="dark"] .svc-pic--free img {
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.5));
}

/* Headline line breaks (structural, no animation) */
.line { display: block; }

/* ============================================================
   Hero headline slider (rotating service highlights)
   ============================================================ */
.hf-slider { display: grid; }
.hf-slide {
  grid-area: 1 / 1;             /* stack every slide in one cell */
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s 0.55s;
}
.hf-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.55s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.hf-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eb7d29;
  margin-bottom: clamp(0.7rem, 1.4vw, 1.1rem);
}
.hf-slide .hf-title { margin-bottom: 0; }

.hf-dots {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: clamp(1.3rem, 2.4vw, 2rem) 0 clamp(1.4rem, 2.6vw, 2.2rem);
}
.hf-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(244, 241, 236, 0.3);
  overflow: hidden;
  cursor: pointer;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}
.hf-dot:hover { background: rgba(244, 241, 236, 0.55); }
.hf-dot.is-active { width: 46px; background: rgba(244, 241, 236, 0.26); }
.hf-dot .fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #eb7d29;
  transform: scaleX(0);
  transform-origin: left;
}
.hf-dot:focus-visible { outline: 2px solid #eb7d29; outline-offset: 3px; }

/* ============================================================
   PRODUCT LANDING PAGES (.product-lp)
   Standalone SaaS-style landing layout for GrayCore ERP,
   Courier Management, etc. Scoped so it never leaks to the
   rest of the site.
   ============================================================ */

.product-lp { --plp-pad: clamp(3.5rem, 3rem + 5vw, 7rem); }

/* ---- Light hero (centered copy + device stage) ---- */
.plp-hero {
  position: relative;
  background:
    radial-gradient(80% 60% at 50% -8%, rgba(235,125,41,0.07), transparent 70%),
    var(--bg);
  color: var(--text);
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(1.75rem, 1rem + 3.5vw, 4rem)) 0 clamp(3rem, 2.5rem + 5vw, 6rem);
}
.plp-hero > .container { position: relative; z-index: 1; }
.plp-hero .crumbs { justify-content: center; }
.plp-hero .crumbs a { color: var(--text-muted); }
.plp-hero .crumbs li[aria-current] { color: var(--text); }

.plp-hero-head { max-width: 60rem; margin: 0 auto; text-align: center; }
.plp-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-deep);
  padding: 0.42rem 0.95rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
}
.plp-hero h1 {
  color: var(--text);
  font-size: clamp(2.3rem, 1.3rem + 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin: clamp(1rem, 0.8rem + 1.2vw, 1.6rem) auto 0;
  max-width: 18ch;
}
.plp-hero h1 em { font-style: normal; color: var(--accent); }
.plp-hero .lede { color: var(--text-muted); max-width: 42rem; margin: 1rem auto 0; }
.plp-hero-ctas {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; align-items: center;
  margin-top: clamp(1.4rem, 1.1rem + 1.3vw, 2rem);
}
.plp-hero .btn--ghost { color: var(--text); border-color: var(--line); }
.plp-hero .btn--ghost:hover { background: var(--tint); border-color: rgba(24,22,18,0.2); }
.plp-hero-login { margin: 1rem 0 0; font-size: var(--text-sm); text-align: center; }
.plp-hero-login a { color: var(--text-muted); border-bottom: 1px solid transparent; transition: color 0.2s ease, border-color 0.2s ease; }
.plp-hero-login a:hover { color: var(--accent-deep); border-color: var(--accent); }

/* rating row (kept centered above headline) */
.plp-rating {
  display: inline-flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; justify-content: center;
  color: var(--text-muted); font-size: var(--text-sm);
  margin-bottom: 0.4rem;
}
.plp-stars { display: inline-flex; gap: 2px; color: #f2a53a; }
.plp-stars svg { width: 16px; height: 16px; }
.plp-rating strong { color: var(--text); font-weight: 600; }

/* device stage with floating cards */
.plp-stage {
  position: relative;
  max-width: 60rem;
  margin: clamp(2.4rem, 2rem + 3vw, 4rem) auto 0;
}
.plp-device {
  position: relative; z-index: 1;
  margin: 0;
  border-radius: clamp(16px, 1.4vw, 22px);
  border: 1px solid var(--line);
  background: #fff;
  padding: clamp(0.4rem, 0.3rem + 0.4vw, 0.6rem);
  box-shadow: 0 40px 90px -40px rgba(20,22,30,0.35);
}
.plp-device img { display: block; width: 100%; height: auto; border-radius: clamp(11px, 1vw, 15px); }
.plp-fc {
  position: absolute; z-index: 2;
  background: #fff; color: var(--text);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 20px 44px -18px rgba(20,22,30,0.28);
  padding: 0.8rem 0.95rem;
}
.plp-fc .fc-label { font-size: 0.72rem; color: var(--text-muted); }
.plp-fc .fc-value { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }
/* sales card with mini bar chart */
.plp-fc--sales { left: -3%; bottom: 14%; width: 190px; }
.fc-sales-top { display: flex; align-items: baseline; justify-content: space-between; }
.fc-sales-top .fc-value { font-size: 1.15rem; }
.fc-sales-top .fc-delta { font-size: 0.72rem; color: #2ca35a; font-weight: 600; }
.fc-bars { display: flex; align-items: flex-end; gap: 5px; height: 42px; margin-top: 0.6rem; }
.fc-bars i { flex: 1; background: var(--accent); border-radius: 3px 3px 0 0; opacity: 0.9; }
/* trusted-by dark pill */
.plp-fc--trust { left: 3%; bottom: -6%; background: var(--ink); color: #fff; border-color: var(--ink); display: flex; align-items: center; gap: 0.6rem; }
.plp-fc--trust .fc-dots { display: inline-flex; }
.plp-fc--trust .fc-dots span { width: 20px; height: 20px; border-radius: 50%; margin-left: -6px; box-shadow: 0 0 0 2px var(--ink); background: linear-gradient(135deg, #f5b642, #eb7d29); }
.plp-fc--trust .fc-dots span:first-child { margin-left: 0; }
.plp-fc--trust strong { color: #fff; font-size: 0.82rem; font-weight: 600; }
.plp-fc--trust small { display: block; color: var(--ink-text-muted); font-size: 0.7rem; }
/* insight green pill */
.plp-fc--insight { right: 4%; top: -4%; background: #e9f6cf; border-color: #d7ecac; color: #3c5417; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; padding: 0.7rem 1.1rem; }
/* balance card */
.plp-fc--balance { right: -3%; top: 20%; width: 180px; }
.plp-fc--balance .fc-value { font-size: 1.3rem; display: block; margin-top: 0.15rem; }
/* income / expense mini row */
.plp-fc--flow { right: 2%; bottom: 8%; display: flex; gap: 0.55rem; padding: 0.6rem; }
.fc-flow-item { display: flex; align-items: center; gap: 0.45rem; }
.fc-flow-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.fc-flow-ic svg { width: 14px; height: 14px; }
.fc-flow-ic--in { background: #fde7d3; color: var(--accent-deep); }
.fc-flow-ic--out { background: #e6f4ea; color: #2ca35a; }
.fc-flow-item small { display: block; color: var(--text-muted); font-size: 0.66rem; }
.fc-flow-item b { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; }
@media (max-width: 860px) {
  .plp-fc--balance, .plp-fc--flow { right: -1%; }
  .plp-fc--sales { left: -1%; }
}
@media (max-width: 680px) {
  .plp-fc { display: none; }
  .plp-stage { margin-top: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); }
}

/* ---- Pastel feature cards ---- */
.plp-features .feature-grid { gap: clamp(1rem, 0.8rem + 1vw, 1.4rem); }
.plp-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  border: 1px solid rgba(24,22,18,0.06);
  background: var(--plp-card-bg, #f4f2ee);
  display: flex; flex-direction: column; gap: 0.7rem;
  min-height: 100%;
}
.plp-card .plp-card-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: var(--text);
  box-shadow: 0 2px 8px rgba(24,22,18,0.06);
}
.plp-card .plp-card-icon svg { width: 24px; height: 24px; }
.plp-card h3 { font-size: var(--text-md); font-weight: 600; }
.plp-card p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }
/* pastel rotation */
.plp-card:nth-child(6n+1) { --plp-card-bg: #eef1fb; }
.plp-card:nth-child(6n+2) { --plp-card-bg: #eaf6ef; }
.plp-card:nth-child(6n+3) { --plp-card-bg: #fdf0e6; }
.plp-card:nth-child(6n+4) { --plp-card-bg: #f6edf7; }
.plp-card:nth-child(6n+5) { --plp-card-bg: #fbf3e0; }
.plp-card:nth-child(6n+6) { --plp-card-bg: #e9f4f7; }

/* ---- Integrations icon grid ---- */
.int-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.7rem, 0.5rem + 1vw, 1rem);
  margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
}
.int-item {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.int-item:hover { border-color: rgba(24,22,18,0.18); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.int-item img { width: 30px; height: 30px; object-fit: contain; flex: none; }
.int-item span { font-family: var(--font-display); font-weight: 550; font-size: var(--text-sm); color: var(--text); line-height: 1.2; }
.int-item small { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.78rem; }

/* ---- Pricing tiers ---- */
.plp-pricing .price-grid {
  display: grid; gap: clamp(1rem, 0.8rem + 1vw, 1.4rem);
  grid-template-columns: 1fr;
  margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  align-items: stretch;
}
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1.3rem + 1vw, 2.2rem);
}
.price-card.is-featured {
  background: var(--ink); color: var(--ink-text);
  border-color: var(--ink);
  position: relative;
}
.price-card.is-featured h3, .price-card.is-featured .price-amt { color: #fff; }
.price-card.is-featured .price-feat li { color: var(--ink-text-muted); }
.price-card.is-featured .price-feat svg { color: var(--accent); }
.price-badge {
  position: absolute; top: 1.3rem; right: 1.3rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: var(--accent);
  padding: 0.28rem 0.6rem; border-radius: var(--radius-pill);
}
.price-card h3 { font-size: var(--text-md); font-weight: 600; margin-bottom: 0.35rem; }
.price-card .price-sub { font-size: var(--text-sm); color: var(--text-muted); margin-bottom: 1.1rem; }
.price-card.is-featured .price-sub { color: var(--ink-text-muted); }
.price-amt { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price-amt small { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.price-card.is-featured .price-amt small { color: var(--ink-text-muted); }
.price-feat { list-style: none; margin: 1.3rem 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.price-feat li { display: flex; gap: 0.55rem; align-items: flex-start; font-size: var(--text-sm); color: var(--text); }
.price-feat svg { width: 18px; height: 18px; flex: none; color: var(--accent-deep); margin-top: 1px; }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-card.is-featured .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }

/* ---- Big CTA band ---- */
.plp-cta {
  background: var(--ink);
  color: var(--ink-text);
  text-align: center;
  padding: var(--plp-pad) 0;
}
.plp-cta h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); letter-spacing: -0.03em; max-width: 20ch; margin: 0 auto; }
.plp-cta p { color: var(--ink-text-muted); max-width: 42rem; margin: 1rem auto 0; }
.plp-cta .plp-hero-ctas { margin-top: 1.8rem; }
.plp-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.24); }
.plp-cta .btn--ghost:hover { background: rgba(255,255,255,0.08); }

/* ---- Dark testimonial grid (Attio "Trusted by teams") ---- */
.plp-quotes { background: var(--ink); color: var(--ink-text); }
.plp-quotes h2 { color: #fff; }
.plp-quotes .section-head p { color: var(--ink-text-muted); }
.tq-grid {
  display: grid; gap: clamp(0.9rem, 0.7rem + 1vw, 1.3rem);
  grid-template-columns: 1fr;
  margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
}
.tq-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  background: var(--tq-bg, #1c2733);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 100%;
}
.tq-card:nth-child(4n+1) { --tq-bg: #1a2632; }
.tq-card:nth-child(4n+2) { --tq-bg: #2a2020; }
.tq-card:nth-child(4n+3) { --tq-bg: #241f2e; }
.tq-card:nth-child(4n+4) { --tq-bg: #1b2726; }
.tq-top { display: flex; align-items: center; gap: 0.6rem; }
.tq-logo { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.8rem; flex: none; }
.tq-org { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: var(--text-sm); }
.tq-highlight { font-family: var(--font-display); font-size: var(--text-md); font-weight: 500; color: #fff; letter-spacing: -0.02em; line-height: 1.3; }
.tq-card blockquote { color: var(--ink-text-muted); font-size: var(--text-sm); line-height: 1.55; margin: 0; }
.tq-foot { margin-top: auto; display: flex; align-items: center; gap: 0.5rem; }
.tq-foot .tq-dot { width: 8px; height: 8px; border-radius: 999px; background: #3ecf8e; flex: none; }
.tq-foot strong { display: block; color: #fff; font-size: 0.82rem; font-weight: 600; }
.tq-foot span { display: block; color: var(--ink-text-muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- Integration cards (Attio "Integrations") ---- */
.int-cards {
  display: grid; gap: clamp(0.8rem, 0.6rem + 1vw, 1.1rem);
  grid-template-columns: 1fr;
  margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
}
.int-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  display: flex; flex-direction: column; gap: 0.6rem;
}
.int-card-top { display: flex; align-items: center; gap: 0.6rem; }
.int-card-top img { width: 26px; height: 26px; object-fit: contain; }
.int-card-top strong { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); }
.int-card p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }
.int-card .int-arrow {
  margin-top: 0.6rem; width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.int-card .int-arrow svg { width: 18px; height: 18px; }
.int-card:hover .int-arrow { background: var(--accent); color: #fff; border-color: var(--accent); }
.int-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; align-items: center; margin-top: 0.4rem; }
.int-more { text-align: center; margin-top: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.int-more-row { display: inline-flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 0.9rem; }
.int-more-row img { width: 30px; height: 30px; object-fit: contain; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }

@media (min-width: 620px) {
  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .tq-grid { grid-template-columns: repeat(2, 1fr); }
  .int-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .int-grid { grid-template-columns: repeat(4, 1fr); }
  .int-cards { grid-template-columns: repeat(4, 1fr); }
  .plp-pricing .price-grid { grid-template-columns: repeat(3, 1fr); }
  .price-card.is-featured { transform: scale(1.03); }
}

/* ---- Phone mockups (portfolio: Mobile Applications) ---- */
.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 1rem + 1.5vw, 2.2rem);
}
.phone-item { text-align: center; }
.phone-frame {
  position: relative;
  width: 100%; max-width: 210px; margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 26px;
  padding: 7px;
  background: #16161a;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.phone-frame::before {
  content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.25); z-index: 2;
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 20px; }
.phone-item figcaption { margin-top: 0.8rem; }
.phone-item figcaption strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); letter-spacing: -0.01em; }
.phone-item figcaption span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
@media (min-width: 640px) { .phone-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .phone-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---- WhatsApp secondary CTA (contact page) ---- */
.cta-pair { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.btn--whatsapp {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  gap: 0.5rem;
}
.btn--whatsapp .wa-ico { width: 20px; height: 20px; color: #25d366; flex: none; }
.btn--whatsapp:hover { border-color: #25d366; background: rgba(37,211,102,0.08); color: var(--text); }
@media (max-width: 480px) {
  .cta-pair { flex-direction: column; align-items: stretch; }
  .cta-pair .btn { width: 100%; justify-content: center; }
}

/* ---- Feature showcase cards ("Inside GrayCore") ---- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.8rem + 1vw, 1.4rem);
}
.showcase-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.showcase-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); border-bottom: 1px solid var(--line); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.showcase-body { padding: clamp(1rem, 0.9rem + 0.6vw, 1.4rem); }
.showcase-body h3 { font-size: var(--text-md); font-weight: 500; margin-bottom: 0.35rem; }
.showcase-body p { color: var(--text-muted); font-size: var(--text-sm); margin: 0; }
@media (min-width: 600px) { .showcase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .showcase-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- Homepage stats: understated inline strip ---- */
.stats-strip { padding-block: clamp(1.6rem, 1.3rem + 1.5vw, 2.6rem); }
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  gap: clamp(1.4rem, 1rem + 2vw, 2.2rem) clamp(1.5rem, 1rem + 3vw, 3rem);
}
.stat-x { display: flex; align-items: baseline; gap: 0.55rem; }
.stat-n {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  color: var(--text); flex: none;
}
.stat-l {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-muted); line-height: 1.35; max-width: 14ch;
}
@media (min-width: 720px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Services table: collapsible rows (default open, all viewports) ---- */
.svc-line .svc-title { justify-content: space-between; gap: 0.75rem; }
.svc-toggle {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; margin-left: 0.4rem; flex: none;
  border-radius: 50%; border: 1px solid var(--line);
  color: var(--text-muted); background: var(--surface);
  position: relative; z-index: 2;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.svc-toggle:hover { color: var(--accent-deep); border-color: var(--accent); }
.svc-toggle .chev { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.svc-toggle[aria-expanded="false"] .chev { transform: rotate(-90deg); }
.svc-line.is-collapsed .svc-blurb,
.svc-line.is-collapsed .svc-pic { display: none; }
.svc-line:not(.is-collapsed) .svc-blurb,
.svc-line:not(.is-collapsed) .svc-pic { animation: svcReveal 0.32s var(--ease-out) both; }
@keyframes svcReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ============================================================
   Horizontal carousels (Services + Industries, homepage)
   ============================================================ */
.io-block { padding-block: var(--section-pad); }
.io-carousel { display: grid; gap: clamp(1.6rem, 1.2rem + 2vw, 2.8rem); }
@media (min-width: 920px) { .io-carousel { grid-template-columns: 288px 1fr; align-items: center; } }
.io-rail { }
.io-rail .eyebrow { margin-bottom: var(--space-3); }
.io-rail h2 { margin-bottom: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); }
.io-rail .io-cta {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--accent); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  padding: 0.85rem 1.5rem; border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}
.io-rail .io-cta:hover { background: var(--accent-deep); transform: translateY(-2px); }
.io-rail .io-cta .io-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.io-nav { display: flex; gap: 0.7rem; margin-top: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.io-arrow {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.io-arrow:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.io-arrow:disabled { opacity: 0.35; cursor: default; }
.io-arrow:disabled:hover { background: var(--surface); color: var(--text); border-color: var(--line); }
.io-arrow svg { width: 20px; height: 20px; }

.io-track {
  display: flex; gap: clamp(0.9rem, 0.7rem + 1vw, 1.4rem);
  overflow-x: auto; overflow-y: visible;
  scroll-snap-type: x mandatory;
  padding: 18px 2px 8px;
  margin: -18px -2px -8px;
  scrollbar-width: none; -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.io-track::-webkit-scrollbar { display: none; }
.io-track.is-dragging { scroll-behavior: auto; cursor: grabbing; scroll-snap-type: none; }
.io-track > * { scroll-snap-align: start; flex: 0 0 auto; }

/* ---- Service folder-tab cards ---- */
.svc-fcard {
  position: relative;
  width: clamp(232px, 76vw, 288px);
  background: var(--tint);
  color: var(--text);
  border-radius: 6px 20px 20px 20px;
  padding: clamp(1.4rem, 1.2rem + 0.7vw, 1.9rem);
  box-shadow: 0 10px 30px -18px rgba(20,22,30,0.28);
  display: flex; flex-direction: column;
  min-height: 328px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.35s ease, color 0.35s ease;
}
.svc-fcard::before {
  content: ""; position: absolute; left: 0; top: -13px;
  width: 46%; height: 15px; background: inherit;
  border-radius: 9px 9px 0 0;
  transition: background 0.35s ease;
}
/* hover: card turns deep orange, text/icon adapt for readability */
.svc-fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -22px rgba(179,83,9,0.55);
  background: var(--accent-deep);
  color: #fff;
}
.fcard-icon {
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-deep);
  margin-bottom: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  transition: background 0.35s ease, color 0.35s ease;
}
.fcard-icon svg { width: 22px; height: 22px; }
.svc-fcard:hover .fcard-icon { background: rgba(255,255,255,0.22); color: #fff; }
.svc-fcard h3 { font-size: var(--text-md); font-weight: 500; margin-bottom: 0.6rem; transition: color 0.35s ease; }
.svc-fcard:hover h3 { color: #fff; }
.svc-fcard p { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 1.4rem; transition: color 0.35s ease; }
.svc-fcard:hover p { color: rgba(255,255,255,0.92); }
/* CTA button */
.fcard-more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm);
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.fcard-more:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.svc-fcard:hover .fcard-more { color: #fff; border-color: rgba(255,255,255,0.5); }
.svc-fcard:hover .fcard-more:hover { background: #fff; border-color: #fff; color: var(--accent-deep); }
.fcard-more svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.fcard-more:hover svg { transform: translate(2px, 2px); }

/* ---- Industry cards ---- */
.ind-card {
  position: relative;
  width: clamp(258px, 80vw, 340px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.ind-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ind-head {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--tint);
}
.ind-head img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease-expo); }
.ind-card:hover .ind-head img { transform: scale(1.05); }
.ind-body { padding: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); display: flex; flex-direction: column; flex: 1; }
.ind-body h3 { font-size: var(--text-md); font-weight: 500; margin-bottom: 0.4rem; }
.ind-body > p { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 1.1rem; }
.ind-projects { margin-top: auto; }
.ind-projects-label {
  display: block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 0.5rem;
}
.ind-proj-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.1rem; }
.ind-proj-list li { margin: 0; }
.ind-proj-list a, .ind-proj-list span {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: var(--text-sm); color: var(--text);
  padding: 0.42rem 0.55rem; border-radius: var(--radius-sm);
  transition: background 0.2s ease, color 0.2s ease;
}
.ind-proj-list a { cursor: pointer; }
.ind-proj-list span { color: var(--text-muted); }
.ind-proj-list a::before, .ind-proj-list span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.ind-proj-list span::before { background: var(--text-muted); }
.ind-proj-list a .ext { margin-left: auto; width: 15px; height: 15px; color: var(--text-muted); opacity: 0; transform: translateX(-4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.ind-proj-list a:hover { background: var(--tint); color: var(--accent-deep); }
.ind-proj-list a:hover .ext { opacity: 1; transform: none; color: var(--accent-deep); }

/* Mobile-app work cards (no screenshot): icon panel cover */
.mock-cover--app {
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--tint), var(--bg));
  color: var(--accent-deep);
}
.mock-cover--app svg { width: 62px; height: 62px; }

/* ---- Compact testimonial cards (homepage carousel) ---- */
.tcard {
  width: clamp(280px, 82vw, 400px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.tcard blockquote {
  margin: 0 0 1.3rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--text);
}
.tcard figcaption { margin-top: auto; }
.tcard figcaption strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--text); }
.tcard figcaption span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   Desktop mega-menu dropdowns (Access Now style)
   Only renders inside .site-nav, which is hidden on mobile.
   ============================================================ */
/* full-bleed panel pinned under the fixed header */
.nav-item.has-mega .nav-drop {
  position: fixed; left: 0; right: 0; top: var(--header-h);
  width: 100%; padding-top: 0; transform: translateY(8px);
}
/* transparent bridge so the pointer can cross the header gap into the panel */
.nav-item.has-mega .nav-drop::before {
  content: ""; position: fixed; left: 0; right: 0;
  top: calc(var(--header-h) - 28px); height: 28px;
}
.nav-item.has-mega:hover .nav-drop,
.nav-item.has-mega:focus-within .nav-drop { transform: translateY(0); }
.mega-panel {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 28px 48px -28px rgba(20,22,30,0.3);
  padding-block: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
}
.mega-inner {
  width: min(var(--container), 100% - clamp(2.5rem, 6vw, 6rem));
  margin-inline: auto;
}
.mega-label {
  display: block; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 1rem;
}
.mega-inner.mega--products {
  display: grid; grid-template-columns: 1fr 280px; gap: clamp(2rem, 1.5rem + 2.5vw, 4.5rem);
}
.mega-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.mega-card { display: block; }
.mega-thumb {
  display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
  background: var(--tint); border: 1px solid var(--line); margin-bottom: 0.8rem;
}
.mega-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s var(--ease-out); }
.mega-card:hover .mega-thumb img { transform: scale(1.06); }
.mega-card strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); color: var(--text); transition: color 0.2s ease; }
.mega-card:hover strong { color: var(--accent-deep); }
.mega-card .mega-desc { display: block; font-size: var(--text-sm); color: var(--text-muted); line-height: 1.45; margin-top: 3px; white-space: normal; }
.mega-more { border-left: 1px solid var(--line); padding-left: clamp(1.8rem, 1.2rem + 2vw, 3rem); display: flex; flex-direction: column; gap: 0.2rem; }
.mega-more a { display: block; font-size: var(--text-md); font-weight: 500; color: var(--text); padding: 0.55rem 0; transition: color 0.2s ease; }
.mega-more a:hover { color: var(--accent-deep); }
.mega-inner.mega--work .mega-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem clamp(1.5rem, 1rem + 2vw, 3rem); }
.mega-inner.mega--work .mega-list a { display: block; padding: 0.7rem 0.7rem; border-radius: var(--radius); transition: background 0.2s ease; }
.mega-inner.mega--work .mega-list a strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: var(--text-md); color: var(--text); transition: color 0.2s ease; }
.mega-inner.mega--work .mega-list a span { display: block; font-size: var(--text-sm); color: var(--text-muted); margin-top: 2px; }
.mega-inner.mega--work .mega-list a:hover { background: var(--tint); }
.mega-inner.mega--work .mega-list a:hover strong { color: var(--accent-deep); }

/* ============================================================
   Blog: post cards, listing, article page
   ============================================================ */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; max-width: none; }
.post-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
@media (min-width: 620px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-grid.post-grid--2 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .post-grid.post-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.post-card { display: flex; flex-direction: column; }
.post-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); border: 1px solid var(--line); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-expo); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { padding-top: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.post-cat {
  align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-deep); background: var(--accent-soft);
  padding: 0.3rem 0.62rem; border-radius: var(--radius-pill); margin-bottom: 0.75rem;
}
.post-card h3 { font-size: var(--text-lg); font-weight: 500; line-height: 1.25; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--text); transition: color 0.2s ease; }
.post-card h3 a:hover { color: var(--accent-deep); }
.post-excerpt { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 1rem; }
.post-meta { margin-top: auto; display: flex; gap: 0.5rem; align-items: center; font-size: 0.78rem; color: var(--text-muted); }

/* Article detail */
.article-head {
  padding-top: calc(var(--header-h) + clamp(1.6rem, 1rem + 2.5vw, 3rem));
  padding-bottom: clamp(1.4rem, 1rem + 2vw, 2.4rem);
}
.article-head .post-cat { margin: 0 0 1rem; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); max-width: 22ch; }
.article-meta { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: var(--text-sm); color: var(--text-muted); }
.article-figure { margin: clamp(1.4rem, 1rem + 2vw, 2.4rem) 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.article-figure img { width: 100%; height: auto; display: block; }
.article-body { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.article-body > p { max-width: 68ch; margin-bottom: 1.4rem; }
.article-body h2 { font-size: var(--text-xl); font-weight: 500; margin: 2.2rem 0 0.9rem; }
.article-body ul { margin: 0 0 1.4rem 1.25rem; display: grid; gap: 0.55rem; list-style: disc; max-width: 68ch; }
.article-body li { padding-left: 0.2rem; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-foot {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: space-between; align-items: center;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--line);
}

/* ---- Who we are (homepage intro, between stats and services) ---- */
.who-intro { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.who-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.3rem, 1rem + 2vw, 3rem); }
@media (min-width: 860px) { .who-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; } }
.who-head h2 { font-size: var(--text-2xl); max-width: 18ch; }
.who-body p { color: var(--text-muted); margin-bottom: 1.1rem; max-width: 60ch; }
.who-body .btn { margin-top: 0.4rem; }
