/* Crisis Input — public landing */

/* Anton ships one weight; the range keeps browsers from synthesising a bold over it. */
@font-face {
    font-family: "Anton";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/Anton-latin.912c3c9f2621.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: "Anton";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/Anton-latin-ext.ab8365836d69.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/InterVariable.2bf3d951bf9d.woff2") format("woff2");
}

@font-face {
    font-family: "JetBrains Mono";
    font-style: normal;
    font-weight: 100 800;
    font-display: swap;
    src: url("../fonts/JetBrainsMonoVariable.cc66df4d465c.woff2") format("woff2");
}

:root {
    --bg: #0a0a0a;
    --panel: #141414;
    --panel-raised: #1a1a1a;
    --line: #2e2e2e;
    --line-strong: #5a5a5a;
    --text: #fafafa;
    --text-soft: #d4d4d4;
    --text-muted: #a3a3a3;
    --accent: #e8702a;
    --accent-soft: #f0a070;
    --ink: #0a0a0a;
    --danger: #ff9c8a;
    --font-display: "Anton", "Inter", Impact, "Arial Narrow", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
    --display-scale: 1;
    --shell: 1280px;
    --gutter: clamp(20px, 5.5vw, 80px);
    --section-pad: clamp(56px, 8vw, 88px);
}

/* Anton has no Cyrillic or Greek glyphs: those headlines fall back to Inter, which runs wider. */
:lang(bg), :lang(el) { --display-scale: .78; }

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.section--accent :focus-visible, .hero--regie :focus-visible { outline-color: var(--ink); }
.lead-form :focus-visible { outline-color: var(--text); }

[hidden] { display: none !important; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.shell--wide { max-width: 1440px; }
.shell--narrow { max-width: 900px; }

/* Type */
.display {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: break-word;
    hyphens: auto;
    text-wrap: balance;
}
.display--hero { font-size: calc(clamp(46px, 8.2vw, 124px) * var(--display-scale)); line-height: 1.06; }
.display--giant { font-size: calc(clamp(52px, 9.4vw, 140px) * var(--display-scale)); line-height: 1.06; }
.display--xxl { font-size: calc(clamp(42px, 7vw, 100px) * var(--display-scale)); line-height: 1.06; }
.display--xl { font-size: calc(clamp(38px, 6vw, 86px) * var(--display-scale)); }
.display--lg { font-size: calc(clamp(32px, 4.4vw, 64px) * var(--display-scale)); line-height: 1.06; }
.display__main, .display__sub { display: block; }
.display__sub { margin-top: .12em; color: var(--accent); font-size: .62em; }
.accent { color: var(--accent); }

.eyebrow, .mono-note, .kicker {
    font-family: var(--font-mono);
    text-transform: uppercase;
}
.eyebrow { color: var(--accent); font-size: 13px; letter-spacing: .1em; line-height: 1.5; }
.eyebrow strong { font-weight: 700; }
.mono-note { color: var(--text-muted); font-size: 12px; letter-spacing: .06em; line-height: 1.5; }
.mono-note--caption { padding-top: 20px; }
.mono-note--ink { color: var(--ink); font-weight: 700; }
.lead { max-width: 600px; color: var(--text-soft); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; }
.fine { color: var(--text-muted); font-size: 13px; line-height: 1.55; }

.dot { flex: none; width: 9px; height: 9px; background: var(--accent); }
.dot--round { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--ink); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 44px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 0;
    color: var(--ink);
    background: var(--accent);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--accent:hover { background: var(--text); }
.btn--ghost { border-color: var(--text); color: var(--text); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: var(--text); }
.btn--ink { color: var(--accent); background: var(--ink); }
.btn--ink:hover { color: var(--text); }
.btn--xl { padding: 18px 26px; font-size: 17px; }
.link-strong { padding: 12px 4px; font-size: 17px; font-weight: 700; text-underline-offset: 4px; }

/* Ticker */
.tape { overflow: hidden; padding: 11px 0; color: var(--ink); background: var(--accent); font-family: var(--font-mono); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tape__track { display: flex; width: max-content; }
.tape__track span { padding-right: 40px; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 28px; min-height: 66px; padding-block: 10px; }
.site-header__tools { display: flex; align-items: center; gap: 12px 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: .04em; line-height: 1; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.brand__mark { width: 16px; height: 16px; background: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 20px; font-size: 14px; font-weight: 600; }
.site-nav__link { padding: 12px 0; color: var(--text-soft); text-decoration: none; }
.site-nav__link:hover { color: var(--accent); }
.view-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--text); color: var(--text); background: var(--bg); font-size: 14px; font-weight: 600; }
.view-switch__track { position: relative; flex: none; width: 38px; height: 20px; border-radius: 999px; background: var(--text); transition: background-color .15s ease; }
.view-switch__track span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .15s ease; }
.view-switch[aria-pressed="true"] .view-switch__track { background: var(--accent); }
.view-switch[aria-pressed="true"] .view-switch__track span { transform: translateX(18px); }
.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); }
.nav-toggle span { width: 20px; height: 2px; background: var(--text); transition: transform .15s ease, opacity .15s ease; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Language switcher */
.language-switcher { position: relative; }
.language-switcher > summary { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); color: var(--text-soft); font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary:hover, .language-switcher[open] > summary { border-color: var(--text); color: var(--text); }
.language-switcher__code { color: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.language-switcher__chevron { color: var(--text-muted); transition: transform .15s ease; }
.language-switcher[open] .language-switcher__chevron { transform: rotate(180deg); }
.language-switcher__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); width: min(330px, calc(100vw - 40px)); max-height: min(560px, calc(100vh - 140px)); padding: 6px; overflow-y: auto; border: 1px solid var(--line-strong); background: var(--panel); }
.language-switcher__menu a { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 40px; padding: 8px 10px; color: var(--text-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.language-switcher__menu a span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.language-switcher__menu a:hover { color: var(--text); background: var(--panel-raised); }
.language-switcher__menu a[aria-current="page"] { color: var(--ink); background: var(--accent); }
.language-switcher__menu a[aria-current="page"] .language-switcher__code { color: var(--ink); }

.site-nav .language-switcher__current { display: none; }

/* Hero */
.hero { padding-bottom: 24px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 56px; align-items: center; padding-block: 56px 40px; }
.hero__copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; color: var(--accent); font-size: 13px; letter-spacing: .1em; line-height: 1.4; }
.kicker__live { display: inline-flex; align-items: center; gap: 10px; }
.kicker--ink { color: var(--ink); font-weight: 700; }
.clock { padding: 4px 10px; border: 1px solid currentColor; font-weight: 700; white-space: nowrap; }
.clock__value { --clock: 19; counter-reset: clock var(--clock); }
.clock__value::after { content: counter(clock, decimal-leading-zero); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }

.feed { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.feed__list { display: flex; flex-direction: column; gap: 8px; }
.feed__slot { border: 1px dashed var(--line); border-radius: 14px; }
.toast { display: flex; align-items: center; gap: 12px; min-height: 60px; margin: -1px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel-raised); }
.toast__icon { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 9px; color: var(--ink); background: var(--accent); font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1; }
.toast__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.toast__meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.toast__title { font-size: 15px; font-weight: 600; line-height: 1.25; }
.toast--alert { border-color: var(--accent); }
.toast--alert .toast__icon { background: var(--text); }
.toast--alert .toast__meta { color: var(--accent); }

.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; transform: perspective(1800px) rotateX(12deg) scale(.94); transform-origin: center top; }
.tile { position: relative; display: block; aspect-ratio: 16 / 10; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tile:is(a):hover { border-color: var(--text); }
.tile__label { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 4px 8px; overflow: hidden; background: var(--bg); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; line-height: 1.4; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.tile--accent { border-color: var(--accent); }
.tile--accent .tile__label { color: var(--accent); }
.tile--tv { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; border: 2px solid var(--accent); }
.tile--tv video { object-position: center; }
.tile__live { position: absolute; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 5px 10px; color: var(--ink); background: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; pointer-events: none; }

.hero--regie { padding-bottom: 64px; color: var(--ink); background: var(--accent); }
.hero__stack { display: flex; flex-direction: column; gap: 40px; }
.hero__grid--regie { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); padding-bottom: 0; }
.hero--regie .lead { color: var(--ink); font-weight: 500; }
.display--regie { font-size: calc(clamp(42px, 7vw, 104px) * var(--display-scale)); }
.cue-board { padding: 8px 20px; color: var(--text); background: var(--ink); }
.cue-board li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cue-board li:last-child { border-bottom: 0; }
.cue-board__time { flex: none; width: 62px; color: var(--accent); font-family: var(--font-display); font-size: 24px; font-weight: 800; line-height: 1; }
.cue-board__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.25; }
.cue-board__state { position: relative; flex: none; color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.cue-board__fired { position: absolute; top: -3px; right: 0; padding: 3px 7px; color: var(--ink); background: var(--accent); font-weight: 700; white-space: nowrap; }

/* Screenshots */
.shot { display: block; margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); }
.shot--ink { display: flex; flex-direction: column; gap: 10px; }
.shot--ink img { border: 3px solid var(--ink); }

/* Sections */
.section { padding-block: var(--section-pad); border-top: 1px solid var(--line); }
.section--panel { background: var(--panel); }
.section--accent { border-top: 0; color: var(--ink); background: var(--accent); }
.section__stack { display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 64px; }
.section-head > .display { flex: 2 1 460px; min-width: 0; }
.section-head__aside { display: flex; flex: 1 1 320px; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; color: var(--text-soft); }
.section-head__aside--ink { gap: 18px; color: var(--ink); font-weight: 500; }
.scenario-title { color: var(--text); font-size: 22px; font-weight: 700; line-height: 1.25; }

.frieze { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); border-top: 4px solid var(--accent); }
.frieze li { display: flex; flex-direction: column; gap: 8px; padding: 20px 16px 4px; border-left: 1px solid var(--line); }
.frieze__time { color: var(--accent); font-family: var(--font-display); font-size: 64px; font-weight: 800; line-height: 1; }
.frieze__channel { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.frieze__title { font-size: 17px; font-weight: 600; line-height: 1.3; }

.timeline { border: 1px solid var(--line); background: var(--panel); }
.timeline summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; }
.timeline summary::-webkit-details-marker { display: none; }
.timeline summary::after { order: 3; color: var(--accent); font-family: var(--font-mono); font-size: 22px; line-height: 1; content: "+"; }
.timeline[open] summary::after { content: "−"; }
.timeline__range { margin-left: auto; color: var(--accent); font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; }
.timeline__list { padding: 0 20px; border-top: 1px solid var(--line); }
.timeline__list li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.timeline__time { color: var(--accent); font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.timeline__list small { display: block; color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.timeline__list strong { display: block; margin-top: 2px; font-size: 16px; line-height: 1.35; }
.timeline__list p { margin-top: 4px; color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.timeline h3 { padding: 20px 20px 0; color: var(--accent); font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.timeline__decisions { display: grid; gap: 8px; padding: 12px 20px 22px 40px; color: var(--text-soft); font-size: 15px; list-style: square; }
.timeline__decisions li::marker { color: var(--accent); }

.section--rail { padding-inline: 0; }
.section-head--rail { padding-bottom: 40px; }
.section-head--rail .mono-note { flex: 0 1 auto; font-size: 13px; }
.rail { display: flex; gap: 24px; padding: 8px var(--gutter) 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: var(--accent) var(--panel-raised); }
.rail__card { display: flex; flex: none; flex-direction: column; gap: 16px; width: min(860px, 84vw); scroll-snap-align: center; }
.rail__shot { display: block; border: 1px solid var(--line); }
.rail__shot:hover { border-color: var(--text); }
.rail__card--accent .rail__shot { border: 2px solid var(--accent); }
.rail__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.rail__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-family: var(--font-display); font-size: calc(clamp(32px, 4vw, 44px) * var(--display-scale)); font-weight: 800; line-height: 1; text-transform: uppercase; }
.rail__title span { color: var(--accent); }
.rail__title h3 { font: inherit; }
.rail__text { max-width: 640px; color: var(--text-soft); font-size: 16px; line-height: 1.55; }
.rail__links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; }
.rail__links a, .also a { color: var(--accent-soft); text-underline-offset: 4px; }
.rail__links a:hover, .also a:hover { color: var(--text); }
.news-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news-strip a { display: flex; align-items: center; gap: 10px; color: var(--text-soft); font-size: 13px; line-height: 1.35; text-decoration: none; }
.news-strip a:hover { color: var(--text); }
.news-strip img { flex: none; width: 60px; height: 40px; border: 1px solid var(--line); object-fit: cover; }
.also { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-soft); font-size: 15px; }
.also__label { color: var(--accent); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.also__links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; }

.you { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px 72px; align-items: start; }
.you__copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; color: var(--text-soft); }
.you__copy .display { color: var(--text); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { color: var(--text-soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.field--xl input { width: 100%; padding: 16px; border: 2px solid var(--accent); border-radius: 0; color: var(--text); background: var(--bg); font-size: 20px; font-weight: 600; }
.you__preview { min-width: 0; border: 1px solid var(--line); background: var(--bg); }
.you__banner { padding: 14px 20px; color: var(--ink); background: var(--accent); font-family: var(--font-display); font-size: calc(clamp(20px, 2.2vw, 30px) * var(--display-scale)); font-weight: 800; line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }
.you__list > div { display: flex; gap: 16px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.you__list dt { flex: none; width: 84px; padding-top: 4px; color: var(--accent); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; overflow-wrap: anywhere; }
.you__list dd { min-width: 0; font-size: 19px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
[data-org] { text-decoration: underline dashed; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.you__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 20px; }
.you__foot .fine { flex: 1 1 220px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 56px; align-items: center; }
.split__copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; color: var(--text-soft); }
.split__copy .display { color: var(--text); }
.split .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.split .shot:hover img { border-color: var(--text); }

.offer { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px 80px; }
.offer__main, .offer__risks { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.offer__risks { gap: 16px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); border-top: 4px solid var(--accent); counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 4px; border-left: 1px solid var(--line); counter-increment: step; }
.steps h3 { font-family: var(--font-display); font-size: calc(26px * var(--display-scale)); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.steps h3::before { content: counter(step) ". "; }
.steps p { color: var(--text-soft); font-size: 15px; line-height: 1.55; }
.risk-list { font-family: var(--font-display); font-size: calc(clamp(28px, 3.2vw, 46px) * var(--display-scale)); font-weight: 800; line-height: 1.14; text-transform: uppercase; overflow-wrap: anywhere; }

.faq { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px 72px; align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 16px; }
.faq__list { border-top: 4px solid var(--accent); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { flex: none; color: var(--accent); font-family: var(--font-mono); font-size: 24px; line-height: 1; content: "+"; }
.faq__item[open] summary::after { content: "−"; }
.faq__item summary:hover { color: var(--accent); }
.faq__item > div { max-width: 68ch; padding: 0 40px 22px 0; color: var(--text-soft); font-size: 16px; line-height: 1.65; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.contact__intro { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.section--accent .lead { color: var(--ink); font-weight: 500; }
.lead-form { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: clamp(20px, 3vw, 30px); color: var(--text); background: var(--ink); }
.lead-form__title { font-family: var(--font-display); font-size: calc(26px * var(--display-scale)); font-weight: 800; line-height: 1.2; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field > label { display: block; margin-bottom: 8px; color: var(--text-soft); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; }
.form-field > label > span[aria-hidden="true"] { color: var(--accent); }
.form-optional { color: var(--text-muted); }
.form-field input:not([type="checkbox"]), .form-field select, .form-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: 0; color: var(--text); background: var(--panel); font-size: 16px; line-height: 1.4; }
.form-field select { appearance: auto; color-scheme: dark; }
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #8a8a8a; }
.form-field input:not([type="checkbox"]):focus, .form-field select:focus, .form-field textarea:focus, .field--xl input:focus { border-color: var(--accent); outline: 2px solid var(--accent); outline-offset: 0; }
.form-field [aria-invalid="true"] { border-color: var(--danger) !important; }
.form-help, .form-contact-help { color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.form-help { margin-top: 6px; }
.consent-control { display: flex; align-items: flex-start; gap: 12px; }
.consent-control input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.consent-control label { color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.consent-control a { color: var(--accent-soft); }
.captcha-field { min-height: 78px; }
.form-error, .form-alert { margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 600; line-height: 1.45; }
.form-alert { margin: 0; padding: 12px 14px; border-left: 3px solid var(--danger); background: #2a1512; }
.form-alert ul { margin: 0; padding-left: 18px; list-style: disc; }
.form-contact-help[role="alert"] { color: var(--danger); font-weight: 600; }
.btn--submit { width: 100%; }
.btn__loading { display: none; }
.lead-form.is-submitting .btn__label { display: none; }
.lead-form.is-submitting .btn__loading { display: inline; }
.lead-form.is-submitting .btn--submit { pointer-events: none; opacity: .8; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; line-height: 1.6; text-transform: uppercase; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__links a { color: var(--text-soft); text-underline-offset: 4px; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__legal { flex-basis: 100%; }

/* Inner pages */
.page { min-height: calc(100vh - 160px); padding-block: clamp(40px, 7vw, 88px); }
.page__stack { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.page__stack > p { max-width: 68ch; color: var(--text-soft); }
.page__stack > p a { color: var(--accent-soft); text-underline-offset: 4px; }
.page__stack .lead-form { width: 100%; margin-top: 10px; border: 1px solid var(--line); background: var(--panel); }
.page__stack .lead-form .btn { align-self: flex-start; }
.page--center .page__stack { align-items: center; padding-block: clamp(40px, 10vw, 120px); text-align: center; }

.legal-page__back { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-soft); font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-underline-offset: 4px; }
.legal-page__back:hover { color: var(--text); }
.legal-page__hero { display: flex; flex-direction: column; gap: 16px; margin-top: 36px; }
.legal-page__hero > p:not(.eyebrow):not(.legal-page__updated) { max-width: 66ch; color: var(--text-soft); }
.legal-page__updated { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.legal-page__updated strong { color: var(--text-soft); font-weight: 700; }
.legal-notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding: 16px 18px; border: 1px solid var(--accent); color: var(--text-soft); }
.legal-notice__icon { display: grid; flex: none; width: 22px; height: 22px; place-items: center; color: var(--ink); background: var(--accent); font-weight: 700; }
.legal-notice strong { display: block; color: var(--text); }
.legal-notice p { margin-top: 4px; font-size: 14px; }
.legal-content { margin-top: 36px; padding: 4px clamp(16px, 4vw, 34px); border: 1px solid var(--line); border-top: 4px solid var(--accent); background: var(--panel); }
.legal-section { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: clamp(24px, 3.5vw, 34px) 0; border-top: 1px solid var(--line); }
.legal-section:first-child { border-top: 0; }
.legal-section__number { color: var(--accent); font-family: var(--font-display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.legal-section h2 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.legal-section p { max-width: 72ch; margin-top: 12px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }
.legal-section ul { margin-top: 12px; padding-left: 20px; color: var(--text-soft); font-size: 16px; list-style: square; }
.legal-section a { color: var(--accent-soft); font-weight: 600; text-underline-offset: 4px; }
.legal-section a:hover { color: var(--text); }
.legal-section code { padding: 2px 6px; color: var(--text); background: var(--bg); font-family: var(--font-mono); font-size: .85em; }
.legal-definition-list { display: grid; gap: 12px; margin-top: 16px; }
.legal-definition-list > div { display: grid; grid-template-columns: minmax(130px, .36fr) minmax(0, 1fr); gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.legal-definition-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-definition-list dt { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; line-height: 1.7; text-transform: uppercase; }
.legal-definition-list dd { color: var(--text-soft); font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.legal-definition-list dd p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.legal-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 610px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--text-soft); line-height: 1.5; text-align: left; vertical-align: top; }
.legal-table th { color: var(--text-muted); background: var(--bg); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--text); font-weight: 600; }

/* Motion */
@property --clock {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes tape-left { to { transform: translateX(-50%); } }
    .tape__track { animation: tape-left 30s linear infinite; }
    .tape:hover .tape__track { animation-play-state: paused; }

    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
    .dot { animation: blink 1.2s steps(2) infinite; }

    @keyframes clock-tick { from { --clock: 0; } to { --clock: 23; } }
    .clock__value { animation: clock-tick 24s steps(23) infinite; }

    /* Each inject appears at its minute of a 24-second loop, then the board clears. */
    @keyframes at-2 { 0%, 8.3% { opacity: 0; transform: translateY(-12px); } 10%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    @keyframes at-5 { 0%, 20.8% { opacity: 0; transform: translateY(-12px); } 22.5%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    @keyframes at-8 { 0%, 33.3% { opacity: 0; transform: translateY(-12px); } 35%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    @keyframes at-11 { 0%, 45.8% { opacity: 0; transform: translateY(-12px); } 47.5%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    @keyframes at-16 { 0%, 66.6% { opacity: 0; transform: translateY(-12px); } 68.3%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    @keyframes at-19 { 0%, 79.1% { opacity: 0; transform: translateY(-12px); } 80.8%, 92% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: none; } }
    .at-2 { animation: at-2 24s linear infinite; }
    .at-5 { animation: at-5 24s linear infinite; }
    .at-8 { animation: at-8 24s linear infinite; }
    .at-11 { animation: at-11 24s linear infinite; }
    .at-16 { animation: at-16 24s linear infinite; }
    .at-19 { animation: at-19 24s linear infinite; }

    @supports (animation-timeline: view()) {
        @keyframes rise { from { opacity: 0; transform: translateY(90px) rotate(-2deg); } }
        .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
        @keyframes slide { from { opacity: 0; transform: translateX(-140px); } }
        .reveal-slide { animation: slide linear both; animation-timeline: view(); animation-range: entry 0% cover 34%; }
        @keyframes wall-up { to { transform: perspective(1800px) rotateX(0deg) scale(1.03); } }
        .wall { animation: wall-up linear both; animation-timeline: view(); animation-range: cover 12% cover 50%; }
        @keyframes rail-card { 0% { opacity: .35; transform: scale(.86); } 45%, 60% { opacity: 1; transform: none; } 100% { opacity: .35; transform: scale(.86); } }
        .rail__card { animation: rail-card linear both; animation-timeline: view(inline); animation-range: cover 0% cover 100%; }
    }
}

/* Responsive */
@media (max-width: 1180px) {
    .nav-toggle { display: inline-flex; }
    .site-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 4px; max-height: calc(100vh - 66px); padding: 12px var(--gutter) 24px; overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--bg); font-size: 17px; }
    .site-nav.is-open { display: flex; }
    .site-nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .site-nav .view-switch, .site-nav .btn { justify-content: center; margin-top: 10px; font-size: 16px; }
    .site-nav .language-switcher { margin-top: 10px; }
    .site-nav .language-switcher__current { display: inline; }
    .site-nav .language-switcher__menu { position: static; width: 100%; max-height: none; margin-top: 8px; }
}

@media (max-width: 960px) {
    .hero__grid, .hero__grid--regie, .you, .split, .offer, .faq, .contact { grid-template-columns: minmax(0, 1fr); }
    .hero__grid { padding-block: 36px 32px; }
    .split .shot { order: 2; }
}

@media (max-width: 820px) {
    .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; transform: none !important; animation: none !important; }
    .tile--tv { grid-row: auto; order: -1; aspect-ratio: 16 / 9; }
    .frieze__time { font-size: 48px; }
    .news-strip { grid-template-columns: minmax(0, 1fr); }
    .section__stack { gap: 36px; }
}

@media (max-width: 600px) {
    body { font-size: 16px; }
    .tape { padding: 9px 0; font-size: 12px; }
    .tape__track span { padding-right: 32px; }
    .brand { font-size: 20px; }
    .brand__mark { width: 13px; height: 13px; }
    .site-header__tools .btn { display: none; }
    .btn--xl { width: 100%; padding: 16px 20px; font-size: 16px; }
    .actions { align-items: stretch; }
    .form-grid { grid-template-columns: minmax(0, 1fr); }
    .rail { gap: 14px; }
    .rail__card { width: min(860px, 86vw); }
    .frieze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .you__list > div { flex-direction: column; gap: 4px; }
    .you__list dt { width: auto; padding-top: 0; }
    .you__list dd { font-size: 17px; }
    .legal-section { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .legal-definition-list > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .faq__item > div { padding-right: 0; }
    .timeline__list li { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; }
    .timeline__time { font-size: 22px; }
}

/* Fictional airport website shown inside the exercise: it keeps its own, lighter identity. */
.airport-site {
    --ink: #172327;
    --ink-soft: #425457;
    --paper: #fffefa;
    --line: #d6dcd4;
    --slate: #17292d;
    color: var(--ink);
    background: var(--paper);
    font-size: 16px;
    line-height: 1.55;
}
.airport-site a { text-decoration: none; }
.airport-site :focus-visible { outline-color: #337f9b; }
.airport-site__context, .airport-site__header, .airport-site__main { padding-inline: max(1.2rem, calc((100vw - 74rem) / 2)); }
.airport-site__context, .airport-site__header, .airport-site__header nav, .airport-site__brand { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.5rem; }
.airport-site__context, .airport-site__header { justify-content: space-between; }
.airport-site__context { padding-block: .65rem; background: var(--slate); color: white; font-size: .82rem; }
.airport-site__context a, .airport-site__header nav a[aria-current] { text-decoration: underline; text-underline-offset: .2em; }
.airport-site__header { padding-block: 1.1rem; border-bottom: 1px solid var(--line); }
.airport-site__brand { font-size: 1.15rem; font-weight: 650; }
.airport-site__brand img, .airline-card img { border-radius: .4rem; }
.airport-site__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); padding-block: clamp(2rem, 6vw, 5rem); }
.airport-site__main h1 { font-size: clamp(2.1rem, 4.5vw, 4.2rem); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 1.6rem; }
.airport-site__main h2 { font-size: 1.4rem; line-height: 1.23; margin-block: .5rem; }
.airport-site__status { padding: 1.2rem; background: #fff2d0; border-inline-start: 4px solid #967020; }
.airport-site__main dt { font-weight: 700; margin: 1.2rem 0 .2rem; }
.airport-site__main dd { margin: 0; }
.airport-site__main figure { margin: 0; }
.airport-site__main figure img { display: block; width: 100%; height: auto; }
.airport-site__main figcaption { margin-top: .35rem; color: var(--ink-soft); font-size: .75rem; }
.airline-card { border-block: 1px solid var(--line); padding: 1.3rem 0; }
.airline-card p { margin: .8rem 0; }
@media (max-width: 760px) {
    .airport-site__main { grid-template-columns: minmax(0, 1fr); }
}
