:root {
  --ink: #0d0d0f;
  --nylon: #151517;
  --sun: #f2a33a;
  --sun-hi: #ffc46b;
  --sun-deep: #b8701c;
  --foam: #f1e8da;
  --mist: #c9c0b3;
  --dock: #6f6255;
  --lake: #1d2733;
  --dusk: #12141f;
  --line: rgba(241, 232, 218, 0.16);
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --r: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dusk); color: var(--foam);
  font-family: var(--f); font-size: 17px; line-height: 1.55; font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--sun); color: var(--ink); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun-hi); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--sun); color: var(--ink); padding: 10px 14px; font-weight: 700; border-radius: var(--r); transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--foam); --sweep: var(--foam); --sweepfg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 0; cursor: pointer;
  font: 700 16px/1 var(--f); font-variation-settings: "wdth" 108; letter-spacing: 0.01em; text-decoration: none;
  color: var(--fg); background: linear-gradient(var(--sweep), var(--sweep)) no-repeat left / 0% 100%, var(--bg);
  transition: background-size .32s var(--ease), color .2s, transform .12s, box-shadow .2s;
  isolation: isolate; white-space: nowrap;
}
.btn:hover { background-size: 100% 100%, auto; color: var(--sweepfg); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { --bg: var(--sun); --fg: var(--ink); --sweep: var(--foam); --sweepfg: var(--ink); box-shadow: 0 10px 30px -12px rgba(242, 163, 58, .7); }
.btn-primary:hover { box-shadow: 0 12px 34px -10px rgba(255, 210, 150, .6); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px rgba(241, 232, 218, .7); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--foam); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; color: transparent; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--ink); border-right-color: transparent; animation: spin .7s linear infinite; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@keyframes spin { to { transform: rotate(1turn); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  transition: background .3s, backdrop-filter .3s, height .3s;
}
.nav.solid { background: rgba(13, 13, 15, .78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); height: 64px; box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-variation-settings: "wdth" 112; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.brand svg { width: 30px; height: 18px; color: var(--sun); }
.nav ul { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 2px; background: linear-gradient(var(--sun), var(--sun)) no-repeat left bottom / 0 2px; transition: background-size .25s var(--ease); }
.nav ul a:hover, .nav ul a[aria-current] { background-size: 100% 2px; }

/* ---------- story ---------- */
.story { position: relative; height: 640vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #2a2c38; }
.lake { position: absolute; inset: -3%; width: 106%; height: 106%; filter: blur(5px) saturate(1.05); transform-origin: 50% 50%; will-change: transform; }
.lake.dusk { opacity: 0; }
.bigword {
  position: absolute; left: 0; right: 0; text-align: center; pointer-events: none; user-select: none;
  font-weight: 900; font-variation-settings: "wdth" 125; line-height: .8; letter-spacing: -.02em;
  font-size: clamp(90px, 18.5vw, 380px); top: 30%;
  color: transparent; background: linear-gradient(180deg, rgba(255, 238, 210, .95) 0%, rgba(255, 228, 190, .82) 55%, rgba(255, 220, 180, .05) 100%);
  -webkit-background-clip: text; background-clip: text;
  will-change: transform, opacity;
}
.poster, .gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster { object-fit: cover; transition: opacity .6s; }
@media (max-aspect-ratio: 13/10) { .poster { display: none; } }
.gl { touch-action: pan-y; cursor: grab; outline: none; }
.gl.dragging { cursor: grabbing; }
.shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, rgba(10, 10, 14, .62) 0%, rgba(10, 10, 14, .25) 34%, rgba(10, 10, 14, 0) 55%),
  linear-gradient(0deg, rgba(10, 10, 14, .55) 0%, rgba(10, 10, 14, 0) 30%); }

.cap {
  position: absolute; left: var(--gutter); bottom: clamp(96px, 16vh, 170px); width: min(500px, 42vw);
  visibility: hidden; opacity: 0; will-change: opacity, transform;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.cap h1 { font-size: clamp(40px, 4.6vw, 74px); line-height: .98; font-variation-settings: "wdth" 112; }
.cap h2 { font-size: clamp(32px, 3.4vw, 54px); line-height: 1; font-variation-settings: "wdth" 110; }
.cap p { margin-top: var(--s4); font-size: 18px; max-width: 42ch; color: #efe5d6; }
.cap .actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.cap-end { bottom: auto; top: 22vh; }

.readout { position: absolute; right: var(--gutter); top: 96px; text-align: right; opacity: 0; transition: opacity .3s; pointer-events: none; }
.readout span { display: block; font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(56px, 6vw, 96px); line-height: .9; font-feature-settings: "tnum"; color: var(--sun-hi); }
.readout small { font-size: 14px; font-weight: 600; color: var(--mist); }

.chapters { position: absolute; right: var(--gutter); bottom: 36px; display: flex; gap: 4px; padding: 4px; border-radius: var(--r); background: rgba(13, 13, 15, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chapters button { appearance: none; border: 0; background: none; color: var(--foam); font: 600 14px var(--f); padding: 0 14px; min-height: 40px; border-radius: 3px; cursor: pointer; transition: background .18s, color .18s; }
.chapters button:hover { background: rgba(241, 232, 218, .14); }
.chapters button[aria-current="true"] { background: var(--foam); color: var(--ink); }
.hint { position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%); font-size: 14px; font-weight: 600; color: var(--foam); opacity: .85; transition: opacity .4s; pointer-events: none; display: flex; align-items: center; gap: 10px; }
.hint::before { content: ""; width: 1.5px; height: 26px; background: linear-gradient(var(--foam), transparent); }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(241, 232, 218, .12); }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--sun); }

/* hotspots */
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hs { position: absolute; left: 0; top: 0; pointer-events: auto; display: flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--foam); cursor: pointer; font: 700 14px var(--f); font-variation-settings: "wdth" 104; min-height: 44px; }
.hs .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(242, 163, 58, .28), 0 2px 8px rgba(0, 0, 0, .5); flex: none; transition: transform .15s; }
.hs .lab { background: rgba(13, 13, 15, .82); padding: 7px 10px; border-radius: 3px; white-space: nowrap; transition: background .18s, color .18s; }
.hs:hover .lab, .hs[aria-expanded="true"] .lab { background: var(--foam); color: var(--ink); }
.hs:hover .dot { transform: scale(1.18); }
.hs.flip { flex-direction: row-reverse; }
.hs-pop { position: absolute; width: 250px; padding: 12px 14px; background: rgba(13, 13, 15, .9); border-radius: var(--r); font-size: 15px; line-height: 1.45; pointer-events: auto; box-shadow: 0 12px 40px rgba(0, 0, 0, .4); }
.hs-pop b { display: block; color: var(--sun-hi); font-size: 13px; margin-bottom: 4px; }

/* ---------- specs ---------- */
.specs { position: relative; margin-top: -24px; border-radius: 22px 22px 0 0; overflow: hidden; padding: var(--s9) 0 var(--s8); background: #1b1714; z-index: 2; }
.boards { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.specs::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(120% 70% at 85% 0%, rgba(255, 170, 90, .26), transparent 60%),
  linear-gradient(180deg, rgba(14, 12, 12, .55), rgba(14, 12, 12, .82)); }
.specs .wrap { position: relative; z-index: 2; }
.sec-head h2 { font-size: clamp(36px, 4.4vw, 68px); line-height: 1; font-variation-settings: "wdth" 112; }
.sec-head p { margin-top: var(--s3); font-size: 19px; color: var(--mist); max-width: 46ch; }
.spec-grid { margin-top: var(--s7); display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec { grid-column: span 2; background: rgba(20, 17, 15, .72); padding: var(--s6) var(--s5) var(--s5); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-height: 190px; align-content: space-between; }
.spec.big { grid-column: span 2; grid-row: span 3; }
.spec b { font-weight: 800; font-variation-settings: "wdth" 62; font-size: clamp(56px, 6.4vw, 104px); line-height: .9; font-feature-settings: "tnum"; color: var(--foam); }
.spec.big b { font-size: clamp(120px, 15vw, 240px); color: var(--sun-hi); }
.spec b span { color: var(--foam); font-size: .5em; vertical-align: top; margin-left: .05em; }
.spec b i { font-style: normal; font-weight: 400; font-size: .55em; color: var(--mist); margin: 0 .06em; }
.spec em { font-style: normal; font-weight: 700; font-size: 20px; color: var(--sun); }
.spec .lbl { flex-basis: 100%; font-size: 16px; color: var(--mist); max-width: 30ch; }
.parts { margin-top: var(--s8); display: grid; grid-template-columns: 1fr 2fr; gap: var(--s6); align-items: start; }
.parts h3 { font-size: 26px; font-variation-settings: "wdth" 110; }
.part-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s6); counter-reset: p; }
.part-list button { width: 100%; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; text-align: left; min-height: 56px; padding: 8px 0; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--foam); font: 600 17px var(--f); cursor: pointer; transition: color .18s, padding .25s var(--ease); }
.part-list button .n { font-weight: 800; font-variation-settings: "wdth" 62; font-size: 22px; color: var(--sun); font-feature-settings: "tnum"; }
.part-list button .w { font-size: 14px; color: var(--mist); font-weight: 500; }
.part-list button:hover { color: var(--sun-hi); padding-left: 6px; }

/* ---------- reserve ---------- */
.reserve { position: relative; padding: var(--s9) 0; overflow: hidden; background: var(--dusk); }
.lake-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.reserve::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10, 11, 18, .78) 0%, rgba(10, 11, 18, .35) 55%, rgba(10, 11, 18, .55) 100%); }
.reserve-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s8); align-items: center; }
.reserve-copy h2 { font-size: clamp(44px, 5.4vw, 88px); line-height: .95; font-variation-settings: "wdth" 114; }
.reserve-copy > p { margin-top: var(--s4); font-size: 19px; max-width: 40ch; }
.facts { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: var(--s3); }
.facts li { font-size: 17px; color: var(--mist); }
.facts b { color: var(--foam); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 22px; margin-right: 6px; }
.order { background: #17171a; border-radius: 8px; padding: var(--s6); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); position: relative; }
.order-head { display: flex; flex-direction: column; padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.o-name { font-weight: 800; font-size: 22px; font-variation-settings: "wdth" 110; }
.o-var { color: var(--mist); font-size: 15px; }
.field { margin-top: var(--s5); display: grid; gap: var(--s2); }
.flabel { font-weight: 600; font-size: 15px; }
.stepper { display: inline-flex; align-items: center; border-radius: var(--r); box-shadow: inset 0 0 0 1.5px rgba(241, 232, 218, .35); width: max-content; }
.stepper button { width: 52px; height: 52px; background: none; border: 0; color: var(--foam); font-size: 22px; cursor: pointer; border-radius: var(--r); transition: background .15s; }
.stepper button:hover:not(:disabled) { background: rgba(241, 232, 218, .12); }
.stepper button:disabled { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 44px; text-align: center; font-weight: 800; font-size: 22px; font-feature-settings: "tnum"; }
.field input { height: 52px; padding: 0 14px; border-radius: var(--r); border: 0; box-shadow: inset 0 0 0 1.5px rgba(241, 232, 218, .35); background: #0f0f11; color: var(--foam); font: 500 17px var(--f); transition: box-shadow .18s; }
.field input:hover { box-shadow: inset 0 0 0 1.5px rgba(241, 232, 218, .6); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sun); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff8a6b; }
.err { color: #ffab94; font-size: 14px; min-height: 1em; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: var(--s5) 0 var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); color: var(--mist); }
.total b { font-size: 30px; color: var(--foam); font-variation-settings: "wdth" 80; font-feature-settings: "tnum"; }
.note { margin-top: var(--s3); font-size: 14px; color: var(--mist); }
.done { position: absolute; inset: 0; background: #17171a; border-radius: 8px; padding: var(--s6); display: flex; flex-direction: column; justify-content: center; gap: var(--s4); animation: rise .35s var(--ease); }
.done[hidden] { display: none; }
.done h3 { font-size: 34px; font-variation-settings: "wdth" 112; color: var(--sun-hi); }
.done .btn { align-self: flex-start; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- faq ---------- */
.faq { padding: var(--s9) 0; background: linear-gradient(180deg, #0d0f17, #0b0c12); }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s6); }
.faq h2 { font-size: clamp(36px, 4vw, 60px); line-height: 1; font-variation-settings: "wdth" 112; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); font-weight: 700; font-size: 20px; padding: var(--s3) 0; transition: color .18s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; width: 14px; height: 14px; flex: none; background: linear-gradient(var(--sun), var(--sun)) center / 100% 2px no-repeat, linear-gradient(var(--sun), var(--sun)) center / 2px 100% no-repeat; transition: transform .25s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--sun-hi); }
.qa p { padding: 0 0 var(--s5); max-width: 60ch; color: var(--mist); font-size: 17px; }

/* ---------- footer ---------- */
.foot { background: #08090d; padding: var(--s7) 0 var(--s8); border-top: 1px solid var(--line); }
.foot-wrap { display: grid; grid-template-columns: auto 1fr; gap: var(--s5) var(--s7); align-items: center; }
.foot nav { display: flex; gap: var(--s5); justify-content: flex-end; flex-wrap: wrap; }
.foot nav a { text-decoration: none; color: var(--mist); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--foam); }
.fine { grid-column: 1 / -1; font-size: 14px; color: #8c857b; max-width: 90ch; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav ul { gap: var(--s5); }
  .spec { grid-column: span 3; }
  .spec.big { grid-column: span 6; grid-row: auto; }
  .parts, .faq-wrap { grid-template-columns: 1fr; }
  .reserve-wrap { grid-template-columns: 1fr; gap: var(--s6); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { height: 60px; }
  .nav nav { display: none; }
  .nav .brand { font-size: 15px; letter-spacing: .03em; }
  .nav .brand svg { width: 24px; }
  .story { height: 520vh; }
  .shade { background: linear-gradient(0deg, rgba(10, 10, 14, .82) 0%, rgba(10, 10, 14, .5) 34%, rgba(10, 10, 14, 0) 55%); }
  .cap { left: 16px; right: 16px; width: auto; bottom: 92px; }
  .cap h1 { font-size: 36px; }
  .cap h2 { font-size: 30px; }
  .cap p { font-size: 16px; margin-top: var(--s3); }
  .cap .actions .btn { flex: 1 1 auto; }
  .cap-end { top: auto; bottom: 92px; }
  .readout { top: 72px; }
  .readout span { font-size: 48px; }
  .chapters { left: 16px; right: 16px; bottom: 20px; overflow-x: auto; scrollbar-width: none; justify-content: space-between; }
  .chapters button { padding: 0 10px; font-size: 13px; min-height: 44px; flex: none; }
  .hint { display: none; }
  .hs .lab { font-size: 13px; padding: 6px 8px; }
  .hs-pop { width: min(250px, calc(100vw - 32px)); }
  .spec { grid-column: span 6; min-height: 0; padding: var(--s5) var(--s4); }
  .spec.big b { font-size: 120px; }
  .part-list { grid-template-columns: 1fr; }
  .specs { padding-top: var(--s8); }
  .reserve, .faq { padding: var(--s8) 0; }
  .order { padding: var(--s5); }
  .foot-wrap { grid-template-columns: 1fr; }
  .foot nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .nav, .story, .reserve form { display: none; }
  body { background: #fff; color: #000; }
}

/* no-WebGL fallback: poster still and stacked captions */
.no-gl .story { height: auto; }
.no-gl .stage { position: relative; height: auto; min-height: 100vh; padding: 120px var(--gutter) 80px; display: grid; gap: 40px; }
.no-gl .cap { position: relative; left: auto; bottom: auto; top: auto; width: auto; max-width: 560px; visibility: visible; opacity: 1; }
.no-gl .gl, .no-gl .hint, .no-gl .chapters, .no-gl .readout, .no-gl .bigword, .no-gl .progress { display: none; }
.no-gl .poster { position: relative; display: block; height: 60vh; }
