/* ===========================================================
   Lynea Carver — Opt-in Direct VSL Landing
   Mobile-first. Desktop scales via min-width media queries.
   =========================================================== */

/* ---------- Design tokens (from brand.json) ---------- */
:root {
  /* Brand palette — PINK = CTA (reserved), gold + navy = accents,
     white / beige / navy = the three cycling section surfaces (matches her site). */
  --primary: #D3A675;          /* Gold — warm accent ONLY (eyebrows, numbers, highlight, hairlines) */
  --secondary: #073D5D;        /* Navy — body headlines, dark surfaces, accents */
  --tertiary: #D3A675;         /* legacy alias → gold (so prior coral accent refs now read gold) */
  --background: #F2E9E4;       /* Beige — one of the three cycling section colors */

  /* CTA — PINK, reserved EXCLUSIVELY for call-to-action buttons */
  --cta: #C04F67;              /* Rose/pink — the one "next step" color, used nowhere else */
  --cta-text: #FFFFFF;         /* white reads AA on the rose CTA */
  --cta-subline-color: rgba(255, 255, 255, 0.82);
  --cta-hover: color-mix(in oklch, var(--cta) 90%, black);

  /* Surfaces — solid section colors (no background images) + footer */
  --surface: #FFFFFF;
  --surface-soft: #FAF6F2;
  --surface-cream: #F2E9E4;
  --surface-dark: #073D5D;     /* Navy — solid dark sections (no photo overlays) */
  --surface-deepest: #052236;  /* Deeper navy — footer */

  --neutral-dark: #1F1A1A;
  --neutral-mid: #5A4E47;
  --neutral-soft: #8A7C73;
  --neutral-line: rgba(31, 26, 26, 0.10);
  --neutral-line-dark: rgba(255, 255, 255, 0.10);

  /* Type — Roboto throughout (per client direction; brand uses single sans family) */
  --font-heading: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-display-feat: normal;

  /* Shadows */
  --shadow-card: 0 2px 4px rgba(7, 61, 93, 0.06), 0 12px 32px -8px rgba(7, 61, 93, 0.16);
  --shadow-card-hover: 0 4px 8px rgba(7, 61, 93, 0.08), 0 20px 48px -8px rgba(7, 61, 93, 0.22);
  --shadow-cta: 0 10px 24px -6px rgba(7, 61, 93, 0.45);

  /* Grain texture — inline SVG turbulence noise, applied as multiply layer */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");

  /* Spacing */
  --space-xxs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 7rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--neutral-dark);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: var(--neutral-dark); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading); letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout container ---------- */
.callout-bar__inner,
.hero__inner,
.mechanism__inner,
.social-proof__inner,
.who-for__inner,
.relational__inner,
.final-cta__inner,
.footer__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ===========================================================
   1. CALLOUT BAR — secondary background, near-black text
   =========================================================== */
.callout-bar {
  background: var(--surface-deepest);   /* deeper navy — distinguishes the strip from the navy hero */
  color: #F2E9E4;
  padding: 0.7rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(211, 166, 117, 0.18);   /* gold hairline */
}
.callout-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  text-align: center;
}
.callout-bar__text {
  flex: 0 1 auto;
}
.callout-bar__text strong {
  color: #FFFFFF;
  font-weight: 700;
}
.callout-bar__ornament {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  color: rgba(242, 233, 228, 0.78);
  flex: 0 0 auto;
}
.callout-bar__ornament svg { width: 100%; height: 100%; }

@media (max-width: 540px) {
  .callout-bar { padding: 0.6rem 0; font-size: 0.7rem; letter-spacing: 0.05em; }
  .callout-bar__ornament { display: none; }
}

/* ===========================================================
   2. HERO — gradient background, two-column on desktop
   =========================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  /* Deep-navy gradient base + faint grain for premium depth; the warm glow is
     an animated ::after layer below. */
  background:
    var(--grain),
    linear-gradient(165deg, #0B405F 0%, #073D5D 45%, #04253A 100%);
  background-size: 220px 220px, auto;
  background-blend-mode: soft-light, normal;
  color: #FFFFFF;
}
.hero::before { content: none; }
/* Slow-drifting warm glow — subtle life behind the hero content */
.hero::after {
  content: '';
  position: absolute;
  width: 65vw;
  height: 65vw;
  max-width: 720px;
  max-height: 720px;
  top: -22%;
  left: -12%;
  background: radial-gradient(circle, rgba(211, 166, 117, 0.20), transparent 62%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 16s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1);        opacity: 0.75; }
  to   { transform: translate(14%, 9%) scale(1.18);  opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}
.hero__inner { position: relative; z-index: 1; }
/* Mobile-first: head → media → actions stacked. Desktop overrides below. */
.hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
  grid-template-areas:
    "head"
    "media"
    "actions";
}
.hero__head    { grid-area: head;    text-align: center; }
.hero__media   { grid-area: media;   }
.hero__actions { grid-area: actions; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* --- Fake VSL frame (left column on desktop, first on mobile) --- */
.vsl-frame {
  width: 100%;
  max-width: 640px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--tertiary);
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  outline-offset: 4px;
}
.vsl-frame:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.vsl-frame:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.vsl-caption {
  background: var(--tertiary);   /* gold accent bar */
  color: var(--secondary);       /* navy text — AA-legible on gold (white fails) */
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  /* Mobile: tighter so 60-char caption stays on one line at 375px */
  font-size: clamp(0.5625rem, 2.2vw, 0.8125rem);
  letter-spacing: 0.02em;
  padding: 0.6rem 0.6rem;
  gap: 0.4rem;
}
@media (min-width: 720px) {
  .vsl-caption {
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    padding: 0.65rem 1rem;
    gap: 0.55rem;
  }
}
.vsl-caption__icon {
  display: inline-flex;
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
}
@media (min-width: 720px) {
  .vsl-caption__icon { width: 1rem; height: 1rem; }
}
.vsl-caption__icon svg { width: 100%; height: 100%; }
.vsl-caption--top { border-radius: 14px 14px 0 0; }
.vsl-caption--bottom { border-radius: 0 0 14px 14px; }
.vsl-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0F1820;
  overflow: hidden;
}
.vsl-player--placeholder {
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(135deg, #14222E 0%, #0A1620 100%);
}
/* Thumbnail poster sits behind the play button. Dark scrim on top via .vsl-player__inner
   keeps the play icon legible against bright frames in the screenshot. */
.vsl-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vsl-player__inner {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(7,24,40,0.15) 0%, rgba(7,24,40,0.55) 100%);
}
.vsl-play {
  width: clamp(64px, 14vw, 92px);
  height: clamp(64px, 14vw, 92px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
  transition: transform 0.18s ease;
}
.vsl-play svg { width: 100%; height: 100%; }
.vsl-frame:hover .vsl-play { transform: scale(1.05); }
.vsl-player__label {
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 0.25rem;
}
.vsl-player__placeholder-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: 'Roboto', monospace;
  letter-spacing: 0.01em;
}

/* --- Hero head (headline + subhead) — mobile: above video. Desktop: top of right col --- */
.hero__head {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
}
/* Gold editorial kicker above the headline */
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: -0.5rem;   /* tighten the flex gap to the headline */
}
.hero__headline {
  /* Refined editorial scale on navy. Smaller max so the headline lands in
     ~3 balanced lines inside the two-column text cell (more chars per line). */
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.14;
  font-weight: 800;
  color: #FFFFFF;
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.hero__headline-em {
  color: var(--tertiary);   /* gold — pops on navy */
  font-style: italic;
}
.hero__sub {
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  text-wrap: balance;
  max-width: 52ch;
  margin: 0 auto;
}
.hero__sub strong {
  color: #FFFFFF;
  font-weight: 700;
}
.hero__risk {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.60);
  margin-top: 0.25rem;
}

/* In-hero "300+ coached" marker — centered under the video */
.hero__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.hero__marker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  padding: 0.7rem 1.25rem 0.7rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.hero__marker-icon {
  width: 22px;
  height: 22px;
  color: var(--secondary);
  flex: 0 0 auto;
}
.hero__marker-icon svg { width: 100%; height: 100%; }
.hero__marker-text {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  line-height: 1.1;
}
.hero__marker-value {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--neutral-dark);
  letter-spacing: -0.01em;
}
.hero__marker-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--neutral-mid);
  letter-spacing: 0.02em;
}

/* ===========================================================
   CTA BUTTON — reused everywhere
   =========================================================== */
.cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: linear-gradient(180deg, #CB5C73 0%, var(--cta) 52%, #B0405A 100%);
  color: var(--cta-text);
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: var(--shadow-cta);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 56px;
  max-width: 100%;
  white-space: nowrap; /* keep "👉 SHOW ME THE SYSTEM" on one line */
}
.cta:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 16px 34px -8px rgba(192, 79, 103, 0.5); }
.cta:focus-visible { outline: 3px solid var(--tertiary); outline-offset: 3px; }
.cta:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
@media (min-width: 720px) {
  .cta__primary { font-size: 1.0625rem; letter-spacing: 0.04em; }
}
.cta__icon {
  display: inline-flex;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--cta-text);
  flex: 0 0 auto;
}
.cta__icon svg { width: 100%; height: 100%; }
/* Lead icon — sits before the text. Renders the 👉 emoji at slightly */
/* larger size than the trailing arrow so it pops as the eye-catcher. */
.cta__icon--lead {
  width: 1.2rem;
  height: 1.2rem;
  /* Sits above the ::before shimmer mask */
  position: relative;
  z-index: 1;
}
.cta__subline {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--cta-subline-color);
  line-height: 1.3;
  text-transform: none;
}
.hero__actions .cta { align-self: center; }

/* ===========================================================
   3. AS FEATURED BY — scrolling marquee of real logos
   =========================================================== */
.featured-by {
  position: relative;
  background: var(--surface-soft);   /* off-white */
  padding: 2.5rem 0 2.75rem;
  text-align: center;
}
.featured-by__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--neutral-soft);
  margin-bottom: 1.5rem;
}
/* Logos on off-white: show in their normal colors (base saturate applies). */
.featured-by .marquee__logo {
  opacity: 0.85;
}
.featured-by .marquee__logo:hover { opacity: 1; }
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  width: max-content;
  animation: marqueeScroll 20s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}
/* Each logo sits in a fixed-size "slot" so wide and tall logos read at the */
/* same visual weight. height + max-width cap together; object-fit contains. */
.marquee__logo {
  height: 36px;
  max-height: 36px;
  max-width: 140px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  opacity: 0.82;
  filter: saturate(0.95);
  transition: opacity 0.18s ease;
}
.marquee__logo:hover { opacity: 1; }
/* 4 identical sets in the track. Translating by -25% (one set's worth) lands the
   second set in the first set's position — seamless wrap. Requires 4 sets so the
   visible viewport never falls past the end of the track during animation. */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* ===========================================================
   Section header (reused)
   =========================================================== */
.section-head {
  text-align: center;
  margin: 0 auto 2.5rem;
  max-width: 760px;
}

/* Editorial eyebrow — small-caps label flanked by short lines */
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 1.1rem;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  flex: 0 0 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.section-eyebrow--on-dark { color: rgba(255, 255, 255, 0.72); }

/* Coral marker-style highlight for key phrases — bottom-half wash */
.hl {
  background: linear-gradient(180deg, transparent 55%, rgba(211, 166, 117, 0.45) 55%);
  padding: 0 0.12em;
  margin: 0 -0.06em;
  /* Preserve hover/wrap behavior */
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.section-head--on-dark .hl,
.final-cta__headline .hl {
  background: linear-gradient(180deg, transparent 55%, rgba(211, 166, 117, 0.60) 55%);
}
.section-head__headline {
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--neutral-dark);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.section-head__sub {
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.6;
  color: var(--neutral-mid);
  text-wrap: balance;
}
.section-head--on-dark .section-head__headline { color: #FFFFFF; }
.section-head--on-dark .section-head__sub { color: rgba(255,255,255,0.78); }

/* ===========================================================
   4. MECHANISM / 4 phase cards + nested mid-page CTA
   White section with subtle warm radial washes for depth
   =========================================================== */
.mechanism {
  position: relative;
  background: var(--background);   /* beige */
  padding: 3.5rem 0;
}
/* Two-column: numbered points (left) + staggered photo collage (right).
   Mobile: list first, collage below. Desktop: side by side. */
.phase-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin: 0.5rem 0 2.5rem;
}
.phase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.phase-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--neutral-line);
}
.phase-point:last-child { border-bottom: 0; padding-bottom: 0; }
/* Staggered cascade: each point eases in after the section reveals */
.phase-point {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.mechanism.is-visible .phase-point { opacity: 1; transform: none; }
.mechanism.is-visible .phase-point:nth-child(1) { transition-delay: 0.10s; }
.mechanism.is-visible .phase-point:nth-child(2) { transition-delay: 0.22s; }
.mechanism.is-visible .phase-point:nth-child(3) { transition-delay: 0.34s; }
.mechanism.is-visible .phase-point:nth-child(4) { transition-delay: 0.46s; }
@media (prefers-reduced-motion: reduce) {
  .phase-point { opacity: 1; transform: none; }
}
/* Gold numeral — the warm accent doing the scanning work the badges used to */
.phase-point__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.01em;
  min-width: 2.2rem;
  padding-top: 0.1rem;
}
.phase-point__body {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--neutral-dark);
  text-wrap: pretty;
}
.phase-point__body strong { font-weight: 700; color: var(--neutral-dark); }

/* Collage — the original four phase photos in a staggered 2-col stack */
.phase-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: start;
}
.phase-collage__img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  background: var(--surface-cream);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.phase-collage__img:hover {
  transform: scale(1.04);
  box-shadow: var(--shadow-card-hover);
  position: relative;
  z-index: 1;
}
.phase-collage__img--2 { margin-top: 2.25rem; }   /* drop the right column for the stagger */
.phase-collage__img--3 { margin-top: -1.25rem; }

/* Nested mid-page CTA */
.mid-cta {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1rem 0;
}
.mid-cta__headline {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  line-height: 1.2;
  font-weight: 900;
  color: var(--neutral-dark);
  text-wrap: balance;
  margin-bottom: 0.75rem;
}
.mid-cta__sub {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--neutral-mid);
  text-wrap: balance;
  margin-bottom: 1.5rem;
}

/* ===========================================================
   5. SOCIAL PROOF — dark surface treatment
   =========================================================== */
.social-proof {
  position: relative;
  background:
    var(--grain),
    var(--surface-dark);   /* navy + faint grain — white cards pop against it */
  background-size: 220px 220px, auto;
  background-blend-mode: soft-light, normal;
  padding: 4rem 0 3rem;
}
/* Testimonial grid — static, fully readable cards with initials avatars in
   brand colors. 1 column mobile → 2 tablet → 3 desktop. */
.t-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.t-card {
  background: var(--surface);
  border: 1px solid var(--neutral-line);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow:
    0 2px 4px rgba(7, 61, 93, 0.05),
    0 18px 36px -14px rgba(7, 61, 93, 0.16);
  flex: 0 0 auto;
}
.t-card__quote {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--neutral-dark);
}
.t-card__quote strong {
  color: var(--neutral-dark);
  font-weight: 700;
}
.t-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto; /* pin author to card bottom so avatars align across a row */
}
.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
  text-transform: uppercase;
}
.t-avatar--gold  { background: var(--primary);   color: var(--secondary); }
.t-avatar--navy  { background: var(--secondary); color: #FFFFFF; }
.t-avatar--coral { background: var(--tertiary);  color: var(--secondary); }
.t-card__author-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.t-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--neutral-dark);
  letter-spacing: -0.005em;
}
.t-card__role {
  font-size: 0.8125rem;
  color: var(--neutral-mid);
}

.ftc-buffer {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--neutral-soft);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
/* FTC buffer sits on the navy social-proof section — lift it for legibility */
.social-proof .ftc-buffer { color: rgba(255, 255, 255, 0.55); }

/* ===========================================================
   6. WHO-THIS-IS-FOR
   =========================================================== */
.who-for {
  position: relative;
  background: var(--surface-soft);   /* off-white */
  padding: 4rem 0;
}
.who-for__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.who-for__card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.who-for__card--positive { border-top: 4px solid var(--secondary); }
.who-for__card--negative { border-top: 4px solid var(--tertiary); }
/* Fixed pixel height (not aspect-ratio) so both image areas are pixel-identical */
.who-for__card-media {
  width: 100%;
  height: 220px;
  padding: 1.25rem 1.25rem 0;
  background: transparent;
}
.who-for__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  background: var(--surface-cream);
  transition: transform 0.5s ease;
}
.who-for__card:hover .who-for__card-media img { transform: scale(1.04); }
.who-for__card--positive .who-for__card-media img { object-position: center 65%; }
.who-for__card--negative .who-for__card-media img { object-position: center center; }
@media (min-width: 1024px) {
  .who-for__card-media { height: 260px; }
}
.who-for__card-body {
  flex: 1 1 auto;
  padding: 1.5rem 1.5rem;
}
.who-for__card-headline {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--neutral-dark);
  letter-spacing: -0.01em;
}
.who-for__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}
.who-for__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--neutral-dark);
}
.who-for__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: 0 0 auto;
  color: #FFFFFF;
  margin-top: 0.1rem;
}
.who-for__marker svg { width: 14px; height: 14px; }
.who-for__marker--check { background: var(--secondary); }
.who-for__marker--x { background: var(--neutral-soft); }

/* ===========================================================
   7. RELATIONAL EQUITY — lifted light card
   =========================================================== */
.relational {
  position: relative;
  background: var(--background);   /* beige */
  padding: 4rem 0;
}
.relational__eyebrow-row {
  text-align: center;
  margin-bottom: 1.5rem;
}
/* Founder bio card — white panel that sits on the warm off-white section bg */
.relational__card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--neutral-line);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
/* Giant translucent quote glyph behind the bio — editorial decorative */
.relational__quote-glyph {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(8rem, 18vw, 14rem);
  line-height: 0.85;
  font-weight: 700;
  color: rgba(211, 166, 117, 0.18); /* faint gold */
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.relational__grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column-reverse; /* MOBILE: bio first, then photo */
  gap: 2rem;
  align-items: stretch;
}

/* Polaroid frame for the founder photo */
.polaroid {
  position: relative;
  margin: 0 auto;
  max-width: 320px;
  background: #FFFFFF;
  padding: 0.8rem 0.8rem 1.4rem;
  box-shadow:
    0 14px 30px -10px rgba(7, 61, 93, 0.25),
    0 4px 10px rgba(7, 61, 93, 0.08);
  transform: rotate(-2deg);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.polaroid:hover { transform: rotate(0); }
.polaroid__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 90px;
  height: 22px;
  background: rgba(211, 166, 117, 0.55); /* semi-transparent gold tape */
  transform: translateX(-50%) rotate(-3deg);
  box-shadow: 0 1px 3px rgba(7, 61, 93, 0.12);
}
.polaroid__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--surface-cream);
}
.polaroid__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.polaroid__caption {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--neutral-mid);
  letter-spacing: -0.005em;
}

.relational__story {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* By-the-numbers stat strip — three KPIs that ground the bio in proof */
.relational__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--neutral-line);
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  font-weight: 900;
  color: var(--secondary); /* navy — not gold; gold is reserved for CTAs */
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.stat__label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-soft);
  line-height: 1.4;
}
.relational__headline {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--neutral-dark);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.relational__tagline {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.relational__bio {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--neutral-mid);
}
.relational__bio p { text-wrap: pretty; }
.relational__bio strong {
  color: var(--neutral-dark);
  font-weight: 600;
}

/* ===========================================================
   8. FINAL CTA — dark, cost-of-inaction
   =========================================================== */
.final-cta {
  position: relative;
  background:
    var(--grain),
    var(--surface-dark);   /* navy + faint grain */
  background-size: 220px 220px, auto;
  background-blend-mode: soft-light, normal;
  padding: 4.5rem 0 5rem;
  color: #FFFFFF;
  text-align: center;
}
.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 820px;
}
.final-cta__headline {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.final-cta__sub {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  text-wrap: balance;
}
.cta--on-dark { box-shadow: 0 14px 32px -8px rgba(0,0,0,0.5); }

/* Hero CTA shimmer — a slow light pass for attention pull */
.cta--shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta--shimmer::before {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: -60%;
  width: 50%;
  background: linear-gradient(110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: -1;
  transform: skewX(-12deg);
  animation: ctaShimmer 5.5s ease-in-out infinite;
  animation-delay: 1.8s;
}
@keyframes ctaShimmer {
  0% { left: -60%; }
  38% { left: 110%; }
  100% { left: 110%; }
}
@media (prefers-reduced-motion: reduce) {
  .cta--shimmer::before { display: none; }
}

/* ===========================================================
   9. FOOTER — two-column on desktop (brand LEFT, compliance RIGHT)
   =========================================================== */
.footer {
  position: relative;
  background: var(--surface-deepest);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2.25rem;
  /* Thin gold accent line at the top — subtle brand tie */
  border-top: 1px solid rgba(211, 166, 117, 0.18);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  text-align: left;
  align-items: stretch;
}

/* LEFT column: logo + copyright + links, all left-aligned */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
/* Logo wrapper masks the "Navy/Mellow Gold" color annotation baked into the */
/* bottom of the source asset. Image is displayed taller than the wrapper; the */
/* overflow:hidden + top-anchored block flow clips the bottom 12% off the render. */
.footer__logo-mask {
  display: inline-block;
  overflow: hidden;
  line-height: 0;
  height: 96px;
}
.footer__logo {
  display: block;
  height: 110px;       /* ~96 / 0.87 — bottom 12% clipped by mask */
  width: auto;
  opacity: 0.95;
}
@media (min-width: 720px) {
  .footer__logo-mask { height: 110px; }
  .footer__logo { height: 126px; }
}
.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.footer__links {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
}
.footer__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer__links a:hover { color: #FFFFFF; }
.footer__sep { color: rgba(255, 255, 255, 0.4); }

/* RIGHT column: compliance text */
.footer__compliance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 640px;
}
.footer__compliance p {
  font-size: 0.75rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.58);
  text-wrap: pretty;
  margin: 0;
}

@media (min-width: 900px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;     /* equal-height columns, content top-anchored within each */
    gap: 3.5rem;
  }
  .footer__brand {
    flex: 0 0 auto;
    justify-content: flex-start;
  }
  .footer__compliance {
    flex: 1 1 auto;
    text-align: right;
    max-width: 60%;
    justify-content: flex-start;
  }
}

/* ===========================================================
   OPT-IN MODAL
   =========================================================== */
.modal {
  position: fixed; inset: 0;
  /* display:none when closed removes the modal (and its embedded GHL form
     iframe) from the page entirely. A visibility-hidden overlay left the
     centered cross-origin iframe able to swallow clicks to the page's
     triggers, which blocked re-opening. Reliability > preload. */
  display: none;
  z-index: 50;
}
.modal.is-open { display: block; }
/* In-iframe variant: position:fixed inside an auto-resized iframe puts the
   panel at the iframe's content-height center (thousands of px from the
   user's viewport). Switch to position:absolute, full body height, and let
   JS set an inline panel `top` anchored to the trigger. The translateX(-50%)
   keeps horizontal centering; the inline top wins over the centered transform. */
.modal--in-iframe {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  width: 100%;
  /* height set inline = document.documentElement.scrollHeight */
}
.modal--in-iframe .modal__panel {
  max-height: none;
  transform: translateX(-50%);
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 24, 32, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.18s ease;
}
.modal__panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 480px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  /* White halo glow separates the panel from the page beneath the dark backdrop */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 90px -10px rgba(255, 255, 255, 0.22),
    0 30px 80px -20px rgba(0, 0, 0, 0.6);
  animation: panelIn 0.22s ease;
}
@media (min-width: 720px) {
  .modal__panel {
    max-width: 580px;
    padding: 2.5rem 2.25rem;
  }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes panelIn {
  from { opacity: 0; transform: translate(-50%, -45%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.modal__close {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-mid);
  transition: background 0.15s ease, color 0.15s ease;
}
.modal__close:hover { background: var(--surface-cream); color: var(--neutral-dark); }
.modal__close svg { width: 20px; height: 20px; }
.modal__headline {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--neutral-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.015em;
  text-align: center;
}
.modal__sub {
  font-size: 0.9375rem;
  color: var(--neutral-mid);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  text-align: center;
}
.optin-form { display: flex; flex-direction: column; gap: 0.85rem; }
/* GHL inline form iframe — sizing fallback before form_embed.js auto-resizes it */
.optin-embed { width: 100%; }
.optin-embed iframe { width: 100%; min-height: 560px; display: block; }
.optin-form__notice {
  background: rgba(211, 166, 117, 0.10);
  border: 1px dashed rgba(211, 166, 117, 0.55);
  color: var(--neutral-dark);
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
}
.optin-form__notice code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(7, 61, 93, 0.08);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
  font-size: 0.75rem;
}
.optin-field { display: flex; flex-direction: column; gap: 0.3rem; }
.optin-field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--neutral-dark);
  letter-spacing: 0.01em;
}
.optin-field input {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font-size: 16px; /* prevent iOS auto-zoom */
  font-family: var(--font-body);
  border: 1px solid var(--neutral-line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--neutral-dark);
  transition: border 0.15s ease, box-shadow 0.15s ease;
}
.optin-field input:focus {
  outline: 0;
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(211, 166, 117, 0.30);
}
.optin-form__tos {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--neutral-mid);
  line-height: 1.45;
  padding: 0.25rem 0;
}
.optin-form__tos input {
  margin-top: 0.15rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}
.cta--submit {
  margin-top: 0.5rem;
  width: 100%;
}

/* ===========================================================
   RESPONSIVE — Tablet
   =========================================================== */
@media (min-width: 720px) {
  /* Phase section: numbered list LEFT, photo collage RIGHT */
  .phase-split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .who-for__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .hero { padding: 3rem 0 4rem; }
  .featured-by { padding: 3rem 0; }
  .marquee__logo { height: 44px; max-height: 44px; max-width: 170px; }
  .mechanism { padding: 5rem 0; }
  .social-proof { padding: 5rem 0 4rem; }
  .who-for { padding: 5rem 0; }
  .relational { padding: 5rem 0; }
  .final-cta { padding: 6rem 0; }
}

/* ===========================================================
   RESPONSIVE — Desktop
   =========================================================== */
@media (min-width: 1024px) {
  .callout-bar { padding: 0.85rem 0; font-size: 0.875rem; }

  /* Hero: two-column. Media LEFT, head + actions stacked in the RIGHT column. */
  .hero { padding: 4.5rem 0 5rem; }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "media head"
      "media actions";
    gap: 1.5rem 3rem;
    align-items: center;
    justify-items: center;
  }
  .hero__media {
    width: 100%;
    max-width: 580px;
    align-self: center;
  }
  .hero__head {
    text-align: left;
    align-self: end;
    width: 100%;
    max-width: 600px;
  }
  .hero__actions {
    text-align: left;
    align-self: start;
    align-items: flex-start;
    width: 100%;
    max-width: 600px;
  }
  .hero__actions .cta { align-self: flex-start; } /* left-aligned button on desktop */
  .hero__sub { margin: 0; }
  .hero__risk { text-align: left; }

  /* Phase section on desktop: more breathing room + larger numerals */
  .phase-split { gap: 3.5rem; }
  .phase-point__num { font-size: 1.75rem; }
  .phase-point__body { font-size: 1.0625rem; }

  /* Testimonial grid: three columns on desktop */
  .t-grid { grid-template-columns: repeat(3, 1fr); }

  /* Relational equity: two-column equal, polaroid LEFT, story RIGHT */
  .relational__card { padding: 3rem 2.5rem; }
  .relational__grid {
    flex-direction: row; /* polaroid first on desktop */
    align-items: center;
    gap: 3rem;
  }
  .polaroid { flex: 0 0 38%; max-width: 380px; }
  .relational__story { flex: 1 1 auto; }

  /* Who-for: keep 2 col */
  .who-for__card { padding: 2rem; }
  .who-for__list li { font-size: 1rem; }
}

@media (min-width: 1280px) {
  .hero__headline { font-size: 3.75rem; }
  .section-head__headline { font-size: 2.75rem; }
  .final-cta__headline { font-size: 3rem; }
}

/* ===========================================================
   3D tilt — cards lean toward the cursor via JS-set CSS vars
   =========================================================== */
.tilt-card {
  transform:
    perspective(900px)
    rotateX(var(--tilt-x, 0deg))
    rotateY(var(--tilt-y, 0deg))
    translateY(var(--tilt-lift, 0px));
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease;
}
.tilt-card:hover { --tilt-lift: -3px; }
@media (hover: none) { .tilt-card { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tilt-card { transform: none; transition: none; } }

/* ===========================================================
   Scroll-reveal — sections fade + slide up as they enter view
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================================
   Reduced motion
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
  /* Make sure scroll-reveal sections are always visible if motion is off */
  .reveal { opacity: 1; transform: none; }
}
