:root {
  --bg: #050813;
  --bg-2: #0a0f24;
  --ink: #eef1ff;
  --dim: rgba(238, 241, 255, 0.7);
  --faint: rgba(238, 241, 255, 0.42);
  --teal: #36e0c8;
  --aqua: #9af5e6;
  --lime: #d4f56b;
  --violet: #8a7bff;
  --magenta: #ff6fb1;
  --amber: #ffc46b;
  --accent-rgb: 54, 224, 200;
  --accent: rgb(var(--accent-rgb));
  --accent-soft: color-mix(in srgb, var(--accent) 62%, #ffffff);
  --glass: rgba(9, 12, 32, 0.58);
  --glass-strong: rgba(6, 8, 24, 0.86);
  --glass-line: rgba(160, 175, 255, 0.2);
  --irid: linear-gradient(100deg, #36e0c8 0%, #8a7bff 46%, #ff6fb1 76%, #ffc46b 100%);

  --hud-ink: #eef1ff;
  --hud-dim: rgba(238, 241, 255, 0.58);
  --hud-dot: rgba(160, 175, 255, 0.16);
  --cursor-ink: #eef1ff;

  --font-display: 'Hubot Sans', 'Arial Narrow', system-ui, sans-serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'B612 Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --pad: clamp(16px, 2.3vw, 34px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: dark; scrollbar-width: thin; scrollbar-color: rgba(var(--accent-rgb),0.35) transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: rgba(var(--accent-rgb),0.3); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

html.is-loading body, html.lock body { overflow: hidden; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(var(--accent-rgb), 0.35); color: #fff; }

.mono { font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.12em; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.irid-text {
  background-image: var(--irid); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}

.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 14px;
  background: var(--accent); color: var(--bg); border-radius: 4px; text-decoration: none;
  font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
}
.skip-link:focus { top: 12px; }

#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }

.sky-fallback {
  display: none; position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(var(--accent-rgb),0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(var(--accent-rgb),0.24), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(var(--accent-rgb),0.14), transparent 60%),
    linear-gradient(180deg, #050713 0%, #10173e 60%, #050813 100%);
}
html.no-gl .sky-fallback { display: block; }
html.no-gl .sky-fallback::after {
  content: ''; position: absolute; inset: 0; opacity: 0.6;
  background-image: repeating-radial-gradient(circle at 72% 64%, transparent 0 22px, rgba(var(--accent-rgb),0.16) 22px 23px);
}

.frame { position: fixed; inset: 0; pointer-events: none; z-index: 5; }
.frame .mark { position: absolute; width: 13px; height: 13px; opacity: 0.55; }
.frame .mark::before, .frame .mark::after { content: ''; position: absolute; background: var(--hud-ink); }
.frame .mark::before { left: 6px; top: 0; width: 1px; height: 13px; }
.frame .mark::after { top: 6px; left: 0; height: 1px; width: 13px; }
.frame .tl { left: 12px; top: 12px; } .frame .tr { right: 12px; top: 12px; }
.frame .bl { left: 12px; bottom: 12px; } .frame .br { right: 12px; bottom: 12px; }
.frame .tc { left: calc(50% - 6px); top: 12px; } .frame .bc { left: calc(50% - 6px); bottom: 12px; }
.frame .dots {
  position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(var(--hud-dot) 1px, transparent 1.3px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, #000 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, transparent 55%, #000 100%);
}

.leaders { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; overflow: visible; }
.leaders line, .leaders path { stroke: var(--accent); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.leaders .dim { stroke-dasharray: 3 4; opacity: 0.75; }
.leaders circle { fill: var(--accent-soft); }
.labels { position: fixed; inset: 0; pointer-events: none; z-index: 4; }
.lbl {
  position: absolute; left: 0; top: 0; will-change: transform; white-space: nowrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--dim); opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.lbl.on { opacity: 1; }
.lbl.num { color: var(--accent); font-weight: 500; }
.lbl.callout {
  white-space: normal; width: 232px; padding: 10px 12px; border-radius: 6px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-transform: none; letter-spacing: 0.01em; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.42; color: var(--ink);
}
.lbl.callout b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }

.hud-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: calc(var(--pad) + 2px) calc(var(--pad) + 14px) 0;
  pointer-events: none; color: var(--hud-ink); transition: opacity 0.6s;
}
.hud-top > * { pointer-events: auto; }
.hud-top::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 128px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(4, 6, 16, 0.92) 0%, rgba(4, 6, 16, 0.55) 55%, transparent 100%); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--glass-line); border-radius: 50%;
  background: var(--glass); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em;
}
.brand-text { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.4; }
.brand-year { color: var(--hud-dim); }

.pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--glass-strong); color: var(--ink);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb),0.08), 0 0 26px rgba(var(--accent-rgb),0.08);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  margin-left: auto;
}
.pill-link { font-size: 11.5px; text-decoration: none; padding: 2px 0; }
.pill-line { width: 64px; height: 12px; overflow: visible; }
.pill-line path { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-linecap: round; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; border: 0; cursor: pointer;
  padding: 12px 19px; border-radius: 999px; color: #070914; background: var(--accent);
  font-size: 11.5px; font-weight: 500; text-decoration: none; transition: background-color 0.25s, transform 0.25s var(--ease-out);
}
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary svg { width: 14px; height: 14px; fill: currentColor; }
.btn-primary:focus-visible { outline-color: var(--ink); }

.btn-line {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; background: transparent; color: var(--ink);
  border: 1px solid rgba(233,244,241,0.3); font-size: 11.5px; text-decoration: none; transition: background 0.25s, border-color 0.25s;
}
.btn-line:hover { background: rgba(var(--accent-rgb),0.12); border-color: var(--accent); }

.btn-link {
  border: 0; background: none; cursor: pointer; padding: 10px 4px; font-size: 11.5px; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px;
}

.hud-bottom {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px;
  padding: 0 calc(var(--pad) + 14px) calc(var(--pad) + 2px);
  font-size: 10.5px; color: var(--hud-ink); pointer-events: none; transition: opacity 0.6s;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.55);
}
.end-row small, .brand-text { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65), 0 0 14px rgba(0, 0, 0, 0.55); }
.hud-bottom > * { pointer-events: auto; }
.hud-left { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hud-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer;
  padding: 6px 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
}
.hud-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.hud-btn b { font-weight: 500; color: var(--accent); }
#btn-sound .wave { opacity: 0.25; transition: opacity 0.3s; }
#btn-sound[aria-pressed="true"] .wave { opacity: 1; stroke: var(--accent); }
.hud-hint { color: var(--hud-dim); display: inline-flex; align-items: center; gap: 10px; }
.hud-hint::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.hud-achv { justify-self: center; gap: 7px; }
.hud-achv svg { width: 14px; height: 14px; stroke: var(--amber); }
.readouts { justify-self: end; display: flex; gap: 20px; margin: 0; }
.readouts div { display: flex; flex-direction: column; gap: 2px; min-width: 54px; }
.readouts dt { color: var(--hud-dim); font-size: 9.5px; }
.readouts dd { margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }

main { position: relative; z-index: 2; outline: none; }
.sec { position: relative; padding: 0 calc(var(--pad) + 14px); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--dim);
  font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
}
.kicker::before { content: ''; width: 30px; height: 2px; border-radius: 2px; background: var(--accent); }

.h2 {
  margin: 0; font-family: var(--font-display); font-weight: 640; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(34px, 4.4vw, 64px); font-variation-settings: 'wdth' 112; color: var(--ink);
}
.h2 em, .statement em, .contact-h em { font-style: normal; font-weight: 300; color: var(--accent); }

.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding-top: 100px; padding-bottom: calc(var(--pad) + 74px); }
.hero-inner { position: relative; will-change: transform, opacity; }
.hero-inner::before { content: ''; position: absolute; inset: -18% -22% -24% -12%; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(4, 6, 16, 0.78), rgba(4, 6, 16, 0.38) 55%, transparent); }
.hero-inner { width: min(100%, 64vw); display: flex; flex-direction: column; align-items: flex-start; }
.hero .kicker { margin-bottom: 6px; }
.hero-name {
  margin: 0; font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(56px, 9.6vw, 146px); line-height: 0.92; letter-spacing: -0.035em;
}
.hero-name .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-name .line.em { padding-right: 0.08em; }
.hero-name .ch {
  display: inline-block; will-change: transform;
  font-variation-settings: 'wght' var(--w, 700), 'wdth' var(--x, 114);
  transform: translateY(var(--y, 0px));
  transition: transform 1.1s var(--ease-out), opacity 0.8s var(--ease-out), font-variation-settings 0.35s var(--ease-out);
}
.hero-name .line.em .ch {
  font-variation-settings: 'wght' var(--w, 280), 'wdth' var(--x, 114);
  padding: 0 0.16em; margin: 0 -0.16em;
  background-image: var(--irid);
  background-size: calc(var(--n, 5) * 100%) 100%;
  background-position: calc(var(--i, 0) / max(1, (var(--n, 5) - 1)) * 100%) 0;
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero-name.ready .ch { transition: transform 0.45s var(--ease-out), opacity 0.4s, font-variation-settings 0.3s var(--ease-out); }
.hero-name .ch.intro { transform: translateY(105%); opacity: 0; }
.hero-meta { display: flex; align-items: center; gap: 26px; margin-top: 20px; padding-left: 0.3em; }
.hero-meta p { margin: 0; max-width: 340px; font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; white-space: nowrap;
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
}
.scroll-cue i { position: relative; width: 1px; height: 30px; background: rgba(233,244,241,0.18); overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }

.about { height: 250vh; }
.sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.about .sticky { display: flex; align-items: center; }
.about-col { max-width: min(620px, 52vw); }
.statement {
  margin: 0; font-family: var(--font-display); font-weight: 420; letter-spacing: -0.015em; line-height: 1.14;
  font-size: clamp(30px, 3.4vw, 52px); font-variation-settings: 'wdth' 106; color: var(--ink);
}
.statement .w { display: inline-block; opacity: 0.16; transform: translateY(0.12em); transition: opacity 0.35s, transform 0.5s var(--ease-out); }
.statement .w.on { opacity: 1; transform: none; }
.callout-list { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); list-style: none; margin: 28px 0 0; padding: 0; gap: 14px; }
.callout-list li { display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; font-size: 14px; color: var(--dim); }
.callout-list b { grid-row: span 2; font-family: var(--font-mono); color: var(--accent); font-weight: 500; }
.callout-list strong { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: var(--ink); }
html.no-gl .callout-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: grid; }
html.no-gl .leaders, html.no-gl .labels { display: none; }

.work { height: calc(var(--n, 5) * 100vh + 70vh); }
.work .sticky { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: 86px; padding-bottom: 92px; }
.work-head .h2 { font-size: clamp(30px, 3.4vw, 50px); }
.proj-stage { position: relative; width: min(500px, 44vw); height: 330px; }
.proj {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 24px 26px 22px; border-radius: 10px; background: var(--glass-strong); color: var(--ink);
  border: 1px solid var(--glass-line);
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb),0.07), 0 20px 50px rgba(0,0,0,0.35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s linear 0.45s;
}
.proj::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--accent); opacity: 0.8; }
.proj.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease-out), transform 0.6s var(--ease-out), visibility 0s; }
.proj-top { display: flex; justify-content: space-between; align-items: center; font-size: 10.5px; color: var(--dim); }
.proj-top .status { color: var(--accent); }
.proj-top .status::before { content: '●'; margin-right: 7px; font-size: 8px; vertical-align: 1px; }
.proj h3 { margin: 14px 0 6px; font-family: var(--font-display); font-weight: 640; font-variation-settings: 'wdth' 112; font-size: clamp(28px, 2.6vw, 38px); letter-spacing: -0.02em; line-height: 1.05; }
.proj .pitch { margin: 0 0 14px; font-size: 15px; color: var(--dim); }
.proj .nums { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.proj .nums li { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border: 1px solid rgba(var(--accent-rgb),0.35); border-radius: 999px; color: var(--accent-soft); }
.proj .stack { margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--faint); text-transform: uppercase; }
.proj .actions { margin-top: auto; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.proj .actions .btn-line { padding: 10px 16px; }

.wpts { position: relative; display: flex; align-items: center; width: min(500px, 44vw); height: 26px; }
.wpts::before { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1px; background: rgba(233,244,241,0.2); }
.wpts .fill { position: absolute; left: 6px; top: 50%; height: 2px; margin-top: -0.5px; background: var(--accent); width: 0; transition: width 0.4s var(--ease-out); }
.wpt-btn { position: relative; flex: 1; display: flex; justify-content: center; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.wpt-btn:first-of-type { justify-content: flex-start; } .wpt-btn:last-of-type { justify-content: flex-end; }
.wpt-btn i { width: 11px; height: 11px; transform: rotate(45deg); border: 1px solid var(--accent); background: var(--bg); transition: background 0.3s, transform 0.3s, box-shadow 0.3s; }
.wpt-btn.on i, .wpt-btn.past i { background: var(--accent); }
.wpt-btn.on i { transform: rotate(45deg) scale(1.35); box-shadow: 0 0 12px var(--accent); }

.log { height: 180vh; }
.log .sticky { display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 90px; }
.log-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px); gap: 20px; margin-top: 26px; max-width: 1120px; align-items: start; }
.log-left { display: flex; flex-direction: column; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 18px 18px 16px; border: 1px solid var(--glass-line); border-radius: 8px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.stat .drums { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 560; font-variation-settings: 'wdth' 118; font-size: clamp(36px, 3.8vw, 56px); line-height: 1; color: var(--accent-soft); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.02em; text-shadow: 0 0 22px rgba(var(--accent-rgb),0.35); }
.drum { position: relative; display: inline-block; height: 1em; overflow: hidden; }
.drum .strip { display: flex; flex-direction: column; transition: transform 1.1s var(--ease-out); }
.drum .strip span { height: 1em; line-height: 1; text-align: center; }
.stat .suffix { font-size: 0.45em; margin-left: 4px; color: var(--ink); opacity: 0.8; }
.stat p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--dim); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.chips li { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(233,244,241,0.22); color: var(--dim); background: rgba(5,14,18,0.4); }
.chips li.self { border-color: var(--accent); color: var(--accent); }

.licence { position: relative; overflow: hidden; padding: 18px 20px 16px; border-radius: 10px; background: var(--glass-strong); border: 1px solid rgba(var(--accent-rgb),0.35); color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 1px 0 rgba(var(--accent-rgb),0.08); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.licence::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.6; background: repeating-radial-gradient(circle at 110% -10%, transparent 0 14px, rgba(var(--accent-rgb),0.07) 14px 15px), repeating-radial-gradient(circle at -10% 120%, transparent 0 18px, rgba(var(--accent-rgb),0.07) 18px 19px); }
.licence::after { content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 1px; background: var(--accent); }
.licence > * { position: relative; }
.lic-head { display: flex; justify-content: space-between; gap: 10px; font-size: 10px; color: var(--accent); }
.lic-holder { margin: 12px 0 10px; }
.lic-holder span { display: block; font-size: 9.5px; color: var(--faint); }
.lic-holder b { font-family: var(--font-display); font-weight: 640; font-variation-settings: 'wdth' 112; font-size: 26px; letter-spacing: -0.01em; }
.lic-ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 0 0 12px; }
.lic-ratings dt { font-size: 9.5px; color: var(--faint); margin-bottom: 2px; }
.lic-ratings dd { margin: 0; }
.lic-ratings b { font-family: var(--font-display); font-weight: 560; font-variation-settings: 'wdth' 118; font-size: 25px; color: var(--accent-soft); font-variant-numeric: lining-nums; }
.lic-ratings i { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 6px; color: var(--dim); }
.lic-ratings small { display: block; font-size: 11.5px; color: var(--dim); }
.lic-foot { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; border-top: 1px dashed rgba(var(--accent-rgb),0.3); font-size: 9.5px; letter-spacing: 0.08em; color: var(--dim); }
.lic-stamp { position: absolute; right: 18px; top: 40px; width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(var(--accent-rgb),0.6); outline: 1px solid rgba(var(--accent-rgb),0.35); outline-offset: 3px; font-family: var(--font-display); font-weight: 650; font-size: 18px; color: var(--accent); transform: rotate(-14deg); }

.contact { height: 190vh; }
.contact .sticky { display: flex; flex-direction: column; justify-content: center; padding-top: 80px; padding-bottom: 86px; }
.contact-h { margin: 0 0 14px; font-family: var(--font-display); font-weight: 640; letter-spacing: -0.03em; line-height: 1; font-size: clamp(38px, 5.4vw, 84px); max-width: 15ch; font-variation-settings: 'wdth' 112; color: var(--ink); }
.contact .sub { margin: 0 0 26px; max-width: 46ch; color: var(--dim); font-size: 16px; }

.pass { display: grid; grid-template-columns: minmax(0, 1fr) 210px; max-width: 760px; color: var(--ink); filter: drop-shadow(0 18px 40px rgba(0,0,0,0.45)); }
.pass-main, .pass-stub { background: var(--glass-strong); border: 1px solid rgba(var(--accent-rgb),0.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.pass-main { border-radius: 10px 0 0 10px; border-right: 0; padding: 20px 24px 18px; position: relative; }
.pass-main::before { content: ''; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; background: var(--accent); }
.pass-stub { border-radius: 0 10px 10px 0; border-left: 1px dashed rgba(var(--accent-rgb),0.5); padding: 18px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.pass-head { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--accent); }
.pass-route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 14px 0 16px; }
.pass-route b { display: block; font-family: var(--font-display); font-weight: 640; font-variation-settings: 'wdth' 112; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; letter-spacing: -0.02em; }
.pass-route span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.pass-route .to { text-align: right; }
.pass-mid { position: relative; height: 46px; }
.pass-arc { width: 100%; height: 46px; overflow: visible; display: block; }
.pass-arc path { stroke: var(--accent); stroke-width: 1.5; fill: none; stroke-dasharray: 4 5; vector-effect: non-scaling-stroke; }
.pass-plane { position: absolute; left: 50%; top: -4px; width: 20px; height: 20px; margin-left: -10px; fill: var(--accent-soft); filter: drop-shadow(0 0 6px rgba(var(--accent-rgb),0.7)); animation: pass-fly 6s var(--ease-in-out) infinite; }
@keyframes pass-fly { 0%, 100% { transform: translateX(-30px) rotate(-18deg); } 50% { transform: translateX(30px) rotate(-2deg); } }
.pass-fields { display: grid; grid-template-columns: repeat(4, auto); gap: 10px 18px; margin: 0; font-size: 10px; }
.pass-fields div { display: flex; flex-direction: column; gap: 3px; }
.pass-fields dt { color: var(--faint); }
.pass-fields dd { margin: 0; font-size: 11.5px; color: var(--ink); letter-spacing: 0.06em; }
.barcode { display: flex; align-items: stretch; height: 46px; gap: 2px; opacity: 0.85; }
.barcode i { display: block; background: var(--ink); }
.pass-stub .btn-primary { justify-content: center; }
.pass-stub .stub-links { display: flex; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; }
.pass-stub .stub-links a, .pass-stub .stub-links button { background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--ink); }

.end-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 28px; }
.end-row small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-left: auto; }

.overlay { position: fixed; inset: 0; z-index: 60; color: var(--ink); }
.overlay[hidden], .panel[hidden] { display: none; }
.ov-backdrop, .panel-backdrop { position: absolute; inset: 0; background: rgba(2, 7, 10, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: fade 0.5s var(--ease-out); }
@keyframes fade { from { opacity: 0; } }
.ov-close {
  position: absolute; top: calc(var(--pad) + 4px); right: calc(var(--pad) + 14px); z-index: 2;
  display: inline-flex; gap: 10px; align-items: center; background: none; border: 0; cursor: pointer; color: var(--ink);
  font-size: 11.5px; padding: 8px 4px;
}
.ov-close span { color: var(--accent); }
.ov-body { position: relative; height: 100%; overflow-y: auto; padding: 96px 24px 80px; outline: none; overscroll-behavior: contain; }
.ov-inner { max-width: 760px; margin: 0 auto; animation: rise 0.7s var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.ov-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.ov-inner h2 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 640; font-variation-settings: 'wdth' 112; font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1; }
.ov-inner .pitch { font-size: 18px; color: var(--dim); margin: 0 0 26px; }
.ov-shot { position: relative; aspect-ratio: 16 / 10; border: 1px solid var(--glass-line); border-radius: 8px; overflow: hidden; background: #071417; margin: 0 0 30px; box-shadow: 0 0 60px rgba(var(--accent-rgb),0.08); }
.ov-shot img, .ov-shot canvas { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ov-shot::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(var(--accent-rgb),0.2); border-radius: 4px; pointer-events: none; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; }
.ov-h { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; font-weight: 500; }
.ov-grid p { margin: 0 0 14px; color: var(--dim); line-height: 1.65; }
.ov-list { list-style: none; padding: 0; margin: 0 0 24px; }
.ov-list li { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 0; border-bottom: 1px solid rgba(233,244,241,0.1); }
.ov-list li::before { content: '→ '; color: var(--accent); }
.ov-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(233,244,241,0.12); }
.ov-nav button { background: none; border: 0; cursor: pointer; color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 0; }
.ov-nav button span { color: var(--accent); }

.panel { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; color: var(--ink); }
.panel-card { position: relative; width: min(920px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--glass-strong); border: 1px solid var(--glass-line); border-radius: 12px; padding: 26px 28px 28px; animation: rise 0.5s var(--ease-out); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-size: 13px; font-weight: 500; color: var(--accent); }
.panel-head .ov-close { position: static; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; }
.panel h3 { margin: 0 0 12px; font-size: 11px; font-weight: 500; color: var(--faint); }
.achv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.achv-list li { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; align-items: center; padding: 9px 10px; border: 1px solid rgba(233,244,241,0.08); border-radius: 6px; opacity: 0.45; }
.achv-list li.got { opacity: 1; border-color: rgba(255,196,107,0.35); }
.achv-list li svg { grid-row: span 2; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.achv-list li.got svg { stroke: var(--amber); fill: rgba(255,196,107,0.2); }
.achv-list strong { font-family: var(--font-display); font-weight: 620; font-size: 16px; }
.achv-list span { font-size: 12.5px; color: var(--dim); }
.settings { display: grid; gap: 10px; margin-bottom: 22px; }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.seg, .seg-group button { background: transparent; color: var(--ink); border: 1px solid rgba(233,244,241,0.25); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.seg[aria-pressed="true"], .seg-group button[aria-checked="true"] { background: var(--accent); color: #031013; border-color: var(--accent); }
.seg-group { display: inline-flex; gap: 4px; }
.settings .btn-line { justify-self: start; margin-top: 4px; }
.controls-h { margin-top: 6px !important; }
.keys { margin: 0; display: grid; gap: 6px; }
.keys div { display: grid; grid-template-columns: 120px 1fr; align-items: center; font-size: 13px; }
.keys dd { margin: 0; color: var(--dim); }
kbd { display: inline-block; min-width: 24px; padding: 3px 6px; margin-right: 4px; border: 1px solid rgba(233,244,241,0.35); border-bottom-width: 2px; border-radius: 4px; font-family: var(--font-mono); font-size: 10.5px; text-align: center; color: var(--ink); }

html.mode-flight .hud-top, html.mode-flight .hud-bottom { opacity: 0; pointer-events: none; }
html.mode-flight .hud-top > *, html.mode-flight .hud-bottom > * { pointer-events: none; }
html.mode-flight main { visibility: hidden; }
html.mode-flight .leaders, html.mode-flight .labels { display: none; }

.flight-hud { position: fixed; inset: 0; z-index: 30; pointer-events: none; color: var(--ink); font-size: 11px; }
.flight-hud[hidden] { display: none; }
.flight-hud > * { position: absolute; }
.fh-tape { top: calc(var(--pad) + 6px); left: 50%; width: 380px; height: 34px; margin-left: -190px; overflow: hidden; border-bottom: 1px solid rgba(var(--accent-rgb),0.5); background: var(--glass); border-radius: 6px 6px 0 0; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.fh-tape-inner { position: absolute; left: 0; top: 0; height: 100%; display: flex; will-change: transform; }
.fh-tape-inner span { flex: 0 0 auto; width: 12px; position: relative; }
.fh-tape-inner span::after { content: ''; position: absolute; left: 0; bottom: 0; width: 1px; height: 6px; background: rgba(233,244,241,0.55); }
.fh-tape-inner span.major::after { height: 12px; background: var(--ink); }
.fh-tape-inner span b { position: absolute; bottom: 14px; left: 0; transform: translateX(-50%); font-weight: 500; font-size: 10px; }
.fh-caret { left: 50%; bottom: 0; width: 0; height: 0; margin-left: -6px; border: 6px solid transparent; border-bottom-color: var(--accent); }
.fh-gauge { top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 14px; border: 1px solid rgba(var(--accent-rgb),0.4); border-radius: 8px; background: var(--glass-strong); min-width: 86px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fh-gauge b { font-family: var(--font-display); font-weight: 560; font-variation-settings: 'wdth' 118; font-size: 30px; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; color: var(--accent-soft); }
.fh-gauge span, .fh-gauge i { font-style: normal; color: var(--dim); font-size: 10px; }
.fh-spd { left: calc(var(--pad) + 14px); }
.fh-alt { right: calc(var(--pad) + 14px); }
.fh-map { left: calc(var(--pad) + 14px); bottom: calc(var(--pad) + 14px); width: 180px; height: 180px; border: 1px solid rgba(var(--accent-rgb),0.5); border-radius: 8px; background: #031013; box-shadow: 0 0 30px rgba(var(--accent-rgb),0.12); }
.fh-rings { right: calc(var(--pad) + 14px); bottom: calc(var(--pad) + 14px); display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 10px 14px; border: 1px solid rgba(var(--accent-rgb),0.4); border-radius: 8px; background: var(--glass-strong); }
.fh-rings span { color: var(--dim); }
.fh-rings b { font-family: var(--font-display); font-weight: 560; font-variation-settings: 'wdth' 118; font-size: 34px; letter-spacing: 0; color: var(--accent); }
.fh-msg { top: calc(var(--pad) + 60px); left: 50%; transform: translateX(-50%); margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); opacity: 0; transition: opacity 0.4s; white-space: nowrap; }
.fh-msg.on { opacity: 1; }
.fh-help { bottom: calc(var(--pad) + 18px); left: 50%; transform: translateX(-50%); display: flex; gap: 16px; padding: 10px 16px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--glass-line); transition: opacity 0.6s; white-space: nowrap; }
.fh-help.off { opacity: 0; }
.fh-land { top: calc(var(--pad) + 6px); right: calc(var(--pad) + 14px); pointer-events: auto; }
.kbd-inline { opacity: 0.6; font-size: 10px; margin-left: 4px; }
.touch-stick, .touch-btns { display: none; }

.toasts { position: fixed; top: 90px; right: calc(var(--pad) + 14px); z-index: 70; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { display: grid; grid-template-columns: 34px 1fr; gap: 2px 12px; align-items: center; min-width: 260px; max-width: 340px; padding: 12px 16px 12px 12px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--glass-line); color: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,0.4); animation: toast-in 0.6s var(--ease-out); pointer-events: auto; }
.toast.out { animation: toast-out 0.5s var(--ease-in-out) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
.toast svg { grid-row: span 2; width: 30px; height: 30px; fill: rgba(255,196,107,0.22); stroke: var(--amber); stroke-width: 1.4; }
.toast strong { font-family: var(--font-display); font-weight: 620; font-size: 17px; line-height: 1.2; }
.toast span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }

.cursor, .cursor-trail { display: none; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor .cursor { display: block; }
html.has-cursor .cursor-trail { display: block; }
.cursor-trail { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 89; pointer-events: none; }
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 0; height: 0; will-change: transform; color: var(--cursor-ink); }
.c-ring { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); transition: transform 0.3s var(--ease-out); }
.c-tick { position: absolute; width: 7px; height: 7px; border-color: currentColor; border-style: solid; border-width: 0; transition: transform 0.35s var(--ease-out); }
.c-tick.t1 { left: -13px; top: -13px; border-left-width: 1px; border-top-width: 1px; }
.c-tick.t2 { left: 6px; top: -13px; border-right-width: 1px; border-top-width: 1px; }
.c-tick.t3 { left: -13px; top: 6px; border-left-width: 1px; border-bottom-width: 1px; }
.c-tick.t4 { left: 6px; top: 6px; border-right-width: 1px; border-bottom-width: 1px; }
.cursor.lock .c-ring { transform: scale(0.5); }
.cursor.lock .t1 { transform: translate(-9px, -9px); } .cursor.lock .t2 { transform: translate(9px, -9px); }
.cursor.lock .t3 { transform: translate(-9px, 9px); } .cursor.lock .t4 { transform: translate(9px, 9px); }
.cursor.down .c-tick { transition-duration: 0.12s; }
.cursor.down .t1 { transform: translate(-3px, -3px); }
.c-label { position: absolute; left: 30px; top: -7px; font-size: 10px; white-space: nowrap; color: var(--accent); opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.35s var(--ease-out); }
.cursor.lock .c-label { opacity: 1; transform: none; }

.loader { position: fixed; inset: 0; z-index: 100; opacity: 0.995; background: radial-gradient(ellipse 60% 55% at 50% 38%, #141c4a 0%, #070a1e 45%, #03040c 80%); color: var(--ink); display: grid; grid-template-rows: auto 1fr auto; transition: clip-path 1.2s var(--ease-in-out); clip-path: inset(0 0 0 0); }
.loader.out { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader.gone { display: none; }
.ld-top { display: flex; justify-content: space-between; padding: calc(var(--pad) + 4px) calc(var(--pad) + 14px); font-size: 10.5px; color: var(--dim); }
.ld-center { display: grid; place-content: center; justify-items: center; gap: 20px; padding: 0 20px; }
.ld-counter { display: flex; font-family: var(--font-display); font-weight: 560; font-size: clamp(96px, 17vw, 230px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums lining-nums; font-variation-settings: 'wdth' 118; filter: drop-shadow(0 0 30px rgba(var(--accent-rgb),0.25)); }
.ld-counter .drum .strip { transition: transform 0.45s var(--ease-out); }
.ld-counter .drum .strip span { color: var(--ink); }
.ld-counter .drum:nth-child(1) .strip span { background-position: 0% 0; }
.ld-counter .drum:nth-child(2) .strip span { background-position: 50% 0; }
.ld-counter .drum:nth-child(3) .strip span { background-position: 100% 0; }
.ld-checks { list-style: none; margin: 0; padding: 0; width: min(420px, 86vw); font-size: 11px; display: grid; gap: 7px; min-height: 120px; }
.ld-checks li { display: flex; gap: 8px; align-items: baseline; opacity: 0; transform: translateY(6px); transition: opacity 0.4s, transform 0.5s var(--ease-out); }
.ld-checks li.on { opacity: 1; transform: none; }
.ld-checks li .k { flex: 0 0 auto; color: var(--dim); }
.ld-checks li .dots { flex: 1; border-bottom: 1px dotted rgba(233,244,241,0.22); transform: translateY(-3px); }
.ld-checks li .v { flex: 0 0 auto; color: var(--accent); }
.ld-path { width: 100%; height: 18vh; display: block; }
.ld-path path { fill: none; }
.ld-path-bg { stroke: rgba(233,244,241,0.12); stroke-width: 1; stroke-dasharray: 4 6; }
.ld-path-fg { stroke: var(--accent); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(var(--accent-rgb),0.6)); }
.ld-status { position: absolute; left: calc(var(--pad) + 14px); bottom: calc(var(--pad) + 4px); margin: 0; font-size: 10.5px; color: var(--faint); }

.noscript { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 30px; background: var(--bg); color: var(--ink); font-size: 18px; text-align: center; }

@media (max-width: 860px) {
  .about-col { max-width: 100%; }
  .about .sticky { align-items: flex-start; padding-top: 110px; }
  .callout-list { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: grid; }
  .proj-stage, .wpts { width: 100%; }
  .log-grid { grid-template-columns: 1fr; }
  .log { height: auto; }
  .log .sticky { position: relative; height: auto; justify-content: flex-start; padding-top: 110px; padding-bottom: 150px; }
}

@media (max-width: 760px) {
  .brand-text { display: none; }
  .pill { padding: 10px 14px; gap: 10px; }
  .pill-line { width: 34px; }
  .btn-fly span { display: none; }
  .btn-fly { padding: 12px; }
  .hero-inner { width: 100%; }
  .hero-name { font-size: clamp(60px, 20vw, 120px); }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .readouts div:nth-child(2), .readouts div:nth-child(3) { display: none; }
  .hud-achv, .hud-hint { display: none; }
  .hud-bottom { padding-top: 34px; background: linear-gradient(180deg, transparent, rgba(3, 9, 12, 0.88) 70%); }
  .labels .lbl:not(.callout), .leaders { display: none; }
  .toasts { top: 76px; right: 12px; left: auto; }
  .toast { min-width: 0; max-width: 240px; padding: 9px 12px 9px 10px; grid-template-columns: 26px 1fr; }
  .toast svg { width: 22px; height: 22px; }
  .toast strong { font-size: 15px; }
  .hud-bottom { grid-template-columns: 1fr auto; }
  .work .sticky { justify-content: flex-end; padding-bottom: 86px; }
  .proj-stage { height: 320px; }
  .contact .sticky { justify-content: flex-end; }
  .pass { grid-template-columns: 1fr; }
  .pass-main { border-radius: 10px 10px 0 0; border-right: 1px solid rgba(var(--accent-rgb),0.38); border-bottom: 0; }
  .pass-stub { border-radius: 0 0 10px 10px; border-left: 1px solid rgba(var(--accent-rgb),0.38); border-top: 1px dashed rgba(var(--accent-rgb),0.5); }
  .pass-fields { grid-template-columns: repeat(2, auto); }
  .end-row small { margin-left: 0; }
  .ov-grid, .panel-grid { grid-template-columns: 1fr; }
  .fh-tape { width: 260px; margin-left: -130px; }
  .fh-map { width: 120px; height: 120px; top: calc(var(--pad) + 60px); bottom: auto; }
  .fh-help { display: none; }
  .fh-gauge { top: auto; bottom: 200px; transform: none; min-width: 70px; padding: 6px 10px; }
  .fh-gauge b { font-size: 22px; }
}

html.touch .touch-stick { display: block; position: absolute; left: 22px; bottom: 26px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb),0.45); background: var(--glass); pointer-events: auto; touch-action: none; }
html.touch .ts-knob { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(var(--accent-rgb),0.85); box-shadow: 0 0 20px rgba(var(--accent-rgb),0.5); }
html.touch .touch-btns { display: flex; position: absolute; right: 18px; bottom: 96px; flex-direction: column; gap: 12px; pointer-events: auto; }
html.touch .touch-btns button { width: 74px; height: 74px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb),0.5); background: var(--glass-strong); color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; touch-action: none; }
html.touch .touch-btns button.on { background: var(--accent); color: #031013; }
html.touch .fh-rings { bottom: 18px; }
html.touch .fh-help { display: none; }

@media (max-height: 700px) and (min-width: 761px) {
  .hero-name { font-size: clamp(60px, 10.6vw, 150px); }
  .proj-stage { height: 300px; }
  .proj { padding: 20px 22px 18px; }
  .proj h3 { margin-top: 10px; }
  .work .sticky { gap: 16px; padding-top: 78px; padding-bottom: 80px; }
  .log-grid { margin-top: 18px; }
  .stat { padding: 12px 14px 10px; }
  .stat p { font-size: 12.5px; margin-top: 6px; }
  .stat .drums { font-size: clamp(32px, 3.4vw, 48px); }
  .licence { padding: 14px 18px 12px; }
  .lic-holder { margin: 8px 0 6px; }
  .lic-holder b { font-size: 22px; }
  .lic-ratings b { font-size: 21px; }
  .chips li { padding: 5px 10px; font-size: 10.5px; }
  .contact-h { font-size: clamp(36px, 4.6vw, 64px); }
  .pass-main { padding: 16px 20px 14px; }
  .pass-route { margin: 8px 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
