/* Hallmark · pre-emit critique: P5 H5 E4 S5 R5 V4 */
/* Hallmark · macrostructure: Split Studio · theme: brand · accent: teal #016286 + sage #ccd0c8 */
/* TheSteadfastLeader.com — Christ-centered marriage coaching for husbands */

/* ============================================================
   FONTS
   Display: Fraunces (Google) · Body: Switzer (Fontshare)
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&display=swap");
@import url("https://api.fontshare.com/v2/css?f[]=switzer@400,500,600,700&display=swap");

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* — Colour (OKLCH · brand palette: deep teal #016286 + sage #ccd0c8) —
     Light surfaces carry the sage; teal is the accent. On the dark teal
     bands the roles swap: deep teal is the ground, sage is the highlight. */
  --color-paper:        oklch(98.5% 0.005 150);  /* near-white, faint cool-green */
  --color-paper-2:      oklch(93.5% 0.013 131);  /* soft sage — alternating bands */
  --color-paper-3:      oklch(88%   0.013 130);  /* sage, ~#ccd0c8 — placeholders */
  --color-sage:         oklch(85.2% 0.012 129);  /* exact brand #ccd0c8 */
  --color-rule:         oklch(85%   0.012 145);
  --color-rule-soft:    oklch(90%   0.010 140);
  --color-neutral:      oklch(55%   0.016 232);
  --color-muted:        oklch(43%   0.022 233);
  --color-ink:          oklch(25%   0.030 236);  /* deep teal-charcoal */
  --color-ink-soft:     oklch(35%   0.028 234);

  /* dark brand surfaces (deep teal #016286 family) — elevation gets lighter */
  --color-espresso:     oklch(29%   0.058 234);
  --color-espresso-2:   oklch(34%   0.062 233);
  --color-espresso-3:   oklch(40%   0.064 232);
  --color-on-dark:      oklch(96%   0.012 150);
  --color-on-dark-soft: oklch(84%   0.018 160);
  --color-rule-on-dark: oklch(49%   0.045 232);

  /* accent — brand teal #016286 on light · sage highlight on dark. <5% of view. */
  --color-accent:       oklch(47%   0.095 232);  /* exact brand #016286 */
  --color-accent-deep:  oklch(40%   0.092 233);
  --color-accent-soft:  oklch(86%   0.030 168);  /* sage-teal — highlight on dark bands */
  --color-on-accent:    oklch(99%   0.005 200);
  --color-focus:        oklch(52%   0.120 232);

  /* — Type — */
  --font-display:  "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body:     "Switzer", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-wordmark: "Fraunces", Georgia, serif;

  --text-xs:    0.78rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-md:    1.22rem;
  --text-lg:    1.5rem;
  --text-xl:    1.9rem;
  --text-2xl:   2.35rem;
  --text-3xl:   2.95rem;
  --text-display:   clamp(2.4rem, 4.2vw + 1rem, 4rem);
  --text-display-s: clamp(2rem, 3vw + 1rem, 3.1rem);

  /* — Space — */
  --space-2xs: 0.375rem;
  --space-xs:  0.625rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8.5rem;

  /* — Misc — */
  --measure: 62ch;
  --container: 1180px;
  --radius:    14px;
  --radius-sm: 9px;
  --radius-lg: 22px;
  --shadow-soft: 0 1px 2px oklch(25% 0.03 236 / 0.07), 0 14px 36px oklch(25% 0.03 236 / 0.11);
  --shadow-lift: 0 2px 4px oklch(25% 0.03 236 / 0.09), 0 26px 60px oklch(25% 0.03 236 / 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fine grain overlay — adds tactile paper texture instead of a flat fill.
   Fixed, non-interactive, very low opacity; rides above content so the
   texture reads on every section, blending into whatever is beneath it. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
em { font-style: italic; }

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

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

/* ============================================================
   LAYOUT PRIMITIVES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section { padding-block: var(--space-3xl); }
.section--tight { padding-block: var(--space-2xl); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0 0 var(--space-md);
}
.eyebrow::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  background: var(--color-accent);
  border-radius: 2px;
  transform: rotate(45deg);
  flex: none;
}
.eyebrow--on-dark { color: var(--color-accent-soft); }

.measure { max-width: var(--measure); }
.lede {
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--color-ink-soft);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  --btn-py: 0.95rem;
  --btn-px: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--btn-py) var(--btn-px);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.1;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  /* allow long labels (e.g. the Marriage Action Plan CTA) to wrap rather
     than overflow on narrow screens; short labels stay on one line */
  white-space: normal;
  text-wrap: balance;
  line-height: 1.25;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* primary — solid teal; the contrasting conversion CTA the brief asks for */
.btn--primary {
  background: var(--color-accent-deep);
  color: var(--color-on-accent);
  box-shadow: 0 10px 26px oklch(47% 0.09 232 / 0.34);
}
.btn--primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px oklch(47% 0.09 232 / 0.46);
}
.btn--primary:active { transform: translateY(0); }

/* secondary — outlined */
.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-rule);
}
.btn--ghost:hover { border-color: var(--color-ink); transform: translateY(-2px); }

.btn--on-dark.btn--ghost { color: var(--color-on-dark); border-color: var(--color-rule-on-dark); }
.btn--on-dark.btn--ghost:hover { border-color: var(--color-on-dark); }

.btn--lg { --btn-py: 1.1rem; --btn-px: 2rem; font-size: var(--text-md); }
.btn--block { display: flex; width: 100%; }

.cta-note {
  font-size: var(--text-sm);
  color: var(--color-muted);
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.cta-note svg { width: 1em; height: 1em; color: var(--color-accent-deep); flex: none; }

/* ============================================================
   NAV — masthead, sticky, condenses on scroll
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(97% 0.012 82 / 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--color-rule);
  background: oklch(97% 0.012 82 / 0.94);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: 76px;
  padding-block: 0.75rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-wordmark);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  line-height: 1;
}
/* Real brand wordmark shows by default (local asset, reliable). The SVG + text
   are the fallback, revealed only if the image fails to load (.logo-failed). */
.wordmark__img { display: block; height: 36px; width: auto; }
.wordmark__mark,
.wordmark__text { display: none; }
.wordmark.logo-failed .wordmark__img { display: none; }
.wordmark.logo-failed .wordmark__mark { display: block; }
.wordmark.logo-failed .wordmark__text { display: flex; }
.wordmark__mark { width: 30px; height: 30px; color: var(--color-accent-deep); flex: none; }
.wordmark__text { flex-direction: column; line-height: 1; }
.wordmark__text small {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-neutral);
  margin-top: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}
.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-soft);
  letter-spacing: 0.01em;
  white-space: nowrap;
  position: relative;
  padding-block: 0.25rem;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--color-ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta { margin-left: 0.5rem; }
.nav__cta .btn { --btn-py: 0.7rem; --btn-px: 1.25rem; font-size: var(--text-sm); }

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-rule);
  border-radius: 10px;
  width: 44px; height: 44px;
  cursor: pointer;
  color: var(--color-ink);
  align-items: center;
  justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* ============================================================
   HERO — diptych: copy | video
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(70% 80% at 100% 2%, oklch(86% 0.03 168 / 0.55), transparent 60%),
    radial-gradient(55% 70% at -10% 110%, oklch(60% 0.085 232 / 0.10), transparent 55%),
    radial-gradient(120% 90% at 100% 0%, var(--color-paper-2), transparent 55%),
    var(--color-paper);
  border-bottom: 1px solid var(--color-rule-soft);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero__copy { max-width: 38rem; }
.hero__title {
  font-size: var(--text-display-s);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin-bottom: var(--space-md);
}
.hero__title .accent { font-style: italic; font-weight: 400; color: var(--color-accent-deep); }
.hero__sub {
  font-size: var(--text-md);
  color: var(--color-ink-soft);
  line-height: 1.5;
  max-width: 34rem;
  margin-bottom: var(--space-lg);
}
.hero__actions { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
.hero__trust {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}
.hero__trust span {
  font-size: var(--text-sm);
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.hero__trust svg { width: 1.05em; height: 1.05em; color: var(--color-accent-deep); flex: none; }

/* ============================================================
   VIDEO FRAME (VSL placeholder)
   ============================================================ */
.vframe {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-espresso);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--color-rule);
}
.vframe__media,
.vframe img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* fallback shown when poster image cannot load */
.vframe::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 70% at 50% 35%, var(--color-espresso-3), var(--color-espresso) 70%);
  z-index: 0;
}
.vframe.has-media::after { display: none; }
.vframe__label {
  position: absolute;
  z-index: 1;
  left: var(--space-md);
  top: var(--space-md);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-on-dark-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.vframe__label .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent); flex: none;
  box-shadow: 0 0 0 0 oklch(55% 0.10 232 / 0.55);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 10px oklch(55% 0.10 232 / 0); } }

.vframe__play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 84px; height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: none;
  background: oklch(99% 0.01 82 / 0.94);
  color: var(--color-accent-deep);
  cursor: pointer;
  box-shadow: 0 10px 30px oklch(20% 0.045 236 / 0.5);
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.vframe__play svg { width: 30px; height: 30px; margin-left: 4px; }
.vframe__play:hover { transform: scale(1.07); background: var(--color-on-accent); }
.vframe__caption {
  position: absolute;
  z-index: 1;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(to top, oklch(18% 0.05 236 / 0.88), transparent);
  color: var(--color-on-dark);
  font-size: var(--text-sm);
}

/* ============================================================
   GENERIC DIPTYCH (Split Studio rows)
   ============================================================ */
.diptych {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.diptych--reverse .diptych__media { order: -1; }
.diptych__copy { max-width: 36rem; }
.section-title {
  font-size: var(--text-2xl);
  font-weight: 500;
  margin-bottom: var(--space-md);
}
.section-title .accent { color: var(--color-accent-deep); font-style: italic; }

/* picture frame for content photos, with graceful fallback */
.figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-paper-3);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
  border: 1px solid var(--color-rule);
}
.figure--wide { aspect-ratio: 4 / 3; }
.figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  text-align: center;
  padding: var(--space-lg);
  background:
    repeating-linear-gradient(135deg, var(--color-paper-2) 0 14px, var(--color-paper-3) 14px 28px);
  color: var(--color-neutral);
}
.figure.has-media .figure__fallback { display: none; }
.figure__fallback svg { width: 40px; height: 40px; color: var(--color-accent-deep); opacity: 0.7; }
.figure__fallback span { font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.figure__tag {
  position: absolute;
  left: var(--space-md);
  bottom: var(--space-md);
  z-index: 2;
  background: oklch(99% 0.01 82 / 0.9);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  box-shadow: var(--shadow-soft);
}
.figure__tag svg { width: 1em; height: 1em; color: var(--color-accent-deep); }

/* ============================================================
   BENEFITS — editorial numbered list (numerals stacked above heads)
   ============================================================ */
.benefits { background: var(--color-paper-2); border-block: 1px solid var(--color-rule-soft); }
.benefits__head { max-width: 44rem; margin-bottom: var(--space-2xl); }
.benefits__list { display: grid; gap: 0; }
.benefit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: var(--space-xl);
  border-top: 1px solid var(--color-rule);
}
.benefit:last-child { border-bottom: 1px solid var(--color-rule); }
.benefit__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-accent-deep);
  line-height: 1;
}
.benefit__num small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral);
  margin-top: var(--space-sm);
}
.benefit__title { font-size: var(--text-xl); font-weight: 500; margin-bottom: var(--space-sm); }
.benefit__body { color: var(--color-ink-soft); max-width: 40rem; }
.benefit__quote {
  margin-top: var(--space-md);
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--color-ink);
}

/* ============================================================
   DARK SECTIONS (proof / program / final CTA)
   ============================================================ */
.dark {
  position: relative;
  background:
    radial-gradient(75% 60% at 50% -10%, var(--color-espresso-3), transparent 70%),
    radial-gradient(40% 50% at 100% 100%, oklch(60% 0.085 232 / 0.18), transparent 70%),
    var(--color-espresso);
  color: var(--color-on-dark);
}
.dark h2, .dark h3 { color: var(--color-on-dark); }
.dark .lede, .dark .benefit__body { color: var(--color-on-dark-soft); }

/* Social proof */
.proof__quotes { display: grid; gap: var(--space-md); }
.quote-card {
  background: var(--color-espresso-2);
  border: 1px solid var(--color-rule-on-dark);
  border-radius: var(--radius);
  padding: var(--space-lg);
}
.quote-card__stars { display: flex; gap: 3px; margin-bottom: var(--space-sm); color: var(--color-accent-soft); }
.quote-card__stars svg { width: 1.05em; height: 1.05em; }
.quote-card blockquote {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: var(--text-md);
  line-height: 1.45;
  color: var(--color-on-dark);
}
.quote-card figcaption {
  font-size: var(--text-sm);
  color: var(--color-on-dark-soft);
  display: flex;
  align-items: center;
  gap: 0.6em;
}
.quote-card figcaption b { color: var(--color-accent-soft); font-weight: 600; }

/* ============================================================
   PROGRAM — framework pillars
   ============================================================ */
.program__head { max-width: 46rem; margin-bottom: var(--space-2xl); }
.program__meta {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-accent-soft);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}
.pillar {
  background: var(--color-espresso-2);
  border: 1px solid var(--color-rule-on-dark);
  border-radius: var(--radius);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.pillar:hover { transform: translateY(-4px); border-color: var(--color-accent-deep); }
.pillar__step {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-md);
  color: var(--color-accent-soft);
}
.pillar__title { font-size: var(--text-lg); font-weight: 500; }
.pillar__body { color: var(--color-on-dark-soft); font-size: var(--text-base); }

/* ============================================================
   LEAD MAGNET — form-as-CTA diptych
   ============================================================ */
.magnet { background: var(--color-paper-2); border-block: 1px solid var(--color-rule-soft); }
.magnet__card {
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  max-width: 34rem;
}
.guide-list { display: grid; gap: var(--space-xs); margin: var(--space-md) 0 var(--space-lg); }
.guide-list li {
  display: flex; gap: 0.7em; align-items: flex-start;
  color: var(--color-ink-soft); font-size: var(--text-base);
}
.guide-list svg { width: 1.2em; height: 1.2em; color: var(--color-accent-deep); flex: none; margin-top: 0.25em; }

.lead-form { display: grid; gap: var(--space-sm); }
.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-soft);
}
.field input {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-rule);
  border-radius: 11px;
  background: var(--color-paper);
  color: var(--color-ink);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field input::placeholder { color: var(--color-neutral); }
.field input:focus-visible {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px oklch(52% 0.12 232 / 0.20);
}
.field input:user-invalid { border-color: oklch(55% 0.16 28); }
.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-muted);
  display: flex; gap: 0.5em; align-items: flex-start;
  margin-top: var(--space-2xs);
}
.form-privacy svg { width: 1em; height: 1em; flex: none; margin-top: 0.2em; color: var(--color-accent-deep); }
.form-success {
  display: none;
  background: oklch(60% 0.085 205 / 0.14);
  border: 1px solid var(--color-accent);
  border-radius: 11px;
  padding: var(--space-md);
  color: var(--color-ink);
  font-size: var(--text-sm);
}
.lead-form.is-done .form-success { display: block; }
.lead-form.is-done .field,
.lead-form.is-done > .btn,
.lead-form.is-done .form-privacy { display: none; }

/* ============================================================
   ABOUT — diptych portrait | story
   ============================================================ */
.about__story p + p { margin-top: var(--space-md); }
.about__story p { color: var(--color-ink-soft); }
.about__sign {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-ink);
}
.about__sign small {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral);
  margin-top: 0.4rem;
}

/* ============================================================
   FINAL CTA STRIP
   ============================================================ */
.final-cta { text-align: center; }
.final-cta__inner { max-width: 40rem; margin-inline: auto; }
.final-cta h2 { font-size: var(--text-3xl); font-weight: 500; margin-bottom: var(--space-md); }
.final-cta .lede { margin-bottom: var(--space-lg); }
.final-cta__verse {
  margin-top: var(--space-lg);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-on-dark-soft);
  font-size: var(--text-md);
}

/* ============================================================
   FOOTER — mast-headed
   ============================================================ */
.footer {
  background: var(--color-paper);
  border-top: 1px solid var(--color-rule);
  padding-block: var(--space-2xl) var(--space-lg);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-rule);
}
.footer__brand { max-width: 26rem; }
.footer__brand .wordmark { margin-bottom: var(--space-md); }
.footer__brand p { color: var(--color-muted); font-size: var(--text-sm); }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-neutral);
  margin-bottom: var(--space-md);
}
.footer__col ul { display: grid; gap: var(--space-xs); }
.footer__col a { font-size: var(--text-sm); color: var(--color-ink-soft); }
.footer__col a:hover { color: var(--color-accent-deep); }
.socials { display: flex; gap: var(--space-xs); }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--color-rule);
  border-radius: 10px;
  color: var(--color-ink-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.socials a:hover { border-color: var(--color-accent); color: var(--color-accent-deep); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  font-size: var(--text-xs);
  color: var(--color-muted);
}
.footer__bottom nav { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.footer__bottom a:hover { color: var(--color-accent-deep); }

/* ============================================================
   REVEAL ANIMATION (selective; reduced-motion safe)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* Orchestrated hero entrance — one staggered page-load reveal (CSS-only,
   runs with or without JS, disabled under reduced-motion). */
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroMedia { from { opacity: 0; transform: translateY(26px) scale(0.975); } to { opacity: 1; transform: none; } }
.hero__copy > * { animation: heroRise 0.7s var(--ease) both; }
.hero__copy > .eyebrow      { animation-delay: 0.05s; }
.hero__copy > .hero__title  { animation-delay: 0.15s; }
.hero__copy > .hero__sub    { animation-delay: 0.30s; }
.hero__copy > .hero__actions{ animation-delay: 0.44s; }
.hero__copy > .hero__trust  { animation-delay: 0.58s; }
.hero .vframe { animation: heroMedia 0.9s var(--ease) both; animation-delay: 0.32s; }

/* ============================================================
   THANK-YOU PAGE
   ============================================================ */
.ty {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    radial-gradient(110% 80% at 50% 0%, var(--color-paper-2), transparent 60%),
    var(--color-paper);
}
.ty__inner { max-width: 42rem; padding-block: var(--space-3xl); }
.ty__badge {
  width: 76px; height: 76px;
  margin: 0 auto var(--space-lg);
  display: grid; place-items: center;
  border-radius: 50%;
  background: oklch(60% 0.085 205 / 0.16);
  color: var(--color-accent-deep);
}
.ty__badge svg { width: 38px; height: 38px; }
.ty h1 { font-size: var(--text-3xl); font-weight: 500; margin-bottom: var(--space-md); }
.ty .lede { margin-bottom: var(--space-xl); }
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  text-align: left;
  margin-bottom: var(--space-xl);
}
.step {
  background: var(--color-paper);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius);
  padding: var(--space-md);
}
.step__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent-deep);
  margin-bottom: var(--space-2xs);
}
.step h3 { font-size: var(--text-md); font-weight: 500; margin-bottom: 0.35rem; }
.step p { font-size: var(--text-sm); color: var(--color-muted); }

/* ============================================================
   RESPONSIVE — verified 320 / 375 / 414 / 768
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__grid .vframe { order: -1; }
  .diptych { grid-template-columns: minmax(0, 1fr); }
  .diptych--reverse .diptych__media { order: 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  :root { --space-3xl: 5.5rem; --space-2xl: 4rem; }
  .nav__links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-paper);
    border-bottom: 1px solid var(--color-rule);
    padding: var(--space-sm) clamp(1.25rem, 5vw, 3rem) var(--space-md);
    box-shadow: var(--shadow-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav__links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav__link { padding-block: 0.85rem; border-bottom: 1px solid var(--color-rule-soft); font-size: var(--text-base); }
  .nav__link::after { display: none; }
  .nav__cta { margin: var(--space-sm) 0 0; }
  .nav__cta .btn { --btn-py: 0.9rem; width: 100%; }
  .nav__toggle { display: inline-flex; }
  .benefit { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
  .benefit__num { font-size: var(--text-xl); }
  .hero__actions .btn--lg { width: 100%; }

  /* Mobile hero: keep the video inline (rounded, in-layout) but make it bigger. */
  .hero__grid { padding-top: var(--space-md); gap: var(--space-lg); }
  .hero__grid .vframe { aspect-ratio: 4 / 3; }
  .hero__title { font-size: clamp(2.15rem, 8vw, 2.9rem); }
  .vframe__play { width: 88px; height: 88px; }
}

@media (max-width: 420px) {
  .vframe__play { width: 78px; height: 78px; }
  .magnet__card { padding: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__copy > *, .hero .vframe {
    animation: none !important;
    animation-delay: 0s !important;
    opacity: 1;
    transform: none;
  }
}
