/* Go Grow Labs design system (brand-guidelines.md): tokens, type, layout, components and motion states.
   Shared by every page; page-specific styles stay inline in each page. */

/* ===== Fonts (self-hosted variable fonts, Latin subset; Fraunces has SOFT fixed at 50) ===== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ===== Tokens (brand-guidelines.md) ===== */
:root {
  --charcoal: #16181D;
  --ink: #1F2328;
  --copper: #D9823B;
  --copper-deep: #A85A20;
  --copper-soft: #F3E2D2;
  --copper-hover: #C8732F;
  --teal: #134E4A;
  --stone: #6B665F;
  --sand: #E8E1D5;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --charcoal-line: #2A2D34;
  --cream-muted: #CFC8BC;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 200ms;
  --dur-base: 600ms;
  --dur-slow: 1000ms;
  --dur-number: 1600ms;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid sizes: mobile (375px) to desktop (1280px) */
  --fs-display: clamp(2.5rem, 1.671rem + 3.536vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.586rem + 1.768vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.271rem + 0.442vw, 1.625rem);
  --fs-num: clamp(3rem, 2.171rem + 3.536vw, 5rem);
  --fs-lead: clamp(1.125rem, 1.047rem + 0.331vw, 1.3125rem);
  --fs-body: clamp(1rem, 0.974rem + 0.11vw, 1.0625rem);

  --gutter: clamp(1.5rem, 0.879rem + 2.652vw, 3rem);
  --gap: clamp(1rem, 0.5rem + 2vw, 2rem);
  --section-y: clamp(6rem, 4.343rem + 7.07vw, 10rem);
  --header-h: 72px;
  --shadow-hover: 0 24px 48px -24px rgba(22, 24, 29, 0.18);
}
@media (min-width: 960px) { :root { --header-h: 84px; } }

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--charcoal); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
html:has(dialog[open]) { overflow: hidden; }
/* SplitText swaps nodes while lines animate; Chrome's scroll anchoring would make the page jump. */
html.motion { overflow-anchor: none; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 500; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--copper-soft); color: var(--charcoal); }
:focus-visible { outline: 2px solid var(--copper-deep); outline-offset: 3px; border-radius: 2px; }
.band--dark :focus-visible, .site-header:not(.is-scrolled) :focus-visible, .menu :focus-visible, .site-footer :focus-visible { outline-color: var(--copper); }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; border-radius: 4px; background: var(--copper); color: var(--charcoal); font-weight: 500; text-decoration: none; }
.skip:focus { top: 16px; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }

/* ===== Type ===== */
.display, .h2, .h3, .num { font-family: var(--serif); font-weight: 400; }
.display { font-size: var(--fs-display); line-height: 1.05; letter-spacing: -0.025em; font-variation-settings: "opsz" 144; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-weight: 500; font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -0.01em; }
.display em, .h2 em { font-style: italic; color: var(--copper-deep); }
.band--dark .display em, .band--dark .h2 em { color: var(--copper); }
.num { font-size: var(--fs-num); line-height: 1; letter-spacing: -0.03em; font-variation-settings: "opsz" 144; font-variant-numeric: lining-nums tabular-nums; }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 62ch; }
.display, .h2, .h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.prose { max-width: 62ch; }
.eyebrow { font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; letter-spacing: 0.04em; color: var(--copper-deep); }
.band--dark .eyebrow { color: var(--copper); }
/* Section numbers come from a counter, so they stay in order when the testimonials section is switched on. */
main { counter-reset: sec; }
/* Each page sets what increments the counter (home: sections, funnel: numbered eyebrows). */
.eyebrow[data-n]::before { content: counter(sec, decimal-leading-zero) " — "; content: counter(sec, decimal-leading-zero) " — " / ""; }
.band--dark .muted { color: var(--cream-muted); }

/* SplitText line masks: room for descenders and italic overhang */
.line-mask { padding: 0 0.08em 0.16em; margin: 0 -0.08em -0.16em; }

/* ===== Layout ===== */
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { grid-column: 1 / -1; min-width: 0; }
.band { position: relative; padding-block: var(--section-y); }
.band > .wrap { position: relative; z-index: 1; }
.band--cream { background: var(--cream); }
.band--cream::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.band--paper { background: var(--paper); }
.band--dark { background: var(--charcoal); color: var(--cream); }
/* Hairline on the boundary between two light sections */
.section-rule { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(-1 * var(--section-y)); height: 1px; background: var(--sand); transform-origin: left; }

/* ===== Buttons and links ===== */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 14px 22px; border: 1px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer; background: none;
  transition: background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.btn-arrow { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn--primary { background: var(--copper); color: var(--charcoal); }
.btn--primary:hover { background: var(--copper-hover); }
.btn:disabled { opacity: 0.7; cursor: progress; }
/* Touch: no grey tap flash; a visible pressed state instead (touch screens have no hover) */
a, button, summary, label, select { -webkit-tap-highlight-color: transparent; }
.btn--primary:active, .video-play:active span { background: var(--copper-hover); }
.btn--secondary:active { background: rgba(22, 24, 29, 0.08); }
.band--dark .btn--secondary:active { background: rgba(250, 247, 242, 0.1); }
.btn--secondary { border-color: var(--charcoal); color: var(--ink); }
.btn--secondary:hover { background: rgba(22, 24, 29, 0.05); }
.band--dark .btn--secondary, .menu .btn--secondary { border-color: var(--cream-muted); color: var(--cream); }
.band--dark .btn--secondary:hover { background: rgba(250, 247, 242, 0.07); }
@media (max-width: 479px) { .actions .btn { flex: 1 1 100%; } }

.u { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 400ms var(--ease-out); }
.u:hover { background-size: 100% 1px; }
.link {
  color: var(--copper-deep); text-decoration: none; padding-bottom: 1px;
  background: linear-gradient(var(--copper-deep), var(--copper-deep)) 0 100% / 0 1px no-repeat, linear-gradient(var(--sand), var(--sand)) 0 100% / 100% 1px no-repeat;
  transition: background-size 400ms var(--ease-out);
}
.link:hover { background-size: 100% 1px, 100% 1px; }

/* ===== Logo ===== */
.logo { display: inline-flex; flex-direction: column; gap: 4px; text-decoration: none; }
.logo-word { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.logo-word::after, .mono::after { content: ""; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.06em; background: var(--copper); }
.logo-desc { font-size: 12px; line-height: 1.3; color: var(--cream-muted); transition: color var(--dur-fast) var(--ease-out); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--cream); border-bottom: 1px solid transparent;
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.85); color: var(--ink); border-bottom-color: var(--sand);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header.is-scrolled .logo-desc { color: var(--stone); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav { display: none; }
.nav ul { display: flex; gap: 32px; }
.nav ul a { font-size: 15px; font-weight: 500; line-height: 1.6; }
.nav-cta.is-quiet { background: transparent; color: inherit; border-color: var(--cream-muted); }
.is-scrolled .nav-cta.is-quiet { border-color: var(--charcoal); }
.menu-btn { min-height: 44px; padding: 0 2px; border: 0; background: none; font-size: 15px; font-weight: 500; cursor: pointer; }
@media (min-width: 960px) {
  .nav { display: flex; align-items: center; gap: 40px; }
  .menu-btn { display: none; }
}


/* ===== 01 Hero ===== */
.hero { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px)); padding-bottom: clamp(64px, 6vw, 88px); overflow: clip; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 90% 0%, rgba(217, 130, 59, 0.07), transparent 70%),
    radial-gradient(60% 55% at 0% 100%, rgba(19, 78, 74, 0.2), transparent 70%);
}

/* ===== 02 Problem ===== */
.pains { margin-top: clamp(48px, 6vw, 80px); }
.pains li { position: relative; padding: 24px 0; font-size: var(--fs-lead); line-height: 1.5; }
.pains li::before, .pains li:last-child::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sand); transform-origin: left; }
.pains li:last-child::after { top: auto; bottom: 0; }
@media (min-width: 900px) {
  .problem-intro { grid-column: 1 / span 6; }
  .pains { grid-column: 7 / span 6; margin-top: 42px; } /* first hairline lines up with the heading */
}

/* ===== Cards ===== */
.card {
  position: relative; height: 100%; padding: 40px; overflow: hidden;
  background: var(--paper); border: 1px solid var(--sand); border-radius: 12px;
  transition: transform 400ms var(--ease-out), box-shadow 400ms var(--ease-out);
}
.card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
  .card:hover::before { transform: scaleX(1); }
}
.calm .card { transition-property: box-shadow; }
.calm .card:hover { transform: none; }
.calm .btn:hover .btn-arrow { transform: none; }
@media (max-width: 479px) { .card { padding: 28px 24px; } }

/* Section intro: label, then headline, across 8 of 12 columns */
.intro .h2 { margin-top: 24px; }
@media (min-width: 900px) { .intro { max-width: calc(8 / 12 * 100%); } }


/* ===== Product frame ===== */
.frame { padding: 8px; background: #1C1F25; border: 1px solid var(--charcoal-line); border-radius: 12px; }
.frame-bar { display: flex; justify-content: space-between; gap: 16px; padding: 6px 10px 14px; font-size: 13px; line-height: 1.4; color: var(--cream-muted); }
.frame-bar .tag { color: var(--copper); }

/* ===== 06 How it works ===== */
.steps { position: relative; display: grid; gap: 48px; margin-top: clamp(40px, 5vw, 64px); padding-left: 40px; }
.steps::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: var(--cream-muted); transform-origin: top; }
.step { position: relative; }
.step-node { position: absolute; left: -40px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--cream); border: 1px solid var(--stone); }
.step:first-child .step-node { background: var(--copper); border-color: var(--copper); }
.step-num { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.03em; color: var(--copper-deep); font-variation-settings: "opsz" 144; }
.step .h3 { margin-top: 20px; }
.step p { margin-top: 12px; max-width: 34ch; }
.figures { position: relative; margin-top: clamp(56px, 7vw, 88px); }
.figures::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--sand); transform-origin: left; }
.figures li { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--sand); }
.figures li:last-child { border-bottom: 0; }
.figures .num { font-size: clamp(2.5rem, 2rem + 1.4vw, 3.5rem); color: var(--copper-deep); }
.figures .cap { font-size: 13px; line-height: 1.5; color: var(--stone); }
@media (min-width: 720px) {
  .figures ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .figures li { padding: 32px 0 0 clamp(20px, 3vw, 40px); border-bottom: 0; border-left: 1px solid var(--sand); }
  .figures li:first-child { padding-left: 0; border-left: 0; }
}
.steps-cta { margin-top: clamp(48px, 6vw, 72px); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); padding: 48px 0 0; }
  .steps::before { inset: 4px 0 auto; width: auto; height: 1px; transform-origin: left; }
  .step-node { left: 0; top: -48px; }
}


/* ===== 08 Testimonials ===== */
.quotes { display: grid; gap: clamp(56px, 7vw, 96px); margin-top: clamp(40px, 5vw, 64px); }
.quote blockquote p { max-width: 30ch; font-family: var(--serif); font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.25; letter-spacing: -0.015em; }
.quote figcaption { display: grid; margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--stone); }
.quote figcaption strong { font-size: 15px; color: var(--ink); }

/* ===== 09 FAQ ===== */
.faq { position: relative; margin-top: clamp(40px, 5vw, 56px); }
.faq-intro .h2 { margin-top: 24px; }
.faq::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--sand); }
.faq details { position: relative; }
.faq details::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: var(--sand); transform-origin: left; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.3; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 20px; height: 20px; color: var(--teal); transition: transform 400ms var(--ease-out); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.25px; background: currentColor; transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
html:not(.js) .faq details[open] .plus, .faq details.is-open .plus { transform: rotate(45deg); }
.faq-a { overflow: hidden; }
.faq-a p { max-width: 62ch; padding-bottom: 28px; }
@media (min-width: 900px) {
  .faq-intro { grid-column: 1 / span 4; padding-right: var(--gap); }
  .faq { grid-column: 5 / span 8; margin-top: 0; }
}

/* ===== 10 Final call to action ===== */
.final { overflow: hidden; text-align: center; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final .h2 { max-width: 22ch; margin-top: 24px; }
.final .lead { max-width: 46ch; margin-top: 24px; color: var(--cream-muted); }
.final .actions { justify-content: center; margin-top: 40px; }
.final-note { margin-top: 14px; font-size: 13px; line-height: 1.5; color: var(--cream-muted); }
.final-glow {
  --s: min(1100px, 130vw);
  position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  border-radius: 50%; background: radial-gradient(closest-side, var(--copper), transparent); opacity: 0.08; pointer-events: none;
}
.motion .final-glow { animation: drift 12s var(--ease-in-out) infinite alternate; will-change: transform; }
.final-glow.is-paused { animation-play-state: paused; }
@keyframes drift { from { transform: translate(-14%, -8%); } to { transform: translate(14%, 10%); } }

/* ===== Footer ===== */
.site-footer { padding: clamp(64px, 8vw, 112px) 0 40px; background: var(--charcoal); color: var(--cream); border-top: 1px solid var(--charcoal-line); }
.footer-word { font-family: var(--serif); font-weight: 500; font-size: clamp(2.75rem, 0.5rem + 12vw, 12rem); line-height: 0.9; letter-spacing: -0.02em; font-variation-settings: "opsz" 144; }
.footer-word::after { content: ""; display: inline-block; width: 0.15em; height: 0.15em; margin-left: 0.05em; background: var(--copper); }
.footer-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--charcoal-line); font-size: 14px; color: var(--cream-muted); }
.footer-desc { font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer-links a { color: var(--cream); }


/* ===== Motion: content is visible by default; these hidden states only apply once JS has opted in ===== */
.motion .hero-h, .motion [data-split] { visibility: hidden; }
.motion .hero-bg { opacity: 0; }
.motion [data-hero] { opacity: 0; transform: translateY(16px); }
.motion [data-hero-fade] { opacity: 0; }
.motion [data-hero-rule] { transform: scaleX(0); }

.motion [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-base) var(--ease-out) var(--d, 0s), transform var(--dur-base) var(--ease-out) var(--d, 0s); }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
.calm [data-reveal] { opacity: 0; transition: opacity var(--dur-fast) linear; }
.calm [data-reveal].is-in { opacity: 1; }

/* Hairlines draw left to right */
.motion .section-rule[data-reveal] { opacity: 1; transform: scaleX(0); transition: transform var(--dur-slow) var(--ease-in-out) var(--d, 0s); }
.motion .section-rule[data-reveal].is-in { transform: scaleX(1); }
.motion [data-rule]::before, .motion [data-rule]::after { transform: scaleX(0); transition: transform var(--dur-slow) var(--ease-in-out) var(--d, 0s); }
.motion [data-rule].is-in::before, .motion [data-rule].is-in::after { transform: scaleX(1); }

/* How it works: the line draws through the three steps */
.motion .steps::before { transform: scaleY(0); transition: transform var(--dur-slow) var(--ease-in-out) var(--d, 0s); }
@media (min-width: 900px) { .motion .steps::before { transform: scaleX(0); } }
.motion .steps.is-in::before { transform: none; }
.motion .steps[data-reveal] { opacity: 1; transform: none; }
.motion .step-node { opacity: 0; transition: opacity var(--dur-base) var(--ease-out); }
.motion .steps.is-in .step-node { opacity: 1; }
.motion .steps.is-in .step:nth-child(1) .step-node { transition-delay: calc(var(--d, 0s) + 0.05s); }
.motion .steps.is-in .step:nth-child(2) .step-node { transition-delay: calc(var(--d, 0s) + 0.5s); }
.motion .steps.is-in .step:nth-child(3) .step-node { transition-delay: calc(var(--d, 0s) + 0.95s); }

.figures--large .num { font-size: var(--fs-num); }

/* ===== Video: poster with a copper play button; plays with sound only when clicked ===== */
.video-box { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #0F1114; }
.video-box video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.video-play span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 4px; background: var(--copper); color: var(--charcoal); transition: background-color var(--dur-fast) var(--ease-out); }
.video-play:hover span { background: var(--copper-hover); }
.video-play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-box.is-playing .video-play { display: none; }
.video-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 10px 4px; font-size: 13px; line-height: 1.4; color: var(--cream-muted); }

/* ===== Booking popup: the Calendly calendar in a panel over the page (full screen on phones). Built by brand.js. ===== */
.book {
  width: min(1200px, 100vw - 48px); height: /* Calendly puts the calendar beside the event details from about 1150px wide */ min(820px, 100vh - 48px); height: min(820px, 100dvh - 48px); max-width: none; max-height: none;
  padding: 0; border: 1px solid var(--charcoal-line); border-radius: 12px; overflow: hidden; background: var(--paper); color: var(--ink);
}
.book[open] { display: flex; flex-direction: column; }
.book::backdrop { background: rgba(22, 24, 29, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.book-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 6px 6px 20px; background: var(--charcoal); color: var(--cream); font-size: 14px; font-weight: 500; line-height: 1.4; letter-spacing: 0.01em; }
.book-close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 4px; background: none; cursor: pointer; transition: background-color var(--dur-fast) var(--ease-out); }
.book-close:hover, .book-close:active { background: rgba(250, 247, 242, 0.08); }
.book-close svg { width: 18px; height: 18px; }
.book-body { position: relative; flex: 1; min-height: 0; }
.book-wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; color: var(--stone); }
.book-body iframe { position: relative; display: block; width: 100%; height: 100%; border: 0; } /* covers the loading line once Calendly paints */
.motion .book[open] { animation: book-in var(--dur-base) var(--ease-out); }
.motion .book[open]::backdrop { animation: book-fade var(--dur-base) var(--ease-out); }
.calm .book[open], .calm .book[open]::backdrop { animation: book-fade var(--dur-fast) linear; }
@keyframes book-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes book-fade { from { opacity: 0; } }
@media (max-width: 719px) {
  .book { width: 100vw; height: 100vh; height: 100dvh; border: 0; border-radius: 0; }
  .book-bar { padding-top: max(6px, env(safe-area-inset-top)); }
}

/* ===== Sticky call to action (phones, funnel pages) ===== */
.sticky-cta {
  position: fixed; inset: auto 0 0; z-index: 40; visibility: hidden; transform: translateY(110%);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: rgba(22, 24, 29, 0.92); border-top: 1px solid var(--charcoal-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-shown { visibility: visible; transform: none; transition: transform var(--dur-base) var(--ease-out); }
.calm .sticky-cta { transform: none; opacity: 0; transition: opacity var(--dur-fast) linear, visibility 0s linear var(--dur-fast); }
.calm .sticky-cta.is-shown { opacity: 1; transition: opacity var(--dur-fast) linear; }
@media (min-width: 720px) { .sticky-cta { display: none; } }

/* ===== Minimal footer (funnel pages) ===== */
.site-footer--min { padding: 40px 0; }
.footer-min { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--cream-muted); }
.footer-min .logo-word { font-size: 22px; color: var(--cream); }
.footer-min ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-min a { color: var(--cream); }

/* Text links on dark sections: copper keeps the contrast that copper-deep loses on charcoal */
.band--dark .link { color: var(--copper); background-image: linear-gradient(var(--copper), var(--copper)), linear-gradient(var(--charcoal-line), var(--charcoal-line)); }

/* ===== Legal pages (privacy, terms) ===== */
.legal-head { padding-top: calc(var(--header-h) + clamp(48px, 7vw, 88px)); padding-bottom: clamp(48px, 6vw, 72px); }
.legal-head .h2 { margin-top: 20px; }
.legal-meta { margin-top: 16px; font-size: 13px; color: var(--cream-muted); }
.legal-body { padding-top: clamp(48px, 6vw, 80px); }
.legal-toc { margin-bottom: 48px; }
.legal-toc-title { font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--copper-deep); }
.legal-toc ol { margin-top: 12px; border-top: 1px solid var(--sand); }
.legal-toc li { border-bottom: 1px solid var(--sand); }
.legal-toc a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.4; color: var(--ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.legal-toc a:hover { color: var(--copper-deep); }
.legal-text { max-width: 70ch; }
.legal-text > * + * { margin-top: 14px; }
.legal-text h2 { margin-top: 56px; scroll-margin-top: 110px; font-family: var(--serif); font-weight: 500; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { margin-top: 28px; font-size: 17px; font-weight: 500; line-height: 1.4; }
.legal-text ul { padding-left: 1.25em; list-style: disc; }
.legal-text li + li { margin-top: 8px; }
.legal-text li::marker { color: var(--copper-deep); }
.legal-text code { font-size: 0.9em; padding: 1px 5px; border-radius: 4px; background: var(--sand); }
@media (min-width: 1024px) {
  .legal-toc { grid-column: 1 / span 3; position: sticky; top: 110px; align-self: start; margin-bottom: 0; }
  .legal-text { grid-column: 5 / span 8; }
}
