/* ============================================================
   Authentic Gentleman — HOME PAGE (v2 redesign)
   Scoped to .home so no other page is affected until the
   Montserrat rollout happens site-wide.

   Concept: "surface & depth". Light (cream) sections are the
   words she reads; dark (navy) sections are what's happening
   underneath — the subtext. The alternation is the argument.

   - Headings: Montserrat, optically matched to the old Libre
     Baskerville sizes (Montserrat's larger x-height means the
     px number is smaller but the rendered size looks the same).
   - Montserrat is now used throughout the home page, including
     the former accent-serif spots (founder epigraph, stat
     numerals, signature, pull-quote mark). The nav/footer
     wordmarks are untouched (styled in style.css).
   - No side-stripe borders, no gradient text, no glass.
   ============================================================ */

.home {
  /* local palette (navy-tinted, no pure black/white) */
  --h-navy-900: #001433;
  --h-navy-800: #002551;
  --h-navy-700: #06285a;
  --h-cream:    #FAF8F5;
  --h-cream-90: #F3EEE6;
  --h-parchment:#EFE3D0;   /* warm accent on dark surfaces */
  --h-orange:   #EC7034;
  --h-orange-d: #D4612A;   /* accent on light surfaces (AA on cream) */
  --h-gold:     #E0A63C;   /* testimonial stars */

  --h-ink:      #14243c;   /* strong text on light */
  --h-steel:    #45607E;   /* body text on light */
  --h-mute-l:   #566B84;   /* muted meta on light (AA on cream) */
  --h-body-d:   #B9C2D6;   /* body text on dark */
  --h-mute-d:   rgba(245,240,232,0.52);

  --h-line-l:   #E2E5EE;
  --h-line-d:   rgba(245,240,232,0.14);

  --font-mont:  "Montserrat", system-ui, sans-serif;

  /* Run the whole home page in Montserrat. Redefining the global
     --font-display here (it's set on :root in style.css) makes every
     var(--font-display) descendant inside the home body — hero chrome,
     the tie's pill/panel labels, opt-in form labels, pathway numerals,
     the final-CTA headline — resolve to Montserrat, WITHOUT affecting
     any other page (which still reads :root's Libre Baskerville). */
  --font-display: "Montserrat", system-ui, sans-serif;
}


/* Nav CTA: cream pill with navy uppercase Montserrat label (not the orange
   square btn-primary). Scoped/specific enough to override .btn + .btn-primary. */
.home .nav-cta.btn-primary {
  background: var(--h-cream);
  color: var(--h-navy-900);
  border-radius: 999px;
  padding: 12px 28px;
  border-color: transparent;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.home .nav-cta.btn-primary:hover {
  background: #ffffff;
  color: var(--h-navy-900);
}

/* Orange buttons: white label instead of navy. (The cream nav-cta pill above
   is more specific, so it keeps its navy text.) Hover swaps to dark-orange
   instead of the light-cream base hover, so white text stays readable. */
.home .btn-primary { color: #fff; }
.home .btn-primary:hover { background: var(--signal-orange-dark); color: #fff; }
.home #_form_1_ ._submit { color: #fff !important; }

/* ============================================================
   1. TYPE — Montserrat headings, optically matched
   ============================================================ */

/* Hero headline: was Libre Baskerville clamp(44,7vw,96) @800.
   Montserrat ~0.9x renders the same visual size. */
.home .hero h1.display {
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: clamp(48px, 7.7vw, 105px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

/* Hero lead recoloured to match the dark-surface body text (--h-body-d),
   the same colour as the anticipation prose. */
.home .hero-lead { color: var(--h-body-d); }

/* Section headline (the big two-tone statements). */
.home-h1 {
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: clamp(34px, 4.95vw, 53px);
  line-height: 1.08;
  letter-spacing: -0.017em;
  margin: 0;
  color: var(--h-ink);
  text-wrap: pretty;
}

/* Mid-level statement line (e.g. "Because your attractive
   qualities are not speaking for themselves."). */
.home-h2 {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.008em;
  margin: 0;
  color: var(--h-ink);
  text-wrap: pretty;
}

/* Kept sections (Three ways in, FAQ) inherit Montserrat too,
   sized down so they don't balloon against the old layout. */
.home .h2 {
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: clamp(34px, 4.95vw, 53px);
  letter-spacing: -0.015em;
  line-height: 1.04;
}
.home .path-title {
  font-family: var(--font-mont);
  font-size: clamp(21px, 1.95vw, 28px);
  letter-spacing: -0.01em;
}
.home .faq summary {
  font-family: var(--font-mont);
  font-size: clamp(18px, 1.5vw, 22px);
  letter-spacing: -0.005em;
}

/* Two-tone accent: the second clause of a headline.
   Light surfaces → orange; dark surfaces → warm parchment. */
.tone-accent { color: var(--h-orange-d); display: inline; }
.home-anticipation .tone-accent,
.home-application .tone-accent,
.home-origin .tone-accent,
.home-final .tone-accent { color: var(--h-parchment); }

/* Dark surfaces: base headline text is cream (the accent stays parchment).
   Without this the base .home-h1/.home-h2 color (--h-ink) is near-invisible
   on navy — it was the ghosted "A practical game-plan for". */
.home-anticipation .home-h1, .home-application .home-h1,
.home-origin .home-h1, .home-final .home-h1,
.home-anticipation .home-h2, .home-application .home-h2,
.home-origin .home-h2, .home-final .home-h2 { color: var(--h-cream); }

/* Kicker eyebrow (replaces the roman numerals). */
.home-kicker {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #A84C16;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  flex-shrink: 0;
}
.home-anticipation .home-kicker,
.home-application .home-kicker,
.home-origin .home-kicker,
.home-final .home-kicker,
.pathway .home-kicker { color: var(--h-orange); }
.home-kicker-center { justify-content: center; }

/* Pathway ("Three ways in") + FAQ: drop the side rail so the kicker
   ("Where To Begin" / "Honest Questions") stacks directly ABOVE the header,
   left-aligned and tight, exactly like the founder/start sections. The whole
   880px reading column is centred on the page as a block (content stays left).
   gap:0 kills the old 36-72px rail gap that was suspending the kicker. */
@media (min-width: 880px) {
  .home .pathway-inner,
  .home .faq-inner { grid-template-columns: 1fr; }
}
.home .pathway-inner,
.home .faq-inner {
  margin-inline: auto;
  gap: 0;   /* kicker→header spacing comes from the kicker's own margin */
}
.home .faq-inner { max-width: 880px; }
.home .faq-body .lead { font-size: clamp(16px, 1.2vw, 21px); /* match the founder story body size */ }
/* Pathway holds a 2×2 panel grid (01 02 / 03 04), each panel 800px wide.
   Math: 2-up needs 2×800 + 14px gap + 2×56px gutters ≈ 1726px, so the grid only
   goes two-across at ≥1740px (e.g. a 2560px screen). Below that, one panel per
   row — same 800px width, centred — so panels are never squished. */
.home .pathway-inner { max-width: 1614px; }
.home .pathway-body { max-width: none; }

/* Section header: kicker + H2 wrapped in a shrink-to-fit block centred on the
   page. The block hugs the (one-line) H2, so the H2 reads as centred while the
   left-aligned kicker starts directly above the H2's first word. Body copy
   stays left-aligned. max-width:none on the H2 lets it sit on one line at wide
   resolutions (it still wraps naturally on narrow screens). */
.home .pathway-head {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.home .pathway-head .home-kicker-col { justify-content: flex-start; margin-inline: 0; }
.home .pathway-body .h2 { max-width: none; text-align: left; margin-inline: 0; }
.home .pathway-body .lead { text-align: left; max-width: 64ch; margin-inline: auto; font-size: clamp(16px, 1.2vw, 21px); /* match the founder story body size */ }

/* Panels: one per row by default (800px, centred); 2×2 only on wide screens. */
.home .pathway-list {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin-inline: auto;
}
@media (min-width: 1740px) {
  .home .pathway-list { grid-template-columns: 1fr 1fr; max-width: none; }
}

/* ============================================================
   2. SHARED LAYOUT — rail + reading column
   ============================================================ */

.home-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(4px, 2vw, 40px);
}
@media (min-width: 900px) {
  .home-shell {
    grid-template-columns: auto minmax(0, 880px);
    column-gap: clamp(28px, 4vw, 56px);
    justify-content: center;
    /* Mirror the rail + gap as right padding so the READING COLUMN sits
       centered in the section, not shoved right by the rail on its left. */
    padding-right: calc(19px + clamp(28px, 4vw, 56px));
  }
  .home-origin .home-shell { grid-template-columns: auto minmax(0, 1000px); }
}

.home-rail { display: none; }
@media (min-width: 900px) {
  .home-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding-top: 4px;
  }
  .home-rail::before {
    content: "";
    width: 2px;
    height: clamp(44px, 6vw, 80px);
    background: var(--h-orange);
    opacity: 0.85;
  }
  .home-rail-word {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: var(--font-mont);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--h-mute-l);
    white-space: nowrap;
  }
}
.home-anticipation .home-rail-word,
.home-origin .home-rail-word { color: var(--h-mute-d); }

.home-col { max-width: 880px; }
.home-col--wide { max-width: 1000px; }
/* Uniform headline measure across every section. */
.home-h1, .home .h2 { max-width: 28ch; }
.home-h1-center { margin-inline: auto; text-align: center; }
.home .faq-section .h2 { margin-inline: 0; }

/* Prose */
.home-prose { margin: clamp(22px, 2.6vw, 32px) 0; }
.home-prose p {
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.65;
  color: var(--h-steel);
  max-width: 68ch;
  margin: 0 0 0.9em;
}
.home-prose p:last-child { margin-bottom: 0; }
.home-prose .prose-lead {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(17px, 1.4vw, 21px);
  color: var(--h-ink);
  line-height: 1.4;
}
.home-prose .prose-cue { color: var(--h-ink); font-weight: 600; }
.home-prose-center { margin-inline: auto; }
.home-prose-center p { margin-inline: auto; text-align: center; max-width: 64ch; }

/* Shift-section intro: the paragraph column is centered under the headline
   (margin-inline:auto), but the text inside reads left-aligned. */
.home-shift-head .home-prose-center p { text-align: left; margin-inline: auto; }

/* dark-surface prose */
.home-anticipation .home-prose p,
.home-application .home-prose p,
.home-origin .home-prose p,
.home-final .home-prose p { color: var(--h-body-d); }
.home-anticipation .prose-lead,
.home-application .prose-cue,
.home-anticipation .prose-cue,
.home-origin .prose-cue,
.home-final .prose-cue { color: var(--h-cream); }

/* Definition line: "I call this The Subtext Effect™" — one uniform size,
   the term picked out in orange. */
.home-define {
  margin: clamp(28px, 3.4vw, 40px) 0;
  padding: 22px 0;
  border-top: 1px solid var(--h-line-l);
  border-bottom: 1px solid var(--h-line-l);
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 27px);
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--h-ink);
}
.home-define-term {
  font-weight: 800;
  color: var(--h-orange-d);
  white-space: nowrap;
}

/* Stanza — short imaginative lines (Anticipation, Application) */
.home-stanza {
  list-style: none;
  margin: clamp(26px, 3.2vw, 40px) 0;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--h-line-d);
  border-bottom: 1px solid var(--h-line-d);
  display: grid;
  gap: 10px;
}
.home-stanza li {
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(19px, 1.9vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--h-cream);
}
.home-stanza-tight li { font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; }
.home-stanza li.muted { color: rgba(245, 240, 232, 0.72); }

/* Reframed pull-quote — full frame, no side-stripe, no quote mark */
.home-quote {
  position: relative;
  margin: clamp(28px, 3.4vw, 42px) 0;
  padding: clamp(26px, 3vw, 38px) clamp(26px, 3vw, 40px);
  background: var(--h-cream-90);
  border: 1px solid var(--h-line-l);
  border-radius: 12px;
  overflow: hidden;
}
.home-quote blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--h-ink);
}
.home-quote strong { color: inherit; font-weight: 800; }
/* dark-surface quote */
.home-anticipation .home-quote {
  background: color-mix(in oklab, var(--h-navy-700) 82%, #fff 2%);
  border-color: var(--h-line-d);
}
.home-anticipation .home-quote blockquote { color: var(--h-cream); }
.home-anticipation .home-quote strong { color: var(--h-parchment); }

/* Perception quote: navy box with light text (per request). */
.home-perception .home-quote {
  background: var(--h-navy-800);
  border-color: var(--h-line-d);
}
.home-perception .home-quote blockquote { color: #F2F4F8; }

/* Closing line */
.home-closing {
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
  color: var(--h-ink);
  margin: 0;
  max-width: 60ch;
}
.home-anticipation .home-closing { color: var(--h-cream); }
.home-closing .closing-mark { color: var(--h-parchment); }

/* Perception: the two statements framing the quote box read as plain body
   text — same weight, colour, font, and size as body prose. */
.home-perception .prose-cue,
.home-perception .home-closing { font-weight: 400; color: var(--h-steel); }
.home-perception .home-closing {
  font-family: inherit;
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.65;
}

/* Reveal safety: the global .reveal{opacity:0} (style.css, under
   prefers-reduced-motion: no-preference) is JS-dependent to fade back in.
   With 50+ reveal elements here, guard against a JS failure blanking the
   page: only honour the hidden state once the inline <script> adds html.js. */
.home .reveal { will-change: opacity, transform; }
html:not(.js) .home .reveal { opacity: 1 !important; transform: none !important; }

/* ============================================================
   3. SECTION SURFACES
   ============================================================ */

.home-perception {
  background:
    radial-gradient(70% 90% at 0% 50%, #E2E5EE 0%, #E2E5EE 22%, transparent 80%),
    radial-gradient(70% 90% at 100% 50%, #E2E5EE 0%, #E2E5EE 22%, transparent 80%),
    #F2F4F8;
  color: var(--h-ink);
}
.home-anticipation {
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(236,112,52,0.10), transparent 46%),
    linear-gradient(178deg, var(--h-navy-800) 0%, var(--h-navy-900) 100%);
  color: var(--h-cream);
  position: relative;
  overflow: hidden;
}
/* Diagonal light streak in the depth section */
.home-streak {
  position: absolute;
  top: -20%; right: -6%;
  width: 46%; height: 150%;
  background: linear-gradient(160deg, rgba(245,240,232,0.06), transparent 62%);
  transform: rotate(8deg);
  pointer-events: none;
  z-index: 0;
}
.home-anticipation .section-inner { position: relative; z-index: 1; }

/* Application header lives inside the (navy) .method section */
.home .method-head.home-application {
  display: block;              /* override .method-head's 2-col grid */
  max-width: 880px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: left;
}
.home .home-application .home-h1 { max-width: 28ch; }
.home .application-cue {
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.04em;
  color: var(--h-orange);
  margin: clamp(24px, 3vw, 34px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.home .application-cue::before { content: "\2193"; font-size: 1.2em; }

/* Tie-panel body text matches the standard body size (the global tie caps at
   22px; the home body standard is 21px). Home-only. */
.home .tie-panel p { font-size: clamp(16px, 1.2vw, 21px); }

/* Tie graphic reduced 10% (global max-width 240px → 216px). Home-only. */
.home .tie-svg { max-width: 216px; }

/* ---- Tie right column: top tab bar + eyebrow/headline panels -------------
   Restyle of the locked tie. The JS hooks (.seg-pill[data-seg],
   .tie-panel[data-panel] inside .section-tie) are untouched; only the
   selector was relocated into .tie-right above the panels. */
.home .tie-right { display: flex; flex-direction: column; }

/* Clickable section tabs, underlined on the active one. */
.home .tie-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(16px, 2.2vw, 34px);
  border-bottom: 1px solid var(--h-line-d);
  margin-bottom: clamp(40px, 4vw, 68px);   /* lowers the panel content to the top of the tie */
}
.home .tie-pills .seg-pill {
  background: none;
  border: none;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 14px;
  margin-bottom: -1px;                        /* sit the underline on the row border */
  color: var(--h-mute-d);
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0;
  gap: 8px;
  transition: color 200ms, border-color 200ms;
}
.home .tie-pills .seg-pill:hover { background: none; border-color: transparent; color: var(--h-cream); }
.home .tie-pills .seg-pill-num { color: var(--h-orange); font-weight: 800; }
.home .tie-pills .seg-pill.is-active {
  background: none;
  color: var(--h-cream);
  border-bottom-color: var(--h-orange);
}

/* Panel heading → orange eyebrow ("I · THE POSITION") + large headline. */
.home .tie-panel .panel-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: clamp(16px, 1.8vw, 24px);
}
.home .tie-panel .panel-num {
  display: inline;
  width: auto; height: auto;
  background: none; border-radius: 0;
  color: var(--h-orange);
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.2em;
}
.home .tie-panel .panel-num::after { content: "·"; margin-left: 8px; }
.home .tie-panel .panel-label {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(11px, 0.8vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--h-orange);
}
/* Step descriptions and pillar body text share the smaller size (18px cap).
   The pillars would otherwise inherit the larger .home .tie-panel p rule (21px);
   pin both to the smaller clamp so they match at the smaller size. */
.home .tie-panel .panel-steps li > div,
.home .tie-panel .panel-pillars p { font-size: clamp(16px, calc(15px + 0.2vw), 18px); }

.home .tie-panel h3 {
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 45px);
  line-height: 1.08;
  letter-spacing: -0.017em;
  color: var(--h-cream);
  text-wrap: pretty;
  max-width: 24ch;
  margin: 0 0 clamp(20px, 2.4vw, 30px);
}

/* ============================================================
   4. TESTIMONIALS — "The Shift You Can See"
   ============================================================ */

.home-shift { background: var(--h-cream); color: var(--h-ink); }
.home-shift-head { text-align: center; }
.home-shift .home-privacy {
  font-size: clamp(12px, 0.9vw, 13px);
  color: var(--h-mute-l);
  font-style: italic;
  text-align: center;
  max-width: var(--maxw);
  margin: clamp(20px, 2.4vw, 30px) auto 0;   /* same centered column as the triptych */
}

.home-triptych {
  max-width: var(--maxw);
  margin: clamp(40px, 5vw, 68px) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;                      /* space between cards; no outer frame */
}
@media (min-width: 760px) {
  .home-triptych { grid-template-columns: repeat(3, 1fr); }
}
/* Cards fill their column flush (kill the 22px/40px margin from style.css
   that created the inset + wide gaps inside the old framed box). */
.home .home-triptych .shift-card { margin: 0; }

.shift-card {
  padding: clamp(28px, 2.6vw, 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2vw, 28px);
  min-height: clamp(360px, 34vw, 440px);
}
/* Stacked mobile (<760px): the 360px min-height + flex:1 quote left a big dead
   band between the testimonial and the name. Lower it to roughly halve that. */
@media (max-width: 759.98px) {
  .shift-card { min-height: 300px; }
}
.shift-card--navy      { background: var(--h-navy-800); color: var(--h-cream); }
.shift-card--light     { background: #fff; color: var(--h-ink); }
.shift-card--parchment { background: var(--h-parchment); color: var(--h-navy-900); }

.shift-stars { color: var(--h-gold); font-size: clamp(15px, 1.3vw, 18px); letter-spacing: 3px; }
.shift-eyebrow {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(11px, 0.85vw, 12px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #964210;
  margin: 0;
}
.shift-quote {
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  flex: 1;
}
.shift-attr { display: flex; align-items: center; gap: 14px; margin: 0; }
.shift-avatar {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 8px;
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: 18px;
}
.shift-card--navy      .shift-avatar { background: var(--h-orange); color: var(--h-navy-900); }
.shift-card--light     .shift-avatar { background: var(--h-navy-800); color: var(--h-cream); }
.shift-card--parchment .shift-avatar { background: var(--h-navy-800); color: var(--h-cream); }
.shift-meta { display: grid; gap: 2px; }
.shift-name { font-family: var(--font-mont); font-weight: 700; font-size: clamp(15px, 1.1vw, 17px); }
.shift-note { font-size: clamp(12px, 0.9vw, 13px); }
.shift-card--navy      .shift-note { color: var(--h-body-d); }
.shift-card--light     .shift-note { color: var(--h-mute-l); }
.shift-card--parchment .shift-note { color: #7A5A3A; }

/* ============================================================
   5. FOUNDER — "Why I Built This"
   ============================================================ */

/* Dotted navy background — supplied reference CSS, applied verbatim.
   NOTE: the dot texture is a deliberate one-off exception, approved for this
   section only — the site-wide dot-grid ban still holds everywhere else. */
.home-origin {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--h-cream);
  background:
    radial-gradient(ellipse at 76% 22%, rgba(79,110,129,0.34), transparent 42%),
    linear-gradient(135deg, #001433 0%, #002551 56%, #001a3d 100%);
}
/* the dotted background */
.home-origin::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -10%;   /* oversized so rotation leaves no empty corners */
  pointer-events: none;
  opacity: 0.48;      /* raise → more visible dots; lower (e.g. 0.32) → subtler */
  background-image:
    radial-gradient(circle, rgba(226,229,238,0.72) 1.05px, transparent 1.4px),
    radial-gradient(circle, rgba(242,244,248,0.58) 1px,    transparent 1.35px),
    radial-gradient(circle, rgba(60,85,115,0.9)   1.15px,  transparent 1.45px);
  background-size: 44px 44px, 44px 44px, 44px 44px;
  background-position: 0 0, 22px 0, 11px 22px;
  transform: rotate(-13deg);   /* diagonal direction */
  clip-path: polygon(0 20%, 100% 5%, 100% 78%, 0 94%);  /* diagonal band */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 2%, rgba(0,0,0,0.72) 15%, rgba(0,0,0,0.3) 37%,
    rgba(0,0,0,0.24) 63%, rgba(0,0,0,0.72) 85%, transparent 98%);
  mask-image: linear-gradient(90deg,
    transparent 2%, rgba(0,0,0,0.72) 15%, rgba(0,0,0,0.3) 37%,
    rgba(0,0,0,0.24) 63%, rgba(0,0,0,0.72) 85%, transparent 98%);
}
/* vignette — depth around the edges without covering the dots */
.home-origin::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 45%, transparent 0 34%, rgba(0,13,32,0.4) 100%);
  box-shadow:
    inset 0 90px 130px rgba(0,13,32,0.25),
    inset 0 -90px 150px rgba(0,13,32,0.42);
}
/* content sits above both pseudo-elements */
.home-origin .section-inner { position: relative; z-index: 1; }

.origin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 52px);
  margin-top: clamp(32px, 4vw, 48px);
  align-items: start;
}
@media (min-width: 760px) {
  .origin-grid { grid-template-columns: minmax(220px, 300px) 1fr; }
}
.origin-portrait { position: relative; margin: 0; max-width: 340px; }
.origin-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--h-line-d);
  box-shadow: 0 24px 60px rgba(0,10,30,0.5);
}
/* Caption overlaid on the lower part of the photo, on a translucent white band. */
.origin-portrait figcaption {
  position: absolute;
  left: 1px; right: 1px; bottom: 1px;
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 12px 16px;
  text-align: center;
  background: rgba(250, 248, 245, 0.35);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  border-radius: 0 0 11px 11px;
}
.origin-portrait-name {
  font-family: var(--font-mont);
  font-weight: 800;
  font-size: clamp(17px, 1.5vw, 21px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--h-navy-900);
}
.origin-portrait-meta { font-size: clamp(11px, 0.85vw, 13px); color: var(--h-navy-800); }

.origin-story p {
  font-size: clamp(16px, 1.2vw, 21px);
  line-height: 1.62;
  color: var(--h-body-d);
  max-width: 68ch;
  margin: 0 0 1em;
}
.origin-story .prose-cue { color: var(--h-cream); font-weight: 600; }
.origin-story strong { color: var(--h-parchment); font-weight: 700; }

.origin-callout {
  margin: clamp(24px, 3vw, 34px) 0;
  padding: clamp(22px, 2.6vw, 30px);
  background: color-mix(in oklab, var(--h-navy-700) 82%, #fff 2%);
  border: 1px solid var(--h-line-d);
  border-radius: 12px;
  font-family: var(--font-mont);
  font-weight: 600;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--h-cream);
}

.origin-sig { margin: clamp(26px, 3vw, 34px) 0 0; display: flex; align-items: baseline; gap: 12px; }
.origin-sig-name { font-family: var(--font-mont); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); color: var(--h-cream); }
.origin-sig-meta { font-size: 13px; letter-spacing: 0.04em; color: var(--h-mute-d); }

/* Stats */
.origin-stats {
  list-style: none;
  margin: clamp(44px, 5vw, 64px) 0 0;
  padding: clamp(32px, 4vw, 44px) 0 0;
  border-top: 1px solid var(--h-line-d);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
}
.origin-stats li { display: grid; gap: 8px; }
.ostat-num {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 0.9;
  color: var(--h-cream);
}
.ostat-suffix { color: var(--h-orange); }
.ostat-label { font-size: clamp(13px, 0.95vw, 15px); line-height: 1.35; color: var(--h-mute-d); }

/* Serif epigraph */
.origin-epigraph {
  position: relative;
  margin: clamp(40px, 5vw, 60px) 0 0;
  padding-top: clamp(28px, 3vw, 36px);
  max-width: none;                 /* run across the full column, not a narrow box */
  font-family: var(--font-mont);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.4;
  color: var(--h-cream);
}
.origin-epigraph::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 56px; height: 3px;
  background: var(--h-orange);
}

/* ============================================================
   6. OPT-IN — "Start Here" (2-col, ebook + form)
   ============================================================ */

/* Same background as the first section after the hero (.home-perception,
   "The Hidden Layer"): light #F2F4F8 with #E2E5EE side glows. */
.home-start {
  background:
    radial-gradient(70% 90% at 0% 50%, #E2E5EE 0%, #E2E5EE 22%, transparent 80%),
    radial-gradient(70% 90% at 100% 50%, #E2E5EE 0%, #E2E5EE 22%, transparent 80%),
    #F2F4F8;
  color: var(--h-ink);
}
.start-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 860px) {
  /* Text column widened (0.82→0.72 : 1.18→1.28) so the headline's accent
     clause fits on one line without shrinking the ebook. */
  .start-grid {
    /* image pinned to 350px so it never shrinks; body takes the rest */
    grid-template-columns: 350px minmax(0, 1fr);
    /* gap tripled from the mobile clamp(32,4vw,56) for more air between cols */
    gap: clamp(96px, 9vw, 168px);
  }
  /* trim the side gutter a touch here (default clamp(20,4vw,56)) so the body
     column is wide enough to hold "inside a real conversation." on one line */
  .home-start { padding-inline: clamp(20px, 3vw, 44px); }
}
.start-visual {
  display: flex;
  justify-content: center;
  position: relative;
}
.start-visual::before {
  content: "";
  position: absolute;
  inset: 8% 4% 4% 4%;
  background: radial-gradient(60% 50% at 50% 42%, rgba(0,37,81,0.16), transparent 72%);
  filter: blur(8px);
  z-index: 0;
}
.start-ebook {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 275px; /* mobile */
  height: auto;
  transform: rotate(-1.5deg);
  /* drop-shadow (not box-shadow) so the shadow follows the PNG's
     transparent shape instead of casting from the rectangular box. */
  filter:
    drop-shadow(0 2px 5px rgba(0,20,51,0.20))
    drop-shadow(0 22px 38px rgba(0,20,51,0.30));
}
/* Desktop: widen the ebook to 375px. Placed AFTER the base .start-ebook rule
   so it wins on source order (same specificity as the 275px mobile base). */
@media (min-width: 860px) {
  .start-ebook { max-width: 350px; }
}

.start-list {
  list-style: none;
  margin: clamp(22px, 3vw, 30px) 0 clamp(28px, 3.4vw, 36px);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 30px;
}
@media (min-width: 560px) { .start-list { grid-template-columns: 1fr 1fr; } }
.start-list li {
  position: relative;
  padding-left: 30px;
  font-size: clamp(16px, 1.2vw, 21px); /* match body/intro text */
  line-height: 1.5;
  color: var(--h-ink);
}
.start-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0.05em;
  font-family: var(--font-mont);
  font-weight: 800;
  color: var(--h-orange-d);
}

/* The preserved #_form_1_ keeps its style.css rules; give the
   wrapper a little breathing room only. */
.start-form { margin-top: clamp(8px, 1.5vw, 16px); }

/* ============================================================
   7. FINAL CTA — 2-col with fading image
   ============================================================ */

.home-final {
  background:
    linear-gradient(180deg, var(--h-navy-900), #00102b);
  position: relative;
  overflow: hidden;
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 860px) {
  .final-grid { grid-template-columns: 1.05fr 0.95fr; }
}
.final-body { max-width: 34rem; }
.final-actions { margin-top: clamp(28px, 3.4vw, 40px); }
.final-fine {
  margin: 16px 0 0;
  font-size: clamp(13px, 0.95vw, 15px);
  color: var(--h-mute-d);
  letter-spacing: 0.02em;
}

.btn-parchment {
  display: inline-block;
  background: var(--h-cream-90);
  color: var(--h-navy-900);
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
  transition: transform 220ms cubic-bezier(0.22,1,0.36,1), background 220ms;
}
.btn-parchment:hover { transform: translateY(-2px); background: #fff; }
.btn-parchment:focus-visible {
  outline: 3px solid rgba(245,240,232,0.55);
  outline-offset: 3px;
}

/* Image column. The real image drops in via background-image;
   until then a navy/orange gradient stands in. Left edge fades
   into the navy so the copy stays readable. */
.final-visual {
  min-height: clamp(240px, 30vw, 380px);
  border-radius: 14px;
  background:
    image-set(url("/assets/images/cta/affinity-cta.webp") 1x) center / cover no-repeat,
    radial-gradient(120% 100% at 78% 50%, rgba(236,112,52,0.18), transparent 58%),
    linear-gradient(150deg, #0a2a5c 0%, #001433 70%);
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 40%);
          mask-image: linear-gradient(100deg, transparent 0%, #000 40%);
}
@media (max-width: 859px) {
  .final-visual { min-height: 200px; -webkit-mask-image: none; mask-image: none; opacity: 0.9; }
}

/* Framed final CTA, sitting inside the (cream) FAQ section below the accordion:
   navy interior, thin border, rounded corners; cream shows around it. */
.final-frame {
  margin-top: clamp(48px, 6vw, 80px);
  border-radius: clamp(16px, 1.6vw, 24px);
  border: 1px solid rgba(230,236,248,0.16);
  overflow: hidden;
  color: var(--h-cream);
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(79,110,129,0.30), transparent 55%),
    linear-gradient(165deg, #002551 0%, #001433 100%);
  box-shadow: 0 24px 60px rgba(0,20,51,0.16);
}
.final-frame-inner { padding: clamp(40px, 6vw, 88px) clamp(26px, 5vw, 72px); }

/* headline centred; body copy left-aligned (matches the mockup) */
.final-frame .home-h1 { color: var(--h-cream); text-align: center; margin: 0 auto; }
.final-frame .tone-accent { color: var(--h-orange); }

.final-frame-prose { margin-top: clamp(28px, 3.4vw, 44px); text-align: left; }
.final-frame-prose p { color: var(--h-body-d); margin: 0 0 1em; max-width: none; }
.final-frame-prose .final-lead { color: var(--h-cream); font-weight: 600; }
.final-frame-prose .final-cue { color: var(--h-cream); font-weight: 600; margin-bottom: 0; }

.final-frame-rule {
  border: 0;
  border-top: 1px solid rgba(230,236,248,0.16);
  margin: clamp(28px, 3.4vw, 40px) 0;
}
.final-frame-brandname {
  margin: 0;
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.02em;
  color: var(--h-cream);
}
.final-frame-tagline {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: clamp(14px, 1.6vw, 20px);
}
.final-frame-tagline .fft-label {
  font-family: var(--font-mont);
  font-weight: 700;
  font-size: clamp(11px, 0.85vw, 13px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h-mute-d);
  white-space: nowrap;
}
.final-frame-tagline .fft-line {
  position: relative;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(236,112,52,0.25), var(--h-orange));
}
.final-frame-tagline .fft-line::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  border-left: 7px solid var(--h-orange);
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.final-frame .final-actions { margin-top: clamp(34px, 4vw, 52px); text-align: center; }
.final-frame .final-fine { margin-inline: auto; }  /* centre the 68ch-capped box under the button */

/* ============================================================
   8. RESPONSIVE — reading column on small screens
   ============================================================ */

@media (max-width: 640px) {
  .home-h1-center, .home-prose-center p { text-align: left; margin-inline: 0; }
  .home-shift-head { text-align: left; }
  .home-kicker-center { justify-content: flex-start; }
  .origin-stats { gap: 16px; }
  .ostat-num { font-size: clamp(34px, 12vw, 48px); }
}

/* ============================================================
   9. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .start-ebook { transform: none; }
  .btn-parchment { transition: none; }
}
