/* =================================================================
   HOMEPAGE — production polish
   Mirrors the approved wireframe (variation-c.jsx) section-for-section.
   Adds: refined typography, spacing rhythm, button/card finish,
   dashboard frame, motion. Layout, copy, and section order untouched.
================================================================= */

/* ---------- Shell ---------- */
.prod { background: var(--paper); color: var(--ink-2); }
.prod-frame {
  max-width: 1320px;
  margin: 0 auto;
  border-left: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  background: var(--paper);
}

/* ---------- Production nav ---------- */
.prod-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: rgba(248,246,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
  gap: 32px;
}
.prod-nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.prod-nav__logo img { height: 42px; width: auto; display: block; }
.prod-nav__links { display: flex; gap: 30px; align-items: center; }
.prod-nav__links a {
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none; position: relative;
  transition: color 0.2s;
}
.prod-nav__links a:hover { color: var(--terra); }
.prod-nav__links a[aria-current="page"] { color: var(--terra); }
.prod-nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; bottom: -24px; left: 0; right: 0;
  height: 2px; background: var(--terra);
}
.prod-nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  text-decoration: none;
  font-family: var(--f-body); font-size: 13px; font-weight: 500;
  border: 1px solid var(--ink); transition: all 0.2s;
}
.prod-nav__cta:hover {
  background: var(--terra); border-color: var(--terra);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -8px rgba(244,123,32,0.5);
}
.prod-nav__cta .arrow { width: 14px; height: 1px; background: currentColor; position: relative; }
.prod-nav__cta .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.prod-nav__menu-btn { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; position: relative; z-index: 60; }
.prod-nav__menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform 0.25s, opacity 0.2s; transform-origin: center; }
.prod-nav__menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.prod-nav__menu-btn.is-open span:nth-child(2) { opacity: 0; }
.prod-nav__menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.prod-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(16, 42, 44, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.prod-nav-drawer.is-open { opacity: 1; pointer-events: auto; }
.prod-nav-drawer__inner {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  background: var(--paper);
  border-left: 1px solid var(--line-soft);
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.prod-nav-drawer.is-open .prod-nav-drawer__inner { transform: translateX(0); }
.prod-nav-drawer__links { display: flex; flex-direction: column; gap: 2px; }
.prod-nav-drawer__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s, padding 0.15s;
}
.prod-nav-drawer__links a:hover, .prod-nav-drawer__links a:focus-visible {
  color: var(--terra);
  padding-left: 8px;
}
.prod-nav-drawer__links a[aria-current="page"] { color: var(--terra); }
.prod-nav-drawer__links a .arr {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.15s, color 0.15s;
}
.prod-nav-drawer__links a:hover .arr { color: var(--terra); transform: translateX(4px); }
.prod-nav-drawer__cta {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.prod-nav-drawer__meta {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prod-nav-drawer__meta a {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--terra);
  align-self: flex-start;
}
.prod-nav-drawer__meta a:hover { color: var(--terra); }
.prod-nav-drawer__meta span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
@media (prefers-reduced-motion: reduce) {
  .prod-nav-drawer, .prod-nav-drawer__inner, .prod-nav__menu-btn span {
    transition: none;
  }
}

/* ====================================================
   MOBILE TYPE SCALING — overrides inline font-sizes
   for pages still using wireframe-style inline styles
   (system, about, proof, contact). Targets the `.prod`
   wrapper so it never affects design docs or starters.
==================================================== */
@media (max-width: 900px) {
  .prod h1.display,
  .prod h1.prod-display { font-size: 44px !important; line-height: 1.02 !important; letter-spacing: -0.022em !important; }
  .prod h2.display,
  .prod h2.prod-display { font-size: 34px !important; line-height: 1.05 !important; }
  .prod h3.display,
  .prod h3.prod-display { font-size: 24px !important; line-height: 1.15 !important; }

  /* Display utility class used inline (no tag) — scale numbers + pull quotes */
  .prod p.display,
  .prod div.display,
  .prod span.display { font-size: clamp(20px, 5vw, 32px) !important; line-height: 1.15 !important; }

  /* Body text scaling */
  .prod .body.body--lg { font-size: 16px !important; line-height: 1.55 !important; }

  /* Section padding fallback for wireframe-style inline 120px 64px */
  .prod section[style*="120px 64px"],
  .prod section[style*="96px 64px"],
  .prod section[style*="72px 64px"] {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  /* Wireframe-style grids → 1-col on mobile */
  .prod section > div[style*="gridTemplateColumns: \"120px 1fr 1fr\""],
  .prod section > div[style*="grid-template-columns: 120px 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .prod section > div[style*="gridTemplateColumns: \"1fr 1fr\""],
  .prod section > div[style*="grid-template-columns: 1fr 1fr"],
  .prod section > div[style*="gridTemplateColumns: \"1.05fr 1fr\""],
  .prod section > div[style*="grid-template-columns: 1.05fr 1fr"],
  .prod section > div[style*="gridTemplateColumns: \"1fr 1.2fr\""],
  .prod section > div[style*="grid-template-columns: 1fr 1.2fr"],
  .prod section > div[style*="gridTemplateColumns: \"1.1fr 1fr\""],
  .prod section > div[style*="grid-template-columns: 1.1fr 1fr"],
  .prod section > div[style*="gridTemplateColumns: \"1.6fr 1fr\""],
  .prod section > div[style*="grid-template-columns: 1.6fr 1fr"],
  .prod section > div[style*="gridTemplateColumns: \"1fr 1.4fr\""],
  .prod section > div[style*="grid-template-columns: 1fr 1.4fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  /* Dashboard inner grid (1.6fr 1fr) — collapse + remove vertical border on stack */
  .prod div[style*="grid-template-columns: 1.6fr 1fr"] > div[style*="border-left"] {
    border-left: 0 !important;
    border-top: 1px solid rgba(248,246,242,0.15) !important;
    padding-left: 0 !important;
    padding-top: 24px !important;
  }
  /* Nested two-col lists inside cards (Contact form, etc.) */
  .prod .card div[style*="grid-template-columns: 1fr 1fr"],
  .prod div[style*="border-radius: 20px"] div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  /* 3-up, 4-up, 5-up grids → 1-col */
  .prod section > div[style*="gridTemplateColumns: \"repeat(3, 1fr)\""],
  .prod section > div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  .prod section > div[style*="gridTemplateColumns: \"repeat(4, 1fr)\""],
  .prod section > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }
  .prod section > div[style*="gridTemplateColumns: \"repeat(5, 1fr)\""],
  .prod section > div[style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Catch the huge proof-point numerals (e.g. "01" at 88px). React serializes
     `fontSize: 88` to `font-size: 88px` in the DOM. */
  .prod div.display[style*="font-size: 88px"] { font-size: 56px !important; }
  .prod div.display[style*="font-size: 76px"] { font-size: 44px !important; }
  .prod div.display[style*="font-size: 64px"] { font-size: 40px !important; }
  .prod div.display[style*="font-size: 56px"] { font-size: 36px !important; }
  .prod div.display[style*="font-size: 48px"] { font-size: 30px !important; }
  .prod div.display[style*="font-size: 42px"] { font-size: 28px !important; }
  .prod div.display[style*="font-size: 36px"] { font-size: 24px !important; }
  .prod div.display[style*="font-size: 32px"] { font-size: 22px !important; }

  /* H1/H2/H3 with inline font-size: kebab-case + px units (React's serialization) */
  .prod h1[style*="font-size: 88px"],
  .prod h2[style*="font-size: 88px"] { font-size: 44px !important; line-height: 1.02 !important; }
  .prod h1[style*="font-size: 76px"],
  .prod h2[style*="font-size: 76px"] { font-size: 38px !important; line-height: 1.02 !important; }
  .prod h1[style*="font-size: 64px"],
  .prod h2[style*="font-size: 64px"] { font-size: 32px !important; line-height: 1.05 !important; }
  .prod h2[style*="font-size: 56px"] { font-size: 28px !important; line-height: 1.1 !important; }
  .prod h2[style*="font-size: 52px"] { font-size: 28px !important; line-height: 1.1 !important; }
  .prod h2[style*="font-size: 48px"] { font-size: 26px !important; line-height: 1.15 !important; }
  .prod h3[style*="font-size: 44px"] { font-size: 22px !important; line-height: 1.15 !important; }

  /* Pull quotes / p.display sizes */
  .prod p.display[style*="font-size: 48px"] { font-size: 26px !important; line-height: 1.15 !important; }
  .prod p.display[style*="font-size: 42px"] { font-size: 24px !important; line-height: 1.2 !important; }
  .prod p.display[style*="font-size: 36px"] { font-size: 22px !important; line-height: 1.25 !important; }
  .prod p.display[style*="font-size: 32px"] { font-size: 22px !important; line-height: 1.25 !important; }
  .prod p.display[style*="font-size: 24px"] { font-size: 18px !important; line-height: 1.3 !important; }
}

@media (max-width: 480px) {
  .prod h1.display,
  .prod h1.prod-display { font-size: 34px !important; }
  .prod h2.display,
  .prod h2.prod-display { font-size: 26px !important; }
  .prod h1[style*="font-size: 88px"],
  .prod h2[style*="font-size: 76px"] { font-size: 34px !important; }
  .prod h2[style*="font-size: 64px"] { font-size: 26px !important; }
  .prod h2[style*="font-size: 56px"],
  .prod h2[style*="font-size: 52px"] { font-size: 24px !important; }
  .prod div.display[style*="font-size: 88px"] { font-size: 44px !important; }
}

/* ---------- Section primitives ---------- */
.prod-section {
  padding: 112px 64px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.prod-section--sand { background: var(--paper-2); }
.prod-section--ink { background: var(--ink); color: var(--paper); border-bottom-color: rgba(248,246,242,0.1); }

.prod-eyebrow {
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  font-weight: 500;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.prod-eyebrow--amber { color: var(--amber); }
.prod-eyebrow--paper { color: rgba(248,246,242,0.65); }
.prod-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: currentColor;
}

.prod-display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
  margin: 0;
}
.prod-display em { color: var(--terra); font-style: italic; font-weight: 400; }
.prod-section--ink .prod-display em { color: var(--terra); }

/* ---------- Buttons ---------- */
.prod-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  text-decoration: none;
  font-family: var(--f-body); font-size: 14px; font-weight: 500;
  border: 1px solid var(--ink);
  transition: all 0.2s; cursor: pointer;
  white-space: nowrap;
}
.prod-cta:hover {
  background: var(--terra); border-color: var(--terra);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(244,123,32,0.45);
}
.prod-cta--terra { background: var(--terra); border-color: var(--terra); }
.prod-cta--terra:hover { background: var(--ink); border-color: var(--ink); box-shadow: 0 12px 28px -10px rgba(16,42,44,0.5); }
.prod-cta--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.prod-cta--outline:hover { background: var(--ink); color: var(--paper); }
.prod-section--ink .prod-cta--outline { color: var(--paper); border-color: rgba(248,246,242,0.4); }
.prod-section--ink .prod-cta--outline:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.prod-cta .arrow { width: 16px; height: 1px; background: currentColor; position: relative; }
.prod-cta .arrow::after {
  content: ""; position: absolute; right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* ---------- Chip / pill ---------- */
.prod-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--f-body); font-size: 13px; color: var(--ink); font-weight: 500;
}
.prod-chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra); position: relative;
}
.prod-chip .dot::after {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%; background: var(--terra); opacity: 0.3;
  animation: prod-pulse 2.2s infinite;
}
@keyframes prod-pulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.5); opacity: 0; }
}

/* ─────────────────────────────────────────────
   01 HERO — centered, with dashboard mock + logo strip
───────────────────────────────────────────── */
.s-hero {
  padding: 96px 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
}
.s-hero__title {
  font-size: 96px;
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin: 36px auto 28px;
  max-width: 1100px;
}
.s-hero__body {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 740px;
  margin: 0 auto 36px;
}
.s-hero__body a { color: var(--terra); text-decoration: none; border-bottom: 1px solid var(--terra); }
.s-hero__body a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.s-hero__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 64px;
}

.s-hero__dash {
  position: relative;
  margin: 24px auto 0;
  max-width: 1180px;
  padding: 0 16px;
}
.s-hero__dash-frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink);
  box-shadow:
    0 50px 100px -30px rgba(16,42,44,0.45),
    0 24px 48px -18px rgba(16,42,44,0.25);
  position: relative;
  border: 1px solid rgba(16,42,44,0.12);
}
.s-hero__dash-frame img {
  display: block; width: 100%; height: auto;
}
.s-hero__dash-tag {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: rgba(16,42,44,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(248,246,242,0.2);
  border-radius: 999px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--paper);
  z-index: 2;
}
.s-hero__dash-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); position: relative;
}
.s-hero__dash-tag .dot::after {
  content: ""; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--teal); opacity: 0.5;
  animation: prod-pulse 2s infinite;
}

.s-hero__logos {
  margin-top: 80px;
  padding: 36px 0 56px;
  border-top: 1px solid var(--line-soft);
}
.s-hero__logos .lbl {
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.s-hero__logos-row {
  display: flex;
  gap: 48px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.s-hero__logos-row span {
  font-family: var(--f-display);
  font-size: 26px;
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.01em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.s-hero__logos-row span:hover { opacity: 1; }

/* ─────────────────────────────────────────────
   02 PROBLEM — centered head + 2-card contrast
───────────────────────────────────────────── */
.s-problem__head {
  text-align: center;
  max-width: 980px;
  margin: 0 auto 64px;
}
.s-problem__title {
  font-size: 64px;
  line-height: 1.0;
  margin: 20px 0 24px;
}
.s-problem__lede {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.s-problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contrast-card {
  padding: 44px 40px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--paper);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contrast-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px -28px rgba(16,42,44,0.25);
}
.contrast-card--ink {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.contrast-card__title {
  font-family: var(--f-display);
  font-size: 38px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.contrast-card__title em { color: var(--terra); font-style: italic; }
.contrast-card--ink .contrast-card__title em { color: var(--amber); }
.contrast-card__body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 22px 0 0;
}
.contrast-card--ink .contrast-card__body { color: rgba(248,246,242,0.78); }

/* ─────────────────────────────────────────────
   03 SYSTEM — image left, copy right, pull quote
───────────────────────────────────────────── */
.s-system__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.s-system__diagram {
  border-radius: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  padding: 28px;
  position: relative;
}
.s-system__title {
  font-size: 60px;
  line-height: 1.0;
  margin: 16px 0 24px;
  letter-spacing: -0.024em;
}
.s-system__body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.s-system__body--sm {
  font-size: 15px;
  color: rgba(16,42,44,0.78);
  margin-bottom: 28px;
}
.s-system__mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 32px;
}
.s-system__mini .item {
  padding: 16px 0 0;
  border-top: 1px solid var(--line-soft);
}
.s-system__mini .item .t {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 6px;
}
.s-system__mini .item .d {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.s-system__pullquote {
  margin-top: 96px;
  padding: 56px 64px;
  border: 1px dashed var(--line-soft);
  border-radius: 18px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(244,123,32,0.06) 0%, transparent 60%);
}
.s-system__pullquote-text {
  font-family: var(--f-display);
  font-size: 46px;
  line-height: 1.15;
  font-style: italic;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0;
}
.s-system__pullquote-text .q { color: var(--terra); font-style: italic; }

/* Override .system-cycle from styles.css for hi-fi treatment */
.s-system__diagram .system-cycle {
  border-radius: 12px;
  background: var(--paper);
  border-color: var(--line-soft);
}

/* ─────────────────────────────────────────────
   04 WHAT WE DO — 6-up service grid
───────────────────────────────────────────── */
.s-services__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
  align-items: end;
}
.s-services__title {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0;
}
.s-services__lede {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  padding-bottom: 8px;
  max-width: 480px;
}

.s-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s;
}
.service-card:hover {
  transform: translateY(-3px);
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 22px 50px -28px rgba(16,42,44,0.3);
}
.service-card__visual {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
  position: relative;
}
.service-card__visual img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__visual img { transform: scale(1.04); }
.service-card__num {
  position: absolute; top: 10px; right: 12px;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; color: var(--ink);
  background: rgba(248,246,242,0.92);
  border: 1px solid var(--line-soft);
  padding: 3px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.service-card__title {
  font-family: var(--f-display);
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0;
}
.service-card__body {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__body p { margin: 0; }
.service-card__tags {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.service-card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.service-card__foot .lbl {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s;
}
.service-card__foot .arrow-r {
  color: var(--terra);
  font-size: 16px;
  transition: transform 0.2s;
}
.service-card:hover .service-card__foot .lbl { color: var(--ink); }
.service-card:hover .service-card__foot .arrow-r { transform: translateX(4px); }

/* ─────────────────────────────────────────────
   05 WHY RISE — dark, big stats
───────────────────────────────────────────── */
.s-whyrise {
  text-align: center;
}
.s-whyrise__title {
  font-size: 96px;
  line-height: 0.96;
  margin: 24px auto 32px;
  max-width: 1100px;
  letter-spacing: -0.028em;
  color: var(--paper);
}
.s-whyrise__title em.amber { color: var(--amber); font-style: italic; }
.s-whyrise__lede {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: rgba(248,246,242,0.8);
  max-width: 720px;
  margin: 0 auto 64px;
}
.s-whyrise__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 0;
  border-top: 1px solid rgba(248,246,242,0.2);
  border-bottom: 1px solid rgba(248,246,242,0.2);
}
.s-whyrise__stat {
  padding: 20px 16px;
  border-right: 1px solid rgba(248,246,242,0.15);
}
.s-whyrise__stat:last-child { border-right: 0; }
.s-whyrise__stat .num {
  font-family: var(--f-display);
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.s-whyrise__stat .num.terra { color: var(--terra); }
.s-whyrise__stat .num .strike { text-decoration: line-through; text-decoration-thickness: 4px; }
.s-whyrise__stat .lbl {
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248,246,242,0.7);
  margin-top: 14px;
}
.s-whyrise__quote {
  margin-top: 52px;
  font-family: var(--f-display);
  font-size: 30px;
  font-style: italic;
  line-height: 1.3;
  color: var(--paper);
  letter-spacing: -0.012em;
}
.s-whyrise__quote em { color: var(--terra); font-style: italic; }

/* ─────────────────────────────────────────────
   06 BRAND × PERFORMANCE — copy + brand moments
───────────────────────────────────────────── */
.s-brand__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.s-brand__title {
  font-size: 60px;
  line-height: 1.0;
  margin: 16px 0 24px;
  letter-spacing: -0.024em;
}
.s-brand__body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.s-brand__body em { font-style: italic; color: var(--terra); }
.s-brand__body--sm {
  font-size: 15px;
  color: rgba(16,42,44,0.78);
  margin-bottom: 28px;
}
.s-brand__pull {
  padding: 24px;
  background: var(--paper-2);
  border-left: 3px solid var(--terra);
  border-radius: 0 12px 12px 0;
}
.s-brand__pull .display {
  font-family: var(--f-display);
  font-size: 24px;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
}

/* ─────────────────────────────────────────────
   07 SOLUTIONS — pricing cards
───────────────────────────────────────────── */
.s-plans__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 64px;
}
.s-plans__title {
  font-size: 60px;
  line-height: 1.0;
  letter-spacing: -0.024em;
  margin: 20px 0 20px;
}
.s-plans__lede {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.s-plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan-card {
  position: relative;
  padding: 36px 32px 32px;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -28px rgba(16,42,44,0.25); }
.plan-card--featured {
  background: var(--ink); color: var(--paper);
  border-color: var(--terra); border-width: 2px;
}
.plan-card__pop {
  position: absolute;
  top: -12px; left: 32px;
  background: var(--terra); color: var(--paper);
  font-family: var(--f-label);
  font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  padding: 6px 12px; border-radius: 999px;
}
.plan-card__meta {
  display: flex; justify-content: space-between; align-items: baseline;
}
.plan-card__meta .mono {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.plan-card--featured .plan-card__meta .mono { color: rgba(248,246,242,0.65); }
.plan-card__meta .tag {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
}
.plan-card--featured .plan-card__meta .tag { color: var(--amber); }
.plan-card__title {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0;
}
.plan-card__sub {
  margin: 0;
  font-family: var(--f-display);
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
  color: rgba(16,42,44,0.75);
}
.plan-card--featured .plan-card__sub { color: rgba(248,246,242,0.82); }
.plan-card hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 4px 0;
}
.plan-card--featured hr { border-color: rgba(248,246,242,0.2); }
.plan-card__features {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.plan-card__features li {
  display: flex; gap: 12px; align-items: start;
  font-family: var(--f-body); font-size: 14px;
  line-height: 1.5;
}
.plan-card__features .tick {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(244,123,32,0.12);
  color: var(--terra);
  display: grid; place-items: center;
  font-size: 10px; flex-shrink: 0;
  margin-top: 1px;
}
.plan-card--featured .plan-card__features .tick {
  background: rgba(244,123,32,0.22);
}
.plan-card__cta {
  margin-top: auto;
  padding-top: 14px;
  display: block;
}
.plan-card__cta .prod-cta {
  width: 100%; justify-content: center;
}

/* ─────────────────────────────────────────────
   08 EMBEDDED GROWTH — copy + testimonial card
───────────────────────────────────────────── */
.s-embed__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.s-embed__title {
  font-size: 56px;
  line-height: 1.02;
  margin: 16px 0 24px;
  letter-spacing: -0.022em;
}
.s-embed__body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 28px;
}

.testimonial {
  padding: 44px 40px;
  background: var(--paper-2);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
}
.testimonial__quote {
  font-family: var(--f-display);
  font-size: 30px;
  font-style: italic;
  line-height: 1.32;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0 0 28px;
}
.testimonial__attrib {
  display: flex; gap: 14px; align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.testimonial__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  border: 2px solid var(--paper);
  box-shadow: 0 4px 12px -4px rgba(16,42,44,0.3);
  flex-shrink: 0;
}
.testimonial__name {
  font-family: var(--f-label);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}
.testimonial__role {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}
.testimonial__stats {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial__stat .num {
  font-family: var(--f-display);
  font-size: 36px;
  line-height: 1;
  color: var(--terra);
  letter-spacing: -0.02em;
}
.testimonial__stat .lbl {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   09 WHO IT'S FOR — checklist 3x2
───────────────────────────────────────────── */
.s-fit__head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.s-fit__title {
  font-size: 56px;
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 20px 0 16px;
}
.s-fit__lede {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}
.s-fit__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.fit-card {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--paper);
  display: flex; gap: 16px; align-items: start;
  transition: border-color 0.2s, transform 0.2s;
}
.fit-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.fit-card__tick {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--terra);
  color: var(--paper);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.fit-card__text {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

/* ─────────────────────────────────────────────
   10 FINAL CTA — centered with meta strip
───────────────────────────────────────────── */
.s-final {
  text-align: center;
  padding: 128px 64px 112px;
}
.s-final__title {
  font-size: 96px;
  line-height: 0.96;
  letter-spacing: -0.028em;
  margin: 24px auto 24px;
  max-width: 1100px;
}
.s-final__lede {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 auto 36px;
}
.s-final__actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 56px;
}
.s-final__meta {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 32px;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: var(--paper-2);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.s-final__meta .item .lbl {
  font-family: var(--f-label);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.s-final__meta .item .v {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */
.prod-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 64px 32px;
}
.prod-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248,246,242,0.15);
}
.prod-footer__brand img {
  height: 32px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}
.prod-footer__brand p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(248,246,242,0.7);
  max-width: 320px;
  margin: 0;
}
.prod-footer__col h4 {
  font-family: var(--f-label);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 18px;
}
.prod-footer__col a, .prod-footer__col span {
  display: block;
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(248,246,242,0.85);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.15s;
}
.prod-footer__col a:hover { color: var(--terra); }
.prod-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(248,246,242,0.55);
  letter-spacing: 0.02em;
}

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1100px) {
  .prod-section { padding: 88px 40px; }
  .prod-nav { padding: 18px 40px; }
  .s-hero { padding: 80px 40px 0; }
  .s-hero__title { font-size: 72px; }
  .s-final { padding: 96px 40px; }
  .s-final__title, .s-whyrise__title { font-size: 72px; }
  .s-problem__title, .s-system__title, .s-brand__title, .s-plans__title { font-size: 48px; }
  .s-services__title, .s-embed__title, .s-fit__title { font-size: 44px; }
  .contrast-card__title { font-size: 30px; }
  .service-card__title { font-size: 24px; }
  .plan-card__title { font-size: 30px; }
  .s-system__grid, .s-brand__grid { gap: 48px; }
  .s-embed__grid { gap: 48px; }
  .s-whyrise__stat .num { font-size: 72px; }
  .s-services__grid, .s-plans__grid { gap: 16px; }
  .s-services__head { gap: 40px; }
  .prod-footer { padding: 64px 40px 28px; }
}

@media (max-width: 900px) {
  .prod-nav__links { display: none; }
  .prod-nav__menu-btn { display: block; }
  .prod-nav__cta { padding: 10px 18px; font-size: 12px; }
  .prod-nav__cta .arrow { display: none; }
  .prod-section { padding: 72px 24px; }
  .s-hero { padding: 56px 24px 0; }
  .s-hero__title { font-size: 52px; }
  .s-hero__body { font-size: 17px; }
  .s-hero__logos-row { gap: 24px; }
  .s-hero__logos-row span { font-size: 20px; }

  .s-problem__head, .s-plans__head, .s-fit__head { margin-bottom: 40px; }
  .s-problem__title, .s-system__title, .s-brand__title, .s-plans__title { font-size: 36px; }
  .s-services__title, .s-embed__title, .s-fit__title { font-size: 32px; }
  .s-whyrise__title { font-size: 48px; }
  .s-final__title { font-size: 52px; }

  .s-problem__grid { grid-template-columns: 1fr; gap: 16px; }
  .contrast-card { padding: 32px 24px; }
  .contrast-card__title { font-size: 26px; }

  .s-system__grid { grid-template-columns: 1fr; gap: 40px; }
  .s-system__diagram { padding: 16px; }
  .s-system__mini { grid-template-columns: 1fr; }
  .s-system__pullquote { padding: 36px 24px; margin-top: 56px; }
  .s-system__pullquote-text { font-size: 28px; }

  .s-services__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .s-services__grid { grid-template-columns: 1fr; }

  .s-whyrise__stats { grid-template-columns: repeat(2, 1fr); }
  .s-whyrise__stat:nth-child(2) { border-right: 0; }
  .s-whyrise__stat:nth-child(3), .s-whyrise__stat:nth-child(4) {
    border-top: 1px solid rgba(248,246,242,0.15);
  }
  .s-whyrise__stat .num { font-size: 56px; }
  .s-whyrise__quote { font-size: 22px; }

  .s-brand__grid { grid-template-columns: 1fr; gap: 40px; }

  .s-plans__grid { grid-template-columns: 1fr; gap: 14px; }
  .plan-card { padding: 28px 24px; }

  .s-embed__grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonial { padding: 32px 24px; }
  .testimonial__quote { font-size: 22px; }
  .testimonial__stats { grid-template-columns: 1fr; }

  .s-fit__grid { grid-template-columns: 1fr; gap: 10px; }
  .fit-card { padding: 20px; }

  .s-final { padding: 72px 24px; }
  .s-final__meta { grid-template-columns: 1fr; gap: 16px; padding: 20px 24px; }

  .prod-footer { padding: 56px 24px 24px; }
  .prod-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .prod-footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .s-hero__title, .s-final__title { font-size: 42px; }
  .s-whyrise__title { font-size: 38px; }
  .s-whyrise__stats { grid-template-columns: 1fr; }
  .s-whyrise__stat { border-right: 0 !important; border-top: 1px solid rgba(248,246,242,0.15); }
  .s-whyrise__stat:first-child { border-top: 0; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .prod-chip .dot::after,
  .s-hero__dash-tag .dot::after { animation: none; }
}
