/* Lintel: settlement that carries the load */

:root {
  --basalt: #14161a;
  --slab: #1e2126;
  --slab-2: #2a2e35;
  --line: rgba(236, 234, 228, 0.12);
  --line-strong: rgba(236, 234, 228, 0.24);
  --concrete: #8a8f98;
  --mist: #b9bdc4;
  --limestone: #ecebe4;
  --cobalt: #3355ff;
  --cobalt-hi: #4b6bff;
  --glow: #8fa6ff;
  --ok: #57d68d;

  --font: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  --stone: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--basalt);
  color: var(--mist);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cobalt); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--limestone); color: var(--basalt); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
svg use { fill: currentColor; }

/* ---------- type ---------- */
.h2 {
  color: var(--limestone);
  font-size: clamp(2.1rem, 1rem + 3.3vw, 4.4rem);
  font-weight: 540;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.section-head p { max-width: 46ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-size: 0.9375rem; font-weight: 560; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .3s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translate(2px, -2px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn-signal { background: var(--cobalt); color: #fff; box-shadow: 0 0 0 0 rgba(51, 85, 255, 0); }
.btn-signal:hover { background: var(--cobalt-hi); box-shadow: 0 10px 40px -8px rgba(51, 85, 255, .65); }
.btn-signal:active { transform: translateY(1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--limestone); }
.btn-ghost:hover { border-color: var(--limestone); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(20, 22, 26, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--limestone); }
.brand-mark { width: 26px; height: 22px; fill: currentColor; }
.brand-word { font-size: 1.3rem; font-weight: 620; font-stretch: 125%; letter-spacing: -0.03em; }
.nav { display: flex; gap: 28px; margin-left: 24px; font-size: 0.9375rem; }
.nav a { color: var(--mist); transition: color .2s; }
.nav a:hover { color: var(--limestone); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.link-quiet { font-size: 0.9375rem; color: var(--mist); }
.link-quiet:hover { color: var(--limestone); }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; color: var(--limestone); }
.menu-btn svg { width: 20px; height: 20px; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--basalt); }
.menu-inner { height: 100%; display: flex; flex-direction: column; padding-top: 14px; }
.menu-close { align-self: flex-end; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--limestone); }
.menu-close svg { width: 20px; height: 20px; }
.menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 8vh; }
.menu nav a { color: var(--limestone); font-size: clamp(2rem, 9vw, 3.4rem); font-stretch: 125%; font-weight: 520; letter-spacing: -0.03em; line-height: 1.15; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 8vh); padding-bottom: 28px; overflow: hidden; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-canvas { width: 100%; height: 100%; }
.hero-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20,22,26,.86) 0%, rgba(20,22,26,.35) 46%, rgba(20,22,26,0) 70%),
    linear-gradient(0deg, var(--basalt) 0%, rgba(20,22,26,0) 26%); }
.hero-poster { display: none; position: absolute; right: 9%; bottom: 22%; width: min(34vw, 440px); aspect-ratio: 1 / 1.05; }
html.no-webgl .hero-poster { display: block; }
html.no-webgl .hero-canvas { display: none; }
.hero-poster span { position: absolute; background: #3d4148 var(--stone); border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.pp-beam { left: 0; right: 0; top: 0; height: 22%; }
.pp-pier { top: 25%; bottom: 0; width: 24%; }
.pp-l { left: 4%; } .pp-r { right: 4%; }
.hero-poster .pp-light { left: 30%; right: 30%; top: 26%; bottom: 0; background: linear-gradient(180deg, rgba(143,166,255,.55), rgba(51,85,255,.15)); filter: blur(10px); box-shadow: 0 0 120px 30px rgba(51,85,255,.35); }

.hero-copy { position: relative; }
.hero-kicker { color: var(--glow); font-size: 0.9375rem; margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); box-shadow: 0 0 0 4px rgba(51,85,255,.25); }
.hero-title {
  color: var(--limestone);
  font-size: clamp(3rem, 0.9rem + 6.6vw, 7.8rem);
  font-weight: 560;
  font-stretch: 125%;
  line-height: 0.93;
  letter-spacing: -0.045em;
  max-width: 10.5ch;
}
.hero-lede { margin-top: 30px; max-width: 50ch; font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); color: var(--mist); }
.hero-ctas { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.netstrip { margin-top: clamp(56px, 9vh, 104px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.netstrip > div { padding: 20px 24px 6px 0; }
.netstrip > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.netstrip dt { font-size: 0.8125rem; color: var(--concrete); }
.netstrip dd { margin-top: 6px; color: var(--limestone); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); font-weight: 520; font-stretch: 112%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.netstrip dd.mono { font-family: var(--mono); font-stretch: 100%; font-weight: 500; letter-spacing: -0.03em; }

/* ---------- friday ---------- */
.friday { position: relative; border-top: 1px solid var(--line); }
.friday-pin { min-height: 100svh; display: flex; align-items: center; padding-block: calc(var(--header-h) + 24px) 48px; }
.friday-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px 64px; align-items: end; }
.friday-meta { max-width: 38ch; }
.clock { margin-top: clamp(28px, 4vh, 48px); display: flex; align-items: baseline; gap: .25em; color: var(--limestone); font-stretch: 125%; font-weight: 600; letter-spacing: -0.05em; line-height: .85; font-variant-numeric: tabular-nums; }
.clock-day { font-size: clamp(2.2rem, 1rem + 4vw, 5rem); color: var(--concrete); }
.clock-time { font-size: clamp(4.6rem, 1.6rem + 11vw, 12.5rem); }

.tracks { margin-top: clamp(28px, 4vh, 48px); display: grid; gap: 14px; }
.track { display: grid; grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 28px; align-items: center; padding: 22px 26px 46px; border-radius: 6px; background: var(--slab) var(--stone); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.track-label strong { display: block; color: var(--limestone); font-weight: 580; font-stretch: 112%; }
.track-label span { font-size: 0.875rem; color: var(--concrete); }
.track-line { position: relative; height: 4px; border-radius: 4px; background: rgba(236,234,228,.1); }
.track-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: var(--concrete); }
.track-fill.is-done { width: 6px; background: var(--glow); box-shadow: 0 0 18px 2px rgba(51,85,255,.9); }
.track-available { position: absolute; inset: 0 0 0 6px; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(143,166,255,.55) 0 10px, transparent 10px 16px); transform-origin: left; }
.stops li.up span { top: auto; bottom: 18px; }
.track-lintel .stops li:only-child span { left: 0; right: auto; transform: none; text-align: left; }
.track-weekend { position: absolute; top: -9px; bottom: -9px; left: 7.7%; width: 53%; border-radius: 3px; background: repeating-linear-gradient(135deg, rgba(236,234,228,.07) 0 6px, transparent 6px 12px); }
.track-weekend span { position: absolute; left: 10px; top: -24px; font-size: 0.75rem; color: var(--concrete); white-space: nowrap; }
.stops li { position: absolute; left: calc(var(--at) * 100%); top: 50%; transform: translate(-50%, -50%); width: 12px; height: 12px; border-radius: 50%; background: var(--basalt); border: 2px solid var(--concrete); transition: border-color .3s, background-color .3s; }
.stops li.is-hit { background: var(--limestone); border-color: var(--limestone); }
.track-lintel .stops li { background: var(--glow); border-color: var(--glow); }
.stops li span { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-size: 0.75rem; line-height: 1.35; color: var(--concrete); white-space: nowrap; text-align: center; }
.stops li span b { display: block; color: var(--mist); font-weight: 560; font-variant-numeric: tabular-nums; }
.stops li:first-child span { left: 0; transform: none; text-align: left; }
.stops li:last-child span { left: auto; right: 0; transform: none; text-align: right; }
.track-cost { display: grid; gap: 6px; font-size: 0.875rem; }
.track-cost div { display: flex; justify-content: space-between; gap: 12px; }
.track-cost dt { color: var(--concrete); }
.track-cost dd { color: var(--limestone); font-variant-numeric: tabular-nums; text-align: right; }
.track-lintel .track-cost dd { color: var(--glow); }

/* ---------- stack ---------- */
.stack { padding-block: clamp(96px, 14vw, 180px) clamp(80px, 10vw, 140px); }
.courses { display: grid; gap: 8px; }
.course {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 64px;
  padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px);
  border-radius: 5px;
  background: var(--slab) var(--stone);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -24px rgba(0,0,0,.6);
}
.course:nth-child(1) { margin-inline: clamp(0px, 4vw, 56px); }
.course:nth-child(2) { background-color: #23262c; margin-inline: clamp(0px, 2vw, 28px); }
.course:nth-child(3) { background-color: #282c33; }
.course h3 { color: var(--limestone); font-size: clamp(1.75rem, 1rem + 2vw, 2.75rem); font-weight: 540; font-stretch: 125%; letter-spacing: -0.035em; line-height: 1; }
.course-name p { margin-top: 14px; max-width: 40ch; }
.course-spec { align-self: center; display: grid; }
.course-spec li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; }
.course-spec li:first-child { border-top: 1px solid var(--line); }
.course-spec span { color: var(--concrete); }
.course-spec b { color: var(--limestone); font-weight: 520; text-align: right; }

/* ---------- developers ---------- */
.dev { padding-block: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); }
.dev-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dev-copy p { margin-top: 24px; max-width: 44ch; }
.checks { margin: 28px 0 36px; display: grid; gap: 12px; color: var(--limestone); }
.checks li { display: flex; align-items: center; gap: 12px; }
.checks svg { width: 20px; height: 20px; color: var(--glow); flex: none; }

.code { border-radius: 14px; background: #0f1114; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(51,85,255,.06); }
.code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-bottom: 1px solid var(--line); }
.code-tabs { display: flex; gap: 4px; }
.code-tabs button { min-height: 36px; padding: 0 14px; border-radius: 8px; font-size: 0.875rem; color: var(--concrete); transition: color .2s, background-color .2s; }
.code-tabs button:hover { color: var(--limestone); }
.code-tabs button[aria-selected="true"] { color: var(--limestone); background: var(--slab-2); }
.code-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border-radius: 8px; font-size: 0.8125rem; color: var(--concrete); }
.code-copy:hover { color: var(--limestone); background: var(--slab); }
.code-copy svg { width: 16px; height: 16px; }
.code pre { margin: 0; padding: 24px 26px; overflow-x: auto; font-family: var(--mono); font-size: 0.875rem; line-height: 1.75; color: var(--mist); tab-size: 2; min-height: 382px; }
.code .k { color: var(--glow); }
.code .s { color: #e6cfa6; }
.code .f { color: var(--limestone); }
.code .var { color: #c7b2ff; }
.code .c { color: #6b717b; }
.receipt { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: rgba(51,85,255,.07); font-size: 0.875rem; color: var(--mist); }
.receipt b { color: var(--limestone); font-weight: 500; }
.receipt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--cobalt); }
.receipt.is-pending .receipt-dot { background: var(--concrete); box-shadow: none; animation: blink .6s steps(2) infinite; }
.receipt-time { margin-left: auto; color: var(--glow); }
@keyframes blink { 50% { opacity: .3; } }

/* ---------- cases ---------- */
.cases { border-top: 1px solid var(--line); overflow: hidden; }
.cases-pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 20px) 56px; }
.cases-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.cases-hint { font-size: 0.875rem; color: var(--concrete); }
.cases-track { display: flex; gap: 18px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
.case { flex: 0 0 clamp(300px, 30vw, 420px); min-height: clamp(400px, 52vh, 500px); display: flex; flex-direction: column; padding: 30px; border-radius: 18px; background: var(--slab) var(--stone); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.case:nth-child(2n) { background-color: #23262c; }
.case-tag { color: var(--glow); font-size: 0.875rem; }
.case h3 { margin-top: 14px; color: var(--limestone); font-size: clamp(1.4rem, 1rem + 1vw, 1.875rem); font-weight: 540; font-stretch: 112%; letter-spacing: -0.03em; line-height: 1.12; }
.case-ui { margin-top: auto; padding: 16px; border-radius: 12px; background: var(--basalt); border: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.875rem; }
.ui-row { display: flex; justify-content: space-between; gap: 12px; color: var(--mist); }
.ui-row b { color: var(--limestone); font-weight: 560; font-variant-numeric: tabular-nums; }
.ui-row.muted { color: var(--concrete); font-size: 0.8125rem; }
.ui-row.muted .mono { color: var(--glow); }
.ui-bar { height: 6px; border-radius: 6px; background: var(--slab-2); overflow: hidden; }
.ui-bar i { display: block; height: 100%; width: var(--w); background: var(--cobalt); }
.ui-spark { height: 70px; display: flex; align-items: flex-end; gap: 5px; }
.ui-spark i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, var(--glow), var(--cobalt)); opacity: .85; }

/* ---------- validators ---------- */
.validators { padding-block: clamp(96px, 12vw, 160px); border-top: 1px solid var(--line); }
.val-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.val-filters button { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: 0.875rem; color: var(--mist); transition: background-color .2s, color .2s, border-color .2s; }
.val-filters button span { color: var(--concrete); font-variant-numeric: tabular-nums; }
.val-filters button:hover { border-color: var(--limestone); color: var(--limestone); }
.val-filters button[aria-pressed="true"] { background: var(--limestone); border-color: var(--limestone); color: var(--basalt); }
.val-filters button[aria-pressed="true"] span { color: #555a62; }
.val-regions { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.region h3 { font-size: 0.9375rem; font-weight: 560; color: var(--limestone); display: flex; justify-content: space-between; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.region h3 span { color: var(--concrete); font-weight: 400; font-variant-numeric: tabular-nums; }
.region-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.node { display: block; aspect-ratio: 1; border-radius: 3px; background: var(--slab-2); transition: background-color .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease); }
.node[data-type="bank"] { background: var(--cobalt); }
.node[data-type="custody"] { background: #6d84ff; }
.node[data-type="infra"] { background: #47506a; }
.node[data-type="edu"] { background: #a3aec9; }
.val-regions[data-active]:not([data-active="all"]) .node { opacity: .14; transform: scale(.82); }
.val-regions[data-active="bank"] .node[data-type="bank"],
.val-regions[data-active="custody"] .node[data-type="custody"],
.val-regions[data-active="infra"] .node[data-type="infra"],
.val-regions[data-active="edu"] .node[data-type="edu"] { opacity: 1; transform: none; }
.region p { margin-top: 14px; font-size: 0.8125rem; color: var(--concrete); line-height: 1.5; }

/* ---------- start ---------- */
.start { padding-block: clamp(96px, 12vw, 160px) clamp(80px, 8vw, 120px); border-top: 1px solid var(--line); }
.start-title { font-size: clamp(2.8rem, 1rem + 6vw, 7rem); line-height: .95; letter-spacing: -0.045em; max-width: 12ch; }
.start-grid { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.start-card { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: 300px; padding: clamp(28px, 3.4vw, 44px); border-radius: 20px; background: var(--slab) var(--stone); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); transition: transform .4s var(--ease), background-color .3s; }
.start-card:hover { transform: translateY(-4px); }
.start-card-signal { background: var(--cobalt); }
.start-card-signal:hover { background-color: var(--cobalt-hi); }
.start-who { font-size: 0.9375rem; color: var(--concrete); }
.start-card-signal .start-who { color: rgba(255,255,255,.78); }
.start-card strong { color: var(--limestone); font-size: clamp(1.4rem, 1rem + 1.1vw, 2rem); font-weight: 520; font-stretch: 112%; line-height: 1.15; letter-spacing: -0.025em; max-width: 22ch; }
.start-card-signal strong { color: #fff; }
.start-go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 560; color: var(--limestone); }
.start-card-signal .start-go { color: #fff; }
.start-go svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.start-card:hover .start-go svg { transform: translate(3px, -3px); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; }
.status { margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--mist); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(87,214,141,.18); }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-addr { margin-top: 8px; font-size: 0.875rem; color: var(--concrete); line-height: 1.5; }
.footer-cols h3 { font-size: 0.875rem; font-weight: 560; color: var(--limestone); margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 0.9375rem; color: var(--concrete); transition: color .2s; }
.footer-cols a:hover { color: var(--limestone); }
.footer-legal { margin-top: 64px; padding-block: 24px 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.8125rem; color: var(--concrete); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .link-quiet { display: none; }
  .menu-btn { display: grid; }
  .track { grid-template-columns: 1fr; gap: 18px; padding-bottom: 56px; }
  .track-line { margin-top: 26px; margin-bottom: 44px; }
  .track-weekend span { top: -26px; left: 0; }
  .track-cost { order: 3; }
  .val-regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .section-head, .friday-head, .dev-grid, .course, .footer-grid { grid-template-columns: 1fr; }
  .header-actions .btn-signal { display: none; }
  .hero-stage::after { background: linear-gradient(0deg, var(--basalt) 4%, rgba(20,22,26,.55) 48%, rgba(20,22,26,.2) 100%); }
  .hero { padding-top: 44svh; }
  .hero-poster { right: 50%; transform: translateX(50%); bottom: 46%; width: 64vw; opacity: .5; }
  .netstrip { grid-template-columns: 1fr 1fr; }
  .netstrip > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .netstrip > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .course:nth-child(n) { margin-inline: 0; }
  .start-grid { grid-template-columns: 1fr; }
  .val-regions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases-pin { min-height: 0; padding-block: 88px; }
  .cases-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
  .cases-track::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; flex-basis: 84vw; min-height: 380px; }
  .cases-hint { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .code pre { min-height: 0; font-size: 0.8125rem; }
  .friday-pin { min-height: 0; padding-block: 96px 72px; }
}
@media (max-width: 520px) {
  .stops li span { font-size: 0.6875rem; }
  .stops li:nth-child(2) span, .stops li:nth-child(3) span { display: none; }
  .val-regions { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: repeat(10, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
.track-available span { position: absolute; left: 14px; top: -26px; font-size: 0.75rem; color: var(--glow); white-space: nowrap; }
