/* =====================================================================
   VOLGA Carts South Africa — design system
   Layered blacks, paper whites, one expanded grotesk, champagne used sparingly.
   ===================================================================== */
:root {
  /* blacks, darkest to lightest */
  --void: #030304;
  --ink: #070708;
  --carbon: #0e0e10;
  --graphite: #151518;
  --slate: #1e1e22;
  --iron: #2a2a2f;
  /* whites */
  --paper: #f3f2ee;
  --bone: #e8e6e0;
  --white: #ffffff;
  /* text on dark */
  --t1: #f5f4f0;
  --t2: #a9a9ae;
  --t3: #6e6e75;
  /* text on light */
  --l1: #0a0a0b;
  --l2: #55555b;
  --l3: #8a8a90;
  /* accent */
  --champagne: #cbb187;
  --bronze: #8a6c3c;
  --red: #e0645c;

  --hair: rgba(255, 255, 255, 0.08);
  --hair-2: rgba(255, 255, 255, 0.14);
  --hair-l: rgba(10, 10, 11, 0.1);

  --sans: 'Archivo', 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --wide: 125%;
  --mid: 112%;

  --gutter: clamp(20px, 4.2vw, 56px);
  --wrap: 1360px;
  --head: 72px;
  --bar: 0px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --r-lg: 22px;
  --r-md: 14px;
}

/* ------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--t2);
  font-family: var(--sans); font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  padding-bottom: var(--bar); overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--champagne); color: var(--void); }
:focus-visible { outline: 2px solid var(--champagne); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 200; background: var(--t1); color: var(--void); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ------------------------------------------------------------- type */
h1, h2, h3, h4, .display { margin: 0; color: var(--t1); font-weight: 500; text-wrap: balance; }
h1, .display { font-stretch: var(--wide); font-size: clamp(2.5rem, 6.6vw, 6.2rem); line-height: .96; letter-spacing: -.035em; }
h2 { font-stretch: var(--wide); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1; letter-spacing: -.03em; }
h3 { font-stretch: var(--mid); font-size: clamp(1.2rem, 1.7vw, 1.45rem); line-height: 1.2; letter-spacing: -.01em; font-weight: 600; }
h4 { font-size: 1rem; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.06rem, 1.4vw, 1.22rem); line-height: 1.55; color: var(--t2); max-width: 54ch; }
.kicker { display: block; font-size: .95rem; font-weight: 500; color: var(--t2); margin-bottom: 18px; }
.kicker b { color: var(--t1); font-weight: 600; }
.fine { font-size: .82rem; line-height: 1.55; color: var(--t3); max-width: 96ch; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.wide { font-stretch: var(--wide); }
.champagne { color: var(--champagne); }
.t1 { color: var(--t1); }

/* ------------------------------------------------------------- buttons */
.btn {
  --bg: var(--t1); --fg: var(--void);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px; background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: .96rem; letter-spacing: .005em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s; -webkit-tap-highlight-color: transparent;
}
.btn::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); z-index: -1; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.975); }
.btn--ghost { --bg: transparent; --fg: var(--t1); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--t1); }
.btn--ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%); }
.btn--dark { --bg: var(--void); --fg: var(--t1); }
.btn--sm { min-height: 42px; padding: 0 1.15em; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { color: var(--t1); font-weight: 600; display: inline-flex; align-items: center; gap: .5em; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ------------------------------------------------------------- header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--head); transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.is-solid { background: rgba(7, 7, 8, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--hair); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.wordmark { display: flex; align-items: baseline; gap: 10px; margin-right: auto; color: var(--t1); }
.wordmark b { font-stretch: var(--wide); font-weight: 700; font-size: 1.28rem; letter-spacing: .16em; }
.wordmark span { font-size: .78rem; color: var(--t3); font-weight: 500; display: none; }
@media (min-width: 560px) { .wordmark span { display: inline; } }
.nav { display: none; gap: 2px; }
.nav a { position: relative; padding: 10px 14px; font-size: .94rem; font-weight: 500; color: var(--t2); transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1px; background: var(--t1); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover { color: var(--t1); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--t1); }
.head-cta { display: none; gap: 8px; align-items: center; }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); }
.menu-btn i { display: block; width: 18px; height: 1.5px; background: var(--t1); position: relative; transition: background .2s; }
.menu-btn i::before, .menu-btn i::after { content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--t1); transition: transform .45s var(--ease); }
.menu-btn i::before { top: -5px; } .menu-btn i::after { top: 5px; }
.menu-open .menu-btn i { background: transparent; }
.menu-open .menu-btn i::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn i::after { transform: translateY(-5px) rotate(-45deg); }
@media (min-width: 1100px) { .nav, .head-cta { display: flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--void); padding: calc(var(--head) + 16px) var(--gutter) calc(120px + env(safe-area-inset-bottom)); overflow-y: auto; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io), visibility 0s .7s; }
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.menu-open { overflow: hidden; }
.menu-main a { display: flex; align-items: baseline; justify-content: space-between; font-stretch: var(--wide); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 500; letter-spacing: -.03em; color: var(--t1); padding: 10px 0; border-bottom: 1px solid var(--hair); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.menu-main a small { font-size: .82rem; font-stretch: 100%; letter-spacing: 0; color: var(--t3); font-weight: 500; }
.menu-open .menu-main a { opacity: 1; transform: none; }
.menu-main a:nth-child(2) { transition-delay: .04s; } .menu-main a:nth-child(3) { transition-delay: .08s; } .menu-main a:nth-child(4) { transition-delay: .12s; }
.menu-main a:nth-child(5) { transition-delay: .16s; } .menu-main a:nth-child(6) { transition-delay: .2s; } .menu-main a:nth-child(7) { transition-delay: .24s; }
.menu-more { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; margin-top: 28px; }
.menu-more a { color: var(--t2); padding: 9px 0; font-size: .98rem; }
.menu-foot { margin-top: 30px; display: grid; gap: 10px; }

/* phone action bar */
.action-bar { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto auto 1fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(14, 14, 16, .82); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 0 0 1px var(--hair-2), 0 18px 40px rgba(0,0,0,.5); transform: translateY(0); transition: transform .5s var(--ease); }
.action-bar .btn { min-height: 46px; padding: 0 1.05em; font-size: .9rem; }
.action-bar .btn--ghost { box-shadow: none; background: rgba(255,255,255,.06); }
body.has-bar { --bar: calc(86px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .action-bar { display: none; } body.has-bar { --bar: 0px; } }

/* ------------------------------------------------------------- sections */
.section { position: relative; padding-block: clamp(88px, 12vw, 168px); }
.section--tight { padding-block: clamp(56px, 8vw, 104px); }
.section--void { background: var(--void); }
.section--carbon { background: var(--carbon); }
.head-split { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.head-split .lead { margin: 0; }
@media (min-width: 960px) { .head-split { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 64px; } }
.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* light sections */
.light { background: var(--paper); color: var(--l2); }
.light h1, .light h2, .light h3, .light h4, .light .t1 { color: var(--l1); }
.light .lead { color: var(--l2); }
.light .fine { color: var(--l3); }
.light .kicker { color: var(--l2); }
.light .kicker b { color: var(--l1); }
.light .btn { --bg: var(--l1); --fg: var(--white); }
.light .btn--ghost { --bg: transparent; --fg: var(--l1); box-shadow: inset 0 0 0 1px var(--hair-l); }
.light .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--l1); }
.light .link { color: var(--l1); }
.light .rule { background: var(--hair-l); }
.light .champagne { color: var(--bronze); }

/* page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--head) + clamp(56px, 9vw, 120px)) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero h1 { max-width: 13ch; }
.page-hero .lead { margin-top: 26px; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 0%, rgba(255,255,255,.06), transparent 70%); pointer-events: none; }
.light.page-hero::before { background: radial-gradient(60% 70% at 85% 0%, rgba(255,255,255,.9), transparent 70%); }

/* ------------------------------------------------------------- photos: one grade for every image */
.ph { position: relative; overflow: hidden; background: var(--graphite); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.06) brightness(.94); transform: scale(1.02); transition: transform 1.4s var(--ease), filter .8s; }
.ph::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0,0,0,.38) 100%), linear-gradient(180deg, rgba(20,16,10,.06), rgba(0,0,0,.12)); mix-blend-mode: multiply; }
.ph::after { content: ''; position: absolute; inset: -50%; z-index: 2; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.light .ph { background: var(--bone); }
.ph--mono img { filter: grayscale(1) contrast(1.12) brightness(.9); }

/* reveal: images open with a clip, once */
.reveal { clip-path: inset(12% 6% 12% 6% round var(--r-lg)); opacity: .001; transition: clip-path 1.3s var(--ease), opacity .6s; }
.reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); opacity: 1; }
.reveal.is-in img { transform: scale(1); }
.no-js .reveal, .reduced .reveal { clip-path: none; opacity: 1; }
.rise { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rise.is-in { opacity: 1; transform: none; }
.no-js .rise, .reduced .rise { opacity: 1; transform: none; }

/* ======================================================= home: scroll story */
.story { position: relative; height: 360vh; background: var(--void); }
.story-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage { position: absolute; inset: 0; }
.stage .vgl-canvas { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.stage.is-ready .vgl-canvas { opacity: 1; }
.stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.7) contrast(1.05) brightness(.7); }
.stage.is-ready .stage-fallback { display: none; }
.stage.is-grabbing { cursor: grabbing; }
.story-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,3,4,.55) 0%, transparent 22%, transparent 62%, rgba(3,3,4,.85) 100%); }
.story-copy { position: absolute; inset: 0; display: grid; align-items: end; padding-top: var(--head); padding-bottom: calc(var(--bar) + 28px); pointer-events: none; }
.beat { grid-area: 1 / 1; pointer-events: none; will-change: opacity, transform; max-width: 620px; }
.beat.is-live { pointer-events: auto; }
.beat h1, .beat h2 { margin-bottom: 18px; }
.beat .lead { margin-bottom: 26px; }
.beat h2 { font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: .98; }
.readout { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; color: var(--t1); }
.readout .code { font-stretch: var(--wide); font-size: clamp(3rem, 8vw, 5.6rem); font-weight: 500; line-height: .9; letter-spacing: -.04em; }
.readout .meta { display: grid; gap: 2px; }
.readout .meta b { font-size: 1.15rem; font-weight: 600; }
.readout .meta span { color: var(--t2); font-size: .95rem; }
.ticks { display: flex; gap: 8px; margin: 22px 0 0; }
.ticks button { flex: 1; max-width: 96px; display: grid; gap: 10px; padding: 6px 0; font-size: .84rem; color: var(--t3); text-align: left; transition: color .4s; }
.ticks button::before { content: ''; height: 2px; border-radius: 2px; background: var(--hair-2); transition: background .5s var(--ease); }
.ticks button:hover { color: var(--t2); }
.ticks button.on { color: var(--t1); }
.ticks button.on::before { background: var(--t1); }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch-row button { display: grid; justify-items: center; gap: 8px; font-size: .78rem; color: var(--t3); width: 74px; text-align: center; line-height: 1.25; transition: color .4s; }
.swatch-row i { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15), inset -6px -8px 14px rgba(0,0,0,.4), inset 5px 6px 10px rgba(255,255,255,.18); transition: transform .5s var(--ease), box-shadow .4s; }
.swatch-row .on { color: var(--t1); }
.swatch-row .on i { transform: scale(1.08); box-shadow: 0 0 0 2px var(--void), 0 0 0 3px var(--t1), inset -6px -8px 14px rgba(0,0,0,.4), inset 5px 6px 10px rgba(255,255,255,.18); }
.story-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: none; gap: 10px; flex-direction: column; }
.story-rail span { width: 2px; height: 46px; background: var(--hair-2); border-radius: 2px; overflow: hidden; position: relative; }
.story-rail span i { position: absolute; inset: 0; background: var(--t1); transform-origin: top; transform: scaleY(var(--f, 0)); }
.scroll-cue { position: absolute; left: 50%; bottom: calc(var(--bar) + 22px); transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font-size: .78rem; color: var(--t3); transition: opacity .4s; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--t1), transparent); background-size: 100% 200%; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { background-position: 0 -100%; } 100% { background-position: 0 100%; } }
@media (min-width: 900px) {
  .story-copy { align-items: center; padding-bottom: 0; }
  .story-rail, .scroll-cue { display: flex; }
  .story-shade { background: linear-gradient(90deg, rgba(3,3,4,.75) 0%, rgba(3,3,4,.2) 38%, transparent 55%), linear-gradient(180deg, rgba(3,3,4,.5) 0%, transparent 20%, transparent 80%, rgba(3,3,4,.7) 100%); }
  .beat { max-width: 560px; }
}
.load-1, .load-2, .load-3 { opacity: 0; transform: translateY(26px); animation: rise-in 1.2s var(--ease) forwards; }
.load-2 { animation-delay: .12s; } .load-3 { animation-delay: .24s; }
@keyframes rise-in { to { opacity: 1; transform: none; } }

/* ======================================================= statement */
.statement { display: grid; gap: 48px; }
.statement p.big { font-stretch: var(--mid); font-size: clamp(1.6rem, 3.3vw, 2.9rem); line-height: 1.16; letter-spacing: -.02em; color: var(--t1); font-weight: 400; max-width: 30ch; margin: 0; }
.statement p.big span { color: var(--t3); }
.facts { display: grid; gap: 0; }
.facts div { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--hair); }
.facts b { font-stretch: var(--wide); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--t1); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.facts span { color: var(--t2); font-size: .95rem; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ======================================================= model cards (3D tilt) */
.models { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px var(--gutter) 30px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.models::-webkit-scrollbar { display: none; }
@media (min-width: 1000px) { .models { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; gap: 18px; } }
.tilt { perspective: 1100px; scroll-snap-align: start; }
.card {
  position: relative; display: grid; border-radius: var(--r-lg); background: linear-gradient(170deg, var(--slate), var(--carbon) 60%); color: var(--t2);
  transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease), box-shadow .8s var(--ease);
  box-shadow: 0 0 0 1px var(--hair), 0 30px 60px -30px rgba(0,0,0,.9); height: 100%;
}
.card.is-tilting { transition: transform .12s linear, box-shadow .4s; }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.09), transparent 40%); opacity: var(--glare, 0); transition: opacity .5s; }
.card .ph { border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 4 / 3.1; transform: translateZ(0); }
.card-body { padding: 22px 22px 24px; display: grid; gap: 16px; transform: translateZ(36px); }
.card-code { display: flex; align-items: baseline; justify-content: space-between; }
.card-code b { font-stretch: var(--wide); font-size: 2.6rem; color: var(--t1); font-weight: 500; letter-spacing: -.04em; line-height: .9; }
.card-code span { font-size: .9rem; color: var(--t2); }
.card h3 { font-size: 1.1rem; }
.card dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--hair); }
.card dt { font-size: .74rem; color: var(--t3); }
.card dd { margin: 0; color: var(--t1); font-weight: 600; font-size: .92rem; }
.card .price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card .price b { color: var(--t1); font-size: 1.3rem; font-weight: 600; }
.card .price span { font-size: .84rem; color: var(--t3); }
.card .go { display: flex; gap: 8px; }
.card .go .btn { flex: 1; }

/* ======================================================= exploded engineering */
.eng { position: relative; height: 260vh; background: var(--void); }
.eng-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.eng-copy { position: absolute; left: 0; right: 0; top: calc(var(--head) + 24px); z-index: 3; pointer-events: none; }
.eng-copy h2 { max-width: 12ch; }
.eng-copy .lead { margin-top: 16px; max-width: 42ch; }
.eng-copy .btn-row { pointer-events: auto; margin-top: 22px; }
.labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.label { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .6s var(--ease); will-change: transform; }
.label.on { opacity: 1; }
.label .dot { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--t1); color: var(--void); font-style: normal; font-size: .72rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 5px rgba(255,255,255,.1), 0 0 24px rgba(255,255,255,.35); z-index: 1; }
.label .tx { position: absolute; left: 0; top: 0; width: max-content; max-width: 220px; padding: 10px 14px; border-radius: 12px; background: rgba(14,14,16,.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--hair-2); }
.label .tx b { display: block; color: var(--t1); font-size: .9rem; font-weight: 600; }
.label .tx span { display: block; color: var(--t2); font-size: .8rem; line-height: 1.35; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.leaders path { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 1; }
.eng-legend { position: absolute; left: 0; right: 0; bottom: calc(var(--bar) + 20px); z-index: 3; }
.eng-legend ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.eng-legend li { font-size: .82rem; color: var(--t2); line-height: 1.35; opacity: .25; transition: opacity .5s; }
.eng-legend li.on { opacity: 1; }
.eng-legend li b { display: block; color: var(--t1); font-weight: 600; font-size: .88rem; }
@media (min-width: 900px) { .eng-legend { display: none; } }
@media (max-width: 899px) { .label .tx, .leaders { display: none; } }

/* ======================================================= process (light, 3D stack) */
.process { position: relative; }
.stack { display: grid; gap: 14px; perspective: 1400px; perspective-origin: 50% 20%; }
.step { position: relative; border-radius: var(--r-lg); padding: 28px 26px 30px; background: var(--white); box-shadow: 0 0 0 1px var(--hair-l), 0 40px 80px -40px rgba(10,10,11,.28); transform-style: preserve-3d; transform: translate3d(0, var(--y, 0px), var(--z, 0px)) rotateX(var(--rx, 0deg)); transition: transform .2s linear; display: grid; gap: 12px; min-height: 240px; align-content: start; }
.step .n { font-stretch: var(--wide); font-size: 3.4rem; line-height: .9; color: var(--l1); font-weight: 500; letter-spacing: -.05em; }
.step .n span { color: var(--l3); }
.step p { margin: 0; color: var(--l2); font-size: .97rem; }
.step .bar { position: absolute; left: 26px; right: 26px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--l1); transform-origin: left; transform: scaleX(var(--done, 0)); }
@media (min-width: 900px) { .stack { grid-template-columns: repeat(4, 1fr); gap: 16px; } .step { min-height: 300px; } }
.warranty { display: grid; gap: 28px; margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--hair-l); }
.warranty .big { font-stretch: var(--wide); font-size: clamp(5rem, 15vw, 12rem); line-height: .82; letter-spacing: -.06em; color: var(--l1); font-weight: 500; }
.warranty .big small { font-size: .2em; letter-spacing: -.01em; margin-left: .2em; color: var(--l2); font-weight: 500; }
@media (min-width: 900px) { .warranty { grid-template-columns: auto 1fr; align-items: end; gap: 64px; } }

/* ======================================================= coverflow gallery */
.flow { position: relative; height: clamp(360px, 62vw, 620px); perspective: 1600px; perspective-origin: 50% 40%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.flow.is-drag { cursor: grabbing; }
.flow-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.flow-item { position: absolute; left: 50%; top: 0; width: clamp(240px, 46vw, 620px); height: 82%; margin-left: calc(clamp(240px, 46vw, 620px) / -2); border-radius: var(--r-lg); transform-style: preserve-3d; transition: transform .9s var(--ease), opacity .9s var(--ease), filter .9s; will-change: transform; }
.flow.is-drag .flow-item { transition: none; }
.flow-item .ph { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 50px 90px -40px rgba(0,0,0,.9); }
.flow-item::after { content: ''; position: absolute; left: 6%; right: 6%; top: 100%; height: 30%; margin-top: 12px; border-radius: var(--r-lg); background: var(--img) center bottom / cover; transform: scaleY(-1); opacity: .13; filter: blur(2px) saturate(.6); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 70%); mask-image: linear-gradient(to top, rgba(0,0,0,.9), transparent 70%); }
.flow-cap { position: relative; margin-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.flow-nav span { color: var(--t3); font-size: .88rem; align-self: center; margin-right: 8px; }
.flow-cap p { margin: 0; color: var(--t1); font-weight: 500; min-height: 1.6em; }
.flow-cap p span { color: var(--t3); margin-left: 10px; }
.flow-nav { display: flex; gap: 8px; }
.round { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--t1); transition: box-shadow .3s, background .3s; }
.round:hover { box-shadow: inset 0 0 0 1px var(--t1); }
.round svg { width: 20px; height: 20px; }

/* ======================================================= uses */
.uses { display: grid; gap: 18px; }
.use { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; isolation: isolate; }
.use .ph { position: absolute; inset: -12% 0; z-index: -1; border-radius: 0; }
.use .ph img { transform: translateY(var(--py, 0px)) scale(1.06); transition: none; }
.use::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(3,3,4,.92) 100%); }
.use-body { padding: 26px; display: grid; gap: 8px; }
.use-body small { color: var(--champagne); font-weight: 600; font-size: .86rem; }
.use-body p { margin: 0; color: #cfcfd3; max-width: 44ch; font-size: .96rem; }
@media (min-width: 860px) { .uses { grid-template-columns: 1.25fr 1fr; } .use { min-height: 520px; } .use:nth-child(4n+2), .use:nth-child(4n+3) { } .uses .use:nth-child(2) { margin-top: 90px; } .uses .use:nth-child(3) { margin-top: -90px; } }

/* ======================================================= film */
.film { perspective: 1800px; }
.film-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; transform: rotateX(var(--fx, 22deg)) scale(var(--fs, .9)); transform-origin: 50% 100%; box-shadow: 0 0 0 1px var(--hair), 0 80px 120px -60px rgba(0,0,0,1); will-change: transform; }
.film-frame video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.55)); transition: opacity .5s; }
.film-play span { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); transition: transform .5s var(--ease), background .3s; }
.film-play:hover span { transform: scale(1.08); background: rgba(255,255,255,.2); }
.film-play svg { width: 26px; height: 26px; margin-left: 4px; color: #fff; }
.film.is-playing .film-play { opacity: 0; pointer-events: none; }

/* ======================================================= CTA */
.cta { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 220px); background: var(--void); text-align: center; }
.cta .ghost-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) translateY(var(--gy, 0px)); font-stretch: var(--wide); font-weight: 700; font-size: clamp(6rem, 26vw, 24rem); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none; line-height: 1; }
.cta h2 { max-width: 14ch; margin-inline: auto; }
.cta .lead { margin: 22px auto 34px; }
.cta .btn-row { justify-content: center; }

/* ======================================================= footer */
.site-footer { background: var(--void); border-top: 1px solid var(--hair); padding: 72px 0 calc(40px + var(--bar)); }
.foot-grid { display: grid; gap: 40px; }
.foot-brand .wordmark { margin-bottom: 14px; }
.foot-brand p { max-width: 34ch; color: var(--t2); }
.foot-brand img { height: 44px; width: auto; margin-top: 18px; opacity: .9; }
.foot-grid h4 { font-size: .9rem; color: var(--t1); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid ul a { color: var(--t2); font-size: .95rem; transition: color .3s; }
.foot-grid ul a:hover { color: var(--t1); }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); display: grid; gap: 8px; }
@media (min-width: 820px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }

/* ======================================================= viewer (models / technology) */
.viewer { position: relative; height: min(76vh, 720px); min-height: 420px; border-radius: 0; background: var(--void); }
.viewer-ui { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; }
.seg { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(14,14,16,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--hair-2); }
.seg button { min-height: 44px; min-width: 64px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--t2); transition: background .4s var(--ease), color .3s; }
.seg button[aria-pressed="true"] { background: var(--t1); color: var(--void); }
.light .seg { background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px var(--hair-l); }
.light .seg button { color: var(--l2); }
.light .seg button[aria-pressed="true"] { background: var(--l1); color: var(--white); }
.viewer-read { position: absolute; left: 0; right: 0; top: calc(var(--head) + 20px); z-index: 3; pointer-events: none; }
.hint { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--t3); }
.hint svg { width: 30px; height: 12px; }
.range-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.range-row label { font-size: .88rem; color: var(--t2); white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; max-width: 280px; height: 32px; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { height: 2px; background: var(--hair-2); border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--t1); margin-top: -10px; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
input[type=range]::-moz-range-track { height: 2px; background: var(--hair-2); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--t1); border: 0; }

/* ======================================================= tables & spec lists */
.table-scroll { overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--hair-l); font-size: .95rem; vertical-align: top; color: var(--l1); }
.compare thead th { vertical-align: bottom; border-bottom: 1px solid var(--l1); padding-bottom: 20px; }
.compare thead b { display: block; font-stretch: var(--wide); font-size: 2.2rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 4px; }
.compare thead span { color: var(--l2); font-weight: 500; font-size: .9rem; }
.compare tbody th { color: var(--l2); font-weight: 500; position: sticky; left: 0; background: var(--paper); min-width: 170px; z-index: 1; }
.compare thead th:first-child { position: sticky; left: 0; background: var(--paper); z-index: 1; }
.compare .hl td { font-weight: 600; }
.compare tr:hover td, .compare tr:hover th { background: rgba(10,10,11,.025); }

.specs { display: grid; margin: 0; }
.specs div { display: grid; grid-template-columns: minmax(140px, 40%) 1fr; gap: 18px; padding: 15px 0; border-top: 1px solid var(--hair); }
.specs dt { color: var(--t3); font-size: .92rem; }
.specs dd { margin: 0; color: var(--t1); font-size: .96rem; }
.light .specs div { border-color: var(--hair-l); }
.light .specs dt { color: var(--l2); }
.light .specs dd { color: var(--l1); }
@media (min-width: 900px) { .specs--2 { grid-template-columns: 1fr 1fr; column-gap: 56px; } }

/* ======================================================= generic grids */
.split { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--flip > :first-child { order: 2; } }
.split .ph { border-radius: var(--r-lg); aspect-ratio: 4 / 3.2; }
.tiles { display: grid; gap: 18px; }
.tile { display: grid; gap: 14px; align-content: start; }
.tile .ph { border-radius: var(--r-lg); aspect-ratio: 4 / 3; }
.tile p { margin: 0; color: var(--t2); font-size: .96rem; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.stats div { padding: 22px 0; border-top: 1px solid var(--hair); display: grid; gap: 6px; }
.stats b { font-stretch: var(--wide); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; color: var(--t1); font-weight: 500; }
.stats span { color: var(--t2); font-size: .9rem; }
.light .stats div { border-color: var(--hair-l); }
.light .stats b { color: var(--l1); }
.light .stats span { color: var(--l2); }
@media (min-width: 900px) { .stats--4 { grid-template-columns: repeat(4, 1fr); } }
.list { list-style: none; margin: 0; padding: 0; display: grid; }
.list li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--hair); }
.list li:last-child { border-bottom: 1px solid var(--hair); }
.list .n { font-stretch: var(--wide); font-size: 1.4rem; color: var(--t1); font-weight: 500; }
.list p { margin: 4px 0 0; color: var(--t2); font-size: .95rem; }
.light .list li { border-color: var(--hair-l); }
.light .list .n { color: var(--l1); }
.light .list p { color: var(--l2); }

/* ======================================================= chips, accessories */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); font-size: .88rem; font-weight: 500; color: var(--t2); white-space: nowrap; transition: background .3s, color .3s, box-shadow .3s; }
.chip:hover { color: var(--t1); }
.chip[aria-pressed="true"] { background: var(--t1); color: var(--void); box-shadow: none; }
.light .chip { box-shadow: inset 0 0 0 1px var(--hair-l); color: var(--l2); }
.light .chip[aria-pressed="true"] { background: var(--l1); color: var(--white); }
.acc-grid { display: grid; gap: 1px; margin-top: 16px; background: var(--hair); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--hair); }
.acc { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px; background: var(--ink); align-items: start; transition: background .3s; }
.acc:hover { background: var(--carbon); }
.acc-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--graphite); display: grid; place-items: center; }
.acc-img.ph { border-radius: 12px; }
.acc-img svg { width: 30px; height: 30px; color: var(--t3); }
.acc small { color: var(--t3); font-size: .78rem; font-weight: 500; }
.acc h3 { font-size: .98rem; font-stretch: 100%; line-height: 1.3; margin: 2px 0 6px; }
.acc .p { color: var(--t1); font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; }
.acc .p span { color: var(--t3); font-weight: 400; font-size: .84rem; }
.acc .n { margin: 6px 0 0; color: var(--t3); font-size: .84rem; line-height: 1.45; }
@media (min-width: 760px) { .acc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1140px) { .acc-grid { grid-template-columns: 1fr 1fr 1fr; } }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trio .ph { border-radius: var(--r-md); aspect-ratio: 3 / 4; }

/* gallery grid + lightbox */
.masonry { columns: 2 150px; column-gap: 12px; }
.masonry button { display: block; width: 100%; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; position: relative; }
.masonry .ph { border-radius: var(--r-md); }
.masonry .ph img { height: auto; }
.masonry button:hover .ph img { transform: scale(1.05); }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 16px; } .masonry button { margin-bottom: 16px; } }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(3,3,4,.96); display: grid; place-items: center; padding: 70px 16px 90px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: 76vh; width: auto; border-radius: var(--r-md); filter: saturate(.85) contrast(1.05); transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: var(--t2); text-align: center; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-prev, .lb-next { position: absolute; bottom: 20px; }
.lb-prev { left: calc(50% - 60px); } .lb-next { left: calc(50% + 10px); }
@media (min-width: 900px) { .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); } .lb-prev { left: 20px; } .lb-next { left: auto; right: 20px; } }

/* FAQ */
.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 52px 24px 0; position: relative; color: var(--t1); font-size: 1.08rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: var(--t1); transition: transform .5s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .a { padding: 0 0 26px; max-width: 70ch; color: var(--t2); }
.faq .a p:last-child { margin: 0; }

/* forms */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--t1); }
.field label em { font-style: normal; color: var(--t3); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 0; background: var(--carbon); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--t1); font: inherit; font-size: 16px; transition: box-shadow .3s, background .3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--t2) 50%), linear-gradient(135deg, var(--t2) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--carbon); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--t1); background: var(--graphite); }
.field .err { color: var(--red); font-size: .85rem; }
.form-note { font-size: .88rem; color: var(--t3); }
.form-done { display: none; margin-top: 18px; padding: 18px 20px; border-radius: 14px; background: var(--carbon); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--t2); }
.form-done.is-shown { display: block; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--hair-2); margin-bottom: 32px; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; color: var(--t2); transition: background .4s var(--ease), color .3s; }
.tabs button[aria-selected="true"] { background: var(--t1); color: var(--void); }
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.35fr 1fr; gap: 72px; } }
.contact-card { border-radius: var(--r-lg); background: var(--carbon); box-shadow: inset 0 0 0 1px var(--hair); padding: 28px; display: grid; gap: 22px; align-content: start; }
.contact-card .big { display: block; font-stretch: var(--mid); font-size: 1.35rem; color: var(--t1); font-weight: 500; transition: color .3s; }
.contact-card a.big:hover { color: var(--champagne); }
.contact-card .ph { border-radius: var(--r-md); aspect-ratio: 16/10; }

/* finance */
.calc { display: grid; gap: 32px; border-radius: var(--r-lg); background: var(--carbon); box-shadow: inset 0 0 0 1px var(--hair); padding: clamp(22px, 4vw, 40px); }
@media (min-width: 900px) { .calc { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.calc-out strong { display: block; font-stretch: var(--wide); font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.04em; color: var(--t1); font-weight: 500; margin: 10px 0 14px; font-variant-numeric: tabular-nums; }

/* toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 22px); transform: translate(-50%, 16px); z-index: 130; padding: 12px 20px; border-radius: 999px; background: var(--t1); color: var(--void); font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); }
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }

/* ======================================================= configurator (white studio) */
.studio-page { background: var(--paper); color: var(--l2); }
.studio-page .site-header.is-solid { background: rgba(243, 242, 238, .78); border-bottom-color: var(--hair-l); }
.studio-page .wordmark, .studio-page .nav a[aria-current="page"], .studio-page .nav a:hover { color: var(--l1); }
.studio-page .nav a { color: var(--l2); }
.studio-page .nav a::after { background: var(--l1); }
.studio-page .menu-btn { box-shadow: inset 0 0 0 1px var(--hair-l); }
.studio-page .menu-btn i, .studio-page .menu-btn i::before, .studio-page .menu-btn i::after { background: var(--l1); }
.studio-page.menu-open .menu-btn i { background: transparent; }
.studio-page.menu-open .menu-btn i::before, .studio-page.menu-open .menu-btn i::after { background: var(--t1); }
.studio-page .head-cta .btn { --bg: var(--l1); --fg: var(--white); }
.studio-page .head-cta .btn--ghost { --bg: transparent; --fg: var(--l1); box-shadow: inset 0 0 0 1px var(--hair-l); }
.builder { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: var(--head); }
.builder > * { min-width: 0; }
.b-stage { position: sticky; top: var(--head); z-index: 5; height: 42vh; min-height: 260px; max-height: 420px; background: #ecebe8; }
.b-stage .stage { position: absolute; inset: 0; }
.b-total { position: absolute; left: var(--gutter); top: 14px; z-index: 3; pointer-events: none; }
.b-total small { display: block; font-size: .78rem; color: var(--l2); }
.b-total b { font-stretch: var(--mid); font-size: 1.4rem; color: var(--l1); font-weight: 600; font-variant-numeric: tabular-nums; }
.b-hint { position: absolute; right: var(--gutter); top: 18px; z-index: 3; color: var(--l3); }
.b-steps { padding-inline: var(--gutter); }
.bstep { padding: 40px 0; border-bottom: 1px solid var(--hair-l); }
.bstep-head { display: grid; gap: 8px; margin-bottom: 22px; }
.bstep-head small { color: var(--l3); font-weight: 600; font-size: .86rem; }
.bstep-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--l1); }
.bstep-head p { margin: 4px 0 0; color: var(--l2); font-size: .95rem; max-width: 60ch; }
.opt-grid { display: grid; gap: 10px; }
.opt-grid--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: grid; gap: 4px; padding: 16px; border-radius: 16px; background: var(--white); box-shadow: 0 0 0 1px var(--hair-l); cursor: pointer; height: 100%; transition: box-shadow .3s, transform .4s var(--ease); }
.opt label:hover { box-shadow: 0 0 0 1px rgba(10,10,11,.3); }
.opt label b { color: var(--l1); font-size: .98rem; font-weight: 600; }
.opt label span { font-size: .84rem; color: var(--l2); line-height: 1.4; }
.opt label .pr { color: var(--l1); font-weight: 600; font-variant-numeric: tabular-nums; }
.opt input:checked + label { box-shadow: 0 0 0 2px var(--l1); }
.opt input:focus-visible + label { outline: 2px solid var(--bronze); outline-offset: 3px; }
.opt input:disabled + label { opacity: .38; cursor: not-allowed; }
.opt--check label { grid-template-columns: 22px 1fr auto; align-items: start; column-gap: 12px; }
.opt--check label::before { content: ''; width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(10,10,11,.25); margin-top: 1px; grid-row: span 2; transition: background .2s; }
.opt--check input:checked + label::before { background: var(--l1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: none; }
.opt--check label .pr { grid-column: 3; grid-row: 1; text-align: right; white-space: nowrap; }
.opt--check label span { grid-column: 2 / -1; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 16px 10px; }
.sw { position: relative; text-align: center; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.sw label { display: grid; justify-items: center; gap: 8px; cursor: pointer; font-size: .74rem; line-height: 1.25; color: var(--l2); }
.sw i { width: 48px; height: 48px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1), inset -7px -9px 14px rgba(0,0,0,.28), inset 6px 7px 12px rgba(255,255,255,.35); transition: transform .4s var(--ease), box-shadow .3s; }
.sw i.is-matte { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), inset -4px -6px 12px rgba(0,0,0,.12); }
.sw i.is-custom { background: conic-gradient(#cbb187, #5d1a2a, #1d3366, #1e7878, #8cc23a, #cbb187); }
.sw i.is-two { background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.sw input:checked + label { color: var(--l1); font-weight: 600; }
.sw input:checked + label i { transform: scale(1.06); box-shadow: 0 0 0 2px var(--paper), 0 0 0 3.5px var(--l1), inset -7px -9px 14px rgba(0,0,0,.28), inset 6px 7px 12px rgba(255,255,255,.35); }
.sw input:focus-visible + label i { outline: 2px solid var(--bronze); outline-offset: 5px; }
.sel-name { margin-top: 16px; font-size: .95rem; color: var(--l2); }
.sel-name b { color: var(--l1); }
.cost-list { list-style: none; padding: 0; margin: 0 0 20px; }
.cost-list li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 14px 0; border-top: 1px solid var(--hair-l); color: var(--l1); }
.cost-list li span { display: block; color: var(--l2); font-size: .86rem; }
.cost-list li em { font-style: normal; color: var(--l2); font-size: .86rem; white-space: nowrap; }
.summary { padding: 40px var(--gutter) 24px; }
.summary-card { border-radius: var(--r-lg); background: var(--l1); color: var(--t2); padding: clamp(22px, 4vw, 34px); display: grid; gap: 20px; box-shadow: 0 50px 90px -50px rgba(0,0,0,.6); }
.summary-card h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--t1); }
.sum-total strong { display: block; font-stretch: var(--wide); font-size: clamp(2.8rem, 6vw, 3.8rem); line-height: 1; letter-spacing: -.04em; color: var(--t1); font-weight: 500; font-variant-numeric: tabular-nums; }
.sum-lines { margin: 0; display: grid; }
.sum-lines div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: .92rem; }
.sum-lines dt { color: var(--t2); }
.sum-lines dd { margin: 0; text-align: right; color: var(--t1); font-variant-numeric: tabular-nums; }
.build-code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.build-code code { font-family: var(--sans); font-stretch: var(--mid); font-weight: 700; letter-spacing: .04em; color: var(--champagne); font-size: 1.05rem; }
.summary-card .btn--ghost { --fg: var(--t1); }
.summary-card .fine { color: var(--t3); margin: 0; }
.studio-page .chips .chip { box-shadow: inset 0 0 0 1px var(--hair-l); color: var(--l2); }
.studio-page .chips .chip[aria-pressed="true"] { background: var(--l1); color: var(--white); }
.studio-page .site-footer { margin-top: 0; }
.studio-bar { position: fixed; z-index: 50; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 22px; border-radius: 999px; background: rgba(10,10,11,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.studio-bar b { display: block; color: var(--t1); font-size: 1.08rem; font-variant-numeric: tabular-nums; }
.studio-bar span { display: block; color: var(--t3); font-size: .74rem; }
.studio-bar .btn { min-height: 46px; }
@media (min-width: 1040px) {
  .studio-bar { display: none; }
  .builder { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .b-stage { grid-column: 1; grid-row: 1 / span 2; height: calc(100vh - var(--head)); max-height: none; top: var(--head); }
  .b-steps, .summary { grid-column: 2; padding-inline: 48px var(--gutter); }
  .b-total { left: 40px; top: 32px; }
  .b-hint { right: 40px; top: 40px; }
  .opt-grid--3 { grid-template-columns: 1fr 1fr; }
}

/* reduced motion: no pinned scroll scenes */
.reduced .story, .reduced .eng { height: auto; }
.reduced .story-pin, .reduced .eng-pin { position: relative; }
.reduced .beat:not(:first-child) { display: none; }
.no-gl .stage-fallback { display: block; }

/* model viewer hero */
.viewer--hero { height: 100vh; height: 100svh; min-height: 600px; }
.viewer .stage { position: absolute; inset: 0; }
.viewer-read .kicker { margin-bottom: 8px; }
.viewer-read h1 { font-size: clamp(4.4rem, 13vw, 10rem); line-height: .84; letter-spacing: -.06em; }
.viewer-read .t1 { margin-top: 10px; font-size: 1.1rem; }
.mv-bar { display: grid; gap: 18px; padding: 18px; border-radius: var(--r-lg); background: rgba(14,14,16,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--hair); }
.mv-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px; margin: 0; }
.mv-specs dt { font-size: .76rem; color: var(--t3); }
.mv-specs dd { margin: 0; color: var(--t1); font-weight: 600; font-variant-numeric: tabular-nums; }
.mv-specs dd small { display: block; color: var(--t3); font-weight: 400; font-size: .78rem; }
.mv-act { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
@media (min-width: 980px) { .mv-bar { grid-template-columns: 1fr auto; align-items: center; padding: 18px 18px 18px 26px; } .mv-specs { grid-template-columns: repeat(4, auto); gap: 0 40px; justify-content: start; } }
.viewer--tech { height: min(86vh, 820px); min-height: 520px; }
.viewer--tech .labels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.viewer-ui .tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-radius: 999px; background: rgba(14,14,16,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--hair); }
.viewer-ui .tools .range-row { margin: 0; flex: 1; min-width: 220px; }
.flow-wrap { overflow: hidden; padding-top: 10px; }
@media (min-width: 900px) { .beat { max-width: 640px; } .beat h1 { font-size: clamp(3rem, 5.6vw, 5.4rem); } }
@media (max-width: 899px) { .hide-sm { display: none; } .beat h2 { margin-bottom: 14px; } }
.viewer-ui { bottom: calc(var(--bar) + 14px); }
@media (max-width: 979px) {
  .viewer--hero .viewer-read { top: calc(var(--head) + 8px); }
  .mv-bar { padding: 14px; gap: 12px; }
  .mv-specs { grid-template-columns: repeat(3, auto); gap: 4px 18px; }
  .mv-specs > div:last-child { display: none; }
  .mv-act { flex-wrap: nowrap; }
  .mv-act .seg { flex: 1; justify-content: space-between; }
  .mv-act .seg button { min-width: 0; flex: 1; padding: 0 8px; }
  .mv-act .btn { min-height: 46px; padding: 0 1.1em; }
}
