/* ==========================================================================
   Alturas — website styles
   Brand: navy #000e25 · cream #efe0cd · Urca (Adobe Fonts kit uzj2lvo)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #000e25;
  --navy-deep: #000918;
  --navy-raised: #061735;
  --navy-soft: #0a1f45;
  --cream: #efe0cd;
  --cream-light: #f7efe4;
  --cream-lighter: #fcf8f2;
  /* The same colours as bare channels, for rgb(var(--…-rgb) / alpha) — they swap in day mode */
  --cream-rgb: 239 224 205;
  --navy-rgb: 0 14 37;
  --deep-rgb: 0 9 24;
  --ease-sky: cubic-bezier(.62, .02, .28, 1);

  /* Contextual colours — flipped inside .theme-light panels */
  --bg: var(--navy);
  --fg: var(--cream);
  --fg-2: rgb(var(--cream-rgb) / .74);
  --fg-3: rgb(var(--cream-rgb) / .54);
  --line: rgb(var(--cream-rgb) / .12);
  --line-2: rgb(var(--cream-rgb) / .22);
  --surface: rgb(var(--cream-rgb) / .035);
  --surface-2: rgb(var(--cream-rgb) / .07);

  --font: "urca", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-panel: clamp(28px, 4vw, 56px);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 148px);
}

.theme-light {
  --bg: var(--cream);
  --fg: var(--navy);
  --fg-2: rgb(var(--navy-rgb) / .72);
  --fg-3: rgb(var(--navy-rgb) / .52);
  --line: rgb(var(--navy-rgb) / .1);
  --line-2: rgb(var(--navy-rgb) / .18);
  --surface: rgb(255 255 255 / .4);
  --surface-2: rgb(255 255 255 / .7);
  background: var(--bg);
  color: var(--fg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html.i18n-pending body { visibility: hidden; }

img, svg, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: balance;
}

::selection { background: var(--cream); color: var(--navy); }
.theme-light ::selection { background: var(--navy); color: var(--cream); }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--cream); color: var(--navy); font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { --container: 840px; }

.section { position: relative; padding-block: var(--section-y); }
.panel { margin-inline: clamp(8px, 1.4vw, 20px); border-radius: var(--radius-panel); }

.section-head {
  display: grid; justify-items: center; gap: 18px;
  max-width: 780px; margin: 0 auto clamp(48px, 6vw, 76px);
  text-align: center;
}
.section-sub {
  max-width: 640px;
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  color: var(--fg-2);
  text-wrap: pretty;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fg);
}
.eyebrow-star { width: 11px; height: 15px; flex: none; color: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; white-space: nowrap;
  transition: transform .25s var(--ease), translate .4s var(--ease-out), background-color .25s, box-shadow .3s, color .25s, border-color .25s;
}
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14.5px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn-arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--cream); color: var(--navy);
  box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .5), 0 12px 36px -12px rgb(var(--cream-rgb) / .55);
}
.btn-primary:hover {
  background: #f7eee2;
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .9), 0 18px 48px -12px rgb(var(--cream-rgb) / .7);
}
.btn-ghost { border-color: var(--line-2); background: var(--surface); color: var(--fg); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--fg-3); transform: translateY(-2px); }
.btn-dark { background: var(--navy); color: var(--cream); box-shadow: 0 14px 30px -16px rgb(var(--navy-rgb) / .7); }
.btn-dark:hover { background: var(--navy-soft); transform: translateY(-2px); }
/* Book a call's colours swapped, outlined so it holds its shape on the menu sheet */
.btn-invert { background: var(--navy); color: var(--cream); border-color: rgb(var(--cream-rgb) / .55); }
.btn-invert:hover { border-color: var(--cream); transform: translateY(-2px); }

/* ---------- Navigation: "Ascent" ----------
   The bar doubles as a trail map of the page. Its lower edge is a mountain ridge
   whose peaks sit under each link (the summit under "Book a call"); the north
   star climbs it as you scroll and the altimeter reads the current altitude.
   Mobile: a thumb-reach dock at the bottom, with the menu as a trail sheet. */
.nav {
  position: fixed; inset: auto 0 calc(12px + env(safe-area-inset-bottom)); z-index: 50;
  display: flex; flex-direction: column-reverse; gap: 8px;
  padding-inline: 12px;
  pointer-events: none;
}
.nav-bar {
  position: relative; pointer-events: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; column-gap: 10px;
  width: 100%; max-width: 560px; height: 70px; margin: 0 auto; padding: 0 10px 14px;
  border: 1px solid var(--line-2); border-radius: 20px;
  background: rgb(var(--deep-rgb) / .86);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(var(--cream-rgb) / .07), 0 18px 40px -16px rgb(0 0 0 / .75);
  transition: background-color .3s, border-color .3s, box-shadow .3s;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; grid-column: 2; grid-row: 1; justify-self: center; }
.brand-mark { width: 40px; height: 26px; color: var(--cream); flex: none; }
.brand-word {
  font-weight: 700; font-size: 16px; letter-spacing: .3em; text-transform: uppercase;
  margin-right: -.3em;
}

/* Altimeter */
.nav-status { display: grid; flex: 1; min-width: 0; line-height: 1.2; grid-column: 1; grid-row: 1; }
.nav-camp {
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em;
}
.nav-camp:empty { display: none; } /* base camp: no label until you start climbing */
.nav-camp.is-new { animation: camp-in .5s var(--ease-out); }
@keyframes camp-in { from { opacity: 0; transform: translateY(5px); } }
.nav-alt {
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em;
  font-variant-numeric: tabular-nums; color: var(--fg-3);
}
.nav-alt b { font-weight: 700; color: var(--fg-2); letter-spacing: .02em; }

.nav-links { display: none; gap: 2px; }
.nav-links a {
  padding: 8px 14px; border-radius: 10px;
  font-size: 15px; color: var(--fg-2);
  transition: color .2s, background-color .2s;
}
.nav-links a:hover { color: var(--fg); background: var(--surface-2); }
.nav-links a[aria-current="true"] { color: var(--fg); }

.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; grid-column: 3; grid-row: 1; justify-self: end; }
.nav-actions .lang-switch, .nav-cta, .nav-studio { display: none; }

.nav-book {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--cream); color: var(--navy);
  box-shadow: 0 8px 20px -10px rgb(var(--cream-rgb) / .6);
  transition: transform .25s var(--ease), box-shadow .3s;
}
.nav-book svg { width: 20px; height: 20px; }
.nav-book:active { transform: scale(.95); }

.lang-switch {
  display: inline-flex; padding: 3px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface);
}
.lang-switch button {
  min-width: 36px; height: 30px; padding: 0 9px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em;
  color: var(--fg-3);
  transition: color .2s, background-color .2s;
}
.lang-switch button:hover { color: var(--fg); }
.lang-switch button[aria-pressed="true"] { background: var(--cream); color: var(--navy); }

.nav-toggle {
  display: grid; place-content: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line-2); background: var(--surface);
}
.nav-toggle span {
  display: block; width: 18px; height: 1.5px; border-radius: 2px;
  background: var(--cream);
  transition: transform .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* The ridge trail */
.nav-ridge {
  position: absolute; left: 0; bottom: 3px;
  width: 100%; height: 14px;
  overflow: visible; pointer-events: none;
}
.ridge-trail, .ridge-climbed { fill: none; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.ridge-trail { stroke: rgb(var(--cream-rgb) / .3); }
.ridge-climbed { stroke: var(--cream); filter: drop-shadow(0 0 3px rgb(var(--cream-rgb) / .55)); }
.ridge-camps circle {
  fill: var(--navy-deep); stroke: rgb(var(--cream-rgb) / .5); stroke-width: 1;
  transform-box: fill-box; transform-origin: center;
  transition: fill .35s, stroke .35s, transform .35s var(--ease);
}
.ridge-camps circle.is-passed { fill: var(--cream); stroke: var(--cream); }
.ridge-camps circle.is-hover { stroke: var(--cream); transform: scale(1.7); }
.ridge-climber {
  color: var(--cream);
  filter: drop-shadow(0 0 5px rgb(239 224 205 / .95));
  transform-box: fill-box; transform-origin: center;
}
.nav-bar.at-summit .ridge-climber { animation: twinkle 1.8s ease-in-out infinite; }
.nav-bar.at-summit .nav-book,
.nav-bar.at-summit .nav-cta { box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .9), 0 0 26px rgb(var(--cream-rgb) / .55); }

/* Mobile menu: a trail sheet that opens above the dock */
.mobile-menu {
  pointer-events: auto;
  width: 100%; max-width: 560px; margin: 0 auto; padding: 14px 14px 12px;
  border: 1px solid var(--line-2); border-radius: 22px;
  background: rgb(var(--deep-rgb) / .96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8);
  animation: sheet-in .4s var(--ease-out);
}
.mobile-menu nav { position: relative; display: grid; padding-left: 30px; }
.mobile-menu nav::before { /* the trail */
  content: ""; position: absolute; left: 11px; top: 24px; bottom: 24px;
  width: 1px; background: linear-gradient(var(--line-2), rgb(var(--cream-rgb) / .45));
}
.mobile-menu nav a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 6px; border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 600;
}
.mobile-menu nav a:last-child { border-bottom: 0; }
.mobile-menu nav a::before { /* camp marker */
  content: ""; position: absolute; left: -24px; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgb(var(--cream-rgb) / .55); background: var(--navy-deep);
  transform: translateY(-50%);
}
.mobile-menu nav a.is-passed::before { background: var(--cream); border-color: var(--cream); }
.mobile-menu nav a[aria-current="true"]::before {
  width: 11px; height: 11px; left: -25px;
  background: var(--cream); border-color: var(--cream);
  box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / .15), 0 0 14px rgb(var(--cream-rgb) / .8);
}
.mobile-menu nav a::after { /* altitude */
  content: attr(data-alt);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  font-variant-numeric: tabular-nums; color: var(--fg-3);
}
.mobile-menu-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 14px 4px 2px;
  border-top: 1px solid var(--line);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* Mobile/tablet page adjustments for the bottom dock */
@media (max-width: 1023px) {
  html { scroll-padding-top: 24px; }
  body { padding-bottom: 92px; }
  .audit-fab { display: none; }
}

/* Desktop: the top bar with the ridge along its lower edge */
@media (min-width: 1024px) {
  .nav { inset: 14px 0 auto; flex-direction: column; }
  .nav-bar {
    display: flex; align-items: center;
    max-width: 1200px; height: 76px; gap: 16px; padding: 0 17px 18px; /* even sides, so the links centre exactly */
    border-color: var(--line); border-radius: 22px;
    background: rgb(var(--navy-rgb) / .5);
    box-shadow: inset 0 1px 0 rgb(var(--cream-rgb) / .06);
  }
  .nav.is-scrolled .nav-bar {
    background: rgb(var(--deep-rgb) / .84);
    border-color: var(--line-2);
    box-shadow: inset 0 1px 0 rgb(var(--cream-rgb) / .07), 0 18px 40px -20px rgb(0 0 0 / .7);
  }
  .nav-status { flex: none; padding-left: 16px; border-left: 1px solid var(--line); }
  /* Landing screen: no logo yet, so the altimeter starts at the bar's left edge with no divider. As you
     scroll (--lp, main.js) it slides right to its place (first half), the divider draws in (middle), and
     the logo forms in the gap (second half). --alt-shift is the slide distance, measured by main.js. */
  html.logo-fly .nav-status {
    position: relative; border-left-color: transparent;
    translate: calc(var(--alt-shift, 0px) * -1 * (1 - min(1, var(--lp, 0) * 2))) 0;
  }
  html.logo-fly .nav-status::before {
    content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: var(--line);
    scale: 1 clamp(0, calc((var(--lp, 0) - .4) * 3), 1); opacity: clamp(0, calc((var(--lp, 0) - .4) * 3), 1);
  }
  .nav-alt b { display: inline-block; min-width: 5ch; text-align: right; font-variant-numeric: tabular-nums; } /* 850 → 4,810 keeps the same width, so the links stay over their camps */
  .nav-camp { display: none; }
  /* The section links sit at the bar's true centre: equal side columns, with the logo and the
     altimeter sharing the left one (the altimeter starts after the logo's 40px + 16px gap) */
  .nav-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); column-gap: 16px; }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-status { grid-column: 1; grid-row: 1; justify-self: start; margin-left: 56px; }
  .nav-links { display: flex; grid-column: 2; grid-row: 1; }
  .nav-actions { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav-actions .lang-switch, .nav-cta, .nav-studio { display: inline-flex; }
  .nav-book, .nav-toggle { display: none; }
  .nav-ridge { height: 18px; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ----------
   A pinned, scroll-driven opening. Act 1 (name + slogan) fills the first screen;
   scrolling plays Act 2: the slogan drifts up and fades while the showreel rises
   from the mountains into place, then the page carries on. main.js sets
   --p (0→1, whole sequence) and --f (eased 0→1, the showreel's arrival). */
.hero {
  --p: 0; --f: 1; /* without JS/motion: everything shown, no pinning */
  --ridge-h: clamp(160px, 23vw, 320px); /* hero mountains' height; the summit sits at 96.5% of it */
  position: relative; isolation: isolate;
  background: var(--navy);
}
.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid;
  background:
    radial-gradient(120% 55% at 50% 0%, #04204a 0%, transparent 60%),
    var(--navy);
}
.starfield {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero-glow {
  position: absolute; left: 50%; bottom: 4%; z-index: -1;
  width: min(1500px, 150%); aspect-ratio: 2.2 / 1;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(var(--cream-rgb) / .2), rgb(var(--cream-rgb) / .06) 55%, transparent 100%);
  pointer-events: none;
}

/* The sky wheel: the moon and the sun ride opposite ends of one long arm pivoting at the
   foot of the hero. --sky-turn (set on <html> by the mode toggle) adds half a turn per switch,
   always clockwise, like a clock face: the moon sets behind the right-hand ridges while the
   sun climbs from the left into the moon's old place, and back again. */
.sky-wheel {
  --orbit-a: -35deg; --orbit-r: min(60vw, 95svh);
  position: absolute; left: 50%; top: 100%; z-index: 0;
  width: 0; height: 0;
  rotate: var(--sky-turn, 0deg);
  transition: rotate 1.9s var(--ease-sky);
  pointer-events: none;
}
/* Phones and tablets: the nav lives at the bottom, so the moon (and by day the sun) hangs in the
   free sky above the wordmark's top-right corner */
@media (max-width: 1023px) {
  .sky-wheel { --orbit-a: 11deg; --orbit-r: calc(100svh - 24px); }
}
.sky-body { position: absolute; left: 0; top: 0; height: auto; max-width: none; overflow: visible; transform-origin: 0 0; }
/* Crescent moon, cream like the stars and the wordmark */
.hero-moon {
  width: clamp(44px, 5.2vw, 84px);
  transform: rotate(var(--orbit-a)) translateY(calc(-1 * var(--orbit-r))) rotate(calc(-18deg - var(--orbit-a))) translate(-50%, -50%);
  filter: drop-shadow(0 0 18px rgb(239 224 205 / .35)) drop-shadow(0 0 60px rgb(239 224 205 / .14));
  animation: moon-drift 14s ease-in-out infinite alternate;
}
@keyframes moon-drift { to { translate: 0 -6px; filter: drop-shadow(0 0 22px rgb(239 224 205 / .45)) drop-shadow(0 0 70px rgb(239 224 205 / .18)); } }
/* The sun, at the other end of the arm: a warm disc with slowly turning rays */
.hero-sun {
  width: clamp(76px, 8vw, 128px);
  transform: rotate(calc(var(--orbit-a) + 180deg)) translateY(calc(-1 * var(--orbit-r))) translate(-50%, -50%);
  filter: drop-shadow(0 0 26px rgb(255 228 168 / .95)) drop-shadow(0 0 90px rgb(255 210 130 / .55));
}
.sun-rays { transform-box: view-box; transform-origin: 50% 50%; animation: sun-spin 70s linear infinite; }
.sun-rays path { fill: none; stroke: #ffe6ad; stroke-width: 3.2; stroke-linecap: round; }
@keyframes sun-spin { to { rotate: 1turn; } }
@media (max-width: 1023px) { .hero-moon { width: 36px; } .hero-sun { width: 54px; } }
@media (prefers-reduced-motion: reduce) { .hero-moon, .sun-rays { animation: none; } }

/* Act 1 — the name and the slogan */
.hero-intro {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100svh;
  padding: 96px 0 clamp(120px, 20vh, 240px); /* sits above the central peak */
  text-align: center;
}
/* The logo above the name. As you scroll it rises and dissolves into the sky while the nav bar's
   logo forms out of a soft glow, both driven by scroll (main.js sets --lp on the root, 0 → 1). */
.hero-mark {
  display: block; flex: none; width: clamp(64px, 8vw, 128px); height: auto; aspect-ratio: 109.8 / 70.933;
  margin: 0 auto clamp(12px, 2.2vh, 26px); color: var(--cream);
}
html.logo-fly .hero-mark {
  --out: min(1, calc(var(--lp, 0) * 1.5));
  opacity: calc(1 - var(--out));
  translate: 0 calc(var(--out) * -28px);
  scale: calc(1 + var(--out) * .22);
  filter: blur(calc(var(--out) * 8px));
}
html.logo-fly .nav .brand-mark {
  --in: max(0, calc(var(--lp, 0) * 2 - 1)); /* forms over the second half */
  opacity: var(--in);
  scale: calc(.55 + var(--in) * .45);
  filter: blur(calc((1 - var(--in)) * 5px)) drop-shadow(0 0 calc((1 - var(--in)) * 10px) rgb(var(--cream-rgb) / .8));
}
html.logo-fly.logo-done .nav .brand-mark { filter: none; }

.hero-presents { /* the ALTURAS wordmark: the largest element on the page */
  margin-right: -.16em; /* optically centre the tracked letters */
  font-size: clamp(3.8rem, 13vw, 11rem); font-weight: 700;
  line-height: .9; letter-spacing: .16em; text-transform: uppercase;
  color: var(--fg);
  text-shadow: 0 0 70px rgb(var(--cream-rgb) / .2);
}
.hero-title { margin: clamp(22px, 3vw, 40px) 0 0; text-wrap: balance; }
.hero-main {
  display: block; padding-bottom: .62em; /* room for the ridge graphic */
  font-size: clamp(2rem, 3.2vw + .6rem, 3.9rem); font-weight: 700;
  line-height: 1.05; letter-spacing: -.035em;
}
.hero-descriptor {
  max-width: 34em;
  font-size: clamp(1rem, .5vw + .85rem, 1.25rem); font-weight: 600;
  color: var(--fg-2);
}

/* The slogan graphic: a ridge that climbs to a summit just past the phrase, the
   north star standing on it — the logo, in type. Scaled up relative to the text. */
.hl { position: relative; display: inline-block; white-space: nowrap; }
@media (max-width: 360px) { .hl { white-space: normal; } }
.hl-ridge {
  position: absolute; left: -.06em; bottom: -.62em;
  width: calc(100% + .8em); max-width: none; height: .56em;
  overflow: visible; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%);
  mask-image: linear-gradient(90deg, transparent, #000 16%);
  clip-path: inset(-60% 100% -60% -2%);
  animation: wipe 1.8s .7s var(--ease-out) forwards;
}
.hl-ridge-line {
  fill: none; stroke: var(--cream); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hl-star {
  position: absolute; right: -.95em; bottom: -.1em;
  width: .42em; height: .56em;
  color: var(--cream);
  filter: drop-shadow(0 0 12px rgb(var(--cream-rgb) / .9));
  transform-origin: 50% 100%;
  opacity: 0;
  animation: star-in .6s 2.2s var(--ease-out) forwards, twinkle 3.2s 2.8s ease-in-out infinite;
}

/* Scroll cue */
.hero-cue {
  position: absolute; left: 50%; bottom: clamp(24px, 5vh, 48px); z-index: 3;
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  white-space: nowrap; text-align: center;
  color: var(--fg-2);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero-cue i {
  display: block; width: 1px; height: 38px;
  background: linear-gradient(var(--cream), transparent);
  transform-origin: top;
  animation: cue 2s var(--ease-out) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Act 2 — the showreel and the actions */
.hero-feature {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 0 clamp(140px, 18vw, 240px);
  text-align: center;
}
.hero-screen { position: relative; width: 100%; max-width: 860px; }
.hero-screen .reel { max-width: none; }
.hero-screen::before { /* soft light spill onto the "floor" below the screen */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -30px; height: 40px;
  background: radial-gradient(closest-side, rgb(var(--cream-rgb) / .16), transparent);
  pointer-events: none;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(24px, 4vh, 44px); }

/* Simple guarantees under the buttons */
.hero-checks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  margin-top: clamp(16px, 2.6vh, 26px);
  font-size: 15px; color: var(--fg-2);
}
.hero-checks li { display: inline-flex; align-items: center; gap: 9px; }
.check-dot {
  display: grid; place-items: center; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
}
.check-dot svg { width: 12px; height: 12px; }

.proof {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  font-size: 14.5px; color: var(--fg-2);
}
.proof-avatars { display: flex; }
.proof-avatars span {
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-left: -9px;
  border: 2px solid var(--navy); border-radius: 50%;
  font-size: 10.5px; font-weight: 700; color: var(--navy);
  background: linear-gradient(145deg, #f6ecdf, #d8c1a2);
}
.proof-avatars span:first-child { margin-left: 0; }
.proof-avatars span:nth-child(2) { background: linear-gradient(145deg, #dbe3ef, #93a7c6); }
.proof-avatars span:nth-child(3) { background: linear-gradient(145deg, #f0ddd5, #c49f93); }
.proof-avatars span:nth-child(4) { background: linear-gradient(145deg, #e2e7dc, #a1b09a); }
.proof-stars { display: flex; gap: 2px; color: var(--cream); }
.proof-stars svg { width: 16px; height: 16px; }
.hero-feature .proof { margin-top: clamp(14px, 2.4vh, 22px); }

/* Motion mode (added by main.js unless reduced motion is on): pin the stage and
   let the two acts share it. */
.hero--motion { height: 250vh; height: 250svh; }
.hero--motion .hero-stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
}
.hero--motion .hero-intro,
.hero--motion .hero-feature {
  position: absolute; inset: 0;
  min-height: 0;
  will-change: transform, opacity;
}
.hero--motion .hero-intro {
  opacity: calc(1 - var(--p) * 2.4);
  transform: translateY(calc(var(--p) * -24vh)) scale(calc(1 - var(--p) * .22));
}
.hero--motion .hero-cue { display: flex; opacity: calc(1 - var(--p) * 7); }
.hero--motion .hero-feature {
  padding: 100px 0 36px; /* clears the top nav */
  opacity: calc(var(--f) * 1.5);
  transform: translateY(calc((1 - var(--f)) * 58vh)) scale(calc(.6 + var(--f) * .4));
  transform-origin: 50% 100%;
  pointer-events: none;
}
.hero--motion.is-feature .hero-feature { pointer-events: auto; }
.hero--motion .hero-screen { width: min(860px, 100%, calc((100svh - 400px) * 16 / 9)); }
.hero--motion .ridges--hero { transform: translateY(calc(var(--p) * 5vh)); } /* gentle parallax */

@media (max-width: 1023px) {
  .hero-intro { padding-top: 40px; }
  .hero--motion .hero-feature { padding: 24px 0 112px; } /* clears the bottom dock */
  .hero--motion .hero-cue { bottom: 112px; }
  .hero--motion .hero-screen { width: min(100%, calc((100svh - 470px) * 16 / 9)); }
}
@media (max-width: 1023px) and (max-height: 720px) {
  .hero--motion .hero-feature .proof { display: none; } /* keep the sequence to one screen on short phones */
}

/* No showreel in the page: one still screen, the actions right under the slogan */
.hero:not(:has([data-reel])) .hero-stage { min-height: 100vh; min-height: 100svh; align-content: center; }
.hero:not(:has([data-reel])) .hero-intro { min-height: 0; padding-bottom: 0; }
.hero:not(:has([data-reel])) .hero-feature { padding-bottom: calc(var(--ridge-h) * .965 + 120px); } /* the checks clear the summit and its star */

/* Desktop, no showreel: exactly one screen with the whole range in view. The name and
   slogan sit centred in the sky above the summit; the actions rest on the mountains' base. */
@media (min-width: 1024px) {
  .hero:not(:has([data-reel])) .hero-stage { display: block; height: 100vh; height: 100svh; min-height: 600px; }
  .hero:not(:has([data-reel])) .hero-intro {
    position: absolute; inset: 0 0 calc(var(--ridge-h) * .78); margin: auto;
    padding: 72px 0 0;
  }
  .hero:not(:has([data-reel])) .hero-presents { font-size: clamp(3rem, 6.4vw, 6.2rem); letter-spacing: .3em; margin-right: -.3em; font-weight: 600; }
  .hero:not(:has([data-reel])) .hero-title { margin-top: clamp(14px, 1.6vw, 22px); }
  .hero:not(:has([data-reel])) .hero-main { font-size: clamp(1.6rem, 1.7vw + .5rem, 2.5rem); }
  .hero:not(:has([data-reel])) .hero-descriptor { font-size: 1rem; }
  .hero:not(:has([data-reel])) .hero-feature {
    position: absolute; left: 0; right: 0; bottom: clamp(18px, 3.5vh, 36px); z-index: 3;
    padding: 0;
  }
  .hero:not(:has([data-reel])) .hero-ctas { margin-top: 0; gap: 10px; }
  .hero:not(:has([data-reel])) .btn-lg { --h: 44px; padding: 0 22px; font-size: 14.5px; }
  .hero:not(:has([data-reel])) .hero-checks { margin-top: 12px; gap: 8px 22px; font-size: 13px; }
  .hero:not(:has([data-reel])) .check-dot { width: 17px; height: 17px; }
  .hero:not(:has([data-reel])) .check-dot svg { width: 10px; height: 10px; }
}

/* Showreel */
.reel {
  position: relative; overflow: hidden;
  max-width: 1040px; aspect-ratio: 16 / 9; margin: 0 auto;
  border: 1px solid var(--line-2); border-radius: clamp(18px, 2.4vw, 30px);
  background: var(--navy-deep);
  box-shadow:
    0 0 0 6px rgb(var(--cream-rgb) / .035),
    0 40px 120px -30px rgb(var(--cream-rgb) / .3),
    0 30px 60px -30px rgb(0 0 0 / .8);
}
.reel-scene { position: absolute; inset: 0; }
.reel-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 105%, rgb(239 224 205 / .34), transparent 62%),
    radial-gradient(55% 55% at 15% 0%, rgb(22 60 130 / .55), transparent 70%),
    linear-gradient(180deg, #020b1e 0%, #041536 55%, #0b2350 100%);
}
.reel-mountain {
  position: absolute; left: 50%; bottom: -3%;
  width: 54%; height: auto; aspect-ratio: 109.8 / 70.933;
  transform: translateX(-50%);
  color: var(--cream);
  opacity: .92;
  filter: drop-shadow(0 0 40px rgb(239 224 205 / .35));
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.viewfinder {
  position: absolute; inset: 5% 4.5%;
  font-size: clamp(8.5px, 1.05vw, 12.5px); font-weight: 600; letter-spacing: .16em;
  color: rgb(var(--cream-rgb) / .8);
}
.vf-corner { position: absolute; width: 4.5%; aspect-ratio: 1; border: 0 solid rgb(239 224 205 / .6); }
.vf-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf-rec, .vf-spec, .vf-tc, .vf-brand { position: absolute; }
.vf-rec { top: 4%; left: 3.5%; display: inline-flex; align-items: center; gap: .7em; }
.vf-rec i { width: .75em; height: .75em; border-radius: 50%; background: #ff5a4f; animation: blink 1.4s steps(2, jump-none) infinite; }
.vf-spec { top: 4%; right: 3.5%; }
.vf-tc { bottom: 4%; left: 3.5%; font-variant-numeric: tabular-nums; }
.vf-brand { bottom: 4%; right: 3.5%; }

.reel-play {
  position: absolute; left: 50%; top: 42%; z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 22px 8px 8px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgb(0 14 37 / .5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--cream); font-weight: 600; font-size: 15.5px;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease), background-color .3s;
}
.reel-play:hover { transform: translate(-50%, -50%) scale(1.04); background: rgb(0 14 37 / .72); }
.reel-play-icon {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--cream); color: var(--navy);
}
.reel-play-icon::before {
  content: ""; position: absolute; inset: -6px;
  border: 1px solid rgb(239 224 205 / .55); border-radius: 50%;
  animation: pulse 2.4s var(--ease-out) infinite;
}
.reel-play-icon svg { width: 22px; height: 22px; margin-left: 3px; }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel.is-playing .reel-scene, .reel.is-playing .reel-play { display: none; }
.reel-soon {
  position: absolute; left: 50%; bottom: 14%; z-index: 3;
  width: max-content; max-width: 88%;
  padding: 10px 16px; border-radius: 12px;
  background: rgb(0 9 24 / .8); border: 1px solid var(--line-2);
  font-size: 14px; text-align: center; color: var(--fg);
  transform: translateX(-50%);
}

/* Nav lives in the bottom dock below 1024px, so the hero needs less top room */
@media (max-width: 1023px) {
  .hero-main { padding-inline: .6em; } /* leaves room for the star after the last word */
}

@media (max-width: 560px) {
  .reel-play { padding: 6px; }
  .reel-play-label { display: none; }
  .reel-play-icon { width: 46px; height: 46px; }
  .vf-spec, .vf-brand { display: none; }
}

/* Mountain ridges (hero + CTA) */
.ridges {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  width: 100%; height: clamp(120px, 18vw, 250px);
  pointer-events: none;
}
.hero .ridges { z-index: 1; }
.ridges--hero { height: var(--ridge-h); } /* taller canvas for the central peak; side ridges keep their size */
.ridge-snow { fill: rgb(var(--cream-rgb) / .14); }
.ridge-1 { fill: #071c42; }
.ridge-2 { fill: #03122f; }
.ridge-3 { fill: var(--navy); }
.ridge-edge {
  fill: none; stroke: rgb(var(--cream-rgb) / .28); stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

/* The climber walks up the central peak's two straight faces (631,141 → 676,70 → 720,12 in the
   ridge viewBox); interpolating left/top as percentages keeps the feet on the line at any stretch.
   One 50s loop (1s = 2%):
     0–36s      walk to the summit
     36–37.2s   six frames (.2s each): stop, straighten, stand, turn toward us, arms out, arms rising
     37.2–39.6s celebrate: three hops (37.6, 38.4, 39.2), the star flaring on each; each hop
                crouches, stretches on take-off, eases to the top and squashes on landing
     39.6–42s   a saucer swoops in from off-screen left and hovers over him
     40s        the saucer enters the frame; his arms come down
     42.5–44.2s its beam lifts him in, arms at his sides
     44.6–47s   it shoots off-screen right; the star dims
   --d opens the page 6s before he reaches the top. */
.climb { --t: 50s; --d: -30s; --ch: clamp(7px, .62vw, 10px); } /* --ch: the climber's height */
.climber-pos { /* a full-size frame moved by translate (% of the ridge box): composited, no layout */
  position: absolute; inset: 0;
  translate: 45.17% 32.59%;
  will-change: translate, opacity;
  animation: climb var(--t) var(--d) linear infinite;
}
.climber {
  position: absolute; left: 0; top: 0;
  height: var(--ch); width: auto; aspect-ratio: 12 / 16;
  translate: -50% -100%;
  fill: var(--cream); stroke: var(--cream); overflow: visible;
  filter: drop-shadow(0 0 2px rgb(239 224 205 / .5));
  animation: beam-shrink var(--t) var(--d) linear infinite;
}
.climber .limb, .climber .pole { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.climber .limb { stroke-width: 1.5; }
.climber .pole { stroke-width: .7; }
.climber .far { opacity: .55; }
/* Walk cycle: two steps every 1.2s, each frame shown for .2s */
.climber .f { opacity: 0; animation: stride 1.2s step-end infinite; animation-delay: calc(var(--i) * .2s - 1.2s); }
.climber .f0 { opacity: 1; }
@keyframes stride { 0% { opacity: 1; } 16.666%, 100% { opacity: 0; } }
/* Phases share the loop; step-end holds each value until the next keyframe */
.climber .walk { animation: walk-phase var(--t) var(--d) step-end infinite; }
.climber .tf { opacity: 0; animation: tf-phase var(--t) calc(var(--d) + var(--i) * .2s) step-end infinite; }
.climber .cheer {
  opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; /* squash and stretch from the feet */
  animation: cheer-phase var(--t) var(--d) step-end infinite, hop-body var(--t) var(--d) infinite;
}
.climber .c1 { animation: arms-up var(--t) var(--d) step-end infinite; }
.climber .c2 { opacity: 0; animation: hop var(--t) var(--d) step-end infinite; }
.climber .c3 { opacity: 0; animation: arms-down var(--t) var(--d) step-end infinite; } /* from the moment the saucer enters the frame (40s) */
@keyframes walk-phase { 0% { opacity: 1; } 72% { opacity: 0; } }
@keyframes tf-phase { 0% { opacity: 0; } 72% { opacity: 1; } 72.4% { opacity: 0; } }
@keyframes cheer-phase { 0% { opacity: 0; } 74.4% { opacity: 1; } }
@keyframes arms-up { 0% { opacity: 1; } 75.00% { opacity: 0; } 75.40% { opacity: 1; } 76.28% { opacity: 0; } 76.60% { opacity: 1; } 76.60% { opacity: 0; } 77.00% { opacity: 1; } 77.88% { opacity: 0; } 78.20% { opacity: 1; } 78.20% { opacity: 0; } 78.60% { opacity: 1; } 79.48% { opacity: 0; } 79.80% { opacity: 1; } 80.00% { opacity: 0; } }
@keyframes arms-down { 0% { opacity: 0; } 80% { opacity: 1; } }
@keyframes hop    { 0% { opacity: 0; } 75.00% { opacity: 1; } 75.40% { opacity: 0; } 76.28% { opacity: 1; } 76.60% { opacity: 0; } 76.60% { opacity: 1; } 77.00% { opacity: 0; } 77.88% { opacity: 1; } 78.20% { opacity: 0; } 78.20% { opacity: 1; } 78.60% { opacity: 0; } 79.48% { opacity: 1; } 79.80% { opacity: 0; } }
@keyframes hop-body {
  0%, 74.96% { transform: none; }
  75.20% { transform: scale(1.1, .84); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  75.44% { transform: translateY(-.8px) scale(.93, 1.1); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  75.88% { transform: translateY(-2.8px) scale(1); animation-timing-function: cubic-bezier(.6,0,.8,.4); }
  76.32% { transform: scale(1.08, .88); }
  76.68% { transform: none; }
  76.80% { transform: scale(1.1, .84); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  77.04% { transform: translateY(-.8px) scale(.93, 1.1); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  77.48% { transform: translateY(-2.8px) scale(1); animation-timing-function: cubic-bezier(.6,0,.8,.4); }
  77.92% { transform: scale(1.08, .88); }
  78.28% { transform: none; }
  78.40% { transform: scale(1.1, .84); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  78.64% { transform: translateY(-.8px) scale(.93, 1.1); animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  79.08% { transform: translateY(-2.8px) scale(1); animation-timing-function: cubic-bezier(.6,0,.8,.4); }
  79.52% { transform: scale(1.08, .88); }
  79.88% { transform: none; }
  100% { transform: none; }
}
@keyframes climb {
  0%        { translate: 43.83% 41.59%; opacity: 0; }
  3%        { opacity: 1; }
  38.48%    { translate: 46.94% 20.59%; } /* the bend where the snow starts */
  70%       { translate: 49.82% 4.55%; animation-timing-function: cubic-bezier(.25,.6,.4,1); } /* slows over his last steps */
  72%, 85%  { translate: 50% 3.53%; } /* summit */
  86.5%     { opacity: 1; }
  88.4%, 100% { translate: 50% calc(3.53% - var(--ch) * 2.2); opacity: 0; } /* beamed up */
}
@keyframes beam-shrink { 0%, 85% { scale: 1; } 88.4%, 100% { scale: .5; } }

/* The logo's north star, high above the summit: faint until he arrives, flares on each hop */
.summit-star {
  position: absolute; left: 50%; top: 3.53%;
  height: clamp(20px, 2vw, 30px); aspect-ratio: 26.9 / 35.9;
  translate: -50% calc(-100% - clamp(52px, 5vw, 76px));
  color: var(--cream);
}
.summit-star svg { display: block; width: 100%; height: 100%; overflow: visible; }
.summit-star > svg { opacity: .5; animation: twinkle 3.6s ease-in-out infinite; }
.ss-lit, .ss-flash { position: absolute; inset: 0; }
.ss-lit { opacity: 0; animation: star-phase var(--t) var(--d) linear infinite; }
.ss-flash { opacity: .4; transform-origin: 50% 39%; animation: star-flash var(--t) var(--d) ease-out infinite; }
.ss-flash svg { filter: drop-shadow(0 0 4px rgb(239 224 205 / .95)) drop-shadow(0 0 12px rgb(239 224 205 / .6)); }
.ss-flash::before { /* diamond halo: a soft-edged square (two crossed fades), turned 45° */
  content: ""; position: absolute; left: 50%; top: 39%;
  width: 240%; aspect-ratio: 1; translate: -50% -50%; rotate: 45deg;
  background: radial-gradient(closest-side, rgb(239 224 205 / .42), rgb(239 224 205 / .14) 70%, transparent);
  -webkit-mask: linear-gradient(90deg, transparent, #000 28% 72%, transparent), linear-gradient(0deg, transparent, #000 28% 72%, transparent);
  -webkit-mask-composite: source-in;
  mask: linear-gradient(90deg, transparent, #000 28% 72%, transparent), linear-gradient(0deg, transparent, #000 28% 72%, transparent);
  mask-composite: intersect;
}
@keyframes star-phase { 0%, 74.39% { opacity: 0; } 74.4%, 88.4% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes star-flash {
  0%, 75.19%      { opacity: .4; transform: scale(1); }
  75.2%           { opacity: 1;  transform: scale(1.35); }
  76%, 76.79%     { opacity: .4; transform: scale(1); }
  76.8%           { opacity: 1;  transform: scale(1.35); }
  77.6%, 78.39%   { opacity: .4; transform: scale(1); }
  78.4%           { opacity: 1;  transform: scale(1.35); }
  79.2%, 100%     { opacity: .55; transform: scale(1); }
}

/* The saucer: parked off-screen right between visits (the hero stage clips it). Its flight is
   measured in vw/vh from the hover point, so start and end are always fully out of frame. */
.ufo {
  position: absolute; left: 50%; top: 3.53%;
  width: calc(var(--ch) * 2.8); aspect-ratio: 24 / 10;
  translate: -50% calc(-100% - var(--ch) * 2.4);
}
.ufo-fly { display: block; width: 100%; height: 100%; translate: 64vw -44vh; animation: ufo-fly var(--t) var(--d) linear infinite; }
.ufo-ship {
  display: block; width: 100%; height: 100%; overflow: visible;
  fill: var(--cream); filter: drop-shadow(0 0 3px rgb(239 224 205 / .6));
  animation: ufo-bob 1.6s ease-in-out infinite;
}
.ufo-ship .dome { opacity: .55; }
.ufo-ship .port { fill: #071c42; }
.ufo-beam {
  position: absolute; left: 50%; top: 3.53%;
  width: calc(var(--ch) * 2.2); height: calc(var(--ch) * 2.4 + 2px);
  translate: -50% -100%;
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
  background: linear-gradient(rgb(239 224 205 / .55), rgb(239 224 205 / .12));
  opacity: 0; animation: ufo-beam var(--t) var(--d) linear infinite;
}
@keyframes ufo-fly {
  0%, 79.2% { translate: -62vw -36vh; rotate: 12deg; }   /* off-screen left */
  82%       { translate: -18vw -6vh; rotate: 8deg; animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  84%, 89.2% { translate: 0 0; rotate: 0deg; animation-timing-function: cubic-bezier(.6, 0, .9, .4); } /* hover */
  94%, 100% { translate: 64vw -44vh; rotate: -10deg; }   /* off-screen right */
}
@keyframes ufo-beam { 0%, 84% { opacity: 0; } 85%, 88.4% { opacity: 1; } 89.2%, 100% { opacity: 0; } }
@keyframes ufo-bob { 50% { transform: translateY(-12%); } }

/* ---------- Formats marquee ---------- */
.formats { padding: 24px 0; border-block: 1px solid var(--line); }
.marquee {
  --gap: 34px;
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; flex: none; align-items: center; gap: var(--gap);
  padding-right: var(--gap);
  animation: marquee 45s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 600; letter-spacing: -.01em;
  white-space: nowrap; color: var(--fg-2);
}
.marquee-sep svg { width: 13px; height: 18px; color: var(--cream); opacity: .75; }

/* ---------- Niches ---------- */
.niche-grid { display: grid; gap: 18px; }
.niche {
  position: relative; overflow: hidden;
  padding: 30px 28px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .06), rgb(var(--cream-rgb) / .015));
  transition: transform .45s var(--ease), border-color .3s;
}
.niche::after {
  content: ""; position: absolute; right: -30%; bottom: -55%;
  width: 85%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(var(--cream-rgb) / .13), transparent);
  opacity: .55; transition: opacity .45s;
  pointer-events: none;
}
.niche:hover { transform: translateY(-4px); border-color: var(--line-2); }
.niche:hover::after { opacity: 1; }
.niche-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 24px; border-radius: 16px;
  background: var(--cream); color: var(--navy);
}
.niche-icon svg { width: 26px; height: 26px; }
.niche h3 { margin-bottom: 10px; font-size: 1.6rem; }
.niche p { margin-bottom: 22px; color: var(--fg-2); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}

@media (min-width: 900px) {
  .niche-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* ---------- Portfolio ---------- */
.tabs {
  position: relative; display: flex;
  width: max-content; margin: 0 auto clamp(36px, 5vw, 56px); padding: 5px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface);
}
.tab {
  position: relative; z-index: 1;
  height: 44px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--fg-2);
  transition: color .3s;
}
.tab[aria-selected="true"] { color: var(--navy); background: var(--cream); }
.js .tab[aria-selected="true"] { background: transparent; }
.tabs-indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0;
  width: 0; border-radius: 999px;
  background: var(--cream);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out);
}
html:not(.js) .tabs { display: none; }
html:not(.js) .tab-panel[hidden] { display: block !important; margin-top: 32px; }

.tab-panel { animation: panel-in .6s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }

.shorts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.longs-grid { display: grid; gap: 22px; }
@media (min-width: 760px) { .longs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .shorts-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .longs-grid { grid-template-columns: repeat(3, 1fr); }
}

.clip-frame, .longform-frame {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 22px;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / .85), inset 0 0 0 1px rgb(255 255 255 / .06);
  transition: transform .55s var(--ease-out), box-shadow .55s;
}
.clip-frame { aspect-ratio: 9 / 16; }
.longform-frame { aspect-ratio: 16 / 9; border-radius: 18px; }
.clip:hover .clip-frame, .longform:hover .longform-frame {
  transform: translateY(-6px);
  box-shadow: 0 34px 60px -24px rgb(0 0 0 / .9), 0 0 0 1px rgb(239 224 205 / .3);
}
[data-video] .clip-frame, [data-video] .longform-frame { cursor: pointer; }
.clip-frame video, .longform-frame video {
  position: absolute; inset: 0; z-index: 5;
  width: 100%; height: 100%; object-fit: cover; background: #000;
}

.clip-title {
  margin-top: 14px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0; line-height: 1.4;
  color: var(--fg-2); text-align: center;
}

/* Scenes: stylised “footage” used as placeholders until real videos are added */
.scene { position: relative; overflow: hidden; isolation: isolate; }
.scene::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgb(0 0 0 / .32), transparent 20%, transparent 58%, rgb(0 0 0 / .5));
}
.scene--finance {
  color: #020a12;
  background:
    radial-gradient(70% 45% at 78% 20%, rgb(126 196 178 / .55), transparent 70%),
    radial-gradient(60% 50% at 8% 88%, rgb(36 92 124 / .7), transparent 70%),
    linear-gradient(165deg, #10363f, #071a29 55%, #030b15);
}
.scene--business {
  color: #0a0503;
  background:
    radial-gradient(60% 45% at 80% 16%, rgb(236 176 102 / .72), transparent 70%),
    radial-gradient(70% 50% at 10% 82%, rgb(130 72 40 / .55), transparent 70%),
    linear-gradient(165deg, #3d2615, #1b1008 60%, #0c0704);
}
.scene--wellness {
  color: #3a4336;
  background:
    radial-gradient(70% 50% at 24% 14%, rgb(253 245 233 / .95), transparent 70%),
    radial-gradient(70% 55% at 92% 86%, rgb(156 176 148 / .9), transparent 70%),
    linear-gradient(165deg, #e6decd, #bcc6af 60%, #8f9e89);
}
.scene--wellness::after { background: linear-gradient(180deg, rgb(0 0 0 / .16), transparent 22%, transparent 58%, rgb(0 0 0 / .42)); }
.scene--podcast {
  color: #03060f;
  background:
    radial-gradient(50% 40% at 50% 6%, rgb(239 224 205 / .42), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgb(78 64 150 / .5), transparent 70%),
    radial-gradient(60% 50% at 100% 100%, rgb(30 96 150 / .5), transparent 70%),
    linear-gradient(180deg, #111b3a, #070c1c);
}

/* Talking-head silhouette: sized so the face sits in the upper-middle of a 9:16 frame */
.presenter {
  position: absolute; left: 50%; bottom: -4%; z-index: 1;
  width: 170%; max-width: none; height: auto; aspect-ratio: 1;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 16px rgb(255 232 200 / .38));
}
.scene--wellness .presenter { filter: drop-shadow(0 0 22px rgb(255 255 255 / .7)); }
.presenter--left, .presenter--right { width: 92%; bottom: -8%; }
.presenter--left { left: 22%; }
.presenter--right { left: 78%; }

/* Podcast clip: stacked split-screen (host on top, guest below) */
.clip-frame--split { display: grid; grid-template-rows: 1fr 1fr; background: #070c1c; }
.split-half { position: relative; }
.split-half + .split-half { border-top: 2px solid rgb(0 0 0 / .55); }
.split-half .presenter { width: 116%; bottom: -30%; }
.scene--podcast-guest {
  color: #03060f;
  background:
    radial-gradient(60% 55% at 20% 10%, rgb(236 176 102 / .45), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, rgb(30 96 150 / .45), transparent 70%),
    linear-gradient(180deg, #1a1a2e, #0a0a16);
}
.clip-caption--mid { top: 50%; bottom: auto; transform: translateY(-50%); }

.clip-progress {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3;
  height: 3px; border-radius: 3px; overflow: hidden;
  background: rgb(255 255 255 / .28);
}
.clip-progress i { display: block; width: 34%; height: 100%; border-radius: inherit; background: #fff; }
.clip:hover .clip-progress i { animation: progress 2.6s linear infinite; }
.clip-tag {
  position: absolute; top: 26px; left: 12px; z-index: 3;
  padding: 4px 9px; border: 1px solid rgb(239 224 205 / .22); border-radius: 999px;
  background: rgb(0 14 37 / .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cream);
}
.clip-caption {
  position: absolute; left: 8%; right: 8%; bottom: 14%; z-index: 3;
  font-size: clamp(14px, 1.45vw, 19px); font-weight: 700; line-height: 1.18;
  text-transform: uppercase; text-align: center; text-wrap: balance;
  color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / .45), 0 0 22px rgb(0 0 0 / .5);
}
.clip-caption mark, .longform-title mark, .editor-caption mark {
  padding: .02em .22em; border-radius: .22em;
  background: var(--cream); color: var(--navy);
  text-shadow: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.play-btn {
  position: absolute; left: 50%; top: 42%; z-index: 4;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: rgb(var(--cream-rgb) / .94); color: var(--navy);
  box-shadow: 0 10px 30px rgb(0 0 0 / .35);
  opacity: 0; transform: translate(-50%, -50%) scale(.85);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}
.play-btn svg { width: 22px; height: 22px; margin-left: 3px; }
.clip:hover .play-btn, .longform:hover .play-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (hover: none) {
  .play-btn { opacity: 1; width: 44px; height: 44px; transform: translate(-50%, -50%); }
  .play-btn svg { width: 18px; height: 18px; }
}
.clip-dur {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  padding: 3px 7px; border-radius: 6px;
  background: rgb(0 0 0 / .55);
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: #fff;
}

.longform-frame .presenter { left: auto; right: -10%; bottom: -34%; width: 62%; transform: none; }
.longform-title {
  position: absolute; left: 6%; top: 50%; z-index: 3;
  width: 58%;
  font-size: clamp(19px, 2.1vw, 27px); font-weight: 700; line-height: 1.02; letter-spacing: -.01em;
  text-transform: uppercase; text-wrap: balance;
  color: #fff;
  text-shadow: 0 3px 0 rgb(0 0 0 / .35), 0 0 30px rgb(0 0 0 / .5);
  transform: translateY(-50%);
}
.longform-frame .play-btn { left: 50%; }
.scene--wellness .longform-title { color: #fff; text-shadow: 0 3px 0 rgb(40 50 36 / .45), 0 0 30px rgb(40 50 36 / .45); }

.portfolio-foot {
  display: grid; justify-items: center; gap: 18px;
  margin-top: clamp(40px, 5vw, 60px);
  text-align: center;
}
.portfolio-foot p { color: var(--fg-2); }

/* The private portfolio's lock: blurred clips behind an email form (home page and /portfolio/) */
.vault {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  min-height: clamp(460px, 44vw, 560px);
  border-radius: var(--radius-lg);
}
.vault-preview {
  position: absolute; inset: 0; z-index: -1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  filter: blur(12px) saturate(.85);
  opacity: .55;
  transform: scale(1.06);
}
.vault-preview .clip-frame { aspect-ratio: auto; height: 100%; }
.vault-preview .clip-frame:nth-child(n+3) { display: none; }
@media (min-width: 760px) {
  .vault-preview { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .vault-preview .clip-frame:nth-child(n+3) { display: block; }
}
.vault-card {
  display: grid; justify-items: center; gap: 14px;
  width: min(540px, 100% - 32px); margin-block: 24px;
  padding: clamp(28px, 4vw, 44px) clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: rgb(var(--navy-rgb) / .74);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(var(--cream-rgb) / .07), 0 30px 60px -30px rgb(0 0 0 / .9);
  text-align: center;
}
.vault-lock {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--cream); color: var(--navy);
}
.vault-lock svg { width: 24px; height: 24px; }
.vault-card :is(h2, h3) { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.vault-text { max-width: 40ch; color: var(--fg-2); text-wrap: pretty; }
.vault-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 8px; }
.vault-form input[type="email"] {
  flex: 1 1 220px; min-width: 0; height: 48px; padding: 0 20px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface-2); color: var(--fg);
  font-size: 16px;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.vault-form input[type="email"]::placeholder { color: var(--fg-3); }
.vault-form input[type="email"]:focus { outline: none; border-color: var(--cream); box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / .14); }
.vault-form input[aria-invalid="true"] { border-color: #ff8a80; }
.vault-form .btn { flex: 1 1 auto; }
.vault-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vault-note { margin-top: 12px; font-size: 13.5px; color: var(--fg-3); }
.vault-error { font-size: 14.5px; font-weight: 600; color: #ff8a80; }

/* /portfolio/ page: a slim top bar and footer around the portfolio section */
.pf-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 22px;
}
.pf-bar .brand { grid-column: auto; justify-self: auto; }
.pf-bar-actions { display: flex; align-items: center; gap: 12px; }
.pf-page .portfolio { padding-top: clamp(40px, 6vw, 72px); }
.pf-page .section-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; }
.pf-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 28px 40px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--fg-3);
}
.pf-foot a:hover { color: var(--fg); }

/* ---------- Problem / Solution ---------- */
.compare { display: grid; gap: 20px; max-width: 1080px; margin: 0 auto; }
.compare-card { position: relative; overflow: hidden; padding: clamp(26px, 3.4vw, 42px); border-radius: var(--radius-lg); }
.compare-card h3 {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}
.compare-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; }
.compare-icon svg { width: 20px; height: 20px; }
.compare-card ul { display: grid; gap: 12px; }
.compare-card li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; border-radius: 14px;
  font-size: 15.5px; font-weight: 600; line-height: 1.45;
}
.compare-card li svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; }

.compare-card--problem {
  background: var(--cream-lighter); color: var(--navy);
  border: 1px solid rgb(var(--navy-rgb) / .08);
  box-shadow: 0 30px 60px -44px rgb(var(--navy-rgb) / .45);
}
.compare-card--problem .compare-icon { background: rgb(var(--navy-rgb) / .07); }
.compare-card--problem li {
  background: rgb(var(--navy-rgb) / .03); border: 1px solid rgb(var(--navy-rgb) / .06);
  color: rgb(var(--navy-rgb) / .74);
}
.compare-card--problem li svg { background: rgb(var(--navy-rgb) / .08); color: rgb(var(--navy-rgb) / .55); }

.compare-card--solution {
  background: var(--navy); color: var(--cream);
  box-shadow: 0 40px 80px -40px rgb(var(--navy-rgb) / .75);
}
.compare-card--solution::before {
  content: ""; position: absolute; top: -40%; right: -30%;
  width: 90%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(var(--cream-rgb) / .16), transparent);
  pointer-events: none;
}
.compare-card--solution > * { position: relative; }
.compare-card--solution .compare-icon { background: var(--cream); color: var(--navy); }
.compare-card--solution li { background: rgb(var(--cream-rgb) / .05); border: 1px solid rgb(var(--cream-rgb) / .1); }
.compare-card--solution li svg { background: var(--cream); color: var(--navy); }

@media (min-width: 900px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ---------- Process ---------- */
.steps { display: grid; gap: clamp(88px, 11vw, 140px); }
.step { display: grid; align-items: center; gap: 44px; }
.step-badge { /* main.js slides the number over the word like a switch while scrolling */
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 22px; padding: 5px 5px 5px 18px;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: var(--surface-2);
  font-size: 19px; font-weight: 700; color: var(--fg-3);
}
.step-badge b {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--cream); color: var(--navy);
  font-size: 21px;
}
@media (prefers-reduced-motion: no-preference) {
  /* the square can be held and dragged; it grows a touch while held, like a switch's knob */
  .js .step-badge { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; } /* the whole badge is the handle */
  .js .step-badge b { transition: scale .2s var(--ease-out); }
  .js .step-badge.is-dragging { cursor: grabbing; }
  .js .step-badge.is-dragging b { scale: 1.08; }
  /* the floating cards and icons in the process mock-ups can be dragged too (main.js "Hold and drag") */
  .js :is(.note-card, .file-card, .toast, .mock-publish .platform) { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
  .js :is(.note-card, .file-card, .toast, .mock-publish .platform).is-held { z-index: 10; } /* above its neighbours until it lands */
  .js :is(.note-card, .file-card, .toast, .mock-publish .platform).is-dragging { cursor: grabbing; }
}
.step-copy h3 { margin-bottom: 14px; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.08; }
.step-copy p { max-width: 30em; font-size: 1.08rem; color: var(--fg-2); }
.step-line {
  display: block; width: 170px; height: 2px; margin-top: 28px; border-radius: 2px;
  background: linear-gradient(90deg, var(--cream), transparent);
  transform-origin: left;
}
.is-in .step-line { animation: grow 1.3s .35s var(--ease-out) both; }

@media (min-width: 900px) {
  .step { grid-template-columns: 1fr 1fr; gap: clamp(56px, 7vw, 100px); }
  .step--flip .step-copy { order: 2; }
}

/* Mock UIs */
.mock { position: relative; max-width: 520px; margin: 0 auto; }
.mock-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 600; color: var(--fg-2);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgb(var(--cream-rgb) / .2); }
.mock-title { flex: 1; text-align: center; }
.mock-live { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.mock-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 3px rgb(255 90 79 / .22); }
.mock-chip { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 11px; }

.mock-call, .mock-editor {
  border: 1px solid var(--line-2); border-radius: 22px;
  background: var(--navy-raised);
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .95), 0 0 70px -24px rgb(var(--cream-rgb) / .14);
}

/* Step 1 — call */
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.call-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3.4; border-radius: 14px; }
.call-tile--you {
  color: #0a0503;
  background:
    radial-gradient(70% 60% at 72% 18%, rgb(236 176 102 / .6), transparent 70%),
    linear-gradient(160deg, #3d2615, #150c06);
}
.call-tile--you .presenter { width: 118%; bottom: -26%; }
.call-tile--us {
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 50% 115%, rgb(239 224 205 / .3), transparent 70%),
    linear-gradient(180deg, #03112b, #0b2550);
  box-shadow: inset 0 0 0 2px rgb(239 224 205 / .6);
}
.tile-mark { width: 48%; height: auto; aspect-ratio: 109.8 / 70.933; color: var(--cream); }
/* Day: our tile turns to a daytime sky, so the navy mark (var(--cream) in day) shows */
:root[data-mode="day"] .call-tile--us {
  background:
    radial-gradient(80% 70% at 50% 115%, rgb(255 255 255 / .75), transparent 70%),
    linear-gradient(180deg, #4f86d4, #a9c9ee);
  box-shadow: inset 0 0 0 2px rgb(0 14 37 / .18);
}
.tile-name {
  position: absolute; left: 8px; bottom: 8px; z-index: 3;
  padding: 3px 8px; border-radius: 6px;
  background: rgb(0 0 0 / .5);
  font-size: 11px; font-weight: 600; color: #fff;
}
.call-controls { display: flex; justify-content: center; gap: 10px; padding: 2px 14px 16px; }
.call-controls span {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: rgb(var(--cream-rgb) / .08);
}
.call-controls svg { width: 17px; height: 17px; }
.call-controls .end { width: 56px; border-radius: 999px; border-color: transparent; background: #e5484d; color: #fff; }
.call-controls .end svg { width: 20px; height: 20px; }

.note-card {
  position: absolute; right: -5%; top: calc(100% - 44px); /* tucked under the call; the list unfolds downwards */
  width: min(250px, 58%); padding: 16px 18px;
  border-radius: 16px;
  background: var(--cream); color: var(--navy);
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / .75);
  animation: float 6s ease-in-out infinite;
}
.note-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; font-weight: 700; }
.note-title svg { width: 11px; height: 15px; }
.note-card li {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; border-top: 1px solid rgb(var(--navy-rgb) / .08);
  font-size: 12.5px; font-weight: 600;
}
.note-card li svg { flex: none; width: 14px; height: 14px; }

/* Step 2 — upload */
.mock-upload { padding-block: 26px 44px; }
.dropzone {
  display: grid; place-content: center; justify-items: center; gap: 12px;
  aspect-ratio: 16 / 10.5; padding: 20px;
  border: 2px dashed rgb(var(--cream-rgb) / .28); border-radius: 22px;
  background: rgb(var(--cream-rgb) / .025);
  text-align: center;
}
.dz-icon {
  display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 18px;
  border: 1px solid var(--line-2); background: rgb(var(--cream-rgb) / .08);
  animation: bob 3s ease-in-out infinite;
}
.dz-icon svg { width: 28px; height: 28px; }
.dropzone p { font-weight: 600; color: var(--fg-2); }
.dz-sources { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.dz-sources span {
  padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 11.5px; font-weight: 600; color: var(--fg-3);
}
.file-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  width: min(290px, 72%); padding: 12px 14px;
  border-radius: 14px;
  background: var(--cream); color: var(--navy);
  box-shadow: 0 20px 40px -16px rgb(0 0 0 / .75);
}
.file-card--a { left: -4%; bottom: 0; animation: float 7s ease-in-out infinite; }
.file-card--b { right: -4%; top: 0; animation: float 7s -3.5s ease-in-out infinite; }
.file-icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--navy); color: var(--cream);
}
.file-icon svg { width: 20px; height: 20px; }
.file-meta { display: grid; flex: 1; gap: 3px; min-width: 0; }
.file-meta b { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.file-sub { font-size: 11.5px; font-weight: 600; color: rgb(var(--navy-rgb) / .6); }
.file-progress { height: 4px; margin-top: 3px; border-radius: 4px; overflow: hidden; background: rgb(var(--navy-rgb) / .1); }
.file-progress i { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--navy); }
.file-done {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
}
.file-done svg { width: 13px; height: 13px; }

/* Step 3 — editor */
.editor-preview { margin: 14px 14px 0; aspect-ratio: 16 / 8; border-radius: 12px; }
.editor-preview .presenter { width: 44%; bottom: -2%; } /* head and shoulders, framed in the middle */
.editor-caption {
  position: absolute; left: 0; right: 0; bottom: 11%; z-index: 3;
  font-size: clamp(12px, 1.35vw, 16px); font-weight: 700;
  text-align: center; text-transform: uppercase; color: #fff;
  text-shadow: 0 2px 0 rgb(0 0 0 / .45);
}
.timeline {
  position: relative; display: grid; gap: 7px;
  margin: 14px; padding: 10px 10px 10px 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgb(0 0 0 / .22);
}
.track { display: grid; grid-template-columns: 38px 1fr; align-items: center; }
.track-label { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-align: center; color: var(--fg-3); }
.lane { position: relative; height: 22px; border-radius: 6px; background: rgb(var(--cream-rgb) / .04); }
.lane i {
  position: absolute; top: 2px; bottom: 2px; left: var(--l); width: var(--w);
  border: 1px solid rgb(var(--cream-rgb) / .3); border-radius: 5px;
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .26), rgb(var(--cream-rgb) / .14));
}
.lane--cc i { top: 6px; bottom: 6px; border: 0; background: rgb(var(--cream-rgb) / .8); }
.lane--wave {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20' preserveAspectRatio='none'%3E%3Cpath fill='%23efe0cd' fill-opacity='.6' d='M0 7h2v6h-2zM4 5h2v10h-2zM8 3h2v14h-2zM12 6h2v8h-2zM16 2h2v16h-2zM20 4h2v12h-2zM24 1h2v18h-2zM28 5.5h2v9h-2zM32 3.5h2v13h-2zM36 6.5h2v7h-2zM40 2.5h2v15h-2zM44 4.5h2v11h-2zM48 1.5h2v17h-2zM52 5h2v10h-2zM56 7h2v6h-2zM60 4h2v12h-2zM64 2h2v16h-2zM68 6h2v8h-2zM72 3h2v14h-2zM76 4.5h2v11h-2zM80 1h2v18h-2zM84 3.5h2v13h-2zM88 5.5h2v9h-2zM92 2.5h2v15h-2zM96 6.5h2v7h-2zM100 4h2v12h-2zM104 2h2v16h-2zM108 5h2v10h-2zM112 3h2v14h-2zM116 6h2v8h-2z'/%3E%3C/svg%3E") left center / 120px 100% repeat-x,
    rgb(var(--cream-rgb) / .04);
}
.playhead {
  position: absolute; top: -5px; bottom: -5px; left: 38px;
  width: 2px; background: var(--cream);
  box-shadow: 0 0 10px rgb(var(--cream-rgb) / .8);
  animation: playhead 7s linear infinite;
}
.playhead::before {
  content: ""; position: absolute; top: -2px; left: -5px;
  width: 12px; height: 10px;
  background: var(--cream);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}
.toast {
  position: absolute; right: 14px; top: 20%; max-width: calc(100% - 28px);
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px;
  background: var(--cream); color: var(--navy);
  font-size: 13px; font-weight: 700;
  box-shadow: 0 24px 50px -16px rgb(0 0 0 / .75);
  animation: float 6s -2s ease-in-out infinite;
}
.toast-dot {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
}
.toast-dot svg { width: 12px; height: 12px; }

/* Step 4 — publish */
.mock-publish { padding: 36px 0 0; }
.publish-card {
  position: relative; overflow: hidden;
  width: min(290px, 70%); margin: 0 auto;
  border-radius: 20px;
  background: var(--cream); color: var(--navy);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .95), 0 0 90px -30px rgb(var(--cream-rgb) / .45);
  animation: float 7s ease-in-out infinite;
}
.publish-chart { position: relative; height: 150px; padding: 22px 18px 0 0; background: var(--navy); color: var(--cream); } /* room on the right for the line's glowing head */
.publish-chart svg { width: 100%; height: 100%; overflow: visible; }
.publish-meta { display: grid; gap: 10px; padding: 16px 18px 18px; }
.publish-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
/* The post's fate, shown as the views cross each threshold (main.js "Post again") */
.publish-tier {
  padding: 2px 8px; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  animation: tier-in .5s var(--ease-out);
}
@keyframes tier-in { 0% { opacity: 0; scale: .6; } 60% { scale: 1.12; } 100% { opacity: 1; scale: 1; } }
/* "Post again", centred under the stats: replays the publish step's game. It appears
   once the first (automatic) post has landed: main.js adds .can-repost to the step. */
.repost {
  display: flex; align-items: center; gap: 7px; width: fit-content;
  margin: 18px auto 0; padding: 9px 18px; border: 1px solid var(--cream); border-radius: 999px;
  background: var(--cream); color: var(--navy);
  font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.repost svg { width: 15px; height: 15px; transition: rotate .5s var(--ease-out); }
/* hover / press: turns navy, the cream outline keeps it visible on the dark section */
.repost:hover, .repost:active, .repost:focus-visible { background: var(--navy); color: var(--cream); }
.repost:hover svg { rotate: -90deg; }
.repost:active svg { rotate: -360deg; transition-duration: .3s; }
.js .repost { visibility: hidden; opacity: 0; translate: 0 12px; transition: visibility .6s, opacity .6s var(--ease), translate .8s var(--ease-out), background-color .25s, color .25s, border-color .25s; }
.js .can-repost .repost { visibility: visible; opacity: 1; translate: 0 0; }
.publish-status svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--cream); }
.publish-lines { display: grid; gap: 7px; }
.publish-lines i { height: 8px; border-radius: 8px; background: rgb(var(--navy-rgb) / .1); }
.publish-lines i:last-child { width: 60%; }
.platform {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 15px;
  border: 1px solid var(--line-2); background: var(--navy-soft); color: var(--cream);
  box-shadow: 0 16px 30px -12px rgb(0 0 0 / .8);
  animation: float 6s ease-in-out infinite;
}
.platform svg { width: 24px; height: 24px; }
.platform--yt { left: 4%; top: 8%; --r: -8deg; animation-delay: -1s; }
.platform--ig { right: 6%; top: 2%; --r: 8deg; animation-delay: -2s; }
.platform--tt { left: 0; top: 46%; --r: 6deg; animation-delay: -3s; }
.platform--li { right: 1%; top: 42%; --r: -6deg; animation-delay: -4s; }
.platform--sp { right: 14%; top: 70%; --r: 4deg; animation-delay: -5s; width: 42px; height: 42px; border-radius: 13px; }
.platform--sp svg { width: 20px; height: 20px; }
.stat-chips { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; gap: 10px; margin-top: 30px; }
.stat-chips > span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgb(var(--cream-rgb) / .06);
  font-size: 13px; color: var(--fg-2);
}
.stat-chips svg { width: 16px; height: 16px; color: var(--cream); }
.stat-chips b { font-size: 15px; color: var(--cream); }
/* Conversion milestones (1.11%, 2.22%…): the chip flashes and the number jumps */
.stat-chips > .is-boost { animation: chip-boost .7s var(--ease-out); }
.stat-chips > .is-boost b { transform-origin: left center; animation: num-boost .7s var(--ease-out); }
@keyframes chip-boost {
  0%   { border-color: var(--cream); box-shadow: 0 0 0 0 rgb(var(--cream-rgb) / .55), 0 0 24px rgb(var(--cream-rgb) / .35); }
  100% { box-shadow: 0 0 0 12px rgb(var(--cream-rgb) / 0), 0 0 24px rgb(var(--cream-rgb) / 0); }
}
@keyframes num-boost { 0%, 100% { scale: 1; } 22% { scale: 1.22; text-shadow: 0 0 14px rgb(var(--cream-rgb) / .8); } }

/* Process motion: each step plays once its [data-centered] picture reaches the
   middle of the screen (main.js adds .is-live to the step). */

/* Step 1: the style guide unfolds, line by line, ticks popping in */
.note-fold { display: grid; grid-template-rows: 1fr; }
.note-fold > ul { min-height: 0; overflow: hidden; }
.js .note-fold { grid-template-rows: 0fr; transition: grid-template-rows 1s .1s var(--ease-out); }
.js .is-live .note-fold { grid-template-rows: 1fr; }
.js .note-card li { opacity: 0; transform: translateY(-8px); transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.js .note-card li svg { scale: 0; transition: scale .5s cubic-bezier(.34, 1.56, .64, 1); }
.js .is-live .note-card li, .js .is-live .note-card li svg { opacity: 1; transform: none; scale: 1; }
.js .is-live .note-card li:nth-child(1) { transition-delay: .3s; }
.js .is-live .note-card li:nth-child(2) { transition-delay: .5s; }
.js .is-live .note-card li:nth-child(3) { transition-delay: .7s; }
.js .is-live .note-card li:nth-child(1) svg { transition-delay: .5s; }
.js .is-live .note-card li:nth-child(2) svg { transition-delay: .7s; }
.js .is-live .note-card li:nth-child(3) svg { transition-delay: .9s; }

/* Counting numbers keep their final width (set by main.js) and grow leftwards */
[data-count] { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Step 2: the upload bar starts low; main.js fills it with the percentage */
.js .file-progress i { width: 12%; }

/* Step 3: karaoke captions. The beige highlight (same look as the <mark> it replaces) jumps
   from word to word, springing a little as it lands; main.js sizes and moves it. */
.cap-word { transition: color .18s, text-shadow .18s; }
.cap-word.is-on { color: var(--navy); text-shadow: none; }
.cap-hl {
  position: absolute; left: 0; top: 0; z-index: -1;
  border-radius: .22em;
  background: var(--cream);
  box-shadow: 0 4px 14px -6px rgb(0 0 0 / .55);
  transition: transform .42s cubic-bezier(.34, 1.56, .64, 1), width .42s cubic-bezier(.34, 1.56, .64, 1), opacity .35s var(--ease);
  pointer-events: none;
}
.editor-caption.is-resting .cap-hl { opacity: 0; }
/* then the review toast */
.js .toast { opacity: 0; translate: 0 16px; transition: opacity .6s 1.7s var(--ease), translate .9s 1.7s var(--ease-out); }
.js .is-live .toast { opacity: 1; translate: 0 0; }

/* Step 4: the platforms pop in, the chart climbs (main.js), the stats rise and count */
.js .platform { opacity: 0; scale: .4; transition: opacity .5s var(--ease), scale .7s cubic-bezier(.34, 1.56, .64, 1); }
.js .is-live .platform { opacity: 1; scale: 1; }
.js .is-live .platform--yt { transition-delay: .1s; }
.js .is-live .platform--ig { transition-delay: .3s; }
.js .is-live .platform--tt { transition-delay: .5s; }
.js .is-live .platform--li { transition-delay: .7s; }
.js .is-live .platform--sp { transition-delay: .9s; }
.js .publish-chart svg { clip-path: inset(-10% 100% -10% 0); }
.js .chart-area { opacity: 0; }
.chart-dot {
  position: absolute; left: 0; top: 0;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / .16), 0 0 18px rgb(var(--cream-rgb) / .9);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.publish-chart.is-drawing .chart-dot { opacity: 1; }
.chart-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgb(var(--cream-rgb) / .7);
  opacity: 0;
}
.publish-chart.is-done .chart-dot::after { animation: pulse 2.4s var(--ease-out) infinite; }
.js .stat-chips > span { opacity: 0; translate: 0 12px; transition: opacity .6s var(--ease), translate .8s var(--ease-out); }
.js .is-live .stat-chips > span { opacity: 1; translate: 0 0; }
.js .is-live .stat-chips > span:nth-child(1) { transition-delay: .6s; }
.js .is-live .stat-chips > span:nth-child(2) { transition-delay: .76s; }
.js .is-live .stat-chips > span:nth-child(3) { transition-delay: .92s; }
.js .is-live .stat-chips > span:nth-child(4) { transition-delay: 1.08s; }

/* ---------- Pricing ---------- */
.plans { display: grid; gap: 22px; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  border: 1px solid rgb(var(--navy-rgb) / .08); border-radius: var(--radius-lg);
  background: var(--cream-lighter);
  box-shadow: 0 30px 60px -44px rgb(var(--navy-rgb) / .45);
}
.plan--featured {
  --fg: var(--cream);
  --fg-2: rgb(var(--cream-rgb) / .74);
  --fg-3: rgb(var(--cream-rgb) / .54);
  --line: rgb(var(--cream-rgb) / .14);
  padding-block: 44px 32px;
  border-color: var(--navy);
  background:
    radial-gradient(90% 50% at 100% 0%, rgb(var(--cream-rgb) / .12), transparent 70%),
    var(--navy);
  color: var(--cream);
  box-shadow: 0 50px 90px -40px rgb(var(--navy-rgb) / .85);
}
.plan-badge {
  position: absolute; top: 0; left: 50%;
  padding: 7px 14px; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .35), 0 0 0 5px var(--cream);
  transform: translate(-50%, -50%);
}
.plan-head { margin-bottom: 22px; }
.plan-peak { width: 64px; height: 28px; margin-bottom: 18px; fill: currentColor; }
.plan-name { font-size: 1.6rem; }
.plan-tag { margin-top: 4px; font-size: 15px; color: var(--fg-2); }
.plan-volume { font-size: clamp(2.2rem, 3.4vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.plan-volume span { display: block; margin-top: 8px; font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--fg-2); }
.plan-price {
  margin: 12px 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--fg-3);
}
.plan-list { display: grid; flex: 1; align-content: start; gap: 13px; margin-bottom: 30px; }
.plan-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; }
.plan-list svg {
  flex: none; width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%;
  background: var(--navy); color: var(--cream);
}
.plan--featured .plan-list svg { background: var(--cream); color: var(--navy); }
.plan-list-new em {
  align-self: center; margin-left: auto; padding: 3px 8px; border-radius: 999px;
  background: var(--navy); color: var(--cream);
  font-size: 10.5px; font-style: normal; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.pricing-note { margin-top: 40px; text-align: center; color: var(--fg-2); }
.plans-dots { display: none; } /* phones and tablets only, see below */

@media (min-width: 1024px) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: center; gap: 24px; }
}

/* ---------- Reviews ---------- */
.reviews-viewport {
  overflow: hidden; padding-block: 8px 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.reviews-track {
  --gap: 20px;
  display: flex; gap: var(--gap); width: max-content;
  animation: reviews 70s linear infinite;
}
.reviews-viewport:hover .reviews-track,
.reviews-viewport:focus-within .reviews-track { animation-play-state: paused; }
.review {
  display: flex; flex: none; flex-direction: column; gap: 16px;
  width: min(380px, 82vw); padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .065), rgb(var(--cream-rgb) / .02));
}
.review-stars { display: flex; gap: 3px; color: var(--cream); }
.review-stars svg { width: 17px; height: 17px; }
.review-tag {
  align-self: flex-start; padding: 5px 12px; border-radius: 999px;
  background: var(--cream); color: var(--navy);
  font-size: 13px; font-weight: 600;
}
.review blockquote { flex: 1; font-size: 16px; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 15.5px; }
.review figcaption small { display: block; font-size: 13.5px; color: var(--fg-3); }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(145deg, #f6ecdf, #d8c1a2);
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.review:nth-child(5n + 2) .avatar { background: linear-gradient(145deg, #dbe3ef, #93a7c6); }
.review:nth-child(5n + 3) .avatar { background: linear-gradient(145deg, #e2e7dc, #a1b09a); }
.review:nth-child(5n + 4) .avatar { background: linear-gradient(145deg, #f0ddd5, #c49f93); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface);
  transition: border-color .3s, background-color .3s;
}
.faq-item:hover { border-color: var(--line-2); }
.faq-item[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 24px; list-style: none; cursor: pointer;
  font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  flex: none; width: 26px; height: 26px; padding: 4px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.faq-item[open] summary svg { transform: rotate(180deg); border-color: var(--cream); background: var(--cream); color: var(--navy); }
.faq-answer { max-width: 64ch; padding: 0 24px 24px; color: var(--fg-2); }

@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq-item::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .45s var(--ease), content-visibility .45s allow-discrete;
  }
  .faq-item[open]::details-content { block-size: auto; }
}

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 48px; }
.book-copy { display: grid; justify-items: start; gap: 20px; }
.book-copy h2 { text-align: left; }
.book-points { display: grid; gap: 14px; margin-top: 6px; }
.book-points li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.book-point-icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--navy); color: var(--cream);
}
.book-point-icon svg { width: 20px; height: 20px; }
.book-mail { margin-top: 4px; color: var(--fg-2); }
.book-mail a { border-bottom: 1px solid var(--line-2); font-weight: 600; color: var(--fg); }
.book-mail a:hover { border-color: var(--fg); }

.book-card {
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid rgb(var(--navy-rgb) / .08); border-radius: var(--radius-lg);
  background: var(--cream-lighter);
  box-shadow: 0 40px 80px -50px rgb(var(--navy-rgb) / .55);
}
.book-form { display: grid; gap: 18px; }
.field-row { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { padding: 0; font-size: 14px; font-weight: 600; }
.field legend { margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px;
  border: 1px solid rgb(var(--navy-rgb) / .16); border-radius: 12px;
  background: #fff; color: var(--navy);
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgb(var(--navy-rgb) / .4); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 4px rgb(var(--navy-rgb) / .1);
}
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 4px rgb(179 38 30 / .12); }
.select-wrap { position: relative; }
.select-wrap select { padding-right: 44px; cursor: pointer; }
.select-wrap svg {
  position: absolute; right: 14px; top: 50%;
  width: 18px; height: 18px;
  transform: translateY(-50%); pointer-events: none;
}
.choice-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-chips label { position: relative; cursor: pointer; }
.choice-chips input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice-chips span {
  display: inline-flex; align-items: center;
  height: 42px; padding: 0 18px;
  border: 1px solid rgb(var(--navy-rgb) / .18); border-radius: 999px;
  background: #fff;
  font-size: 14.5px; font-weight: 600;
  transition: background-color .2s, color .2s, border-color .2s;
}
.choice-chips input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--cream); }
.choice-chips input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-note { font-size: 13.5px; text-align: center; color: var(--fg-3); }
.form-status { font-size: 14.5px; font-weight: 600; text-align: center; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; }
.form-status.is-ok { padding: 14px 16px; border-radius: 12px; background: rgb(var(--navy-rgb) / .06); }
.calendly-slot iframe { display: block; width: 100%; height: 720px; border: 0; border-radius: 16px; }

@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .book-grid { grid-template-columns: 1fr 1.05fr; align-items: center; gap: 72px; }
}

/* ---------- Final CTA ---------- */
.cta-final { padding-bottom: calc(var(--section-y) * .9); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 10vw, 128px) 24px clamp(150px, 17vw, 230px);
  border: 1px solid var(--line-2); border-radius: var(--radius-panel);
  background:
    radial-gradient(70% 60% at 50% 112%, rgb(var(--cream-rgb) / .26), transparent 70%),
    linear-gradient(180deg, #04193f 0%, var(--navy) 72%);
  box-shadow: 0 50px 120px -60px rgb(var(--cream-rgb) / .35);
  text-align: center;
}
.cta-content { position: relative; z-index: 2; display: grid; justify-items: center; gap: 22px; max-width: 700px; margin: 0 auto; }
.cta-star {
  width: 34px; height: 46px;
  color: var(--cream);
  filter: drop-shadow(0 0 18px rgb(var(--cream-rgb) / .85));
  animation: twinkle 4s ease-in-out infinite;
}
.cta-card h2 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.cta-card p { max-width: 520px; font-size: 1.12rem; color: var(--fg-2); }
.pains { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.pains li {
  position: absolute; left: var(--x); top: var(--y);
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px;
  background: rgb(var(--cream-rgb) / .05);
  font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--fg-3);
  text-decoration: line-through; text-decoration-color: rgb(var(--cream-rgb) / .6); text-decoration-thickness: 1.5px;
  transform: rotate(var(--r));
  animation: drift 8s var(--f) ease-in-out infinite;
}
.ridges--cta { height: clamp(110px, 16vw, 210px); }
.ridges--cta .ridge-1 { fill: #0a2150; }
.ridges--cta .ridge-2 { fill: #041330; }

@media (max-width: 899px) {
  .pains { position: relative; inset: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 40px; }
  .pains li { position: static; font-size: 13px; animation: none; transform: rotate(calc(var(--r) / 2)); }
}
@media (max-width: 560px) {
  .pains { gap: 12px 8px; }
  .pains li:nth-child(n + 4) { display: none; }
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1fr auto; align-items: start; gap: 56px; }
}
.footer-brand { display: grid; justify-items: start; gap: 18px; }
.footer-brand .brand { grid-column: auto; grid-row: auto; justify-self: start; } /* undo the nav bar's placement */
.footer-brand p { max-width: 30ch; color: var(--fg-2); }
.footer-contact { display: grid; justify-items: start; align-content: start; gap: 16px; }
.footer-contact h2 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase;
}
.footer-mail {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 0;
  font-size: 1.08rem; color: var(--fg);
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 6px;
  transition: text-decoration-color .25s;
}
.footer-mail:hover { text-decoration-color: var(--cream); }
.footer-mail svg { width: 20px; height: 20px; flex: none; color: var(--fg-2); }
.footer-book { margin-top: 6px; }
.footer-book-icon { width: 19px; height: 19px; flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px;
  margin-top: 56px; padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--fg-3);
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--fg); }
.footer-word {
  display: flex; align-items: flex-end; justify-content: center; gap: 2.4vw;
  margin: 12px 0 -2.6vw;
  pointer-events: none; user-select: none;
}
.footer-word span {
  font-size: clamp(60px, 16.5vw, 250px); font-weight: 700; line-height: .8; letter-spacing: .06em;
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .17), rgb(var(--cream-rgb) / 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-word-mark {
  width: clamp(60px, 14vw, 210px); height: auto; aspect-ratio: 109.8 / 70.933;
  margin-bottom: .6vw;
  color: rgb(var(--cream-rgb) / .14);
}


/* ---------- Floating audit button ---------- */
.audit-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  height: 50px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--cream); color: var(--navy);
  font-size: 14.5px; font-weight: 700;
  box-shadow: 0 16px 40px -10px rgb(0 0 0 / .65), 0 0 0 1px rgb(var(--navy-rgb) / .1);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.audit-fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.audit-fab.is-visible:hover { transform: translateY(-2px); }
.audit-fab svg { width: 13px; height: 18px; animation: twinkle 3s ease-in-out infinite; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Ambient motion ----------
   A quiet layer on top of the page: depth, mist and moonlight in the hero,
   topographic contours, lit card edges and the portfolio's lock. main.js adds
   the constellations, --mx/--my (hero depth) and --gx/--gy (card light). */

/* Hero depth: layers drift apart with the mouse (oversized so no edge shows; max-width: none
   lifts the base 100% cap on svg/canvas, which would leave them off-centre) */
.hero-stage { --mx: 0; --my: 0; }
.hero .starfield {
  inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); max-width: none;
  translate: calc(var(--mx) * -8px) calc(var(--my) * -6px);
}
.hero-intro { translate: calc(var(--mx) * 8px) calc(var(--my) * 5px); }
.hero-feature { translate: calc(var(--mx) * 4px) calc(var(--my) * 3px); }
.ridges--hero { left: -24px; right: auto; width: calc(100% + 48px); max-width: none; translate: calc(var(--mx) * -16px) 0; }

/* Moonlight passing over the wordmark */
.hero-presents { position: relative; }
.hero-presents::after {
  content: attr(data-sheen);
  content: attr(data-sheen) / "";
  position: absolute; inset: 0;
  color: transparent; text-shadow: none;
  background: linear-gradient(100deg, transparent 44%, rgb(255 249 240 / .9) 50%, transparent 56%) no-repeat;
  background-size: 250% 100%;
  background-position: 110% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sheen 10s 2.8s ease-in-out infinite;
  pointer-events: none;
}

/* A glint of light running along the ridgeline */
.ridge-glint {
  fill: none; stroke: var(--cream); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 22 1000; stroke-dashoffset: 22;
  filter: drop-shadow(0 0 4px rgb(var(--cream-rgb) / .9));
  animation: glint 12s 3.5s ease-in-out infinite;
}
.ridges--cta .ridge-glint { animation-duration: 15s; animation-delay: 7s; }

/* Mist drifting through the range: two seamless bands sliding opposite ways */
.hero-mist {
  position: absolute; left: -12%; right: -12%; bottom: 0; z-index: 1;
  height: clamp(150px, 21vw, 300px);
  overflow: hidden; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, #000 75%, transparent);
  translate: calc(var(--mx) * -24px) 0;
}
.hero-mist i {
  position: absolute; top: 0; bottom: 0; left: 0; width: 200%;
  background:
    radial-gradient(16% 42% at 22% 62%, rgb(var(--cream-rgb) / .1), transparent 70%),
    radial-gradient(12% 30% at 52% 74%, rgb(var(--cream-rgb) / .07), transparent 70%),
    radial-gradient(17% 40% at 80% 58%, rgb(var(--cream-rgb) / .09), transparent 70%);
  background-size: 50% 100%;
  animation: mist 80s linear infinite;
}
.hero-mist i + i {
  top: 22%;
  background:
    radial-gradient(14% 38% at 12% 50%, rgb(var(--cream-rgb) / .07), transparent 70%),
    radial-gradient(18% 44% at 46% 60%, rgb(var(--cream-rgb) / .08), transparent 70%),
    radial-gradient(13% 34% at 76% 46%, rgb(var(--cream-rgb) / .06), transparent 70%);
  background-size: 50% 100%;
  animation-duration: 120s; animation-direction: reverse;
}

/* Contour lines (topographic map) behind the process section and the footer */
.process, .footer, .faq { isolation: isolate; }
.process, .faq { overflow-x: clip; } /* the map is wider than a phone; unclipped, phones zoom the whole page out to fit it */
.contours { position: absolute; z-index: -1; aspect-ratio: 1; pointer-events: none; }
.contours--process { top: clamp(40px, 6vw, 90px); right: -20%; width: min(1000px, 130vw); }
.contours--faq { top: 50%; left: -26%; width: min(900px, 120vw); translate: 0 -50%; opacity: .7; } /* fainter: the questions sit on it */
.contours--footer { left: -18%; bottom: -45%; width: min(900px, 120vw); }
.contours--footer .contours-peak { display: none; } /* its summit would sit on the copyright line */
.contours svg {
  width: 100%; height: 100%; overflow: visible;
  animation: contour-breathe 24s ease-in-out infinite alternate paused;
}
.contours path {
  fill: none; stroke: rgb(var(--cream-rgb) / .16); stroke-width: 1;
  vector-effect: non-scaling-stroke;
  opacity: .32;
  animation: contour-pulse 8s calc(var(--i) * .32s) ease-in-out infinite paused;
}
.contours path:nth-child(5n) { stroke-width: 1.8; } /* index contours, as on a real map */
.contours.is-live svg, .contours.is-live path { animation-play-state: running; }
.contours-peak path { fill: rgb(var(--cream-rgb) / .3); stroke: none; opacity: 1; animation: none; }
.contours-peak text { fill: rgb(var(--cream-rgb) / .32); font-size: 11px; font-weight: 600; letter-spacing: .12em; }

/* Heartbeat lines: main.js redraws straight dividers as SVG (see "Heartbeat lines").
   The SVG's baseline sits on the border; the peaks rise into the 12px above it. */
.has-pulse-top { border-top-color: transparent !important; }
.has-pulse-bottom { border-bottom-color: transparent !important; }
.pulse-line {
  position: absolute; left: 0; z-index: 1;
  width: 100%; height: 12px; overflow: visible;
  fill: none; stroke-linejoin: round; stroke-linecap: round; pointer-events: none;
}
.pulse-line--top { top: -12px; }
.pulse-line--bottom { bottom: calc(var(--bw) * -1); }
.pulse-line--inset { bottom: 0; } /* drawn from the section above a clipping box */
.pl-base { stroke: var(--lc); stroke-width: var(--bw); }
.pl-beat { stroke: currentColor; stroke-width: 1.3; opacity: .75; filter: drop-shadow(0 0 3px currentColor); }

/* Off-screen sections hold their animations (main.js adds .is-offscreen) */
.is-offscreen, .is-offscreen * { animation-play-state: paused !important; }

/* Breathing: slow, staggered motion in the sections that were otherwise still. Only
   opacity / translate / scale move, so the graphics card handles it without repainting. */
.niche-icon { position: relative; animation: icon-breathe 6s ease-in-out infinite; }
.niche-icon::after { /* the glow is drawn once and faded in and out */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 22px 2px rgb(var(--cream-rgb) / .22);
  opacity: 0; animation: glow-breathe 6s ease-in-out infinite; animation-delay: inherit;
}
.niche:nth-child(2) .niche-icon { animation-delay: -2s; }
.niche:nth-child(3) .niche-icon { animation-delay: -4s; }
.compare-card--solution li svg { animation: tick-wave 7s ease-in-out infinite; }
.compare-card--solution li:nth-child(2) svg { animation-delay: .35s; }
.compare-card--solution li:nth-child(3) svg { animation-delay: .7s; }
.compare-card--solution li:nth-child(4) svg { animation-delay: 1.05s; }
.compare-card--solution li:nth-child(5) svg { animation-delay: 1.4s; }
.plan-peak { animation: peak-glow 7.5s ease-in-out infinite; }
.plan:nth-child(2) .plan-peak { animation-delay: -2.5s; }
.plan:nth-child(3) .plan-peak { animation-delay: -5s; }
.plan--featured { animation: card-breathe 6.5s ease-in-out infinite; }
.book-point-icon { animation: tick-wave 7s ease-in-out infinite; }
.book-points li:nth-child(2) .book-point-icon { animation-delay: .4s; }
.book-points li:nth-child(3) .book-point-icon { animation-delay: .8s; }
.book-card { animation: card-breathe 7s ease-in-out infinite; }
@keyframes icon-breathe { 50% { translate: 0 -2px; } }
@keyframes glow-breathe { 50% { opacity: 1; } }
@keyframes tick-wave { 0%, 76%, 100% { scale: 1; } 84% { scale: 1.16; } }
@keyframes peak-glow { 0%, 100% { opacity: .8; translate: 0 0; } 50% { opacity: 1; translate: 0 -2px; } }
@keyframes card-breathe { 50% { translate: 0 -3px; } }

/* Section eyebrows: the north star lands, then keeps a slow twinkle */
.js .section-head.is-in .eyebrow-star { animation: star-in .8s .3s var(--ease-out) both, twinkle 4.5s 1.4s ease-in-out infinite; }

/* Cards catch a light on their edge where the mouse is */
.has-glow { position: relative; }
.has-glow::before {
  content: ""; position: absolute; inset: 0; z-index: 4;
  padding: 1px; border-radius: inherit;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 50%), color-mix(in srgb, var(--fg) 60%, transparent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.has-glow:hover::before { opacity: 1; }

/* Footer: the letters climb out of the mist (split into <i> by main.js) */
.footer-word span.is-split { background: none; }
.footer-word span i {
  display: inline-block; font-style: normal;
  background: linear-gradient(180deg, rgb(var(--cream-rgb) / .17), rgb(var(--cream-rgb) / 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.js .footer-word span i, .js .footer-word-mark {
  opacity: 0; transform: translateY(45%); filter: blur(10px);
  transition: opacity 1.1s var(--ease-out), transform 1.4s var(--ease-out), filter 1.1s var(--ease-out);
  transition-delay: calc(var(--i, -1) * 90ms + 90ms);
}
.footer-word.is-in span i, .footer-word.is-in .footer-word-mark { opacity: 1; transform: none; filter: none; }

/* The portfolio lock: a viewfinder scan over the clips; on submit the shackle opens
   and the clips sharpen before the page changes */
.vault::after {
  content: ""; position: absolute; left: 0; right: 0; top: -100%; z-index: -1;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgb(var(--cream-rgb) / .06) 96%, rgb(var(--cream-rgb) / .5) 99.4%, transparent);
  animation: scan 7s 1s ease-in-out infinite;
  pointer-events: none;
}
.vault-preview { transition: filter .6s var(--ease-out), opacity .6s; }
.vault.is-unlocking .vault-preview { filter: blur(3px); opacity: .85; }
.vault-lock { transition: box-shadow .5s; }
.vault.is-unlocking .vault-lock { box-shadow: 0 0 0 8px rgb(var(--cream-rgb) / .1), 0 0 44px rgb(var(--cream-rgb) / .55); }
.vault-shackle { transform-box: fill-box; transform-origin: 100% 100%; transition: transform .5s var(--ease-out); }
.vault.is-unlocking .vault-shackle { transform: translateY(-2.5px) rotate(-18deg); }

/* /portfolio/ right after unlocking: the lock opens, light bursts, the work appears */
.pf-unlock { display: none; }
.pf-just-unlocked .pf-unlock {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  background: var(--navy);
  pointer-events: none;
  animation: pf-veil .8s .75s var(--ease-out) forwards;
}
.pf-unlock::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
  background: radial-gradient(closest-side, rgb(var(--cream-rgb) / .5), transparent);
  transform: scale(0);
  animation: pf-burst 1.2s .55s var(--ease-out) forwards;
}
.pf-unlock .vault-lock { position: relative; width: 76px; height: 76px; border-radius: 22px; animation: pf-lock 1.4s var(--ease-out) forwards; }
.pf-unlock .vault-lock svg { width: 34px; height: 34px; }
.pf-unlock .vault-shackle { transition: none; animation: pf-shackle .45s .3s var(--ease-out) forwards; }

/* ---------- Phones and tablets ----------
   Shorter scroll, thumb-sized controls, swipe instead of auto-motion where people
   read, and lighter paint work while scrolling. */
@media (max-width: 1023px) {
  /* Pricing: swipe between plans (main.js centres the featured one and adds dots) */
  .plans {
    position: relative; display: flex; align-items: stretch; gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 30px var(--gutter) 26px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { flex: 0 0 min(84%, 380px); scroll-snap-align: center; }
  .plans-dots { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
  .plans-dots button { display: grid; place-items: center; width: 32px; height: 32px; }
  .plans-dots button::before {
    content: ""; width: 8px; height: 8px; border-radius: 999px;
    background: rgb(var(--navy-rgb) / .22);
    transition: width .35s var(--ease-out), background-color .35s;
  }
  .plans-dots button[aria-current="true"]::before { width: 22px; background: var(--navy); }
  .pricing-note { margin-top: 18px; }

  /* Process: the style guide hangs just below the call so it never covers its buttons */
  .mock-call { margin-bottom: 96px; }
  .note-card { top: calc(100% - 18px); right: -2%; }
  .platform--sp { top: 56%; right: 0; } /* keeps clear of the stat tiles */
}

@media (hover: none) {
  /* Reviews: on touch screens people swipe through them instead of chasing a moving strip */
  .reviews-viewport {
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    -webkit-mask-image: none; mask-image: none;
    scrollbar-width: none;
  }
  .reviews-viewport::-webkit-scrollbar { display: none; }
  .reviews-track { animation: none; }
  .reviews-track > [aria-hidden="true"] { display: none; } /* the loop's copies */
  .review { scroll-snap-align: center; }
}

@media (max-width: 759px) {
  :root { --section-y: 72px; }
  .section-head { gap: 14px; margin-bottom: 36px; }

  /* Niches: icon beside the title, tighter card */
  .niche-grid { gap: 12px; }
  .niche { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; padding: 22px 20px; }
  .niche-icon { width: 44px; height: 44px; margin: 0; border-radius: 13px; }
  .niche-icon svg { width: 22px; height: 22px; }
  .niche h3 { margin: 0; font-size: 1.4rem; }
  .niche p, .niche .chips { grid-column: 1 / -1; }
  .niche p { margin: 14px 0 16px; font-size: 15.5px; }

  /* Problem / solution: lighter lists */
  .compare { gap: 14px; }
  .compare-card { padding: 22px 18px; }
  .compare-card h3 { gap: 12px; margin-bottom: 16px; font-size: 1.35rem; }
  .compare-icon { width: 38px; height: 38px; }
  .compare-card ul { gap: 8px; }
  .compare-card li { gap: 12px; padding: 12px 14px; font-size: 15px; }

  /* Process: closer steps. The dropzone drops its fixed shape: on a narrow screen its
     wrapped content would otherwise widen it past the edge to keep the ratio. */
  .dropzone { aspect-ratio: auto; padding: 34px 18px 48px; }
  .steps { gap: 64px; }
  .step { gap: 28px; }
  .step-badge { margin-bottom: 16px; }
  .step-line { margin-top: 20px; }

  /* Step 4: the stats as a tidy 2 × 2 grid of tiles, number above label */
  .stat-chips { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 26px; }
  .stat-chips > span {
    display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center;
    padding: 10px 14px; border-radius: 16px;
  }
  .stat-chips svg { grid-row: span 2; }
  .stat-chips b { justify-self: start; text-align: left; font-size: 16px; line-height: 1.2; }
  .stat-chips > span > span { font-size: 12.5px; line-height: 1.3; }

  /* Booking: the three choices share one row */
  .choice-chips { display: grid; grid-template-columns: repeat(3, 1fr); }
  .choice-chips label { display: grid; }
  .choice-chips span { justify-content: center; padding: 0 8px; }

  /* Footer: the booking button spans the width; small links get room to tap */
  .footer-book { width: 100%; }
  .footer-bottom a { display: inline-block; padding: 8px 0; }

  /* Lighter paint while scrolling: no glow filter on the moving glint, contours keep
     their slow drift but skip the per-line pulse */
  .ridge-glint { filter: none; }
  .contours path { animation: none; opacity: .5; }
}

/* ---------- Keyframes ---------- */
@keyframes sheen { 0% { background-position: 110% 0; } 28%, 100% { background-position: -10% 0; } }
@keyframes glint { 0% { stroke-dashoffset: 22; } 50%, 100% { stroke-dashoffset: -1000; } }
@keyframes mist { to { transform: translateX(-50%); } }
@keyframes contour-pulse { 0%, 100% { opacity: .32; } 10% { opacity: 1; } 22% { opacity: .32; } }
@keyframes contour-breathe { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.04) rotate(6deg); } }
@keyframes scan { 0% { transform: translateY(0); } 55%, 100% { transform: translateY(200%); } }
@keyframes pf-veil { to { opacity: 0; visibility: hidden; } }
@keyframes pf-burst { to { transform: scale(80); opacity: 0; } }
@keyframes pf-lock {
  0% { opacity: 0; transform: scale(.7); }
  22%, 55% { opacity: 1; transform: none; box-shadow: 0 0 60px rgb(var(--cream-rgb) / .5); }
  100% { opacity: 0; transform: scale(1.3); }
}
@keyframes pf-shackle { to { transform: translateY(-2.5px) rotate(-18deg); } }
@keyframes wipe { to { clip-path: inset(-50% -4% -50% -2%); } }
@keyframes star-in { from { opacity: 0; transform: scale(.2) rotate(-40deg); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(.86); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.5); } }
@keyframes marquee { to { transform: translateX(-100%); } }
@keyframes reviews { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes drift { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes progress { from { width: 0; } to { width: 100%; } }
@keyframes playhead { from { left: 38px; } to { left: calc(100% - 12px); } }

/* ---------- Sound & radio (assets/js/radio.js) ----------
   A minimalist radio in the nav opens the hub: it grows out of the button as a circle,
   its rows slide in one after another, and a ring of bars dances to the music around
   the north star. Music: Epidemic Sound; interface sounds: ElevenLabs. */
.radio-btn { /* just the sound icon: no box */
  position: relative; display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  color: var(--cream); background: transparent;
  transition: background-color .25s, transform .25s var(--ease);
}
.radio-btn:hover, .radio-btn[aria-expanded="true"] { background: var(--surface-2); }
.radio-btn:active { transform: scale(.92); }
.sound-icon { width: 24px; height: 24px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.si-speaker { fill: currentColor; fill-opacity: .14; }
.si-wave { opacity: .3; transition: opacity .3s; } /* all sound off: the waves rest faintly */
.radio-btn.has-sound .si-wave { opacity: 1; }
.radio-btn.is-playing .si-wave { animation: sound-wave 1.4s ease-in-out infinite; } /* music on: they pulse outwards */
.radio-btn.is-playing .si-wave--2 { animation-delay: .2s; }
@keyframes sound-wave { 0%, 100% { opacity: .35; translate: 0 0; } 50% { opacity: 1; translate: 1.5px 0; } }
/* radio on: the speaker gives way to the little radio, with its antenna waves, eq bars and breathing ring */
.sound-icon, .radio-icon { grid-area: 1 / 1; transition: opacity .35s var(--ease), scale .45s var(--ease-out); }
.radio-icon { width: 22px; height: 22px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: 0; scale: .6; }
.radio-btn.is-playing .sound-icon { opacity: 0; scale: .6; }
.radio-btn.is-playing .radio-icon { opacity: 1; scale: 1; }
.ri-tip { fill: currentColor; stroke: none; }
.ri-wave { opacity: 0; }
.radio-eq { /* three tiny bars under the speaker while the radio plays */
  position: absolute; left: 50%; bottom: 5px; translate: -50% 0;
  display: flex; align-items: flex-end; gap: 2px; height: 5px; opacity: 0; transition: opacity .3s;
}
.radio-eq i { width: 2px; height: 100%; border-radius: 1px; background: currentColor; transform-origin: bottom; }
.radio-btn.is-playing .radio-eq { opacity: 1; }
.radio-btn.is-playing .radio-eq i { animation: radio-eq .9s ease-in-out infinite alternate; }
.radio-btn.is-playing .radio-eq i:nth-child(2) { animation-duration: .6s; animation-delay: -.3s; }
.radio-btn.is-playing .radio-eq i:nth-child(3) { animation-duration: .75s; animation-delay: -.5s; }
.radio-btn.is-playing .ri-wave { animation: radio-wave 1.6s ease-out infinite; }
.radio-btn.is-playing .ri-wave--2 { animation-delay: .25s; }
.radio-btn.is-playing::after { /* a soft ring breathing out of the button */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; border: 1px solid var(--cream);
  animation: radio-ring 2.4s ease-out infinite; pointer-events: none;
}
@keyframes radio-eq { from { scale: 1 .25; } to { scale: 1 1; } }
@keyframes radio-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes radio-ring { 0% { opacity: .55; scale: 1; } 100% { opacity: 0; scale: 1.35; } }

@media (max-width: 1023px) { /* phones: the dock's right side is full, so the radio sits at its left end, before the altimeter */
  .nav-actions .radio-btn { position: absolute; left: 10px; top: 5px; }
  .nav-status { padding-left: 54px; }
}
@media (min-width: 1024px) { .radio-btn { width: 40px; height: 40px; border-radius: 12px; } }

/* Studio and Book a call (bar, settings tray, phone menu) swap their colours on hover. The tokens
   flip between night and day, so the swap reads right in both. */
@media (hover: hover) {
  .nav-cta:hover, .mobile-menu-foot .btn-primary:hover {
    background: var(--navy); color: var(--cream); border-color: var(--cream);
    box-shadow: 0 0 0 1px rgb(var(--cream-rgb) / .5);
  }
  .nav-studio:hover, .menu-studio:hover {
    background: var(--cream); color: var(--navy); border-color: var(--cream);
  }
}

/* Settings: on phones the wrapper and tray vanish from layout, so their buttons sit in the dock as before */
.nav-settings, .nav-tray { display: contents; }
.nav-gear { display: none; }
@media (min-width: 1024px) {
  .nav-settings { display: block; position: relative; }
  .nav-gear {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
    color: var(--cream); background: transparent;
    transition: background-color .25s, rotate .5s var(--ease);
  }
  .nav-gear svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
  .nav-gear:hover, .nav-gear[aria-expanded="true"] { background: var(--surface-2); }
  .nav-gear[aria-expanded="true"] { rotate: 60deg; }
  /* The tray: a glass pill that drops from the gear */
  .nav-tray {
    display: flex; align-items: center; gap: 6px;
    position: absolute; top: calc(100% + 14px); left: 50%; z-index: 5;
    padding: 6px 6px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px;
    background: rgb(var(--deep-rgb) / .92);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 18px 40px -20px rgb(0 0 0 / .7);
    opacity: 0; translate: -50% -6px; scale: .96; pointer-events: none; visibility: hidden;
    transition: opacity .2s, translate .3s var(--ease), scale .3s var(--ease), visibility 0s .3s;
  }
  .nav-settings.is-open .nav-tray {
    opacity: 1; translate: -50% 0; scale: 1; pointer-events: auto; visibility: visible;
    transition: opacity .2s, translate .3s var(--ease), scale .3s var(--ease);
  }
}

.radio-hub {
  --ox: 50%; --oy: 100%; /* where it grows from: the button (set by radio.js) */
  position: fixed; z-index: 70; left: var(--hub-x, 16px); top: var(--hub-y, auto); bottom: var(--hub-b, auto);
  width: min(360px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow: auto;
  display: grid; gap: 14px; padding: 18px;
  border: 1px solid var(--line-2); border-radius: 26px;
  background: radial-gradient(120% 80% at 50% 0%, rgb(10 31 69 / .96), rgb(var(--deep-rgb) / .97) 70%);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgb(var(--cream-rgb) / .08), 0 40px 80px -30px rgb(0 0 0 / .9), 0 0 0 1px rgb(0 0 0 / .3);
  color: var(--cream);
  clip-path: circle(0 at var(--ox) var(--oy));
  transition: clip-path .7s var(--ease-out), translate .7s var(--ease-out);
  translate: 0 10px;
  scrollbar-width: none;
}
.radio-hub[hidden] { display: grid !important; visibility: hidden; pointer-events: none; } /* kept laid out so it can animate both ways */
.radio-hub.is-open { clip-path: circle(150% at var(--ox) var(--oy)); translate: 0 0; visibility: visible; }
.radio-hub.is-closing { transition-duration: .45s, .45s; transition-timing-function: cubic-bezier(.7, 0, .84, 0); }
.radio-hub > * { opacity: 0; translate: 0 14px; transition: opacity .5s var(--ease), translate .7s var(--ease-out); }
.radio-hub.is-open > * { opacity: 1; translate: 0 0; transition-delay: calc(.08s + var(--s, 0) * .05s); }

.rh-head { display: flex; align-items: center; justify-content: space-between; }
.rh-title { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.rh-freq { font-variant-numeric: tabular-nums; letter-spacing: .04em; text-transform: none; color: var(--fg-2); }
.rh-live { /* red: radio off · green: on air */
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff5b52; box-shadow: 0 0 8px rgb(255 91 82 / .6); transition: background-color .4s, box-shadow .4s;
}
.radio-hub.is-playing .rh-live { background: #3ee08a; box-shadow: 0 0 0 0 rgb(62 224 138 / .6), 0 0 8px rgb(62 224 138 / .7); animation: rh-live 1.6s ease-out infinite; }
@keyframes rh-live { 70% { box-shadow: 0 0 0 7px rgb(62 224 138 / 0), 0 0 8px rgb(62 224 138 / .7); } 100% { box-shadow: 0 0 0 0 rgb(62 224 138 / 0), 0 0 8px rgb(62 224 138 / .7); } }
.rh-close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--fg-2); transition: background-color .2s, color .2s, rotate .4s var(--ease-out); }
.rh-close:hover { background: var(--surface-2); color: var(--cream); rotate: 90deg; }
.rh-close svg { width: 16px; height: 16px; }

.rh-scope { position: relative; display: grid; place-items: center; height: 172px; margin: -4px -8px 0; }
.rh-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rh-star { position: relative; width: 26px; height: 35px; color: var(--cream); filter: drop-shadow(0 0 10px rgb(var(--cream-rgb) / .55)); transition: scale .12s; }
.rh-orbit { position: absolute; width: 150px; height: 150px; border-radius: 50%; border: 1px dashed rgb(var(--cream-rgb) / .12); animation: rh-spin 30s linear infinite; }
.rh-orbit i { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 10px var(--cream); }
.radio-hub.is-playing .rh-orbit { animation-duration: 6s; }
@keyframes rh-spin { to { rotate: 360deg; } }

.rh-now { text-align: center; }
.rh-station { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-3); }
.rh-track { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; gap: 6px; margin-top: 4px; }
.rh-song { min-width: 0; display: grid; }
.rh-song b, .rh-song span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rh-song b { font-size: 16px; font-weight: 700; }
.rh-song span { font-size: 13px; color: var(--fg-2); }
.rh-song.is-new { animation: rh-song .55s var(--ease-out); }
@keyframes rh-song { from { opacity: 0; translate: 0 8px; filter: blur(4px); } }
.rh-skip { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--fg-2); transition: background-color .2s, color .2s, translate .2s; }
.rh-skip svg { width: 16px; height: 16px; rotate: 90deg; }
.rh-skip--next svg { rotate: -90deg; }
.rh-skip:hover { background: var(--surface-2); color: var(--cream); }
.rh-skip:active { translate: -2px 0; }
.rh-skip--next:active { translate: 2px 0; }

.rh-stations { --i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.rh-stations button { position: relative; z-index: 1; height: 34px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--fg-2); transition: color .3s; }
.rh-stations button[aria-checked="true"] { color: var(--navy); }
.rh-pill { /* slides under the chosen station with a little overshoot */
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 10px;
  background: var(--cream); box-shadow: 0 6px 18px -8px rgb(var(--cream-rgb) / .7);
  translate: calc(var(--i) * 100%) 0; transition: translate .55s cubic-bezier(.34, 1.4, .64, 1);
}

.rh-row { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.rh-switch { position: relative; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); transition: background-color .3s, border-color .3s; }
.rh-switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--fg-2); transition: translate .45s cubic-bezier(.34, 1.56, .64, 1), background-color .3s, width .2s; }
.rh-switch:active i { width: 24px; }
.rh-switch[aria-checked="true"] { background: var(--cream); border-color: var(--cream); }
.rh-switch[aria-checked="true"] i { translate: 20px 0; background: var(--navy); }
.rh-switch[aria-checked="true"]:active i { translate: 16px 0; }

.rh-volume { --v: 60%; display: grid; grid-template-columns: auto 1fr 30px; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--fg-2); }
.rh-volume output { text-align: right; font-size: 12.5px; color: var(--fg-3); font-variant-numeric: tabular-nums; }
.rh-volume input { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.rh-volume input::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cream) var(--v), rgb(var(--cream-rgb) / .16) var(--v)); }
.rh-volume input::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--cream) var(--v), rgb(var(--cream-rgb) / .16) var(--v)); }
.rh-volume input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / .14), 0 0 14px rgb(var(--cream-rgb) / .5); transition: scale .2s; }
.rh-volume input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 4px rgb(var(--cream-rgb) / .14), 0 0 14px rgb(var(--cream-rgb) / .5); }
.rh-volume input:active::-webkit-slider-thumb { scale: 1.25; }

.radio-hub :focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee, .reviews-viewport { overflow-x: auto; }
  .hero-presents::after, .ridge-glint, .vault::after, .pf-unlock { display: none !important; }
  /* Stands on the summit, arms up */
  .climber-pos, .climber, .climber * { animation: none !important; }
  .climber-pos { translate: 50% 3.53%; }
  .climber .walk { opacity: 0; }
  .climber .cheer { opacity: 1; }
  .summit-star, .summit-star * { animation: none !important; }
  .ss-lit, .ss-flash { opacity: 1; } /* star lit above him */
  .ufo *, .ufo-beam { animation: none !important; } /* saucer stays parked off-screen */
  .radio-hub, .radio-hub > * { transition: none !important; }
  .radio-btn *, .radio-btn::after { animation: none !important; }
}

/* Who we edit for runs straight into Process (both dark): one gap between them, not two */
.niches:has(+ .process) { padding-bottom: clamp(36px, 4vw, 64px); }
.niches + .process { padding-top: clamp(36px, 4vw, 64px); }

/* Language switch off for now (the page is forced to English in the <head> script) */
.lang-switch { display: none !important; }

/* ==========================================================================
   Day mode (html[data-mode="day"]) — night is the main look.
   Navy and cream trade places everywhere (the cream panels turn navy), the hero's
   night sky gives way to a blue one with the sun and clouds, and the switch plays
   as the sky wheel's half turn (see .sky-wheel) with a warm glow at the horizon.
   ========================================================================== */
:root[data-mode="day"] {
  --navy: #efe0cd; --navy-deep: #e6d4bd; --navy-raised: #f8f1e7; --navy-soft: #f2e7d9;
  --cream: #000e25; --cream-light: #0a1f45; --cream-lighter: #0e2650;
  --cream-rgb: 0 14 37; --navy-rgb: 239 224 205; --deep-rgb: 247 239 228;
  color-scheme: light;
}
:root[data-mode="day"] .theme-light { --surface: rgb(239 224 205 / .05); --surface-2: rgb(239 224 205 / .1); }

/* While switching, colours glide instead of snapping on whatever is on screen (main.js marks
   those parts .mode-glide; the rest of the page simply switches). The sky keeps its own timing. */
:root.mode-switching body,
:root.mode-switching .mode-glide,
:root.mode-switching .mode-glide *:not(.sky-layer, .sky-wheel, .sky-wheel *, .mi-wheel),
:root.mode-switching .mode-glide *::before,
:root.mode-switching .mode-glide *::after {
  transition: background-color 1.3s var(--ease), color 1.3s var(--ease), border-color 1.3s var(--ease),
              fill 1.3s var(--ease), stroke 1.3s var(--ease), box-shadow 1.3s var(--ease) !important;
}

/* Hero sky layers */
.sky-layer { position: absolute; inset: 0; pointer-events: none; }
.sky-day {
  z-index: -2; opacity: 0;
  background:
    radial-gradient(70% 50% at 50% 100%, rgb(255 255 255 / .6), transparent 72%),
    linear-gradient(180deg, #3b84d4 0%, #67abe6 38%, #a7d1f2 70%, #dcebf5 100%);
  transition: opacity 1.5s var(--ease) .2s;
}
.sky-dawn { /* the warm band at the horizon while the sky turns */
  z-index: -2; opacity: 0;
  background:
    radial-gradient(60% 55% at 18% 100%, rgb(255 170 110 / .85), transparent 72%),
    radial-gradient(60% 50% at 82% 100%, rgb(255 128 112 / .55), transparent 72%),
    radial-gradient(120% 40% at 50% 100%, rgb(255 196 140 / .5), transparent 80%);
}
:root.sky-turning .sky-dawn { animation: dawn 1.9s ease-in-out; }
@keyframes dawn { 45% { opacity: 1; } }
.hero .starfield {
  transform-origin: 50% 100%;
  rotate: var(--sky-turn, 0deg); /* the stars wheel away with the moon */
  transition: rotate 1.9s var(--ease-sky), opacity .9s var(--ease);
}
.hero-clouds {
  z-index: 0; width: 100%; height: 100%;
  opacity: 0; translate: -6% 0;
  transition: opacity 1.1s var(--ease), translate 2.2s var(--ease-out);
}
:root[data-mode="day"] .sky-day { opacity: 1; }
:root[data-mode="day"] .hero .starfield { opacity: 0; }
:root[data-mode="day"] .hero-clouds { opacity: 1; translate: 0 0; transition-delay: .55s, .35s; }
:root[data-mode="day"] .hero-glow { background: radial-gradient(closest-side, rgb(255 255 255 / .5), rgb(255 255 255 / .14) 55%, transparent 100%); }
:root[data-mode="day"] .hero-mist i {
  background:
    radial-gradient(16% 42% at 22% 62%, rgb(255 255 255 / .45), transparent 70%),
    radial-gradient(12% 30% at 52% 74%, rgb(255 255 255 / .35), transparent 70%),
    radial-gradient(17% 40% at 80% 58%, rgb(255 255 255 / .4), transparent 70%);
  background-size: 50% 100%;
}
/* Daylight on the mountains: hazy blues, bright snow, the front ridge meets the page */
:root[data-mode="day"] .ridge-1 { fill: #6c90bd; }
:root[data-mode="day"] .ridge-2 { fill: #a6bcd6; }
:root[data-mode="day"] .ridge-snow { fill: rgb(255 255 255 / .8); }
:root[data-mode="day"] .ridge-edge { stroke: rgb(255 255 255 / .55); }
/* Closing call to action: a day sky too */
:root[data-mode="day"] .cta-card {
  background:
    radial-gradient(70% 60% at 50% 112%, rgb(255 255 255 / .55), transparent 70%),
    linear-gradient(180deg, #67abe6 0%, #bfdcf3 55%, var(--navy) 90%);
  box-shadow: 0 50px 120px -60px rgb(59 132 212 / .45);
}
:root[data-mode="day"] .cta-card .starfield { opacity: 0; }
:root[data-mode="day"] .ridges--cta .ridge-1 { fill: #8eabcf; }
:root[data-mode="day"] .ridges--cta .ridge-2 { fill: #c3d3e5; }
/* Booking form: on the (now navy) booking card the fields turn dark with cream text */
:root[data-mode="day"] .field input,
:root[data-mode="day"] .field select,
:root[data-mode="day"] .field textarea,
:root[data-mode="day"] .choice-chips span { background: rgb(255 255 255 / .06); }
:root[data-mode="day"] .choice-chips input:checked + span { background: var(--navy); }
:root[data-mode="day"] .field select option { color: #000e25; background: #fff; } /* the native list stays light */

/* The toggle in the bar: a tiny sky wheel of its own — moon and sun swap places over a ridge */
.mode-btn {
  position: relative; display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  color: var(--cream); background: transparent;
  transition: background-color .25s, transform .25s var(--ease);
}
.mode-btn:hover { background: var(--surface-2); }
.mode-btn:active { transform: scale(.92); }
.mode-icon { width: 24px; height: 24px; overflow: hidden; }
.mi-wheel {
  transform-box: view-box; transform-origin: 12px 24px;
  rotate: var(--sky-turn, 0deg);
  transition: rotate 1.9s var(--ease-sky);
}
.mi-moon, .mi-sun circle { fill: currentColor; }
.mi-sun path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.mi-hill { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .sky-wheel, .mi-wheel, .hero .starfield { transition: none; }
  :root.sky-turning .sky-dawn { animation: none; }
}

/* ---------- Phones and tablets (bottom dock) ---------- */
@media (max-width: 1023px) {
  /* The dock keeps sound, altimeter, logo and menu; the night/day switch moves into the menu */
  .nav-book, .nav-actions .mode-btn { display: none; }
  .mode-btn--menu { width: 48px; height: 48px; border: 1px solid var(--line-2); border-radius: 50%; }
  /* Studio | switch | Book a call, with the switch at the true centre */
  .mobile-menu-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  /* Studio and Book a call fill equal columns, so they're the same size and the switch sits dead centre */
  .mobile-menu-foot .btn { justify-self: stretch; min-width: 0; padding-inline: 10px; font-size: 15px; }

  /* Hero on one screen: smaller name and buttons, no slogan, and the whole range in view above the dock */
  .hero:not(:has([data-reel])) .hero-stage { --dock: 84px; min-height: 100vh; min-height: 100svh; }
  /* Taller range on phones and tablets, so the summit rises to meet the text and the sky has no empty band */
  .hero:not(:has([data-reel])) { --ridge-h: clamp(160px, 36svh - 50px, 300px); }
  .hero:not(:has([data-reel])) .hero-stage::after { /* the ground under the range, behind the dock */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    height: var(--dock); background: var(--navy);
  }
  .hero .ridges--hero, .hero-mist { bottom: var(--dock, 0px); }
  .hero-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* kept for screen readers and search */
  .hero:not(:has([data-reel])) .hero-presents { font-size: clamp(2.4rem, 11vw, 3.4rem); letter-spacing: .26em; margin-right: -.26em; font-weight: 600; }
  .hero:not(:has([data-reel])) .hero-descriptor { margin-top: 14px; font-size: .95rem; }
  /* Name, slogan and checks centre in the sky above the summit star; only the two buttons rest on the
     mountains' base, just above the dock, where a thumb reaches them while holding the phone */
  .hero:not(:has([data-reel])) .hero-feature { position: static; padding-bottom: calc(var(--ridge-h) * .965 + var(--dock) + 84px); translate: none; } /* static: the buttons below place against the whole screen */
  .hero:not(:has([data-reel])) .hero-feature .hero-ctas {
    position: absolute; left: 0; right: 0; bottom: calc(var(--dock) + 16px); z-index: 3;
    margin-top: 0; padding-inline: var(--gutter, 16px);
  }
  .hero:not(:has([data-reel])) .hero-feature .hero-checks { margin-top: 20px; }
  .hero:not(:has([data-reel])) .hero-ctas { margin-top: 22px; gap: 10px; flex-wrap: nowrap; }
  .hero:not(:has([data-reel])) .btn-lg { --h: 44px; padding: 0 18px; font-size: 14.5px; }
  .hero:not(:has([data-reel])) .hero-checks { margin-top: 14px; gap: 6px 16px; font-size: 13px; }
  .hero:not(:has([data-reel])) .check-dot { width: 17px; height: 17px; }
  .hero:not(:has([data-reel])) .check-dot svg { width: 10px; height: 10px; }
}
