/* Offlock · offlock.vimabrosta.com
   Visual system: "switchgear". Squared geometry, hairlines, ink emphasis,
   muted flat colour reserved for meaning (rose = surveillance, teal = your route).
   No glows, no gradients on type, no saturated text. */

@font-face {
  font-family: 'Offlock';
  src: url('../fonts/bricolage-800.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #0A0C10;
  --canvas: #0D1014;
  --surface: #14181E;
  --surface-2: #171B21;
  --control: #21262E;
  --hair: #272D36;
  --hair-strong: #3A424E;
  --text: #EEEBE6;
  --soft: #B9B5AE;
  --muted: #858B93;
  --tert: #6F7885;
  --rose: #A9505A;
  --rose-ink: #B5444E;
  --slate: #48505B;
  --slate-light: #5B6B7F;
  --teal: #4AA89C;
  --amber: #D97706;
  --ink: #EEEBE6;
  --ink-inverse: #121519;
  --paper: #E7E2D8;
  --paper-ink: #1A1C20;

  --font-display: 'Offlock', ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-head: ui-rounded, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  --r-control: 10px;
  --r-panel: 12px;
  --r-card: 20px;
  --maxw: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --nav-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
.programs > *, .phones > *, .looks > *, .split > *, .films > *, .steps > *, .facts > *, .demo-notes > *, .claims > *, .modes > * { min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a.link { text-decoration: underline; text-decoration-color: var(--hair-strong); text-underline-offset: 3px; }
a.link:hover { text-decoration-color: var(--soft); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.overline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.overline .dot { color: var(--rose); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--soft); max-width: 60ch; }
.small { font-size: 14px; color: var(--muted); line-height: 1.5; }
.num { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------------ wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.wordmark .strike { position: relative; display: inline-block; }
.wordmark .strike::after {
  content: '';
  position: absolute;
  left: -0.02em; right: -0.02em;
  top: 0.50em;
  height: 0.085em;
  border-radius: 999px;
  background: var(--rose);
}

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.solid { background: rgba(10, 12, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--hair); }
.nav .wrap { display: flex; align-items: center; gap: 28px; }
.nav .brand { display: flex; align-items: center; gap: 14px; }
.nav .brand .icon { width: 30px; height: 30px; border-radius: 7px; }
.nav .brand .wordmark { font-size: 26px; }
.nav .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--hair-strong); line-height: 1.3; }
.nav .links { margin-left: auto; display: flex; gap: 4px; align-items: center; }
.nav .links a { font-size: 14px; font-weight: 600; color: var(--soft); padding: 8px 12px; border-radius: 8px; white-space: nowrap; }
.nav .links a[aria-current] { color: var(--text); }
.nav .links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav .links a.cta { margin-left: 8px; }
.nav .menu-btn { margin-left: auto; display: none; width: 40px; height: 40px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); align-items: center; justify-content: center; }
.nav .menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; box-shadow: 0 -6px 0 var(--text), 0 6px 0 var(--text); }
.nav-sheet { position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49; background: rgba(10, 12, 16, .985); display: none; padding: 20px var(--gutter); border-top: 1px solid var(--hair); }
.nav-sheet.open { display: block; }
.nav-sheet a { display: block; padding: 16px 0; border-bottom: 1px solid var(--hair); font-size: 20px; font-weight: 700; }
.nav-sheet .lab { padding-top: 20px; }
@media (max-width: 1100px) {
  .nav .links { display: none; }
  .nav .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) { .nav .lab { display: none; } }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 46px; padding: 0 20px;
  border-radius: var(--r-control);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  border: 1px solid var(--hair-strong);
  color: var(--text);
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .05); border-color: var(--soft); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); color: var(--ink-inverse); border-color: var(--ink); }
.btn.primary:hover { background: #fff; border-color: #fff; }
.btn.lg { height: 54px; padding: 0 26px; font-size: 16px; }
.btn .arrow { width: 16px; height: 16px; }
.btn[disabled] { opacity: .5; cursor: default; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 11px;
  border: 1px solid var(--hair-strong); border-radius: 999px;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft);
  white-space: nowrap;
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--slate-light); }
.chip.live::before { background: var(--teal); }
.chip.dev::before { background: var(--amber); }
.chip.soon::before { background: var(--rose); }
.chip.plain::before { display: none; }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--hair); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 58px); }
.section-head .lead { max-width: 64ch; }
.band { background: var(--canvas); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-veil { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(10, 12, 16, .55) 0%, rgba(10, 12, 16, 0) 28%, rgba(10, 12, 16, 0) 55%, rgba(10, 12, 16, .92) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: calc(var(--nav-h) + 48px) 0 56px; display: grid; gap: 28px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(52px, 10vw, 128px); letter-spacing: -0.045em; line-height: .96; max-width: 9ch; }
.hero h1 .dim { color: var(--soft); }
.hero .lead { max-width: 52ch; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; padding-top: 22px; border-top: 1px solid var(--hair); }
.hero .meta .stat { display: grid; gap: 2px; }
.hero .meta .stat .num { font-size: clamp(28px, 3.2vw, 40px); line-height: 1; }
.hero .meta .stat .lbl { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero .meta .credit { margin-left: auto; font-size: 13px; color: var(--muted); max-width: 34ch; text-align: right; }
@media (max-width: 720px) { .hero .meta .credit { margin-left: 0; text-align: left; } }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 36px; background: var(--hair-strong); display: block; overflow: hidden; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--soft); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue i::after { animation: none; } }
@media (max-width: 720px) { .scroll-cue { display: none; } }

/* ------------------------------------------------------------------ lab programs */
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .programs { grid-template-columns: 1fr; } }
.program {
  position: relative; display: grid; gap: 14px; align-content: start;
  padding: 26px 26px 28px; min-height: 280px;
  background: var(--surface); border: 1px solid var(--hair); border-radius: var(--r-card);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.program:hover { border-color: var(--hair-strong); transform: translateY(-2px); }
.program .index { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.program h3 { font-size: 26px; }
.program p { color: var(--soft); font-size: 15.5px; }
.program .foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--hair); font-size: 14px; color: var(--muted); }
.program .foot a { color: var(--text); font-weight: 600; }
.program .glyph { width: 44px; height: 44px; border: 1px solid var(--hair-strong); border-radius: 10px; display: grid; place-items: center; color: var(--soft); }
.program .glyph svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ manifesto */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 18px; color: var(--soft); font-size: 17px; max-width: 62ch; }
.prose strong { color: var(--text); font-weight: 600; }
.prose h3 { font-size: 22px; color: var(--text); margin-top: 8px; }
.ledger { border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.ledger .row { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 20px; border-top: 1px solid var(--hair); align-items: baseline; }
.ledger .row:first-child { border-top: 0; }
.ledger .row .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.ledger .row .v { font-size: 15.5px; color: var(--soft); }
.ledger .row .v b { color: var(--text); font-weight: 600; display: block; margin-bottom: 2px; font-family: var(--font-head); }
.ledger .head { padding: 14px 20px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--canvas); border-bottom: 1px solid var(--hair); }

/* Operators bar list (from OSM operator tags, Sep 2026) */
.bars { display: grid; gap: 14px; }
.bars .bar { display: grid; gap: 6px; }
.bars .bar .top { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--soft); }
.bars .bar .top b { color: var(--text); font-weight: 600; }
.bars .bar .track { height: 10px; background: var(--control); border-radius: 3px; overflow: hidden; }
.bars .bar .fill { height: 100%; width: 0; border-radius: 3px; background: var(--slate); transition: width 1.1s var(--ease); }
.bars .bar.retail .fill { background: var(--rose); }
.bars.in .bar .fill { width: var(--w); }

/* ------------------------------------------------------------------ live demo */
.live { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .live { grid-template-columns: 1fr; } }
.live-side { display: grid; gap: 14px; align-content: start; }
.live-form { position: relative; display: grid; gap: 12px; padding: 18px; border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--surface); }
.live-field { display: grid; gap: 6px; }
.live-field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.live-input { position: relative; }
.live-input .pin { position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 2px solid var(--text); }
.live-input .pin-o { background: var(--text); }
.live-input input { width: 100%; height: 46px; padding: 0 14px 0 36px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); background: var(--canvas); color: var(--text); font: inherit; font-size: 15px; }
.live-input input:focus { outline: none; border-color: var(--soft); }
.live-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--hair-strong); border-radius: var(--r-control); max-height: 260px; overflow: auto; }
.live-suggest li { padding: 9px 10px; border-radius: 7px; cursor: pointer; display: grid; gap: 1px; }
.live-suggest li b { font-weight: 600; font-size: 14.5px; color: var(--text); }
.live-suggest li small { font-size: 12px; color: var(--muted); }
.live-suggest li:hover, .live-suggest li[aria-selected="true"] { background: var(--control); }
.live-swap { position: absolute; right: 28px; top: 74px; width: 30px; height: 30px; border: 1px solid var(--hair-strong); border-radius: 8px; background: var(--surface); color: var(--soft); display: grid; place-items: center; z-index: 2; }
.live-swap:hover { color: var(--text); border-color: var(--soft); }
.live-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 4px; }
.live-status { font-size: 13.5px; color: var(--muted); min-height: 1.3em; }
.live-status.err { color: var(--rose-ink); }
.live-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.live-presets .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.live-presets button { height: 28px; padding: 0 10px; border: 1px solid var(--hair-strong); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.live-presets button:hover { color: var(--text); border-color: var(--soft); }
.live-cards { display: grid; gap: 8px; }
.live-card { display: grid; gap: 6px; text-align: left; padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--surface); transition: border-color .15s; }
.live-card:hover { border-color: var(--hair-strong); }
.live-card[aria-pressed="true"] { border-color: var(--soft); background: var(--surface-2); }
.live-card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.live-card .name { font-family: var(--font-head); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.live-card .name em { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted); font-weight: 500; }
.live-card .sw { width: 18px; height: 4px; border-radius: 2px; display: inline-block; flex: none; }
.sw-fast { background: #8B96A5; }
.sw-bal { background: var(--teal); }
.sw-strict { background: var(--text); }
.live-card .readers { font-family: var(--font-mono); font-size: 13px; color: var(--soft); white-space: nowrap; }
.live-card .readers b { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.03em; color: var(--text); font-weight: 800; margin-right: 2px; }
.live-card .row2 { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 13px; color: var(--soft); font-variant-numeric: tabular-nums; }
.live-card .row2 span:last-child { color: var(--muted); }
.live-card .row2 .up { color: var(--rose-ink); }
.live-cards .small { padding: 4px 4px 0; }
.live-map-wrap { position: relative; min-height: 560px; border: 1px solid var(--hair); border-radius: var(--r-card); overflow: hidden; background: var(--canvas); }
@media (max-width: 960px) { .live-map-wrap { min-height: 420px; } }
.live-map-wrap > .live-map, .live-map.maplibregl-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-map .maplibregl-ctrl.maplibregl-ctrl-attrib { background: rgba(10, 12, 16, .8); color: var(--muted); font-size: 11px; border-radius: 8px; }
.live-map .maplibregl-ctrl.maplibregl-ctrl-attrib a { color: var(--soft); }
.live-map .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button { filter: invert(.85); }
.live-map .maplibregl-ctrl-group { background: var(--surface); border: 1px solid var(--hair-strong); box-shadow: none; }
.live-map .maplibregl-ctrl-group button { background-color: transparent; }
.live-map .maplibregl-ctrl-group button + button { border-top: 1px solid var(--hair); }
.live-map .maplibregl-ctrl button .maplibregl-ctrl-icon { filter: invert(.85); }
.live-map .maplibregl-popup-content { background: var(--surface); color: var(--text); border: 1px solid var(--hair-strong); border-radius: 10px; padding: 10px 12px; font-size: 13px; box-shadow: none; }
.live-map .maplibregl-popup-tip { border-top-color: var(--hair-strong); }
.live-map .maplibregl-popup-close-button { color: var(--soft); }
.live-pin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--text); background: var(--bg); cursor: grab; }
.live-pin.o { background: var(--text); }
.live-pin.d::after { content: ''; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--text); }
.live-cover { position: absolute; inset: 0; display: grid; place-items: center; background: var(--canvas); z-index: 3; }
.live-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.live-cover-card { position: relative; max-width: 400px; margin: 16px; padding: 22px 24px; border: 1px solid var(--hair-strong); border-radius: var(--r-card); background: rgba(20, 24, 30, .94); display: grid; gap: 12px; }
.live-cover-card p { font-size: 14.5px; color: var(--soft); }
.live-cover[hidden] { display: none; }
.live-busy { position: absolute; left: 12px; top: 12px; z-index: 2; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text); background: rgba(10, 12, 16, .8); border: 1px solid var(--hair-strong); border-radius: 8px; padding: 7px 10px; display: none; }
.live-busy.on { display: block; }
.demo-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 800px) { .demo-notes { grid-template-columns: 1fr; } }
.note { padding: 18px 20px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--canvas); display: grid; gap: 6px; }
.note .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.note .v { font-size: 15px; color: var(--soft); }
.note .v b { color: var(--text); font-weight: 600; }

body.live-shot > *:not(main) { display: none; }
body.live-shot main > *:not(#demo) { display: none; }
body.live-shot #demo > .wrap > *:not(.live) { display: none; }
body.live-shot .live { display: block; }
body.live-shot .live-side { display: none; }
body.live-shot .live-map-wrap { position: fixed; inset: 0; border: 0; border-radius: 0; min-height: 0; }
body.live-shot .live-cover, body.live-shot .maplibregl-ctrl { display: none !important; }
body.live-shot #demo { padding: 0; }

/* ------------------------------------------------------------------ method */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 22px 20px 20px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--surface); display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; color: var(--soft); }
.formula { margin: 28px 0 0; padding: 26px 28px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--canvas); display: grid; gap: 18px; }
.formula .eq { font-family: var(--font-mono); font-size: clamp(18px, 2.6vw, 28px); color: var(--text); letter-spacing: -0.01em; }
.formula .eq .lam { color: var(--soft); }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 700px) { .modes { grid-template-columns: 1fr; } }
.mode { padding: 14px 16px; border: 1px solid var(--hair); border-radius: var(--r-control); display: grid; gap: 4px; background: var(--surface); }
.mode .name { font-family: var(--font-head); font-weight: 700; font-size: 15px; display: flex; justify-content: space-between; }
.mode .name em { font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.mode .d { font-size: 13.5px; color: var(--muted); }
.mode.selected { border-color: var(--hair-strong); }
.claims { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 800px) { .claims { grid-template-columns: 1fr; } }
.claims .panel { padding: 22px 24px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--surface); }
.claims h3 { font-size: 16px; margin-bottom: 12px; font-family: var(--font-mono); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-size: 12px; }
.claims ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.claims li { position: relative; padding-left: 22px; font-size: 15px; color: var(--soft); }
.claims li::before { content: ''; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--muted); border-radius: 2px; }
.claims .no li::before { background: var(--rose); }

/* ------------------------------------------------------------------ instrument (phones) */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.5vw, 32px); align-items: start; }
@media (max-width: 800px) { .phones { grid-template-columns: 1fr; max-width: 420px; } }
.phone { display: grid; gap: 16px; }
.phone .device { position: relative; border-radius: 34px; border: 1px solid var(--hair-strong); background: #0b0d11; padding: 10px; max-width: 330px; margin: 0 auto; width: 100%; }
.phone .device img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.phone .cap { display: grid; gap: 6px; padding: 0 4px; }
.phone .cap .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.phone .cap h3 { font-size: 20px; }
.phone .cap p { font-size: 14.5px; color: var(--soft); }
.privacy-table { margin-top: clamp(40px, 6vw, 72px); border: 1px solid var(--hair); border-radius: var(--r-panel); overflow: hidden; background: var(--surface); }
.privacy-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.privacy-table th, .privacy-table td { text-align: left; padding: 14px 18px; border-top: 1px solid var(--hair); vertical-align: top; }
.privacy-table th { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--canvas); border-top: 0; }
.privacy-table td:first-child { color: var(--text); font-weight: 600; white-space: nowrap; }
.privacy-table td { color: var(--soft); }
@media (max-width: 700px) { .privacy-table td:first-child { white-space: normal; } .privacy-table th:nth-child(3), .privacy-table td:nth-child(3) { display: none; } }

/* ------------------------------------------------------------------ films */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter { height: 36px; padding: 0 14px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--soft); display: inline-flex; align-items: center; gap: 8px; }
.filter:hover { color: var(--text); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--ink-inverse); border-color: var(--ink); }
.filter .n { font-family: var(--font-mono); font-size: 11.5px; opacity: .7; }
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
@media (max-width: 520px) { .films { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.film { display: grid; gap: 10px; text-align: left; border-radius: 14px; }
.film .poster { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; border: 1px solid var(--hair); background: var(--surface); }
.film .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.film:hover .poster img { transform: scale(1.03); }
.film .poster .play { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(238, 235, 230, .75); background: rgba(10, 12, 16, .55); display: grid; place-items: center; }
.film .poster .play svg { width: 12px; height: 12px; margin-left: 2px; }
.film .poster .dur { position: absolute; right: 10px; bottom: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--text); background: rgba(10, 12, 16, .6); padding: 3px 7px; border-radius: 6px; }
.film .poster .tag { position: absolute; left: 10px; top: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); background: rgba(10, 12, 16, .6); padding: 4px 7px; border-radius: 6px; }
.film .t { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; }
.film .h { font-size: 13px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.film[hidden] { display: none; }

/* player */
.player { border: 0; padding: 0; background: transparent; max-width: none; width: 100%; height: 100%; max-height: none; }
.player::backdrop { background: rgba(6, 8, 11, .9); }
.player .inner { width: 100%; height: 100%; display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 480px); gap: clamp(20px, 4vw, 56px); justify-content: center; align-content: center; padding: 24px var(--gutter); }
@media (max-width: 900px) { .player .inner { grid-template-columns: 1fr; align-content: start; overflow: auto; padding-top: 72px; } }
.player .stage { position: relative; aspect-ratio: 9 / 16; max-height: calc(100vh - 48px); margin: 0 auto; width: 100%; border-radius: 30px; border: 1px solid var(--hair-strong); background: #000; overflow: hidden; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player .info { display: grid; gap: 18px; align-content: center; color: var(--soft); }
.player .info h3 { font-size: clamp(28px, 3.4vw, 40px); color: var(--text); }
.player .info .hook { font-size: 19px; color: var(--text); font-family: var(--font-head); font-weight: 600; }
.player .info .close { font-size: 16px; }
.player .info .sources { display: grid; gap: 6px; }
.player .info .sources li { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.4; }
.player .info ul { margin: 0; padding: 0; list-style: none; }
.player .info .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.player .ctrl { position: fixed; top: 16px; right: 16px; display: flex; gap: 8px; z-index: 2; }
.player .ctrl button { width: 44px; height: 44px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); background: rgba(10, 12, 16, .7); display: grid; place-items: center; }
.player .ctrl button:hover { border-color: var(--soft); }
.player .ctrl svg { width: 16px; height: 16px; }
.player .counter { position: fixed; top: 28px; left: 24px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--muted); z-index: 2; }

/* ------------------------------------------------------------------ S01 */
.s01 { position: relative; overflow: hidden; }
.s01-tile { position: absolute; inset: 0; opacity: .07; background-image: url('../img/s01-night-tile.svg'); background-size: 420px 420px; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.s01 .wrap { position: relative; }
.looks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .looks { grid-template-columns: repeat(2, 1fr); } }
.look { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--hair); background: var(--surface); aspect-ratio: 4 / 5; }
.look img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.phone .cap { max-width: 330px; margin: 0 auto; width: 100%; }
.look:hover img { transform: scale(1.03); }
.look .lbl { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 8px; align-items: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); background: rgba(10, 12, 16, .7); padding: 6px 9px; border-radius: 7px; }
.swatches { display: flex; gap: 12px; margin-top: 12px; }
.swatch { display: grid; gap: 8px; }
.swatch .tile { width: 96px; height: 96px; border-radius: 10px; border: 1px solid var(--hair-strong); background-size: 96px 96px; }
.swatch .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.results { border: 1px solid var(--hair); border-radius: var(--r-panel); background: var(--surface); overflow: hidden; }
.results .r { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--hair); }
.results .r:first-child { border-top: 0; }
.results .r .l { font-size: 15px; color: var(--soft); display: grid; gap: 8px; }
.results .r .l b { color: var(--text); font-weight: 600; }
.results .r .track { height: 8px; background: var(--control); border-radius: 3px; overflow: hidden; }
.results .r .fill { height: 100%; width: 0; background: var(--slate-light); border-radius: 3px; transition: width 1.1s var(--ease); }
.results .r.ctl .fill { background: var(--slate); }
.results.in .r .fill { width: var(--w); }
.results .r .n { font-family: var(--font-display); font-size: 30px; letter-spacing: -0.03em; min-width: 3.2ch; text-align: right; }
.results .foot { padding: 14px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--hair); background: var(--canvas); line-height: 1.5; }

/* ------------------------------------------------------------------ Off-Grid */
.offgrid { position: relative; overflow: hidden; }
.offgrid .bg { position: absolute; inset: 0; pointer-events: none; }
.offgrid .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; filter: grayscale(.4) contrast(1.05); }
.offgrid .bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 16, .96) 0%, rgba(10, 12, 16, .85) 45%, rgba(10, 12, 16, .35) 100%); }
.offgrid .wrap { position: relative; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
@media (max-width: 800px) { .facts { grid-template-columns: 1fr; } }
.fact { padding: 18px 20px; border: 1px solid var(--hair); border-radius: var(--r-panel); background: rgba(20, 24, 30, .8); display: grid; gap: 6px; }
.fact .num { font-size: 34px; line-height: 1; }
.fact .v { font-size: 14px; color: var(--soft); }
.fact .s { font-family: var(--font-mono); font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* ------------------------------------------------------------------ roadmap */
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ''; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--hair-strong); }
.tl { position: relative; display: grid; grid-template-columns: 40px 180px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--hair); }
.tl:first-child { border-top: 0; }
@media (max-width: 800px) { .tl { grid-template-columns: 40px 1fr; } .tl .when { grid-column: 2; } .tl .what { grid-column: 2; } }
.tl .mark { width: 23px; height: 23px; border-radius: 50%; border: 1px solid var(--hair-strong); background: var(--bg); display: grid; place-items: center; margin-top: 2px; }
.tl .mark::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--slate-light); }
.tl.live .mark::after { background: var(--teal); }
.tl.dev .mark::after { background: var(--amber); }
.tl.soon .mark::after { background: var(--rose); }
.tl.done .mark::after { background: var(--text); }
.tl .when { display: grid; gap: 6px; align-content: start; }
.tl .when .d { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.tl .what { display: grid; gap: 8px; }
.tl .what h3 { font-size: 21px; }
.tl .what p { font-size: 15px; color: var(--soft); max-width: 66ch; }
.tl .what ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tl .what li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--soft); }
.tl .what li::before { content: ''; position: absolute; left: 0; top: .6em; width: 8px; height: 2px; background: var(--muted); }

/* ------------------------------------------------------------------ signup */
.signup-card { border: 1px solid var(--hair-strong); border-radius: var(--r-card); background: var(--surface); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); }
@media (max-width: 900px) { .signup-card { grid-template-columns: 1fr; } }
.signup-card h2 { font-size: clamp(30px, 4vw, 46px); }
.signup-card .lead { font-size: 17px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input[type="email"], .field input[type="text"], .field select {
  height: 50px; padding: 0 16px; border: 1px solid var(--hair-strong); border-radius: var(--r-control); background: var(--canvas); color: var(--text); font: inherit; width: 100%;
}
.field input:focus { outline: none; border-color: var(--soft); }
.form { display: grid; gap: 20px; }
.checks { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--hair); border-radius: var(--r-control); background: var(--canvas); cursor: pointer; font-size: 15px; color: var(--soft); transition: border-color .15s; }
.check:hover { border-color: var(--hair-strong); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box { width: 20px; height: 20px; border: 1px solid var(--hair-strong); border-radius: 5px; display: grid; place-items: center; flex: none; background: var(--surface); }
.check .box svg { width: 12px; height: 12px; opacity: 0; }
.check input:checked ~ .box { background: var(--ink); border-color: var(--ink); }
.check input:checked ~ .box svg { opacity: 1; }
.check input:checked ~ .lbl { color: var(--text); }
.check input:focus-visible ~ .box { outline: 2px solid var(--text); outline-offset: 2px; }
.check .lbl b { color: var(--text); font-weight: 600; }
.check .lbl small { display: block; font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.form .status { font-size: 14.5px; color: var(--soft); min-height: 1.4em; }
.form .status.ok { color: var(--text); }
.form .status.err { color: var(--rose-ink); }
.form .fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form .row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.done { display: grid; gap: 14px; align-content: center; }
.done h3 { font-size: 30px; }

/* ------------------------------------------------------------------ footer */
.footer { border-top: 1px solid var(--hair); padding: 56px 0 40px; color: var(--muted); font-size: 14px; }
.footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .grid { grid-template-columns: 1fr; } }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: var(--text); }
.footer .brand { display: grid; gap: 14px; }
.footer .brand .wordmark { font-size: 34px; }
.footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }

/* ------------------------------------------------------------------ reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
