/* ChessGraduation - shared design system
   Used by: index.html, blog/index.html, and the four article pages.
   Article-specific concerns (prose width, drop-cap, pull-quote) live in blog.css. */

:root {
  /* Spacing (8pt) */
  --space-1: 8px;   --space-2: 16px;  --space-3: 24px;
  --space-4: 32px;  --space-5: 48px;  --space-6: 64px;
  --space-7: 96px;  --space-8: 128px;

  /* Type scale */
  --t-display: clamp(3rem, 6.4vw, 5rem);
  --t-h2:      clamp(2rem, 3.6vw, 3rem);
  --t-h3:      1.5rem;
  --t-lead:    1.1875rem;
  --t-body:    1.0625rem;
  --t-meta:    0.875rem;
  --t-eyebrow: 0.72rem;

  --measure:   62ch;
  --line-body: 1.6;

  /* Colors */
  --ink:       #141312;
  --ink-mid:   #5F5A54;
  --ink-soft:  #7A7268;        /* lifted from #9A9389 for AA */
  --paper:     #F7F3EC;
  --paper-2:   #EFE7DA;
  --paper-3:   #EBE5DB;
  --surface:   #FFFAF4;
  --border:    rgba(216,207,194,0.7);
  --border-strong: rgba(216,207,194,0.95);
  --accent:        #3B4F6B;    /* deep restrained slate-blue */
  --accent-warm:   #9F7A2F;    /* muted gold, used sparingly */
  --inverse:       #141312;
  --inverse-2:     #1F1C1A;

  --board-light: #F0D9B5;
  --board-dark:  #B58863;

  /* Material */
  --shadow-soft: 0 24px 60px rgba(20,19,18,0.08);
  --shadow-deep: 0 30px 80px rgba(20,19,18,0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Layout */
  --content: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  /* Typography stacks */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "New York", "Iowan Old Style", "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: var(--line-body);
  background:
    radial-gradient(900px 500px at 92% -10%, rgba(159,122,47,0.10), transparent 60%),
    radial-gradient(1100px 600px at -5% 8%, rgba(59,79,107,0.06), transparent 55%),
    linear-gradient(180deg, #f6f1e8 0%, #f7f3ec 35%, #efe7da 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
h1 { letter-spacing: -0.045em; line-height: 1.02; }
p { margin: 0; }

::selection { background: var(--ink); color: var(--paper); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: 12px;
  background: var(--ink); color: white;
  padding: 10px 14px; border-radius: 8px;
  z-index: 100;
  transform: translateY(-150%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout ---------- */
.container {
  width: min(calc(100% - var(--gutter) * 2), var(--content));
  margin-inline: auto;
}
.container-narrow { width: min(calc(100% - var(--gutter) * 2), 880px); margin-inline: auto; }

.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head > div { max-width: 38rem; }
.section-title { font-size: var(--t-h2); max-width: 18ch; }
.section-note { max-width: 36rem; color: var(--ink-mid); font-size: var(--t-lead); }

/* ---------- Typography helpers ---------- */
.eyebrow, .mini-label {
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.lead {
  font-size: var(--t-lead);
  color: var(--ink-mid);
  max-width: var(--measure);
  line-height: 1.55;
}
.measure { max-width: var(--measure); }

/* ---------- Surfaces ---------- */
.surface-flat {
  background: rgba(255,250,244,0.66);
  border: 1px solid var(--border);
  border-radius: 24px;
}
.surface-raised {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.surface-inverse {
  background: var(--inverse);
  color: rgba(255,255,255,0.92);
  border-radius: 28px;
}
.surface-inverse .eyebrow,
.surface-inverse .mini-label { color: rgba(255,255,255,0.55); }
.surface-inverse p { color: rgba(255,255,255,0.72); }

/* ---------- Buttons ---------- */
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.975rem;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.pill-primary { background: var(--ink); color: white; }
.pill-primary:hover { background: #000; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(20,19,18,0.18); }
.pill-secondary {
  background: rgba(255,255,255,0.55);
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.pill-secondary:hover { background: var(--surface); transform: translateY(-1px); }
.pill-ghost { background: transparent; color: var(--ink); }
.pill-ghost:hover { background: rgba(20,19,18,0.05); }
.pill-on-dark {
  background: white;
  color: var(--ink);
}
.pill-on-dark:hover { background: var(--paper); transform: translateY(-1px); }
.pill-on-dark-secondary {
  background: rgba(255,255,255,0.10);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
}
.pill-on-dark-secondary:hover { background: rgba(255,255,255,0.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Topbar ---------- */
.topbar { padding: 20px 0 0; }
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,250,244,0.78);
  box-shadow: 0 14px 28px rgba(20,19,18,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 14px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20,19,18,0.18);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 0.93rem;
  color: var(--ink-mid);
}
.nav a { padding: 6px 0; }
.nav a:hover { color: var(--ink); }
.topbar-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

@media (max-width: 1024px) { .brand-sub { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 8vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: var(--space-3); }
.hero h1 {
  font-size: var(--t-display);
  max-width: 12ch;
  margin-top: var(--space-1);
}
.hero-lead { font-size: var(--t-lead); color: var(--ink-mid); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-2); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 18px;
  margin-top: var(--space-2);
  color: var(--ink-soft); font-size: 0.92rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); display: inline-block;
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-deep);
  background: var(--paper-2);
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,18,0) 60%, rgba(20,19,18,0.18) 100%);
  pointer-events: none;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-strip > div {
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  border-left: 1px solid var(--border);
}
.stat-strip > div:first-child { border-left: 0; }
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-copy { margin-top: 10px; color: var(--ink-mid); font-size: 0.97rem; max-width: 28rem; }

/* ---------- Featured audience (split) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split.split-narrow { gap: clamp(28px, 4vw, 56px); }
.split-copy { display: flex; flex-direction: column; gap: var(--space-3); max-width: 34rem; }
.split-copy h2 { font-size: var(--t-h2); max-width: 14ch; }
.split-visual {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-deep);
  background: var(--paper-2);
}
.split-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Secondary audiences (cards) ---------- */
.secondary-banner {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  box-shadow: var(--shadow-deep);
  margin-bottom: clamp(28px, 5vw, 56px);
}
.secondary-banner img { width: 100%; height: 100%; object-fit: cover; }
.secondary-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,19,18,0.15) 0%, rgba(20,19,18,0.55) 100%);
}
.secondary-banner-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 4vw, 36px);
  color: white;
  z-index: 1;
  display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.secondary-banner-caption h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  max-width: 18ch;
  color: white;
}
.secondary-banner-caption p { color: rgba(255,255,255,0.78); max-width: 28rem; }

.secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.secondary-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,250,244,0.6);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.secondary-card h4 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.025em;
}
.secondary-card p { color: var(--ink-mid); }

/* ---------- Tour (device frames) ---------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.tour-card { display: flex; flex-direction: column; gap: var(--space-2); }
.tour-shot {
  aspect-ratio: 9 / 19;
  background: #1d1d1d;
  border-radius: 28px;
  padding: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tour-card:hover .tour-shot { transform: translateY(-4px); box-shadow: var(--shadow-deep); }
.tour-shot img {
  width: 100%; height: 100%;
  border-radius: 22px;
  object-fit: cover;
  display: block;
}
.tour-copy { padding: 4px 6px; }
.tour-copy strong { display: block; font-family: var(--serif); font-size: 1.1rem; letter-spacing: -0.01em; }
.tour-copy p { margin-top: 6px; color: var(--ink-mid); font-size: 0.95rem; }

/* ---------- Thesis (dark pivot) ---------- */
.thesis {
  padding: clamp(64px, 9vw, 120px) clamp(28px, 5vw, 80px);
  text-align: center;
}
.thesis h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 14ch;
  margin: 14px auto 0;
  color: white;
}
.thesis-lead {
  margin: clamp(20px, 3vw, 28px) auto 0;
  max-width: 48ch;
  color: rgba(255,255,255,0.72);
  font-size: var(--t-lead);
}
.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(48px, 7vw, 80px);
  text-align: left;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: clamp(36px, 5vw, 56px);
}
.thesis-grid > div { display: flex; flex-direction: column; gap: var(--space-1); }
.thesis-grid strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.02em;
}
.thesis-grid p { color: rgba(255,255,255,0.66); font-size: 0.97rem; }
.thesis-grid .eyebrow { color: rgba(255,255,255,0.45); margin-bottom: 6px; }

/* ---------- Proof grid ---------- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.proof-item {
  padding: clamp(28px, 3.5vw, 40px) clamp(20px, 2.5vw, 28px);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.proof-item:first-child { border-left: 0; }
.proof-index {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--accent-warm);
}
.proof-item h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.proof-item p { color: var(--ink-mid); font-size: 0.97rem; }

.pull-quote {
  margin: clamp(56px, 8vw, 96px) auto 0;
  max-width: 44ch;
  text-align: center;
}
.pull-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  font-style: italic;
}
.pull-quote blockquote::before { content: "\201C"; margin-right: 0.05em; color: var(--ink-soft); }
.pull-quote blockquote::after { content: "\201D"; margin-left: 0.05em; color: var(--ink-soft); }
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Journey (static three-step) ---------- */
.journey {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin-top: clamp(48px, 6vw, 72px);
}
.journey-step {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255,250,244,0.55);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.journey-no {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--ink); color: white;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700;
  font-size: 0.95rem;
}
.journey-step strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.journey-step p { color: var(--ink-mid); font-size: 0.97rem; }

/* ---------- Store availability banner ---------- */
.store-banner {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, #1a1815 0%, #2a2520 100%);
  color: #f7f0e3;
  font-size: 1rem;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 36px rgba(20,19,18,0.22), 0 2px 6px rgba(20,19,18,0.12);
}
.store-banner-wrap {
  display: flex;
  justify-content: center;
}
.store-banner-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ffb84a;
  box-shadow: 0 0 0 4px rgba(255,184,74,0.28), 0 0 14px rgba(255,184,74,0.55);
  animation: storePulse 1.9s var(--ease) infinite;
}
@keyframes storePulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,184,74,0.28), 0 0 12px rgba(255,184,74,0.45); }
  50%      { box-shadow: 0 0 0 9px rgba(255,184,74,0.04), 0 0 18px rgba(255,184,74,0.65); }
}
.store-banner-label {
  font-weight: 800;
  color: #ffb84a;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.store-banner-sep { color: rgba(247,240,227,0.32); }
.store-banner-stores {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7f0e3;
  font-weight: 600;
  font-size: 1.02rem;
}
.store-banner-stores + .store-banner-stores::before {
  content: "&"; color: rgba(247,240,227,0.45); font-weight: 400; margin-right: 4px;
}
.store-icon { color: #f7f0e3; width: 18px; height: 18px; }
@media (max-width: 640px) {
  .store-banner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    padding: 14px 20px;
    text-align: center;
    font-size: 0.95rem;
  }
  .store-banner-sep { display: none; }
  .store-banner-label { font-size: 0.78rem; }
}

.store-banner-row {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.store-banner-row .store-banner { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .store-banner-dot { animation: none; }
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.pricing-card {
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: 28px;
  border: 1px solid var(--border);
  background: rgba(255,250,244,0.7);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.pricing-card.featured {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft);
}
.pricing-card .price {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: var(--space-1);
}
.pricing-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.price-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-mid); }
.price-list li { padding-left: 18px; position: relative; }
.price-list li::before {
  content: ""; position: absolute; left: 0; top: 0.7em;
  width: 8px; height: 1px; background: var(--ink-soft);
}
.pricing-card .pill-button { align-self: flex-start; margin-top: auto; padding-top: 14px; }
.pricing-editorial {
  margin-top: clamp(20px, 3vw, 28px);
  text-align: center;
  color: var(--ink-mid);
  max-width: 60ch;
  margin-inline: auto;
  font-size: 0.97rem;
}
.pricing-editorial a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-strong); }
.pricing-editorial a:hover { text-decoration-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.faq-intro h2 { font-size: var(--t-h2); max-width: 12ch; }
.faq-intro p { margin-top: 14px; color: var(--ink-mid); max-width: 32ch; }

.faq-stack { display: grid; gap: 0; border-top: 1px solid var(--border); }
.faq-card { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  padding: 22px 0;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.faq-plus {
  width: 24px; height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform .3s var(--ease);
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--ink); border-radius: 1px;
  inset: 0; margin: auto;
}
.faq-plus::before { width: 14px; height: 1.5px; }
.faq-plus::after  { width: 1.5px; height: 14px; }
.faq-card[data-open="true"] .faq-plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--ink-mid);
  transition: max-height .35s var(--ease), padding .35s var(--ease);
}
.faq-card[data-open="true"] .faq-answer {
  max-height: 400px;
  padding: 0 0 22px;
}

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) clamp(24px, 4vw, 64px);
  color: white;
  isolation: isolate;
  min-height: clamp(360px, 45vw, 460px);
  display: flex; flex-direction: column; justify-content: end; gap: var(--space-3);
}
.final-cta-bg {
  position: absolute; inset: 0; z-index: -2;
}
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,19,18,0.45) 0%, rgba(20,19,18,0.85) 100%);
}
.final-cta h2 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  max-width: 16ch;
  color: white;
}
.final-cta p { color: rgba(255,255,255,0.82); max-width: 44ch; font-size: var(--t-lead); }
.final-cta .hero-actions { margin-top: var(--space-2); }

/* ---------- Footer ---------- */
footer { padding: 48px 0 64px; color: var(--ink-soft); font-size: 0.95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}
.footer-grid strong { color: var(--ink); font-family: var(--serif); font-size: 1.15rem; }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: flex-end; align-items: center;
}
.footer-links a:hover { color: var(--ink); }

/* ---------- Reveal motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 16 / 11; max-height: 520px; }
  .split { grid-template-columns: 1fr; }
  .split-visual { aspect-ratio: 4 / 3; max-height: 480px; }
  .secondary-banner { aspect-ratio: 16 / 9; }
  .thesis-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-item:nth-child(2) { border-left: 1px solid var(--border); }
  .proof-item:nth-child(3) { border-left: 0; border-top: 1px solid var(--border); }
  .proof-item:nth-child(4) { border-top: 1px solid var(--border); }
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; }
  .topbar-row {
    border-radius: 22px;
    padding: 12px 14px;
    flex-wrap: wrap;
  }
  .nav { display: none; }
  .topbar-actions { gap: 8px; }
  .topbar-actions .pill-button { padding: 12px 16px; }

  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.75rem); max-width: 14ch; }
  .hero-visual { aspect-ratio: 4 / 5; max-height: none; }
  .hero-visual img { object-position: 30% center; }

  .stat-strip {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }
  .stat-strip > div { border-left: 0; border-bottom: 1px solid var(--border); padding: 24px 0; }

  .section-head { flex-direction: column; align-items: flex-start; }

  .secondary-grid {
    grid-template-columns: 1fr;
  }

  .tour-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .tour-grid::-webkit-scrollbar { display: none; }
  .tour-card { flex: 0 0 75%; scroll-snap-align: start; }

  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { border-left: 0 !important; border-top: 1px solid var(--border); }
  .proof-item:first-child { border-top: 0; }

  .thesis { padding: 56px 24px; }
  .final-cta { min-height: 420px; padding: 32px 24px; }
}
