/* ==========================================================================
   BRAND SETTINGS
   Change these first. Everything else in the file reads from them.
   The gear colours themselves are set in js/scene.js (materials) and js/gearmath.js (shape).
   ========================================================================== */
:root {
  --t-ground: #14110f;        /* page background: dark warm ink */
  --t-ground-2: #1c1815;      /* panels, cards */
  --t-ink: #f1e8d8;           /* main text */
  --t-muted: #b0a592;         /* secondary text */
  --t-line: rgba(241, 232, 216, 0.14);   /* hairlines */
  --t-brass: #d0a45a;         /* labels, small details */
  --t-accent: #ff4d1f;        /* the one accent: buttons, "your priority" */
  --t-on-accent: #1a0a04;     /* text on accent */

  --t-display: 'Syne', 'Helvetica Neue', Arial, sans-serif;
  --t-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --t-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius: 18px;
  --gutter: clamp(18px, 4.4vw, 72px);
  --section: clamp(96px, 12vw, 168px);
  --max: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   Fonts (SIL Open Font License, see fonts/)
   ========================================================================== */
@font-face { font-family: 'Syne'; src: url('../fonts/syne-latin-wght-normal.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Space Mono'; src: url('../fonts/space-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--t-ground); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; color: var(--t-ink);
  font: 400 clamp(1rem, 0.35vw + 0.94rem, 1.125rem)/1.62 var(--t-body);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--t-brass); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--t-accent); color: var(--t-on-accent); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--t-ink); color: var(--t-ground); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ==========================================================================
   Scene layers: the gear canvas, then the veil that keeps text readable
   ========================================================================== */
#scene {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; display: block;
  pointer-events: none; opacity: 0; transition: opacity 0.8s ease;
}
html.gl #scene { opacity: 1; }
html.static #scene, html:not(.js) #scene { display: none; }
.veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  --veil-l: 0.84; --veil-r: 0; --veil-b: 0;
  background:
    linear-gradient(to top, rgba(20, 17, 15, var(--veil-b)) 0%, rgba(20, 17, 15, calc(var(--veil-b) * 0.8)) 38%, rgba(20, 17, 15, 0) 72%),
    linear-gradient(90deg, rgba(20, 17, 15, var(--veil-l)) 0%, rgba(20, 17, 15, var(--veil-l)) 28%, rgba(20, 17, 15, var(--veil-r)) 64%, rgba(20, 17, 15, var(--veil-r)) 100%);
}
html.poster-mode .bar, html.poster-mode main, html.poster-mode .foot, html.poster-mode .veil { visibility: hidden; }

/* Until the 3D scene is running (and whenever it is not) the hero carries the still render */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.8) 0%, rgba(20, 17, 15, 0.5) 38%, rgba(20, 17, 15, 0) 68%),
    url('../poster-scene.webp') right center / cover no-repeat;
  transition: opacity 0.6s ease;
}
html.gl .hero::before { opacity: 0; }
.veil { opacity: 0; transition: opacity 0.6s ease; }
html.gl .veil { opacity: 1; }
@media (max-width: 760px) {
  .hero::before { background: linear-gradient(0deg, rgba(20, 17, 15, 0.94) 0%, rgba(20, 17, 15, 0.7) 45%, rgba(20, 17, 15, 0.1) 80%), url('../poster-scene.webp') 70% 0 / auto 62% no-repeat; opacity: 0; }
  html.static .hero::before, html:not(.js) .hero::before { opacity: 1; }
}

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow, .tag, .meter .count, .cue span, .meta span, .field label, .flag, dt, .num, .n {
  font-family: var(--t-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.eyebrow { color: var(--t-brass); margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--t-brass); }
h1, h2, h3 { font-family: var(--t-display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(3rem, 6vw, 6.2rem); font-weight: 700; letter-spacing: -0.04em; line-height: 0.96; }
h2 { font-size: clamp(1.9rem, 3.7vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 1.5vw, 1.55rem); letter-spacing: -0.015em; line-height: 1.15; }
.lead { font-size: clamp(1.06rem, 0.5vw + 1rem, 1.28rem); color: var(--t-muted); max-width: 36rem; }
.fine { font-size: 0.8125rem; color: var(--t-muted); margin-top: 28px; letter-spacing: 0.01em; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid var(--t-accent); background: var(--t-accent); color: var(--t-on-accent);
  font: 600 0.98rem/1 var(--t-body); letter-spacing: 0.005em; cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { transform: translateY(-2px); background: #ff6a40; border-color: #ff6a40; box-shadow: 0 12px 30px -10px rgba(255, 77, 31, 0.7); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--t-ink); border-color: rgba(241, 232, 216, 0.34); }
.btn-ghost:hover { background: rgba(241, 232, 216, 0.08); border-color: var(--t-ink); box-shadow: none; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 0.9rem; }
.btn:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }

/* ==========================================================================
   Top bar
   ========================================================================== */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter); border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.bar.solid { background: rgba(20, 17, 15, 0.8); border-color: var(--t-line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; }
.mark { display: inline-flex; align-items: center; gap: 10px; font: 700 1.2rem/1 var(--t-display); letter-spacing: -0.02em; }
.mark-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--t-accent); box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.18); }
.links { display: flex; gap: clamp(14px, 2vw, 32px); margin-left: auto; margin-right: 8px; }
.links a { font-size: 0.9rem; color: var(--t-muted); position: relative; padding: 6px 0; transition: color 0.3s; }
.links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--t-ink); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.links a:hover { color: var(--t-ink); }
.links a:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 110px; }
.hero-grid { display: block; }
.hero-copy { max-width: 41rem; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { margin-bottom: 38px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--t-line); max-width: 34rem; }
.facts > div { padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--t-line); }
.facts > div:last-child { border-right: 0; margin-right: 0; }
dt { color: var(--t-muted); margin-bottom: 6px; }
dd { font-size: 0.95rem; color: var(--t-muted); }
dd b { display: block; font: 700 clamp(1.5rem, 2.2vw, 2rem)/1.1 var(--t-display); letter-spacing: -0.02em; color: var(--t-ink); }
.cue { position: absolute; left: var(--gutter); bottom: 30px; display: flex; align-items: center; gap: 14px; color: var(--t-muted); }
.cue i { display: block; width: 56px; height: 1px; background: var(--t-line); position: relative; overflow: hidden; }
.cue i::after { content: ''; position: absolute; inset: 0; background: var(--t-ink); transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* ==========================================================================
   Shared section blocks
   ========================================================================== */
.block { padding: var(--section) 0; position: relative; }
.head { max-width: 50rem; margin-bottom: clamp(40px, 6vw, 76px); }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(28, 24, 21, 0.78); border: 1px solid var(--t-line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 0.6s var(--ease), border-color 0.4s, background 0.4s, opacity 0.9s var(--ease);
}
.card:hover { border-color: rgba(208, 164, 90, 0.6); background: rgba(34, 29, 25, 0.9); }
.card .num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid var(--t-brass); border-radius: 50%; color: var(--t-brass); margin-bottom: 52px; font-size: 0.7rem; }
.card h3 { margin-bottom: 14px; }
.card p { color: var(--t-muted); }

/* Reveal on scroll (classes are added by js/scroll.js; without JS everything is simply visible) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover { transform: translateY(-5px); }
.cards li:nth-child(2).reveal { transition-delay: 0.08s; }
.cards li:nth-child(3).reveal { transition-delay: 0.16s; }
.cards li.reveal.in:hover { transition-delay: 0s; }

/* ==========================================================================
   How it works (pinned)
   ========================================================================== */
.how { position: relative; padding: var(--section) 0; }
.how-copy { max-width: 35rem; }
.how h2 { margin-bottom: 30px; }
.meter { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.meter .count { color: var(--t-muted); white-space: nowrap; }
.meter .count b { color: var(--t-ink); font-weight: 400; font-size: 1.05rem; }
.meter .rule { flex: 1; height: 1px; background: var(--t-line); position: relative; overflow: hidden; }
.meter .rule i { position: absolute; inset: 0; background: var(--t-accent); transform: scaleX(0.02); transform-origin: left; }
.steps { border-bottom: 1px solid var(--t-line); }
.step { display: grid; grid-template-columns: 3.4rem 1fr; border-top: 1px solid var(--t-line); padding: 20px 0; }
.step .n { color: var(--t-muted); padding-top: 0.5rem; transition: color 0.4s; }
.step h3 { transition: color 0.4s, transform 0.5s var(--ease); }
.step-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows 0.6s var(--ease), opacity 0.5s; }
.step-body > div { overflow: hidden; }
.step-body p { color: var(--t-muted); margin-top: 12px; max-width: 29rem; }
.tag { display: inline-block; margin-top: 14px; color: var(--t-brass); }
.how.live .step:not(.on) .step-body { grid-template-rows: 0fr; opacity: 0; }
.how.live .step:not(.on) h3 { color: var(--t-muted); }
.how.live .step.on .n { color: var(--t-accent); }
.how.live .step.done .n { color: var(--t-brass); }
.how.live .how-stage { height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 70px; }
.how.live { padding: 0; }
.how:not(.live) .meter { display: none; }

/* ==========================================================================
   Results
   ========================================================================== */
.results { padding: 0; }
.results-stage { padding: calc(var(--section) * 0.7) 0 56px; }
.results .wrap { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; }
/* With the scene running, the results stay pinned for a while so the train can be watched turning */
html.js:not(.static) .results { height: 190vh; }
html.js:not(.static) .results-stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 100px 0 40px; }
html.js:not(.static) .results-stage .wrap { height: 100%; }
html.js:not(.static) .results .head { margin-bottom: 0; }
html.js:not(.static) .stats { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--t-line); margin-top: 60px; }
.stats li { padding: 34px 32px 0 0; }
.stats li + li { padding-left: 32px; border-left: 1px solid var(--t-line); }
.big { font: 700 clamp(3.2rem, 6.4vw, 6.2rem)/1 var(--t-display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.big small { font: 400 0.34em/1 var(--t-mono); letter-spacing: 0; margin-left: 0.25em; color: var(--t-brass); -webkit-text-fill-color: var(--t-brass); }
.big span { background: linear-gradient(180deg, var(--t-ink) 40%, #d0a45a 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.label { margin-top: 18px; color: var(--t-ink); font-size: clamp(1rem, 1.2vw, 1.2rem); max-width: 17rem; }

/* ==========================================================================
   Prices
   ========================================================================== */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: rgba(28, 24, 21, 0.82); border: 1px solid var(--t-line); border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 40px); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 0.6s var(--ease), border-color 0.4s, opacity 0.9s var(--ease);
}
.plan:hover { border-color: rgba(208, 164, 90, 0.6); }
.plan h3 { margin-bottom: 22px; }
.price { color: var(--t-muted); font-size: 0.92rem; }
.price span { display: block; font: 800 clamp(2.6rem, 4vw, 3.8rem)/1 var(--t-display); letter-spacing: -0.04em; color: var(--t-ink); margin-bottom: 6px; }
.plan-lead { margin: 22px 0 18px; padding-top: 22px; border-top: 1px solid var(--t-line); color: var(--t-ink); }
.ticks { margin-bottom: 34px; flex: 1; }
.ticks li { position: relative; padding: 9px 0 9px 26px; color: var(--t-muted); font-size: 0.98rem; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 1.1em; width: 10px; height: 6px; border-left: 1.5px solid var(--t-brass); border-bottom: 1.5px solid var(--t-brass); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.plan.hot { border-color: var(--t-accent); background: linear-gradient(180deg, rgba(48, 27, 19, 0.92), rgba(28, 24, 21, 0.92)); box-shadow: 0 30px 80px -40px rgba(255, 77, 31, 0.55); }
.plan.hot.reveal.in { transform: translateY(-14px); }
.flag { position: absolute; top: -13px; left: 28px; background: var(--t-accent); color: var(--t-on-accent); padding: 5px 12px; border-radius: 999px; font-size: 0.68rem; font-weight: 700; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.portrait svg { width: 100%; height: auto; border-radius: 26px; box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9); }
.portrait { max-width: 440px; }
.about-copy h2 { margin-bottom: 28px; }
.bio { color: var(--t-muted); max-width: 38rem; font-size: clamp(1.02rem, 0.4vw + 0.98rem, 1.18rem); }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 42px; border-top: 1px solid var(--t-line); padding-top: 24px; }
.creds b { display: block; font: 700 1.1rem/1.2 var(--t-display); margin-bottom: 6px; }
.creds span { color: var(--t-muted); font-size: 0.92rem; display: block; }

/* ==========================================================================
   Quotes
   ========================================================================== */
.quote { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; }
.quote blockquote p { color: var(--t-ink); font: 500 clamp(1.1rem, 1.35vw, 1.3rem)/1.5 var(--t-body); }
.quote blockquote::before { content: '\201C'; display: block; font: 800 4.2rem/0.6 var(--t-display); color: var(--t-accent); margin-bottom: 18px; height: 34px; }
.who-line b { display: block; font-weight: 600; }
.who-line span { color: var(--t-muted); font-size: 0.92rem; }

/* ==========================================================================
   Questions
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.faq-grid .head { margin-bottom: 0; position: sticky; top: 110px; }
.faq-list { border-bottom: 1px solid var(--t-line); }
details { border-top: 1px solid var(--t-line); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0;
  font: 600 clamp(1.08rem, 1.3vw, 1.3rem)/1.3 var(--t-body); transition: color 0.3s;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ''; flex: none; width: 34px; height: 34px; border: 1px solid var(--t-line); border-radius: 50%;
  background: linear-gradient(var(--t-ink), var(--t-ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--t-ink), var(--t-ink)) center / 1.5px 12px no-repeat;
  transition: transform 0.5s var(--ease), background-color 0.3s, border-color 0.3s;
}
summary:hover { color: var(--t-brass); }
summary:hover::after { border-color: var(--t-brass); }
details[open] summary::after { transform: rotate(135deg); background-color: var(--t-accent); border-color: var(--t-accent); }
details p { padding: 0 60px 28px 0; color: var(--t-muted); max-width: 40rem; animation: open 0.6s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Booking
   ========================================================================== */
.book { padding-bottom: calc(var(--section) * 0.8); }
.book-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 7vw, 110px); align-items: start; }
.book-copy h2 { margin-bottom: 26px; }
.meta { margin-top: 38px; border-top: 1px solid var(--t-line); }
.meta li { display: flex; gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--t-line); color: var(--t-ink); font-size: 0.98rem; }
.meta span { flex: 0 0 4.5rem; color: var(--t-brass); padding-top: 0.2rem; }
.form { background: rgba(28, 24, 21, 0.84); border: 1px solid var(--t-line); border-radius: 24px; padding: clamp(24px, 3vw, 44px); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: grid; gap: 22px; }
.field { display: grid; gap: 9px; }
.field label { color: var(--t-muted); }
input, textarea, select {
  width: 100%; background: rgba(241, 232, 216, 0.05); border: 1px solid var(--t-line); border-radius: 12px; padding: 14px 16px; min-height: 52px;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23f1e8d8' stroke-width='1.6'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
select option { background: #1c1815; color: #f1e8d8; }
input:hover, textarea:hover, select:hover { border-color: rgba(241, 232, 216, 0.3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--t-accent); background: rgba(241, 232, 216, 0.08); box-shadow: 0 0 0 4px rgba(255, 77, 31, 0.16); }
.thanks { border: 1px solid var(--t-brass); border-radius: 12px; padding: 16px 18px; background: rgba(208, 164, 90, 0.1); font-weight: 500; animation: open 0.6s var(--ease); }
.error { color: #ff9f84; font-size: 0.92rem; }
.thanks[hidden], .error[hidden] { display: none; }
.form .btn { justify-self: start; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot { border-top: 1px solid var(--t-line); padding: 44px 0 52px; background: rgba(20, 17, 15, 0.9); position: relative; }
.foot-row { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center; }
.foot-row p { color: var(--t-muted); font-size: 0.92rem; }
.foot-row .fine { grid-column: 1 / -1; margin-top: 8px; }

/* ==========================================================================
   Plain mode: reduced motion, no WebGL, no JavaScript. Same content, no pin.
   ========================================================================== */
html:not(.js) .reveal, html.static .reveal { opacity: 1; transform: none; }
html.static, html.static .lenis { scroll-behavior: smooth; }
html:not(.js) .how .meter, html.static .how .meter { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1060px) {
  .links { display: none; }
  .bar { justify-content: space-between; }
  .cards.three, .plans { grid-template-columns: 1fr; }
  .plans { max-width: 640px; }
  .plan.hot.reveal.in { transform: none; }
  .about-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .faq-grid .head { position: static; margin-bottom: 36px; }
  .portrait { max-width: 340px; }
  .quote { gap: 30px; }
}
@media (max-width: 760px) {
  .bar { padding: 12px var(--gutter); }
  .mark { font-size: 1.08rem; }
  .hero { align-items: flex-end; padding: 96px 0 76px; }
  .hero h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); margin-bottom: 18px; }
  .hero .lead { font-size: 1.02rem; margin-bottom: 26px; }
  .actions { margin-bottom: 32px; gap: 10px; }
  .actions .btn { flex: 1 1 auto; padding: 0 20px; }
  .facts { grid-template-columns: repeat(3, 1fr); max-width: none; }
  .facts > div { padding: 14px 8px 0 0; margin-right: 8px; }
  dd { font-size: 0.82rem; }
  .cue { display: none; }
  .head { margin-bottom: 36px; }
  .how.live .how-stage { align-items: flex-end; padding: 0 0 26px; }
  .how h2 { font-size: 1.75rem; margin-bottom: 14px; }
  .how .eyebrow { margin-bottom: 12px; }
  .meter { margin-bottom: 8px; }
  .step { grid-template-columns: 2.6rem 1fr; padding: 11px 0; }
  .step h3 { font-size: 1.12rem; }
  .step-body p { font-size: 0.94rem; margin-top: 8px; }
  .tag { margin-top: 8px; }
  .stats { grid-template-columns: 1fr; margin-top: 150px; }
  html.js:not(.static) .results { height: auto; }
  html.js:not(.static) .results-stage { position: static; height: auto; padding: calc(var(--section) * 0.7) 0 56px; }
  .stats li, .stats li + li { padding: 22px 0; border-left: 0; border-top: 1px solid var(--t-line); display: grid; grid-template-columns: 1fr; }
  .stats li:first-child { border-top: 0; }
  .big { font-size: clamp(3.4rem, 17vw, 4.8rem); }
  .label { max-width: none; margin-top: 8px; }
  .creds { grid-template-columns: 1fr; gap: 16px; }
  .creds li { display: grid; grid-template-columns: 1fr; }
  details p { padding-right: 0; }
  .foot-row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .btn { padding: 0 16px; font-size: 0.92rem; }
  .actions .btn { flex-basis: 100%; }
}

/* Plain mode: the steps keep the gear picture beside them */
@media (min-width: 761px) {
  html.static .how, html:not(.js) .how {
    background: linear-gradient(90deg, #14110f 0%, rgba(20, 17, 15, 0.9) 36%, rgba(20, 17, 15, 0.35) 100%), url('../poster-scene.webp') right center / auto 100% no-repeat;
  }
}
