/* ==========================================================================
   IWR 2028 Vienna — Design System
   Direction: technical marine instrument. Near-black canvas, engineering
   spec-sheet typography, brand blue as structure, brand red as signal only.
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Surfaces — derived from the logo's black field */
  --ink-0:  #04060a;
  --ink-1:  #080b11;
  --ink-2:  #0d1219;
  --ink-3:  #131a23;
  --ink-4:  #1b242f;

  /* Foreground */
  --fg:       #eef2f6;
  --fg-dim:   rgba(238, 242, 246, .58);
  --fg-faint: rgba(238, 242, 246, .34);
  --fg-ghost: rgba(238, 242, 246, .14);

  /* Brand — sampled from Logo_black-bg.png */
  --blue:        #1b7fd4;
  --blue-bright: #45a8f0;
  --blue-deep:   #0d4d85;
  --red:         #e1231d;

  /* Lines */
  --line:        rgba(238, 242, 246, .09);
  --line-strong: rgba(238, 242, 246, .18);

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --t-xs:  0.6875rem;
  --t-sm:  0.8125rem;
  --t-base: 0.9375rem;
  --t-md:  clamp(1rem, .95rem + .3vw, 1.125rem);
  --t-lg:  clamp(1.25rem, 1.1rem + .7vw, 1.75rem);
  --t-xl:  clamp(1.75rem, 1.4rem + 1.6vw, 3rem);
  --t-2xl: clamp(2.4rem, 1.6rem + 3.6vw, 5.5rem);
  --t-3xl: clamp(2.35rem, .5rem + 8.6vw, 11rem);

  /* Rhythm */
  --gutter:  clamp(1.25rem, 4vw, 4rem);
  --section: clamp(6rem, 11vw, 11rem);
  --max:     1480px;

  /* Radii — sharp, instrument-like */
  --r-sm: 3px;
  --r:    5px;

  /* Motion */
  --ease:     cubic-bezier(.22, 1, .36, 1);
}

/* ── 2. Reset & base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto; /* Lenis owns scrolling */
}

body {
  background: var(--ink-0);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.65;
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; height: 100vh; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb { background: var(--ink-4); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-deep); }

/* ── 3. Type primitives ────────────────────────────────────────────────── */
.mono {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue);
  flex: none;
}

.lead {
  font-size: var(--t-md);
  line-height: 1.7;
  color: var(--fg-dim);
  max-width: 62ch;
}

/* ── 4. Layout ─────────────────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }
.section-pad { padding-block: var(--section); }

.sec-head { max-width: 780px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.sec-head .eyebrow { margin-bottom: 1.4rem; }
.sec-head h2 {
  font-size: var(--t-2xl);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.035em;
  font-variation-settings: 'wdth' 106, 'wght' 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.sec-head .lead { max-width: 58ch; }

/* ── 5. Ambient layers ─────────────────────────────────────────────────── */

/* Film grain — keeps the low-res photography reading as grade, not accident.
   Static on purpose: an animated full-viewport overlay costs a repaint every
   frame for an effect nobody consciously sees. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress hairline */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  z-index: 1002;
}

/* Custom cursor (pointer devices only).
   No mix-blend-mode: it forces the whole page into one composited layer. */
.cursor, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.cursor {
  width: 6px; height: 6px;
  background: var(--blue-bright);
  margin: -3px 0 0 -3px;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1px solid rgba(69, 168, 240, .45);
  margin: -16px 0 0 -16px;
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease),
              margin .3s var(--ease), border-color .3s;
}
body.cursor-ready .cursor,
body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hot .cursor-ring {
  width: 58px; height: 58px;
  margin: -29px 0 0 -29px;
  border-color: rgba(69, 168, 240, .9);
}
@media (hover: none), (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
}

/* ── 6. Preloader ──────────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--ink-0);
  display: grid;
  place-items: center;
  transition: transform .9s var(--ease);
}
.loader.done { transform: translateY(-101%); }
.loader-inner { text-align: center; }
.loader-mark {
  width: clamp(120px, 18vw, 190px);
  margin: 0 auto 2rem;
  opacity: 0;
  animation: loader-in .8s var(--ease) .1s forwards;
}
@keyframes loader-in { to { opacity: 1; } }
.loader-bar {
  width: clamp(180px, 30vw, 300px);
  height: 1px;
  background: var(--fg-ghost);
  position: relative;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-bar span {
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.loader-pct {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .24em;
  color: var(--fg-faint);
  font-variant-numeric: tabular-nums;
}

/* ── 7. Navigation ─────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.4rem var(--gutter);
  transition: padding .45s var(--ease), background .45s var(--ease),
              border-color .45s var(--ease), backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.nav.stuck {
  padding-block: .85rem;
  background: rgba(4, 6, 10, .72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 38px; width: auto; transition: transform .45s var(--ease); }
.brand:hover img { transform: scale(1.06); }
.brand-txt {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.25;
}
.brand-txt small {
  display: block;
  font-weight: 400;
  color: var(--fg-faint);
  letter-spacing: .16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  padding: .4rem 0;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1px; width: 0;
  background: var(--blue-bright);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after,
.nav-links a[aria-current='true']::after { width: 100%; }
.nav-links a[aria-current='true'] { color: var(--fg); }

.nav-right { display: flex; align-items: center; gap: 1rem; }

/* Buttons */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: .85rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }
.btn svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn.ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--line-strong);
}
.btn.ghost::before { background: var(--fg); }
.btn.ghost:hover { color: var(--ink-0); border-color: var(--fg); }

.btn.sm { padding: .6rem 1.15rem; }

/* Hamburger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0 11px;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--fg);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink-1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: inset(0% 0% 100% 0%);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
.drawer.open { clip-path: inset(0% 0% 0% 0%); pointer-events: auto; }
.drawer a {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: .55rem 0;
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 104, 'wght' 800;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(24px);
  transition: color .25s;
}
.drawer.open a { animation: drawer-item .6s var(--ease) forwards; }
.drawer.open a:nth-child(1) { animation-delay: .18s; }
.drawer.open a:nth-child(2) { animation-delay: .24s; }
.drawer.open a:nth-child(3) { animation-delay: .30s; }
.drawer.open a:nth-child(4) { animation-delay: .36s; }
.drawer.open a:nth-child(5) { animation-delay: .42s; }
.drawer.open a:nth-child(6) { animation-delay: .48s; }
.drawer.open a:nth-child(7) { animation-delay: .54s; }
@keyframes drawer-item { to { opacity: 1; transform: none; } }
.drawer a span {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: .12em;
  color: var(--blue-bright);
}
.drawer a:hover { color: var(--blue-bright); }

/* ── 8. Hero ───────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(8rem, 16vh, 11rem) var(--gutter) clamp(2rem, 5vh, 3.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#flow {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero::after {
  /* vignette + floor fade so the canvas dissolves into the page */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 40%, transparent 30%, rgba(4, 6, 10, .75) 100%),
    linear-gradient(to bottom, rgba(4, 6, 10, .5) 0%, transparent 25%, transparent 65%, var(--ink-0) 100%);
  pointer-events: none;
}

.hero-inner { width: 100%; max-width: var(--max); margin-inline: auto; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.hero-meta b { color: var(--blue-bright); font-weight: 500; }
.live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  margin-right: .5em;
  box-shadow: 0 0 0 0 rgba(225, 35, 29, .7);
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  70%  { box-shadow: 0 0 0 9px rgba(225, 35, 29, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 35, 29, 0); }
}

.hero-title {
  font-size: var(--t-3xl);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.045em;
  font-variation-settings: 'wdth' 112, 'wght' 800;
  text-transform: uppercase;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span {
  display: block;
  transform: translateY(105%);
}
.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-bright);
  paint-order: stroke fill;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.5rem;
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
}
.hero-desc {
  font-size: var(--t-md);
  line-height: 1.65;
  color: var(--fg-dim);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Countdown */
.countdown { display: flex; gap: clamp(.75rem, 2vw, 1.75rem); }
.cd-unit { text-align: right; min-width: 3.6ch; }
.cd-num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.cd-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: .55rem;
}

.scroll-cue {
  position: absolute;
  bottom: clamp(1.25rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--fg-faint);
  pointer-events: none;
}
.scroll-cue i {
  display: block;
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--blue-bright), transparent);
  transform-origin: 50% 0;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

/* ── 9. Ticker ─────────────────────────────────────────────────────────── */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--ink-1);
  overflow: hidden;
  padding-block: 1rem;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track > div { display: flex; flex: none; }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding-inline: 1.6rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}
.ticker span::after {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 10. Spec / About ──────────────────────────────────────────────────── */
.spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.spec-statement {
  font-size: var(--t-xl);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.03em;
  font-variation-settings: 'wdth' 102, 'wght' 700;
  margin-bottom: 2rem;
  text-wrap: balance;
}
.spec-statement b { color: var(--blue-bright); font-weight: 700; }
.spec-body p { color: var(--fg-dim); margin-bottom: 1.15rem; max-width: 60ch; }
.spec-body p:last-child { margin-bottom: 0; }

/* Metrics — reads like an instrument readout */
.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-1);
}
.metric {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.metric:nth-child(2n) { border-right: 0; }
.metric:nth-last-child(-n+2) { border-bottom: 0; }
.metric::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}
.metric:hover::after { transform: scaleX(1); }
.metric-num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: .75rem;
}
.metric-lbl {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  line-height: 1.5;
}

/* Feature cards */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.feature {
  background: var(--ink-1);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background .4s var(--ease);
}
.feature:hover { background: var(--ink-2); }
.feature-ico {
  width: 34px; height: 34px;
  color: var(--blue-bright);
  margin-bottom: 1.5rem;
}
.feature-ico svg { width: 100%; height: 100%; }
.feature h3 {
  font-size: var(--t-md);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .7rem;
}
.feature p { font-size: var(--t-sm); color: var(--fg-dim); line-height: 1.7; }

/* ── 11. Disciplines (horizontal rail) ─────────────────────────────────── */
.rail-section { background: var(--ink-1); border-block: 1px solid var(--line); }
.rail-head {
  padding: var(--section) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin-inline: auto;
}
.rail-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: var(--section);
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.rail-viewport::-webkit-scrollbar { display: none; }
.rail {
  display: flex;
  gap: 1px;
  padding-inline: var(--gutter);
  width: max-content;
}
.disc {
  flex: none;
  width: clamp(250px, 26vw, 340px);
  min-height: 380px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  transition: background .45s var(--ease), transform .45s var(--ease), border-color .45s;
}
.disc:hover {
  background: var(--ink-3);
  border-color: var(--line-strong);
  transform: translateY(-6px);
}
.disc-idx {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  color: var(--blue-bright);
  margin-bottom: auto;
}
.disc-ico {
  width: 40px; height: 40px;
  color: var(--fg-faint);
  margin-bottom: 1.5rem;
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.disc:hover .disc-ico { color: var(--blue-bright); transform: translateY(-4px); }
.disc-ico svg { width: 100%; height: 100%; }
.disc h3 {
  font-size: var(--t-lg);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 104, 'wght' 800;
  margin-bottom: .85rem;
}
.disc p { font-size: var(--t-sm); color: var(--fg-dim); line-height: 1.65; }
.disc.secret { border-color: rgba(225, 35, 29, .3); }
.disc.secret .disc-idx { color: var(--red); }
.disc.secret:hover .disc-ico { color: var(--red); }

.rail-hint {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-top: 2rem;
  padding-inline: var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
}
.rail-hint i {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
  max-width: 220px;
}
.rail-hint i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleX(var(--rail-progress, 0));
  transform-origin: 0 50%;
}

/* ── 12. Gallery (bento, sized to native resolution) ───────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85) contrast(1.06) brightness(.9);
  transform: scale(1.02);
  transition: transform 1s var(--ease), filter .6s var(--ease);
}
.tile:hover img { transform: scale(1.07); filter: saturate(1) contrast(1.02) brightness(1); }
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 6, 10, .85) 0%, transparent 55%);
  opacity: .7;
  transition: opacity .5s;
}
.tile:hover::after { opacity: 1; }
.tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.15rem 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transform: translateY(6px);
  opacity: .7;
  transition: transform .5s var(--ease), opacity .5s, color .5s;
}
.tile:hover figcaption { transform: none; opacity: 1; color: var(--fg); }

.tile.w2 { grid-column: span 2; }
.tile.w3 { grid-column: span 3; aspect-ratio: 8 / 3; }
.tile.h2 { grid-row: span 2; aspect-ratio: 3 / 4; }

/* ── 13. Split sections (registration) ─────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.checklist { margin-block: 1rem 2rem; }
.checklist li {
  display: flex;
  gap: .9rem;
  padding: .55rem 0;
  font-size: var(--t-sm);
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
}
.checklist li::before {
  content: '';
  flex: none;
  width: 15px; height: 15px;
  margin-top: .3em;
  border: 1px solid rgba(27, 127, 212, .45);
  border-radius: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345a8f0' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5L19.5 7'/%3E%3C/svg%3E")
    center / 10px 10px no-repeat;
}
.sub-h {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-top: 2rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  border-radius: var(--r-sm);
  background: var(--ink-1);
  padding: 1.4rem 1.5rem;
}
.contact-card .mono { color: var(--blue-bright); display: block; margin-bottom: .7rem; }
.contact-card a { font-size: var(--t-sm); color: var(--fg-dim); display: block; transition: color .25s; }
.contact-card a:hover { color: var(--blue-bright); }

/* Form panel */
.panel {
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  margin-bottom: 2rem;
}
.tabs button {
  background: var(--ink-2);
  border: 0;
  padding: .85rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  cursor: pointer;
  transition: background .3s, color .3s;
}
.tabs button[aria-selected='true'] { background: var(--blue); color: #fff; }
.tabs button:not([aria-selected='true']):hover { background: var(--ink-3); color: var(--fg); }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .5rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink-0);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: .8rem .9rem;
  font-size: var(--t-sm);
  color: var(--fg);
  transition: border-color .25s, background .25s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(238, 242, 246, .22); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--ink-2);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2345a8f0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 15px;
  padding-right: 2.4rem;
}
.field select option { background: var(--ink-2); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--fg-faint);
  margin-top: 1rem;
  line-height: 1.7;
}

.tabpanel[hidden] { display: none; }

.success { text-align: center; padding: 2.5rem 0; }
.success-mark {
  width: 46px; height: 46px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
}
.success h3 { font-size: var(--t-lg); font-weight: 700; margin-bottom: .6rem; letter-spacing: -.02em; }
.success p { font-size: var(--t-sm); color: var(--fg-dim); }

.app-cta { text-align: center; padding: 2.5rem 0; }
.app-cta .disc-ico { margin-inline: auto; color: var(--blue-bright); }
.app-cta h3 { font-size: var(--t-lg); font-weight: 700; margin-bottom: .75rem; letter-spacing: -.02em; }
.app-cta p { font-size: var(--t-sm); color: var(--fg-dim); margin-bottom: 1.75rem; max-width: 40ch; margin-inline: auto; }

/* ── 14. Link cards (app & stream) ─────────────────────────────────────── */
.linkcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.linkcard {
  background: var(--ink-1);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  min-height: 270px;
  position: relative;
  overflow: hidden;
  transition: background .45s var(--ease);
}
.linkcard::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .55s var(--ease);
}
.linkcard:hover { background: var(--ink-2); }
.linkcard:hover::before { transform: scaleX(1); }
.linkcard .disc-ico { margin-bottom: auto; color: var(--fg-faint); }
.linkcard:hover .disc-ico { color: var(--blue-bright); }
.linkcard h3 {
  font-size: var(--t-lg);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.025em;
  font-variation-settings: 'wdth' 104, 'wght' 800;
  margin: 1.5rem 0 .7rem;
}
.linkcard p { font-size: var(--t-sm); color: var(--fg-dim); line-height: 1.7; margin-bottom: 1.5rem; }
.linkcard .go {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-bright);
}
.linkcard .go svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.linkcard:hover .go svg { transform: translateX(5px); }

.reach {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 1px;
}
.reach div {
  flex: 1 1 150px;
  background: var(--ink-1);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-faint);
  text-align: center;
}

/* ── 15. Sponsoring packages ───────────────────────────────────────────── */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.pkg {
  background: var(--ink-1);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background .45s var(--ease);
}
.pkg:hover { background: var(--ink-2); }
.pkg-tier {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.5rem;
}
.pkg-price {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: .5rem;
}
.pkg-price i {
  display: block;
  font-style: normal;
  font-size: var(--t-xs);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: .45rem;
}
.pkg-name {
  font-size: var(--t-sm);
  color: var(--fg-dim);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.pkg ul { display: grid; gap: .7rem; }
.pkg li {
  display: flex;
  gap: .7rem;
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--fg-dim);
}
.pkg li::before {
  content: '';
  flex: none;
  width: 5px; height: 5px;
  margin-top: .65em;
  background: var(--blue);
  transform: rotate(45deg);
}
.pkg-b .pkg-tier { color: #b07a4a; }
.pkg-s .pkg-tier { color: #9aa8b4; }
.pkg-g .pkg-tier { color: #d0a850; }
.pkg-p {
  background: var(--ink-2);
  box-shadow: inset 0 2px 0 var(--red);
}
.pkg-p .pkg-tier { color: var(--red); }
.pkg-p li::before { background: var(--red); }
.pkg-flag {
  position: absolute;
  top: 0; right: 0;
  padding: .35rem .7rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.cta-band {
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink-1);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
}
.cta-band h3 {
  font-size: var(--t-xl);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 106, 'wght' 800;
  margin-bottom: .9rem;
}
.cta-band p { color: var(--fg-dim); font-size: var(--t-sm); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.25rem; }
.contact-grid div { display: grid; gap: .35rem; }
.contact-grid span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.contact-grid a, .contact-grid strong {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--fg);
  transition: color .25s;
}
.contact-grid a:hover { color: var(--blue-bright); }

/* ── 16. Sponsors wall ─────────────────────────────────────────────────── */
.tier { margin-bottom: 3rem; }
.tier-head {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
}
.tier-head span {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.tier-head i { flex: 1; height: 1px; background: var(--line); }
/* Flex, not grid: a tier with a single sponsor must not leave a dead
   half-row of empty track behind it. */
.slots { display: flex; flex-wrap: wrap; gap: .75rem; }
.slot {
  flex: 1 1 200px;
  max-width: 340px;
  min-height: 96px;
  display: grid;
  place-items: center;
  background: var(--ink-1);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-faint);
  transition: background .35s, color .35s, border-color .35s;
}
.slot:hover { background: var(--ink-2); color: var(--fg); border-color: var(--line-strong); }
.slot.open { border-style: dashed; color: var(--fg-ghost); }
.slot.open:hover { color: var(--blue-bright); border-color: var(--blue-deep); }

/* ── 17. Footer ────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--ink-1); }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.25rem;
}
.footer-col li { margin-bottom: .6rem; }
.footer-col a, .footer-col span { font-size: var(--t-sm); color: var(--fg-dim); transition: color .25s; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-brand p { font-size: var(--t-sm); color: var(--fg-dim); max-width: 38ch; margin-block: 1.25rem 1.75rem; }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--fg-dim);
  transition: border-color .3s, color .3s, background .3s;
}
.socials a:hover { border-color: var(--blue); color: var(--blue-bright); background: var(--ink-2); }
.socials svg { width: 17px; height: 17px; }

.wordmark {
  font-size: clamp(3rem, 15vw, 15rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.05em;
  text-transform: uppercase;
  font-variation-settings: 'wdth' 118, 'wght' 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--fg-ghost);
  text-align: center;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-faint);
}
.footer-bottom a { transition: color .25s; }
.footer-bottom a:hover { color: var(--blue-bright); }

/* Back to top */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 900;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  background: rgba(13, 18, 25, .8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--fg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease), border-color .3s, background .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--blue); background: var(--ink-3); }
.to-top svg { width: 16px; height: 16px; }

/* ── 18. Reveal ────────────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d='1'] { transition-delay: .07s; }
[data-reveal][data-d='2'] { transition-delay: .14s; }
[data-reveal][data-d='3'] { transition-delay: .21s; }
[data-reveal][data-d='4'] { transition-delay: .28s; }
[data-reveal][data-d='5'] { transition-delay: .35s; }
[data-reveal][data-d='6'] { transition-delay: .42s; }

/* ── 19. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links, .nav-right .btn { display: none; }
  .burger { display: flex; }
  .spec-grid, .split, .cta-band { grid-template-columns: minmax(0, 1fr); }
  .hero-foot { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile.w3 { grid-column: span 2; aspect-ratio: 16 / 7; }
  .tile.h2 { grid-row: span 1; aspect-ratio: 3 / 4; }
}

@media (max-width: 700px) {
  /* Narrow the width axis instead of shrinking the type further — the headline
     keeps its presence and still fits the column. */
  .hero-title { font-variation-settings: 'wdth' 90, 'wght' 800; letter-spacing: -.03em; }
  .hero-title em { -webkit-text-stroke-width: 1px; }
  .hero-meta { gap: .4rem 1.25rem; }
  .scroll-cue { display: none; }
  .wordmark { font-variation-settings: 'wdth' 100, 'wght' 800; }
}

@media (max-width: 620px) {
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .metric { border-right: 0; }
  .metric:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .countdown { gap: 1rem; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile, .tile.w2, .tile.w3, .tile.h2 { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ── 20. Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .grain { animation: none; }
  .ticker-track { animation: none; }
}
