/* CHROMA — electric hypercars, Turin. Black studio, white light; colour only from the lamps in the photographs and one signal red. */
:root {
  --bg: #070707; --bg2: #0f0f0f; --ink: #f1efe9; --g: #86847f; --ln: rgba(241,239,233,.14); --ac: #ff3b1d;
  --paper: #e9e6df; --inv: #000; --body2: #c9c6bf;
  --pad: clamp(16px, 2.4vw, 36px); --max: 1800px;
  --e: cubic-bezier(.16,1,.3,1); --io: cubic-bezier(.76,0,.24,1);
  --f: "Archivo", "Helvetica Neue", Arial, sans-serif; --m: "Martian Mono", ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--bg); }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 16px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, blockquote, figure, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ac); color: #000; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--m); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.dim { color: var(--g); }
.ac { color: var(--ac); }
.xw { font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 850; text-transform: uppercase; letter-spacing: -.025em; line-height: .86; }
.h1 { font-size: clamp(54px, 10.5vw, 210px); }
.h2 { font-size: clamp(40px, 6.4vw, 124px); }
.h3 { font-size: clamp(26px, 2.6vw, 44px); line-height: .92; }
.lead { font-size: clamp(17px, 1.35vw, 22px); line-height: 1.42; max-width: 560px; }
.sec { padding: clamp(90px, 12vw, 190px) 0; position: relative; }
.sec--tight { padding: clamp(60px, 7vw, 110px) 0; }
.lt { --ink: #0c0c0c; --g: #6d6a64; --ln: rgba(12,12,12,.16); --inv: #f1efe9; --body2: #3a3935; background: var(--paper); color: var(--ink); }
.lt + .lt { padding-top: 0; }
.hd { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 22px 48px; margin-bottom: clamp(40px, 5vw, 80px); }
.hd > .mono:first-child { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; }
.hd > .mono:first-child::before, .tag::before { content: ""; width: 8px; height: 8px; background: var(--ac); box-shadow: 0 0 14px var(--ac); }
.tag { display: inline-flex; align-items: center; gap: 12px; }
.hd .lead { max-width: 440px; }
.line { height: 1px; background: var(--ln); }

/* ---------- buttons ---------- */
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 19px 26px; background: var(--ink); color: var(--inv); border: 1px solid var(--ink); font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color .5s var(--e); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ac); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--e); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn span { transition: transform .5s var(--e); } .btn:hover span { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ln); } .btn--ghost:hover { color: #000; border-color: var(--ac); }
.btn--full { width: 100%; }
.ul { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--e); } .ul:hover { background-size: 100% 1px; }

/* ---------- loader: 0–100 km/h ---------- */
.pre { position: fixed; inset: 0; z-index: 9999; background: #000; display: grid; place-items: center; align-content: center; gap: 18px; --pl: 0; }
html:not(.js) .pre { display: none; }
.pre__row { display: flex; align-items: baseline; gap: clamp(18px, 3vw, 48px); }
.pre__n { font-size: clamp(110px, 20vw, 360px); font-variant-numeric: tabular-nums; }
.pre__u { display: grid; gap: 6px; }
.pre__u b { font-size: clamp(26px, 3.4vw, 60px); font-variant-numeric: tabular-nums; }
.pre__l { width: min(560px, 80vw); height: 2px; background: rgba(255,255,255,.14); position: relative; }
.pre__l::after { content: ""; position: absolute; inset: 0; background: var(--ac); box-shadow: 0 0 18px var(--ac); transform-origin: left; transform: scaleX(var(--pl)); }
body.ready .pre { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--io) .1s; }

/* ---------- transition: the light bar ---------- */
.td { position: fixed; inset: 0; z-index: 9000; pointer-events: none; visibility: hidden; display: grid; place-items: center; }
.td__a, .td__b { position: absolute; left: 0; right: 0; height: 50.5%; background: #000; transition: transform .8s var(--io); }
.td__a { top: 0; transform: translateY(-100%); } .td__b { bottom: 0; transform: translateY(100%); }
.td__bar { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--ac); box-shadow: 0 0 22px 2px var(--ac), 0 0 80px 8px rgba(255,59,29,.45); transform: scaleX(0); transition: transform .7s var(--io); }
.td__t { position: relative; text-align: center; opacity: 0; transform: translateY(24px); transition: opacity .3s, transform .6s var(--e); }
.td__t b { display: block; font-size: clamp(44px, 8vw, 150px); }
.td__t p { margin-top: 18px; }
body.leaving .td, body.arriving .td { visibility: visible; pointer-events: auto; }
body.leaving .td__a, body.leaving .td__b, body.arriving .td__a, body.arriving .td__b { transform: none; }
body.leaving .td__bar { transform: scaleX(1); transition-delay: .35s; } body.arriving .td__bar { transform: scaleX(1); transition: none; }
body.leaving .td__t, body.arriving .td__t { opacity: 1; transform: none; transition-delay: .45s; } body.arriving .td__t { transition: none; }
body.arriving.arrived .td__a { transform: translateY(-100%); } body.arriving.arrived .td__b { transform: translateY(100%); }
body.arriving.arrived .td__a, body.arriving.arrived .td__b { transition: transform 1s var(--io) .15s; }
body.arriving.arrived .td__bar { transform: scaleX(0); transition: transform .5s var(--io); } body.arriving.arrived .td__t { opacity: 0; transition: opacity .2s; }

/* ---------- nav ---------- */
.nv { position: fixed; left: 0; right: 0; top: 0; z-index: 600; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 18px var(--pad); mix-blend-mode: difference; color: #fff; }
.nv__lg { font-size: 19px; letter-spacing: .02em; justify-self: start; }
.nv__c { text-align: center; }
.nv__r { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nv__b { font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; border: 1px solid rgba(255,255,255,.4); transition: background .3s, color .3s; }
.nv__b:hover { background: #fff; color: #000; }
.nv__m { display: flex; align-items: center; gap: 12px; font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 0 12px 6px; }
.nv__s { display: flex; align-items: center; gap: 10px; font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 8px; }
.eq { display: flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 12px; background: currentColor; transform: scaleY(.25); transform-origin: bottom; transition: transform .3s; }
.sound-on .eq i { animation: eq 1s ease-in-out infinite; } .sound-on .eq i:nth-child(2) { animation-delay: -.3s } .sound-on .eq i:nth-child(3) { animation-delay: -.6s } .sound-on .eq i:nth-child(4) { animation-delay: -.15s }
@keyframes eq { 0%, 100% { transform: scaleY(.25) } 50% { transform: scaleY(1) } }
.nv__m i { width: 26px; height: 9px; border-top: 1.5px solid; border-bottom: 1.5px solid; }

/* ---------- menu: drive select ---------- */
.dm { position: fixed; inset: 0; z-index: 800; background: #050505; display: grid; grid-template-rows: auto 1fr auto; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--io); visibility: hidden; }
.dm.open { clip-path: inset(0); visibility: visible; }
.dm__head, .dm__f { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.dm__x { font-family: var(--m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.dm__body { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; min-height: 0; }
.dm__list { display: grid; }
.dm__a { display: grid; grid-template-columns: 54px 1fr auto; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--ln); color: var(--g); transition: color .35s, padding .5s var(--e); }
.dm__a b { font-size: clamp(26px, min(3.6vw, 5.4vh), 62px); white-space: nowrap; }
.dm__a:hover, .dm__a.on { color: var(--ink); padding-left: 12px; }
.dm__a.on .mono:first-child { color: var(--ac); }
.dm.open .dm__a { animation: dmIn .9s var(--e) both; } .dm.open .dm__a:nth-child(2) { animation-delay: .05s } .dm.open .dm__a:nth-child(3) { animation-delay: .1s } .dm.open .dm__a:nth-child(4) { animation-delay: .15s } .dm.open .dm__a:nth-child(5) { animation-delay: .2s } .dm.open .dm__a:nth-child(6) { animation-delay: .25s } .dm.open .dm__a:nth-child(7) { animation-delay: .3s } .dm.open .dm__a:nth-child(8) { animation-delay: .35s }
@keyframes dmIn { from { opacity: 0; transform: translateY(40px); } }
.dial { position: relative; width: min(42vw, 62vh); aspect-ratio: 1; justify-self: center; --nd: -120deg; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__tk { stroke: var(--ink); stroke-width: 2; } .dial__tk.s { stroke: var(--g); stroke-width: 1; } .dial__tk.r { stroke: var(--ac); }
.dial__n { fill: var(--g); font-family: var(--m); font-size: 13px; }
.dial__needle { position: absolute; left: 50%; top: 50%; width: 46%; height: 3px; margin-top: -1.5px; background: linear-gradient(90deg, transparent, var(--ac)); box-shadow: 0 0 16px var(--ac); transform-origin: 0 50%; transform: rotate(calc(var(--nd) - 90deg)); transition: transform 1.1s var(--e); }
.dial__c { position: absolute; left: 50%; top: 50%; translate: -50% -50%; text-align: center; margin-top: 26%; }
.dial__c b { display: block; font-size: clamp(38px, 4.4vw, 72px); font-variant-numeric: tabular-nums; }

/* ---------- hero: lights on ---------- */
.lo { position: relative; height: 220vh; background: #000; }
.lo__st { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --mx: 50%; --my: 60%; --r: 16vmax; --on: 0; }
.lo__ph, .lo__lit { position: absolute; inset: 0; }
.lo__ph img, .lo__lit img, .lo__ph video, .lo__lit canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; transform: scale(calc(1.12 - var(--on) * .12)); }
.lo__ph img, .lo__lit img, .lo__ph video, .lo__lit canvas { object-position: 50% 50%; }   /* the stills are the first frame of the film: same crop, so the swap does not show */
.lo__ph video, .lo__lit canvas { opacity: 0; transition: opacity 1.2s; }
.lo.has-v .lo__ph video, .lo.has-v .lo__lit canvas { opacity: 1; }
.lo__ph img { filter: brightness(calc(.38 + var(--on) * .42)) contrast(1.06); }
.lo__ph video { filter: brightness(calc(.38 + var(--on) * .42)) contrast(1.06); }
.lo.has-v .lo__ph img, .lo.has-v .lo__lit img { opacity: 0; transition: opacity 1.2s; }
.lo__st::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 32%, transparent 58%, rgba(0,0,0,.75)); }
.lo__word, .lo__top, .lo__bot, .lo__hint { z-index: 2; }
.lo__lit { -webkit-mask: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%); mask: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 30%, transparent 100%); }
.lo__lit img { filter: brightness(.95); }
.lo__lit canvas { filter: brightness(.95); }
.lo.has-v .lo__lit { opacity: calc(1 - var(--on) * 1.4); }
.lo__word { position: absolute; left: 0; right: 0; top: 13vh; text-align: center; font-size: clamp(64px, 17.4vw, 380px); color: transparent; -webkit-text-stroke: 1px rgba(241,239,233,.5); transform: translateY(calc(var(--on) * -6vh)); pointer-events: none; }
.lo__word span { position: absolute; inset: 0; color: var(--ink); -webkit-text-stroke: 0; clip-path: inset(0 calc(100% - var(--on) * 100%) 0 0); }
.lo__top, .lo__bot { position: absolute; left: 0; right: 0; }
.lo__top { top: 82px; display: flex; justify-content: space-between; gap: 20px; opacity: calc(1 - var(--on) * 2.5); }
.lo__bot { bottom: 30px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.lo__bot .lead { max-width: 420px; }
.lo__specs { display: flex; gap: clamp(18px, 3vw, 54px); }
.lo__specs b { display: block; font-size: clamp(26px, 2.8vw, 48px); font-variant-numeric: tabular-nums; }
.lo__hint { position: absolute; left: 50%; top: 50%; translate: -50% -50%; opacity: calc(1 - var(--on) * 3); pointer-events: none; display: flex; align-items: center; gap: 10px; }
.lo__hint::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid; }

/* ---------- 0 to 100 ---------- */
.zs { position: relative; height: 260vh; }
.zs__st { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; --p: 0; }
.zs__ph { position: absolute; inset: 0; }
.zs__ph img, .zs__ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.82); transform: scale(calc(1 + var(--p) * .08)); }
.zs__ph video { opacity: 0; transition: opacity 1s; } .zs__ph.has-v video { opacity: 1; }
.zs__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.2) 60%), linear-gradient(0deg, rgba(0,0,0,.7), transparent 40%); }
.zs__in { position: relative; align-self: end; padding-bottom: 6vh; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.zs__n { font-size: clamp(120px, 24vw, 460px); font-variant-numeric: tabular-nums; line-height: .78; }
.zs__n small { font-size: .16em; letter-spacing: 0; margin-left: .2em; }
.zs__t { text-align: right; } .zs__t b { display: block; font-size: clamp(40px, 6vw, 110px); font-variant-numeric: tabular-nums; color: var(--ac); }
.zs__bar { grid-column: 1 / -1; height: 2px; background: rgba(255,255,255,.18); position: relative; }
.zs__bar::after { content: ""; position: absolute; inset: 0; background: var(--ac); box-shadow: 0 0 16px var(--ac); transform-origin: left; transform: scaleX(var(--p)); }
.zs__mk { grid-column: 1 / -1; display: flex; justify-content: space-between; margin-top: -18px; }
.zs__hd { position: absolute; top: 96px; left: 0; right: 0; }

/* ---------- configurator ---------- */
.cf { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 3vw, 56px); align-items: start; }
.cf__stage { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.cf__stage img { width: 100%; height: 100%; object-fit: cover; }
.cf__paint { position: absolute; inset: 0; background: var(--paint, #fff); mix-blend-mode: multiply; transition: background .9s var(--e); }
.cf__glow { position: absolute; inset: auto 10% 6% 10%; height: 30%; background: radial-gradient(closest-side, var(--paint, #fff), transparent); opacity: .16; filter: blur(30px); transition: background .9s var(--e); }
.cf__cap { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; justify-content: space-between; }
.cf__ui { display: grid; gap: 26px; }
.cf__r { display: grid; gap: 12px; }
.cf__sw { display: flex; flex-wrap: wrap; gap: 10px; }
.cf__sw button { width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 1px solid rgba(128,128,128,.4); outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .3s, transform .4s var(--e); }
.cf__sw button:hover { transform: scale(1.08); } .cf__sw button.on { outline-color: var(--ink); }
.ch { display: flex; gap: 4px; flex-wrap: wrap; }
.ch button { padding: 12px 15px; border: 1px solid var(--ln); font-family: var(--m); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--g); transition: all .3s; }
.ch button:hover { color: var(--ink); } .ch button.on { border-color: var(--ink); color: var(--inv); background: var(--ink); }
.cf__o { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.cf__o > div { padding: 16px 0; } .cf__o > div + div { padding-left: 16px; border-left: 1px solid var(--ln); }
.cf__o b { display: block; font-size: clamp(22px, 2vw, 34px); font-variant-numeric: tabular-nums; margin-top: 4px; }

/* ---------- horizontal strip ---------- */
.hs { position: relative; height: 300vh; }
.hs__st { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; padding-top: 96px; }
.hs__tr { display: flex; gap: 14px; align-items: center; padding: 0 var(--pad); will-change: transform; }
.hs__i { flex: 0 0 auto; height: 62vh; position: relative; overflow: hidden; }
.hs__i img { height: 100%; width: auto; transform: scale(1.08); transition: transform 1.2s var(--e); }
.hs__i:hover img { transform: scale(1); }
.hs__i figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; display: flex; justify-content: space-between; text-shadow: 0 1px 8px #000; }
.hs__end { flex: 0 0 auto; width: 34vw; padding-left: 4vw; }
.hs__bar { height: 1px; background: var(--ln); margin: 0 var(--pad); position: relative; } .hs__bar i { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(var(--hp, 0)); }

/* ---------- photo blocks ---------- */
.fb { position: relative; height: 140vh; overflow: hidden; }
.fb img, .fb video { position: absolute; left: 0; width: 100%; top: -10%; height: 120%; object-fit: cover; transform: translateY(var(--py, 0)); }
.fb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 45%); }
.fb__t { position: absolute; left: 0; right: 0; bottom: 6vh; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
/* the 360 film turns under the pointer (or the finger) */
section:has(> [data-spin]), section:has(> * > [data-spin]) { touch-action: pan-y; }
@media (hover: hover) { section:has(> [data-spin]), section:has(> * > [data-spin]) { cursor: ew-resize; } }
.spin-hint { position: absolute; z-index: 3; right: clamp(16px, 4vw, 60px); top: 50%; display: flex; gap: 10px; align-items: center; color: rgba(241,239,233,.7); pointer-events: none; transition: opacity .4s; }
.fb .spin-hint { top: 42%; }
.spin-hint i { font-style: normal; }
.spin-hint__t { display: none; }
@media (hover: none) { .spin-hint__d { display: none; } .spin-hint__t { display: inline; } }
.spinning .spin-hint { opacity: 0; }
.fb--s { height: 100vh; }
.rb { overflow: hidden; } .rb img { transform: scale(var(--rs, 1.15)); width: 100%; height: 100%; object-fit: cover; }

/* ---------- grids ---------- */
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ln); }
.sp { padding: 26px 20px 26px 0; border-bottom: 1px solid var(--ln); } .g4 .sp + .sp { padding-left: 20px; border-left: 1px solid var(--ln); }
.sp b { display: block; font-size: clamp(34px, 3.8vw, 68px); font-variant-numeric: tabular-nums; margin: 10px 0 8px; }
.sp p { color: var(--g); font-size: 14px; max-width: 260px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 100px); align-items: center; }
.split--r > :first-child { order: 2; }
.split__ph { aspect-ratio: 4 / 5; } .split__ph--w { aspect-ratio: 4 / 3; }
.split__t { display: grid; gap: 26px; align-content: start; }
.split__t p:not(.mono) { color: var(--body2); max-width: 520px; }
.card { display: grid; gap: 14px; }
.card__ph { aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e), filter .6s; filter: brightness(.88); }
.card:hover .card__ph img { transform: scale(1.05); filter: brightness(1); }
.card__ph .mono { position: absolute; left: 12px; top: 12px; background: #000; color: #f1efe9; padding: 6px 9px; }
.card h3 { font-size: clamp(22px, 1.9vw, 32px); }
.card p { color: var(--g); font-size: 15px; }
.card--w .card__ph { aspect-ratio: 16 / 10; }

/* ---------- build timeline ---------- */
.bt__l { display: grid; }
.bt__i { display: grid; grid-template-columns: 140px 1fr 1.2fr; gap: clamp(16px, 3vw, 60px); padding: 28px 0; border-top: 1px solid var(--ln); align-items: start; }
.bt__i:last-child { border-bottom: 1px solid var(--ln); }
.bt__i b { font-size: clamp(24px, 2.4vw, 40px); display: block; margin-bottom: 10px; }
.bt__i p { color: var(--g); max-width: 460px; }
.bt__ph { aspect-ratio: 16 / 9; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 1.2s var(--io); }
.bt__ph img { width: 100%; height: 100%; object-fit: cover; }
.bt__i.in .bt__ph { clip-path: inset(0); }

/* ---------- top view with callouts ---------- */
.tv { position: relative; background: #000; }
.tv img { width: 100%; }
.tv__c { position: absolute; display: grid; gap: 4px; width: 200px; }
.tv__c::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--ac); box-shadow: 0 0 12px var(--ac); left: -18px; top: 4px; }
.tv__c b { font-size: 18px; }

/* ---------- 99 ---------- */
.n99 { display: grid; grid-template-columns: repeat(33, 1fr); gap: 4px; }
.n99 i { aspect-ratio: 1; border: 1px solid var(--ln); position: relative; transition: background .3s; }
.n99 i.t { background: var(--ln); border-color: transparent; }
.n99 i.y { background: var(--ac); border-color: var(--ac); box-shadow: 0 0 14px var(--ac); }
.n99 i:not(.t):hover { background: var(--ink); }
.n99__o { display: flex; justify-content: space-between; gap: 20px; margin-top: 18px; }

/* ---------- page head ---------- */
.ph { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; display: grid; align-items: end; }
.ph__img { position: absolute; inset: 0; }
.ph__img img, .ph__img video { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--py, 0)) scale(1.06); }
.ph__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.05) 55%, rgba(0,0,0,.35)); }
.ph__t { position: relative; padding-bottom: 6vh; display: grid; gap: 24px; }
.ph__t .h1 { font-size: clamp(50px, 9.6vw, 190px); }
.ph__m { display: flex; justify-content: space-between; gap: 30px; align-items: end; }

/* ---------- title reveal ---------- */
.rv { display: block; overflow: hidden; } .rv > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--e); }
.rv.in > span { transform: none; }
.fade { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--e), transform 1.1s var(--e); } .fade.in { opacity: 1; transform: none; }
html:not(.js) .rv > span, html:not(.js) .fade { transform: none; opacity: 1; }

/* ---------- quote ---------- */
.qt { text-align: center; display: grid; justify-items: center; gap: 28px; }
.qt blockquote { font-size: clamp(30px, 4.2vw, 76px); max-width: 1400px; }

/* ---------- article ---------- */
.art { max-width: 760px; margin: 0 auto; display: grid; gap: 26px; font-size: 19px; line-height: 1.6; color: var(--body2); }
.art h2 { font-size: clamp(26px, 2.6vw, 40px); color: var(--ink); margin-top: 24px; }
.art figure { margin: 20px calc(-1 * min(12vw, 200px)); } .art figure img { width: 100%; }
.art figcaption { margin-top: 10px; }

/* ---------- forms ---------- */
.fm { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.fm label { display: grid; gap: 8px; } .fm .full { grid-column: 1 / -1; }
.fm input, .fm select, .fm textarea { background: transparent; border: 0; border-bottom: 1px solid var(--ln); padding: 12px 0; font-size: 18px; border-radius: 0; }
.fm select option { background: #111; }
.fm input:focus, .fm select:focus, .fm textarea:focus { outline: none; border-color: var(--ac); }
.fm textarea { min-height: 120px; resize: vertical; }
.fm__ok { display: none; } .fm.sent > * { display: none; } .fm.sent .fm__ok { display: grid; gap: 14px; grid-column: 1 / -1; }

/* ---------- footer ---------- */
.ft { padding: clamp(80px, 10vw, 150px) 0 28px; overflow: hidden; }
.ft__g { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; margin-bottom: 80px; }
.ft__g ul { display: grid; gap: 8px; } .ft__g .mono { margin-bottom: 18px; }
.ft__news { display: grid; gap: 18px; max-width: 380px; }
.ft__news form { display: flex; border-bottom: 1px solid var(--ln); } .ft__news input { flex: 1; background: none; border: 0; padding: 12px 0; } .ft__news input:focus { outline: none; }
.ft__news.sent form { display: none; } .ft__news .ok { display: none; } .ft__news.sent .ok { display: block; }
.ft__w { display: block; font-size: min(15.6vw, 330px); line-height: .8; text-align: center; white-space: nowrap; color: var(--ink); transition: color .6s; }
.ft__w:hover { color: var(--ac); }
.ft__b { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.ft__aw { color: var(--ac); }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; text-align: center; gap: 24px; align-content: center; }
.nf b { font-size: clamp(120px, 26vw, 480px); }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .nv__c { display: none; } .nv { grid-template-columns: 1fr auto; }
  .dm__body { grid-template-columns: 1fr; } .dial { display: none; }
  .cf, .split, .g2 { grid-template-columns: 1fr; } .split--r > :first-child { order: 0; }
  .g3 { grid-template-columns: 1fr 1fr; } .g4 { grid-template-columns: 1fr 1fr; } .g4 .sp:nth-child(3) { padding-left: 0; border-left: 0; }
  .bt__i { grid-template-columns: 90px 1fr; } .bt__ph { grid-column: 1 / -1; }
  .ft__g { grid-template-columns: 1fr 1fr; } .ft__g > :first-child { grid-column: 1 / -1; }
  .tv__c { display: none; }
  .hs__end { width: 70vw; }
  .n99 { grid-template-columns: repeat(11, 1fr); }
}
@media (max-width: 640px) {
  .nv__b { display: none; } .nv__s span { display: none; }
  .hd { grid-template-columns: 1fr; }
  .g3 { grid-template-columns: 1fr; }
  .lo__bot, .zs__in, .fb__t, .ph__m { grid-template-columns: 1fr; display: grid; }
  .lo__top .mono:last-child { display: none; }
  .lo__specs b { font-size: 24px; }
  .zs__t { text-align: left; }
  .cf__o { grid-template-columns: 1fr; } .cf__o > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ln); }
  .hs__i { height: 50vh; }
  .fm { grid-template-columns: 1fr; }
  .art figure { margin: 20px 0; }
  .dm__a { grid-template-columns: 34px 1fr; } .dm__a .mono:last-child { display: none; }
  .zs__mk span:nth-child(2) { display: none; }
  /* long words used to run past the right edge at 390 */
  .h1 { font-size: min(54px, 13vw); }
  .h2 { font-size: min(40px, 9vw); }
  .ph__t .h1 { font-size: min(50px, 12vw); }
  .ph__t .h1--long { font-size: 9.4vw; }
  .hs__st { grid-template-columns: minmax(0, 1fr); }
  .lo__word { font-size: 16.4vw; }
  /* a transparent bar collided with headings on paper sections */
  .nv { mix-blend-mode: normal; padding-top: 12px; padding-bottom: 12px; background: rgba(7,7,7,.82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
