/* ============================================================
   Jake Stephenson Fitness — style.css
   Black + matte gold, warm premium coaching aesthetic
   ============================================================ */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.1rem, 1.2rem + 2.6vw, 3.5rem);
  --text-3xl: clamp(2.6rem, 1rem + 4vw, 4.75rem);
  --text-hero: clamp(2.4rem, 0.6rem + 5vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-narrow: 640px;
  --content-default: 1120px;
  --content-wide: 1280px;

  --font-display: 'Zodiak', 'Georgia', serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- DARK MODE (default) ---------- */
:root,
[data-theme='dark'] {
  --color-bg: #0d0d0b;
  --color-surface: #15140f;
  --color-surface-2: #1c1a14;
  --color-surface-offset: #1a1813;
  --color-divider: #24221c;
  --color-border: #322e25;

  --color-text: #ece6da;
  --color-text-muted: #a39c8e;
  --color-text-faint: #6f685b;
  --color-text-inverse: #0d0d0b;

  --color-gold: #e0b84c;
  --color-gold-hover: #f0cc66;
  --color-gold-deep: #8a6d1f;
  --color-gold-fill: #d4af37;
  --color-gold-gradient: linear-gradient(135deg, #f7e7a8 0%, #d4af37 45%, #a9842a 100%);
  --color-gold-gradient-hover: linear-gradient(135deg, #fce9a8 0%, #e0b84c 45%, #b8902a 100%);

  --header-bg: rgba(13, 13, 11, 0.72);
  --hero-overlay: rgba(8, 8, 6, 0.62);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 64px rgba(0, 0, 0, 0.55);
}

/* ---------- LIGHT MODE ---------- */
[data-theme='light'] {
  --color-bg: #f4f1e9;
  --color-surface: #fbf9f3;
  --color-surface-2: #ffffff;
  --color-surface-offset: #efeadd;
  --color-divider: #e3ddcd;
  --color-border: #d6cfbd;

  --color-text: #1a1813;
  --color-text-muted: #5e574b;
  --color-text-faint: #8b8472;
  --color-text-inverse: #fbf9f3;

  --color-gold: #8a6a14;
  --color-gold-hover: #6f5310;
  --color-gold-deep: #d4af37;
  --color-gold-fill: #d4af37;

  --header-bg: rgba(244, 241, 233, 0.78);
  --hero-overlay: rgba(10, 10, 8, 0.5);

  --shadow-sm: 0 1px 2px rgba(40, 32, 12, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 32, 12, 0.1);
  --shadow-lg: 0 28px 64px rgba(40, 32, 12, 0.14);
}

/* System-preference fallback for users who never toggled */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg: #f4f1e9;
    --color-surface: #fbf9f3;
    --color-surface-2: #ffffff;
    --color-surface-offset: #efeadd;
    --color-divider: #e3ddcd;
    --color-border: #d6cfbd;
    --color-text: #1a1813;
    --color-text-muted: #5e574b;
    --color-text-faint: #8b8472;
    --color-text-inverse: #fbf9f3;
    --color-gold: #8a6a1e;
    --color-gold-hover: #6f5314;
    --color-gold-deep: #b8944a;
    --header-bg: rgba(244, 241, 233, 0.78);
    --hero-overlay: rgba(10, 10, 8, 0.5);
  }
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container--wide { max-width: var(--content-wide); }
.container--narrow { max-width: var(--content-narrow); }

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}
.section--tight { padding-block: clamp(var(--space-12), 5vw, var(--space-20)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.7;
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: var(--space-4);
  max-width: 18ch;
}
.section-lead {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.55;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-gold-gradient);
  color: #1a1407;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--color-gold-gradient-hover);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42), var(--shadow-md);
}
.btn-ghost {
  border-color: var(--color-border);
  color: var(--color-text);
}
.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}
.btn-arrow { transition: transform var(--transition-interactive); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color var(--transition-interactive);
}
.header--scrolled { border-color: var(--color-border); }
.header--hidden { transform: translateY(-100%); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}
.brand { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; }
.brand-mark { flex: none; height: 44px; width: auto; display: block; }
/* The emblem is drawn gold-on-black, so on light surfaces it sits on its own
   dark disc rather than fading out against cream. */
[data-theme='light'] .brand-mark,
[data-theme='light'] .sig-mark {
  background: #0e0c0a;
  border-radius: 50%;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .brand-mark,
  :root:not([data-theme]) .sig-mark {
    background: #0e0c0a;
    border-radius: 50%;
  }
}
.brand-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--color-text); }
.nav-cta { display: flex; align-items: center; gap: var(--space-3); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-gold); border-color: var(--color-gold); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,6,4,0.82) 0%, rgba(6,6,4,0.42) 38%, rgba(6,6,4,0.86) 100%),
    linear-gradient(90deg, rgba(6,6,4,0.72) 0%, rgba(6,6,4,0.05) 62%);
}
/* Hero is always light-on-dark, independent of theme */
.hero, .hero-content { color: #efe9dc; }
.hero .eyebrow, .hero-eyebrow { color: #d4af37; }
.hero-title { color: #f6f0e2; }
.hero-title em { color: #d4af6a; font-style: italic; }
.hero-sub { color: #d8d1c2; }
.hero .btn-ghost { color: #efe9dc; border-color: rgba(239,233,220,0.45); }
.hero .btn-ghost:hover { color: #e6c14c; border-color: #e6c14c; }
.hero .stat-num { color: #e6c14c; }
.hero .stat-label { color: #b3ac9d; }
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
}
.hero-eyebrow { color: #e0b84c; }
.hero-title {
  font-size: var(--text-hero);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-top: var(--space-5);
  max-width: 16ch;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, #f7e7a8 0%, #e0b84c 45%, #a9842a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* italic glyphs lean past their box; pad the paint area so the gradient
     still covers the overhang, then pull it back so layout is unchanged */
  display: inline-block;
  padding-inline: 0.12em 0.18em;
  margin-inline: -0.12em -0.18em;
}
.hero-sub {
  margin-top: var(--space-6);
  font-size: var(--text-lg);
  color: #d8d1c2;
  max-width: 44ch;
  line-height: 1.5;
}
.hero-cta {
  margin-top: var(--space-10);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.hero-stats {
  margin-top: var(--space-16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
}
.stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  line-height: 1;
  white-space: nowrap;
}
.stat-label {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ---------- Problem section ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  position: relative;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.problem-list {
  margin-top: var(--space-8);
  display: grid;
  gap: var(--space-4);
}
.problem-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}
.problem-item:hover { border-color: var(--color-gold); }
.problem-icon {
  flex: none;
  color: var(--color-gold);
}
.problem-item h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}
.problem-item p {
  margin-top: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

/* ---------- Services grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-5);
}
.service-card {
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  transition:
    transform var(--transition-interactive),
    border-color var(--transition-interactive);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
}
.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-gold) 14%, var(--color-surface));
  color: var(--color-gold);
  margin-bottom: var(--space-5);
}
.service-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  font-family: var(--font-body);
}
.service-card p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

/* ---------- About ---------- */
.about-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: var(--space-6);
}
.about-quote em { color: var(--color-gold); font-style: italic; }
.about-body {
  margin-top: var(--space-6);
  color: var(--color-text-muted);
  font-size: var(--text-base);
}
.sig-mark { flex: none; height: 46px; width: auto; display: block; }
/* Full lockup: carries the wordmark and the Become OP line. The footer is
   always dark, so the artwork needs no disc here. */
.footer-logo { width: 250px; height: auto; display: block; margin-bottom: var(--space-5); }
.about-signature {
  margin-top: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.about-name {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}
.about-role {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ---------- About spotlight ---------- */
.about-spotlight { background: var(--color-surface); }
.spotlight-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  align-items: center;
}
.spotlight-media { position: relative; }
.spotlight-media .media-frame { aspect-ratio: 3 / 4; }
.spotlight-badge {
  position: absolute;
  left: var(--space-4);
  bottom: var(--space-4);
  right: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--color-bg) 86%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
}
.spotlight-badge svg { color: var(--color-gold); flex: none; }
.spotlight-badge span {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.35;
}
.spotlight-body p {
  margin-top: var(--space-5);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: none;
}
.callout {
  margin-top: var(--space-8);
  padding: var(--space-6) var(--space-8);
  border-left: 2px solid var(--color-gold);
  background: var(--color-bg);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.callout p {
  margin-top: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text);
}
/* Must outrank `.callout p`, which is more specific than a bare class. */
.callout .callout-lead {
  margin-top: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--color-gold);
}
.spotlight-cta { margin-top: var(--space-10); display: flex; flex-wrap: wrap; gap: var(--space-4); }

.spotlight-pillars {
  margin-top: var(--space-5);
  padding: var(--space-5) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}
.pillars-label {
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.spotlight-pillars ul {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
}
.spotlight-pillars li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  color: var(--color-text);
}
.spotlight-pillars li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
}
@media (min-width: 901px) {
  .spotlight-grid { align-items: start; }
  .spotlight-media { position: sticky; top: 6rem; align-self: start; }
}

/* ---------- How it works (prebuilt funnel for Stripe + PT Hub) ---------- */
.howitworks {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.steps {
  margin-top: var(--space-12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.step {
  position: relative;
  padding: var(--space-8) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
}
.step-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-gold);
  line-height: 1;
}
.step h3 {
  margin-top: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 600;
}
.step p {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  font-size: var(--text-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.step-tag svg { color: var(--color-gold); }
.funnel-cta {
  margin-top: var(--space-12);
  display: flex;
  justify-content: center;
}

/* ---------- Programs ---------- */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  align-items: stretch;
}
.program-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-10);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  position: relative;
}
.program-card--featured {
  border-color: var(--color-gold);
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in oklab, var(--color-gold) 12%, var(--color-surface)) 0%, var(--color-surface) 60%);
  box-shadow: var(--shadow-lg);
}
.program-card--featured::before {
  content: 'Most Popular';
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1407;
  background: var(--color-gold-gradient);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}
.program-tag {
  font-size: var(--text-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.program-card h3 {
  margin-top: var(--space-3);
  font-size: var(--text-xl);
  font-weight: 400;
}
.program-price {
  margin-top: var(--space-5);
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}
.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  color: var(--color-text);
}
.price-period {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.program-desc {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.program-features {
  margin-top: var(--space-6);
  display: grid;
  gap: var(--space-3);
}
.program-features li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text);
  max-width: none;
}
.check {
  flex: none;
  color: var(--color-gold);
  margin-top: 2px;
}
.program-cta { margin-top: auto; padding-top: var(--space-8); width: 100%; text-align: center; }

/* ---------- Social feed ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}
.social-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
}
.social-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.7) 100%);
}
.social-card-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, color-mix(in oklab, var(--color-gold) 18%, var(--color-surface)) 0%, var(--color-surface) 70%);
}
.social-card-inner svg { color: var(--color-gold); opacity: 0.85; }
.social-meta {
  position: absolute;
  inset-inline: var(--space-4);
  bottom: var(--space-3);
  z-index: 2;
  color: #fff;
}
.social-handle {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.social-topic {
  font-size: var(--text-sm);
  margin-top: var(--space-1);
  line-height: 1.3;
  color: rgba(255,255,255,0.9);
}
.social-note {
  margin-top: var(--space-8);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-faint);
}

/* ---------- Book a call ---------- */
.cta-band {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(100% 120% at 100% 0%, color-mix(in oklab, var(--color-gold) 14%, var(--color-surface)) 0%, var(--color-surface) 55%);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  padding: clamp(var(--space-10), 5vw, var(--space-20));
  align-items: center;
}
.cta-title {
  font-size: var(--text-2xl);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.cta-title em { color: var(--color-gold); font-style: italic; }
.cta-sub {
  margin-top: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}

.form {
  display: grid;
  gap: var(--space-4);
}
.field { display: grid; gap: var(--space-2); }
.field label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  color: var(--color-text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.form-status {
  font-size: var(--text-sm);
  color: var(--color-gold);
  min-height: 1.2em;
  line-height: 1.45;
  transition: color 0.2s ease;
}

.form-status[data-state='error'] {
  color: #d2645a;
}

.form-status[data-state='pending'] {
  color: var(--color-text-muted);
}

.form-status[data-state='success'] {
  color: var(--color-gold);
  font-weight: 500;
}

.form button[type='submit']:disabled {
  opacity: 0.62;
  cursor: wait;
}

/* ---------- Calendly embed ---------- */
.calendly-wrap { width: 100%; }
.calendly-label {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.calendly-inline-widget {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
}

/* ---------- Footer ---------- */
/* Footer is always dark — the logo is a gold-on-black mark, so the
   footer stays black in both themes to let it read correctly. */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--space-16) var(--space-10);
  background: #0e0c0a;
  color: #cfc6b4;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-10);
}
.footer-brand p {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: #a59c8a;
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7d7563;
}
.footer-col ul {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
}
.footer-col a {
  font-size: var(--text-sm);
  color: #b8af9d;
  text-decoration: none;
}
.footer-col a:hover { color: var(--color-gold); }
.footer-bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: #8a8270;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: var(--space-4);
    padding: var(--space-8);
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
  }
  .split, .spotlight-grid, .steps { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero-stats { gap: var(--space-8); }
  .footer-logo { width: 215px; }
  .brand-name { font-size: 0.9375rem; letter-spacing: 0.11em; }
}

@media (max-width: 560px) {
  .hero-cta .btn { flex: 1; }
  .hero-stats { gap: var(--space-6); }
  .brand-name { font-size: 0.8125rem; letter-spacing: 0.09em; }
  .brand-mark { height: 36px; }
}

/* Below this the brand, menu button and CTA stop fitting on one row.
   Drop the header CTA - the hero already carries two prominent ones. */
@media (max-width: 520px) {
  .nav-cta > .btn-primary { display: none; }
}

/* Very narrow phones: ease the tracked caps wordmark down so the
   header keeps the brand and the Book a Call button on one line. */
@media (max-width: 400px) {
  .nav { padding-inline: var(--space-4); }
  .brand-name {
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
  }
  .brand { gap: var(--space-2); }
  .nav-cta { gap: var(--space-2); }
}

/* ============ QUOTE DIVIDER (full-bleed lake) ============ */
.quote-divider {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding-block: clamp(var(--space-20), 22vw, var(--space-32));
  overflow: hidden;
  background: #0e0c0a;
  isolation: isolate;
}
.quote-divider__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
}
/* lighter scrim for text contrast — image is now brighter */
.quote-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6,6,4,0.55) 0%, rgba(6,6,4,0.25) 45%, rgba(6,6,4,0.05) 100%);
}
.quote-divider__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
}
.quote-divider .about-quote {
  text-align: left;
  margin-inline: 0;
  max-width: 22ch;
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.25;
  color: #f6f0e2;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}
.quote-divider .about-quote em { color: #e0b84c; }

/* ============ REVIEWS ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.review-card {
  margin: 0;
  padding: var(--space-8);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px -12px rgba(0,0,0,0.18);
}
.review-stars { letter-spacing: 0.1em; color: #d4af37; font-size: 1rem; }
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1.45;
  color: var(--color-text);
}
.review-card figcaption {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}
.review-name { font-weight: 600; font-size: var(--text-base); color: var(--color-text); }
.review-result { font-size: var(--text-sm); color: var(--color-text-muted); }
@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 38rem; margin-inline: auto; }
}
