:root {
  --night: #0e1526;
  --night-2: #172038;
  --night-3: #222c47;
  --snow: #f4f0ea;
  --snow-soft: #c9c6cf;
  --dusk: #c7a6a2;
  --sun: #ff9d5c;
  --sun-deep: #f0823c;
  --sun-ink: #1a1208;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --m: clamp(20px, 3vw, 48px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--night); color: var(--snow);
  font-family: var(--font); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--sun); color: var(--sun-ink); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--snow); color: var(--night); padding: 10px 14px; }
.wrap { padding-inline: var(--m); max-width: 1480px; margin-inline: auto; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  background: var(--sun); color: var(--sun-ink); border: 0; border-radius: 999px; cursor: pointer;
  font: 600 1.0625rem/1 var(--font); font-stretch: 100%; text-decoration: none;
  padding: 1.05em 1.6em;
  transition: background-color 180ms ease, transform 160ms var(--ease);
}
.btn:hover { background: #ffb27f; }
.btn:active { transform: scale(0.96); }
.btn .arr { display: inline-block; transition: transform 220ms var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-sm { padding: 0.75em 1.2em; font-size: 0.9375rem; }
.btn-lg { font-size: 1.1875rem; padding: 1.15em 1.9em; }
.btn-dark { background: var(--night); color: var(--snow); }
.btn-dark:hover { background: var(--night-3); }
.link {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  transition: text-underline-offset 200ms var(--ease), color 200ms ease;
}
.link:hover { text-underline-offset: 0.45em; color: var(--sun); }

/* ---------- Bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 18px var(--m); color: var(--snow);
  transition: background-color 300ms ease, padding 300ms var(--ease);
}
.bar.is-solid { background: rgba(14, 21, 38, 0.92); padding-block: 12px; }
.bar-name { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.bar-mark { width: 40px; height: 18px; }
.bar-name span { font-weight: 800; font-stretch: 125%; font-size: 1.125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bar-alt { font-size: 0.875rem; color: var(--snow-soft); font-variant-numeric: tabular-nums; min-width: 7ch; }
.bar-links { margin-left: auto; display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.bar-links a:not(.btn) { text-decoration: none; font-size: 0.9375rem; position: relative; }
.bar-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--sun);
  transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease);
}
.bar-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 3D canvas ---------- */
#alps {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; display: block;
  opacity: 0; transition: opacity 1100ms ease;
}
#alps.is-ready { opacity: 1; }
.alps-fallback {
  position: fixed; inset: 0; z-index: -1; background: var(--night) url(assets/swiss-alps-hero.jpg) center / cover no-repeat;
  filter: brightness(0.55);
}
.alps-fallback { transition: opacity 1200ms ease; }
.is-3d .alps-fallback { opacity: 0; }
.no3d #alps { display: none; }

main, .footer, .mobile-book { position: relative; z-index: 1; }

/* ---------- Flight ---------- */
.flight { position: relative; height: 820vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 52%, rgba(14, 21, 38, calc(0.32 - var(--flight, 0) * 4)), rgba(14, 21, 38, 0) 70%),
              linear-gradient(to bottom, rgba(14, 21, 38, 0.45), rgba(14, 21, 38, 0) 22%, rgba(14, 21, 38, 0) 70%, rgba(14, 21, 38, 0.55));
}
.no3d .stage::before { display: none; }

.chapter {
  position: absolute; z-index: 2;
  opacity: 0; visibility: hidden; transform: translateY(40px);
  transition: opacity 700ms var(--ease), transform 900ms var(--ease), visibility 0s linear 700ms;
}
.chapter.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 700ms var(--ease), transform 900ms var(--ease), visibility 0s; }
.chapter > * { transition: opacity 700ms var(--ease), transform 800ms var(--ease); }
.chapter:not(.is-on) > * { opacity: 0; transform: translateY(24px); }
.chapter.is-on > *:nth-child(2) { transition-delay: 80ms; }
.chapter.is-on > *:nth-child(3) { transition-delay: 160ms; }
.chapter.is-on > *:nth-child(4) { transition-delay: 240ms; }
.chapter.is-on > *:nth-child(5) { transition-delay: 320ms; }

/* hero */
.chapter-hero { inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 90px var(--m) 60px; }
.wordmark {
  font-weight: 900; font-stretch: 125%; line-height: 0.8; letter-spacing: -0.02em; text-transform: uppercase;
  font-size: clamp(5rem, 19vw, 21rem); color: var(--snow);
  transform: scale(calc(1 + var(--flight, 0) * 26)); opacity: calc(1 - var(--flight, 0) * 14);
  transform-origin: 50% 55%; will-change: transform;
  text-shadow: 0 0 60px rgba(14, 21, 38, 0.25);
}
.wm-letters { display: flex; justify-content: center; }
.wm-letters span { display: inline-block; }
.wm-media {
  display: block; font-weight: 500; font-stretch: 125%; font-size: 0.11em; letter-spacing: 0.9em;
  margin-top: 0.5em; padding-left: 0.9em; color: var(--snow);
}
.hero-copy { margin-top: clamp(28px, 5vh, 56px); display: grid; justify-items: center; gap: 26px; }
.hero-line { font-size: clamp(1.25rem, 1rem + 1vw, 1.875rem); font-weight: 500; line-height: 1.2; max-width: 26ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: center; }
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 10px;
  font-size: 0.875rem; text-decoration: none; color: var(--snow);
}
.scroll-cue i { width: 2px; height: 46px; background: rgba(244, 240, 234, 0.3); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--snow); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* stage chapters */
.chapter-left, .chapter-right {
  top: 50%; translate: 0 -50%; width: min(520px, calc(100vw - 2 * var(--m)));
  background: rgba(14, 21, 38, 0.82); padding: clamp(26px, 3vw, 44px); border-radius: 4px;
}
.chapter-left { left: var(--m); }
.chapter-right { right: calc(var(--m) + 90px); }
.ch-num { font-size: 0.875rem; color: var(--sun); font-weight: 600; }
.chapter h2 {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.9; letter-spacing: -0.01em;
  font-size: clamp(3rem, 2rem + 4vw, 6rem); margin-top: 10px;
}
.ch-lead { font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem); line-height: 1.3; margin-top: 16px; font-weight: 500; }
.ch-list { margin-top: 22px; display: grid; gap: 12px; }
.ch-list li { padding-left: 22px; position: relative; color: var(--snow-soft); }
.ch-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; background: var(--sun); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ch-list b { color: var(--snow); font-weight: 600; }
.ch-ads { margin-top: 22px; display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 8px; align-items: end; }
.ch-ads img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.ch-ads img:nth-child(2) { aspect-ratio: 9 / 14; }
.ch-note { margin-top: 16px; font-size: 0.9375rem; color: var(--snow-soft); }
.ch-shot { margin-top: 22px; }
.ch-shot img { border-radius: 3px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ch-shot figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--snow-soft); }

.chapter-summit {
  inset: auto 0 0 0; text-align: center; padding: 0 var(--m) 11vh; display: grid; justify-items: center; gap: 22px;
}
.chapter-summit h2 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 6.25rem); max-width: 14ch; text-shadow: 0 2px 30px rgba(14,21,38,0.35); }
.chapter-summit .ch-lead { max-width: 46ch; margin-top: 0; text-shadow: 0 1px 16px rgba(14,21,38,0.6); }

/* peak labels */
.peak-label {
  position: absolute; left: 0; top: 0; z-index: 1; pointer-events: none;
  display: grid; gap: 2px; padding: 0 0 0 14px; white-space: nowrap;
  opacity: 0; transition: opacity 400ms ease; will-change: transform;
  margin-top: -64px;
}
.peak-label::before { content: ""; position: absolute; left: 0; top: 4px; width: 2px; height: 66px; background: var(--sun); }
.peak-label b { font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.04em; }
.peak-label > span { font-size: 0.875rem; color: var(--snow); opacity: 0.85; font-variant-numeric: tabular-nums; }
.peak-label.is-on { opacity: 1; }

/* route rail */
.rail {
  position: absolute; right: var(--m); top: 50%; translate: 0 -50%; z-index: 3;
  display: grid; gap: 4px;
}
.rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; text-decoration: none; padding: 6px 0; font-size: 0.8125rem; color: var(--snow-soft); }
.rail a span { opacity: 0; transform: translateX(6px); transition: opacity 250ms ease, transform 250ms var(--ease); }
.rail:hover a span, .rail a.is-on span { opacity: 1; transform: none; }
.rail a i { order: 2; width: 10px; height: 10px; border-radius: 50%; background: rgba(244,240,234,0.35); transition: background-color 250ms ease, transform 250ms var(--ease); }
.rail a.is-on { color: var(--snow); }
.rail a.is-on i { background: var(--sun); transform: scale(1.4); }

/* ---------- After the climb ---------- */
.ground { background: var(--night); position: relative; }
.ground::before {
  content: ""; position: absolute; left: 0; right: 0; top: -40vh; height: 40vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14, 21, 38, 0), var(--night));
}
section.calc, section.work, section.faq, section.audit { padding: clamp(90px, 11vw, 170px) 0; }
.sec-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head-row { display: flex; justify-content: space-between; align-items: baseline; }
.ground h2, .faq-grid h2 {
  font-weight: 800; font-stretch: 115%; letter-spacing: -0.015em; line-height: 0.95;
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4.75rem);
}
.sec-head p { color: var(--snow-soft); max-width: 46ch; }

/* calculator */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.calc-form { display: grid; gap: 30px; }
.field { display: grid; gap: 12px; }
.field-top { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.field-top output { font-weight: 800; font-stretch: 115%; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.field-target { background: var(--night-2); padding: 20px 22px 24px; margin-inline: -22px; border-radius: 4px; }
.field-target output { color: var(--sun); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 34px; background: transparent; cursor: pointer; --pct: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--snow) var(--pct), #39425c var(--pct)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #39425c; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--snow); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--snow); margin-top: -10px; transition: transform 140ms var(--ease); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: var(--snow); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.25); }
.field-target input[type="range"]::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--sun) var(--pct), #39425c var(--pct)); }
.field-target input[type="range"]::-webkit-slider-thumb { background: var(--sun); }
.calc-result { background: var(--sun); color: var(--sun-ink); padding: clamp(28px, 3.4vw, 52px); border-radius: 4px; position: sticky; top: 100px; }
.calc-label { font-size: 1.25rem; font-weight: 500; }
.calc-big { font-weight: 900; font-stretch: 110%; font-size: clamp(3.5rem, 1.6rem + 5vw, 7.5rem); line-height: 0.95; margin-top: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc-big .cur { font-size: 0.36em; vertical-align: 1.2em; letter-spacing: 0; }
.calc-big.bump { animation: bump 420ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.03); } }
.calc-rows { margin: 26px 0 30px; display: grid; gap: 10px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; }
.calc-rows dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-fine { margin-top: 18px; font-size: 0.875rem; }

/* work */
.cases { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 28px 24px; }
.case { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.case-big { grid-row: 1 / span 2; }
.case-img { overflow: hidden; border-radius: 4px; background: var(--night-2); }
.case-big .case-img { aspect-ratio: 4 / 3.3; }
.case:not(.case-big) .case-img { aspect-ratio: 16 / 9; }
.case img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--ease); }
.case:hover img { transform: scale(1.04); }
.case-meta { display: flex; justify-content: space-between; gap: 16px; }
.case-meta b { font-weight: 700; font-size: 1.1875rem; }
.case-meta span { color: var(--snow-soft); }
.case-desc { color: var(--snow-soft); max-width: 52ch; }
.cases:hover .case:not(:hover) { opacity: 0.6; }
.case { transition: opacity 300ms ease; }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px 64px; align-items: start; }
.faq details { border-bottom: 1px solid rgba(244, 240, 234, 0.16); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 26px 0; font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.75rem; font-weight: 400; color: var(--sun); transition: transform 250ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--snow-soft); padding-bottom: 28px; max-width: 58ch; }

/* audit */
.audit-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px 64px; align-items: start; }
.audit-grid > div > p { margin-top: 22px; color: var(--snow-soft); max-width: 40ch; }
.checks { margin-top: 26px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: baseline; gap: 14px; font-size: 1.1875rem; }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--sun); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.audit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--night-2); padding: clamp(24px, 3vw, 44px); border-radius: 4px; }
.audit-form label { display: grid; gap: 8px; font-size: 0.9375rem; font-weight: 500; }
.audit-form em { color: var(--snow-soft); font-weight: 400; font-style: normal; }
.audit-form input, .audit-form select, .audit-form textarea {
  font: inherit; font-size: 1rem; color: var(--snow); background: var(--night); border: 1px solid #333d58; border-radius: 4px;
  padding: 13px 14px; width: 100%; transition: border-color 180ms ease;
}
.audit-form input:focus, .audit-form select:focus, .audit-form textarea:focus { outline: none; border-color: var(--sun); }
.span2 { grid-column: 1 / -1; }
.fine { font-size: 0.8125rem; color: var(--snow-soft); }

/* summit band */
.summit-band { min-height: 92vh; display: flex; align-items: flex-end; padding: 0 0 12vh; position: relative; }
.summit-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 35vh; background: linear-gradient(var(--night), rgba(14,21,38,0)); pointer-events: none; }
.summit-band .wrap { position: relative; width: 100%; text-align: center; display: grid; justify-items: center; gap: 22px; }
.sb-line { font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); font-weight: 500; text-shadow: 0 1px 18px rgba(14,21,38,0.6); }
.sb-cta {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; text-decoration: none; line-height: 0.88;
  font-size: clamp(3.25rem, 1rem + 9vw, 10.5rem); letter-spacing: -0.02em; color: var(--snow);
  transition: color 250ms ease, transform 400ms var(--ease); text-shadow: 0 4px 40px rgba(14,21,38,0.35);
}
.sb-cta .arr { color: var(--sun); display: inline-block; transition: transform 400ms var(--ease); }
.sb-cta:hover { color: var(--sun); }
.sb-cta:hover .arr { transform: translate(10px, -10px); }
.sb-sub { color: var(--snow); text-shadow: 0 1px 14px rgba(14,21,38,0.7); }

/* footer */
.footer { background: #090e1a; padding: 72px 0 36px; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.f-name { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); line-height: 1; }
.f-sub { margin-top: 14px; color: var(--snow-soft); }
.footer ul { display: grid; gap: 8px; align-content: start; }
.footer ul a { text-decoration: none; color: var(--snow-soft); transition: color 180ms ease; }
.footer ul a:hover { color: var(--sun); }
.f-legal { margin-top: 64px; display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; color: var(--snow-soft); }

.mobile-book { display: none; }

/* ---------- Reveal (after the flight) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .wm-letters span { animation: drop 1300ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 200ms); }
  .wm-letters span:nth-child(1) { --i: 0; } .wm-letters span:nth-child(2) { --i: 1; } .wm-letters span:nth-child(3) { --i: 2; }
  .wm-letters span:nth-child(4) { --i: 3; } .wm-letters span:nth-child(5) { --i: 4; } .wm-letters span:nth-child(6) { --i: 5; }
  .wm-media { animation: fadeup 1000ms var(--ease) 800ms both; }
  .chapter-hero .hero-copy { animation: fadeup 1000ms var(--ease) 950ms both; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-0.3em); } to { opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- No WebGL / reduced motion: a plain, readable page ---------- */
.no3d .flight { height: auto; }
.no3d .stage { position: static; height: auto; overflow: visible; padding-bottom: 60px; }
.no3d .chapter { position: relative; inset: auto; translate: none; opacity: 1; visibility: visible; transform: none; margin: 0 auto 24px; }
.no3d .chapter > * { opacity: 1; transform: none; }
.no3d .chapter-hero { min-height: 100svh; }
.no3d .wordmark { transform: none; opacity: 1; }
.no3d .chapter-left, .no3d .chapter-right { left: auto; right: auto; width: min(760px, calc(100% - 2 * var(--m))); }
.no3d .chapter-summit { padding: 80px var(--m); }
.no3d .rail, .no3d .peak-label, .no3d .scroll-cue { display: none; }
.no3d .summit-band { min-height: 60vh; }

/* ---------- Tablet & phone ---------- */
@media (max-width: 1000px) {
  .sec-head, .calc-grid, .faq-grid, .audit-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .chapter-right { right: var(--m); }
  .rail { display: none; }
}
@media (max-width: 760px) {
  .bar { padding: 14px 16px; gap: 10px; }
  .bar.is-solid { padding-block: 10px; }
  .bar-links a:not(.btn) { display: none; }
  .bar-alt { display: none; }
  .flight { height: 760vh; }
  .wordmark { font-size: 22vw; }
  .wm-media { letter-spacing: 0.6em; padding-left: 0.6em; font-size: 0.14em; }
  .hero-actions .btn { width: 100%; }
  .hero-actions { width: 100%; }
  .hero-copy { width: 100%; }
  .chapter-left, .chapter-right {
    top: auto; bottom: 84px; translate: none; left: 12px; right: 12px; width: auto; padding: 22px 20px;
    max-height: calc(100svh - 170px); overflow: auto;
  }
  .chapter h2 { font-size: 2.75rem; }
  .ch-ads { grid-template-columns: repeat(3, 1fr); }
  .ch-shot img { aspect-ratio: 16 / 9; }
  .chapter-summit { padding-bottom: 104px; }
  .peak-label b { font-size: 0.875rem; }
  .cases { grid-template-columns: 1fr; }
  .case-big { grid-row: auto; }
  .case-big .case-img { aspect-ratio: 16 / 11; }
  .case-meta { flex-direction: column; gap: 0; }
  .audit-form { grid-template-columns: 1fr; padding: 22px 18px; }
  .footer-row { grid-template-columns: 1fr 1fr; }
  .footer-row > div { grid-column: 1 / -1; }
  .footer { padding-bottom: 96px; }
  .mobile-book {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; justify-content: center; gap: 0.6em;
    background: var(--sun); color: var(--sun-ink); text-decoration: none; font-weight: 700; border-radius: 999px;
    padding: 16px; margin-bottom: env(safe-area-inset-bottom);
    transform: translateY(150%); transition: transform 400ms var(--ease);
  }
  .mobile-book.is-on { transform: none; }
}

/* =====================================================================
   Multi-page additions: menu, page transitions, page heroes, sections
   ===================================================================== */

/* page transition curtain */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--night); pointer-events: none;
  transform-origin: 50% 0; transform: scaleY(0);
}
.curtain-in .curtain { animation: curtain-out 800ms var(--ease-io) 60ms both; }
.curtain::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 64px; height: 28px; translate: -50% -50%;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 28'%3E%3Cpath d='M2 26 L20 9 L26 14 L36 2 L48 13 L53 9 L62 26' fill='none' stroke='%23ff9d5c' stroke-width='2.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity 200ms ease;
}
@keyframes curtain-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }
.is-leaving .curtain { animation: curtain-in 520ms var(--ease-io) both; transform-origin: 50% 100%; }
.is-leaving .curtain::after { opacity: 1; transition-delay: 300ms; }
@keyframes curtain-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }

/* nav state */
.bar-links a[aria-current="page"] { color: var(--sun); }
.bar-links a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 10px; background: none; border: 0; color: inherit;
  font: 600 0.9375rem var(--font); cursor: pointer; padding: 10px 4px;
}
.menu-btn i { width: 20px; height: 10px; position: relative; }
.menu-btn i::before, .menu-btn i::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 300ms var(--ease), top 300ms var(--ease);
}
.menu-btn i::before { top: 0; } .menu-btn i::after { top: 8px; }
.menu-open .menu-btn i::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn i::after { top: 4px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 45; background: var(--night); padding: 100px 24px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 34px); transition: clip-path 600ms var(--ease-io);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 34px); visibility: visible; }
.menu nav { display: grid; gap: 4px; }
.menu nav a {
  font-weight: 800; font-stretch: 125%; text-transform: uppercase; text-decoration: none; font-size: 2.25rem; line-height: 1.15;
  opacity: 0; transform: translateY(20px); transition: opacity 400ms var(--ease), transform 500ms var(--ease);
}
.menu nav a.menu-sub { font-size: 1.25rem; font-weight: 600; font-stretch: 100%; text-transform: none; padding-left: 18px; color: var(--snow-soft); }
.menu-open .menu nav a { opacity: 1; transform: none; transition-delay: calc(var(--i) * 50ms + 200ms); }
.menu-open .mobile-book { transform: translateY(150%) !important; }
.menu-open { overflow: hidden; }

/* page hero */
.page-hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; padding: 140px 0 12vh; z-index: 1; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(14,21,38,0.55), rgba(14,21,38,0) 30%, rgba(14,21,38,0.15) 55%, rgba(14,21,38,0.85));
}
.ph-inner { position: relative; width: 100%; transform: translateY(calc(var(--hero, 0) * -80px)); opacity: calc(1 - var(--hero, 0) * 1.4); }
.ph-crumb { font-size: 0.9375rem; color: var(--sun); font-weight: 600; margin-bottom: 18px; }
.ph-crumb a { text-decoration: none; } .ph-crumb a:hover { text-decoration: underline; }
.ph-title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.92;
  font-size: clamp(2.6rem, 1.2rem + 5.4vw, 7.25rem); max-width: 15ch;
}
.ph-lead { margin-top: 26px; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4375rem); line-height: 1.4; max-width: 44ch; font-weight: 500; text-shadow: 0 1px 16px rgba(14,21,38,0.6); }
.ph-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.ph-cue { position: absolute; left: 50%; bottom: 28px; width: 2px; height: 46px; background: rgba(244,240,234,0.3); overflow: hidden; }
.ph-cue i { position: absolute; inset: 0; background: var(--snow); animation: cue 1.8s var(--ease-io) infinite; }
.btn-ghost { background: transparent; color: var(--snow); box-shadow: inset 0 0 0 2px rgba(244,240,234,0.7); }
.btn-ghost:hover { background: var(--snow); color: var(--night); }

/* split words */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
[data-split] .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-split] .w > span { transform: translateY(105%); animation: word 1000ms var(--ease) both; animation-delay: calc(var(--i) * 70ms + 450ms); }
  .js .ph-crumb, .js .ph-lead, .js .ph-actions { animation: fadeup 900ms var(--ease) both; }
  .js .ph-crumb { animation-delay: 350ms; } .js .ph-lead { animation-delay: 800ms; } .js .ph-actions { animation-delay: 950ms; }
}
@keyframes word { to { transform: none; } }

/* sections */
.sec { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.sec-alt { background: var(--night-2); }
.sec-flush { padding-bottom: 0; }
.sec h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.25; }

/* feature list */
.feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: f; }
.feat-3 { grid-template-columns: repeat(3, 1fr); }
.feat-2 { grid-template-columns: repeat(2, 1fr); }
.feat li {
  counter-increment: f; position: relative; padding: 34px 28px 38px 0; margin-right: 28px;
  border-top: 1px solid rgba(244,240,234,0.16);
}
.feat li::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--sun);
  transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease); transition-delay: calc(var(--s, 0) * 85ms + 200ms);
}
.feat.is-in li::before { transform: scaleX(1); }
.feat li::after { content: "0" counter(f); position: absolute; right: 0; top: 30px; font-size: 0.875rem; color: var(--snow-soft); font-variant-numeric: tabular-nums; }
.feat h3 { font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem); padding-right: 30px; }
.feat p { margin-top: 10px; color: var(--snow-soft); max-width: 34ch; }
.feat li { transition: transform 300ms var(--ease); }
.feat li:hover { transform: translateY(-4px); }

/* steps: a route line that draws as you scroll */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 28px; position: relative; padding-top: 46px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: rgba(244,240,234,0.16); }
.steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px; background: var(--sun);
  transform: scaleX(var(--draw, 0)); transform-origin: left;
}
.steps li { position: relative; }
.steps li::before {
  content: ""; position: absolute; top: -42px; left: 0; width: 22px; height: 18px; background: var(--night-3);
  clip-path: polygon(50% 0, 100% 100%, 0 100%); transition: background-color 400ms ease, transform 400ms var(--ease);
}
.steps li.is-lit::before { background: var(--sun); transform: scale(1.25); }
.steps h3 { font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: clamp(1.375rem, 1rem + 1vw, 2rem); }
.steps p { margin-top: 10px; color: var(--snow-soft); }

/* services rows */
.svc-rows { display: grid; gap: 28px; }
.svc-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; text-decoration: none; padding: 28px; background: var(--night-2); border-radius: 6px; transition: background-color 300ms ease; }
.svc-row:nth-child(even) .sr-img { order: 2; }
.svc-row:hover { background: var(--night-3); }
.sr-img { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 900ms var(--ease); }
.svc-row:hover .sr-img img { transform: scale(1.05); }
.sr-body { display: grid; gap: 18px; justify-items: start; }
.sr-h { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.75rem); line-height: 0.95; }
.sr-p { color: var(--snow-soft); max-width: 46ch; font-size: 1.125rem; }
.sr-list { display: flex; flex-wrap: wrap; gap: 8px; }
.sr-list span { font-size: 0.875rem; padding: 6px 12px; border-radius: 999px; background: rgba(244,240,234,0.08); }

/* image wipe */
@media (prefers-reduced-motion: no-preference) {
  .js [data-wipe] { clip-path: inset(0 0 100% 0); transition: clip-path 1200ms var(--ease-io); }
  .js [data-wipe] img { transform: scale(1.15); transition: transform 1600ms var(--ease); }
  .js .is-in [data-wipe], .js [data-wipe].is-in { clip-path: inset(0 0 0 0); }
  .js .is-in [data-wipe] img, .js [data-wipe].is-in img { transform: none; }
}

/* screenshot strip */
.strip { display: flex; gap: 20px; overflow-x: auto; padding: 4px var(--m) 24px; margin-inline: calc(-1 * var(--m)); scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip-item { flex: 0 0 min(560px, 78vw); scroll-snap-align: start; }
.strip-item img { border-radius: 4px; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; pointer-events: none; transition: transform 500ms var(--ease); }
.strip-item:hover img { transform: translateY(-6px); }
.strip-item figcaption { margin-top: 12px; color: var(--snow-soft); }

/* work list */
.work-list { display: grid; gap: clamp(60px, 7vw, 110px); }
.work-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; text-decoration: none; }
.work-row:nth-child(even) .wr-img { order: 2; }
.wr-img { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: var(--night-2); }
.wr-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1000ms var(--ease); }
.work-row:hover .wr-img img { transform: scale(1.05); }
.wr-text { display: grid; gap: 12px; justify-items: start; }
.wr-tags { color: var(--sun); font-weight: 600; font-size: 0.9375rem; }
.wr-name { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 4.75rem); line-height: 0.92; transition: color 250ms ease; }
.work-row:hover .wr-name { color: var(--sun); }
.wr-short { font-weight: 600; }
.wr-lead { color: var(--snow-soft); max-width: 42ch; }

/* case study */
.case-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px 64px; align-items: start; }
.case-intro h2, .split h2 { font-weight: 800; font-stretch: 115%; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.75rem); line-height: 0.95; letter-spacing: -0.01em; }
.case-story { font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem); line-height: 1.45; }
.case-tags { margin-top: 20px; color: var(--sun); font-weight: 600; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; }
.shot-wide { grid-column: 1 / -1; }
.browser { display: block; border-radius: 8px; overflow: hidden; background: #1c2540; }
.browser-bar { display: flex; gap: 7px; padding: 12px 14px; background: #232d4b; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #45507a; }
.browser img { width: 100%; height: auto; }
.shot figcaption { margin-top: 14px; color: var(--snow-soft); }
.next-case { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px 48px; align-items: center; text-decoration: none; }
.nc-label { grid-column: 1; color: var(--sun); font-weight: 600; align-self: end; }
.nc-name { grid-column: 1; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.5rem, 1.2rem + 4.4vw, 6rem); line-height: 0.9; align-self: start; transition: color 250ms ease, transform 400ms var(--ease); }
.next-case:hover .nc-name { color: var(--sun); transform: translateX(10px); }
.nc-img { grid-column: 2; grid-row: 1 / span 2; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 9; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1000ms var(--ease); }
.next-case:hover .nc-img img { transform: scale(1.05); }

/* ads */
.ads-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; perspective: 1200px; }
.ad-tilt { transition: transform 400ms var(--ease); transform-style: preserve-3d; }
.ad-tilt img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ad-tilt figcaption { margin-top: 12px; color: var(--snow-soft); font-size: 0.9375rem; }
.funnel { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.funnel span { padding: 10px 18px; border-radius: 999px; background: rgba(244,240,234,0.08); font-weight: 600; }
.funnel span:not(:last-child)::after { content: "→"; margin-left: 16px; color: var(--sun); }
.funnel span:last-child { background: var(--sun); color: var(--sun-ink); }

/* ticker */
.ticker { margin-top: 20px; overflow: hidden; padding: 30px 0 40px; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.5rem, 1.4rem + 4vw, 5.5rem); line-height: 1; white-space: nowrap; padding-inline: 0.4em; color: transparent; -webkit-text-stroke: 1.5px var(--snow-soft); transition: color 250ms ease; }
.ticker span:hover { color: var(--sun); -webkit-text-stroke-color: var(--sun); }
.ticker span::after { content: "▲"; font-size: 0.35em; vertical-align: 0.6em; margin-left: 0.8em; color: var(--sun); -webkit-text-stroke: 0; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

.split { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px 64px; align-items: start; }
.big-p { font-size: clamp(1.25rem, 1rem + 0.9vw, 1.875rem); line-height: 1.35; font-weight: 500; }
.big-p a { color: var(--sun); }

/* contact */
.contact-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.way { display: grid; gap: 14px; align-content: start; padding: 32px; background: var(--night-2); border-radius: 6px; text-decoration: none; transition: background-color 300ms ease, transform 400ms var(--ease); }
.way:hover { background: var(--night-3); transform: translateY(-6px); }
.way-h { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.75rem; line-height: 1; }
.way-p { color: var(--snow-soft); }
.sec.audit .audit-form { background: var(--night); }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-weight: 800; font-stretch: 110%; font-size: 1.625rem; margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--snow-soft); }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 10px; margin-top: 12px; }
.prose b { color: var(--snow); }
.prose a { color: var(--sun); }

/* misc */
.ch-more { display: inline-block; margin-top: 18px; font-size: 0.9375rem; }
.f-h { font-weight: 700; color: var(--snow); margin-bottom: 4px; }
.f-mail { margin-top: 14px; } .f-mail a { color: var(--sun); }
.f-legal a { text-decoration: none; } .f-legal a:hover { color: var(--sun); }
[data-stagger] { list-style: none; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--s, 0) * 85ms); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker span[aria-hidden] { display: none; }
  .steps::after { transform: scaleX(1); }
}
.no3d .page-hero::before { background: rgba(14,21,38,0.45); }

@media (max-width: 1000px) {
  .feat, .feat-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-auto-flow: row; grid-auto-columns: auto; padding-top: 0; padding-left: 46px; gap: 34px; }
  .steps::before, .steps::after { left: 12px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--draw, 0)); transform-origin: top; }
  .steps li::before { top: 4px; left: -46px; }
  .svc-row, .work-row, .case-intro, .split, .next-case { grid-template-columns: 1fr; }
  .svc-row:nth-child(even) .sr-img, .work-row:nth-child(even) .wr-img { order: 0; }
  .nc-img { grid-column: 1; grid-row: auto; }
  .contact-ways { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .bar-links { display: none; }
  .menu-btn { display: inline-flex; }
  .feat, .feat-3, .feat-2 { grid-template-columns: 1fr; }
  .feat li { margin-right: 0; padding: 26px 0 28px; }
  .gallery { grid-template-columns: 1fr; gap: 32px; }
  .ads-wall { grid-template-columns: 1fr 1fr; }
  .ads-wall figure:first-child { grid-column: 1 / -1; }
  .svc-row { padding: 18px; gap: 24px; }
  .page-hero { min-height: 88svh; padding-bottom: 14vh; }
  .ph-actions .btn { width: 100%; }
  .way { padding: 24px; }
}
