/* ==========================================================================
   EQ tennis coaching design system, v2 "night court"
   Dark green-black canvas, Apple-inspired typography (SF Pro on Apple
   hardware, Inter elsewhere), warm honey-gold gradient display text, neon
   accent reserved for actions. Scroll and pointer driven motion lives in
   main.js; everything here degrades gracefully without it.
   ========================================================================== */

:root {
  /* canvas */
  --bg: #0a0f0b;
  --bg-raise: #10160f;
  --bg-card: #141b13;
  --bg-card-2: #18201626;
  --line: rgba(242, 240, 228, 0.1);
  --line-strong: rgba(242, 240, 228, 0.18);

  /* ink on dark */
  --paper: #f4f1e4;
  --paper-dim: #b9bdae;
  --paper-faint: #83887a;

  /* brand */
  --green-deep: #071810;
  --green: #123524;
  --green-mid: #1c4a2f;
  --neon: #3fe64b;
  --neon-soft: rgba(63, 230, 75, 0.35);

  /* warm accent: replaces the old signal red */
  --honey: #ecc56f;
  --honey-deep: #e2a95c;
  --grad-warm: linear-gradient(105deg, #f7e2a6 0%, #ecc56f 45%, #e5a45e 100%);
  --error: #ff7a6b;
  --gold-chip: #f4d97e;

  --radius: 24px;
  --radius-sm: 16px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* legacy aliases from the light theme, kept so older inline styles and
     page-local CSS keep rendering sensibly on the dark canvas */
  --cream: var(--paper);
  --cream-2: var(--bg-card);
  --cream-3: var(--bg-card);
  --ink: var(--paper);
  --ink-soft: var(--paper-dim);
  --line-cream: var(--line-strong);
  --line-dark: var(--line-strong);
  --red: var(--honey);
  --gold: var(--gold-chip);
  --gold-deep: var(--honey);
  --font-display: var(--font-sans);
  --font-body: var(--font-sans);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--paper);
  background:
    radial-gradient(90rem 50rem at 85% -10%, rgba(18, 53, 36, 0.5), transparent 60%),
    radial-gradient(70rem 40rem at -20% 30%, rgba(18, 53, 36, 0.35), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--neon); color: var(--green-deep); }

.container { width: min(1240px, 92vw); margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typography: Apple keynote scale, tight tracking, sentence case
   -------------------------------------------------------------------------- */

.display-1,
.display-2,
.display-3 {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display-1 { font-size: clamp(3rem, 7.4vw, 6.4rem); }
.display-2 { font-size: clamp(2.2rem, 4.8vw, 4.1rem); }
.display-3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }

/* Warm gradient display text. .text-red is kept as a legacy alias so older
   markup keeps working; both render the honey gradient now. */
.text-warm,
.text-red {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-cream { color: var(--paper); }
.text-muted { color: var(--paper-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--honey);
  box-shadow: 0 0 12px rgba(236, 197, 111, 0.8);
  flex: none;
}

.lead {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--paper-dim);
}

p + p { margin-top: 1em; }

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 15px 28px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out),
    background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

.btn-neon { background: var(--neon); color: #05270b; }

.btn-neon:hover {
  box-shadow: 0 0 40px 4px var(--neon-soft);
  transform: translateY(-2px);
}

.btn-neon .btn-orb {
  width: 34px;
  height: 34px;
  margin: -8px -16px -8px 2px;
  border-radius: 50%;
  background: rgba(5, 39, 11, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.btn-dark {
  background: var(--paper);
  color: #101408;
}

.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -12px rgba(244, 241, 228, 0.35); }

.btn-green { background: var(--green-mid); color: #eafbe9; }
.btn-green:hover { background: #235c3a; }

.btn-ghost-light {
  background: rgba(244, 241, 228, 0.04);
  color: var(--paper);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover { border-color: rgba(244, 241, 228, 0.5); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}

.pill-gold { background: var(--gold-chip); color: #33290b; }
.pill-dark { background: rgba(244, 241, 228, 0.1); color: var(--paper); border: 1px solid var(--line); }
.pill-line { border: 1px solid var(--line-strong); color: var(--paper); }
.pill-line-dark { border: 1px solid var(--line-strong); color: var(--paper); }

.placeholder-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 12px;
  background: rgba(236, 197, 111, 0.1);
  border: 1.5px dashed rgba(236, 197, 111, 0.55);
  color: var(--honey);
}

/* --------------------------------------------------------------------------
   Header / nav (both themes render on the dark canvas now)
   -------------------------------------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(20px, 4vw, 44px);
}

.site-header.on-light {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 15, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}

.site-header.on-dark { position: absolute; inset: 0 0 auto 0; z-index: 40; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.brand svg { flex: none; width: 44px; height: 30px; }

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav-links { display: flex; gap: 8px; list-style: none; }

.nav-links a {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--paper);
  border: 1px solid var(--line);
  background: rgba(244, 241, 228, 0.03);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease-out);
}

.nav-links a:hover { background: rgba(244, 241, 228, 0.1); transform: translateY(-1px); }
.nav-links a.active { background: var(--paper); color: #101408; border-color: transparent; }

.on-dark .nav-links a { backdrop-filter: blur(8px); }

.header-cta { display: inline-flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  background: rgba(244, 241, 228, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--paper);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--green-deep);
  color: var(--paper);
  display: none;
  flex-direction: column;
  padding: 26px clamp(20px, 5vw, 40px);
}

.mobile-menu.open { display: flex; }
.mobile-menu .menu-top { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu nav { margin-top: 8vh; display: flex; flex-direction: column; gap: 4px; }

.mobile-menu nav a {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--paper);
  line-height: 1.25;
}

.mobile-menu nav a:hover { color: var(--neon); }

.mobile-menu .menu-close {
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  border-radius: 999px;
  padding: 10px 18px;
  font: inherit;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero-frame { padding: 14px; }

.hero-card {
  position: relative;
  min-height: min(94vh, 980px);
  border-radius: 28px;
  overflow: hidden;
  background: #04120a;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4.5vw, 60px);
  padding-top: 110px;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8);
}

.hero-bg, .hero-shade { position: absolute; inset: 0; }

.hero-bg { inset: -3%; will-change: transform; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 42%;
}

.hero-shade {
  background:
    linear-gradient(100deg, rgba(4, 18, 10, 0.94) 6%, rgba(4, 18, 10, 0.55) 38%, rgba(4, 18, 10, 0.12) 62%, rgba(4, 18, 10, 0.38) 100%),
    linear-gradient(0deg, rgba(4, 18, 10, 0.85) 0%, rgba(4, 18, 10, 0) 45%),
    radial-gradient(120% 90% at 70% 30%, rgba(18, 68, 38, 0.35), rgba(4, 18, 10, 0.65));
}

/* ambient drifting glow, the "alive" layer behind hero copy */
.hero-card::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  left: -12rem;
  bottom: -16rem;
  background: radial-gradient(circle, rgba(63, 230, 75, 0.14), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(6rem, -3rem, 0) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: var(--paper);
  will-change: transform;
  animation: rise 1s var(--ease-out) 0.15s both;
}

.hero-content .eyebrow { color: var(--paper); margin-bottom: 18px; }
.hero-content .eyebrow::before { background: var(--neon); box-shadow: 0 0 12px var(--neon-soft); }

.hero-content h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-content .hero-sub {
  margin-top: 22px;
  max-width: 600px;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  color: rgba(244, 248, 240, 0.86);
}

.hero-ctas { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot {
  position: relative;
  z-index: 2;
  margin-top: clamp(28px, 5vh, 56px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  animation: rise 1s var(--ease-out) 0.35s both;
}

.scroll-cue {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 241, 228, 0.6);
}

.scroll-cue span { display: inline-block; animation: bob 2.2s ease-in-out infinite; }

.hero-thumbs { display: flex; gap: 12px; }

.hero-thumbs img {
  width: clamp(96px, 11vw, 158px);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--ease-out);
}

.hero-thumbs img:hover { transform: translateY(-8px) scale(1.04) rotate(-1deg); }

@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(48px, 6vw, 84px) 0; }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head .eyebrow { margin-bottom: 14px; }

.sec-arrows { display: flex; gap: 10px; }

.circle-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--paper);
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
}

/* legacy section tints, remapped onto the dark canvas */
.on-black { background: rgba(0, 0, 0, 0.32); }
.on-green { background: linear-gradient(120deg, rgba(18, 53, 36, 0.65), rgba(7, 24, 16, 0.4)); }

/* Approach */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.tile-row {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  perspective: 1200px;
}

.tile {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 22px 26px;
}

.tile .num {
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.05rem;
}

.tile h3 { font-weight: 700; letter-spacing: -0.02em; font-size: 1.3rem; margin: 10px 0 8px; }
.tile p { font-size: 14.5px; color: var(--paper-dim); line-height: 1.55; }

/* The approach: centered intro + expanding skill panels */

.approach-head { text-align: center; max-width: 700px; margin-inline: auto; }

.approach-head .approach-sub {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--paper-dim);
  max-width: 540px;
  margin-inline: auto;
}

.skill-panels {
  display: flex;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 60px);
  height: clamp(280px, 30vw, 360px);
}

.skill {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  gap: 6px;
  font: inherit;
  color: var(--paper);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.75s var(--ease-out), background 0.5s ease, border-color 0.5s ease;
}

.skill:hover { border-color: var(--line-strong); }

.skill.open {
  flex: 3;
  background: linear-gradient(160deg, #1d2213, #141b13 62%);
  border-color: rgba(236, 197, 111, 0.4);
}

.sk-ghost {
  position: absolute;
  top: -18px;
  right: 6px;
  font-size: clamp(6rem, 10vw, 9.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(244, 241, 228, 0.045);
  pointer-events: none;
  transition: color 0.5s ease, transform 0.75s var(--ease-out);
}

.skill.open .sk-ghost {
  color: rgba(236, 197, 111, 0.12);
  transform: translateY(6px);
}

.sk-num {
  font-size: 13px;
  font-weight: 700;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.7;
  transition: opacity 0.4s;
}

.sk-title {
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.4s;
}

.skill.open .sk-num,
.skill.open .sk-title,
.skill:hover .sk-title { opacity: 1; }

.sk-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper-dim);
  max-width: 34ch;
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  transition: opacity 0.45s ease 0.18s, transform 0.45s var(--ease-out) 0.18s, max-height 0.6s var(--ease-out);
}

.skill.open .sk-desc { opacity: 1; transform: none; max-height: 140px; }

@media (max-width: 760px) {
  .skill-panels { flex-direction: column; height: auto; }
  .skill { flex: none; padding: 18px 20px; }
  .skill.open { flex: none; }
  .sk-ghost { font-size: 5rem; top: -10px; }
  .sk-title { white-space: normal; }
}

/* Why EQ */

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.7fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: relative;
}

.why-copy p { color: var(--paper-dim); }
.why-copy .why-pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }

.why-img { perspective: 1000px; }

.why-img img {
  border-radius: 20px;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  filter: saturate(1.1);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.word-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 2px;
}

.word-stack span {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.02;
  color: var(--paper-faint);
}

.word-stack span.hot {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ghost-line {
  position: absolute;
  inset: auto 0 -14px 0;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: rgba(244, 241, 228, 0.05);
  pointer-events: none;
  overflow: hidden;
}

.underline-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--paper);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.underline-link:hover { color: var(--neon); }

/* Tier cards */

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  perspective: 1400px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.tier-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(236, 197, 111, 0.12);
}

.tier-card.feature {
  background: linear-gradient(160deg, #1c2113, #141b13 60%);
  border-color: rgba(236, 197, 111, 0.35);
}

.tier-card .pills { display: flex; align-items: center; gap: 8px; }
.tier-card .pills .spacer { flex: 1; }

.tier-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(244, 241, 228, 0.1);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.tier-card.feature .tier-icon { background: var(--grad-warm); color: #33290b; }

.tier-card h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }

.tier-card.feature h3 {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier-card .desc { font-size: 15px; color: var(--paper-dim); }

.tier-card .best-for {
  font-size: 13.5px;
  color: var(--paper-dim);
  border-left: 3px solid var(--honey);
  padding-left: 12px;
}

.tier-card img {
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: auto;
  transform: translateZ(24px);
}

.tier-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--paper);
  text-decoration: none;
}

.tier-card .card-cta:hover { color: var(--honey); }

/* Credibility band */

.cred-band { text-align: center; }
.cred-band .lead { max-width: 760px; margin: 0 auto 26px; color: var(--paper); }
.cred-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  perspective: 1200px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.step-card .num {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.step-card h3 { margin: 14px 0 8px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
.step-card p { font-size: 14.5px; color: var(--paper-dim); }

/* Marquee */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-faint);
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Page intro & prose
   -------------------------------------------------------------------------- */

.page-intro { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.page-intro .eyebrow { margin-bottom: 16px; }
.page-intro .lead { max-width: 720px; margin-top: 20px; }

.prose { max-width: 720px; }
.prose h2 { font-size: 1.5rem; font-weight: 700; margin: 2em 0 0.6em; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-grid .portrait img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.cred-box {
  margin-top: 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
}

.cred-box h3 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; color: var(--paper-dim); }
.cred-box .chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Service tier blocks */

.tier-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.tier-block:last-of-type { border-bottom: 1px solid var(--line); }
.tier-block .pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tier-block h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
.tier-block .price-row { margin: 18px 0; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* FAQ */

.faq-list { max-width: 780px; }
.faq-list details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-weight: 600;
  font-size: 1.05rem;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--honey);
  transition: transform 0.25s;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .answer { padding: 0 4px 20px; color: var(--paper-dim); max-width: 640px; }

.callout {
  background: rgba(236, 197, 111, 0.08);
  border: 1.5px dashed rgba(236, 197, 111, 0.5);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--honey);
  max-width: 780px;
}

.callout strong { color: #f7e2a6; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  max-width: 720px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--paper-dim); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--paper);
  background: rgba(244, 241, 228, 0.05);
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input::placeholder, .field textarea::placeholder { color: var(--paper-faint); }
.field select option { background: var(--bg-raise); color: var(--paper); }
.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--neon);
  background: rgba(244, 241, 228, 0.07);
  box-shadow: 0 0 0 3px rgba(63, 230, 75, 0.18);
}

.check-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; }
.check-row input { width: 18px; height: 18px; accent-color: var(--neon); }

.form-msg { margin-top: 14px; font-size: 14.5px; font-weight: 600; }
.form-msg.error { color: var(--error); }
.form-msg.ok { color: var(--neon); }

/* --------------------------------------------------------------------------
   Booking flow
   -------------------------------------------------------------------------- */

.tier-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 1200px; }

.tier-choice button {
  text-align: left;
  font: inherit;
  color: var(--paper);
  cursor: pointer;
  background: var(--bg-card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.tier-choice button:hover { border-color: var(--line-strong); }

.tier-choice button.selected {
  border-color: var(--neon);
  background: rgba(63, 230, 75, 0.07);
  box-shadow: 0 0 0 3px rgba(63, 230, 75, 0.15);
}

.tier-choice .t-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tier-choice h3 { font-size: 1.1rem; margin: 6px 0 4px; letter-spacing: -0.015em; }
.tier-choice p { font-size: 13px; color: var(--paper-dim); line-height: 1.5; }

.slot-day { margin-bottom: 22px; }
.slot-day h4 { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 10px; color: var(--paper-dim); }
.slot-list { display: flex; flex-wrap: wrap; gap: 10px; }

.slot-btn {
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--paper);
  cursor: pointer;
  background: rgba(244, 241, 228, 0.05);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  transition: all 0.2s;
}

.slot-btn:hover { border-color: var(--paper); transform: translateY(-1px); }
.slot-btn.selected { background: var(--neon); border-color: var(--neon); color: #05270b; }

.tz-note { font-size: 13.5px; color: var(--paper-dim); margin-bottom: 18px; }

.success-panel {
  background: linear-gradient(140deg, #143826, #0c2417);
  border: 1px solid rgba(63, 230, 75, 0.25);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  max-width: 720px;
}

.success-panel .ref {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  color: var(--neon);
  margin: 10px 0 18px;
}

.success-panel ol { margin: 16px 0 24px 20px; }
.success-panel li { margin-bottom: 10px; font-size: 15px; color: #d9e4cf; }

/* --------------------------------------------------------------------------
   Intake
   -------------------------------------------------------------------------- */

.intake-progress {
  position: sticky;
  top: 74px;
  z-index: 30;
  background: rgba(10, 15, 11, 0.85);
  backdrop-filter: blur(14px);
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.intake-progress .label { font-size: 13px; font-weight: 600; margin-bottom: 8px; display: flex; justify-content: space-between; }

.progress-bar { height: 6px; border-radius: 99px; background: rgba(244, 241, 228, 0.1); overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--grad-warm); border-radius: 99px; transition: width 0.4s var(--ease-out); }

.intake-section { display: none; padding: 34px 0 10px; }
.intake-section.active { display: block; }
.intake-section > h2 { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.intake-section > .sec-note { color: var(--paper-dim); font-size: 14.5px; max-width: 640px; margin-bottom: 24px; }

.likert { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }

.likert .lk-head,
.likert .lk-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) repeat(var(--opts, 4), minmax(74px, 110px));
  align-items: center;
}

.likert .lk-head {
  background: rgba(244, 241, 228, 0.06);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

.likert .lk-head > div { padding: 12px 10px; text-align: center; }
.likert .lk-head > div:first-child { text-align: left; padding-left: 16px; }

.likert .lk-row { border-top: 1px solid var(--line); }
.likert .lk-row:nth-child(odd) { background: rgba(244, 241, 228, 0.025); }
.likert .lk-row > .q { padding: 13px 16px; font-size: 14.5px; }
.likert .lk-row > label { text-align: center; padding: 13px 6px; cursor: pointer; }
.likert .lk-row input { accent-color: var(--neon); width: 17px; height: 17px; }

.scale-row { margin-bottom: 26px; }
.scale-row .anchors { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: var(--paper-dim); margin-bottom: 10px; }
.scale-row .dots { display: flex; justify-content: space-between; max-width: 420px; margin: 0 auto; }
.scale-row .dots label { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; cursor: pointer; }
.scale-row .dots input { accent-color: var(--neon); width: 18px; height: 18px; }

.rank-grid { display: grid; gap: 10px; }

.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 500;
}

.rank-row select {
  font: inherit;
  color: var(--paper);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--line-strong);
  background: rgba(244, 241, 228, 0.05);
}

.rank-row select option { background: var(--bg-raise); }

.dom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.dom-col { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; background: var(--bg-card); }
.dom-col h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; color: var(--paper-dim); }
.dom-col label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 7px 0; cursor: pointer; }
.dom-col input { accent-color: var(--neon); width: 17px; height: 17px; flex: none; margin-top: 1px; }

.belief-table { display: grid; gap: 10px; }
.belief-table .belief-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.intake-nav { display: flex; justify-content: space-between; gap: 14px; margin: 34px 0 10px; }
.intake-nav .btn[style] { border-color: var(--line-strong) !important; color: var(--paper); }

/* --------------------------------------------------------------------------
   CTA + footer
   -------------------------------------------------------------------------- */

.cta-footer {
  background:
    radial-gradient(60rem 30rem at 80% 0%, rgba(18, 53, 36, 0.55), transparent 60%),
    #060906;
  color: var(--paper);
  overflow: hidden;
}

.cta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 48px);
}

.cta-top p { max-width: 520px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.45; }

.footer-display {
  font-weight: 700;
  letter-spacing: -0.04em;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(3.2rem, 11vw, 10rem);
  line-height: 0.95;
  white-space: nowrap;
  padding-bottom: clamp(30px, 5vw, 60px);
}

.footer-display .slash { margin-right: 0.12em; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}

.footer-grid .f-links { display: flex; flex-direction: column; gap: 8px; }

.footer-grid .f-links a {
  color: var(--paper);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  width: fit-content;
  transition: color 0.2s, transform 0.25s var(--ease-out);
}

.footer-grid .f-links a:hover { color: var(--neon); transform: translateX(4px); }

.f-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 14px;
}

.f-contact { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--paper-dim); }
.f-right { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--paper-faint);
}

.footer-bottom a { color: inherit; }

/* --------------------------------------------------------------------------
   Motion: scroll reveals, parallax, 3D tilt (driven by main.js)
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  filter: blur(10px);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out),
    filter 0.9s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

.reveal.in { opacity: 1; transform: none; filter: none; }

/* parallax layers get their transform from JS; hint the compositor */
[data-parallax] { will-change: transform; }

/* 3D tilt cards: JS feeds --rx/--ry/--mx/--my */
.tilt {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out;
  position: relative;
  overflow: hidden;
}

.tilt.settling { transition: transform 0.6s var(--ease-out); }

.tilt::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    32rem 32rem at var(--mx, 50%) var(--my, 50%),
    rgba(244, 241, 228, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.tilt:hover::before { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .hero-content, .hero-foot { animation: none; }
  .hero-card::after { animation: none; }
  .marquee-track { animation: none; }
  .scroll-cue span { animation: none; }
  .tilt { transform: none !important; }
  [data-parallax] { transform: none !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-block; }
  .header-cta .btn { padding: 12px 20px; font-size: 14px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid .word-stack { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
  .tile-row { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 560px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding: 14px 16px; gap: 8px; }
  .brand span { font-size: 13.5px; }
  .brand small { display: none; }
  .brand svg { width: 34px; height: 23px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 10px 14px; font-size: 12.5px; white-space: nowrap; }
  .nav-toggle { padding: 9px 13px; font-size: 13px; }

  /* Hero: tighter, calmer, with a swipeable filmstrip instead of dead space */
  .hero-card {
    padding: 18px;
    padding-top: 80px;
    min-height: 86svh;
    justify-content: flex-end;
    border-radius: 22px;
  }
  .hero-content h1 { font-size: 2.1rem; letter-spacing: -0.028em; max-width: none; }
  .hero-content .eyebrow { margin-bottom: 12px; font-size: 10.5px; }
  .hero-content .hero-sub { font-size: 0.95rem; margin-top: 12px; line-height: 1.55; }
  .hero-ctas { margin-top: 20px; gap: 10px; }
  .hero-ctas .btn { padding: 13px 20px; font-size: 14px; }
  .hero-foot {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 14px;
    margin-top: 22px;
  }
  .hero-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    margin-inline: -18px;
    padding: 2px 18px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .hero-thumbs::-webkit-scrollbar { display: none; }
  .hero-thumbs img { width: 108px; flex: none; }
  .scroll-cue { font-size: 10.5px; letter-spacing: 0.18em; }

  .page-intro .display-1 { font-size: 2.3rem; }
  .display-2 { font-size: 1.9rem; }

  .split, .about-grid, .tier-block { grid-template-columns: 1fr; }
  .tier-choice { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dom-grid { grid-template-columns: 1fr; }
  .belief-table .belief-row { grid-template-columns: 1fr; }

  /* Card rows become swipeable snap carousels with a peek of the next card */
  .tier-grid,
  .steps-grid {
    display: flex;
    max-width: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin-inline: calc(50% - 50vw);
    padding: 4px max(4vw, 16px) 18px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tier-grid::-webkit-scrollbar,
  .steps-grid::-webkit-scrollbar { display: none; }
  .tier-card { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; }
  .step-card { flex: 0 0 min(76vw, 300px); scroll-snap-align: center; }
  .swipe-hint {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--paper-faint);
    text-align: center;
    margin-top: -6px;
  }

  .cred-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    margin-inline: calc(50% - 50vw);
    padding: 0 max(4vw, 16px) 8px;
    scrollbar-width: none;
  }
  .cred-pills::-webkit-scrollbar { display: none; }

  .likert .lk-head { display: none; }
  .likert .lk-row { grid-template-columns: 1fr; padding: 12px 14px; gap: 6px; }
  .likert .lk-row > .q { padding: 0 0 6px; font-weight: 600; }
  .likert .lk-row > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    padding: 4px 0;
    font-size: 13.5px;
  }
  .likert .lk-row > label::after { content: attr(data-opt); }

  /* Footer: single column, everything wraps, nothing clips */
  .cta-top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-display {
    white-space: normal;
    font-size: clamp(2.5rem, 13.5vw, 4rem);
    line-height: 1;
    word-break: break-word;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid .f-links a { font-size: 1.05rem; }
  .f-contact .placeholder-chip,
  .f-right .placeholder-chip,
  .f-right .pill {
    white-space: normal;
    text-align: left;
    max-width: 100%;
    height: auto;
    line-height: 1.4;
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 90px; }

  .intake-progress { top: 62px; }
}

/* Swipe hints only exist on the mobile carousels */
@media (min-width: 761px) {
  .swipe-hint { display: none; }
}

/* Floating Book pill: mobile only, slides up once the hero is passed */
.fab-book {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom));
  transform: translate(-50%, 120px);
  z-index: 70;
  transition: transform 0.5s var(--ease-out);
  box-shadow: 0 14px 40px -8px rgba(0, 0, 0, 0.6), 0 0 30px rgba(63, 230, 75, 0.35);
}

.fab-book.show { transform: translate(-50%, 0); }

@media (min-width: 761px) {
  .fab-book { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-book { transition: none; }
}
