/* ==========================================================================
   FALLOUT 2 3D — fanouškovský web
   Materiály: rezavý plech, zelený fosfor CRT, papír, inkoust, tužka.
   ========================================================================== */

/* ---------------------------------------------------------------- FONTY */
@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-display-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 700; font-display: swap; src: url(../fonts/big-shoulders-display-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-display: swap; src: url(../fonts/big-shoulders-display-latin-900-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Big Shoulders Display'; font-weight: 900; font-display: swap; src: url(../fonts/big-shoulders-display-latin-ext-900-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url(../fonts/barlow-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/barlow-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/barlow-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 500; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url(../fonts/barlow-condensed-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'VT323'; font-weight: 400; font-display: swap; src: url(../fonts/vt323-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'VT323'; font-weight: 400; font-display: swap; src: url(../fonts/vt323-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Special Elite'; font-weight: 400; font-display: swap; src: url(../fonts/special-elite-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Special Elite'; font-weight: 400; font-display: swap; src: url(../fonts/special-elite-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Sedgwick Ave'; font-weight: 400; font-display: swap; src: url(../fonts/sedgwick-ave-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sedgwick Ave'; font-weight: 400; font-display: swap; src: url(../fonts/sedgwick-ave-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Old Standard TT'; font-weight: 400; font-display: swap; src: url(../fonts/old-standard-tt-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Old Standard TT'; font-weight: 400; font-display: swap; src: url(../fonts/old-standard-tt-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Old Standard TT'; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/old-standard-tt-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Old Standard TT'; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/old-standard-tt-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------------------------------------------------------------- TOKENY */
:root {
  --bg: #0e0b08;
  --bg-2: #15100b;
  --bg-3: #1c160f;
  --bone: #ecdfc4;
  --bone-2: #cbbb98;
  --bone-3: #95876b;
  --amber: #ffb53b;
  --amber-2: #e8901a;
  --amber-3: #8a4b0b;
  --phos: #63ff8a;
  --phos-2: #34d562;
  --phos-3: #1c7a3a;
  --red: #e2301f;
  --paper-ink: #2a1f13;
  --pencil: #b3281c;

  --f-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --f-crt: 'VT323', ui-monospace, 'Courier New', monospace;
  --f-type: 'Special Elite', 'Courier New', monospace;
  --f-hand: 'Sedgwick Ave', 'Comic Sans MS', cursive;
  --f-map: 'Old Standard TT', Georgia, serif;

  --wrap: 1320px;
  --gut: clamp(20px, 4.2vw, 64px);
  --topbar-h: 62px;

  --metal:
    linear-gradient(180deg, rgba(255, 232, 186, .07), rgba(0, 0, 0, .28)),
    url(../img/metal.webp) 0 0 / 512px repeat,
    #3a3223;
  --bevel: inset 0 1px 0 rgba(255, 236, 190, .18), inset 0 -2px 0 rgba(0, 0, 0, .45), 0 0 0 1px #0b0805;
  --rivet: radial-gradient(circle at 42% 36%, #d8c597 0 .8px, #9b875f 1.6px, #4c412d 3.1px, #17120b 4.1px, rgba(0, 0, 0, .35) 4.7px, transparent 5.4px);
  --ease: cubic-bezier(.2, .75, .15, 1);
}

/* ---------------------------------------------------------------- ZÁKLAD */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  color: var(--bone);
  font: 400 1.0625rem/1.6 var(--f-body);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--amber); color: #120d08; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.i18n-wait [data-i18n], .i18n-wait [data-i18n-html] { visibility: hidden; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200;
  background: var(--amber); color: #120d08; padding: 10px 16px; font: 700 14px var(--f-cond); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* filmové zrno přes celou stránku */
.grain {
  position: fixed; inset: -50%; z-index: 120; pointer-events: none;
  background: url(../img/grain.png) 0 0 / 160px;
  opacity: .085; mix-blend-mode: overlay;
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -4%); }
  50% { transform: translate(-4%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 4%); } 100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce), (max-width: 760px) { .grain { animation: none; } }

/* ---------------------------------------------------------------- DROBNÉ PRVKY */
.lamp, .led {
  display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5a4528, #24190c 70%);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 236, 190, .12);
  transition: background .3s, box-shadow .3s;
}
.led--green { background: radial-gradient(circle at 35% 30%, #c8ffd6, #3fe26b 45%, #106d2c 90%); box-shadow: 0 0 6px 1px rgba(99, 255, 138, .55), 0 1px 0 rgba(255, 236, 190, .1); }
.led--amber { background: radial-gradient(circle at 35% 30%, #fff1c9, #ffb53b 45%, #8a4b0b 92%); box-shadow: 0 0 7px 1px rgba(255, 181, 59, .6), 0 1px 0 rgba(255, 236, 190, .1); }

.kicker {
  display: flex; align-items: center; gap: 14px;
  font: 400 1.35rem/1 var(--f-crt); color: var(--amber); letter-spacing: .06em; text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 181, 59, .35);
}
.kicker__no { padding: 3px 7px 2px; border: 1px solid rgba(255, 181, 59, .55); border-radius: 2px; }
.kicker::after { content: ""; flex: 0 1 120px; height: 1px; background: linear-gradient(90deg, rgba(255, 181, 59, .6), transparent); }

.sec { position: relative; padding-block: clamp(72px, 8.5vw, 128px); }
.sec-head { max-width: 980px; margin-bottom: clamp(40px, 5.5vw, 72px); }
.sec-head--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.sec-title {
  margin-top: 22px;
  font: 900 clamp(2.9rem, 6.6vw, 6.4rem)/.86 var(--f-display);
  text-transform: uppercase; letter-spacing: -.004em; color: var(--bone);
  text-wrap: balance;
}
.sec-lead { margin-top: 24px; max-width: 46ch; font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.65; color: var(--bone-2); text-wrap: pretty; }
.sec-head--split .sec-lead { margin-top: 0; }
.sec-head--split > div .sec-lead { margin-top: 22px; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { transform: none; transition: opacity .4s; } }

/* ---------------------------------------------------------------- TLAČÍTKA */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 0 22px 0 14px;
  font: 700 .98rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border-radius: 4px; cursor: pointer; user-select: none;
  transition: transform .08s, box-shadow .2s, color .2s, background-color .2s;
}
.btn--primary {
  color: #f6ead0; background: var(--metal);
  box-shadow: var(--bevel), 0 10px 26px rgba(0, 0, 0, .5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .7);
}
.btn__cap {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 38% 30%, #ffb19c 0, #f0412c 32%, #a3170b 68%, #4d0904 100%);
  box-shadow: 0 0 0 3px #17110a, 0 0 0 4px rgba(255, 236, 190, .14), 0 3px 0 4px #0a0704, 0 0 18px rgba(240, 65, 44, .35);
  transition: box-shadow .2s, transform .08s;
}
.btn--primary:hover .btn__cap { box-shadow: 0 0 0 3px #17110a, 0 0 0 4px rgba(255, 236, 190, .18), 0 3px 0 4px #0a0704, 0 0 26px 4px rgba(255, 92, 60, .65); }
.btn--primary:active { transform: translateY(2px); }
.btn--primary:active .btn__cap { transform: translateY(1px); }
.btn--ghost { color: var(--bone); padding: 0 20px; box-shadow: inset 0 0 0 1px rgba(236, 223, 196, .3); background: rgba(14, 11, 8, .35); }
.btn--ghost svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--amber); color: var(--amber); }
.btn--ghost:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- CRT */
.crt {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(130% 100% at 50% 35%, #0c2b16 0%, #061a0d 55%, #020a05 100%);
  color: var(--phos);
  font-family: var(--f-crt);
  text-shadow: 0 0 1px rgba(99, 255, 138, .9), 0 0 9px rgba(99, 255, 138, .45);
  border-radius: 12px / 16px;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .9),
    inset 0 0 28px rgba(0, 0, 0, .9),
    inset 0 0 70px rgba(40, 200, 90, .08),
    0 0 0 3px #0d0a06,
    0 0 0 4px rgba(255, 236, 190, .10);
}
.crt::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, .32) 0 1px, transparent 1px 3px);
}
.crt::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background:
    radial-gradient(120% 60% at 28% -8%, rgba(255, 255, 255, .09), transparent 55%),
    radial-gradient(140% 120% at 50% 50%, transparent 62%, rgba(0, 0, 0, .55) 100%);
}

/* ================================================================ HLAVIČKA */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--topbar-h);
  background:
    linear-gradient(180deg, rgba(255, 232, 186, .06), rgba(0, 0, 0, .35)),
    url(../img/metal.webp) 0 0 / 512px repeat, #30291c;
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .16), inset 0 -1px 0 rgba(255, 236, 190, .06), 0 1px 0 #070504, 0 10px 30px rgba(0, 0, 0, .45);
}
.topbar::before, .topbar::after {
  content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: var(--rivet);
}
.topbar::before { left: 10px; } .topbar::after { right: 10px; }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 26px; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(60deg); }
.brand__name { font: 900 1.45rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--bone); text-shadow: 0 1px 0 rgba(0, 0, 0, .8); white-space: nowrap; }
.brand__tag {
  font: 600 .66rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--amber);
  padding: 4px 6px 3px; border: 1px solid rgba(255, 181, 59, .5); border-radius: 2px; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: flex; align-items: center; gap: 9px; padding: 10px 12px;
  font: 600 .86rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  color: var(--bone-2); text-shadow: 0 1px 0 rgba(0, 0, 0, .8); border-radius: 3px;
  transition: color .2s;
}
.nav__link:hover { color: var(--bone); }
.nav__link.is-active { color: var(--amber); }
.nav__link.is-active .lamp { background: radial-gradient(circle at 35% 30%, #fff1c9, #ffb53b 45%, #8a4b0b 92%); box-shadow: 0 0 8px 2px rgba(255, 181, 59, .6); }

.lang { display: flex; align-items: center; gap: 8px; }
.lang__opt {
  border: 0; background: none; cursor: pointer; padding: 6px 2px;
  font: 700 .82rem/1 var(--f-cond); letter-spacing: .14em; color: var(--bone-3); text-shadow: 0 1px 0 rgba(0, 0, 0, .8);
  transition: color .2s;
}
.lang__opt[aria-pressed="true"] { color: var(--amber); text-shadow: 0 0 8px rgba(255, 181, 59, .5); }
.lang__opt:hover { color: var(--bone); }
.lang__lever {
  position: relative; width: 38px; height: 18px; border-radius: 9px;
  background: linear-gradient(180deg, #0a0805, #1d170f);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 236, 190, .14);
}
.lang__lever i {
  position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #fff7e2, #c9b48a 45%, #5d4f35 100%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .7);
  transition: transform .35s var(--ease);
}
[data-lang="en"] .lang__lever i { transform: translateX(20px); }

.menu-btn {
  display: none; align-items: center; gap: 9px; border: 0; cursor: pointer; padding: 9px 12px; border-radius: 3px;
  background: rgba(0, 0, 0, .3); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 236, 190, .1);
  font: 700 .8rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-2);
}
.menu-btn[aria-expanded="true"] .lamp { background: radial-gradient(circle at 35% 30%, #fff1c9, #ffb53b 45%, #8a4b0b 92%); box-shadow: 0 0 8px 2px rgba(255, 181, 59, .6); }
.mnav {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; padding: 10px var(--gut) 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .4)), url(../img/metal.webp) 0 0 / 512px, #2a2318;
  box-shadow: 0 1px 0 #070504, 0 18px 30px rgba(0, 0, 0, .6);
}
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 4px; font: 700 1.2rem/1 var(--f-display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--bone); border-bottom: 1px solid rgba(0, 0, 0, .45); box-shadow: 0 1px 0 rgba(255, 236, 190, .05); }
.mnav a:last-child { border: 0; box-shadow: none; }

/* ================================================================ HERO */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: var(--topbar-h); background: #0b0806; }
.hero__view { position: relative; flex: 1 0 auto; overflow: hidden; min-height: 560px; display: flex; }
.hero__poster, .hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { opacity: 0; transition: opacity 1.4s ease; }
.hero__canvas.is-live { opacity: 1; }
.no-webgl .hero__canvas { display: none; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12, 8, 4, .82) 0%, rgba(12, 8, 4, .62) 26%, rgba(12, 8, 4, .18) 52%, rgba(12, 8, 4, 0) 66%),
    linear-gradient(0deg, rgba(12, 8, 4, .9) 0%, rgba(12, 8, 4, .35) 24%, rgba(12, 8, 4, 0) 46%),
    linear-gradient(180deg, rgba(12, 8, 4, .55) 0%, rgba(12, 8, 4, 0) 18%);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, .55);
}
.hero__content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding-block: 48px clamp(30px, 5.5vh, 64px);
}
.hero__content > * { max-width: 680px; }

.stamp {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 7px 11px;
  font: 700 .8rem/1 var(--f-cond); letter-spacing: .24em; text-transform: uppercase; color: var(--amber);
  border: 2px solid rgba(255, 181, 59, .9); border-radius: 3px;
  box-shadow: inset 0 0 0 2px rgba(12, 8, 4, .7), inset 0 0 0 3px rgba(255, 181, 59, .35);
  background: rgba(12, 8, 4, .45);
  text-shadow: 0 0 12px rgba(255, 181, 59, .35);
}
.stamp i { width: 8px; height: 8px; border-radius: 50%; background: #ff4a33; box-shadow: 0 0 10px 2px rgba(255, 74, 51, .75); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }

.title {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "main main" "three tag"; align-items: end; column-gap: .2em; row-gap: .075em;
  margin: .22em 0 0;
  font: 900 clamp(4.4rem, 11.6vw, 11.2rem)/.79 var(--f-display);
  text-transform: uppercase; letter-spacing: -.006em;
}
.title__main { grid-area: main;
  background: linear-gradient(180deg, #fbf3e1 0%, #eadbb8 52%, #bfa979 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 .035em 0 rgba(0, 0, 0, .45)) drop-shadow(0 0 .4em rgba(0, 0, 0, .35));
}
.title__3d {
  grid-area: three; position: relative; color: #ffbe48;
  text-shadow:
    .012em .012em 0 #e48f17, .024em .024em 0 #d27f12, .036em .036em 0 #bd700e, .048em .048em 0 #a6610b,
    .060em .060em 0 #8f5309, .072em .072em 0 #774507, .084em .084em 0 #5f3706, .096em .096em 0 #482a05,
    .108em .108em 0 #331d03, .15em .17em .18em rgba(0, 0, 0, .65);
  transform: translateY(-.02em);
}
.tagline { grid-area: tag; align-self: end; padding-bottom: .55em; font: 700 clamp(1.35rem, 2.5vw, 2.35rem)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: .015em; color: var(--bone); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }
.tagline em { display: block; font-style: normal; color: var(--amber); }
.lead { margin-top: 26px; max-width: 34em; font-size: clamp(1.02rem, 1.25vw, 1.18rem); line-height: 1.62; color: rgba(236, 223, 196, .86); text-shadow: 0 1px 10px rgba(0, 0, 0, .7); text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.req-line {
  display: flex; align-items: flex-start; gap: 13px; margin-top: 30px; padding: 13px 18px 13px 14px;
  font-size: .95rem; line-height: 1.5; color: var(--bone-2);
  background: linear-gradient(90deg, rgba(12, 8, 4, .78), rgba(12, 8, 4, .45));
  border-left: 3px solid var(--amber);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.req-line strong { display: inline; font: 700 .98rem/1.4 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.req-line__icon { width: 22px; height: 22px; flex: none; color: var(--amber); margin-top: 1px; filter: drop-shadow(0 0 6px rgba(255, 181, 59, .5)); }

/* ---------------------------------------------------------------- KONZOLE */
.console {
  position: relative; z-index: 3;
  background: var(--metal);
  box-shadow: inset 0 1px 0 rgba(255, 236, 190, .22), inset 0 3px 0 rgba(0, 0, 0, .35), 0 -1px 0 #050403, 0 -14px 40px rgba(0, 0, 0, .55);
}
.console::before, .console::after { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; background: var(--rivet); }
.console::before { left: 12px; } .console::after { right: 12px; }
.console__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; padding-block: 16px 18px; }
.module {
  position: relative; padding: 11px 14px 14px; border-radius: 6px; min-width: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, .16));
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(0, 0, 0, .6), 0 1px 0 rgba(255, 236, 190, .12);
}
.module__label { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font: 700 .7rem/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: #c3b087; text-shadow: 0 1px 0 rgba(0, 0, 0, .9); }
.led { width: 7px; height: 7px; }

.crt--log { height: 102px; padding: 9px 14px; }
.log { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; font-size: 1.32rem; line-height: 1.04; }
.log li { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .55; }
.log li::before { content: "> "; color: var(--phos-2); }
.log li:nth-last-child(1) { opacity: 1; }
.log li:nth-last-child(2) { opacity: .8; }
.log li.is-typing::after { content: ""; display: inline-block; width: .5em; height: .9em; margin-left: 2px; vertical-align: -1px; background: var(--phos); box-shadow: 0 0 8px var(--phos); animation: caret .9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.readout { display: flex; align-items: center; gap: 16px; }
.counter { display: flex; align-items: stretch; gap: 3px; padding: 5px; border-radius: 4px; background: #070504; box-shadow: inset 0 2px 5px rgba(0, 0, 0, .95), 0 1px 0 rgba(255, 236, 190, .14); }
.counter__wheel {
  position: relative; width: 34px; height: 50px; overflow: hidden; border-radius: 2px;
  background: linear-gradient(180deg, #000 0%, #2b2720 20%, #3d382f 50%, #2b2720 80%, #000 100%);
}
.counter__wheel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .75), transparent 28%, transparent 72%, rgba(0, 0, 0, .75)); pointer-events: none; }
.counter__strip { display: block; font: 700 2.5rem/50px var(--f-cond); text-align: center; color: #f7ebcf; text-shadow: 0 0 6px rgba(255, 240, 200, .25); transition: transform 1.6s cubic-bezier(.15, .85, .2, 1); }
.counter__wheel.is-zero .counter__strip { color: #7c705a; }
.counter__unit { align-self: center; padding: 0 4px 0 6px; font: 700 1.6rem/1 var(--f-cond); color: var(--amber); text-shadow: 0 0 10px rgba(255, 181, 59, .5); }
.readout__text { display: grid; gap: 7px; min-width: 0; }
.readout__name { font: 900 1.65rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--amber); text-shadow: 0 0 14px rgba(255, 181, 59, .3), 0 1px 0 rgba(0, 0, 0, .9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lamps { display: flex; gap: 5px; }
.lamps i { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #3e3020, #160f07 75%); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 236, 190, .1); transition: background .3s, box-shadow .3s; }
.lamps i.is-on { background: radial-gradient(circle at 35% 30%, #fff3cf, #ffb53b 42%, #9a560c 90%); box-shadow: 0 0 9px 1px rgba(255, 181, 59, .65); }
.lamps i.is-done { background: radial-gradient(circle at 35% 30%, #d5ffe0, #3fe26b 42%, #136d2e 90%); box-shadow: 0 0 9px 1px rgba(99, 255, 138, .55); }
.readout__sub { font: 600 .74rem/1.2 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: #a8987a; text-shadow: 0 1px 0 rgba(0, 0, 0, .9); }

.wx { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wx__btn { position: relative; display: grid; justify-items: center; gap: 7px; padding: 2px 0 0; border: 0; background: none; cursor: pointer; }
.wx__led { width: 6px; height: 6px; border-radius: 50%; background: #1e150b; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .9); transition: background .25s, box-shadow .25s; }
.wx__cap {
  width: 36px; height: 36px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #ffad97 0, #ec3b26 30%, #a3170b 66%, #4a0804 100%);
  box-shadow: 0 0 0 3px #16100a, 0 0 0 4px rgba(255, 236, 190, .14), 0 4px 0 3px #080503, 0 7px 10px 3px rgba(0, 0, 0, .55);
  transition: transform .09s, box-shadow .09s, filter .2s;
}
.wx__btn:hover .wx__cap { filter: brightness(1.12); }
.wx__btn:active .wx__cap, .wx__btn[aria-checked="true"] .wx__cap {
  transform: translateY(3px);
  box-shadow: 0 0 0 3px #16100a, 0 0 0 4px rgba(255, 236, 190, .14), 0 1px 0 3px #080503, 0 2px 4px 3px rgba(0, 0, 0, .55);
}
.wx__btn[aria-checked="true"] .wx__cap { filter: brightness(.92) saturate(1.1); }
.wx__btn[aria-checked="true"] .wx__led { background: radial-gradient(circle at 35% 30%, #d5ffe0, #3fe26b 45%, #136d2e 90%); box-shadow: 0 0 8px 2px rgba(99, 255, 138, .6); }
.wx__label { font: 700 .72rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: #b9a881; text-shadow: 0 1px 0 rgba(0, 0, 0, .9); transition: color .2s; }
.wx__btn[aria-checked="true"] .wx__label { color: var(--amber); }
.wx__readout {
  margin-top: 12px; padding: 6px 10px 5px; border-radius: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: 400 1.08rem/1 var(--f-crt); color: var(--phos); text-shadow: 0 0 7px rgba(99, 255, 138, .5);
  background: linear-gradient(180deg, #03100a, #061a0d); box-shadow: inset 0 1px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 236, 190, .1);
}

/* ================================================================ 01 MOD */
.sec--about {
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(255, 160, 60, .07), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M28 0 56 16.17V48.5L28 64.66 0 48.5V16.17ZM28 64.66V97' fill='none' stroke='%23ecdfc4' stroke-opacity='.045'/%3E%3C/svg%3E") 0 0 / 56px 97px,
    linear-gradient(180deg, #120d09, var(--bg));
}
.plaques { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.plaque {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 26px 30px; margin-bottom: 18px;
  background: var(--metal);
  border-radius: 5px;
  box-shadow: var(--bevel), 0 18px 40px rgba(0, 0, 0, .45);
}
.plaque::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  background: var(--rivet) left top / 10px 10px no-repeat, var(--rivet) right top / 10px 10px no-repeat, var(--rivet) left bottom / 10px 10px no-repeat, var(--rivet) right bottom / 10px 10px no-repeat;
}
.plaque::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 190, .07) 46%, transparent 60%);
  background-size: 260% 100%; background-position: 100% 0;
  transition: background-position 1.1s var(--ease);
}
.plaque:hover::after { background-position: 0 0; }
.plaque__no {
  position: absolute; right: 24px; top: 18px;
  font: 900 4.6rem/1 var(--f-display); color: transparent;
  -webkit-text-stroke: 1px rgba(236, 223, 196, .22);
}
.plaque__icon { width: 58px; height: 58px; fill: none; stroke: var(--amber); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(255, 181, 59, .35)); }
.plaque__icon .thin { stroke-width: 1.2; opacity: .7; }
.plaque__icon .dash { stroke-dasharray: 2 3; }
.plaque__title { margin-top: 72px; font: 900 1.9rem/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; color: var(--bone); text-shadow: 0 1px 0 rgba(0, 0, 0, .8); }
.plaque__text { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--bone-2); text-shadow: 0 1px 0 rgba(0, 0, 0, .55); }
.plaque__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font: 700 .78rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); text-decoration: none; }
.plaque__link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.plaque__link:hover svg { transform: translateY(-3px); }

/* ================================================================ 02 ZÁBĚRY */
.sec--media { background: linear-gradient(180deg, var(--bg), #0b0806 60%, #0d0a07); }
.tvwall { display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: end; gap: 22px; }
.tv { position: relative; padding: 16px 16px 40px; border-radius: 10px; background: var(--metal); box-shadow: var(--bevel), 0 24px 50px rgba(0, 0, 0, .55); }
.tv:nth-child(1) { transform: translateY(-26px); }
.tv:nth-child(3) { transform: translateY(14px); }
.tv::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 13px; height: 14px;
  background: var(--rivet) left center / 10px 10px no-repeat, var(--rivet) right center / 10px 10px no-repeat;
}
.tv__screen { aspect-ratio: 4 / 3; border-radius: 14px / 20px; }
.tv:nth-child(2) .tv__screen { aspect-ratio: 16 / 10; }
.tv__screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: saturate(.92) contrast(1.04); }
.tv__static { position: absolute; inset: 0; z-index: 0; background: url(../img/grain.png) 0 0 / 110px; opacity: .2; filter: contrast(3) brightness(.75) sepia(1) hue-rotate(70deg) saturate(1.6); mix-blend-mode: screen; animation: static .32s steps(1) infinite; }
@keyframes static { 0% { background-position: 0 0; } 25% { background-position: -37px 21px; } 50% { background-position: 53px -44px; } 75% { background-position: -12px -63px; } }
@media (prefers-reduced-motion: reduce) { .tv__static, .tv__roll { animation: none; } }
.tv__roll { position: absolute; left: 0; right: 0; top: -30%; height: 30%; z-index: 1; background: linear-gradient(180deg, transparent, rgba(99, 255, 138, .08), transparent); animation: roll 4.5s linear infinite; }
@keyframes roll { to { transform: translateY(440%); } }
.tv__msg { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; text-align: center; gap: 8px; padding: 16px; }
.tv__msg strong { font: 400 clamp(1.4rem, 2.4vw, 2.3rem)/1 var(--f-crt); letter-spacing: .08em; text-transform: uppercase; }
.tv__msg span { font: 400 clamp(1.1rem, 1.5vw, 1.45rem)/1.2 var(--f-crt); color: var(--phos-2); }
.tv:not(:nth-child(2)) .tv__msg span { display: none; }
.tv__plate { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px 3px; font: 700 .66rem/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: #c8b68c; background: rgba(0, 0, 0, .35); border-radius: 2px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 236, 190, .1); white-space: nowrap; }
.tv__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 14px 10px; font: 400 1.15rem/1.1 var(--f-crt); background: linear-gradient(0deg, rgba(2, 10, 5, .85), transparent); }
.tv--media { cursor: zoom-in; }
.tvwall--many { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: start; }
.tvwall--many .tv { transform: none !important; }
.tvwall--many .tv__screen { aspect-ratio: 16 / 10 !important; }

.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 4vmin; background: rgba(5, 4, 3, .92); border: 0; max-width: none; max-height: none; width: 100%; height: 100%; }
.lightbox img { max-width: 100%; max-height: 86vh; box-shadow: 0 30px 80px rgba(0, 0, 0, .7); }
.lightbox p { margin-top: 14px; font: 400 1.3rem var(--f-crt); color: var(--phos); text-align: center; }

/* ================================================================ 03 POŽADAVKY */
.sec--req {
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(255, 180, 90, .06), transparent 70%),
    linear-gradient(180deg, #0d0a07, #120e0a);
}
.req { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sheet {
  position: relative; padding: clamp(32px, 4vw, 52px) clamp(26px, 4.4vw, 60px) clamp(34px, 4vw, 50px);
  color: var(--paper-ink);
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(110, 70, 28, .28) 100%),
    url(../img/paper.webp) 0 0 / 700px repeat, #d8c497;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 30px 60px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(80, 50, 20, .12);
  transform: rotate(-.7deg);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 97% 100%, 93% calc(100% - 6px), 88% 100%, 82% calc(100% - 7px), 76% 100%, 70% calc(100% - 5px), 63% 100%, 57% calc(100% - 8px), 50% 100%, 44% calc(100% - 5px), 37% 100%, 31% calc(100% - 7px), 24% 100%, 18% calc(100% - 6px), 11% 100%, 5% calc(100% - 7px), 0 100%);
}
.sheet[data-reveal] { transform: rotate(-.7deg) translateY(22px); }
.sheet[data-reveal].is-in { transform: rotate(-.7deg); }
.sheet__tape { position: absolute; top: -12px; left: 50%; width: 150px; height: 34px; margin-left: -75px; background: rgba(240, 228, 196, .55); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); transform: rotate(2.5deg); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%); }
.sheet__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(42, 31, 19, .45); font: 400 .95rem/1.2 var(--f-type); text-transform: uppercase; letter-spacing: .06em; }
.sheet__id { opacity: .6; white-space: nowrap; }
.checklist { display: grid; gap: 26px; margin-top: 30px; counter-reset: c; }
.checklist li { display: grid; grid-template-columns: 36px 1fr; gap: 18px; align-items: start; }
.checklist__box { position: relative; width: 30px; height: 30px; margin-top: 2px; border: 2.4px solid var(--paper-ink); border-radius: 2px; opacity: .85; }
.checklist__box svg { position: absolute; left: -6px; top: -12px; width: 46px; height: 46px; fill: none; stroke: var(--pencil); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; filter: url(#f-pencil); }
.checklist h3 { font: 400 clamp(1.25rem, 1.8vw, 1.55rem)/1.15 var(--f-type); text-transform: uppercase; letter-spacing: .02em; }
.checklist p { margin-top: 6px; font: 400 1.02rem/1.55 var(--f-type); opacity: .86; max-width: 38ch; }
.checklist li.is-checked h3 { color: #1a120a; }
.sheet__fine { margin-top: 34px; padding-top: 16px; border-top: 1.5px dashed rgba(42, 31, 19, .45); font: 400 .9rem/1.55 var(--f-type); opacity: .78; max-width: 60ch; }
.ink-stamp {
  position: absolute; right: clamp(18px, 3vw, 40px); top: 46%;
  padding: 10px 16px 8px; transform: rotate(-11deg);
  font: 900 clamp(1.3rem, 2.1vw, 1.75rem)/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; color: rgba(178, 32, 20, .85);
  border: 3px solid currentColor; border-radius: 6px;
  box-shadow: inset 0 0 0 3px rgba(216, 196, 151, .6), inset 0 0 0 5px rgba(178, 32, 20, .75);
  -webkit-mask: url(../img/ink.png) 0 0 / 180px; mask: url(../img/ink.png) 0 0 / 180px;
  mix-blend-mode: multiply;
}
.sheet__note { width: fit-content; margin: 22px 0 0 auto; transform: rotate(-4deg); font: 400 clamp(1.3rem, 2vw, 1.75rem)/1 var(--f-hand); color: var(--pencil); opacity: .92; }
.sheet__note::after { content: ""; display: block; height: 8px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 6 C 40 2, 80 9, 120 4 S 180 3, 198 6' fill='none' stroke='%23b3281c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }

.warnplate { position: relative; border-radius: 5px; overflow: hidden; background: var(--metal); box-shadow: var(--bevel), 0 24px 50px rgba(0, 0, 0, .5); }
.warnplate__stripe { height: 16px; background: repeating-linear-gradient(-45deg, #f2a72e 0 14px, #17110a 14px 28px); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 236, 190, .3); opacity: .92; }
.warnplate__body { position: relative; padding: 28px 28px 30px; }
.warnplate__body::before { content: ""; position: absolute; inset: 9px; pointer-events: none; background: var(--rivet) left bottom / 10px 10px no-repeat, var(--rivet) right bottom / 10px 10px no-repeat; }
.warnplate__title { display: flex; align-items: center; gap: 10px; font: 900 1.55rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--amber); text-shadow: 0 0 14px rgba(255, 181, 59, .3); }
.warnplate__title svg { width: 24px; height: 24px; }
.warnplate__text { margin-top: 12px; font-size: 1rem; line-height: 1.6; color: var(--bone-2); text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
.warnplate hr { margin: 24px 0; border: 0; height: 2px; background: rgba(0, 0, 0, .55); box-shadow: 0 1px 0 rgba(255, 236, 190, .1); }
.warnplate__h { font: 900 1.4rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--bone); }
.warnplate__links { display: grid; gap: 10px; margin-top: 20px; }
.tag-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px 12px 16px; border-radius: 3px; text-decoration: none;
  font: 700 .86rem/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--bone);
  background: rgba(0, 0, 0, .32); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 236, 190, .1);
  transition: color .2s, background-color .2s;
}
.tag-link svg { width: 16px; height: 16px; flex: none; color: var(--amber); transition: transform .25s var(--ease); }
.tag-link:hover { color: var(--amber); background: rgba(0, 0, 0, .45); }
.tag-link:hover svg { transform: translate(2px, -2px); }

/* ================================================================ 04 STAV */
.sec--status {
  background:
    radial-gradient(60% 40% at 70% 0%, rgba(255, 170, 70, .07), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cpath d='M28 0 56 16.17V48.5L28 64.66 0 48.5V16.17ZM28 64.66V97' fill='none' stroke='%23ecdfc4' stroke-opacity='.035'/%3E%3C/svg%3E") 0 0 / 56px 97px,
    linear-gradient(180deg, #120e0a, #0f0b08);
}
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 5px; background: var(--metal); box-shadow: var(--bevel), 0 16px 40px rgba(0, 0, 0, .45); }
.stats > div { padding: 16px 16px 14px; display: flex; flex-direction: column-reverse; gap: 8px; }
.stats > div + div { box-shadow: inset 1px 0 0 rgba(0, 0, 0, .55), inset 2px 0 0 rgba(255, 236, 190, .07); }
.stats dt { font: 700 .68rem/1.15 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: #b4a37c; text-shadow: 0 1px 0 rgba(0, 0, 0, .9); }
.stats dd { font: 400 2.5rem/1 var(--f-crt); color: var(--phos); text-shadow: 0 0 10px rgba(99, 255, 138, .45); }
.stats dd.is-amber { color: var(--amber); text-shadow: 0 0 10px rgba(255, 181, 59, .45); }

.survey { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: start; gap: 0; padding: 14px; border-radius: 8px; background: var(--metal); box-shadow: var(--bevel), 0 30px 70px rgba(0, 0, 0, .55); }
.survey__mapwrap { position: sticky; top: calc(var(--topbar-h) + 16px); min-width: 0; }
.survey__map { position: relative; padding: 0; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .7), 0 1px 0 1px rgba(255, 236, 190, .1), 0 10px 26px rgba(0, 0, 0, .45); }
.map {
  position: relative; border-radius: 3px; overflow: hidden;
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(60, 35, 10, .10) 50%, rgba(255, 250, 230, .16) 50.3%, transparent 51%),
    linear-gradient(180deg, transparent 33%, rgba(60, 35, 10, .08) 33.3%, rgba(255, 250, 230, .12) 33.6%, transparent 34.4%),
    linear-gradient(180deg, transparent 66.2%, rgba(60, 35, 10, .08) 66.5%, rgba(255, 250, 230, .12) 66.8%, transparent 67.6%),
    radial-gradient(circle at 84% 86%, transparent 40px, rgba(120, 72, 30, .16) 42px, rgba(120, 72, 30, .05) 46px, transparent 49px),
    radial-gradient(130% 110% at 50% 45%, transparent 55%, rgba(95, 58, 22, .38) 100%),
    url(../img/paper.webp) 0 0 / 640px repeat, #d6c193;
  box-shadow: inset 0 0 0 1px rgba(60, 35, 10, .25), inset 0 0 50px rgba(90, 55, 20, .25);
}
.m-svg { width: 100%; height: auto; }
.m-ocean { fill: rgba(64, 92, 98, .10); }
.m-waterline { fill: rgba(48, 70, 76, .5); }
.m-land { fill: rgba(255, 246, 220, .07); }
.m-bay { fill: rgba(64, 92, 98, .16); stroke: rgba(42, 31, 19, .55); stroke-width: .8; }
.m-coast { fill: none; stroke: rgba(42, 31, 19, .85); stroke-width: 1.5; stroke-linejoin: round; }
.m-coast-shadow { fill: none; stroke: rgba(42, 31, 19, .18); stroke-width: 4.5; transform: translate(1.5px, 1.5px); }
.m-grid { stroke: rgba(42, 31, 19, .13); stroke-width: .6; fill: none; }
.m-deg { font: italic 400 8.5px var(--f-map); fill: rgba(42, 31, 19, .5); }
.m-border { fill: none; stroke: rgba(42, 31, 19, .45); stroke-width: 1.1; stroke-dasharray: 7 3 1.5 3; }
.m-river { fill: none; stroke: rgba(52, 78, 86, .6); stroke-width: 1.1; stroke-linecap: round; }
.m-lake { fill: rgba(64, 92, 98, .28); stroke: rgba(42, 31, 19, .5); stroke-width: .7; }
.m-relief { fill: none; stroke: rgba(42, 31, 19, .42); stroke-width: .85; stroke-linecap: round; stroke-linejoin: round; }
.m-peak { fill: rgba(42, 31, 19, .55); }
.m-minor { font: italic 400 9px var(--f-map); fill: rgba(42, 31, 19, .55); letter-spacing: .02em; }
.m-minor--water { fill: rgba(40, 66, 74, .7); }
.m-state { font: italic 400 17px var(--f-map); letter-spacing: .5em; text-transform: uppercase; fill: rgba(42, 31, 19, .42); }
.m-ocean-label { font: italic 400 15px var(--f-map); letter-spacing: .55em; text-transform: uppercase; fill: rgba(40, 66, 74, .6); text-anchor: middle; }
.m-route { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.m-route--done { stroke: var(--pencil); stroke-width: 2.6; stroke-dasharray: 8 6; opacity: .9; }
.m-route--todo { stroke: rgba(42, 31, 19, .55); stroke-width: 1.6; stroke-dasharray: .5 6.5; }
.m-compass__ring { fill: rgba(255, 246, 220, .25); stroke: rgba(42, 31, 19, .55); stroke-width: 1; }
.m-compass__ring--thin { fill: none; stroke-width: .5; }
.m-compass__tick { stroke: rgba(42, 31, 19, .55); stroke-width: .7; }
.m-compass__n { fill: rgba(150, 30, 20, .8); }
.m-compass__s { fill: rgba(42, 31, 19, .65); }
.m-compass__label { font: italic 400 13px var(--f-map); fill: rgba(42, 31, 19, .75); }
.m-cartouche__box { fill: rgba(236, 222, 186, .82); stroke: rgba(42, 31, 19, .65); stroke-width: 1.2; }
.m-cartouche__inner { fill: none; stroke: rgba(42, 31, 19, .4); stroke-width: .6; }
.m-cartouche__title { font: italic 400 21px var(--f-map); letter-spacing: .08em; fill: rgba(42, 31, 19, .92); text-transform: uppercase; }
.m-cartouche__sub { font: 400 9.5px var(--f-type); fill: rgba(42, 31, 19, .72); text-transform: uppercase; letter-spacing: .08em; }
.m-legend { font: 400 9.5px var(--f-type); fill: rgba(42, 31, 19, .85); }
.m-legend--tiny { font-size: 8px; }
.m-scale--a { fill: rgba(42, 31, 19, .8); }
.m-scale--b { fill: rgba(255, 246, 220, .6); stroke: rgba(42, 31, 19, .8); stroke-width: .7; }
.m-disclaimer { font: italic 400 8.5px var(--f-map); fill: rgba(42, 31, 19, .45); }

.mk { cursor: pointer; outline: none; }
.mk__hit { fill: transparent; }
.mk__ring { fill: rgba(236, 222, 186, .9); stroke: rgba(42, 31, 19, .7); stroke-width: 1.4; stroke-dasharray: 2 1.6; }
.mk__dot { fill: #3d4a26; stroke: #1d2412; stroke-width: 1; }
.mk__check { fill: none; stroke: #e9f0cf; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mk__track { fill: rgba(236, 222, 186, .55); stroke: rgba(179, 40, 28, .25); stroke-width: 3; }
.mk__arc { fill: none; stroke: var(--pencil); stroke-width: 3.4; stroke-linecap: round; }
.mk__arc--legend { stroke-width: 2.2; stroke-dasharray: 24 32; transform-box: fill-box; }
.mk__core { fill: var(--pencil); }
.mk__halo { fill: none; stroke: rgba(179, 40, 28, .55); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: halo 2.4s var(--ease) infinite; }
@keyframes halo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.mk__label { font: 400 10.5px var(--f-type); fill: rgba(42, 31, 19, .78); text-transform: uppercase; letter-spacing: .04em; paint-order: stroke; stroke: rgba(226, 210, 172, .85); stroke-width: 3px; stroke-linejoin: round; }
.mk--wip .mk__label { font-size: 13px; fill: #1e150c; }
.mk--done .mk__label { fill: #24301a; }
.mk__pct { font: 400 19px var(--f-hand); fill: var(--pencil); paint-order: stroke; stroke: rgba(226, 210, 172, .8); stroke-width: 3px; }
.mk.is-hot .mk__ring, .mk:focus-visible .mk__ring { stroke: var(--pencil); stroke-width: 2; fill: #fff4d6; }
.mk.is-hot .mk__label, .mk:focus-visible .mk__label { fill: #000; }
.mk.is-hot .mk__dot { fill: #556a33; }
.m-note__arrow { fill: none; stroke: var(--pencil); stroke-width: 2.2; stroke-linecap: round; }
.m-note__text { font: 400 21px var(--f-hand); fill: var(--pencil); }
.m-tip {
  position: absolute; z-index: 5; width: 210px; transform: translate(-50%, calc(-100% - 12px));
  padding: 10px 12px 11px; display: grid; gap: 4px; pointer-events: none;
  background: #18120b; color: var(--bone); border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 236, 190, .14), 0 14px 30px rgba(0, 0, 0, .55);
}
.m-tip[hidden] { display: none; }
.m-tip--below { transform: translate(-50%, 12px); }
.m-tip strong { font: 900 1.15rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.m-tip__state { font: 700 .7rem/1.2 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); }
.m-tip__state--wip { color: var(--amber); }
.m-tip__state--done { color: var(--phos); }
.m-tip__note { font-size: .86rem; line-height: 1.4; color: var(--bone-2); }

.survey__side { display: flex; flex-direction: column; min-width: 0; padding: 10px 6px 4px 22px; }
.survey__head { padding: 12px 6px 16px 0; border-bottom: 2px solid rgba(0, 0, 0, .5); box-shadow: 0 1px 0 rgba(255, 236, 190, .07); }
.survey__title { display: flex; align-items: center; gap: 10px; font: 900 1.45rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--bone); text-shadow: 0 1px 0 rgba(0, 0, 0, .8); }
.survey__sub { margin-top: 8px; font: 600 .74rem/1.2 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: #ad9c77; }
.route { position: relative; flex: 1; padding: 4px 0; }
.route::before { content: ""; position: absolute; left: 13px; top: 26px; bottom: 26px; width: 2px; background: repeating-linear-gradient(180deg, rgba(236, 223, 196, .28) 0 3px, transparent 3px 8px); }
.loc {
  position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 0 14px;
  padding: 8px 10px 8px 0; border-radius: 4px; cursor: default;
  transition: background-color .2s;
}
.loc + .loc { box-shadow: inset 0 1px 0 rgba(0, 0, 0, .35), inset 0 2px 0 rgba(255, 236, 190, .04); }
.loc:hover, .loc.is-hot { background: rgba(0, 0, 0, .22); }
.loc__node { position: relative; z-index: 1; justify-self: center; width: 14px; height: 14px; border-radius: 50%; background: #1d160e; border: 2px solid rgba(236, 223, 196, .32); }
.loc__main { min-width: 0; }
.loc__head { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.loc__no { font: 400 1rem/1 var(--f-crt); color: var(--bone-3); }
.loc__name { font: 900 1.24rem/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--bone-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc__state { margin-left: auto; font: 700 .64rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-3); white-space: nowrap; }
.loc__bar { display: flex; gap: 3px; margin-top: 7px; }
.loc__bar i { flex: 1; max-width: 22px; height: 5px; border-radius: 1px; background: #241b11; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .8); }
.loc__pct { min-width: 3.4ch; text-align: right; font: 400 1.65rem/1 var(--f-crt); color: var(--bone-3); }
.loc__note { grid-column: 2 / 4; margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--bone-2); display: none; }
.loc.is-wip { background: linear-gradient(90deg, rgba(255, 181, 59, .13), rgba(255, 181, 59, .02)); }
.loc.is-wip .loc__node { background: var(--amber); border-color: #ffe0a3; box-shadow: 0 0 0 4px rgba(255, 181, 59, .18), 0 0 14px rgba(255, 181, 59, .8); animation: node 2.2s ease-in-out infinite; }
@keyframes node { 50% { box-shadow: 0 0 0 7px rgba(255, 181, 59, .06), 0 0 20px rgba(255, 181, 59, .9); } }
.loc.is-wip .loc__name { color: var(--amber); }
.loc.is-wip .loc__state { color: var(--amber); }
.loc.is-wip .loc__pct { color: var(--amber); text-shadow: 0 0 10px rgba(255, 181, 59, .5); }
.loc.is-wip .loc__bar i.is-on { background: linear-gradient(180deg, #ffd37a, #e8901a); box-shadow: 0 0 6px rgba(255, 181, 59, .6); }
.loc.is-wip .loc__note, .loc.is-done .loc__note, .loc.is-open .loc__note { display: block; }
.loc.is-done .loc__node { background: var(--phos-2); border-color: #b8ffcb; box-shadow: 0 0 10px rgba(99, 255, 138, .6); }
.loc.is-done .loc__name { color: var(--bone); }
.loc.is-done .loc__state, .loc.is-done .loc__pct { color: var(--phos); }
.loc.is-done .loc__bar i { background: linear-gradient(180deg, #8dffab, #2bb553); box-shadow: 0 0 5px rgba(99, 255, 138, .5); }
.loc.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 40% { background: rgba(255, 181, 59, .28); } }

.devlog { margin-top: 26px; }
.devlog__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.devlog__title { display: flex; align-items: center; gap: 10px; font: 700 .76rem/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase; color: #c3b087; }
.devlog__more { border: 0; background: none; cursor: pointer; font: 700 .76rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); padding: 6px 0; }
.crt--devlog { padding: 18px 22px; }
.devlog__list { position: relative; z-index: 1; display: grid; gap: 6px; font-size: 1.4rem; line-height: 1.2; }
.devlog__list li { display: grid; grid-template-columns: auto auto 1fr; gap: 0 16px; align-items: baseline; }
.devlog__date { color: var(--phos-2); white-space: nowrap; }
.devlog__loc { color: #ffcf6e; text-shadow: 0 0 8px rgba(255, 181, 59, .45); text-transform: uppercase; white-space: nowrap; }
.devlog__list li:not(:first-child) { opacity: .7; }

/* ================================================================ 05 FAQ */
.sec--faq { background: radial-gradient(60% 50% at 50% 60%, rgba(60, 200, 100, .05), transparent 70%), linear-gradient(180deg, #0f0b08, #0b0806); }
.dialog { position: relative; padding: 16px; border-radius: 8px; background: var(--metal); box-shadow: var(--bevel), 0 30px 70px rgba(0, 0, 0, .55); }
.dialog::before { content: ""; position: absolute; inset: 7px; pointer-events: none; background: var(--rivet) left top / 10px 10px no-repeat, var(--rivet) right top / 10px 10px no-repeat, var(--rivet) left bottom / 10px 10px no-repeat, var(--rivet) right bottom / 10px 10px no-repeat; }
.dialog__top { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; }
.dialog__speaker { display: flex; flex-direction: column; gap: 8px; }
.crt--scope { height: 150px; }
.crt--scope canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.dialog__name { display: flex; align-items: center; gap: 9px; margin-top: 4px; font: 900 1.25rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; color: var(--bone); text-shadow: 0 1px 0 rgba(0, 0, 0, .8); }
.dialog__channel { font: 600 .7rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: #a8987a; }
.crt--reply { min-height: 200px; padding: 22px 26px; }
.dialog__reply { position: relative; z-index: 1; font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.22; }
.dialog__reply.is-typing::after { content: ""; display: inline-block; width: .5em; height: .9em; margin-left: 4px; vertical-align: -2px; background: var(--phos); box-shadow: 0 0 8px var(--phos); animation: caret .9s steps(1) infinite; }
.dialog__opts { margin-top: 16px; padding: 12px 10px; }
.dialog__opts li { position: relative; z-index: 4; }
.dialog__opts button {
  display: flex; gap: 12px; width: 100%; text-align: left; border: 0; cursor: pointer; padding: 7px 14px; border-radius: 3px;
  background: transparent; font: 400 clamp(1.2rem, 1.7vw, 1.45rem)/1.15 var(--f-crt); color: var(--phos-2); text-shadow: inherit;
  transition: color .15s, background-color .15s;
}
.dialog__opts button .n { color: var(--phos-3); min-width: 1.4em; }
.dialog__opts button:hover, .dialog__opts button:focus-visible { color: #b6ffc9; background: rgba(99, 255, 138, .08); outline: none; }
.dialog__opts button:hover .n, .dialog__opts button:focus-visible .n { color: var(--phos); }
.dialog__opts button[aria-pressed="true"] { color: var(--phos); background: rgba(99, 255, 138, .12); }
.dialog__opts button.is-asked:not([aria-pressed="true"]) { color: rgba(52, 213, 98, .55); }
.dialog__answers { display: none; }
html:not(.js) .dialog__answers { display: grid; gap: 10px; margin-top: 16px; color: var(--bone-2); }

/* ================================================================ PATIČKA */
.footer { position: relative; background: var(--metal); box-shadow: inset 0 1px 0 rgba(255, 236, 190, .18); }
.footer__stripe { height: 10px; background: repeating-linear-gradient(-45deg, #f2a72e 0 12px, #17110a 12px 24px); opacity: .85; box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .6); }
.footer__inner { padding-block: clamp(48px, 7vw, 90px) 40px; }
.footer__big {
  font: 900 clamp(2.6rem, 7.6vw, 7.4rem)/.86 var(--f-display); text-transform: uppercase; letter-spacing: -.004em;
  color: transparent; -webkit-text-stroke: 1.2px rgba(236, 223, 196, .32); text-wrap: balance;
}
.footer__cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px 80px; margin-top: clamp(36px, 5vw, 64px); padding-top: 28px; box-shadow: inset 0 2px 0 rgba(0, 0, 0, .5), inset 0 3px 0 rgba(255, 236, 190, .06); }
.footer__legal { display: grid; gap: 12px; font-size: .9rem; line-height: 1.6; color: #b2a283; text-shadow: 0 1px 0 rgba(0, 0, 0, .7); max-width: 70ch; }
.footer__meta { display: grid; gap: 14px; align-content: start; font-size: .92rem; color: var(--bone-2); text-shadow: 0 1px 0 rgba(0, 0, 0, .7); }
.footer__status { justify-self: start; padding: 8px 12px 7px; font: 400 1.2rem/1 var(--f-crt); color: var(--phos); text-shadow: 0 0 8px rgba(99, 255, 138, .5); background: linear-gradient(180deg, #03100a, #061a0d); border-radius: 3px; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .9), 0 1px 0 rgba(255, 236, 190, .1); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__links:empty { display: none; }
.footer__links a { font: 700 .82rem/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--amber); }
.footer__top { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--bone); }
.footer__top svg { width: 16px; height: 16px; color: var(--amber); }

/* ================================================================ RESPONSIVITA */
@media (max-width: 1180px) {
  .nav__link { padding-inline: 8px; letter-spacing: .12em; }
  .brand__tag { display: none; }
  .plaques { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plaque { min-height: 300px; }
  .survey { grid-template-columns: minmax(0, 1fr); }
  .survey__mapwrap { position: relative; top: auto; }
  .survey__side { padding: 18px 8px 4px; }
  .route { columns: 2; column-gap: 26px; }
  .route::before { display: none; }
  .loc { break-inside: avoid; }
}
@media (max-width: 980px) {
  :root { --topbar-h: 58px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .topbar__inner { gap: 16px; }
  .console__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .module--log { display: none; }
  .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .req { grid-template-columns: minmax(0, 1fr); }
  .tvwall { grid-template-columns: 1fr 1fr; }
  .tv:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .tv:nth-child(1), .tv:nth-child(3) { transform: none; }
  .dialog__top { grid-template-columns: minmax(0, 1fr); }
  .dialog__speaker { display: grid; grid-template-columns: 150px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 16px; }
  .crt--scope { height: 70px; grid-row: 1 / 3; }
  .dialog__name { margin: 0; align-self: end; }
  .dialog__channel { align-self: start; }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero__view { min-height: 0; }
  .hero { grid-template-rows: auto auto; min-height: 0; }
  .hero__view { height: calc(100svh - var(--topbar-h) - 20px); min-height: 600px; max-height: 860px; }
  .hero__shade { background: linear-gradient(0deg, rgba(12, 8, 4, .94) 0%, rgba(12, 8, 4, .72) 40%, rgba(12, 8, 4, .1) 70%), linear-gradient(180deg, rgba(12, 8, 4, .5) 0%, rgba(12, 8, 4, 0) 18%); }
  .lead { font-size: 1rem; }
  .req-line { font-size: .9rem; padding: 12px 14px; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .console__inner { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .plaques { grid-template-columns: minmax(0, 1fr); }
  .plaque { min-height: 0; }
  .plaque__title { margin-top: 30px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { box-shadow: inset 0 1px 0 rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 236, 190, .07); }
  .stats > div:nth-child(4) { box-shadow: inset 1px 0 0 rgba(0, 0, 0, .55), inset 2px 0 0 rgba(255, 236, 190, .07), inset 0 1px 0 rgba(0, 0, 0, .55); }
  .survey { padding: 8px; }
  .survey__map { overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #8a7753 transparent; }
  .map { width: 640px; max-width: none; }
  .survey__hint { display: flex; }
  .route { columns: 1; }
  .loc.is-planned .loc__state { display: none; }
  .crt--reply { min-height: 140px; padding: 18px 20px; }
  .route::before { display: block; }
  .tvwall { grid-template-columns: minmax(0, 1fr); }
  .tv:nth-child(3) { display: none; }
  .tv:nth-child(1) { order: 2; }
  .devlog__list { font-size: 1.2rem; }
  .devlog__list li { grid-template-columns: auto 1fr; }
  .devlog__list li .devlog__text { grid-column: 1 / -1; }
  .sheet { transform: none; }
  .sheet[data-reveal], .sheet[data-reveal].is-in { transform: none; }
  .ink-stamp { position: relative; right: auto; top: auto; display: inline-block; margin-top: 26px; transform: rotate(-4deg); }
  .sheet__head { flex-direction: column; gap: 6px; }
  .brand__name { font-size: 1.25rem; }
}
@media (max-width: 420px) {
  .lang__lever { display: none; }
  .lang { gap: 10px; }
}

/* rozházené textury, aby se rez neopakoval na každém plechu stejně */
.plaque:nth-child(2) { background-position: 0 0, -210px -140px, 0 0; }
.plaque:nth-child(3) { background-position: 0 0, -90px -330px, 0 0; }
.plaque:nth-child(4) { background-position: 0 0, -360px -60px, 0 0; }
.tv:nth-child(2) { background-position: 0 0, -260px -200px, 0 0; }
.tv:nth-child(3) { background-position: 0 0, -130px -390px, 0 0; }
.console { background-position: 0 0, -170px -300px, 0 0; }
.warnplate { background-position: 0 0, -300px -120px, 0 0; }
.stats { background-position: 0 0, -40px -250px, 0 0; }
.survey { background-position: 0 0, -380px -10px, 0 0; }
.dialog { background-position: 0 0, -220px -420px, 0 0; }
.footer { background-position: 0 0, -60px -180px, 0 0; }

@supports (grid-template-rows: subgrid) {
  .plaque { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .plaque__icon, .plaque__title, .plaque__text, .plaque__link { align-self: start; }
  .plaque__link { justify-self: start; }
}

.survey__hint { display: none; align-items: center; gap: 8px; margin: 10px 4px 2px; font: 700 .68rem/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: #ad9c77; }
.survey__hint svg { width: 16px; height: 16px; color: var(--amber); }
