/* Cache bust: 1795783255 */
/* Ofensywa r2-4: jeden sygnal.
   v08 noc sodowa: zmienne nadal nazywaja sie petrol/kosc/sygnal, wartosci to granat, biel ksiezyca, bursztyn sodowy.
   Barlow Condensed + DM Mono. Nadpisania wariantu w noc.css.
   Trzy materialy: przechylony panel UI, wytloczona bryla, tor z tagami HUD. */

:root {
  --petrol: #0A1122;
  --petrol-2: #121D3A;
  --kosc: #E4E8F0;
  --kosc-2: rgba(228, 232, 240, .78);
  --kosc-3: rgba(228, 232, 240, .46);
  --sygnal: #FFA51F;
  --kabel: #263A66;
  --cien: #050915;
  --tag-bg: rgba(5, 9, 21, .86);

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --d1: clamp(52px, 9.4vw, 172px);
  --d2: clamp(42px, 6.3vw, 116px);
  --d3: clamp(30px, 3.2vw, 52px);
  --gut: clamp(16px, 4.2vw, 64px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { background: var(--petrol); color: var(--kosc); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--petrol);
  color: var(--kosc);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; }
code { font-family: var(--mono); font-size: .95em; color: var(--kosc); background: rgba(38, 58, 102, .55); padding: .05em .35em; border-radius: 3px; white-space: nowrap; }
::selection { background: var(--sygnal); color: var(--petrol); }
:focus-visible { outline: 2px solid var(--kosc); outline-offset: 3px; }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.004em; color: var(--kosc); }
.ln { display: block; }
.d1 { font-size: var(--d1); line-height: .86; }
.d2 { font-size: var(--d2); line-height: .9; }
.d3 { font-size: var(--d3); line-height: .95; }
.center { text-align: center; }
.right { text-align: right; }
.mono { font-family: var(--mono); color: var(--kosc-2); max-width: 46ch; }
.mono strong { color: var(--kosc); font-weight: 500; }

/* ukryte wizualnie, dostepne dla czytnikow */
.gl .fmt-word, .gl .lead-name, .gl .lead-photo, .gl .conf-list, .gl .mis-static, .gl .obj .q, .gl .snum {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; margin: 0; padding: 0;
}

/* ---------- canvas, scrim, hud ---------- */
#world { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; display: none; z-index: 0; }
.gl #world { display: block; }
.scrim { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: none;
  background:
    linear-gradient(to top, rgba(5, 9, 21, .62) 0%, rgba(5, 9, 21, 0) 30%),
    linear-gradient(to bottom, rgba(5, 9, 21, .45) 0%, rgba(5, 9, 21, 0) 16%);
}
.gl .scrim { display: block; }

#hud { position: fixed; left: 0; top: 0; z-index: 3; pointer-events: none; display: none;
  font: 500 12px/1 var(--mono); color: var(--kosc); white-space: nowrap; will-change: transform; opacity: 0; }
.gl #hud { display: block; }
.hud-line { position: absolute; left: 0; top: 0; width: 28px; height: 1px; background: rgba(228, 232, 240, .5); transform-origin: 0 0; }
.hud-txt { position: absolute; left: 0; top: 0; padding: 6px 8px; background: var(--tag-bg); border-left: 2px solid var(--sygnal); letter-spacing: .01em; }
#hud.blink .hud-txt { animation: blink 1s steps(1, end) infinite; }
.hud-ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--sygnal); opacity: 0; }

/* ---------- top ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center;
  padding: 18px var(--gut); pointer-events: none; transition: opacity .3s ease, transform .3s var(--ease-out); }
/* v3: gestsza i dluzsza kurtyna pod naglowkiem i linia "NN/NN rozdzial" (rzedy bazy, napisy swiata nie wchodza pod tekst) */
.top::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10, 17, 34, .95), rgba(10, 17, 34, .86) 58%, rgba(10, 17, 34, .4) 80%, rgba(10, 17, 34, 0)); }
.top > * { pointer-events: auto; }
.at-end .top { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.at-end .top > * { pointer-events: none; }
.mark { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: .005em; text-decoration: none; color: var(--kosc); }
.mark span { color: var(--kosc-3); }
.top-links { display: flex; gap: 22px; }
.top-links a { font-family: var(--mono); font-size: 13px; text-decoration: none; color: var(--kosc-2); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .top-links a:hover { color: var(--kosc); border-color: var(--kosc-3); } }

/* ---------- przyciski: pelne, kosc na petrolu ---------- */
.btn, .sform button {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .012em; text-decoration: none; white-space: nowrap;
  color: var(--petrol); background: var(--kosc); border: 1px solid var(--kosc); border-radius: 2px; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .16s var(--ease-out);
}
.btn:active, .sform button:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover, .sform button:hover { background: #C9D1E2; border-color: #C9D1E2; }
}
.duo { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* tag HUD: ten sam material co etykieta przy sygnale */
.tag { background: var(--tag-bg); border-left: 2px solid var(--sygnal); padding: 9px 12px 10px; color: var(--kosc); }

/* ---------- ujecia: tryb statyczny (bez JS, bez WebGL) ---------- */
.shot { position: relative; padding: 120px var(--gut) 60px; }
.shot .stage { position: relative; display: grid; gap: 34px; }
.shot .cap { position: relative; }
.route-static { display: block; width: 100%; max-width: 980px; height: auto; margin: 0 0 10px; }
.gl .route-static { display: none; }
.hero-h h1 { font-size: clamp(54px, 7.4vw, 136px); line-height: .86; }
.hero-side .mono { max-width: 46ch; }
#s-hero .stage { min-height: 70vh; align-content: end; }
.snum { color: var(--kosc-3); }

.odo { margin: 14px 0 0; font-family: var(--display); font-weight: 900; color: var(--kosc); line-height: .8; }
.odo-line { display: block; margin: 0 0 .3em; font-family: var(--mono); font-weight: 400; font-size: clamp(16px, 1.9vw, 28px); line-height: 1.4; color: var(--kosc-3); white-space: nowrap; }
.odo-line b { font-weight: 500; color: var(--kosc); }
.odo-line .roll { height: 1.4em; }
.odo-line .roll-in > span { height: 1.4em; line-height: 1.4; }
.odo-n { display: block; font-size: clamp(110px, 22vw, 260px); letter-spacing: -.01em; }
.roll { display: inline-block; height: .8em; overflow: hidden; vertical-align: top; }
.roll-in { display: block; transform: translateY(calc(var(--r, 1) * -50%)); }
.roll-in > span { display: block; height: .8em; line-height: .8; }

/* ---------- ujecia: tryb kinowy ---------- */
.gl .shot { padding: 0; height: calc(var(--len) * 100vh); }
.gl .shot .stage { position: fixed; inset: 0; display: block; pointer-events: none; z-index: 2; }
.gl .shot .cap { position: absolute; opacity: 0; }
.gl .shot .cap.on, .gl .shot .cap:focus-within { opacity: 1; pointer-events: auto; }
.gl .cap.tl { top: 13vh; left: var(--gut); right: var(--gut); }
.gl .cap.tr { top: 13vh; right: var(--gut); left: var(--gut); display: flex; flex-direction: column; align-items: flex-end; }
.gl .cap.tc { top: 10vh; left: var(--gut); right: var(--gut); text-align: center; }
.gl .cap.tc .ln.wipe { margin-left: auto; margin-right: auto; }
.gl .cap.bl { bottom: 8vh; left: var(--gut); right: var(--gut); }
.gl .cap.bc { bottom: 7vh; left: var(--gut); right: var(--gut); text-align: center; }
.gl .cap.bc .ln.wipe { margin-left: auto; margin-right: auto; }
.gl .cap.br { bottom: 8vh; right: var(--gut); display: flex; flex-direction: column; align-items: flex-end; }
.gl .cap.br .mono { max-width: 42ch; }
.gl .cap .mono { margin: 18px 0 0; font-size: 16px; line-height: 1.62; }
.gl .cap h2, .gl .cap h3 { text-shadow: 0 2px 30px rgba(5, 9, 21, .7), 0 0 2px rgba(5, 9, 21, .6); }
.gl .hero-h { left: var(--gut); right: 46%; bottom: 8vh; }
.gl .hero-side { right: var(--gut); bottom: 8vh; width: min(440px, 36vw); }
.gl .hero-side .mono, .gl .hero-side p { margin: 0; }
.gl #s-hero .stage { min-height: 0; }
.gl .odo-cap { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--gut); }
.gl .odo-cap .ln.wipe { margin: 0 auto; }
.gl .odo-n { font-size: min(38vw, 56vh); }
.gl .odo-cap .odo { margin-top: 2.2vh; }

.plate { background: rgba(5, 9, 21, .9); padding: 14px 16px; }
.gl .cap .mono.plate { margin-top: 18px; }
.slab .ln { background: var(--petrol); padding: .04em .14em .02em; margin-left: -.14em; }
.gl .cap h2.slab { text-shadow: none; }

/* tekst: ciecie montazowe; kursor tylko przy requestach i kodzie (.type) */
.wipe { position: relative; }
.wipe > .edge { position: absolute; top: -6%; bottom: -6%; left: 0; width: 2px; background: var(--sygnal); pointer-events: none; opacity: 0; }
.ln.wipe { width: fit-content; }
.cap.tr .ln.wipe { margin-left: auto; }

.micro { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 14px; color: var(--kosc); text-decoration: none; background: var(--tag-bg); border-left: 2px solid var(--sygnal); padding: 7px 12px; }
@media (hover: hover) and (pointer: fine) { .micro:hover { background: rgba(18, 29, 58, .95); } }

/* ---------- METODA: stacje ---------- */
.gl .m-cap { top: 12vh; }
.gl .m-cap.st h3 { font-size: var(--d2); line-height: .9; }
.gl .m-cap .tag { max-width: 44ch; font-size: 16px; }
html:not(.gl) #metoda .stage { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; }
html:not(.gl) #metoda .m-cap:first-child { grid-column: 1 / -1; }
html:not(.gl) .m-cap.st h3 { font-size: var(--d3); }
html:not(.gl) .m-cap .tag { margin-top: 14px; background: none; padding: 0 0 0 12px; color: var(--kosc-2); }

/* ---------- MISJE (statycznie: lista; w kinie panel Network w swiecie) ---------- */
.mis-static .mono { margin: 18px 0; }
.log-list { list-style: none; margin: 0; padding: 0; }
.log-list li { display: grid; grid-template-columns: 70px minmax(0, 300px) 1fr 44px; gap: 18px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(38, 58, 102, .8); }
.log-list .c, .log-list .t { font-family: var(--mono); font-size: 14px; color: var(--kosc-3); overflow-wrap: anywhere; }
.log-list .t { color: var(--kosc-2); }
.log-list .g { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.05; color: var(--kosc); }
.log-list .s { font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--kosc); text-align: right; }

/* ---------- FORMATY i tagi przypiete do swiata ---------- */
.gl .fmt, .gl .obj { display: contents; }
.gl .cap.anc { left: 0; top: 0; will-change: transform; }
.anc-pin, .anc-lead { display: none; }
.gl .anc-pin { display: block; position: absolute; left: 0; top: 0; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--sygnal); pointer-events: none; }
.gl .anc-lead { display: block; position: absolute; left: 0; top: 0; height: 1px; background: rgba(228, 232, 240, .5); transform-origin: 0 0; pointer-events: none; }
.gl .cap.anc.tag { max-width: min(34ch, 42vw); font-size: 15px; line-height: 1.45; margin: 0; }
.gl .cap.anc.who { max-width: 17ch; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.3vw, 36px); line-height: 1; color: var(--kosc); text-align: center; text-shadow: 0 2px 24px rgba(5, 9, 21, .8); }
.gl .cap.anc.term .btn { box-shadow: 0 0 0 0 var(--sygnal); transition: box-shadow .3s ease, background-color .2s ease; }
.gl .cap.anc.term.on .btn { box-shadow: 0 0 0 2px var(--sygnal); }
.gl .cap.anc.a { max-width: min(52ch, calc(100vw - 32px)); font-size: 16px; line-height: 1.55; }
.fmt-word { font-size: clamp(88px, 12vw, 200px); line-height: .78; font-weight: 900; letter-spacing: -.012em; margin: 0 0 16px; }
.f-note { margin: 18px 0 0; font-family: var(--display); font-weight: 700; font-size: var(--d3); line-height: 1; color: var(--kosc-2); }
.gl #s-formaty .f-head { top: 11vh; }
html:not(.gl) #s-formaty .stage { grid-template-columns: 1fr 1fr; column-gap: clamp(20px, 4vw, 64px); }
html:not(.gl) #s-formaty .f-head { grid-column: 1 / -1; }
html:not(.gl) .fmt { display: grid; gap: 12px; align-content: start; }
html:not(.gl) .fmt .who { font-family: var(--display); font-weight: 700; font-size: var(--d3); line-height: 1; margin: 0; }
html:not(.gl) .fmt .tag { margin: 0; }

/* ---------- PROWADZACY ---------- */
.lead-photo { margin: 0; max-width: 420px; background: var(--petrol-2); }
.lead-photo img { width: 100%; height: auto; filter: grayscale(1) contrast(1.08); }
.lead-name { margin: 0; }
.bio-l { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(30px, 2.9vw, 48px); line-height: .98; color: var(--kosc); }
.bio-l + .bio-l { margin-top: .45em; }
.lead-bio .tag { margin: 22px 0 0; max-width: 52ch; font-size: 15px; line-height: 1.5; }
.gl .lead-bio { left: 50%; right: var(--gut); bottom: 6vh; }
.gl .lead-bio .bio-l { text-shadow: 0 2px 24px rgba(5, 9, 21, .85); }

/* ---------- KONFERENCJE (statycznie) ---------- */
.conf-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.conf-list li { display: grid; gap: 12px; justify-items: start; }
.conf-list img { width: min(150px, 100%); aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 2px; }
.conf-list span { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.05; color: var(--kosc-2); }

/* ---------- OBIEKCJE ---------- */
.q { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 96px); line-height: .9; color: var(--kosc); }
html:not(.gl) .obj { display: grid; gap: 14px; }
html:not(.gl) #s-obj .stage { gap: 7vh; }
.gl #s-obj .obj-head { top: 11vh; }

/* ---------- ZAPIS: ostatni kadr miesci naglowek i oba wyjscia ---------- */
#zapis { position: relative; padding: 9vh 0 5vh; }
.gl #zapis { background: linear-gradient(to bottom, rgba(10, 17, 34, 0), rgba(10, 17, 34, .55) 22%, rgba(10, 17, 34, .7)); }
.wrap { width: min(1240px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.z-head { font-size: clamp(44px, 6.2vw, 112px); line-height: .88; margin-bottom: clamp(36px, 6vh, 64px); }
.z-head .ln { width: fit-content; margin: 0 auto; background: var(--petrol); padding: 0 .12em; }
.z-rib { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; z-index: 0; }
.z-rib path { fill: none; vector-effect: non-scaling-stroke; }
.z-base { stroke: var(--kabel); stroke-width: 1.5; }
.z-sig { stroke: var(--sygnal); stroke-width: 3; stroke-linecap: round; }
.z-dot { position: absolute; left: 0; top: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--sygnal); opacity: 0; pointer-events: none; z-index: 1; }
html:not(.js) .z-rib, html:not(.js) .z-dot { display: none; }
#zapis .wrap { position: relative; z-index: 1; }
.exits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 110px); width: min(1100px, 100%); margin: 0 auto; }
.exit { position: relative; display: flex; flex-direction: column; min-width: 0; }
.x-word { font-size: clamp(44px, 4.6vw, 80px); line-height: .8; font-weight: 900; letter-spacing: -.016em; margin-bottom: 14px; }
.exit > .mono { margin: 0 0 20px; font-size: 15px; line-height: 1.55; }
.sform { position: relative; display: grid; gap: 10px; margin-top: auto; }
.sform input { width: 100%; height: 58px; padding: 0 16px; background: rgba(5, 9, 21, .8); border: 1px solid rgba(228, 232, 240, .3); border-radius: 2px; color: var(--kosc); font: 16px var(--mono); caret-color: var(--sygnal); transition: border-color .2s ease, padding .2s ease; }
.sform input::placeholder { color: rgba(228, 232, 240, .5); }
.sform input:focus { outline: none; border-color: var(--kosc); }
/* galaz sygnalu staje sie lewa krawedzia pola e-mail */
.sform input.sig-in { border-left-color: var(--sygnal); border-left-width: 3px; padding-left: 36px; }
.sig-caret { position: absolute; left: 16px; top: 0; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--sygnal); opacity: 0; pointer-events: none; }
.sig-caret.on { opacity: 1; animation: blink 1.05s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.sform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sform button { width: 100%; margin-top: 2px; }
.sform button.busy { cursor: progress; }
.form-msg { min-height: 54px; font-size: 14px; color: var(--kosc-2); display: flex; align-items: center; gap: 14px; }
.form-msg.err { color: var(--kosc); }
.form-msg.err::before { content: "400"; color: var(--sygnal); font-weight: 500; }
.form-msg.ok { color: var(--kosc); }
.form-msg .ok-code { flex: none; font-family: var(--display); font-weight: 900; font-size: 54px; line-height: .8; color: var(--kosc); }
.form-msg .ok-t { line-height: 1.45; }
/* blok zespolu: ta sama bryla co ONLINE / LIVE, lico z kosci, boki petrolowe */
.team-btn {
  --ex: 12px;
  position: relative; margin-top: auto; margin-bottom: calc(54px + var(--ex)); display: grid; gap: 14px; align-content: center; padding: 24px 24px 22px;
  text-decoration: none; border-radius: 1px; color: var(--petrol); background: var(--kosc); border: 1px solid var(--kosc); container-type: inline-size;
  box-shadow: 1px 1px 0 #a3b2d6, 2px 2px 0 #4a5f92, 3px 3px 0 #3c5084, 4px 4px 0 #33467a, 5px 5px 0 #263A66, 6px 6px 0 #23365f, 7px 7px 0 #1f3158,
    8px 8px 0 #1b2c50, 9px 9px 0 #182848, 10px 10px 0 #152442, 11px 11px 0 #13203c, 12px 12px 0 #121D3A;
  transition: background-color .2s ease, transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.team-btn::before { content: ""; position: absolute; left: -6px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--sygnal); opacity: 0; transition: opacity .3s ease; }
.team-btn.sig-in::before { opacity: 1; }
.team-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #a3b2d6, 2px 2px 0 #4a5f92, 3px 3px 0 #3c5084, 4px 4px 0 #33467a, 5px 5px 0 #263A66, 6px 6px 0 #23365f, 7px 7px 0 #1f3158, 8px 8px 0 #1b2c50, 9px 9px 0 #121D3A; }
.tb-l { font-family: var(--display); font-weight: 900; font-size: min(14cqi, 96px); line-height: .84; letter-spacing: -.012em; }
.tb-l > span { display: block; white-space: nowrap; }
.tb-s { font-size: 14px; color: rgba(10, 17, 34, .78); }
@media (hover: hover) and (pointer: fine) { .team-btn:hover { background: #C9D1E2; } }

/* 200: odpowiedz na zapis przez caly kadr */
.slam { position: fixed; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; pointer-events: none; opacity: 0; visibility: hidden;
  font-family: var(--display); font-weight: 900; font-size: min(78vh, 64vw); line-height: .8; color: var(--kosc); background: rgba(10, 17, 34, .9); }

.foot { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: baseline; justify-content: space-between; padding: 16px var(--gut) 18px; border-top: 1px solid rgba(38, 58, 102, .8); background: var(--cien); font-size: 12px; }
.foot .mark { font-size: 19px; }
.foot .mono { max-width: none; text-decoration: none; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  body { font-size: 15px; line-height: 1.6; }
  .top { padding: 14px 16px; }
  .mark { font-size: 21px; }
  .top-links { gap: 14px; }
  .top-links a { font-size: 12px; }
  .gl .hero-h { left: 16px; right: 16px; bottom: auto; top: 47svh; }
  .gl .hero-h h1 { font-size: clamp(40px, 12.4vw, 60px); }
  .gl .hero-side { left: 16px; right: 16px; width: auto; bottom: 3.5svh; }
  .gl .hero-side .mono, .gl .hero-side p { font-size: 14px; line-height: 1.55; }
  .duo { margin-top: 16px; gap: 8px; }
  .duo .btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 18px; min-height: 50px; }
  .gl .cap.tl, .gl .cap.tr { top: 11svh; }
  .gl .cap.tc { top: 10svh; }
  .gl .cap.bl, .gl .cap.br, .gl .cap.bc { bottom: 5svh; left: 16px; right: 16px; }
  .gl .cap.br { align-items: flex-start; }
  .gl #s-ui .cap.br, .gl #s-ai .cap.bl { top: 11svh; bottom: auto; }
  .gl .cap .mono { font-size: 14.5px; line-height: 1.55; }
  .gl .odo-n { font-size: 44vw; }
  .odo-line { font-size: 15px; }
  .hud-txt { font-size: 11px; }
  .gl .m-cap { top: 10svh; }
  .gl .m-cap.st h3 { font-size: clamp(38px, 11vw, 56px); }
  .gl .m-cap .tag { font-size: 14px; }
  .log-list li { grid-template-columns: 1fr auto; gap: 4px 12px; }
  .log-list .c { grid-column: 1; grid-row: 1; }
  .log-list .s { grid-column: 2; grid-row: 1; }
  .log-list .t { grid-column: 1 / -1; grid-row: 2; }
  .log-list .g { grid-column: 1 / -1; grid-row: 3; font-size: 22px; }
  .gl .cap.anc.tag { max-width: calc(100vw - 72px); font-size: 14px; }
  .gl .cap.anc.who { font-size: 26px; }
  .gl .cap.anc.a { font-size: 14px; }
  html:not(.gl) #s-formaty .stage { grid-template-columns: 1fr; }
  .bio-l { font-size: clamp(25px, 7.4vw, 34px); }
  .gl .lead-bio { left: 16px; right: 16px; bottom: 3.5svh; }
  .lead-bio .tag { margin-top: 14px; font-size: 13.5px; }
  .conf-list { grid-template-columns: 1fr 1fr; }
  #zapis { padding: 4svh 0 2svh; }
  .z-head { font-size: clamp(40px, 11.6vw, 56px); margin-bottom: 26px; }
  .exits { grid-template-columns: 1fr; gap: 26px; }
  .exit { padding-left: 14px; }
  .x-word { font-size: clamp(34px, 10vw, 48px); margin-bottom: 8px; }
  .exit > .mono { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
  .sform { gap: 8px; }
  .sform input { height: 50px; }
  .sform button { min-height: 50px; font-size: 20px; }
  .form-msg { min-height: 40px; }
  .team-btn { --ex: 8px; padding: 16px 16px 14px; gap: 8px; margin-bottom: 8px;
    box-shadow: 1px 1px 0 #a3b2d6, 2px 2px 0 #4a5f92, 3px 3px 0 #3c5084, 4px 4px 0 #263A66, 5px 5px 0 #1f3158, 6px 6px 0 #182848, 7px 7px 0 #13203c, 8px 8px 0 #121D3A; }
  .tb-s { font-size: 13px; }
  .foot { padding: 12px 16px 14px; gap: 2px 14px; font-size: 11px; }
  .foot > .mono:first-of-type { display: none; }
}

/* ---------- reduced motion ---------- */
.rm .wipe > .edge { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .sig-caret.on { animation: none; }
  .top { transition: none; }
}
