/* Vidz · motion edition
 * Night + cream canvas from the app; the app's signal orange and sun yellow lead,
 * with rose, coral, teal and lime as the reel-maker colours. One colour per category.
 * Unbounded (display) · Geist (body) · Geist Mono (numbers, labels).
 * html.motion = choreographed version (GSAP + ScrollTrigger + Lenis); without it the page is static.
 */

@font-face { font-family: "Unbounded"; src: url("/fonts/Unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --c-night: #0f0f0f;
  --c-night-2: #171615;
  --c-night-3: #221f1d;
  --c-hair: #2e2b28;
  --c-cream: #f3efe9;
  --c-cream-2: #e8e1d8;
  --c-ink-2: #a39c94;
  --c-ink-3: #7c766f;
  --c-orange: #ff4d17;
  --c-sun: #ffcb00;
  --c-rose: #ff6b9a;
  --c-coral: #ff8a5c;
  --c-teal: #16c2ae;
  --c-lime: #c6f432;
  --c-plum: #2a1420;
  --c-deep-teal: #0c2225;
  --c-on-color: #120d0b;
  --c-scrim: rgb(15 15 15 / 0.7);
  --c-shadow: rgb(0 0 0 / 0.5);

  --f-display: "Unbounded", ui-sans-serif, sans-serif;
  --f-body: "Geist", ui-sans-serif, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;

  --t-2xs: 0.6875rem; --t-xs: 0.75rem; --t-sm: 0.875rem; --t-base: 1rem; --t-md: 1.125rem; --t-lg: 1.375rem;
  --t-h2: clamp(2rem, 3.4vw + 0.8rem, 4rem);
  --t-hero: clamp(3rem, 8.4vw, 9rem);

  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.25rem; --s-6: 1.5rem;
  --s-8: 2rem; --s-10: 2.5rem; --s-12: 3rem; --s-16: 4rem; --s-24: 6rem; --s-32: 8rem;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --bar-h: 4.25rem;
  --r-tile: 14px; --r-card: 24px; --r-pill: 999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --d-1: 120ms; --d-2: 220ms; --d-3: 420ms;
  --z-raised: 10; --z-bar: 200; --z-cursor: 300; --z-pre: 400;
}

[data-cat="Travel"] { --cat: var(--c-teal); }
[data-cat="Lifestyle"] { --cat: var(--c-coral); }
[data-cat="Business"] { --cat: var(--c-sun); }
[data-cat="Cars"] { --cat: var(--c-lime); }
[data-cat="Love"] { --cat: var(--c-rose); }
[data-cat="Events"] { --cat: var(--c-orange); }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  overflow-x: clip; margin: 0;
  background: var(--c-night); color: var(--c-cream);
  font: 400 var(--t-base)/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-sun); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -4rem; z-index: var(--z-pre); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); background: var(--c-cream); color: var(--c-night); }
.skip:focus { top: var(--s-4); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.kicker { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-2); }
.h2 { font-family: var(--f-display); font-style: normal; font-size: var(--t-h2); font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; overflow-wrap: anywhere; min-width: 0; }
.dim { color: var(--c-ink-3); }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: var(--s-2); vertical-align: 1px; border-radius: 50%; background: var(--c-lime); box-shadow: 0 0 0 3px rgb(198 244 50 / 0.18); }

/* split text helpers (filled by app.js) */
.split .ch, .split-blur .ch { display: inline-block; will-change: transform, opacity, filter; }
.split .w, .split-blur .w { display: inline-block; white-space: nowrap; }

/* rolling letters: each letter carries its copy below and rolls up on hover */
.roll { display: inline-flex; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: top; }
.roll .ch { display: inline-block; white-space: pre; text-shadow: 0 1.2em currentColor; transition: transform var(--d-3) var(--ease); transition-delay: calc(var(--i, 0) * 16ms); }
a:hover .roll .ch, a:focus-visible .roll .ch { transform: translateY(-1.2em); }

/* ---- preloader ------------------------------------------------------------------ */
.pre { display: none; }
html.pre-on .pre {
  position: fixed; inset: 0; z-index: var(--z-pre);
  display: grid; place-items: center;
  background: var(--c-night);
  animation: pre-fallback 1ms linear 6s forwards;
}
@keyframes pre-fallback { to { visibility: hidden; opacity: 0; } }
.pre__frame { position: relative; height: 38vh; aspect-ratio: 9 / 16; display: grid; place-items: center; }
.pre__mark { position: absolute; width: 22px; height: 22px; border: 0 solid var(--c-cream); }
.pre__mark--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.pre__mark--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.pre__mark--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.pre__mark--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.pre__icon { width: 44px; height: 44px; border-radius: 11px; opacity: 0; }
.pre__words { position: absolute; left: 50%; top: calc(50% + 19vh + var(--s-6)); transform: translateX(-50%); display: flex; gap: var(--s-3); font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-ink-2); }
.pre__words i { font-style: normal; color: var(--c-orange); }
.pre__count { position: absolute; right: var(--gutter); bottom: var(--s-6); font-size: clamp(3rem, 9vw, 8rem); line-height: 1; letter-spacing: -0.04em; color: var(--c-cream); }

/* ---- bar ------------------------------------------------------------------------ */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--z-bar);
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background-color var(--d-3) var(--ease), color var(--d-3) var(--ease);
}
.bar.is-solid { background: rgb(15 15 15 / 0.92); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); text-decoration: none; }
.brand img { border-radius: 7px; }
.brand__word { font-family: var(--f-display); font-size: var(--t-md); font-weight: 700; letter-spacing: -0.03em; }
.bar__end { display: flex; align-items: center; gap: var(--s-3); }
.pill {
  display: inline-flex; align-items: center; height: 42px; padding: 0 var(--s-5);
  border-radius: var(--r-pill); background: var(--c-orange); color: var(--c-on-color);
  font: 650 var(--t-sm)/1 var(--f-body); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  transition: background-color var(--d-2) var(--ease), transform var(--d-1) var(--ease);
}
.pill:hover { background: var(--c-sun); }
.pill:active { transform: scale(0.97); }
.social { display: flex; align-items: center; gap: var(--s-1); }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--c-ink-2); transition: color var(--d-1) var(--ease), background-color var(--d-1) var(--ease); }
.social a:hover { color: var(--c-cream); background: rgb(243 239 233 / 0.08); }
.social a:active { background: rgb(243 239 233 / 0.14); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.badge { display: inline-block; border-radius: 9px; transition: transform var(--d-1) var(--ease); }
.badge img { height: 50px; width: auto; }
.badge:hover { transform: translateY(-2px); }
.badge:active { transform: none; }

/* ---- 1 · hero --------------------------------------------------------------------- */
.hero { position: relative; height: 100svh; min-height: 40rem; overflow: hidden; isolation: isolate; }
.hero__wall { position: absolute; inset: -12% -8%; z-index: -2; perspective: 1400px; display: grid; place-items: center; }
.wall { display: flex; gap: var(--s-4); transform: rotateX(20deg) rotateZ(-13deg) scale(1.08); transform-origin: 50% 50%; }
.wall__col { display: flex; flex-direction: column; gap: var(--s-4); }
.wall__col:nth-child(even) { margin-top: -40%; }
.wall__tile { width: clamp(8rem, 13vw, 14rem); aspect-ratio: 9 / 16; border-radius: var(--r-tile); overflow: hidden; background: var(--c-night-2); }
.wall__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(15 15 15 / 0.55) 0%, rgb(15 15 15 / 0.15) 35%, rgb(15 15 15 / 0.82) 72%, var(--c-night) 100%),
    radial-gradient(70% 60% at 85% 10%, rgb(255 77 23 / 0.28), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgb(255 107 154 / 0.18), transparent 70%);
}
.hero__copy { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(2rem, 7vh, 4.5rem); display: grid; gap: var(--s-5); }
.hero__kicker { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-cream); }
.hero__title { font-family: var(--f-display); font-style: normal; font-size: var(--t-hero); font-weight: 700; line-height: 0.94; letter-spacing: -0.045em; margin: 0; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero__title .line--b { padding-left: clamp(0rem, 14vw, 16rem); color: var(--c-sun); }
.hero__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-8); padding-top: var(--s-4); border-top: 1px solid rgb(243 239 233 / 0.16); }
.hero__lede { font-size: var(--t-md); color: var(--c-cream); max-width: 44ch; }
.hero__scroll { position: absolute; right: var(--gutter); top: 50%; writing-mode: vertical-rl; font-size: var(--t-2xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-ink-2); display: flex; align-items: center; gap: var(--s-3); }
.hero__scroll span { width: 1px; height: 3rem; background: var(--c-ink-2); }

/* ---- 2 · statement ----------------------------------------------------------------- */
.statement { padding: var(--s-32) var(--gutter) var(--s-24); display: grid; gap: var(--s-16); background: linear-gradient(180deg, var(--c-night), var(--c-plum) 120%); }
.statement__text { font: 500 clamp(1.6rem, 3.3vw, 3.6rem)/1.14 var(--f-body); letter-spacing: -0.025em; max-width: 26ch; }
html.motion .statement__text .w { color: rgb(243 239 233 / 0.16); }
.statement__text .w.is-hot { color: var(--c-sun); }
.statement__facts { display: flex; flex-wrap: wrap; gap: var(--s-8) var(--s-16); font-size: var(--t-xs); }
.statement__facts dt { text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-3); margin-bottom: var(--s-1); }

/* ---- 3 · marquee ------------------------------------------------------------------- */
.marquee { padding: var(--s-16) 0; background: var(--c-plum); overflow: hidden; }
.marquee__track { display: flex; width: max-content; }
.marquee__run { display: flex; align-items: center; flex: none; }
.marquee__item { font-family: var(--f-display); font-size: clamp(3.5rem, 10vw, 10.5rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; color: var(--cat, var(--c-cream)); white-space: nowrap; padding: 0 var(--s-6); }
.marquee__item sup { font-family: var(--f-mono); font-size: 0.16em; font-weight: 400; letter-spacing: 0; vertical-align: 3.4em; margin-left: var(--s-2); color: var(--c-cream); }
.marquee__sep { font-family: var(--f-mono); font-size: clamp(1.5rem, 3vw, 3rem); color: rgb(243 239 233 / 0.35); }

/* ---- 4 · anatomy (pinned) ---------------------------------------------------------- */
.anatomy { background: var(--c-plum); }
.anatomy__pin {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "head stack layers" "note stack layers";
  grid-template-rows: auto 1fr;
  align-items: center; gap: var(--s-6) var(--s-12);
  padding: calc(var(--bar-h) + var(--s-8)) var(--gutter) var(--s-10);
}
.anatomy__head { grid-area: head; align-self: start; display: grid; gap: var(--s-4); }
.anatomy__note { grid-area: note; align-self: end; font-size: var(--t-xs); color: var(--c-ink-3); max-width: 34ch; }
.stack { grid-area: stack; perspective: 2200px; display: grid; place-items: center; }
.stack__space { --pw: clamp(12rem, min(19vw, 30svh), 17rem); position: relative; width: var(--pw); aspect-ratio: 9 / 16; transform-style: preserve-3d; }
.plate { position: absolute; inset: 0; border-radius: var(--r-tile); overflow: hidden; outline: 1px solid transparent; outline-offset: -1px; }
.plate img, .plate video { width: 100%; height: 100%; object-fit: cover; }
.plate--sound { background: var(--c-night-2); display: grid; align-items: center; }
.plate__pad { padding: 0 var(--s-4); }
.plate--clip { background: var(--c-night-3); }
.plate--text, .plate--sticker { outline-color: rgb(243 239 233 / 0.4); background: rgb(15 15 15 / 0.1); }
.plate.is-lit { outline-color: var(--c-sun); }
.wave { width: 100%; height: 4rem; }
.wave__bars rect { fill: var(--c-teal); }
.wave__cuts line { stroke: var(--c-sun); stroke-width: 0.3; vector-effect: non-scaling-stroke; }
.layers { grid-area: layers; display: grid; }
.layers > li { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-top: 1px solid rgb(243 239 233 / 0.12); transition: opacity var(--d-3) var(--ease); }
.layers > li:last-child { border-bottom: 1px solid rgb(243 239 233 / 0.12); }
html.motion .layers > li { opacity: 0.32; }
html.motion .layers > li.is-lit { opacity: 1; }
.layers__k { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.layers__k span { margin-right: var(--s-3); color: var(--c-sun); }
.layers__v { color: var(--c-cream-2); max-width: 40ch; }
.ruler { position: relative; margin-top: var(--s-1); }
.ruler__scale { display: none; }
.ruler__track { display: flex; gap: 2px; height: 10px; }
.ruler__track > li { flex-basis: 0; min-width: 2px; border-radius: 2px; background: var(--c-teal); opacity: 0.85; }
.ruler__track > li:nth-child(odd) { background: var(--c-sun); }

/* ---- 5 · blinds + numbers ----------------------------------------------------------- */
.blinds { display: grid; background: var(--c-plum); }
.blinds span { display: block; height: 3.2vh; background: var(--c-orange); transform-origin: 50% 100%; }
.blinds span:nth-child(1) { height: 0.6vh; } .blinds span:nth-child(2) { height: 1vh; } .blinds span:nth-child(3) { height: 1.5vh; } .blinds span:nth-child(4) { height: 2vh; }
.blinds span:nth-child(5) { height: 2.6vh; } .blinds span:nth-child(6) { height: 3.2vh; } .blinds span:nth-child(7) { height: 4vh; } .blinds span:nth-child(8) { height: 5vh; }
.blinds span + span { margin-top: 1.2vh; }
.blinds--out { background: var(--c-deep-teal); }
.blinds--out span { transform-origin: 50% 0%; }
.blinds--out span:nth-child(1) { height: 5vh; } .blinds--out span:nth-child(2) { height: 4vh; } .blinds--out span:nth-child(3) { height: 3.2vh; } .blinds--out span:nth-child(4) { height: 2.6vh; }
.blinds--out span:nth-child(5) { height: 2vh; } .blinds--out span:nth-child(6) { height: 1.5vh; } .blinds--out span:nth-child(7) { height: 1vh; } .blinds--out span:nth-child(8) { height: 0.6vh; }
.numbers { background: var(--c-orange); color: var(--c-on-color); padding: var(--s-16) var(--gutter) var(--s-24); }
.numbers__head { display: grid; gap: var(--s-3); margin-bottom: var(--s-12); }
.numbers__sub { max-width: 46ch; color: rgb(18 13 11 / 0.72); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); perspective: 1600px; }
.fact { border-radius: var(--r-card); padding: var(--s-6); min-height: 19rem; display: grid; align-content: space-between; gap: var(--s-6); color: var(--c-on-color); }
.fact:nth-child(1) { background: var(--c-sun); }
.fact:nth-child(2) { background: var(--c-cream); }
.fact:nth-child(3) { background: var(--c-rose); }
.fact:nth-child(4) { background: var(--c-lime); }
.fact__label { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; }
.fact__value { font-family: var(--f-display); font-size: clamp(3.5rem, 7vw, 7.5rem); font-weight: 700; line-height: 0.9; letter-spacing: -0.05em; }
.fact__value sup { font-size: 0.4em; vertical-align: 1.1em; margin-left: 0.04em; }
.fact__note { font-size: var(--t-sm); }

/* ---- 6 · trending (pinned horizontal) -------------------------------------------- */
.trend { background: var(--c-deep-teal); overflow: hidden; }
.trend__pin { min-height: 100svh; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s-12); padding: calc(var(--bar-h) + var(--s-6)) 0 var(--s-10) var(--gutter); }
.trend__head { position: relative; z-index: 2; display: grid; gap: var(--s-4); width: clamp(14rem, 24vw, 22rem); align-self: stretch; align-content: center; padding-right: var(--s-10); margin-right: calc(-1 * var(--s-10)); background: linear-gradient(90deg, var(--c-deep-teal) 82%, rgb(12 34 37 / 0)); }
.trend__head .h2 { max-width: 7ch; }
.trend__sub { color: var(--c-cream-2); }
.trend__track { display: flex; gap: var(--s-5); width: max-content; padding-right: var(--gutter); }
html:not(.motion) .trend__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; }
.tcard { width: clamp(13rem, min(19vw, 34svh), 19rem); flex: none; display: grid; gap: var(--s-3); scroll-snap-align: start; }
.tcard__meta { display: flex; justify-content: space-between; gap: var(--s-2); font-size: var(--t-xs); }
.tcard__meta span:first-child { color: var(--cat, var(--c-cream)); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-mono); }
.tcard__meta .mono { color: var(--c-cream-2); }
.media {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0;
  border-radius: var(--r-tile); overflow: hidden; background: var(--c-night-2); cursor: pointer;
  box-shadow: 0 0 0 1px rgb(243 239 233 / 0.06);
  transition: transform var(--d-3) var(--ease), box-shadow var(--d-3) var(--ease);
}
.tcard .media { box-shadow: inset 0 -4px 0 var(--cat, transparent); }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media video { opacity: 0; transition: opacity var(--d-2) var(--ease); }
.media.is-playing video { opacity: 1; }
.media:hover { transform: translateY(-4px) rotate(-1deg); }
.media:active { transform: scale(0.98); }

/* ---- 7 · features: stacking colour cards --------------------------------------- */
.features { padding: var(--s-24) var(--gutter) var(--s-16); background: var(--c-night); }
.features__head { display: grid; gap: var(--s-4); margin-bottom: var(--s-12); }
.stackcards { display: grid; gap: var(--s-6); }
.scard {
  position: sticky; top: calc(var(--bar-h) + var(--s-6) + var(--k, 0) * 1.25rem);
  min-height: min(68svh, 36rem);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-10);
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--r-card);
  color: var(--c-on-color);
  transform-origin: 50% 0%;
}
.scard:nth-child(1) { --k: 0; background: var(--c-orange); }
.scard:nth-child(2) { --k: 1; background: var(--c-sun); }
.scard:nth-child(3) { --k: 2; background: var(--c-rose); }
.scard:nth-child(4) { --k: 3; background: var(--c-teal); }
.scard:nth-child(5) { --k: 4; background: var(--c-lime); }
.scard:nth-child(6) { --k: 5; background: var(--c-cream); }
.scard__text { display: grid; gap: var(--s-4); align-content: center; }
.scard__n { font-size: var(--t-sm); }
.scard__name { font-family: var(--f-display); font-style: normal; font-size: clamp(2.4rem, 6vw, 6rem); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; }
.scard__line { font-size: var(--t-lg); line-height: 1.35; max-width: 30ch; }
.scard__media { width: clamp(9rem, min(17vw, 26svh), 15rem); aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: var(--c-night); box-shadow: 0 24px 60px -20px rgb(0 0 0 / 0.45); transform: rotate(3deg); }
.scard:nth-child(even) .scard__media { transform: rotate(-3deg); }
.scard__media img, .scard__media video { width: 100%; height: 100%; object-fit: cover; }

/* ---- 8 · export spec -------------------------------------------------------------- */
.spec { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-16); align-items: center; padding: var(--s-24) var(--gutter); background: var(--c-cream); color: var(--c-on-color); }
.spec__sheet { display: grid; gap: var(--s-6); }
.spec .kicker { color: rgb(18 13 11 / 0.6); }
.datasheet { display: grid; margin-top: var(--s-4); }
.datasheet > div { position: relative; display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; }
.datasheet > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgb(18 13 11 / 0.18); transform-origin: 0 50%; transform: scaleX(var(--line, 1)); }
.datasheet dt { font: 400 var(--t-xs)/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: rgb(18 13 11 / 0.6); }
.spec__still { position: relative; justify-self: center; width: min(100%, 21rem); }
.spec__still img { border-radius: 20px; box-shadow: 0 40px 80px -30px rgb(18 13 11 / 0.5); transform: rotate(-3deg); }
.pin { position: absolute; left: 50%; top: 82%; display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-2xs); color: var(--c-on-color); white-space: nowrap; }
.pin__line { width: calc(50% + 3rem); height: 1px; background: var(--c-on-color); position: relative; flex: none; }
.pin__line::before { content: ""; position: absolute; left: -4px; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--c-orange); }
.pin { right: -9rem; }

/* ---- 9 · FAQ -------------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--s-16); align-items: start; padding: var(--s-24) var(--gutter); background: var(--c-night); }
.faq details { border-top: 1px solid var(--c-hair); }
.faq details:last-child { border-bottom: 1px solid var(--c-hair); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: var(--s-5) var(--s-10) var(--s-5) 0; font-size: var(--t-lg); font-weight: 500; transition: color var(--d-1) var(--ease); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: var(--t-lg); color: var(--c-orange); transition: transform var(--d-2) var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--c-sun); }
.faq details p { padding-bottom: var(--s-5); color: var(--c-ink-2); max-width: 62ch; }
.faq a, .end a { text-decoration-color: var(--c-orange); text-underline-offset: 3px; }

/* ---- footer ------------------------------------------------------------------------- */
.end { padding: var(--s-24) var(--gutter) var(--s-10); display: grid; gap: var(--s-8); background: var(--c-night); border-top: 1px solid var(--c-hair); }
.end__cta { display: flex; align-items: flex-end; gap: var(--s-4); text-decoration: none; color: var(--c-orange); width: max-content; max-width: 100%; }
.end__big { font-family: var(--f-display); font-size: clamp(3.5rem, 13vw, 14rem); font-weight: 700; letter-spacing: -0.055em; line-height: 0.95; }
.end__big .roll { height: 1.1em; line-height: 1.1; }
.end__big .roll .ch { text-shadow: 0 1.1em var(--c-sun); }
.end__cta:hover .end__big .roll .ch { transform: translateY(-1.1em); }
.end__arrow { font-size: clamp(2rem, 6vw, 6rem); line-height: 1; padding-bottom: 0.15em; transition: transform var(--d-3) var(--ease); }
.end__cta:hover .end__arrow { transform: translate(6px, -6px); }
.end__line { font-size: var(--t-lg); color: var(--c-cream-2); }
.end__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-6); }
.end__meta { display: grid; gap: var(--s-3); color: var(--c-ink-3); font-size: var(--t-sm); padding-top: var(--s-6); border-top: 1px solid var(--c-hair); }
.end__meta nav { display: flex; flex-wrap: wrap; gap: var(--s-6); }
.end__meta nav a { color: var(--c-ink-2); text-decoration: none; white-space: nowrap; }
.end__meta nav a:hover { color: var(--c-cream); }
.end__legal { font-size: var(--t-2xs); max-width: 92ch; }

/* ---- cursor --------------------------------------------------------------------------- */
.cursor { display: none; }
html.motion.has-hover .cursor {
  display: grid; place-items: center;
  position: fixed; left: 0; top: 0; z-index: var(--z-cursor);
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--c-sun); pointer-events: none;
  transition: width var(--d-3) var(--ease), height var(--d-3) var(--ease), margin var(--d-3) var(--ease), background-color var(--d-3) var(--ease);
}
.cursor__label { font-size: var(--t-2xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-on-color); opacity: 0; transition: opacity var(--d-2) var(--ease); }
html.motion.has-hover .cursor.is-play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
html.motion.has-hover .cursor.is-play .cursor__label { opacity: 1; }

/* ---- first paint under motion: hidden until the timeline brings them in ------------ */
html.motion .hero__title .ch, html.motion .hero__kicker, html.motion .hero__foot { opacity: 0; animation: reveal-fallback 1ms linear 6s forwards; }
@keyframes reveal-fallback { to { opacity: 1; } }

/* ---- responsive ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .anatomy__pin { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "head head" "stack layers" "note note"; grid-template-rows: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pin { position: static; margin-top: var(--s-4); right: auto; }
  .pin__line { display: none; }
}
@media (max-width: 760px) {
  .social--bar { display: none; }
  .hero__title .line--b { padding-left: 0; }
  .hero__scroll { display: none; }
  .anatomy__pin { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "stack" "layers" "note"; }
  .trend__pin { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .trend__track { padding-left: 0; }
  .scard { grid-template-columns: minmax(0, 1fr); }
  .scard__media { width: 9rem; justify-self: start; }
  .spec, .faq { grid-template-columns: minmax(0, 1fr); }
  .datasheet > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .fact { min-height: 12rem; }
  .end__cta { width: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}
