/* ENH Master site. Self-hosted, no external anything.
   Bold and colourful (3.8.0.1): the hardware's graphite and walnut, lit by CHROMA SPACE's light - warm (amber,
   coral, magenta) against cool (cyan, blue, violet). Motion is transform/opacity only, and only with html.motion
   (JavaScript on, no reduced-motion preference, no ?static). */
:root {
  --bg: #0a0908; --bg2: #0e0d0b; --bg3: #14120f;
  --ink: #efe8dc; --muted: #b9ae9e; --dim: #948a7c;
  --line: rgba(255, 228, 190, .09); --line2: rgba(255, 228, 190, .17);
  --green: #2de2ff; --teal: #4a7dff; --cyan: #2de2ff; --blue: #4a7dff; --violet: #8f5bff; --pink: #ff2d95;
  --accent: #ff7a59; --accent2: #ffb347;
  /* Warm against cool: the gradient everything bold is lit with */
  --aurora: linear-gradient(100deg, #ffb347 0%, #ff5e62 30%, #ff2d95 50%, #8f5bff 72%, #2de2ff 100%);
  --aurora-x: linear-gradient(100deg, #ffb347 0%, #ff2d95 25%, #8f5bff 50%, #2de2ff 75%, #ffb347 100%);
  --pearl: linear-gradient(120deg, #ffd08a 0%, #ff8a5c 50%, #ff4f8b 100%);
  --glass: linear-gradient(165deg, rgba(255, 236, 205, .055), rgba(255, 236, 205, .014) 42%, rgba(120, 80, 45, .05) 100%);
  --walnut: #4a2f1d; --brass: #c9a24a; --steel: #9a948a;
  --fill: rgba(15, 13, 11, .78);
  --shadow: 0 1px 0 rgba(255, 240, 215, .06) inset, 0 24px 60px -20px rgba(0, 0, 0, .85), 0 8px 18px -8px rgba(0, 0, 0, .7);
  --r: 22px; --r-sm: 14px;
  --maxw: 1240px; --gut: clamp(16px, 4vw, 44px);
  --sec: clamp(72px, 9vw, 136px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 64px;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: #3a332a #0b0a08; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; min-width: 320px; overflow-x: hidden; color: var(--ink);
  background:   /* warm light from the left, cool from the right, a little violet under it all */
    radial-gradient(60vw 40vw at 6% 0%, rgba(255, 94, 98, .13), transparent 70%),
    radial-gradient(60vw 40vw at 96% 6%, rgba(74, 125, 255, .15), transparent 70%),
    radial-gradient(90vw 60vw at 50% 110%, rgba(143, 91, 255, .10), transparent 70%) fixed;
  font: 400 clamp(16px, .95rem + .2vw, 18px)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 750; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 -1px 0 rgba(255, 236, 205, .06); }   /* (engraved, a touch) */
h2 { font-size: clamp(2rem, 1.15rem + 3.1vw, 3.6rem); line-height: 1.04; margin-bottom: .42em; letter-spacing: -.035em; }
h3 { font-size: clamp(1.1rem, 1rem + .4vw, 1.32rem); line-height: 1.25; margin-bottom: .45em; letter-spacing: -.012em; }
code, pre { font-family: var(--mono); font-size: .86em; }
code { color: #f0d9ae; background: rgba(230, 190, 130, .07); padding: .1em .38em; border-radius: 6px; overflow-wrap: anywhere; }
pre { margin: 0; padding: 14px 16px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 12px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); color: #eadfca; line-height: 1.5; }
pre code { background: none; padding: 0; color: inherit; overflow-wrap: normal; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; padding: 10px 16px; background: var(--pearl); color: #05070a; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.grad { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }   /* (warm into cool, as CHROMA SPACE lights it) */
.muted { color: var(--muted); }
.small { font-size: .9em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the pearl's sheen: one fixed layer, moved slowly by transform only ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::before { content: ""; position: absolute; inset: -25vh -25vw; opacity: .9;
  background:
    radial-gradient(34% 26% at 22% 30%, rgba(224, 168, 74, .085), transparent 70%),
    radial-gradient(30% 30% at 52% 22%, rgba(201, 151, 74, .07), transparent 70%),
    radial-gradient(36% 30% at 78% 44%, rgba(176, 122, 60, .08), transparent 70%),
    radial-gradient(30% 26% at 34% 72%, rgba(154, 106, 58, .065), transparent 70%),
    radial-gradient(28% 24% at 80% 78%, rgba(240, 192, 112, .06), transparent 70%); }
.motion .aurora::before { will-change: transform; animation: sheen 48s ease-in-out infinite alternate; }
@keyframes sheen {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  50% { transform: translate3d(6vw, -3vh, 0) rotate(8deg) scale(1.06); }
  100% { transform: translate3d(-5vw, 4vh, 0) rotate(-6deg) scale(1.02); }
}

/* ---------- scroll progress + nav ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--aurora); box-shadow: 0 0 12px rgba(217, 165, 78, .55); }
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.nav.solid, .no-js .nav, .nav.open { background: rgba(10, 9, 8, .92); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px #000; }
.nav .wrap { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: .16em; font-size: .82rem; white-space: nowrap; }
.logo:hover { color: var(--ink); }
.logo svg { width: 28px; height: 28px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav ul a { position: relative; display: block; padding: 8px 11px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .25s, background .25s; }
.nav ul a:hover { color: var(--ink); background: rgba(255, 220, 160, .07); }
.nav ul a[aria-current="true"] { color: var(--ink); background: rgba(255, 220, 160, .08); }
.nav ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--aurora); transform: scaleX(0); transition: transform .45s var(--ease); }
.nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.nav .nav-cta { padding: 9px 16px; min-height: 40px; font-size: .9rem; margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 240, 220, .04); color: var(--ink); cursor: pointer; }
.menu-btn .bars { display: grid; gap: 6px; justify-items: center; }
.menu-btn i { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1080px) {
  .js .menu-btn { display: inline-grid; place-items: center; }
  .js .nav ul { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; gap: 2px; margin: 0; padding: 10px var(--gut) 18px;
    background: rgba(10, 9, 8, .97); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -20px #000; }
  .js .nav.open ul { display: flex; }
  .js .nav ul a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
  .js .nav ul a::after { display: none; }
  .no-js .nav ul { display: none; }
  .nav .nav-cta { margin-left: 0; }
  .no-js .nav .nav-cta { margin-left: auto; }
}
@media (max-width: 380px) { .nav .nav-cta svg { display: none; } .nav .nav-cta { padding: 8px 12px; } .logo { letter-spacing: .1em; } }
@media (max-width: 1080px) { .motion .nav.open ul { animation: menuIn .35s var(--ease); } }
@keyframes menuIn { from { opacity: 0; transform: translate3d(0, -8px, 0); } }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; overflow: hidden;
  font-weight: 700; font-size: 1rem; text-decoration: none; color: var(--ink); border: 1px solid var(--line2);
  background: rgba(255, 240, 220, .04); transition: transform .3s var(--ease), box-shadow .3s, background .3s, border-color .3s; }
.btn:hover { color: var(--ink); transform: translateY(-2px); background: rgba(255, 240, 220, .08); border-color: rgba(236, 206, 160, .4); }
.btn.ghost { border-color: transparent; background: none; }
.btn.ghost:hover { background: rgba(255, 240, 220, .06); }
.btn.primary { color: #05070a; border-color: transparent; background: var(--pearl);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 12px 34px -10px rgba(217, 165, 78, .55), 0 10px 40px -14px rgba(154, 106, 58, .5); }
.btn.primary:hover { color: #05070a; box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 18px 44px -10px rgba(217, 165, 78, .7), 0 14px 48px -12px rgba(154, 106, 58, .6); }
.btn.primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(0) skewX(-18deg); opacity: 0; }
.motion .btn.primary:hover::after { opacity: 1; animation: shine .9s var(--ease); }
@keyframes shine { from { transform: translateX(0) skewX(-18deg); } to { transform: translateX(420%) skewX(-18deg); } }
.btn.big { min-height: 56px; padding: 14px 30px; font-size: 1.06rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- the landing: a full-screen stage for the 3D rack ---------- */
/* .scene holds the landing and "Inside the rack"; its .gl-layer (the WebGL canvas) sticks to the
   viewport behind both while you scroll through them. The sections sit above it, see-through where
   the 3D shows (their .hero-stage / .xp-stage), so the page keeps its normal layout and tab order. */
.scene { position: relative; }
.scene > section { position: relative; z-index: 1; }
.gl-layer { display: none; position: sticky; top: 0; height: 100vh; height: 100lvh; margin-bottom: -100vh; margin-bottom: -100lvh; z-index: 0; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(40% 55% at 68% 42%, rgba(176, 122, 60, .13), transparent 70%),
    radial-gradient(30% 40% at 52% 30%, rgba(201, 151, 74, .11), transparent 70%),
    radial-gradient(34% 30% at 82% 78%, rgba(154, 106, 58, .1), transparent 70%),
    radial-gradient(60% 30% at 62% 100%, rgba(224, 168, 74, .06), transparent 70%); }
.pin .gl-layer { display: block; }
.gl-layer::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 9, 8, .9) 0%, rgba(10, 9, 8, .62) 24%, rgba(10, 9, 8, 0) 44%), linear-gradient(0deg, rgba(10, 9, 8, .55), transparent 18%); }
.gl-canvas { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.gl .gl-canvas { opacity: 1; }
.gl-tip { position: absolute; left: 0; top: 0; z-index: 2; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; white-space: nowrap;
  color: #05070a; background: var(--pearl); box-shadow: 0 10px 30px -10px #000; opacity: 0; transition: opacity .2s; }
.gl-tip.on { opacity: 1; }

.hero { min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vh, 64px) 0 clamp(24px, 4vh, 44px); }
.no-js .hero::before, .gl-no .hero::before, .still .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 70% 45%, rgba(176, 122, 60, .14), transparent 70%),
    radial-gradient(35% 35% at 18% 18%, rgba(224, 168, 74, .1), transparent 70%),
    radial-gradient(38% 38% at 86% 78%, rgba(154, 106, 58, .12), transparent 70%); }
.hero-stage { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-stage.grab { cursor: grab; } .hero-stage.grabbing { cursor: grabbing; } .hero-stage.point, .xp-stage.point { cursor: pointer; }
.hero-still { position: absolute; inset: 6% 2% 10% 0; display: flex; align-items: center; justify-content: center; }
.hero-still picture { width: 100%; height: 100%; }
.hero-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; border-radius: var(--r);
  -webkit-mask-image: radial-gradient(70% 75% at 50% 45%, #000 55%, transparent 100%); mask-image: radial-gradient(70% 75% at 50% 45%, #000 55%, transparent 100%); }
.gl-try .hero-still, .gl .hero-still { display: none; }
.gl-poster { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl-loader { display: none; position: absolute; left: 50%; top: 50%; width: min(42%, 260px); height: 2px; margin-left: min(-21%, -130px); border-radius: 2px; overflow: hidden; background: rgba(255, 228, 190, .08); }
.gl-try .gl-loader { display: block; }
.gl-loader i { position: absolute; top: 0; bottom: 0; width: 40%; background: var(--aurora); border-radius: 2px; }
.motion .gl-loader i { animation: load 1.4s var(--ease-io) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.hero-in { position: relative; z-index: 1; width: 100%; pointer-events: none; }
.hero-in a, .hero-in .facts { pointer-events: auto; }
.hero-copy { max-width: 38rem; text-align: left; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 240, 220, .04); color: var(--muted); font-size: .84rem; }
.eyebrow b { padding: 2px 9px; border-radius: 999px; background: var(--pearl); color: #05070a; letter-spacing: .06em; font-size: .75rem; }
.hero h1 { font-size: clamp(2.4rem, 1rem + 3.3vw, 4.4rem); line-height: .98; letter-spacing: -.048em; margin: .34em 0 .3em; font-weight: 800; }
.lede { font-size: clamp(1.12rem, 1rem + .55vw, 1.42rem); color: var(--ink); max-width: 30em; margin: 0 0 .55em; line-height: 1.45; font-weight: 500; letter-spacing: -.01em; }
.lede2 { color: var(--muted); max-width: 32em; margin: 0 0 1.7em; line-height: 1.6; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 480px) { .cta .btn { flex: 1 1 100%; } }
.cta-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 18px 0 0; font-size: .92rem; }
.cta-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; color: var(--muted); text-decoration: none; }
.cta-links a:hover { color: var(--ink); }
.cta-links svg { width: 16px; height: 16px; color: var(--accent); }
.scroll-cue { position: absolute; left: 70%; bottom: 14px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 18px; border-radius: 999px;
  background: rgba(8, 10, 14, .8); border: 1px solid var(--line2); color: var(--muted); font-size: .84rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.scroll-cue:hover { color: var(--ink); border-color: rgba(236, 206, 160, .45); }
.scroll-cue i { width: 10px; height: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg) translate(-2px, -2px); }
.motion .scroll-cue i { animation: nudge 1.8s var(--ease-io) infinite; }
@keyframes nudge { 50% { transform: rotate(45deg) translate(2px, 2px); } }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 35rem; margin-top: clamp(28px, 5vh, 56px); border-radius: var(--r-sm); overflow: hidden;
  background: var(--line); border: 1px solid var(--line); }
.facts div { background: rgba(8, 9, 13, .86); padding: 14px 12px; }
.facts b { display: block; font-size: clamp(1.25rem, 1rem + .9vw, 1.7rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.facts span { display: block; margin-top: 4px; color: var(--muted); font-size: .78rem; line-height: 1.35; }
@media (min-width: 1800px) { .hero-in { max-width: 1640px; } .hero-copy, .facts { max-width: 40rem; } }
@media (max-width: 999px) {
  .hero { justify-content: flex-start; padding-top: 0; }
  .hero-stage { position: relative; width: auto; height: 50vh; height: 50svh; min-height: 260px; max-height: 560px; margin: 0 0 8px; }
  .hero-still { inset: 4% var(--gut); }
  .gl-layer::after { background: linear-gradient(0deg, rgba(10, 9, 8, .82), transparent 30%), linear-gradient(180deg, rgba(10, 9, 8, .5), transparent 14%); }
  .hero-copy, .facts { max-width: 40rem; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hero h1 { font-size: clamp(2.2rem, 1rem + 7vw, 3.2rem); } }
/* The welcome banner, centred: the words across the middle, the rack framed full-width under them (the 3D rack
   frames itself into .hero-stage wherever it is), the facts centred below. .hero-in steps aside (display:
   contents) so its two parts take their own places in the hero's column. */
.hero-in { display: contents; }
.nowrap { white-space: nowrap; }
.hero-copy { order: 1; position: relative; z-index: 1; width: 100%; max-width: 54rem; margin: 0 auto; padding: 0 var(--gut); text-align: center; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.hero .lede, .hero .lede2 { margin-left: auto; margin-right: auto; }
.hero .cta, .hero .cta-links { justify-content: center; }
.hero-stage { order: 2; position: relative; top: auto; right: auto; bottom: auto; width: min(100%, 1180px); height: clamp(300px, 50vh, 640px); margin: 6px auto 0; }
.facts { order: 3; position: relative; z-index: 1; width: calc(100% - 2 * var(--gut)); max-width: 44rem; margin: 14px auto 0; text-align: center; }
.scroll-cue { left: 50%; }
.hero .lede2 { margin-bottom: 1.3em; }
@media (min-width: 1800px) { .hero-copy { max-width: 60rem; } .facts { max-width: 48rem; } }
@media (max-width: 999px) { .hero-stage { order: 0; width: auto; height: 46vh; height: 46svh; margin: 0 0 8px; } }
/* No 3D (older graphics): the still picture drifts slowly, so the hero still breathes */
.motion.gl-no .hero-still img { animation: stillDrift 26s var(--ease-io) infinite alternate; }
@keyframes stillDrift { from { transform: scale(1.02) translate3d(-1.2%, .6%, 0); } to { transform: scale(1.09) translate3d(1.2%, -.8%, 0); } }

/* ---------- sections ---------- */
main { overflow-x: hidden; overflow-x: clip; }   /* the side glows never widen the page */
section { position: relative; padding: var(--sec) 0; }
.band { background: linear-gradient(180deg, transparent 0%, rgba(16, 14, 12, .78) 10%, rgba(16, 14, 12, .78) 90%, transparent 100%); }
.glow-l::before, .glow-r::before { content: ""; position: absolute; top: 10%; width: 50vw; height: 60%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(217, 165, 78, .075), rgba(154, 106, 58, .03) 60%, transparent); }
.glow-l::before { left: -15vw; } .glow-r::before { right: -15vw; }
section > .wrap { position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 18px; color: #d9b066; font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; }
.kicker::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--teal)); transform-origin: 100% 50%; }
.knum { padding: 3px 9px; border-radius: 999px; border: 1px solid rgba(217, 236, 134, .35); color: var(--ink); letter-spacing: .12em; font-size: .7rem; }
.sec-head { max-width: 800px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .kicker::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--violet), transparent); }
.sec-head p:not(.kicker) { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } .split.flip > :first-child { order: 0; } }

/* pearl cards: dark glass, a soft sheen from above, an iridescent rim */
.card { position: relative; min-width: 0; border-radius: var(--r); padding: clamp(20px, 3vw, 32px); background: var(--glass), var(--fill); border: 1px solid var(--line); box-shadow: var(--shadow); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(110% 55% at 20% -10%, rgba(240, 210, 160, .07), transparent 60%), radial-gradient(90% 50% at 100% 0%, rgba(200, 150, 90, .06), transparent 60%); }
.card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgba(240, 210, 160, .38), rgba(217, 165, 78, .08) 30%, rgba(176, 122, 60, .06) 55%, rgba(154, 106, 58, .16) 78%, rgba(240, 192, 112, .34));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.card > * { position: relative; }
.tilt { transition: transform .5s var(--ease), box-shadow .5s; transform-style: flat; }
.tilt.tilting { transition: transform .12s linear, box-shadow .5s; }

.shot { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: #000;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .5), 0 30px 70px -40px rgba(176, 122, 60, .35); }
.shot img { width: 100%; }
.shot figcaption, .cap { font-size: .86rem; color: var(--dim); margin-top: 12px; }
figure { margin: 0; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #f5dcaa 0 3px, transparent 4px), rgba(217, 165, 78, .1); border: 1px solid rgba(220, 180, 120, .45); }
.ticks b { color: var(--ink); font-weight: 650; }

/* for you */
.duo { align-items: stretch; }
.who { display: flex; flex-direction: column; }
.who .ticks { flex: 1; margin: 10px 0 22px; }
.who .go, .path .go { font-weight: 700; text-decoration: none; }
.who .go span, .path .go span { display: inline-block; transition: transform .3s var(--ease); }
.who .go:hover span { transform: translateX(4px); }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(224, 168, 74, .2), rgba(176, 122, 60, .1) 55%, rgba(240, 192, 112, .16)); border: 1px solid rgba(236, 206, 160, .3); }
.ico svg { width: 24px; height: 24px; stroke: #e6f1a9; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel-row { margin-top: clamp(28px, 4vw, 48px); }
.panel-row .shot { max-width: 980px; margin: 0 auto; }
.panel-row .cap { text-align: center; }
.demo-sec .split { margin-bottom: clamp(28px, 4vw, 48px); }
.get-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(32px, 4vw, 48px); }
@media (max-width: 480px) { .get-cta .btn { flex: 1 1 100%; } }

/* ---------- gauges (test results) ---------- */
.dials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 20px); }
@media (max-width: 560px) { .dials { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dials > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; } }
.dial { text-align: center; padding: clamp(14px, 2.2vw, 22px) clamp(10px, 1.6vw, 18px); }
.dial svg { width: 100%; max-width: 200px; margin: 0 auto; overflow: visible; }
.dial .lbl { margin: 8px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.dial .lbl b { display: block; color: var(--ink); font-size: .95rem; }
.g-track { fill: none; stroke: rgba(255, 228, 190, .09); stroke-linecap: round; }
.g-ghost { fill: none; stroke: rgba(240, 192, 112, .6); stroke-linecap: round; }
.g-val { fill: none; stroke: url(#gAur); stroke-linecap: round; }
.g-glow { fill: none; stroke: url(#gAur); stroke-linecap: round; opacity: .5; filter: url(#fGlow); }
.g-tick { stroke: rgba(255, 228, 190, .26); stroke-width: 1; }
.g-tick.major { stroke: rgba(255, 228, 190, .5); stroke-width: 1.5; }
.g-num { fill: var(--ink); font-weight: 800; letter-spacing: -.03em; font-family: var(--sans); }
.g-in { fill: var(--pink); font-weight: 800; letter-spacing: -.03em; font-family: var(--sans); }
.g-unit { fill: var(--muted); font-family: var(--sans); font-weight: 600; letter-spacing: .08em; }
.g-small { fill: var(--dim); font-family: var(--sans); font-size: 8px; }
.g-needle { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.g-hub { fill: #0c0e13; stroke: url(#gRim); stroke-width: 1.5; }
.g-set { stroke: rgba(217, 165, 78, .55); stroke-width: 2.5; stroke-linecap: round; }
.g-set.on { stroke: #fff1ae; stroke-width: 3.5; }

/* big Ear Guard dial */
.guard { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (max-width: 720px) { .guard { grid-template-columns: minmax(0, 1fr); } }
.guard .gauge svg { width: 100%; max-width: 440px; margin: 0 auto; overflow: visible; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); justify-content: center; }
.legend i { display: inline-block; width: 18px; height: 3px; border-radius: 3px; vertical-align: middle; margin-right: 7px; }
.legend .l-in { background: repeating-linear-gradient(90deg, var(--pink) 0 5px, transparent 5px 8px); }
.legend .l-out { background: var(--aurora); }
.legend .l-set { background: var(--cyan); }
.legend .l-res { background: var(--ink); height: 2px; }
.legend .l-cut { background: linear-gradient(90deg, var(--green), var(--blue)); height: 8px; opacity: .8; }
.legend .l-mom { background: var(--cyan); height: 2px; }
.legend .l-lim { background: repeating-linear-gradient(90deg, var(--violet) 0 3px, transparent 3px 6px); }
.legend .l-send { background: repeating-linear-gradient(90deg, var(--pink) 0 6px, transparent 6px 9px); }
.legend .l-even { background: var(--teal); height: 10px; width: 10px; }
.legend .l-odd { background: var(--violet); height: 10px; width: 10px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0; }
.chip { font: inherit; padding: 6px 14px; min-height: 38px; border-radius: 999px; border: 1px solid var(--line2); font-weight: 700; font-size: .9rem; color: var(--muted);
  background: rgba(255, 240, 220, .03); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--ink); border-color: rgba(236, 206, 160, .4); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { color: #05070a; background: var(--pearl); border-color: transparent; }
.chip.ghost { font-weight: 600; font-size: .84rem; }
.no-js [data-demo] button { pointer-events: none; }

/* ---------- interactive demos ---------- */
.demo-head { max-width: 780px; margin-bottom: 16px; }
.demo-head p { margin: 0; }
.demo-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
.plot { min-width: 0; }
.plot svg { width: 100%; height: auto; overflow: visible; }
.knobs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; align-content: center; }
.knobs.k3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 560px) and (max-width: 899px) { .knobs.k4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .knobs.k2 { grid-template-columns: repeat(2, minmax(0, 160px)); justify-content: center; } }
@media (min-width: 900px) { .knobs.k3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .knobs.k3 > :last-child { grid-column: 1 / -1; justify-self: center; width: 50%; } }
.setting { grid-column: 1 / -1; display: grid; gap: 8px; justify-items: center; margin-top: 4px; }
.setting .k-l { margin-top: 4px; }
.knob { display: grid; justify-items: center; align-content: start; gap: 1px; padding: 6px 2px 8px; border-radius: 16px; user-select: none; -webkit-user-select: none; touch-action: none; min-width: 0; }
.knob svg { width: 100%; max-width: 92px; overflow: visible; }
.live .knob { cursor: grab; }
.live .knob.turning { cursor: grabbing; }
.knob:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; background: rgba(217, 165, 78, .06); }
.k-track { fill: none; stroke: rgba(255, 228, 190, .1); stroke-width: 6; stroke-linecap: round; }
.k-val { fill: none; stroke: url(#gAur); stroke-width: 6; stroke-linecap: round; }
.k-glow { fill: none; stroke: url(#gAur); stroke-width: 6; stroke-linecap: round; opacity: .45; filter: url(#fGlow); }
.k-tick { stroke: rgba(255, 228, 190, .3); stroke-width: 1.2; stroke-linecap: round; }
.k-disc { fill: url(#gKnob); stroke: url(#gRim); stroke-width: 1.3; transition: stroke-width .2s; }
.k-sheen { fill: url(#gSheen); pointer-events: none; }
.k-dot { fill: var(--ink); }
.live .knob:hover .k-disc, .knob.turning .k-disc { stroke-width: 2.2; }
.k-v { font-weight: 750; font-variant-numeric: tabular-nums; font-size: .9rem; line-height: 1.3; color: var(--ink); white-space: nowrap; transition: color .15s, text-shadow .15s; }
.knob.turning .k-v { color: #f6e2b8; text-shadow: 0 0 12px rgba(224, 168, 74, .45); }
.k-l { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 650; text-align: center; line-height: 1.3; }
.readout { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: rgba(255, 170, 120, .05); border: 1px solid var(--line); font-size: .95rem; color: var(--muted); line-height: 1.5; }
.readout b { color: var(--ink); font-variant-numeric: tabular-nums; }
.how { margin: 14px 0 0; font-size: .84rem; color: var(--dim); line-height: 1.55; }
.how b { color: var(--muted); }
.how code { font-size: .92em; }
.thd { margin: 0 0 4px; font-size: .78rem; letter-spacing: .14em; color: var(--dim); font-weight: 650; }
.thd b { font-size: 1.5rem; letter-spacing: -.02em; margin-left: .4em; color: var(--ink); font-variant-numeric: tabular-nums; }
#character-demo { margin-bottom: clamp(24px, 4vw, 40px); }

/* graphs */
.gr .axis { stroke: rgba(255, 228, 190, .1); stroke-width: 1; }
.gr .zero { stroke: rgba(255, 228, 190, .32); stroke-width: 1; }
.gr .t { fill: var(--dim); font-size: 11px; font-family: var(--sans); }
.gr.narrow .t, .gr.narrow .zt { font-size: 13px; }
.gr.narrow .ann { font-size: 13px; }
.gr .zone { fill: rgba(176, 122, 60, .055); }
.gr .zt { fill: var(--dim); font-size: 10.5px; font-family: var(--sans); letter-spacing: .02em; }
.gr .res { fill: rgba(240, 192, 112, .1); stroke: var(--pink); stroke-width: 1.8; stroke-dasharray: 5 4; }
.gr .cut { fill: rgba(201, 151, 74, .16); stroke: url(#gAurH); stroke-width: 2.6; }
.gr .out { fill: none; stroke: var(--ink); stroke-width: 1.6; opacity: .9; }
.gr .bw { stroke: var(--violet); stroke-width: 1.8; }
.gr .ann { fill: var(--ink); font-size: 12px; font-weight: 700; font-family: var(--sans); }
.gr .ann2 { fill: var(--muted); font-size: 11px; font-family: var(--sans); }
.gr .g-inp { fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-dasharray: 5 4; }
.gr .g-out { fill: url(#gAurV); }
.gr .g-outl { fill: none; stroke: url(#gAurH); stroke-width: 2.2; stroke-linejoin: round; }
.gr .g-mom { fill: none; stroke: var(--cyan); stroke-width: 1.3; opacity: .85; }
.gr .g-lim { fill: none; stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 2 4; stroke-linecap: round; }
.gr .r-lift { fill: url(#gAurV); }
.gr .r-liftl { fill: none; stroke: url(#gAurH); stroke-width: 2.6; }
.gr .r-send { fill: none; stroke: var(--pink); stroke-width: 2; stroke-dasharray: 6 4; }
.gr .t-send { fill: #d9a3c8; }
.gr .hb.even { fill: var(--teal); }
.gr .hb.odd { fill: var(--violet); }

/* radar heat map */
.heat-wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.heat { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: .84rem; min-width: 300px; }
.heat caption { caption-side: bottom; text-align: left; color: var(--dim); font-size: .82rem; padding-top: 10px; }
.heat th { font-weight: 600; color: var(--muted); padding: 4px 6px; }
.heat thead th { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }
.heat tbody th { text-align: left; white-space: nowrap; }
.heat td { text-align: center; padding: 7px 2px; border-radius: 7px; font-weight: 700; font-variant-numeric: tabular-nums; color: #04120d; }
.heat tfoot th, .heat tfoot td { padding-top: 10px; }
.heat tfoot td { color: #dcf09f; background: none; border-top: 1px solid var(--line2); border-radius: 0; }
.p100 { background: linear-gradient(180deg, #f7d99f, #e6b45e); }
.p90 { background: #c4cf4f; }
.p80 { background: #e6975b; color: #050b16 !important; }
.p50 { background: #cf5f7a; color: #f5f0ff !important; }
.p20 { background: #662a3b; color: #ffdce6 !important; }
.p0 { background: #171a23; color: #b9ae9e !important; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; font-size: .92rem; }
.bars span { color: var(--muted); }
.bars b { font-variant-numeric: tabular-nums; }
.bars svg { grid-column: 1 / -1; width: 100%; height: 8px; border-radius: 8px; }
.bars .bt { fill: rgba(255, 228, 190, .08); }
.bars .bv { fill: url(#gAurH); }
.bars .bm { fill: var(--ink); opacity: .7; }
.pass { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(224, 168, 74, .08); border: 1px solid rgba(224, 168, 74, .35); color: #f3dca6; font-size: .84rem; font-weight: 600; }

.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
@media (max-width: 960px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .grid2 { grid-template-columns: minmax(0, 1fr); } }
.mt { margin-top: clamp(20px, 3vw, 32px); }

/* ---------- signal chain ---------- */
.chain { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; counter-reset: u; }
.chain li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 18px 18px 18px 16px; border-radius: var(--r-sm);
  background: var(--glass), var(--fill); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, background .35s; }
.chain li:hover { transform: translateY(-3px); border-color: rgba(235, 230, 140, .35); background: linear-gradient(165deg, rgba(240, 210, 160, .07), rgba(154, 106, 58, .04)), var(--fill); }
.chain li::before { counter-increment: u; content: counter(u, decimal-leading-zero); flex: none; font-weight: 800; font-size: 1.5rem; line-height: 1; letter-spacing: -.04em;
  color: var(--accent); min-width: 2ch; }
.chain b { display: block; font-size: .82rem; letter-spacing: .12em; color: var(--ink); margin-bottom: 3px; }
.chain span { color: var(--muted); font-size: .93rem; line-height: 1.45; }

/* ---------- lab ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat b { display: block; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 6px; }
.stat span { color: var(--muted); font-size: .9rem; line-height: 1.45; display: block; }
.gallery { display: grid; grid-auto-flow: row dense; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.gallery .wide { grid-column: 1 / -1; }
@media (min-width: 1000px) { .gallery .wide { grid-column: span 2; } .gallery .wide a { aspect-ratio: 33 / 10; } .gallery .full { grid-column: 1 / -1; } .gallery .full a { aspect-ratio: 2.8 / 1; } }
.gallery .full { grid-column: 1 / -1; }
.tile { display: flex; flex-direction: column; min-width: 0; margin: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--glass), var(--fill); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .4s; }
.tile:hover, .tile:focus-within { transform: translateY(-4px); border-color: rgba(235, 230, 140, .38); }
.tile a { display: block; position: relative; overflow: hidden; background: #0a0b0d; aspect-ratio: 4 / 3; }
.tile a picture { width: 100%; height: 100%; }
.tile a img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.tile a:hover img { transform: scale(1.04); }
.tile a::after { content: "Enlarge"; position: absolute; right: 10px; bottom: 10px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; color: #05070a;
  background: var(--pearl); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.tile a:hover::after, .tile a:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .tile a::after { opacity: .92; transform: none; } }
.tile a:focus-visible { outline-offset: -3px; }
.tile figcaption { padding: 16px 18px 18px; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.tile figcaption b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }

/* lightbox */
dialog.lb { width: min(96vw, 1500px); max-width: none; max-height: 94vh; margin: auto; padding: 0; border: 1px solid var(--line2); border-radius: 18px;
  background: #0b0a08; color: var(--ink); box-shadow: 0 40px 120px rgba(0, 0, 0, .95), 0 0 0 1px rgba(176, 122, 60, .12); overflow: hidden; }
dialog.lb::backdrop { background: rgba(2, 3, 5, .9); }
dialog.lb[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) { dialog.lb[open] { animation: lbIn .35s var(--ease); } }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-img { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: #0a0b0d; }
.lb-img img { max-width: 100%; max-height: calc(94vh - 120px); width: auto; height: auto; object-fit: contain; }
.lb-bar { display: flex; gap: 12px; align-items: center; padding: 12px 14px 12px 20px; border-top: 1px solid var(--line); }
.lb-bar p { margin: 0; flex: 1; font-size: .9rem; color: var(--muted); min-width: 0; }
.lb-bar p b { color: var(--ink); margin-right: .5em; }
.lb-bar button { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 240, 220, .05); color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.lb-bar button:hover { background: rgba(236, 206, 160, .14); border-color: rgba(236, 206, 160, .4); }

/* ---------- get it / verify ---------- */
.path { display: flex; flex-direction: column; }
.path .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(224, 168, 74, .2), rgba(176, 122, 60, .1) 55%, rgba(240, 192, 112, .16)); border: 1px solid rgba(236, 206, 160, .3); }
.path .ico svg { width: 24px; height: 24px; stroke: #e6f1a9; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.path p { color: var(--muted); flex: 1; }
.path .go { font-weight: 700; text-decoration: none; }
.steps { list-style: none; counter-reset: s; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.steps li { position: relative; padding-left: 44px; color: var(--muted); }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: .85rem; color: #05070a; background: var(--pearl); }
.steps b { color: var(--ink); }

.privacy { display: flex; gap: 18px; align-items: flex-start; }
.privacy svg { flex: none; width: 40px; height: 40px; stroke: #e6f1a9; fill: none; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

footer { padding: 48px 0 64px; border-top: 1px solid var(--line); color: var(--dim); font-size: .9rem; background: rgba(10, 9, 8, .6); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer .logo { color: var(--ink); }

/* =====================================================================================
   INSIDE THE RACK: the exploded view
   ===================================================================================== */
.xp { padding: 0; }
.xp-track { position: relative; }
.xp-pin { position: relative; padding: var(--sec) 0 32px; }
.xp-grid { display: grid; grid-template-columns: minmax(270px, 360px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.xp-copy h2 { font-size: clamp(1.7rem, 1rem + 1.6vw, 2.5rem); }
.xp-intro { color: var(--muted); font-size: .98rem; }
.xp-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0 22px; padding: 0; counter-reset: st; }
.xp-steps li { position: relative; padding-top: 12px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--dim); line-height: 1.25; transition: color .4s; }
.xp-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: rgba(255, 228, 190, .12); }
.xp-steps li::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--aurora); transform-origin: 0 50%; transform: scaleX(0); transition: transform .5s var(--ease); }
.xp-steps li.on { color: var(--ink); }
.xp-steps li.on::after { transform: scaleX(1); }
.xp-steps { display: none !important; } .pin .xp-steps { display: grid !important; }
.xp-pick-l { margin: 0 0 8px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--dim); }
.xp-pick { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.xp-u { display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: baseline; gap: 0 8px; width: 100%; padding: 6px 10px; border-radius: 10px; border: 1px solid transparent;
  background: none; color: var(--muted); font: inherit; font-size: .86rem; text-align: left; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.xp-u:hover { color: var(--ink); background: rgba(255, 220, 160, .06); }
.xp-u[aria-pressed="true"] { color: var(--ink); background: linear-gradient(100deg, rgba(224, 168, 74, .12), rgba(176, 122, 60, .1) 60%, rgba(240, 192, 112, .08)); border-color: rgba(236, 206, 160, .28); }
.xp-n { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--dim); font-size: .78rem; letter-spacing: .04em; }
.xp-u[aria-pressed="true"] .xp-n { color: #f7d99f; }
.xp-nm { font-weight: 700; letter-spacing: .08em; font-size: .78rem; }
.xp-bl { grid-column: 2; font-size: .84rem; color: var(--muted); display: none; }
.xp-u[aria-pressed="true"] .xp-bl, .no-js .xp-bl { display: block; }
.no-js .xp-u { cursor: default; }

.xp-view { min-width: 0; display: grid; gap: 12px; }
.xp-stage { position: relative; height: clamp(340px, 60vh, 760px); border-radius: var(--r); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(217, 165, 78, .12), transparent 70%),
    radial-gradient(40% 40% at 72% 70%, rgba(154, 106, 58, .1), transparent 70%),
    radial-gradient(70% 22% at 50% 96%, rgba(224, 168, 74, .08), transparent 70%); }
.xp-stage:focus-visible { outline-offset: -2px; }
.xp-stage.grab { cursor: grab; }
.xp-stage.grabbing { cursor: grabbing; }
.xp-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.xp-tools[hidden] { display: none; }
.chip.icon { min-width: 44px; font-size: 1.1rem; padding: 4px 12px; }
@media (max-width: 420px) { .xp-tools { flex-wrap: nowrap; } .xp-tools .chip.icon { display: none; } .xp-tools .chip { padding: 6px 12px; font-size: .84rem; } }
.xp-info { min-height: 7.2em; padding: 14px 18px; border-radius: 16px; background: rgba(15, 13, 11, .8); border: 1px solid var(--line); }
.xp-info p { margin: 0; }
.xp-info-k { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #d9b066; font-weight: 700; }
.xp-info-t { font-weight: 750; font-size: 1.06rem; letter-spacing: .02em; margin: 2px 0 4px !important; }
.xp-info-d { color: var(--muted); font-size: .92rem; line-height: 1.5; }
.xp-note { margin: 0; font-size: .8rem; color: var(--dim); text-align: center; }
.xp-list-w { padding-bottom: var(--sec); }
.xp-list-h { margin: 8px 0 18px; }
.xp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px 24px; margin: 0; }
.xp-list div { padding: 12px 0; border-top: 1px solid var(--line); }
.xp-list dt { font-weight: 700; }
.xp-list dt i { display: block; font-style: normal; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #d9b066; }
.xp-list dd { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.js .xp-list-w { display: none; }
.js .xp-pin { padding-bottom: var(--sec); }

@media (min-width: 1800px) { .xp-grid { max-width: 1640px; } }

/* the still exploded diagram (no JavaScript): sized in container units, no script needed */
.xp-stage { container-type: size; }
.xp-static { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; perspective: 1800px;
  transform: rotateX(-16deg) rotateY(-30deg); }
.xs { position: absolute; max-width: none; width: 58cqw; height: auto; left: -29cqw; top: -10.7cqw; }
.xs-k { height: 21.3cqw; border-radius: 6px; background: linear-gradient(180deg, #3a3e45, #202328); box-shadow: inset 0 0 0 2px #4a4f57; transform: translateZ(-26cqw); }
.xs-b { transform: translateZ(-14cqw); }
.xs-d { transform: translateZ(-2cqw); }
.xs-p { transform: translateZ(9cqw); }
.xs-c { transform: translateZ(19cqw); }
@supports not (width: 1cqw) { .xs { width: 480px; left: -240px; top: -88px; } .xs-k { height: 176px; } }
.gl-try .xp-static, .gl .xp-static { display: none; }
.no-js .js-only { display: none; }

/* the live 3D scene (built by explode.js; sizes and transforms set from script) */
.xw { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.xw * { box-sizing: border-box; }
.xg { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.xu { position: absolute; left: -500px; width: 1000px; transform-style: preserve-3d; }
.xf { position: absolute; inset: 0; }
.xf img, .xl > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: block; pointer-events: none; -webkit-user-drag: none; }
.xwall { position: absolute; left: 0; top: 0; background: linear-gradient(90deg, #2a2d33, #50555d 18%, #3a3e45 70%, #1c1f23); }
.xwall.side { top: 0; transform-origin: 0 50%; }
.xwall.lid { left: 0; transform-origin: 50% 0; background: linear-gradient(180deg, #555b63, #3b4047 60%, #24272c); }
.xwall.back { background: repeating-linear-gradient(90deg, #181a1e 0 26px, #0d0e10 26px 34px), #16181b; }
.xcase { position: absolute; background: linear-gradient(90deg, #2e1b10 0%, #5b3520 22%, #6e4127 46%, #54311c 70%, #2c190e 100%); box-shadow: inset 0 0 0 1px rgba(255, 210, 170, .08); }
.xcase.h { background: linear-gradient(180deg, #6b3f25 0%, #58331e 45%, #3a2213 100%); }
.xcase.dark { background: linear-gradient(90deg, #22140b, #3d2414 50%, #1d1109); }
.xcase.back { background: #07080a; }
.xl { position: absolute; left: 0; top: 0; width: 1000px; }
.rim { position: absolute; inset: 0; border-radius: 6px; border: 2px solid rgba(230, 247, 159, .6); box-shadow: inset 0 0 16px rgba(217, 165, 78, .16), inset 0 0 0 4px rgba(154, 106, 58, .14); visibility: hidden; pointer-events: none; }
.lit > .rim { visibility: visible; }
.xtag { position: absolute; left: 0; top: -58px; padding: 8px 18px; border-radius: 999px; font-size: 24px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: #05070a; background: var(--pearl); visibility: hidden; pointer-events: none; }
.xtag.dark { color: var(--ink); background: rgba(8, 10, 14, .9); border: 2px solid rgba(236, 206, 160, .5); }
.xtag.on { visibility: visible; }
.xtag.r { left: auto; }
.xflow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.xflow path { fill: none; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .6s; }
.xflow .fa { stroke: #e6f79f; stroke-width: 4; stroke-dasharray: 12 30; }
.xflow .fc { stroke: #ffa6c7; stroke-width: 2.6; stroke-dasharray: 6 20; }
.flowing .xflow path { opacity: .95; animation: flow 1.1s linear infinite; }
.flowing .xflow .fc { animation-duration: 1.7s; }
@keyframes flow { to { stroke-dashoffset: -42; } }
.hs { position: absolute; padding: 0; margin: 0; border-radius: 50%; border: 3px solid transparent; background: none; cursor: pointer; transform: translate(-50%, -50%); transition: border-color .2s, box-shadow .2s, background .2s; }
.hs::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  background: radial-gradient(circle, #fff4e0 0 3px, rgba(224, 227, 127, .85) 4px 6px, transparent 7px); opacity: .0; transition: opacity .3s; }
.hot .hs::after { opacity: .75; transform: scale(.7); }
.hs:hover, .hs:focus-visible, .hs.on { border-color: rgba(230, 247, 159, .95); background: rgba(224, 227, 127, .1); box-shadow: 0 0 0 6px rgba(224, 227, 127, .18), 0 0 30px rgba(224, 227, 127, .5); outline: none; }
.xp-hot { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.xp-hot .hs { left: 0; top: 0; width: 44px; height: 44px; pointer-events: auto; visibility: hidden; }
.hot .xp-hot .hs, .xp-hot .hs:focus-visible, .xp-hot .hs.on { visibility: visible; }
.xp-hot[inert] .hs { pointer-events: none; visibility: hidden; }
.xp-hot .xtag { top: 0; padding: 4px 11px; font-size: .66rem; letter-spacing: .14em; border-width: 1px; }
.xp-call { position: absolute; left: 0; top: 0; padding: 6px 12px; margin: -46px 0 0 -8px; border-radius: 10px 10px 10px 2px; font-size: .8rem; font-weight: 750; letter-spacing: .04em; white-space: nowrap;
  color: #05070a; background: var(--pearl); box-shadow: 0 12px 30px -12px #000; opacity: 0; transition: opacity .2s; pointer-events: none; }
.xp-call.on { opacity: 1; }
.gl .xp-stage, .gl-try .xp-stage { background: none; }
.gl-canvas + .xp-static { display: none; }

/* pinned, scroll-driven version (motion on) */
.pin .xp-track { height: 460vh; }
.pin .xp-pin { position: sticky; top: 0; height: 100vh; height: 100svh; padding: calc(var(--nav-h) + 12px) 0 16px; display: flex; align-items: center; }
.pin .xp-grid { width: 100%; height: 100%; }
.pin .xp-view { height: 100%; grid-template-rows: minmax(0, 1fr) auto auto auto; align-content: stretch; }
.pin .xp-stage { height: 100%; min-height: 180px; }
@media (max-height: 980px) and (min-width: 901px) { .pin .xp-intro { display: none; } }
/* the pinned column always fits the screen's height: on short, wide screens (ultrawide monitors, a
   browser zoomed out) the list tightens, and never runs up under the nav */
.pin .xp-copy { max-height: 100%; overflow-y: auto; scrollbar-width: none; padding-right: 4px; }
.pin .xp-copy::-webkit-scrollbar { display: none; }
@media (max-height: 1000px) and (min-width: 901px) {
  .pin .xp-copy h2 { font-size: clamp(1.4rem, .8rem + 1.6vh, 2.1rem); }
  .pin .xp-steps { margin: 10px 0 12px; }
  .pin .xp-u { padding: 4px 10px; }
}
@media (max-height: 760px) and (min-width: 901px) { .pin .xp-copy .kicker, .pin .xp-steps { display: none !important; } }
/* wide screens: the content sits in a centred column, so the dark fade over the 3D follows that column,
   not the window's edge - the rest of the rack never shows through behind the unit list */
@media (min-width: 1800px) {
  .gl-layer::after { background: linear-gradient(90deg, rgba(10, 9, 8, .94) 0%, rgba(10, 9, 8, .9) calc(50% - 420px), rgba(10, 9, 8, 0) calc(50% - 180px)),
                                  linear-gradient(0deg, rgba(10, 9, 8, .55), transparent 18%); }
}
.gl-layer { transition: opacity .25s linear; }
@media (max-height: 760px) and (min-width: 901px) { .pin .xp-note { display: none; } .xp-u { padding: 4px 10px; } }

@media (max-width: 900px) {
  .xp-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .xp-copy h2 { font-size: clamp(1.45rem, 1rem + 2.6vw, 2.2rem); margin-bottom: .3em; }
  .xp-steps { margin: 8px 0 12px; }
  .xp-pick-l { display: none; }
  .js .xp-pick { display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 0 4px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); scroll-padding: 0 var(--gut); }
  .js .xp-pick::-webkit-scrollbar { display: none; }
  .js .xp-pick li { flex: none; }
  .js .xp-u { display: inline-flex; gap: 6px; width: auto; padding: 8px 12px; border-color: var(--line2); border-radius: 999px; white-space: nowrap; min-height: 40px; align-items: center; }
  .js .xp-u .xp-bl { display: none; }
  .pin .xp-pin { align-items: stretch; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 10px; }
  .pin .xp-grid { grid-template-rows: auto minmax(0, 1fr); align-items: stretch; }
  .pin .xp-intro, .pin .xp-note { display: none; }
  .pin .xp-copy .kicker { margin-bottom: 6px; }
  .xp-info { min-height: 0; padding: 10px 14px; }
  .xp-info-d { font-size: .86rem; }
  .pin .xp-info { max-height: 9.5em; overflow-y: auto; overscroll-behavior: contain; }
  .pin .xp-view { gap: 8px; }
}
@media (max-width: 900px) and (max-height: 700px) { .pin .xp-steps { display: none; } .pin .xp-copy .kicker { display: none; } .pin .xp-info { max-height: 7em; } }

/* ---------- motion: reveals, sweeps, section transitions ---------- */
.motion .rv { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.motion .rv.zoom { transform: translate3d(0, 36px, 0) scale(.96); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .kicker.rv::before { transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.motion .kicker.rv.in::before { transform: scaleX(1); }
.grad.sweep { background: var(--aurora-x); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.motion .grad.sweep.go { animation: none; }
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
.motion .heat.go td { animation: cellIn .7s var(--ease) both; }
@keyframes cellIn { from { opacity: 0; transform: scale(.7); } }
.motion .drawin .g-outl, .motion .drawin .r-liftl, .motion .drawin .out, .motion .drawin .g-inp, .motion .drawin .r-send, .motion .drawin .g-mom { stroke-dasharray: 1 1; animation: draw 1.8s var(--ease-io) both; }
.motion .drawin .g-out, .motion .drawin .r-lift, .motion .drawin .cut, .motion .drawin .res, .motion .drawin .hb { animation: fadeIn 1.2s var(--ease) .5s both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
.motion .tile a img { transition: transform .8s var(--ease); }
@media (max-width: 999px) { .gallery .full a { aspect-ratio: 16 / 9; } }
/* hero plays a short intro on load instead of waiting for the scroll observer */
.motion .hero .rv { opacity: 1; transform: none; transition: none; animation: heroIn 1.2s var(--ease) both; }
.motion .hero h1.rv { animation-delay: .08s; } .motion .hero .lede { animation-delay: .16s; }
.motion .hero .cta { animation-delay: .24s; } .motion .hero .cta-links { animation-delay: .32s; } .motion .hero .facts { animation-delay: .44s; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 28px, 0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* The radar, tuned on a real match; and the earlier numbers, folded away */
.rec-stats { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.rec-stats li { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.rec-stats b { display: block; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.1; color: var(--accent); }
.rec-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; }
.old-data summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; align-items: center; gap: 10px; }
.old-data summary::-webkit-details-marker { display: none; }
.old-data summary::before { content: "▸"; color: var(--teal); transition: transform .25s ease; }
.old-data[open] summary::before { transform: rotate(90deg); }
.old-data summary:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
.old-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--dim); font-size: .92rem; }
.old-list span { display: inline-block; min-width: 15em; color: var(--muted); }
.old-list b { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(240, 192, 112, .6); margin-right: 6px; }
@media (prefers-reduced-motion: reduce) { .old-data summary::before { transition: none; } }
.rec-chart-wrap { margin: 8px 0 4px; overflow-x: auto; }
.rec-chart { display: block; width: 100%; min-width: 560px; height: auto; }
.rec-legend span { display: inline-block; width: 12px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 3px; }
.rec-legend .lg-step { border: 1.6px solid var(--ink); border-radius: 50%; }
.rec-legend .lg-hit { background: var(--aurora); }
.rec-legend .lg-other { background: var(--dim); opacity: .55; }

/* =====================================================================================
   SEARCH (search.js): a field in the nav, a results panel, and a caret of our own:
   a standing block like a Linux terminal that turns into each character you type.
   ===================================================================================== */
.nav .wrap { position: relative; }
.search { --q-caret: #dff9f1; --q-ink: var(--ink); --q-h: 1.32em; position: relative; margin-left: 14px; flex: none; }
.search-open { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 240, 220, .04); color: var(--ink); cursor: pointer; place-items: center; }
.search-open:hover { border-color: rgba(236, 206, 160, .4); }
.search svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.search-box { display: flex; align-items: center; gap: 8px; width: 212px; height: 40px; padding: 0 8px 0 12px; border-radius: 999px; border: 1px solid var(--line2);
  background: rgba(255, 240, 220, .04); color: var(--muted); transition: border-color .25s, background .25s, box-shadow .25s; }
.search-box:hover { border-color: rgba(236, 206, 160, .32); }
.search.focus .search-box { border-color: rgba(230, 247, 159, .6); background: rgba(8, 10, 14, .9); box-shadow: 0 0 0 4px rgba(224, 227, 127, .12), 0 10px 30px -12px rgba(217, 165, 78, .45); }
.search-ico { flex: none; color: var(--accent); }
.q-field { position: relative; flex: 1; min-width: 0; height: 100%; }
.q-input, .q-mir { font: 500 .94rem/1.2 var(--sans); letter-spacing: 0; font-kerning: none; font-variant-ligatures: none; font-feature-settings: "kern" 0, "liga" 0, "calt" 0; }
.q-input { display: block; width: 100%; height: 100%; margin: 0; padding: 0 3px; border: 0; border-radius: 0; background: transparent; color: transparent; caret-color: transparent;
  -webkit-appearance: none; appearance: none; outline: none; text-shadow: none; }
.q-input::placeholder { color: var(--dim); opacity: 1; }
.q-input::-webkit-search-cancel-button, .q-input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.q-input::selection { background: rgba(224, 227, 127, .3); color: transparent; }
.q-input:focus-visible { outline: none; }
.q-mir { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.q-line { position: absolute; left: 3px; top: 0; bottom: 0; display: flex; align-items: center; white-space: pre; color: var(--q-ink); will-change: transform; }
.q-ch { display: inline-block; white-space: pre; }
.q-wait { clip-path: inset(0 100% 0 0); }
.q-probe { position: absolute; left: 0; top: 0; visibility: hidden; white-space: pre; }
.q-caret, .q-ghost, .q-head { position: absolute; left: 0; top: 50%; height: var(--q-h); margin-top: calc(var(--q-h) / -2); pointer-events: none; }
.q-caret { width: var(--cw, 9px); border-radius: 1.5px; background: var(--q-caret); box-shadow: 0 0 10px rgba(224, 227, 127, .5), 0 0 1px #fff; }
.q-caret.cover { mix-blend-mode: difference; box-shadow: none; }
.q-caret.off { opacity: 0; }
.q-caret.blink { animation: qblink 1.06s steps(1, end) .53s infinite; }
@keyframes qblink { 50% { opacity: 0; } }
.q-ghost .g-block { position: absolute; inset: 0; border-radius: 1.5px; background: var(--q-caret); box-shadow: 0 0 12px rgba(224, 227, 127, .55); }
.q-ghost .g-glyph { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; white-space: pre; font-weight: inherit; color: var(--q-caret);
  text-shadow: 0 0 10px rgba(224, 227, 127, .75), 0 0 2px rgba(255, 255, 255, .8); transform-origin: 50% 55%; }
.q-head { border-radius: 1.5px; background: var(--q-caret); box-shadow: 0 0 12px rgba(224, 227, 127, .6); }
.q-key { flex: none; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line2); display: grid; place-items: center;
  font: 700 .72rem/1 var(--mono); color: var(--dim); background: rgba(255, 255, 255, .03); }
.search.focus .q-key { display: none; }
.q-close { display: none; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; place-items: center; }
.q-close:hover { color: var(--ink); background: rgba(255, 240, 220, .06); }
.q-panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 70; width: min(540px, calc(100vw - 2 * var(--gut))); max-height: min(72vh, 560px); overflow-y: auto; overscroll-behavior: contain;
  padding: 6px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(7, 9, 12, .98); box-shadow: 0 30px 80px -24px #000, 0 0 0 1px rgba(0, 0, 0, .5); }
.q-panel[hidden] { display: none; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.q-opt { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; }
.q-opt[aria-selected="true"] { background: linear-gradient(100deg, rgba(224, 168, 74, .1), rgba(176, 122, 60, .09) 60%, rgba(240, 192, 112, .07)); border-color: rgba(236, 206, 160, .25); }
.q-sec { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: #d9b066; }
.q-title { font-weight: 700; color: var(--ink); font-size: .95rem; line-height: 1.35; }
.q-snip { color: var(--muted); font-size: .85rem; line-height: 1.45; }
.q-opt mark { background: rgba(224, 168, 74, .2); color: var(--ink); border-radius: 3px; padding: 0 1px; }
.q-none { padding: 14px 12px; color: var(--muted); font-size: .92rem; }
.q-foot { margin: 4px 8px 4px; font-size: .74rem; color: var(--dim); }
mark.q-hit { background: var(--pearl); color: #05070a; border-radius: 4px; padding: 0 .12em; box-shadow: 0 0 0 3px rgba(230, 247, 159, .25); }
.q-found { outline: 2px solid rgba(230, 247, 159, .55); outline-offset: 6px; border-radius: 8px; }
.motion .q-found { animation: qfound 2.4s var(--ease) both; }
@keyframes qfound { 0% { outline-color: rgba(230, 247, 159, .9); outline-offset: 14px; } 100% { outline-color: rgba(230, 247, 159, 0); outline-offset: 6px; } }
.q-found:focus { outline: 2px solid rgba(230, 247, 159, .55); }
@media (max-width: 1239px) {
  .search { position: static; margin-left: auto; }
  .has-search .nav ul { margin-left: 8px; }
  .search-open { display: inline-grid; }
  .search-box { display: none; }
  .search.open .search-box { display: flex; position: absolute; z-index: 72; left: var(--gut); right: var(--gut); top: calc(50% - 22px); width: auto; height: 44px; background: #090b0f; }
  .search.open .q-close { display: inline-grid; }
  .search.open .q-key { display: none; }
  .q-panel { top: var(--nav-h); left: var(--gut); right: var(--gut); width: auto; }
}
@media (max-width: 1080px) { .has-search .nav .nav-cta { margin-left: 0; } .search { margin-right: 0; } }
@media (prefers-reduced-motion: reduce) { .q-caret.blink { animation: none; } }
.has-search .menu-btn { margin-left: 8px; }
.nav ul a { white-space: nowrap; }
@media (max-width: 380px) {
  .has-search .nav .wrap { gap: 6px; }
  .has-search .logo svg { display: none; }
  .search-open, .has-search .menu-btn { width: 40px; height: 40px; }
  .has-search .nav .nav-cta { padding: 8px 12px; font-size: .84rem; min-height: 40px; }
}
/* The menu fits one line down to where it folds away (1080 px) */
.nav ul a { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1500px) { .nav ul a { padding: 8px 7px; font-size: .84rem; } }

/* ---------- places and the hub (hub.js) ---------- */
[data-place][hidden], [data-home][hidden] { display: none !important; }
body[data-place] main { padding-top: calc(var(--nav-h) + 24px); min-height: 100vh; }
body[data-place] .gl-layer { opacity: .18; }
.motion body.place-out main { opacity: 0; transform: translateY(14px); transition: opacity .2s ease, transform .2s ease; }
.motion body.place-in main { animation: placeIn .42s var(--ease) both; }
@keyframes placeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.nav a[aria-current="page"] { color: var(--accent); }

.hub { padding: var(--sec) 0; }
.hub .kicker, .hub #hub-h { text-align: center; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px; }
.hub-tile { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 26px 24px 22px; border-radius: var(--r);
  color: var(--ink); text-decoration: none; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 236, 205, .05), rgba(255, 236, 205, .012)), var(--bg2);
  border: 1px solid var(--line2); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), border-color .35s ease, box-shadow .35s ease; }
.hub-tile::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--walnut), var(--brass), var(--walnut)); opacity: .7; }
.hub-tile b { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); letter-spacing: -.02em; }
.hub-tile span { color: var(--muted); }
.hub-tile .hub-no { font: 600 .8rem/1 var(--mono); color: var(--brass); letter-spacing: .1em; }
.hub-tile i { margin-top: auto; font-style: normal; font-size: 1.4rem; color: var(--accent); transition: transform .35s var(--ease); }
.hub-tile:hover, .hub-tile:focus-visible { transform: translateY(-4px); border-color: rgba(224, 168, 74, .45); box-shadow: var(--shadow), 0 0 0 1px rgba(224, 168, 74, .15), 0 18px 50px -18px rgba(224, 168, 74, .35); color: var(--ink); }
.hub-tile:hover i { transform: translateX(6px); }

.designs { padding: var(--sec) 0; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 24px 0 8px; }
.g-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink);
  background: var(--bg2); border: 1px solid var(--line2); transition: transform .3s var(--ease), border-color .3s ease; }
.g-card:hover { transform: translateY(-3px); border-color: rgba(224, 168, 74, .45); color: var(--ink); }
.g-card b { font-size: 1.2rem; }
.g-tag { align-self: flex-start; font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #1a1208; background: var(--brass); padding: 5px 8px; border-radius: 6px; }
.g-about { color: var(--muted); }
.g-open { margin-top: auto; color: var(--accent); font-weight: 600; }
.g-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.g-chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--bg2); color: var(--ink); text-decoration: none; font-size: .92rem; }
.g-chip:hover { border-color: rgba(224, 168, 74, .5); color: var(--accent); }

/* ---------- 3.8: four download paths, what's new, the footer, place pages start higher ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
@media (max-width: 1180px) { .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid4 { grid-template-columns: minmax(0, 1fr); } }
body[data-place] section[data-place] { padding-top: clamp(36px, 5vw, 76px); }
.news { margin-top: clamp(28px, 4vw, 44px); padding: 22px clamp(18px, 3vw, 28px); border-radius: var(--r); border: 1px solid var(--line); background: var(--glass), var(--fill); }
.news-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: .95rem; letter-spacing: .02em; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .news-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-list { grid-template-columns: minmax(0, 1fr); } }
.news-list li { display: grid; gap: 4px; padding-left: 14px; border-left: 2px solid rgba(224, 168, 74, .55); }
.news-list b { font-size: .98rem; color: var(--ink); }
.news-list span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
footer { padding: 56px 0 28px; }
footer .foot { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px 40px; align-items: start; }
@media (max-width: 860px) { footer .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer .foot-brand { grid-column: 1 / -1; } }
.foot-brand p { margin: 12px 0 0; max-width: 32rem; color: var(--dim); font-size: .88rem; line-height: 1.55; }
.foot-col { display: grid; gap: 8px; }
.foot-col h4 { margin: 0 0 4px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.foot-col a { color: var(--dim); text-decoration: none; font-size: .9rem; }
.foot-col a:hover { color: var(--ink); }
footer .foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: .82rem; }

/* ---------- download: which one, 3D against 2D, installing (3.8.0.1) ---------- */
.choose { margin: 40px 0 8px; padding: clamp(18px, 3vw, 32px); border: 1px solid var(--line2); border-radius: var(--r); background: var(--glass); }
.choose h3 { margin: 0 0 12px; font-size: clamp(22px, 1.2rem + 1vw, 30px); }
.pick { margin: 0 0 22px; padding-left: 1.2em; display: grid; gap: 8px; color: var(--muted); }
.pick b { color: var(--ink); }
.versus { overflow-x: auto; }
.versus table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.versus th, .versus td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.versus thead th { font-size: 16px; background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
.versus thead th span { color: var(--dim); -webkit-text-fill-color: var(--dim); font-weight: 400; font-size: 13px; }
.versus tbody th { color: var(--muted); font-weight: 600; width: 110px; }
.versus td { color: var(--ink); }
.versus td.same { text-align: center; color: #fff; background: linear-gradient(90deg, rgba(255, 94, 98, .10), rgba(74, 125, 255, .10)); border-radius: 8px; }
.install { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 22px; margin-top: 24px; }
.install h4 { margin: 0 0 6px; font-size: 16px; }
.install p { margin: 0; color: var(--muted); font-size: 15px; }
.install code, .pick code { font-size: .88em; overflow-wrap: anywhere; word-break: normal; }
