/* GrowthStack landing. One dark theme (brand), one accent (gold), one radius (10px). */
:root {
  --ink: #0b0906;
  --surface: #14110d;
  --surface-2: #1b1712;
  --line: rgba(212, 175, 95, 0.2);
  --line-strong: rgba(212, 175, 95, 0.5);
  --cream: #ece4d3;
  --dim: #bdb3a0;
  --gold: #d4af5f;
  --gold-bright: #e6c67a;
  --error: #f2907b;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --r: 10px;
  --pad: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
  --section: clamp(4rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
  caret-color: var(--gold); scrollbar-color: var(--gold) var(--ink);
}
::selection { background: var(--gold); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.1; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--gold); color: var(--ink); padding: 0.6rem 1rem; z-index: 50; font-weight: 600; }
.skip:focus { left: 0.5rem; }

/* Bar */
.bar { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.mark { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--gold); text-decoration: none; min-height: 44px; }
.mark-word { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--cream); letter-spacing: 0; }
.mark-word em { font-style: italic; color: var(--gold); }
.mark-sm .mark-word { font-size: 1.15rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: var(--r);
  background: var(--gold); color: var(--ink); font: 650 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s var(--ease);
}
.btn:hover { background: var(--gold-bright); }
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.95rem; }
.btn-lg { min-height: 58px; padding: 0 2rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.callout { font-weight: 650; color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
h1 { font-size: clamp(2.2rem, 3.7vw, 3.15rem); line-height: 1.06; letter-spacing: -0.035em; }
h1 .accent { color: var(--gold); display: block; }
.lede { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--dim); max-width: 34ch; line-height: 1.5; }
.hero-cta { margin-top: 2rem; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); max-height: 78vh; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 0.8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.06s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.12s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.18s; }
  .hero-media { animation: fade 1.1s ease both 0.1s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Video hero (/med-spas): the headline, the video right under it, then the one action, all in the first screen */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-v {
  --h1: clamp(2rem, 9vw, 2.8rem); --h1b: clamp(1.25rem, 5.6vw, 1.6rem); --gap: 1rem; --pt: 1.25rem; --pb: 2.5rem;
  padding-block: var(--pt) var(--pb); text-align: center;
}
.hero-v-in { display: grid; justify-items: center; gap: var(--gap); }
.hero-v h1 { font-size: var(--h1); line-height: 1.06; }
.hero-v h1 > span { display: block; }
/* The problem, then the promise in gold one size down */
.h-promise { margin-top: 0.5rem; font-size: var(--h1b); line-height: 1.25; letter-spacing: -0.02em; font-weight: 650; color: var(--gold); }
.hero-v .hero-cta { margin-top: 0.25rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.hero-urgency { max-width: 34ch; font-size: 1rem; line-height: 1.45; color: var(--dim); }
.hero-urgency strong { color: var(--cream); font-weight: 650; }

/* Video player */
/* The sound button hangs off the bottom edge of the screen, so it never covers the proof in the video */
.vplayer { position: relative; width: 100%; margin-bottom: 1.4rem; }
.vplayer-screen {
  position: relative; aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong); border-radius: var(--r); overflow: hidden; background: var(--ink);
}
.vplayer-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.vplayer-sound, .vplayer-play, .vplayer-again { font: 600 1rem/1 var(--sans); cursor: pointer; }
.vplayer-sound {
  position: absolute; left: 50%; bottom: 0; translate: -50% 62%; z-index: 1;
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 52px; padding: 0 1.4rem 0 1.1rem;
  border: 1px solid var(--gold); border-radius: 999px; background: var(--ink); color: var(--cream);
  font-size: 1.05rem; transition: background-color 0.2s ease, scale 0.2s var(--ease);
}
.vplayer-sound svg { color: var(--gold); }
.vplayer-sound:hover { background: var(--surface-2); }
.vplayer-sound:active { scale: 0.97; }
.vplayer-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 76px; height: 76px; padding: 0 0 0 4px;
  border: 0; border-radius: 50%; background: var(--gold); color: var(--ink); transition: background-color 0.2s ease;
}
.vplayer-play:hover { background: var(--gold-bright); }
/* The video ends on its own "Book your free audit" card; this link sits exactly over the drawn button */
.vplayer-end { position: absolute; inset: 0; }
.vplayer-cta {
  position: absolute; left: 29.5%; top: 64.4%; width: 41%; height: max(13.6%, 44px); translate: 0 -50%;
  border-radius: 0.6%/1.1%; transition: background-color 0.2s ease;
}
.vplayer-cta:hover { background: rgba(255, 255, 255, 0.1); }
.vplayer-again {
  position: absolute; top: 0.75rem; right: 0.75rem; display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 44px; padding: 0 1rem 0 0.8rem; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(11, 9, 6, 0.75); color: var(--dim); font-size: 0.95rem; transition: color 0.2s ease;
}
.vplayer-again:hover { color: var(--cream); }

@media (max-width: 599px) {
  /* Phones: the video runs edge to edge */
  .hero-v .vplayer { justify-self: stretch; width: auto; margin-inline: calc(var(--pad) * -1); }
  .vplayer-screen { border-radius: 0; border-inline: 0; }
  .vplayer-again { top: 0.5rem; right: 0.5rem; width: 44px; padding: 0; justify-content: center; }
  .vplayer-again-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .vplayer-sound { min-height: 44px; padding: 0 1.1rem 0 0.9rem; font-size: 0.95rem; gap: 0.5rem; }
  .vplayer-play { width: 64px; height: 64px; }
}
@media (min-width: 960px) {
  /* Desktop: one line each for problem and promise, and the video sized so headline, video and button all fit the first screen */
  .hero-v {
    --h1: clamp(2.4rem, min(4.2vw, 6.6svh), 4rem); --h1b: clamp(1.25rem, min(2vw, 3.3svh), 1.75rem);
    --gap: clamp(1rem, 2.6svh, 1.75rem); --pt: clamp(1.25rem, 3svh, 2rem);
  }
  .hero-v .vplayer {
    width: clamp(min(100%, 560px), calc((100svh - 68px - var(--pt) - var(--h1) * 1.06 - 0.5rem - var(--h1b) * 1.25 - var(--gap) * 2 - 1.4rem - 58px - 1.5rem) * 16 / 9), 100%);
  }
  .hero-v .hero-cta { flex-direction: row; gap: 1.5rem; }
  .hero-urgency { text-align: left; max-width: 30ch; }
}

/* Stats */
.stats { padding-block: clamp(2.5rem, 5vw, 3.5rem); background: var(--surface); border-block: 1px solid var(--line); }
.stats-h { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; color: var(--dim); }
.stat-row { display: grid; gap: 1.5rem; margin: 1.5rem 0 0; }
.stat-row div { display: flex; flex-direction: column-reverse; gap: 0.3rem; }
.stat-row dd { margin: 0; font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; color: var(--cream); }
.stat-row div:first-child dd { color: var(--gold); }
.stat-row dt { font-size: 1rem; color: var(--dim); }
.stats-src { margin-top: 1.5rem; font-size: 0.9rem; color: var(--dim); }

/* Problem */
.problem { padding-block: var(--section); }
.problem-grid { display: grid; gap: 2.5rem; align-items: center; }
.problem-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.points { list-style: none; margin: 2rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 1.5rem; }
.points p { margin-top: 0.35rem; color: var(--dim); max-width: 52ch; }

/* How */
.how { padding-block: var(--section); background: var(--surface); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 2rem; }
.steps li { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.steps h3 { font-size: 1.9rem; color: var(--gold); letter-spacing: -0.03em; }
.steps p { margin-top: 0.6rem; color: var(--dim); max-width: 36ch; }

/* Case */
.case { padding-block: var(--section); }
.case-grid { display: grid; gap: 2.5rem; align-items: center; }
.case-copy { display: grid; gap: 1.1rem; max-width: 58ch; }
.case-copy p { color: var(--dim); }
.case-copy b { color: var(--cream); font-weight: 650; }
.fine { font-size: 0.9rem; color: var(--dim); }
.cal-fig { width: 100%; max-width: 480px; }
.cal { border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); padding: clamp(0.9rem, 2.4vw, 1.25rem); }
.cal ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 0.4rem; }
.cal-head { margin-bottom: 0.4rem !important; }
.cal-head li { text-align: center; font-size: 0.8rem; color: var(--dim); font-weight: 600; }
.cal-grid li {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 6px;
  font-size: clamp(0.7rem, 2.2vw, 0.85rem); color: var(--dim); padding: 0.3rem 0 0 0.4rem; line-height: 1;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.cal-grid li.b { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 700; }
.js .cal-grid li.b:not(.on) { background: transparent; border-color: var(--line); color: var(--dim); font-weight: 400; transform: scale(0.9); }
.cal-fig figcaption { margin-top: 0.9rem; font-size: 0.9rem; color: var(--dim); }
.cal-count { display: block; font-size: 1.3rem; font-weight: 700; color: var(--cream); margin-bottom: 0.15rem; }

/* Promises bento: 3 items, 3 cells */
.promises { padding-block: var(--section); background: var(--surface); }
.bento { display: grid; gap: 1rem; margin-top: 2.5rem; }
.cell { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 0.6rem; align-content: start; }
.cell p { color: var(--dim); }
.cell-main { background: rgba(212, 175, 95, 0.1); border-color: var(--line-strong); }
.cell-main h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -0.03em; }
.cell-main p { color: var(--cream); }
.cell-img {
  background: linear-gradient(180deg, rgba(11, 9, 6, 0.55), rgba(11, 9, 6, 0.88)), url("/assets/img/desk.jpg") center / cover;
  align-content: end; min-height: 220px;
}
.cell-img p { color: var(--cream); }

/* FAQ */
.faq { padding-block: var(--section); }
.faq-in { display: grid; gap: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding-block: 0.9rem; font-weight: 600; font-size: 1.1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 300; font-size: 1.75rem; line-height: 1; color: var(--gold); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 1.25rem; color: var(--dim); max-width: 65ch; }

/* Booking */
.book { padding-block: var(--section); background: var(--surface); border-top: 1px solid var(--line-strong); }
.book-in { display: grid; gap: 2.25rem; }
.book-head { display: grid; gap: 0.9rem; }
.book-head p { color: var(--dim); }
.form { display: grid; gap: 1.25rem; max-width: 640px; }
.field { display: grid; gap: 0.45rem; }
label { font-weight: 600; font-size: 0.95rem; }
.opt { font-weight: 400; color: var(--dim); }
input, select {
  width: 100%; min-height: 52px; padding: 0.7rem 0.9rem; background: var(--ink); color: var(--cream);
  border: 1px solid var(--line-strong); border-radius: var(--r); font: 400 1rem/1.3 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
input::placeholder { color: #8f8676; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23d4af5f' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95rem center;
}
select:invalid { color: var(--dim); }
option { color: var(--cream); background: var(--ink); }
input:hover, select:hover { border-color: var(--gold); }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 95, 0.35); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.err { color: var(--error); font-size: 0.9rem; }
.err:empty { display: none; }
.check { display: flex; gap: 0.8rem; align-items: flex-start; font-weight: 400; font-size: 1rem; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; min-height: 0; height: 22px; flex: none; margin-top: 0.1rem; accent-color: var(--gold); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: grid; gap: 0.9rem; margin-top: 0.5rem; }
.form-foot .btn { width: 100%; min-height: 56px; }
.form-foot .fine a { color: var(--gold); }
.cal-wrap { min-height: 640px; }
.cal-embed { min-height: 640px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink); overflow: auto; }
.cal-loading { padding: 2rem; color: var(--dim); }
.cal-fallback { margin-top: 1rem; color: var(--dim); }
.cal-fallback a { color: var(--gold); }

/* Footer */
.foot { padding-block: 2.5rem 6.5rem; border-top: 1px solid var(--line); }
.foot-in { display: grid; gap: 1.1rem; }
.foot-legal, .foot-copy { color: var(--dim); font-size: 0.875rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.95rem; }

/* Sticky mobile CTA */
.sticky { position: fixed; inset: auto 0 0 0; padding: 0.75rem var(--pad) calc(0.75rem + env(safe-area-inset-bottom)); background: var(--ink); border-top: 1px solid var(--line-strong); z-index: 30; transform: translateY(110%); transition: transform 0.4s var(--ease); }
.sticky.show { transform: translateY(0); }

/* Legal pages */
.legal { padding-block: clamp(3rem, 7vw, 5rem) var(--section); }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); margin-bottom: 0.75rem; }
.legal .updated { color: var(--dim); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.5rem; margin: 2.5rem 0 0.75rem; }
.legal p, .legal li { max-width: 68ch; }
.legal p + p { margin-top: 1rem; }
.legal ul { padding-left: 1.2rem; margin: 0.75rem 0 0; display: grid; gap: 0.4rem; }
.legal a { color: var(--gold); }

@media (min-width: 768px) {
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; }
  .cell-main { grid-row: span 2; align-content: end; }
  .faq-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
  .form { grid-template-columns: 1fr 1fr; }
  .form-foot, .field-wide { grid-column: 1 / -1; }
  .foot-in { grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem; }
  .foot-copy { grid-column: 1 / -1; }
  .sticky { display: none; }
  .foot { padding-bottom: 2.5rem; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
  .problem-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .case-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .cal-fig { justify-self: end; }
  .book-in { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
  .book-head { position: sticky; top: 6rem; }
  .form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
}
@media (max-width: 479px) {
  .bar .btn-sm { display: none; }
}

.foot-nav .ig { display: inline-flex; align-items: center; justify-content: center; width: 44px; flex: none; color: var(--gold); }
.foot-nav .ig:hover { color: var(--gold-bright); }
