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

/* ---------- Design tokens (from brand.json) ---------- */
:root {
  /* Brand palette — gold = CTA, navy = dark surfaces (per client direction) */
  --primary: #D3A675;          /* Gold — CTA color, RESERVED for CTAs + approved accents */
  --secondary: #073D5D;        /* Navy — dark surfaces, callout, supporting accents */
  --tertiary: #C04F67;         /* Coral — VSL caption bars, scanning emphasis */
  --background: #F2E9E4;       /* Cream — base page color */

  /* Surface scale: cream → soft → cream-tinted → navy → deeper navy */
  --surface: #FFFFFF;
  --surface-soft: #FAF4EE;
  --surface-cream: #F5EBE3;
  --surface-dark: #073D5D;     /* Navy — dark sections (social-proof, final-cta) */
  --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);

  /* CTA = dark text on gold (white text fails AA contrast on #D3A675) */
  --cta-text: #1F1A1A;
  --cta-subline-color: rgba(31, 26, 26, 0.72);
  --cta-hover: color-mix(in oklch, var(--primary) 88%, black);

  /* 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(--secondary);
  color: #F2E9E4;
  padding: 0.7rem 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.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;
  /* Mostly white with a subtle warm hint — matches her site's white/navy rhythm */
  background:
    radial-gradient(ellipse at 80% 10%, rgba(192, 79, 103, 0.06), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(211, 166, 117, 0.10), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FAF4ED 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(7, 61, 93, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.45;
  pointer-events: 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);
  color: #FFFFFF;
  font-weight: 600;
  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;
}
.hero__headline {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 900;
  color: var(--neutral-dark);
  text-wrap: balance;
  letter-spacing: -0.02em;
}
.hero__headline-em {
  color: var(--tertiary);
  font-style: italic;
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  line-height: 1.55;
  color: var(--neutral-mid);
  text-wrap: balance;
  max-width: 56ch;
  margin: 0 auto;
}
.hero__sub strong {
  color: var(--neutral-dark);
  font-weight: 700;
}
.hero__risk {
  font-size: 0.875rem;
  color: var(--neutral-soft);
  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: var(--primary);
  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 { background: var(--cta-hover); transform: translateY(-1px); }
.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: auto;
  height: auto;
  font-size: 1.2rem;
  line-height: 1;
  /* Prevents emoji from being affected by ::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;
  /* Navy overlay on a real-estate architectural photo, plus color washes for depth. */
  background:
    radial-gradient(ellipse 100% 70% at 50% -20%, rgba(255, 255, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(192, 79, 103, 0.15), transparent 60%),
    linear-gradient(rgba(7, 61, 93, 0.92), rgba(7, 61, 93, 0.94)),
    url('../assets/backgrounds/property-contemporary.jpg') center / cover no-repeat;
  background-size: auto, auto, auto, cover;
  background-blend-mode: screen, normal, normal, normal;
  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: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}
/* Logos on navy: lift to white via a slight brightness invert + saturation drop, */
/* so the original-color logos stay legible against the dark surface. */
.featured-by .marquee__logo {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}
.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(192, 79, 103, 0.26) 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(192, 79, 103, 0.42) 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:
    radial-gradient(ellipse 70% 45% at 5% 0%, rgba(211, 166, 117, 0.10), transparent 60%),
    radial-gradient(ellipse 55% 40% at 100% 100%, rgba(192, 79, 103, 0.06), transparent 60%),
    var(--grain),
    #FFFFFF;
  background-size: auto, auto, 200px 200px, auto;
  background-blend-mode: normal, normal, soft-light, normal;
  padding: 3.5rem 0;
}
.phase-grid {
  display: grid;
  grid-template-columns: 1fr;            /* mobile: 1 card per row */
  gap: 1.25rem;
  list-style: none;
  margin: 0.5rem 0 2.5rem;
}
.phase-card {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;       /* mobile: image col + content col */
  gap: 1.1rem;
  background: var(--surface);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.phase-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.phase-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--surface-cream);
  border-radius: 15px;
}
.phase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 15px;
}
/* Gold circular badge — overlaps the top-left of the image with negative margin */
.phase-card__badge {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border: 3px solid #FFFFFF;
  box-shadow:
    0 8px 18px -4px rgba(7, 61, 93, 0.32),
    0 2px 6px rgba(7, 61, 93, 0.18);
  z-index: 2;
}
.phase-card__content {
  align-self: center;
  min-width: 0;                            /* prevent overflow from long words */
}
.phase-card__body {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--neutral-dark);
  text-wrap: pretty;
}
.phase-card__body strong { font-weight: 700; color: var(--neutral-dark); }

/* 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:
    radial-gradient(ellipse 60% 45% at 95% 5%, rgba(211, 166, 117, 0.12), transparent 60%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(7, 61, 93, 0.05), transparent 60%),
    var(--grain),
    #FBF8F3;
  background-size: auto, auto, 200px 200px, auto;
  background-blend-mode: normal, normal, soft-light, normal;
  padding: 4rem 0 3rem;
}
/* Testimonial wall — 3 vertical columns scrolling at different speeds.
   Cards extracted from screenshots, with initials avatars in brand colors.
   1 column mobile → 2 tablet → 3 desktop. Fade mask top/bottom. */
.t-wall {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  max-height: 560px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 12%, #000 88%, transparent 100%);
  margin-bottom: 2rem;
}
.t-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 0 0 auto;
  width: clamp(260px, 28vw, 340px);
  animation: tScrollUp 28s linear infinite;
  will-change: transform;
}
.t-column--mid {
  display: none;
  animation-duration: 36s;
}
.t-column--right {
  display: none;
  animation-duration: 32s;
}
.t-wall:hover .t-column { animation-play-state: paused; }
@keyframes tScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.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;
}
.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: #FFFFFF; }
.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);
}

@media (prefers-reduced-motion: reduce) {
  .t-column { animation: none; }
  .t-wall {
    max-height: none;
    overflow: visible;
    -webkit-mask-image: none;
            mask-image: none;
    flex-wrap: wrap;
  }
}
.ftc-buffer {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--neutral-soft);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* ===========================================================
   6. WHO-THIS-IS-FOR
   =========================================================== */
.who-for {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(192, 79, 103, 0.06), transparent 60%),
    radial-gradient(ellipse 55% 40% at 100% 100%, rgba(211, 166, 117, 0.10), transparent 60%),
    var(--grain),
    #FFFFFF;
  background-size: auto, auto, 200px 200px, auto;
  background-blend-mode: normal, normal, soft-light, normal;
  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);
}
.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(--tertiary); }

/* ===========================================================
   7. RELATIONAL EQUITY — lifted light card
   =========================================================== */
.relational {
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(192, 79, 103, 0.08), transparent 60%),
    radial-gradient(ellipse 55% 40% at 0% 100%, rgba(211, 166, 117, 0.10), transparent 60%),
    var(--grain),
    #FBF8F3;
  background-size: auto, auto, 200px 200px, auto;
  background-blend-mode: normal, normal, soft-light, normal;
  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(192, 79, 103, 0.13); /* faint coral */
  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:
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(192, 79, 103, 0.25), transparent 60%),
    radial-gradient(ellipse 70% 60% at 0% 80%, rgba(211, 166, 117, 0.10), transparent 65%),
    linear-gradient(rgba(7, 61, 93, 0.93), rgba(7, 61, 93, 0.95)),
    url('../assets/backgrounds/property-contemporary.jpg') center / cover no-repeat;
  background-size: auto, auto, auto, cover;
  background-blend-mode: screen, normal, normal, 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;
  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.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--neutral-dark);
  margin-bottom: 0.5rem;
  text-wrap: balance;
  letter-spacing: -0.015em;
}
.modal__sub {
  font-size: 0.9375rem;
  color: var(--neutral-mid);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}
.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(192, 79, 103, 0.08);
  border: 1px dashed rgba(192, 79, 103, 0.5);
  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(192, 79, 103, 0.22);
}
.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 cards: 2 per row on tablet+, each card still image-left + content-right */
  .phase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .phase-card {
    grid-template-columns: 130px 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .t-column--mid { display: flex; }
  .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: 580px;
  }
  .hero__actions {
    text-align: left;
    align-self: start;
    align-items: flex-start;
    width: 100%;
    max-width: 580px;
  }
  .hero__actions .cta { align-self: flex-start; } /* left-aligned button on desktop */
  .hero__sub { margin: 0; }
  .hero__risk { text-align: left; }

  /* Mechanism on desktop: slightly larger image, larger badge */
  .phase-grid { gap: 1.75rem; }
  .phase-card {
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .phase-card__badge {
    top: -14px;
    left: -14px;
    width: 50px;
    height: 50px;
    font-size: 1.0625rem;
  }
  .phase-card__body { font-size: 1rem; }

  /* Testimonial wall: show all 3 columns on desktop */
  .t-column--right { display: flex; }

  /* 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; }
}
