/* Łowcy Tornad — strona główna. Kolory: zielonkawa czerń nieba przed tornadem, pomarańcz z interfejsu gry,
   zieleń luminoforu radaru i barwy skali EF z gry. Litery: Big Shoulders (szablon jak napisy na pancerzu),
   IBM Plex Sans (tekst) i Plex Mono (odczyty, etykiety). */
:root {
  --noc: #0a1210;
  --noc-2: #0f1a17;
  --noc-3: #15231f;
  --linia: rgba(196, 226, 212, 0.11);
  --linia-2: rgba(196, 226, 212, 0.22);
  --mgla: #e3ebe6;
  --szary: #95a59e;
  --ciemny: #62716b;
  --pomarancz: #ff8a1f;
  --pomarancz-2: #ffb347;
  --alarm: #ff4b4b;
  --fosfor: #7dffb0;
  --ef0: #62d0ff; --ef1: #3ddc84; --ef2: #ffe14d; --ef3: #ff9a1a; --ef4: #ff4b4b; --ef5: #d34dff;
  --f-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-stencil: 'Big Shoulders Stencil Display', 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --nav-h: 64px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noc); color: var(--mgla); font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
b { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 800; }
p { margin: 0; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.ic { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.fill { fill: currentColor; stroke: none; }
.c-red { color: #ff5a5a; }
.c-green { color: #3fe07a; }
kbd { display: inline-block; min-width: 1.6em; padding: 0 0.35em; font: 500 0.8em/1.6 var(--f-mono); text-align: center; color: var(--mgla);
  background: var(--noc-3); border: 1px solid var(--linia-2); border-bottom-width: 2px; border-radius: 4px; vertical-align: 0.08em; }
code { font: 0.9em var(--f-mono); color: var(--pomarancz-2); }
:focus-visible { outline: 3px solid var(--pomarancz-2); outline-offset: 3px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; background: var(--pomarancz); color: #1a0d00; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* etykiety nad nagłówkami i podpisy zrzutów */
.eyebrow { font: 500 0.78rem/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--fosfor); }
.eyebrow::before { content: ''; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.6em; background: currentColor; vertical-align: 0.02em; }
.caption { font: 400 0.72rem/1.3 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--szary); }

/* brak zrzutu: zamiast pustego obrazka siatka jak na ekranie radaru */
.noimg { background: repeating-linear-gradient(0deg, transparent 0 31px, rgba(125, 255, 176, 0.06) 31px 32px),
  repeating-linear-gradient(90deg, transparent 0 31px, rgba(125, 255, 176, 0.06) 31px 32px), var(--noc-3) !important; }
.noimg > img, img.noimg { visibility: hidden; }

/* ---------- przyciski: ścięte rogi jak płyty pancerza ---------- */
.btn { --cut: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 52px; padding: 0 1.6em;
  font: 800 1.3rem/1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  transition: background-color 0.15s, color 0.15s, transform 0.15s; }
.btn:focus-visible { clip-path: none; }
.btn:active { transform: translateY(1px); }
.btn-play { background: var(--pomarancz); color: #1c0e00; }
.btn-play:hover { background: var(--pomarancz-2); }
.btn-ghost { background: rgba(227, 235, 230, 0.1); color: var(--mgla); box-shadow: inset 0 0 0 1px var(--linia-2); }
.btn-ghost:hover { background: rgba(227, 235, 230, 0.18); }
.btn-sm { --cut: 8px; min-height: 40px; padding: 0 1.1em; font-size: 1.05rem; }

/* ---------- pasek nawigacji ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; height: var(--nav-h); display: flex; align-items: center; gap: 28px; padding: 0 var(--gut);
  transition: background-color 0.25s, box-shadow 0.25s; }
.nav.solid { background: rgba(10, 18, 16, 0.86); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 1px 0 var(--linia); }
.nav-logo { font: 800 1.5rem/1 var(--f-display); letter-spacing: 0.05em; text-decoration: none; white-space: nowrap; }
.nav-logo b, .foot-logo b { color: var(--pomarancz); font-weight: 800; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a { padding: 8px 12px; font: 500 0.95rem/1 var(--f-body); color: var(--szary); text-decoration: none; border-radius: 4px; transition: color 0.15s; }
.nav-links a:hover { color: var(--mgla); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 0.78rem/1 var(--f-mono); color: var(--szary); white-space: nowrap; }
.live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--fosfor); box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(125, 255, 176, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(125, 255, 176, 0); } }

/* ---------- okładka ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: #121a19; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -3; animation: push 14s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
@keyframes push { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(10, 18, 16, 0.94) 0%, rgba(10, 18, 16, 0.72) 30%, rgba(10, 18, 16, 0.12) 62%, rgba(10, 18, 16, 0) 80%),
              linear-gradient(0deg, var(--noc) 0%, rgba(10, 18, 16, 0) 32%),
              linear-gradient(180deg, rgba(10, 18, 16, 0.55) 0%, rgba(10, 18, 16, 0) 18%); }
.flash { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; mix-blend-mode: screen;
  background: radial-gradient(ellipse 70% 55% at 62% 8%, rgba(214, 228, 255, 0.55), transparent 70%); animation: flash 13s 3s infinite; }
@keyframes flash { 0%, 90%, 100% { opacity: 0; } 90.6% { opacity: 0.9; } 91.3% { opacity: 0.1; } 91.9% { opacity: 0.6; } 93.5% { opacity: 0; } }
.hero-in { padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(56px, 11vh, 120px); }
.hero-in > * { max-width: 620px; }
.hero-title { margin: 18px 0 26px; font: 900 clamp(5.2rem, 15vw, 12.5rem)/0.8 var(--f-stencil); text-transform: uppercase; letter-spacing: 0.01em; max-width: none; }
.hero-title span { display: block; }
.hero-title .acc { color: var(--pomarancz); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.55; color: #d2ddd7; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font: 400 0.8rem/1.5 var(--f-mono); color: var(--szary); letter-spacing: 0.04em; }
.hero-cap { position: absolute; right: var(--gut); bottom: 22px; }
.hero-in > .eyebrow, .hero-title, .lede, .cta, .hero-note { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-title { animation-delay: 0.08s; }
.lede { animation-delay: 0.2s; }
.cta { animation-delay: 0.3s; }
.hero-note { animation-delay: 0.38s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- sekcje ---------- */
.sec { padding: clamp(80px, 12vw, 150px) 0 0; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2, .radar-copy h2 { margin: 16px 0 18px; font: 800 clamp(2.5rem, 5.4vw, 4.4rem)/0.92 var(--f-display); text-transform: uppercase; letter-spacing: 0.005em; }
.sec-intro { color: var(--szary); font-size: 1.1rem; max-width: 640px; }

/* pojawianie się przy przewijaniu (tylko z JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- polowanie: 4 etapy ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); }
.step { display: flex; flex-direction: column; background: var(--noc-2); border: 1px solid var(--linia); }
.step:nth-child(2) { transition-delay: 0.07s; }
.step:nth-child(3) { transition-delay: 0.14s; }
.step:nth-child(4) { transition-delay: 0.21s; }
.step figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--noc-3); }
.step img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.step:hover img { transform: scale(1.04); }
.step .fig-fit { background: #0b0e11; }
.step .fig-fit img { object-fit: contain; }
.step-txt { padding: 20px 20px 24px; }
.step h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font: 800 1.85rem/1 var(--f-display); text-transform: uppercase; }
.step-n { display: grid; place-items: center; width: 1.3em; height: 1.3em; font: 500 0.95rem/1 var(--f-mono); color: var(--noc); background: var(--fosfor); }
.step p { color: var(--szary); font-size: 0.98rem; }
.steps-foot { margin-top: 28px; color: var(--szary); }

/* ---------- galerie zrzutów (po tornadzie, Legionowo) ---------- */
.gal { display: grid; gap: clamp(10px, 1.4vw, 16px); }
.gal figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--noc-3); border: 1px solid var(--linia); }
.gal img, .gal video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gal figure:hover img { transform: scale(1.03); }
.gal figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font: 400 0.74rem/1.35 var(--f-mono); letter-spacing: 0.05em;
  text-transform: uppercase; color: #d2ddd7; background: linear-gradient(0deg, rgba(10, 18, 16, 0.88), rgba(10, 18, 16, 0)); }
.gal .fig-fit { background: #070c0b; }
.gal .fig-fit img { object-fit: contain; }
.gal-po { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gal-po .gal-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal-miasto { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(16px, 2.4vw, 28px); }
.facts { list-style: none; margin: clamp(28px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.facts li { padding: 20px 20px 22px; background: var(--noc-2); border: 1px solid var(--linia); border-top: 2px solid var(--pomarancz); }
.facts h3 { margin-bottom: 8px; font: 800 1.45rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.facts p { color: var(--szary); font-size: 0.96rem; }

/* ---------- klipy z gry (nagrania MP4: start przy przewinięciu, pauza poza ekranem) ---------- */
.klip { position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--noc-3); }
.klip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.klip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font: 400 0.74rem/1.35 var(--f-mono); letter-spacing: 0.05em;
  text-transform: uppercase; color: #d2ddd7; background: linear-gradient(0deg, rgba(10, 18, 16, 0.88), rgba(10, 18, 16, 0)); }
.klip figcaption kbd { text-transform: none; }
.clips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.clip { display: flex; flex-direction: column; background: var(--noc-2); border: 1px solid var(--linia); }
.clip:nth-child(3n + 2) { transition-delay: 0.07s; }
.clip:nth-child(3n) { transition-delay: 0.14s; }
.clip-txt { padding: 18px 20px 22px; }
.clip h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 800 1.6rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.clip h3 kbd { font-size: 0.55em; }
.clip p { color: var(--szary); font-size: 0.97rem; }
.clips-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: clamp(14px, 2vw, 24px); }
.klip-wide, .klip-banner { border: 1px solid var(--linia); }
.klip-banner { aspect-ratio: 16 / 7; }
.map-note { margin-top: clamp(20px, 3vw, 32px); max-width: 860px; padding: 14px 18px; font-size: 0.95rem; color: var(--szary); background: var(--noc-2);
  border: 1px solid var(--linia); border-left: 3px solid var(--mgla); }
.map-note b { color: var(--mgla); }

/* ---------- nowości ---------- */
.news { list-style: none; margin: 0; padding: 0; max-width: 900px; border-top: 1px solid var(--linia); }
.news li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linia); color: var(--szary); }
.news time { font: 500 0.85rem/1.7 var(--f-mono); color: var(--fosfor); }
.news b { color: var(--mgla); }

/* ---------- radar ---------- */
.radar-sec { margin-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(70px, 9vw, 110px);
  background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(35, 90, 60, 0.28), transparent 70%), linear-gradient(180deg, #07100c, #081410 50%, #07100c);
  border-block: 1px solid rgba(125, 255, 176, 0.12); }
.radar-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.radar-copy p { color: #b3c4bb; margin-bottom: 14px; }
.radar-copy p b { color: var(--mgla); }
.readout { margin-top: 22px; min-height: 3.4em; padding: 12px 14px; font: 400 0.84rem/1.55 var(--f-mono); color: var(--fosfor);
  background: rgba(0, 0, 0, 0.35); border: 1px solid rgba(125, 255, 176, 0.18); }
.verdict { margin-top: 10px; padding: 12px 14px; font-size: 0.95rem; border-left: 3px solid var(--fosfor); background: rgba(125, 255, 176, 0.07); }
.verdict.miss { border-left-color: var(--alarm); background: rgba(255, 75, 75, 0.07); }
.verdict b { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.03em; text-transform: uppercase; }
.radar-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.scopes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.scope { margin: 0; }
.scope canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 50%; cursor: crosshair; touch-action: manipulation;
  box-shadow: 0 0 0 1px rgba(125, 255, 176, 0.22), 0 0 0 8px rgba(0, 0, 0, 0.35), 0 0 0 9px rgba(125, 255, 176, 0.1), 0 30px 60px rgba(0, 0, 0, 0.5); }
.scope figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; font: 400 0.76rem/1 var(--f-mono); color: var(--szary); text-transform: uppercase; letter-spacing: 0.06em; }
.scope figcaption b { color: var(--fosfor); font-weight: 500; }
.scale { width: 84px; height: 8px; border-radius: 1px; }
.scale-ref { background: linear-gradient(90deg, #04e9e7, #019ff4, #0300f4, #02fd02, #01c501, #008e00, #fdf802, #e5bc00, #fd9500, #fd0000, #d40000, #bc0000, #f800fd, #9854c6); }
.scale-vel { background: linear-gradient(90deg, #0aff50, #0a8a2a, #6e6e6e, #8a1428, #ff3c64); }
.unit { color: var(--ciemny); }
.scale-cc { background: linear-gradient(90deg, rgb(30, 20, 90) 0%, rgb(60, 50, 200) 31.3%, rgb(80, 130, 250) 50%, rgb(0, 200, 210) 62.5%, rgb(20, 190, 60) 75%,
  rgb(170, 220, 20) 83.8%, rgb(255, 220, 0) 90%, rgb(255, 140, 0) 93.8%, rgb(225, 20, 20) 96.3%, rgb(190, 0, 120) 98.1%, rgb(255, 190, 255) 100%); }
.prod-tabs { display: inline-flex; gap: 4px; }
.prod-tabs button { padding: 5px 9px; font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--szary); background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 255, 176, 0.18); border-radius: 4px; cursor: pointer; }
.prod-tabs button:hover { color: var(--mgla); }
.prod-tabs button.on { color: var(--mgla); border-color: rgba(125, 255, 176, 0.6); background: rgba(125, 255, 176, 0.1); }

/* ---------- garaż jak w grze: karty wozów z miniaturami i szczegóły wybranego ---------- */
.garage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 25rem); gap: 20px; align-items: start; margin-bottom: clamp(48px, 6vw, 72px); }
.vcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); gap: 12px; }
.vcard { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: var(--noc-2); border: 1px solid var(--linia); border-radius: 10px; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.vcard:hover { transform: translateY(-2px); border-color: var(--linia-2); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35); }
.vcard:focus-visible { outline: 2px solid var(--pomarancz); outline-offset: 2px; }
.vcard.sel { border-color: var(--pomarancz); box-shadow: 0 0 0 1px var(--pomarancz), 0 12px 30px rgba(255, 138, 31, 0.18); }
.vcard img, .vdetail img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #1b232c; }
.vd-gal { position: relative; }
.vd-foto { border-radius: 8px; }
.vd-tabs { display: flex; gap: 4px; margin-top: 8px; }
.vd-tabs button { flex: 1; padding: 6px 4px; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--szary); cursor: pointer;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--linia); border-radius: 6px; }
.vd-tabs button:hover { color: var(--mgla); }
.vd-tabs button.on { color: var(--mgla); border-color: var(--pomarancz); background: rgba(255, 138, 31, 0.12); }
.vd-eng { margin: 6px 0 0; font: 400 0.78rem/1.5 var(--f-mono); color: var(--fosfor); }
.vcard .badge { position: absolute; top: 8px; right: 8px; padding: 4px 9px; border-radius: 99px; font: 500 0.72rem/1 var(--f-mono); letter-spacing: 0.04em;
  color: #ffcf3a; background: rgba(10, 14, 19, 0.85); border: 1px solid var(--linia-2); }
.vc-body { display: block; padding: 9px 12px 12px; }
.vc-cls { display: block; margin: 0; font: 500 0.68rem/1.3 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--szary); }
.vc-name { display: block; font: 800 1.3rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 7px; }
.vc-mini > span { font: 400 0.6rem/1.2 var(--f-mono); letter-spacing: 0.04em; color: var(--szary); }
.vc-mini i { display: block; height: 4px; margin-top: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.vc-mini i::after { content: ""; display: block; width: var(--w); height: 100%; background: linear-gradient(90deg, var(--pomarancz), #ffcf3a); }
.vdetail { position: sticky; top: calc(var(--nav-h) + 16px); padding: 14px 16px 16px; background: var(--noc-2); border: 1px solid var(--linia); border-radius: 12px; }
.vdetail .vc-cls { margin-top: 12px; }
.vdetail h3 { font: 800 1.9rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.vd-price { margin: 4px 0 0; font: 400 0.8rem/1.5 var(--f-mono); color: #ffcf3a; }
.vd-desc { margin: 10px 0 12px; font-size: 0.95rem; line-height: 1.45; color: #bccac3; }
.statrow { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr) 5.4rem; align-items: center; gap: 10px; margin: 6px 0; font-size: 0.88rem; }
.statrow > span { color: var(--szary); white-space: nowrap; }
.statrow em { font-style: normal; font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sbar { position: relative; height: 7px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.08); }
.sbar .v { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 99px; background: linear-gradient(90deg, var(--pomarancz), #ffcf3a); }
.vd-ef { margin: 12px 0 0; font-size: 0.92rem; color: #bccac3; }
.vd-ef b { color: var(--mgla); }
.feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.feat { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; font-size: 0.8rem; font-weight: 500; line-height: 1.3; border-radius: 6px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--linia); }
.feat .ic { color: var(--pomarancz); }
.feat.no, .feat.no .ic { color: var(--ciemny); }

/* ---------- garaż: drabina limitów wiatru ---------- */
.ladder-head { margin-bottom: 14px; }
.ladder-head h3 { font: 800 1.6rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; }
.ladder-head p { margin: 8px 0 0; max-width: 760px; color: #b3c4bb; }
.ladder { border-top: 1px solid var(--linia); }
.ladder-axis, .ladder-row { display: grid; grid-template-columns: minmax(200px, 17rem) minmax(0, 1fr) 9.5rem; gap: 24px; align-items: center; }
.ladder-axis { padding: 14px 0 10px; font: 500 0.72rem/1 var(--f-mono); color: var(--szary); }
.la-scale { position: relative; height: 34px; }
.la-band { position: absolute; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; padding-left: 6px; border-left: 2px solid var(--c); color: var(--c); }
.la-band small { color: var(--ciemny); font-size: 0.66rem; }
.ladder-row { width: 100%; margin: 0; padding: 14px 0; background: none; border: 0; border-bottom: 1px solid var(--linia); color: inherit; font: inherit;
  text-align: left; cursor: pointer; }
.ladder-row:hover .lr-name, .ladder-row:focus-visible .lr-name { color: var(--pomarancz-2); }
.lr-id { display: flex; flex-direction: column; min-width: 0; }
.lr-name { font: 800 1.45rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: 0.02em; transition: color 0.15s; }
.lr-cls { margin-top: 3px; font-size: 0.86rem; line-height: 1.35; color: var(--szary); }
.lr-price { font: 400 0.74rem/1.6 var(--f-mono); color: var(--ciemny); white-space: nowrap; }
.lr-bars { position: relative; height: 34px; background: var(--ef-bands); }
.lr-bar { position: absolute; top: 50%; height: 10px; margin-top: -5px; }
.lr-drive { left: 0; background: var(--mgla); }
.lr-anchor { background: repeating-linear-gradient(-45deg, var(--pomarancz) 0 6px, #d96d0c 6px 9px); }
.lr-field { background: repeating-linear-gradient(-45deg, #4fd8ff 0 6px, #1f9fcf 6px 9px); }
.lr-end { display: flex; align-items: center; gap: 8px; font: 400 0.8rem/1 var(--f-mono); color: var(--szary); white-space: nowrap; }
.lr-end b { font-weight: 500; }
.lr-val { color: var(--mgla); font-weight: 500; }
.key-drive { box-shadow: inset 0 -4px 0 rgba(227, 235, 230, 0.55); }
.key-anchor { box-shadow: inset 0 -4px 0 var(--pomarancz); }
.key-field { box-shadow: inset 0 -4px 0 #4fd8ff; }

/* ---------- mapy ---------- */
.maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.maps-1 { grid-template-columns: minmax(0, 1fr); }
.maps-1 .map { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.maps-1 .map figure { aspect-ratio: auto; min-height: 100%; }
.map { display: flex; flex-direction: column; background: var(--noc-2); border: 1px solid var(--linia); }
.map:nth-child(2) { transition-delay: 0.08s; }
.map figure { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: var(--noc-3); }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map-size { position: absolute; left: 14px; top: 14px; padding: 6px 10px; font: 500 0.8rem/1 var(--f-mono); background: rgba(10, 18, 16, 0.8); border: 1px solid var(--linia-2); }
.map-kind { position: absolute; right: 14px; top: 14px; padding: 6px 10px; font: 500 0.72rem/1 var(--f-mono); text-transform: uppercase; letter-spacing: 0.08em; color: #1c0e00; background: var(--fosfor); }
.map-kind.fict { background: var(--mgla); }
.map-body { padding: 24px 24px 28px; }
.map h3 { font: 800 2.3rem/1 var(--f-display); text-transform: uppercase; }
.map-sub { margin: 6px 0 14px; font: 400 0.8rem/1.4 var(--f-mono); color: var(--fosfor); text-transform: uppercase; letter-spacing: 0.06em; }
.map-desc { color: var(--szary); }
.map ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.map li { position: relative; padding-left: 20px; font-size: 0.96rem; }
.map li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--pomarancz); }

/* ---------- gra razem ---------- */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.col { padding: 26px 24px 28px; background: var(--noc-2); border: 1px solid var(--linia); }
.col:nth-child(2) { transition-delay: 0.07s; }
.col:nth-child(3) { transition-delay: 0.14s; }
.col h3 { margin-bottom: 12px; font: 800 1.85rem/1 var(--f-display); text-transform: uppercase; }
.col > p { color: var(--szary); }
.rooms { margin-top: 18px; border-top: 1px solid var(--linia); }
.room { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--linia); }
.room-name { display: flex; align-items: center; gap: 6px; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.room-name .ic { width: 0.9em; height: 0.9em; color: var(--szary); }
.room-n { font: 500 0.85rem/1.6 var(--f-mono); text-align: right; }
.room-n.some { color: var(--fosfor); }
.room-map { font-size: 0.82rem; color: var(--szary); }
.room-bar { align-self: center; width: 70px; height: 4px; background: var(--noc-3); }
.room-bar i { display: block; height: 100%; background: var(--fosfor); }
.rooms-empty { padding: 12px 0; color: var(--szary); font-size: 0.92rem; }
.lan-note { margin-top: 16px; font-size: 0.92rem; color: var(--szary); }
.touch { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--szary); font-size: 0.96rem; }
.touch b { color: var(--mgla); }
.keys { margin: 4px 0 0; display: grid; gap: 9px; }
.keys div { display: grid; grid-template-columns: 7.2rem 1fr; align-items: center; gap: 10px; }
.keys dt { white-space: nowrap; }
.keys dd { margin: 0; color: var(--szary); font-size: 0.95rem; }

/* ---------- na koniec ---------- */
.final { position: relative; isolation: isolate; margin-top: clamp(90px, 12vw, 150px); min-height: min(88vh, 820px); display: grid; place-items: end center; text-align: center; overflow: hidden; background: #121a19; }
.final-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; z-index: -2; }
.final-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, var(--noc) 0%, rgba(10, 18, 16, 0) 20%, rgba(10, 18, 16, 0.1) 48%, rgba(10, 18, 16, 0.82) 76%, var(--noc) 100%); }
.final-in { padding-top: 60px; padding-bottom: clamp(56px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; }
.final h2 { font: 900 clamp(3.4rem, 10vw, 8.5rem)/0.85 var(--f-stencil); text-transform: uppercase; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6); }
.final p { margin: 20px 0 30px; max-width: 520px; font-size: 1.12rem; color: #d2ddd7; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.8); }

/* ---------- stopka ---------- */
.foot { padding: 40px 0 48px; border-top: 1px solid var(--linia); }
.foot-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.foot-logo { font: 800 1.5rem/1 var(--f-display); letter-spacing: 0.05em; }
.attr { font-size: 0.8rem; line-height: 1.6; color: var(--ciemny); max-width: 720px; }
.attr a { color: inherit; text-decoration: underline; }
.foot-play { font: 800 1.2rem/1 var(--f-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--pomarancz); text-decoration: none; }
.foot-play:hover { color: var(--pomarancz-2); }

/* ---------- mniejsze ekrany ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .radar-grid { grid-template-columns: 1fr; }
  .radar-copy { max-width: 680px; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols .col:last-child { grid-column: 1 / -1; }
  .garage { grid-template-columns: 1fr; }
  .vdetail { position: static; order: -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 20px; align-content: start; }
  .vd-gal { grid-row: 1 / span 20; align-self: start; }
  .vdetail > :not(.vd-gal) { grid-column: 2; }
  .gal-po, .gal-miasto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-po .gal-big { grid-row: auto; aspect-ratio: 16 / 9; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vdetail .vc-cls { margin-top: 0; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav { gap: 16px; }
  .live { margin-left: auto; }
  .hero-shade { background: linear-gradient(0deg, var(--noc) 0%, rgba(10, 18, 16, 0.86) 42%, rgba(10, 18, 16, 0.2) 75%, rgba(10, 18, 16, 0.5) 100%); }
  .hero-img { object-position: 64% 40%; }
  .hero-cap { top: calc(var(--nav-h) + 8px); bottom: auto; }
  .maps { grid-template-columns: minmax(0, 1fr); }
  .maps-1 .map { display: flex; }
  .maps-1 .map figure { aspect-ratio: 16 / 9; }
  .foot-in { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr; }
  .gal-po, .gal-miasto, .facts, .clips { grid-template-columns: 1fr; }
  .klip-banner { aspect-ratio: 16 / 9; }
  .gal-po .gal-big { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 9; }
  .news li { grid-template-columns: 1fr; gap: 2px; }
  .scopes { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; width: 100%; }
  .ladder-axis { display: none; }
  .ladder-row { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .lr-bars { grid-column: 1 / -1; grid-row: 2; }
  .lr-end { grid-column: 2; grid-row: 1; align-self: start; }
  .lr-bars { height: 26px; }
  .vdetail { display: block; }
  .vdetail .vc-cls { margin-top: 12px; }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vc-body { padding: 8px 9px 10px; }
  .vc-mini > span { font-size: 0.54rem; }
  .vc-name { font-size: 1.1rem; }
  .live { font-size: 0; gap: 0; }
  .btn { width: 100%; }
  .nav .btn, .radar-btns .btn { width: auto; }
}
@media (max-width: 380px) {
  .nav-logo { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
