:root {
    --bg: #0f1115;
    --bg-deep: #090b0f;
    --panel: #171a21;
    --panel-soft: #1a1f27;
    --card: #20242d;
    --card-2: #151922;
    --line: rgba(168, 173, 183, 0.18);
    --line-strong: rgba(242, 242, 242, 0.22);
    --text: #f2f2f2;
    --muted: #a8adb7;
    --muted-2: #707783;
    --red: #d7263d;
    --red-dark: #7f1426;
    --orange: #f59e0b;
    --violet: #7c3aed;
    --blue: #38bdf8;
    --gray-dot: #8f97a5;
    --dead: #030406;
    --radius: 8px;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --horror: "Rubik Wet Paint", "Rubik Glitch", "Russo One", Impact, fantasy;
    --display: "Russo One", "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
    --condensed: "Russo One", "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
    --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --space-2xs: 6px;
    --space-xs: 10px;
    --space-sm: 14px;
    --space-md: clamp(16px, 1.4vw, 22px);
    --space-lg: clamp(22px, 2.4vw, 36px);
    --space-xl: clamp(34px, 4.2vw, 64px);
    --block-gap: var(--space-lg);
    --inner-gap: var(--space-md);
    --panel-pad: clamp(18px, 2vw, 30px);
    --card-pad: clamp(12px, 1.1vw, 18px);
}

.i18n-value {
    unicode-bidi: isolate;
}

/* --------------------------------------------------------------------------
   V2: human cost wall, evidence charts and dossier-style contact form
   -------------------------------------------------------------------------- */

.version-two .cost-sequence {
    --cost-sequence-gap: clamp(6px, 0.65vw, 10px);
    --cost-connector-track: clamp(38px, 3vw, 48px);
    --cost-icon-size: clamp(168px, 15.5vw, 224px);
    position: relative;
    z-index: 2;
    isolation: isolate;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) var(--cost-connector-track)
        minmax(0, 1fr) var(--cost-connector-track)
        minmax(0, 1fr) var(--cost-connector-track)
        minmax(0, 1fr);
    gap: var(--cost-sequence-gap);
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin-top: clamp(28px, 3vw, 46px);
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.version-two .cost-sequence::before {
    content: none;
}

.version-two .cost-sequence article {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: var(--cost-icon-size) auto;
    gap: clamp(12px, 1vw, 16px);
    align-content: start;
    align-items: start;
    min-width: 0;
    min-height: clamp(300px, 25vw, 350px);
    padding: clamp(18px, 1.6vw, 24px);
    overflow: hidden;
    border: 1px solid rgba(255, 91, 112, 0.34);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 22%, rgba(215, 38, 61, 0.11), transparent 38%),
        linear-gradient(180deg, rgba(19, 10, 14, 0.9), rgba(6, 8, 12, 0.97));
    box-shadow:
        inset 4px 0 0 rgba(215, 38, 61, 0.72),
        inset 0 0 32px rgba(171, 0, 0, 0.055),
        0 14px 30px rgba(0, 0, 0, 0.28);
}

.version-two .cost-sequence article::before {
    content: none;
}

.version-two .cost-sequence article > * {
    position: relative;
    z-index: 1;
}

.version-two .cost-sequence-connector {
    position: relative;
    z-index: 12;
    isolation: isolate;
    display: grid;
    width: clamp(42px, 3vw, 48px);
    height: clamp(42px, 3vw, 48px);
    align-self: center;
    justify-self: center;
    place-items: center;
    pointer-events: none;
    border: 1px solid rgba(255, 64, 91, 0.86);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(76, 7, 19, 0.96), #07090d 72%);
    clip-path: none;
    box-shadow:
        inset 0 0 0 3px rgba(215, 38, 61, 0.12),
        inset 0 0 16px rgba(215, 38, 61, 0.22),
        0 0 16px rgba(215, 38, 61, 0.32),
        0 10px 20px rgba(0, 0, 0, 0.5);
}

.version-two .cost-sequence-connector::before {
    position: relative;
    z-index: 2;
    content: "→";
    color: #ff5b72;
    font-family: var(--display);
    font-size: clamp(22px, 1.7vw, 28px);
    line-height: 1;
    text-shadow: 0 0 12px rgba(255, 49, 80, 0.72);
    transform: translate(1px, -1px);
}

.version-two .cost-sequence-connector::after {
    position: absolute;
    inset: 6px;
    z-index: 1;
    content: "";
    border: 1px solid rgba(255, 91, 112, 0.22);
    border-radius: inherit;
    box-shadow: none;
}

.version-two .cost-sequence img {
    display: block;
    width: var(--cost-icon-size);
    height: var(--cost-icon-size);
    aspect-ratio: 1;
    align-self: center;
    justify-self: center;
    object-fit: contain;
    filter:
        drop-shadow(0 0 14px rgba(215, 38, 61, 0.32))
        drop-shadow(0 12px 16px rgba(0, 0, 0, 0.68));
}

.version-two .cost-sequence p {
    align-self: start;
    margin: 0;
    color: rgba(255, 248, 248, 0.9);
    max-width: 250px;
    justify-self: center;
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 720;
    line-height: 1.36;
    text-align: center;
    overflow-wrap: normal !important;
    word-break: normal;
    hyphens: none !important;
    text-wrap: pretty;
}


.version-two .consequence-section .narrative-heading > .cost-result-arrow {
    display: grid;
    width: min(780px, 84%);
    max-width: none;
    min-height: clamp(88px, 8vw, 116px);
    place-items: start center;
    margin: 0 auto;
    padding: clamp(18px, 1.8vw, 26px) 24px 38px;
    overflow: visible;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(255, 52, 80, 0.96), rgba(163, 5, 29, 0.98));
    clip-path: polygon(0 0, 100% 0, 100% 52%, 68% 52%, 50% 100%, 32% 52%, 0 52%);
    filter:
        drop-shadow(0 0 18px rgba(215, 38, 61, 0.48))
        drop-shadow(0 18px 20px rgba(0, 0, 0, 0.45));
    font-family: var(--display);
    font-size: clamp(22px, 2.2vw, 34px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-align: center;
    text-shadow: 0 2px 0 rgba(80, 0, 13, 0.7), 0 0 14px rgba(255, 255, 255, 0.18);
}

.version-two .cost-result-arrow span {
    transform: translateY(-1px);
}

.version-two .victim-carousel-stacks {
    display: grid;
    gap: 14px;
    padding-inline: 0;
}

.version-two .victim-carousel-stacks .victim-marquee {
    margin: 0;
    border-radius: 2px;
}

.version-two .victim-carousel-stacks .victim-marquee:nth-child(2) {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(4, 15, 21, 0.66);
}

.version-two .victim-carousel-stacks .victim-price-track,
.version-two .victim-carousel-stacks .victim-marquee.is-ready .victim-price-track {
    padding: 13px 0;
}

.version-two .victim-carousel-stacks .victim-price-group {
    align-items: stretch;
    gap: 14px;
    padding-right: 14px;
}

.version-two .victim-carousel-stacks .victim-price-group .victim-card {
    flex-basis: clamp(286px, 24vw, 360px);
    width: clamp(286px, 24vw, 360px);
    min-height: 352px;
    border-radius: 3px;
}

.version-two .victim-carousel-stacks .victim-price-group .victim-photo {
    aspect-ratio: 16 / 10;
}

.version-two .victim-carousel-stacks .victim-caption {
    min-height: 112px;
}

.version-two .consequence-section .human-stats article {
    grid-template-rows: auto auto auto minmax(112px, auto);
    min-height: 372px;
    align-content: start;
    padding: 24px 18px 18px;
}

.version-two .safety-warning {
    margin-top: clamp(34px, 4vw, 62px);
}

.version-two .safety-warning > div > p:not(.section-label):not(.safety-warning-future) {
    max-width: 1040px;
    margin: 18px 0 0;
    color: rgba(242, 242, 242, 0.82);
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.55;
}

.version-two .safety-warning-future {
    display: grid;
    gap: 7px;
    margin: 24px 0 0 !important;
    padding: 18px 20px;
    border-left: 5px solid #ff3856;
    background: rgba(126, 6, 26, 0.42);
}

.version-two .safety-warning-future strong {
    color: #fff;
    font-family: var(--condensed);
    font-size: clamp(24px, 2.3vw, 38px);
    line-height: 1.05;
}

.version-two .safety-warning-future span {
    color: #ffbdc6;
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 760;
    line-height: 1.35;
}

.version-two .responsibility-photo-switcher {
    margin-bottom: 22px;
}

.version-two .map-panel > .map-section-head {
    width: 100%;
    margin-inline: 0;
    justify-items: start;
    align-items: start;
    text-align: left;
}

.version-two .map-section-head > .section-label {
    justify-self: start;
    width: auto;
    text-align: left;
}

.version-two .contact-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: center;
    padding: clamp(38px, 6vw, 92px);
    overflow: hidden;
    border: 1px solid rgba(126, 90, 62, 0.55);
    border-left: 6px solid var(--red);
    border-radius: 0;
    background:
        linear-gradient(105deg, rgba(7, 9, 12, 0.98), rgba(32, 7, 12, 0.94)),
        url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow: inset 0 0 76px rgba(0, 0, 0, 0.42), 0 28px 84px rgba(0, 0, 0, 0.42);
}

.version-two .contact-section::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, var(--blue), var(--red) 42%, transparent 78%) top / 100% 3px no-repeat;
}

.version-two .contact-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(77, 48, 29, 0.78);
    border-left: 6px solid #861326;
    border-radius: 2px;
    background:
        linear-gradient(rgba(226, 219, 205, 0.9), rgba(198, 187, 169, 0.92)),
        url("textures/dossier-paper-stained.webp") center / cover no-repeat;
    box-shadow: inset 0 0 38px rgba(53, 31, 20, 0.18), 8px 12px 0 rgba(0, 0, 0, 0.18), 0 28px 64px rgba(0, 0, 0, 0.38);
    counter-reset: contact-field;
}

.version-two .contact-field {
    gap: 9px;
    color: #2d211a;
    font: 800 14px/1.35 var(--mono);
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.version-two .contact-field > span::before {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #861326;
    content: "0" counter(contact-field);
    counter-increment: contact-field;
    font-weight: 800;
}

.version-two .contact-field input,
.version-two .contact-field textarea {
    width: 100%;
    color: #1d1612;
    border: 1px solid rgba(77, 48, 29, 0.62);
    border-bottom: 3px solid rgba(92, 17, 31, 0.82);
    border-radius: 1px;
    outline: 0;
    background: rgba(255, 253, 247, 0.7);
    font: 500 18px/1.55 var(--sans);
    caret-color: #8e1025;
    box-shadow: inset 0 1px 8px rgba(54, 38, 27, 0.14);
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.version-two .contact-field input {
    min-height: 60px;
    padding: 14px 16px;
}

.version-two .contact-field textarea {
    min-height: 220px;
    padding: 16px;
}

.version-two .contact-field input:hover,
.version-two .contact-field textarea:hover {
    border-color: #6a5142;
    background: rgba(255, 253, 247, 0.9);
}

.version-two .contact-field input:focus,
.version-two .contact-field textarea:focus {
    outline: 3px solid rgba(56, 189, 248, 0.48);
    outline-offset: 2px;
    color: #1d1612;
    border-color: #277e9f;
    background: #fffdf7;
    box-shadow: inset 0 1px 8px rgba(54, 38, 27, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.version-two .contact-field input:user-invalid,
.version-two .contact-field textarea:user-invalid {
    border-color: #9f1026;
    box-shadow: 0 0 0 2px rgba(159, 16, 38, 0.14);
}

.version-two .contact-submit-row {
    display: flex;
    grid-column: 1 / -1;
    gap: 18px;
    align-items: center;
}

.version-two .contact-submit {
    display: inline-flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    color: #fff;
    border: 2px solid #500711;
    border-radius: 1px;
    background: linear-gradient(#af1730, #780a1d), url("textures/panel-grime.webp") center / cover;
    font: 800 15px/1.2 var(--mono);
    letter-spacing: 0.055em;
    text-shadow: 0 1px 0 #32030a;
    text-transform: uppercase;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 6px 7px 0 rgba(35, 0, 7, 0.28);
    transition: transform 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.version-two .contact-submit:hover {
    border-color: #500711;
    background: linear-gradient(#d32343, #8e0d25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 6px 9px 0 rgba(35, 0, 7, 0.32);
    transform: translateY(-2px);
}

.version-two .contact-submit:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.version-two .contact-submit:active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 3px 4px 0 rgba(35, 0, 7, 0.3);
    transform: translateY(1px);
}

.version-two .contact-submit:disabled {
    cursor: wait;
    opacity: 0.56;
    filter: grayscale(0.35);
    box-shadow: 3px 4px 0 rgba(35, 0, 7, 0.2);
    transform: none;
}

.version-two .contact-status {
    margin: 0;
    padding-left: 12px;
    color: #3d2d24;
    border-left: 3px solid #6a5142;
    font: 650 14px/1.45 var(--mono);
}

.version-two .contact-status:empty {
    display: none;
}

.version-two .contact-status[data-state="pending"] {
    color: #77500c;
}

.version-two .contact-status[data-state="success"] {
    color: #075b78;
}

.version-two .contact-status[data-state="error"] {
    color: #8b1023;
}

.version-two .site-footer {
    flex-direction: column;
    align-items: stretch;
}

.version-two .site-photo-credits {
    width: 100%;
    margin: 0;
    font-size: 14px;
}

.version-two .site-photo-credits > p {
    font-size: 15px;
}

.version-two .photo-credit-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.version-two .photo-credit-groups section {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(168, 173, 183, 0.16);
    background: rgba(7, 10, 14, 0.66);
}

.version-two .photo-credit-groups h3 {
    margin: 0 0 12px;
    color: #fff;
    font: 700 22px/1.1 var(--condensed);
}

.version-two .photo-credit-groups ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
}

.version-two .photo-credit-groups li {
    color: rgba(242, 242, 242, 0.68);
    line-height: 1.45;
}

.version-two .photo-credit-groups a {
    display: block;
    color: #ff5b72;
    font-size: 14px;
}

.version-two .photo-credit-groups small {
    display: block;
    margin-top: 2px;
    color: rgba(242, 242, 242, 0.56);
    font-size: 13px;
}

@media (max-width: 1220px) {
    .version-two .cost-sequence {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
        max-width: none;
    }

    .version-two .cost-sequence::before {
        content: none;
    }

    .version-two .cost-sequence-connector {
        width: 46px;
        height: 46px;
        justify-self: center;
        margin-block: -13px;
        clip-path: none;
    }

    .version-two .cost-sequence-connector::before {
        content: "↓";
        transform: translateY(-1px);
    }

    .version-two .cost-sequence article {
        grid-template: minmax(0, 1fr) / var(--cost-icon-size) minmax(0, 1fr);
        gap: 22px;
        align-items: center;
        min-height: 184px;
        padding: 20px 26px;
    }

    .version-two .cost-sequence img {
        width: var(--cost-icon-size);
        height: var(--cost-icon-size);
    }

    .version-two .cost-sequence p {
        max-width: none;
        justify-self: stretch;
        text-align: left;
    }
}

@media (max-width: 1080px) {
    .version-two .cost-sequence {
        --cost-icon-size: 156px;
    }
}

@media (max-width: 1100px) {
    .version-two .contact-section {
        grid-template-columns: 1fr;
    }

    .version-two .contact-form {
        width: 100%;
        max-width: 820px;
    }
}

@media (max-width: 720px) {
    .version-two .cost-sequence {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 0;
    }

    .version-two .cost-sequence-connector {
        width: 42px;
        height: 42px;
        margin-block: -12px;
    }

    .version-two .cost-sequence article {
        grid-template: minmax(0, 1fr) / var(--cost-icon-size) minmax(0, 1fr);
        gap: 16px;
        align-items: center;
        min-height: 142px;
        padding: 16px 18px;
    }

    .version-two .cost-sequence img {
        width: var(--cost-icon-size);
        height: var(--cost-icon-size);
    }

    .version-two .cost-sequence p {
        font-size: 17px;
        line-height: 1.34;
        text-align: left;
    }

    .version-two .consequence-section .narrative-heading > .cost-result-arrow {
        width: min(94%, 520px);
        min-height: 82px;
        padding: 15px 18px 30px;
        font-size: 21px;
    }

    .version-two .victim-carousel-stacks {
        gap: 10px;
        padding-inline: 0;
    }

    .version-two .victim-carousel-stacks .victim-price-group .victim-card {
        flex-basis: min(270px, 78vw);
        width: min(270px, 78vw);
        min-height: 342px;
    }

    .version-two .consequence-section .human-stats article {
        min-height: 350px;
    }

    .version-two .safety-warning {
        grid-template-columns: 1fr;
    }

    .version-two .safety-warning > img {
        width: 112px;
    }

    .version-two .contact-section {
        gap: 28px;
        padding: 30px 18px;
        border-left-width: 4px;
    }

    .version-two .contact-form {
        grid-template-columns: 1fr;
        gap: 17px;
        padding: 24px 18px;
        border-left-width: 4px;
    }

    .version-two .contact-field,
    .version-two .contact-field-wide,
    .version-two .contact-submit-row {
        grid-column: 1;
    }

    .version-two .contact-submit-row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .version-two .contact-submit {
        width: 100%;
    }

    .version-two .contact-field textarea {
        min-height: 190px;
    }

    .version-two .photo-credit-groups {
        grid-template-columns: 1fr;
        padding: 14px;
    }
}

@media (max-width: 420px) {
    .version-two .cost-sequence article {
        grid-template: auto auto / minmax(0, 1fr);
        gap: 10px;
        min-height: 0;
        padding: 16px 18px 20px;
    }

    .version-two .cost-sequence img {
        width: var(--cost-icon-size);
        height: var(--cost-icon-size);
    }

    .version-two .cost-sequence p {
        width: 100%;
        max-width: 26ch;
        justify-self: center;
        text-align: center;
    }
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    overflow-x: clip;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scrollbar-width: none;
}

html.hell-scrollbar-dragging {
    scroll-behavior: auto;
}

body.hell-scrollbar-dragging {
    user-select: none;
}

* {
    scrollbar-color: rgba(215, 38, 61, 0.76) rgba(9, 11, 15, 0.9);
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 17px;
    height: 17px;
}

*::-webkit-scrollbar-track {
    border-left: 1px solid rgba(242, 242, 242, 0.07);
    background:
        linear-gradient(180deg, rgba(9, 11, 15, 0.72), rgba(9, 11, 15, 0.42)),
        url("textures/scrollbar-hell-track.png") center / 100% 100% no-repeat,
        #090b0f;
    box-shadow:
        inset 0 0 16px rgba(0, 0, 0, 0.72),
        inset 1px 0 0 rgba(215, 38, 61, 0.08);
}

*::-webkit-scrollbar-thumb {
    border: 3px solid rgba(9, 11, 15, 0.9);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.48)),
        radial-gradient(circle at 50% 18%, rgba(245, 158, 11, 0.24), transparent 26%),
        radial-gradient(circle at 48% 70%, rgba(215, 38, 61, 0.28), transparent 30%),
        url("textures/scrollbar-hell-thumb.png") center / 100% 100% no-repeat,
        #171a21;
    background-clip: padding-box;
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.1),
        inset 0 0 14px rgba(0, 0, 0, 0.5),
        0 0 18px rgba(215, 38, 61, 0.28);
}

*::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.42)),
        radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.38), transparent 28%),
        radial-gradient(circle at 48% 68%, rgba(255, 51, 77, 0.42), transparent 32%),
        url("textures/scrollbar-hell-thumb.png") center / 100% 100% no-repeat,
        #20242d;
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.14),
        inset 0 0 16px rgba(215, 38, 61, 0.15),
        0 0 24px rgba(215, 38, 61, 0.56);
}

*::-webkit-scrollbar-thumb:active {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 20%, transparent 80%, rgba(0, 0, 0, 0.48)),
        radial-gradient(circle at 48% 48%, rgba(215, 38, 61, 0.54), transparent 42%),
        url("textures/scrollbar-hell-thumb.png") center / 100% 100% no-repeat,
        #25040a;
}

*::-webkit-scrollbar-corner {
    background: var(--bg-deep);
}

.filters-panel::-webkit-scrollbar,
.main-nav::-webkit-scrollbar,
.photo-modal::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 82% 0%, rgba(171, 0, 0, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(15, 17, 21, 0.88), rgba(9, 11, 15, 0.98)),
        url("textures/site-archive-bg.webp") center top / cover no-repeat fixed,
        var(--bg);
    font-family: var(--sans);
    line-height: 1.45;
    letter-spacing: 0;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -3;
    content: "";
    background:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.42;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (pointer: fine) {
    html,
    body,
    .leaflet-container,
    .real-map {
        cursor: url("cursors/satan-claw-generated-cursor-small-48.png") 6 2, auto;
    }

    a,
    button,
    select,
    label,
    [role="button"],
    .leaflet-interactive,
    .leaflet-marker-icon,
    .leaflet-control a {
        cursor: url("cursors/satan-claw-generated-cursor-small-48.png") 6 2, pointer;
    }

    a:hover,
    button:not(:disabled):hover,
    select:not(:disabled):hover,
    label:hover,
    [role="button"]:hover,
    .demon-filter-card:not(:disabled):hover,
    .figure-card:hover,
    .photo-thumb:hover,
    .profile-photo-button:not(:disabled):hover,
    .map-filter-button:hover,
    .filters-close:hover,
    .photo-nav:not(:disabled):hover,
    .leaflet-interactive:hover,
    .leaflet-marker-icon:hover,
    .leaflet-control a:hover {
        cursor: url("cursors/satan-claw-generated-hover-small-48.png") 6 2, pointer;
    }

    a:active,
    button:not(:disabled):active,
    select:not(:disabled):active,
    label:active,
    [role="button"]:active,
    .demon-filter-card:not(:disabled):active,
    .figure-card:active,
    .photo-thumb:active,
    .profile-photo-button:not(:disabled):active,
    .map-filter-button:active,
    .filters-close:active,
    .photo-nav:not(:disabled):active,
    .leaflet-interactive:active,
    .leaflet-marker-icon:active,
    .leaflet-control a:active {
        cursor: url("cursors/satan-claw-generated-active-small-48.png") 6 2, pointer;
    }

    html.overlord-fly-cursor,
    html.overlord-fly-cursor * {
        cursor: none !important;
    }

    input,
    textarea,
    [contenteditable="true"] {
        cursor: text;
    }

    button:disabled,
    select:disabled,
    input:disabled {
        cursor: url("cursors/satan-claw-generated-cursor-small-48.png") 6 2, not-allowed;
    }
}

.hell-fly-cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 58px;
    height: 60px;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translate3d(-120px, -120px, 0) rotate(0deg);
    transform-origin: 50% 50%;
    transition: opacity 150ms ease-out, filter 150ms ease-out;
    will-change: transform, opacity;
    filter:
        drop-shadow(0 0 7px rgba(215, 38, 61, 0.62))
        drop-shadow(0 8px 12px rgba(0, 0, 0, 0.58));
}

.hell-fly-cursor img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.hell-tongue-catcher {
    --tongue-x: -120;
    --tongue-y: -120;
    --tongue-width: 48px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10010;
    width: var(--tongue-width);
    height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    background: url("effects/overlord-tongue-user.png?v=20260704-user") center bottom / contain no-repeat;
    transform:
        translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
        translateX(-50%)
        translateY(-100%)
        rotate(-3deg);
    transform-origin: 50% 100%;
    filter:
        brightness(1.04)
        saturate(1.08)
        contrast(1.12)
        drop-shadow(0 0 12px rgba(215, 38, 61, 0.62))
        drop-shadow(0 12px 18px rgba(0, 0, 0, 0.72));
    will-change: height, opacity, transform;
}

.hell-tongue-catcher.is-catching {
    animation: hell-tongue-catch 760ms cubic-bezier(0.12, 0.86, 0.14, 1) both;
}

html.overlord-fly-cursor .hell-fly-cursor {
    opacity: 1;
}

html.overlord-fly-trapped .hell-fly-cursor {
    opacity: 0;
    filter:
        drop-shadow(0 0 2px rgba(215, 38, 61, 0.2))
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.34));
}

.page-noise,
.page-vignette,
.page-drips {
    pointer-events: none;
    position: fixed;
    inset: 0;
    width: auto;
    max-width: 100vw;
    overflow: hidden;
    contain: paint;
}

.hell-scrollbar {
    pointer-events: auto;
    position: fixed;
    top: 76px;
    right: 5px;
    bottom: 14px;
    z-index: 31;
    width: 18px;
    opacity: 0.92;
    cursor: url("cursors/satan-claw-generated-hover-small-48.png") 6 2, grab;
    touch-action: none;
    user-select: none;
    transition: opacity 180ms ease, filter 180ms ease;
}

.hell-scrollbar[hidden] {
    display: none;
}

.hell-scrollbar:hover,
.hell-scrollbar:focus-visible,
.hell-scrollbar.is-dragging {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(215, 38, 61, 0.48));
}

.hell-scrollbar.is-dragging {
    cursor: url("cursors/satan-claw-generated-active-small-48.png") 6 2, grabbing;
}

.hell-scrollbar::before {
    position: absolute;
    inset: 0;
    content: "";
    border: 1px solid rgba(215, 38, 61, 0.12);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.68)),
        url("textures/scrollbar-hell-track.png") center / 100% 100% no-repeat,
        rgba(9, 11, 15, 0.82);
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.86),
        0 0 18px rgba(215, 38, 61, 0.12);
}

.hell-scrollbar-thumb {
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 1px;
    right: 1px;
    min-height: 64px;
    border: 1px solid rgba(242, 242, 242, 0.11);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 26%, transparent 74%, rgba(0, 0, 0, 0.44)),
        radial-gradient(circle at 48% 18%, rgba(245, 158, 11, 0.26), transparent 24%),
        radial-gradient(circle at 48% 68%, rgba(215, 38, 61, 0.3), transparent 34%),
        url("textures/scrollbar-hell-thumb.png") center / 100% 100% no-repeat,
        #171a21;
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.56),
        0 0 18px rgba(215, 38, 61, 0.32);
    transform: translate3d(0, 0, 0);
    will-change: height, transform, box-shadow;
    transition: box-shadow 160ms ease, filter 160ms ease;
}

.hell-scrollbar:hover .hell-scrollbar-thumb,
.hell-scrollbar:focus-visible .hell-scrollbar-thumb,
.hell-scrollbar.is-dragging .hell-scrollbar-thumb {
    filter: saturate(1.18) contrast(1.08);
    box-shadow:
        inset 0 0 12px rgba(0, 0, 0, 0.56),
        inset 0 0 18px rgba(215, 38, 61, 0.18),
        0 0 25px rgba(215, 38, 61, 0.62);
}

.page-noise {
    z-index: 2;
    opacity: 0.06;
    mix-blend-mode: screen;
    background-image:
        repeating-radial-gradient(circle at 17% 33%, rgba(255, 255, 255, 0.7) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(0deg, transparent 0 2px, rgba(255, 255, 255, 0.18) 2px 3px);
}

.page-vignette {
    z-index: 2;
    background:
        radial-gradient(ellipse at center, transparent 0%, transparent 46%, rgba(0, 0, 0, 0.32) 100%),
        linear-gradient(180deg, rgba(215, 38, 61, 0.05), transparent 28%, rgba(0, 0, 0, 0.22));
}

.page-drips {
    z-index: 1;
    overflow: hidden;
}

.page-drip {
    position: absolute;
    top: -22px;
    display: block;
    width: min(70vw, 1040px);
    height: auto;
    max-width: none;
    opacity: 0.76;
    filter: saturate(1.28) contrast(1.2);
    user-select: none;
}

.page-drip-left {
    left: -164px;
}

.page-drip-right {
    right: -164px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    min-height: 64px;
    padding: 0 32px;
    overflow: hidden;
    border-bottom: 1px solid rgba(215, 38, 61, 0.26);
    background:
        linear-gradient(180deg, rgba(6, 7, 10, 0.86), rgba(7, 8, 11, 0.94)),
        rgba(9, 11, 15, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        inset 0 -22px 42px rgba(171, 0, 0, 0.18),
        inset 0 -2px 0 rgba(215, 38, 61, 0.36),
        0 14px 46px rgba(0, 0, 0, 0.52),
        0 0 44px rgba(215, 38, 61, 0.16);
    backdrop-filter: blur(18px) saturate(1.16);
    isolation: isolate;
}

.site-header::before,
.site-header::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
}

.site-header::before {
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.48)),
        linear-gradient(180deg, rgba(0, 0, 0, 0.14), transparent 38%, rgba(171, 0, 0, 0.2)),
        url("effects/navbar-hell-bg.png") center 66% / cover no-repeat;
    filter: saturate(1.18) contrast(1.1);
    opacity: 0.96;
    transform: scale(1.03);
    animation: navBarPulse 16s ease-in-out infinite alternate;
}

.site-header::after {
    background:
        radial-gradient(circle at 6% 82%, rgba(215, 38, 61, 0.72) 0 2px, transparent 4px),
        radial-gradient(circle at 18% 88%, rgba(245, 158, 11, 0.36) 0 1px, transparent 3px),
        radial-gradient(circle at 83% 86%, rgba(215, 38, 61, 0.58) 0 2px, transparent 5px),
        radial-gradient(circle at 94% 78%, rgba(245, 158, 11, 0.28) 0 1px, transparent 4px),
        linear-gradient(180deg, transparent 0 62%, rgba(171, 0, 0, 0.16) 72%, rgba(215, 38, 61, 0.34) 100%),
        repeating-linear-gradient(90deg, rgba(242, 242, 242, 0.026) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(0deg, transparent 0 8px, rgba(215, 38, 61, 0.026) 8px 9px);
    filter: drop-shadow(0 0 16px rgba(215, 38, 61, 0.24));
    opacity: 0.82;
    mix-blend-mode: screen;
}

.site-header .brand::before {
    position: absolute;
    inset: -10px -14px -12px;
    z-index: -1;
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 28% 62%, rgba(215, 38, 61, 0.22), transparent 64%),
        linear-gradient(90deg, rgba(171, 0, 0, 0.16), transparent 78%);
    filter: blur(8px);
    opacity: 0.9;
    content: "";
}

.site-header > * {
    position: relative;
    z-index: 1;
}

.brand {
    display: inline-flex;
    gap: 11px;
    align-items: center;
    font-family: var(--horror);
    font-size: 27px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-shadow:
        0 0 16px rgba(215, 38, 61, 0.2),
        0 1px 0 rgba(0, 0, 0, 0.7);
}

.brand-mark {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 9px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(215, 38, 61, 0.24));
}

.main-nav {
    display: flex;
    justify-content: flex-end;
    gap: var(--inner-gap);
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    padding: var(--inner-gap) 0;
    isolation: isolate;
}

.main-nav a::before,
.main-nav a::after {
    position: absolute;
    left: 50%;
    top: 52%;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0;
    transform: translate(-50%, -50%) scaleX(0.82) scaleY(0.7);
    transform-origin: center;
    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.main-nav a::before {
    width: clamp(84px, calc(100% + 42px), 168px);
    height: 2.45em;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 33% 46%, rgba(215, 38, 61, 0.68) 0%, rgba(171, 0, 0, 0.42) 32%, rgba(71, 0, 10, 0.2) 58%, transparent 78%),
        radial-gradient(ellipse at 70% 40%, rgba(245, 158, 11, 0.16) 0%, rgba(171, 0, 0, 0.2) 34%, transparent 66%),
        linear-gradient(90deg, transparent 0%, rgba(108, 0, 14, 0.1) 8%, rgba(215, 38, 61, 0.52) 48%, rgba(70, 0, 12, 0.18) 88%, transparent 100%);
    filter:
        blur(4.5px)
        contrast(1.16)
        drop-shadow(0 0 14px rgba(215, 38, 61, 0.3))
        drop-shadow(0 0 24px rgba(171, 0, 0, 0.16));
}

.main-nav a::after {
    width: clamp(78px, calc(100% + 34px), 150px);
    height: 2.1em;
    border-radius: 48% 42% 45% 50%;
    background:
        radial-gradient(circle at 16% 44%, rgba(15, 17, 21, 0.82) 0 2px, transparent 4px),
        radial-gradient(circle at 39% 55%, rgba(15, 17, 21, 0.7) 0 1px, transparent 4px),
        radial-gradient(circle at 67% 39%, rgba(15, 17, 21, 0.74) 0 2px, transparent 5px),
        radial-gradient(circle at 86% 61%, rgba(15, 17, 21, 0.78) 0 1px, transparent 4px),
        radial-gradient(circle at 10% 38%, rgba(255, 65, 80, 0.72) 0 1px, transparent 2px),
        radial-gradient(circle at 23% 62%, rgba(90, 0, 12, 0.82) 0 2px, transparent 4px),
        radial-gradient(circle at 47% 28%, rgba(245, 158, 11, 0.34) 0 1px, transparent 3px),
        radial-gradient(circle at 74% 57%, rgba(171, 0, 0, 0.78) 0 1px, transparent 3px),
        repeating-linear-gradient(97deg, rgba(255, 46, 70, 0.18) 0 2px, transparent 2px 9px),
        repeating-radial-gradient(circle at 42% 52%, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 5px),
        linear-gradient(90deg, transparent, rgba(171, 0, 0, 0.42) 18%, rgba(215, 38, 61, 0.58) 52%, rgba(83, 0, 11, 0.24) 82%, transparent);
    filter: blur(0.25px) saturate(1.18) contrast(1.22);
    clip-path: polygon(0 43%, 7% 19%, 18% 36%, 31% 14%, 43% 31%, 57% 13%, 71% 32%, 87% 20%, 100% 44%, 93% 67%, 81% 56%, 68% 80%, 52% 63%, 38% 86%, 24% 61%, 8% 78%);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--text);
    text-shadow:
        0 0 10px rgba(215, 38, 61, 0.3),
        0 0 22px rgba(171, 0, 0, 0.22);
}

.main-nav a:hover::before,
.main-nav a:focus-visible::before {
    opacity: 0.88;
    transform: translate(-50%, -50%) scaleX(1) scaleY(1);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    opacity: 0.9;
    transform: translate(-50%, -50%) scaleX(1.04) scaleY(1);
}

@keyframes navBarPulse {
    0% {
        background-position: center 64%, center 50%, center 62%;
        filter: saturate(1.1) contrast(1.05) brightness(0.92);
    }

    100% {
        background-position: center 64%, center 50%, center 72%;
        filter: saturate(1.32) contrast(1.18) brightness(1.04);
    }
}

.header-actions {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.sound-corner {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: max(28px, env(safe-area-inset-right));
    z-index: 60;
}

.sound-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 84px;
    padding: 0;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 80%, rgba(215, 38, 61, 0.12), transparent 52%),
        rgba(23, 26, 33, 0.78);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.32);
    transition:
        color 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background 160ms ease;
}

.sound-toggle:hover,
.sound-toggle:focus-visible,
.sound-toggle[aria-pressed="true"] {
    color: var(--text);
    border-color: rgba(215, 38, 61, 0.62);
    background:
        radial-gradient(circle at 50% 80%, rgba(215, 38, 61, 0.26), transparent 56%),
        rgba(23, 26, 33, 0.88);
    box-shadow:
        inset 0 0 18px rgba(215, 38, 61, 0.12),
        0 0 24px rgba(215, 38, 61, 0.18);
}

.sound-toggle::after {
    display: none;
    content: none;
}

.sound-toggle[aria-pressed="true"]::after {
    background: var(--red);
    box-shadow: 0 0 14px rgba(215, 38, 61, 0.76);
}

.sound-icon {
    position: relative;
    display: block;
    width: 68px;
    height: 68px;
    background: url("icons/sound-off.png") center / contain no-repeat;
    filter:
        drop-shadow(0 0 7px rgba(215, 38, 61, 0.28))
        drop-shadow(0 2px 4px rgba(0, 0, 0, 0.72));
}

.sound-toggle[aria-pressed="true"] .sound-icon {
    background-image: url("icons/sound-on.png");
    filter:
        drop-shadow(0 0 10px rgba(215, 38, 61, 0.48))
        drop-shadow(0 2px 5px rgba(0, 0, 0, 0.76));
}

.sound-icon::before {
    display: none;
    content: none;
}

.sound-icon::after {
    display: none;
    content: none;
}

.sound-icon i,
.sound-icon i::before {
    display: none;
    content: none;
}

.sound-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.nav-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(23, 26, 33, 0.78);
}

.nav-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition:
        transform 180ms ease,
        opacity 180ms ease,
        background 180ms ease;
}

.nav-toggle span:nth-child(1) {
    transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
    transform: translateY(6px);
}

.nav-toggle:hover,
.nav-toggle:focus-visible,
.nav-toggle[aria-expanded="true"] {
    border-color: rgba(215, 38, 61, 0.62);
    box-shadow: 0 0 24px rgba(215, 38, 61, 0.18);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg);
}

main {
    position: relative;
    z-index: 10;
    display: grid;
    gap: var(--block-gap);
    width: min(1680px, calc(100% - 44px));
    margin: 0 auto;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: center;
    min-height: clamp(260px, 28vw, 430px);
    padding: var(--space-xl) 0 var(--space-md);
    perspective: 1200px;
}

.hero-title-block,
.hero-slogan-block {
    --hero-parallax-x: 0px;
    --hero-parallax-y: 0px;
    min-width: 0;
    transform: translate3d(var(--hero-parallax-x), var(--hero-parallax-y), 0);
    will-change: transform;
}

.hero-title-block {
    padding-left: 8px;
    text-align: center;
}

.hero-slogan-block {
    display: flex;
    justify-content: flex-end;
    padding-right: clamp(0px, 1.6vw, 28px);
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
}

h1,
h2,
h3 {
    margin: 0;
    color: #ab0000;
    font-family: var(--condensed);
    font-weight: 400;
    letter-spacing: 0;
}

h1 {
    position: relative;
    display: inline-block;
    color: #8d0000;
    background:
        radial-gradient(ellipse at 24% 18%, rgba(255, 95, 36, 0.28), transparent 30%),
        linear-gradient(180deg, #f01810 0%, #a10000 48%, #510000 100%);
    background-blend-mode: screen, normal;
    background-clip: text;
    -webkit-background-clip: text;
    font-family: var(--horror);
    font-size: clamp(68px, 6.4vw, 118px);
    font-weight: 400;
    line-height: 0.98;
    text-transform: none;
    -webkit-text-stroke: 1px rgba(36, 0, 0, 0.72);
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgb(132 0 0 / 90%),
        0 2px 0 rgba(24, 0, 0, 0.78),
        0 4px 0 rgba(5, 0, 0, 0.58),
        3px 6px 0 rgba(0, 0, 0, 0.42),
        8px 14px 24px rgba(0, 0, 0, 0.74),
        0 0 2px rgba(0, 0, 0, 0.9),
        0 0 18px rgba(215, 38, 61, 0.2),
        -1px 0 rgba(56, 189, 248, 0.14);
    filter:
        drop-shadow(0 0 1px rgba(18, 0, 0, 0.92))
        drop-shadow(0 18px 26px rgba(0, 0, 0, 0.48));
}

h1::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: attr(data-title);
    pointer-events: none;
    background: url("textures/hero-title-drips-overlay.webp") 50% 46% / 108% 112% no-repeat;
    background-blend-mode: normal;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 0;
    opacity: 0.86;
    mix-blend-mode: normal;
    text-shadow: none;
    filter:
        contrast(1.24)
        saturate(1.16)
        drop-shadow(0 0 2px rgba(255, 26, 18, 0.08));
}

.hero-slogan {
    position: relative;
    display: inline-block;
    max-width: 720px;
    margin: 0;
    padding: 8px 0 10px;
    color: #f2f2f2;
    font-family: var(--display);
    font-size: clamp(26px, 3.1vw, 48px);
    font-weight: 400;
    line-height: 1.02;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.9),
        0 0 18px rgba(215, 38, 61, 0.5),
        1px 0 0 rgba(215, 38, 61, 0.64);
}

.hero-slogan::before {
    position: absolute;
    inset: 22% -12px 12%;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(171, 0, 0, 0.86), rgba(215, 38, 61, 0.34) 58%, transparent),
        repeating-linear-gradient(100deg, rgba(255, 221, 180, 0.1) 0 1px, transparent 1px 8px);
    filter: blur(0.3px);
    opacity: 0.78;
    transform: skewX(-7deg);
    box-shadow:
        0 0 28px rgba(215, 38, 61, 0.26),
        inset 0 -10px 24px rgba(0, 0, 0, 0.26);
}

.hero-subtitle {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

.hero-lead {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
}

.project-about {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
    gap: var(--space-xl);
    align-items: start;
    margin: 0;
    padding: var(--panel-pad);
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.24);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 62%),
        radial-gradient(ellipse at 12% 0%, rgba(215, 38, 61, 0.18), transparent 54%),
        radial-gradient(ellipse at 90% 100%, rgba(56, 189, 248, 0.08), transparent 50%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(14, 16, 21, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.032),
        0 18px 74px rgba(0, 0, 0, 0.26),
        0 0 42px rgba(215, 38, 61, 0.08);
}

.project-about::before {
    pointer-events: none;
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.28;
    mix-blend-mode: screen;
}

.project-about > * {
    position: relative;
    z-index: 1;
}

.project-about h2 {
    font-size: clamp(30px, 3vw, 50px);
}

.project-about h2,
.section-head h2,
.panel-title h2 {
    color: #ab0000;
    font-family: var(--condensed);
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    text-shadow:
        0 1px 0 rgba(42, 0, 0, 0.9),
        0 3px 0 rgba(8, 0, 0, 0.58),
        0 10px 24px rgba(0, 0, 0, 0.58),
        0 0 18px rgba(215, 38, 61, 0.2);
}

.project-about-copy {
    display: grid;
    gap: var(--inner-gap);
    max-width: 980px;
}

.project-about-copy p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(16px, 1.45vw, 22px);
    line-height: 1.45;
}

.project-about-copy p:first-child {
    color: var(--text);
    font-weight: 700;
}

.project-stats {
    position: relative;
    overflow: hidden;
    padding: var(--panel-pad);
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 54%),
        linear-gradient(135deg, rgba(215, 38, 61, 0.18), transparent 42%),
        linear-gradient(90deg, rgba(15, 17, 21, 0.94), rgba(25, 24, 27, 0.86), rgba(12, 14, 18, 0.95)),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(14, 16, 21, 0.88);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 0 70px rgba(0, 0, 0, 0.26),
        0 18px 74px rgba(0, 0, 0, 0.28),
        0 0 42px rgba(215, 38, 61, 0.1);
}

.project-stats::before,
.project-stats::after {
    pointer-events: none;
    position: absolute;
    inset: 0;
    content: "";
}

.project-stats::before {
    background:
        linear-gradient(rgba(56, 189, 248, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 34px 34px;
    opacity: 0.24;
    mix-blend-mode: screen;
}

.project-stats::after {
    background:
        linear-gradient(90deg, rgba(9, 11, 15, 0.36), transparent 18%, transparent 82%, rgba(9, 11, 15, 0.38)),
        repeating-linear-gradient(115deg, transparent 0 18px, rgba(215, 38, 61, 0.035) 18px 19px);
    opacity: 0.82;
}

.project-stats > * {
    position: relative;
    z-index: 1;
}

.stats-head {
    align-items: flex-end;
}

.stats-lead {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 700;
    text-align: right;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--inner-gap);
    margin-top: var(--inner-gap);
}

.stat-card {
    position: relative;
    grid-column: span 2;
    min-height: 214px;
    overflow: hidden;
    padding: clamp(16px, 1.5vw, 24px);
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 42%),
        linear-gradient(145deg, rgba(15, 17, 21, 0.82), rgba(15, 17, 21, 0.52)),
        rgba(15, 17, 21, 0.68);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.028),
        0 18px 44px rgba(0, 0, 0, 0.2);
    transform: translateY(14px);
    opacity: 0;
    transition:
        opacity 520ms ease,
        transform 520ms cubic-bezier(0.16, 0.86, 0.28, 1),
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.stat-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(ellipse at 18% 0%, rgba(215, 38, 61, 0.24), transparent 46%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9px);
    opacity: 0.72;
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.project-stats.is-visible .stat-card {
    opacity: 1;
    transform: translateY(0);
}

.project-stats.is-visible .stat-card:nth-child(2) {
    transition-delay: 70ms;
}

.project-stats.is-visible .stat-card:nth-child(3) {
    transition-delay: 140ms;
}

.project-stats.is-visible .stat-card:nth-child(4) {
    transition-delay: 210ms;
}

.project-stats.is-visible .stat-card:nth-child(5) {
    transition-delay: 280ms;
}

.project-stats.is-visible .stat-card:nth-child(6) {
    transition-delay: 350ms;
}

.stat-card:hover {
    border-color: rgba(215, 38, 61, 0.48);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.036),
        0 22px 54px rgba(0, 0, 0, 0.26),
        0 0 30px rgba(215, 38, 61, 0.12);
}

.stat-label {
    display: block;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.stat-value {
    display: block;
    margin: 12px 0 14px;
    color: #f2f2f2;
    font-family: var(--display);
    font-size: clamp(56px, 6.2vw, 108px);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 0.9;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.82),
        0 0 22px rgba(215, 38, 61, 0.36),
        1px 0 0 rgba(215, 38, 61, 0.42);
}

.stat-card p {
    max-width: 420px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.38;
}

.stat-card-cases,
.stat-card-victims,
.stat-card-killed {
    border-color: rgba(215, 38, 61, 0.34);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 42%),
        linear-gradient(145deg, rgba(55, 9, 18, 0.74), rgba(15, 17, 21, 0.58)),
        rgba(15, 17, 21, 0.72);
}

.stat-card-killed .stat-value {
    color: #ffced4;
}

.hero-emblem {
    position: relative;
    width: min(100%, 360px);
    margin: 0 auto;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.38);
    border-radius: 8px;
    background: #0a0b0e;
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.58),
        0 0 58px rgba(215, 38, 61, 0.18);
}

.hero-emblem::before,
.hero-emblem::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    content: "";
}

.hero-emblem::before {
    background:
        radial-gradient(circle at center, transparent 0 38%, rgba(0, 0, 0, 0.14) 58%, rgba(0, 0, 0, 0.66) 100%),
        linear-gradient(180deg, rgba(215, 38, 61, 0.16), transparent 32%, rgba(56, 189, 248, 0.08));
}

.hero-emblem::after {
    border: 1px solid rgba(242, 242, 242, 0.08);
    box-shadow: inset 0 0 0 8px rgba(15, 17, 21, 0.38);
}

.hero-emblem img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.08) brightness(0.9);
}

.demon-overlord {
    --overlord-shift-x: 0px;
    --overlord-shift-y: 0px;
    grid-column: 1 / -1;
    justify-self: center;
    width: clamp(360px, 39vw, 660px);
    margin: -240px auto clamp(-390px, -25vw, -330px);
    aspect-ratio: auto;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter:
        drop-shadow(0 0 26px rgba(215, 38, 61, 0.32))
        drop-shadow(0 34px 54px rgba(0, 0, 0, 0.72));
    z-index: 2;
    pointer-events: none;
    perspective: 1200px;
}

.demon-overlord::before,
.demon-overlord::after {
    display: none;
}

.demon-overlord.tongue-catching {
    z-index: 2;
}

.overlord-living {
    --overlord-shift-x: 0px;
    --overlord-shift-y: 0px;
    --overlord-turn-x: 0deg;
    --overlord-turn-y: 0deg;
    --overlord-roll: 0deg;
    --overlord-scale: 1;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1090 / 1394;
    transform-origin: 50% 88%;
    transform:
        translate3d(var(--overlord-shift-x), var(--overlord-shift-y), 0)
        rotateX(var(--overlord-turn-x))
        rotateY(var(--overlord-turn-y))
        rotateZ(var(--overlord-roll))
        scale(var(--overlord-scale));
    animation: overlord-rise 1450ms cubic-bezier(0.16, 0.86, 0.28, 1) 1s both;
    transition:
        transform 760ms cubic-bezier(0.12, 0.82, 0.18, 1),
        filter 760ms ease;
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
}

.demon-overlord .overlord-face {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0.96) contrast(1.08) brightness(0.94);
}

.overlord-tongue-slot {
    position: absolute;
    left: 50%;
    bottom: 45.6%;
    z-index: 13;
    width: clamp(36px, 6.5%, 64px);
    height: 0;
    overflow: hidden;
    isolation: isolate;
    opacity: 0;
    pointer-events: none;
    background: url("effects/overlord-tongue-user.png?v=20260704-user") center bottom / contain no-repeat;
    transform: translateX(-50%) rotate(-3deg);
    transform-origin: 50% 100%;
    filter:
        brightness(1.04)
        saturate(1.08)
        contrast(1.12)
        drop-shadow(0 0 12px rgba(215, 38, 61, 0.62))
        drop-shadow(0 12px 18px rgba(0, 0, 0, 0.72));
    will-change: height, opacity, transform;
}

.overlord-tongue-slot img {
    display: none;
}

.demon-overlord.tongue-catching .overlord-tongue-slot {
    animation: none;
}

.overlord-nose-zone {
    position: absolute;
    top: 40.8%;
    left: 45.9%;
    z-index: 12;
    width: 7.2%;
    height: 9.4%;
    border-radius: 46%;
    overflow: visible;
    pointer-events: none;
}

.overlord-eye-layer {
    --left-eye-x: 0px;
    --left-eye-y: 0px;
    --left-eye-tilt: 0deg;
    --right-eye-x: 0px;
    --right-eye-y: 0px;
    --right-eye-tilt: 0deg;
    position: absolute;
    top: 39.3831%;
    left: 49.4954%;
    z-index: 1;
    display: block;
    width: 32.0183%;
    max-width: none;
    aspect-ratio: 349 / 96;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.overlord-eye {
    position: absolute;
    top: 0;
    display: block;
    width: 29.7994%;
    height: 100%;
    pointer-events: none;
    transform-origin: 50% 50%;
    transition: transform 280ms cubic-bezier(0.18, 0.72, 0.28, 1);
    will-change: transform;
}

.overlord-eye-left {
    left: 12.3209%;
    transform: translate(calc(var(--left-eye-x) * 1px), calc(var(--left-eye-y) * 1px)) rotate(var(--left-eye-tilt));
}

.overlord-eye-right {
    left: 58.1662%;
    transform: translate(calc(var(--right-eye-x) * 1px), calc(var(--right-eye-y) * 1px)) rotate(var(--right-eye-tilt));
}

.demon-overlord .overlord-eye img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    filter:
        saturate(1.12)
        contrast(1.16)
        brightness(0.95)
        drop-shadow(0 0 5px rgba(215, 38, 61, 0.34));
}

@keyframes overlord-tongue-catch {
    0% {
        height: 0;
        opacity: 0;
        transform: translateX(-50%) rotate(-4deg) scaleY(0.58);
    }

    18% {
        height: clamp(78px, 7vw, 116px);
        opacity: 1;
        transform: translateX(-50%) rotate(2deg) scaleY(1.02);
    }

    44% {
        height: clamp(148px, 12.5vw, 216px);
        opacity: 1;
        transform: translateX(-50%) rotate(-5deg) scaleY(1.05);
    }

    66% {
        height: clamp(112px, 9.5vw, 164px);
        opacity: 1;
        transform: translateX(-50%) rotate(1deg) scaleY(0.96);
    }

    82% {
        height: clamp(54px, 5vw, 84px);
        opacity: 0.9;
        transform: translateX(-50%) rotate(-2deg) scaleY(0.82);
    }

    100% {
        height: 0;
        opacity: 0;
        transform: translateX(-50%) rotate(-4deg) scaleY(0.5);
    }
}

@keyframes hell-tongue-catch {
    0% {
        height: 0;
        opacity: 0;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(-4deg)
            scaleY(0.58);
    }

    18% {
        height: clamp(78px, 7vw, 116px);
        opacity: 1;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(2deg)
            scaleY(1.02);
    }

    44% {
        height: clamp(148px, 12.5vw, 216px);
        opacity: 1;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(-5deg)
            scaleY(1.05);
    }

    66% {
        height: clamp(112px, 9.5vw, 164px);
        opacity: 1;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(1deg)
            scaleY(0.96);
    }

    82% {
        height: clamp(54px, 5vw, 84px);
        opacity: 0.9;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(-2deg)
            scaleY(0.82);
    }

    100% {
        height: 0;
        opacity: 0;
        transform:
            translate3d(calc(var(--tongue-x) * 1px), calc(var(--tongue-y) * 1px), 0)
            translateX(-50%)
            translateY(-100%)
            rotate(-4deg)
            scaleY(0.5);
    }
}

@keyframes overlord-rise {
    0% {
        opacity: 0;
        filter: saturate(0.78) contrast(1.08) brightness(0.55) blur(1.8px);
        transform:
            translate3d(var(--overlord-shift-x), calc(var(--overlord-shift-y) + 44%), 0)
            rotateX(var(--overlord-turn-x))
            rotateY(var(--overlord-turn-y))
            rotateZ(var(--overlord-roll))
            scale(0.93);
    }

    62% {
        opacity: 1;
        filter: saturate(1.04) contrast(1.14) brightness(1.02) blur(0);
        transform:
            translate3d(var(--overlord-shift-x), calc(var(--overlord-shift-y) - 3.2%), 0)
            rotateX(var(--overlord-turn-x))
            rotateY(var(--overlord-turn-y))
            rotateZ(var(--overlord-roll))
            scale(1.02);
    }

    100% {
        opacity: 1;
        filter: saturate(0.96) contrast(1.08) brightness(0.94) blur(0);
        transform:
            translate3d(var(--overlord-shift-x), var(--overlord-shift-y), 0)
            rotateX(var(--overlord-turn-x))
            rotateY(var(--overlord-turn-y))
            rotateZ(var(--overlord-roll))
            scale(var(--overlord-scale));
    }
}

.investigation-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--block-gap);
    align-items: stretch;
    padding: 0;
}

.filters-panel,
.map-panel,
.dossier-panel,
.mechanism-timeline,
.figures-section,
.mechanism-section {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 130px),
        linear-gradient(135deg, rgba(215, 38, 61, 0.05), transparent 42%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(23, 26, 33, 0.86);
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.24);
}

.filters-panel {
    position: fixed;
    top: var(--filters-panel-top, 82px);
    right: var(--filters-panel-right, max(18px, calc((100vw - 1680px) / 2 + 18px)));
    z-index: 45;
    display: flex;
    flex-direction: column;
    width: min(370px, calc(100vw - 32px));
    max-height: calc(100vh - var(--filters-panel-top, 82px) - 16px);
    min-height: 0;
    overflow: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    visibility: hidden;
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        visibility 160ms ease;
}

.filters-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
}

.filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 44;
    background: rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(2px);
}

.filter-backdrop[hidden] {
    display: none;
}

.panel-title,
.dossier-head,
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--inner-gap);
}

.panel-title {
    padding: var(--panel-pad) var(--panel-pad) var(--space-sm);
}

.filters-close {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(15, 17, 21, 0.68);
    font-size: 23px;
    line-height: 1;
}

.filters-close:hover,
.filters-close:focus-visible {
    color: var(--text);
    border-color: rgba(215, 38, 61, 0.58);
    box-shadow: 0 0 20px rgba(215, 38, 61, 0.18);
}

.sliders-icon {
    position: relative;
    width: 20px;
    height: 18px;
    opacity: 0.76;
    background:
        linear-gradient(var(--muted), var(--muted)) 0 4px / 100% 1px no-repeat,
        linear-gradient(var(--muted), var(--muted)) 0 13px / 100% 1px no-repeat;
}

.sliders-icon::before,
.sliders-icon::after {
    position: absolute;
    width: 5px;
    height: 5px;
    content: "";
    border: 1px solid var(--muted);
    border-radius: 50%;
    background: var(--panel);
}

.sliders-icon::before {
    top: 1px;
    left: 5px;
}

.sliders-icon::after {
    right: 4px;
    bottom: 1px;
}

.field {
    display: grid;
    gap: var(--space-2xs);
    padding: var(--space-xs) var(--panel-pad);
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.field select,
.field input {
    width: 100%;
    height: 38px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 5px;
    outline: none;
    background: rgba(12, 15, 20, 0.72);
    font-size: 13px;
}

.field select {
    padding: 0 10px;
}

.field input {
    padding: 0 38px 0 11px;
}

.field select:focus,
.field input:focus {
    border-color: rgba(56, 189, 248, 0.72);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.search-field {
    position: relative;
}

.search-field::after {
    position: absolute;
    right: 28px;
    bottom: 21px;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid var(--muted);
    border-radius: 50%;
    opacity: 0.8;
}

.search-field::before {
    position: absolute;
    right: 25px;
    bottom: 18px;
    width: 8px;
    height: 2px;
    content: "";
    background: var(--muted);
    opacity: 0.8;
    transform: rotate(45deg);
}

.empty-state {
    display: grid;
    place-items: center;
    min-height: 92px;
    padding: var(--inner-gap);
    color: var(--muted);
    border: 1px dashed rgba(168, 173, 183, 0.26);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.4);
    font-size: 13px;
}

.map-panel {
    grid-column: 1 / -1;
    min-width: 0;
    padding: var(--panel-pad);
}

.mechanism-timeline,
.mechanism-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 140px),
        linear-gradient(90deg, rgba(15, 17, 21, 0.9), rgba(32, 36, 45, 0.68), rgba(15, 17, 21, 0.88)),
        url("textures/route-board.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.88);
}

.demon-filter-shell {
    --hand-left-shift-x: 0px;
    --hand-left-shift-y: 0px;
    --hand-left-turn: 0deg;
    --hand-left-stretch: 1;
    --hand-right-shift-x: 0px;
    --hand-right-shift-y: 0px;
    --hand-right-turn: 0deg;
    --hand-right-stretch: 1;
    position: relative;
    z-index: 7;
    grid-column: 1 / -1;
    margin: 0;
    padding: var(--block-gap) 0;
    overflow: visible;
    isolation: isolate;
}

.demon-filter-shell::before {
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: clamp(-140px, -12vw, -130px);
    z-index: 4;
    width: clamp(260px, 22vw, 420px);
    height: clamp(330px, 31vw, 560px);
    content: "";
    background: url("effects/devil-grip-hand-left.png") center / contain no-repeat;
    opacity: 0.9;
    filter:
        saturate(1.16)
        contrast(1.12)
        drop-shadow(0 0 28px rgba(215, 38, 61, 0.48))
        drop-shadow(0 28px 48px rgba(0, 0, 0, 0.74));
    transform-origin: 58% 54%;
    transform:
        translate(var(--hand-left-shift-x), calc(-50% + var(--hand-left-shift-y)))
        rotate(calc(-11deg + var(--hand-left-turn)))
        scale(var(--hand-left-stretch));
    animation: demon-hand-left-grip 1450ms cubic-bezier(0.16, 0.86, 0.28, 1) 1s both;
    transition: transform 720ms cubic-bezier(0.12, 0.82, 0.18, 1), filter 720ms ease;
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
    will-change: opacity, filter, transform, translate, rotate, scale;
}

.demon-filter-shell::after {
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: clamp(-200px, -12vw, -130px);
    z-index: 4;
    width: clamp(260px, 22vw, 420px);
    height: clamp(330px, 31vw, 560px);
    content: "";
    background: url("effects/devil-grip-hand-left.png") center / contain no-repeat;
    opacity: 0.9;
    filter:
        saturate(1.16)
        contrast(1.12)
        drop-shadow(0 0 28px rgba(215, 38, 61, 0.48))
        drop-shadow(0 28px 48px rgba(0, 0, 0, 0.74));
    transform-origin: 42% 54%;
    transform:
        translate(var(--hand-right-shift-x), calc(-50% + var(--hand-right-shift-y)))
        scaleX(-1)
        rotate(calc(-11deg + var(--hand-right-turn)))
        scale(var(--hand-right-stretch));
    animation: demon-hand-right-grip 1450ms cubic-bezier(0.16, 0.86, 0.28, 1) 1s both;
    transition: transform 720ms cubic-bezier(0.12, 0.82, 0.18, 1), filter 720ms ease;
    translate: 0 0;
    rotate: 0deg;
    scale: 1;
    will-change: opacity, filter, transform, translate, rotate, scale;
}

@keyframes demon-hand-left-grip {
    0% {
        opacity: 0;
        filter:
            saturate(0.78)
            contrast(0.95)
            blur(1.6px)
            drop-shadow(0 0 8px rgba(215, 38, 61, 0.12))
            drop-shadow(0 18px 30px rgba(0, 0, 0, 0.52));
        translate: -92px 3%;
        rotate: -13deg;
        scale: 0.82;
    }

    62% {
        opacity: 1;
        filter:
            saturate(1.24)
            contrast(1.16)
            blur(0)
            drop-shadow(0 0 34px rgba(215, 38, 61, 0.62))
            drop-shadow(0 30px 54px rgba(0, 0, 0, 0.78));
        translate: 10px 0;
        rotate: 3deg;
        scale: 1.035;
    }

    100% {
        opacity: 0.9;
        filter:
            saturate(1.16)
            contrast(1.12)
            blur(0)
            drop-shadow(0 0 28px rgba(215, 38, 61, 0.48))
            drop-shadow(0 28px 48px rgba(0, 0, 0, 0.74));
        translate: 0 0;
        rotate: 0deg;
        scale: 1;
    }
}

@keyframes demon-hand-right-grip {
    0% {
        opacity: 0;
        filter:
            saturate(0.78)
            contrast(0.95)
            blur(1.6px)
            drop-shadow(0 0 8px rgba(215, 38, 61, 0.12))
            drop-shadow(0 18px 30px rgba(0, 0, 0, 0.52));
        translate: 92px 3%;
        rotate: 13deg;
        scale: 0.82;
    }

    62% {
        opacity: 1;
        filter:
            saturate(1.24)
            contrast(1.16)
            blur(0)
            drop-shadow(0 0 34px rgba(215, 38, 61, 0.62))
            drop-shadow(0 30px 54px rgba(0, 0, 0, 0.78));
        translate: -10px 0;
        rotate: -3deg;
        scale: 1.035;
    }

    100% {
        opacity: 0.9;
        filter:
            saturate(1.16)
            contrast(1.12)
            blur(0)
            drop-shadow(0 0 28px rgba(215, 38, 61, 0.48))
            drop-shadow(0 28px 48px rgba(0, 0, 0, 0.74));
        translate: 0 0;
        rotate: 0deg;
        scale: 1;
    }
}

.demon-filter {
    position: relative;
    z-index: 2;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--inner-gap);
    justify-content: stretch;
    margin: 0;
    padding: var(--inner-gap) 140px;
    overflow: visible;
    border: 1px solid rgba(168, 173, 183, 0.16);
    border-radius: calc(var(--radius) - 2px);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.026), transparent 42%),
        radial-gradient(ellipse at 50% 0%, rgba(215, 38, 61, 0.12), transparent 68%),
        rgba(8, 10, 14, 0.67);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 -28px 48px rgba(0, 0, 0, 0.42),
        inset 0 0 34px rgba(215, 38, 61, 0.1),
        0 0 26px rgba(215, 38, 61, 0.08);
}

.demon-filter-card[data-demon-type="serial"] {
    order: 1;
}

.demon-filter-card[data-demon-type="rapist"] {
    order: 2;
}

.demon-filter-card[data-demon-type="pedophile"] {
    order: 3;
}

.demon-filter-card[data-demon-type="satanist"] {
    order: 5;
}

.demon-filter-card[data-demon-type="cannibal"] {
    order: 4;
}

.demon-filter-card[data-demon-type="necrophile"] {
    order: 6;
}

.demon-filter-card[data-demon-type=""] {
    grid-column: 2;
    order: 7;
}

.demon-filter-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: var(--space-sm);
    align-items: center;
    min-height: 154px;
    padding: var(--card-pad) 28px var(--card-pad) var(--space-xs);
    overflow: hidden;
    color: var(--muted);
    text-align: left;
    border: 1px solid rgba(168, 173, 183, 0.16);
    border-radius: 6px;
    background:
        radial-gradient(circle at 24% 20%, rgba(215, 38, 61, 0.12), transparent 54%),
        rgba(15, 17, 21, 0.7);
}

.demon-filter-card::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 28px rgba(215, 38, 61, 0.18);
    transition: opacity 160ms ease;
}

.demon-filter-card:hover,
.demon-filter-card.active {
    color: var(--text);
    border-color: rgba(215, 38, 61, 0.48);
    background:
        radial-gradient(circle at 24% 20%, rgba(215, 38, 61, 0.24), transparent 58%),
        rgba(32, 36, 45, 0.78);
}

.demon-filter-card:hover::after,
.demon-filter-card.active::after {
    opacity: 1;
}

.demon-filter-card:disabled {
    cursor: default;
    opacity: 0.42;
}

.demon-filter-card img {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(215, 38, 61, 1.3)) drop-shadow(0 8px 225px rgba(0, 0, 0, 4.82));
}

.demon-filter-card span {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.demon-filter-card strong {
    display: block;
    overflow: visible;
    color: var(--text);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.08;
    text-overflow: clip;
    white-space: normal;
}

.demon-filter-card em {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    z-index: 1;
    color: rgba(242, 242, 242, 0.62);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
    text-align: center;
}

.map-frame {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background:
        linear-gradient(rgba(168, 173, 183, 0.075) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 173, 183, 0.055) 1px, transparent 1px),
        radial-gradient(circle at 24% 28%, rgba(56, 189, 248, 0.08), transparent 22%),
        linear-gradient(180deg, #101821 0%, #0b1118 100%);
    background-size: 78px 78px, 78px 78px, auto, auto;
}

.map-filter-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.8);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.34);
    transition:
        color 140ms ease,
        border-color 140ms ease,
        background 140ms ease,
        box-shadow 140ms ease;
}

.map-filter-toggle .sliders-icon {
    width: 17px;
    height: 17px;
}

.map-filter-toggle > span:not(.sliders-icon) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    clip-path: inset(50%);
}

.map-filter-toggle:hover,
.map-filter-toggle:focus-visible,
.map-filter-toggle[aria-expanded="true"] {
    color: #fff;
    border-color: var(--line);
    background: rgba(215, 38, 61, 0.28);
    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.38),
        0 0 18px rgba(215, 38, 61, 0.28);
}

.map-frame::before {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(90deg, transparent 0 82px, rgba(56, 189, 248, 0.08) 82px 83px),
        repeating-linear-gradient(0deg, transparent 0 82px, rgba(56, 189, 248, 0.05) 82px 83px);
    opacity: 0.45;
}

.real-map {
    position: absolute;
    inset: 0;
    z-index: 1;
    isolation: isolate;
    background: #07111a;
}

.real-map .leaflet-pane,
.real-map .leaflet-control {
    z-index: 2;
}

.real-map .leaflet-control-container {
    position: relative;
    z-index: 6;
}

.real-map .leaflet-tile-pane {
    opacity: 0.9;
    mix-blend-mode: screen;
}

.real-map .osm-dark-tiles .leaflet-tile {
    filter: grayscale(1) invert(1) brightness(1.05) contrast(1.12) sepia(0.16) hue-rotate(165deg) saturate(0.72);
}

.real-map .leaflet-tooltip-pane {
    z-index: 8;
}

.real-map .leaflet-control-zoom {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.82);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.34);
}

.real-map .leaflet-control-zoom a {
    width: 34px;
    height: 34px;
    color: var(--text);
    border: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 17, 21, 0.8);
    font-family: var(--mono);
    line-height: 34px;
}

.real-map .leaflet-control-zoom a:last-child {
    border-bottom: 0;
}

.real-map .leaflet-control-zoom a:hover,
.real-map .leaflet-control-zoom a:focus {
    color: #fff;
    background: rgba(215, 38, 61, 0.28);
}

.real-map .leaflet-control-attribution {
    color: rgba(168, 173, 183, 0.72);
    background: rgba(9, 11, 15, 0.72);
    font-family: var(--mono);
    font-size: 13px;
}

.real-map .leaflet-control-attribution a {
    color: rgba(255, 91, 114, 0.94);
}

.real-map .leaflet-popup-content-wrapper,
.real-map .leaflet-popup-tip {
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(17, 20, 26, 0.96);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.45);
}

.real-map .leaflet-popup-content {
    margin: 10px 12px;
    color: var(--muted);
    font-size: 12px;
}

.real-map .leaflet-popup-content strong {
    display: block;
    color: var(--text);
    font-family: var(--display);
    font-weight: 400;
    font-size: 18px;
}

.real-map .leaflet-popup-close-button {
    color: var(--muted);
}

.real-map .case-map-tooltip {
    max-width: 260px;
    padding: 0;
    color: var(--text);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    white-space: normal;
    line-height: 1.25;
}

.real-map .case-map-tooltip::before {
    display: none;
}

.real-map .case-map-tooltip::after {
    position: absolute;
    z-index: 0;
    width: 14px;
    height: 14px;
    content: "";
    border: 0;
    background:
        linear-gradient(135deg, rgba(34, 12, 15, 0.98), rgba(9, 11, 15, 0.98));
    box-shadow:
        4px 4px 18px rgba(0, 0, 0, 0.58),
        0 0 14px rgba(215, 38, 61, 0.28);
    transform: rotate(45deg);
}

.real-map .leaflet-tooltip-top.case-map-tooltip::after {
    bottom: -7px;
    left: 50%;
    border-right: 1px solid rgba(215, 38, 61, 0.44);
    border-bottom: 1px solid rgba(215, 38, 61, 0.44);
    transform: translateX(-50%) rotate(45deg);
}

.real-map .leaflet-tooltip-bottom.case-map-tooltip::after {
    top: -7px;
    left: 50%;
    border-top: 1px solid rgba(215, 38, 61, 0.44);
    border-left: 1px solid rgba(215, 38, 61, 0.44);
    transform: translateX(-50%) rotate(45deg);
}

.real-map .leaflet-tooltip-right.case-map-tooltip::after {
    top: 66%;
    left: -7px;
    border-bottom: 1px solid rgba(215, 38, 61, 0.44);
    border-left: 1px solid rgba(215, 38, 61, 0.44);
    transform: translateY(-50%) rotate(45deg);
}

.real-map .leaflet-tooltip-left.case-map-tooltip::after {
    top: 66%;
    right: -7px;
    border-top: 1px solid rgba(215, 38, 61, 0.44);
    border-right: 1px solid rgba(215, 38, 61, 0.44);
    transform: translateY(-50%) rotate(45deg);
}

.map-tooltip-card {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 214px;
    gap: 4px;
    padding: 10px 12px 11px;
    border: 1px solid rgba(215, 38, 61, 0.44);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(171, 0, 0, 0.22), transparent 62%),
        repeating-linear-gradient(100deg, rgba(242, 242, 242, 0.035) 0 1px, transparent 1px 8px),
        rgba(11, 13, 18, 0.96);
    box-shadow:
        inset 0 0 24px rgba(215, 38, 61, 0.12),
        0 16px 34px rgba(0, 0, 0, 0.54),
        0 0 20px rgba(215, 38, 61, 0.18);
}

.map-tooltip-alias {
    color: var(--text);
    font-family: var(--display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    text-shadow:
        0 0 12px rgba(215, 38, 61, 0.36),
        1px 1px 0 rgba(0, 0, 0, 0.82);
}

.map-tooltip-name {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.map-tooltip-status {
    justify-self: start;
    max-width: 100%;
    margin-top: 2px;
    padding: 3px 7px;
    color: var(--muted);
    border: 1px solid rgba(168, 173, 183, 0.34);
    border-radius: 999px;
    background: rgba(15, 17, 21, 0.72);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: normal;
}

.map-tooltip-status.returned {
    color: #ff9aa7;
    border-color: rgba(215, 38, 61, 0.62);
    background: rgba(215, 38, 61, 0.14);
}

.map-tooltip-status.dead {
    color: #f2f2f2;
    border-color: rgba(242, 242, 242, 0.36);
    background: rgba(242, 242, 242, 0.08);
}

.map-tooltip-status.missing {
    color: #ffd791;
    border-color: rgba(245, 158, 11, 0.62);
    background: rgba(245, 158, 11, 0.12);
}

.map-tooltip-status.paused {
    color: #c9a8ff;
    border-color: rgba(124, 58, 237, 0.62);
    background: rgba(124, 58, 237, 0.14);
}

.map-tooltip-status.unknown {
    color: #c6ccd5;
    border-color: rgba(143, 151, 165, 0.54);
    background: rgba(143, 151, 165, 0.12);
}

.leaflet-div-icon.case-marker-icon {
    border: 0;
    background: transparent;
}

.map-empty {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 8;
    display: grid;
    place-items: center;
    min-width: 250px;
    min-height: 76px;
    padding: 16px 20px;
    color: var(--muted);
    border: 1px dashed rgba(168, 173, 183, 0.38);
    border-radius: 6px;
    background: rgba(9, 11, 15, 0.82);
    font-size: 13px;
    transform: translate(-50%, -50%);
}

.map-empty[hidden] {
    display: none;
}

.map-marker {
    --marker-accent: #c6ccd5;
    --marker-glow: rgba(198, 204, 213, 0.5);
    position: relative;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.case-marker-icon.map-marker {
    position: absolute;
}

.status-marker-icon {
    position: relative;
    z-index: 2;
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.96))
        drop-shadow(0 0 6px rgba(94, 203, 255, 0.92))
        drop-shadow(0 0 14px rgba(56, 189, 248, 0.58))
        drop-shadow(0 2px 3px rgba(0, 0, 0, 1));
    transition: transform 160ms ease, filter 160ms ease;
}

.map-marker.returned {
    --marker-accent: #ff5268;
    --marker-glow: rgba(255, 82, 104, 0.68);
    color: var(--red);
}

.map-marker.dead {
    --marker-accent: #f2f2f2;
    --marker-glow: rgba(242, 242, 242, 0.5);
    color: var(--text);
}

.map-marker.missing {
    --marker-accent: #ffc04d;
    --marker-glow: rgba(245, 158, 11, 0.68);
    color: var(--orange);
}

.map-marker.paused {
    --marker-accent: #b78cff;
    --marker-glow: rgba(124, 58, 237, 0.72);
    color: var(--violet);
}

.map-marker.unknown {
    --marker-accent: #d5dae2;
    --marker-glow: rgba(198, 204, 213, 0.58);
    color: var(--gray-dot);
}

.map-marker:hover .status-marker-icon,
.map-marker:focus-visible .status-marker-icon {
    transform: scale(1.08);
}

.map-marker.active {
    z-index: 7;
}

.map-marker.active .status-marker-icon {
    transform: scale(1.32);
    filter:
        drop-shadow(0 0 1px rgba(255, 235, 238, 1))
        drop-shadow(0 0 8px rgba(255, 54, 78, 1))
        drop-shadow(0 0 20px rgba(215, 38, 61, 0.96))
        drop-shadow(0 0 40px rgba(215, 38, 61, 0.76))
        drop-shadow(0 8px 14px rgba(0, 0, 0, 0.9));
}

.map-scanline {
    position: absolute;
    z-index: 3;
    top: -30%;
    left: 0;
    width: 100%;
    height: 22%;
    opacity: 0;
    background: linear-gradient(180deg, transparent, rgba(215, 38, 61, 0.11), transparent);
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
    align-items: center;
    min-height: 132px;
    margin-top: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.66);
    color: var(--muted);
    font-size: 13px;
}

.legend span {
    display: inline-flex;
    gap: var(--space-sm);
    align-items: center;
}

.legend-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(215, 38, 61, 0.2)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.78));
}

.dot {
    width: 11px;
    height: 11px;
    border: 2px solid rgba(242, 242, 242, 0.56);
    border-radius: 50%;
    box-shadow: 0 0 12px currentColor;
}

.dot.returned {
    color: var(--red);
    background: var(--red);
}

.dot.dead {
    color: rgba(242, 242, 242, 0.6);
    background: var(--dead);
}

.dot.missing {
    color: var(--orange);
    background: var(--orange);
}

.dot.paused {
    color: var(--violet);
    background: var(--violet);
}

.dot.unknown {
    color: var(--gray-dot);
    background: var(--gray-dot);
}

.dossier-panel {
    position: relative;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-height: 690px;
    scroll-margin-top: 92px;
    overflow: hidden;
    padding: var(--panel-pad);
    border-color: rgba(126, 90, 62, 0.38);
    background:
        linear-gradient(180deg, rgba(23, 17, 14, 0.9), rgba(10, 9, 8, 0.96)),
        #14100d;
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.03),
        inset 0 0 70px rgba(0, 0, 0, 0.58),
        0 20px 86px rgba(0, 0, 0, 0.35);
}

.dossier-panel::before,
.dossier-panel::after {
    pointer-events: none;
    position: absolute;
    inset: 0;
    content: "";
}

.dossier-panel::before {
    z-index: 0;
    background:
        url("textures/dossier-paper-stained.webp") center top / cover no-repeat;
    opacity: 0.58;
    filter: saturate(0.82) contrast(1.16);
}

.dossier-panel::after {
    z-index: 0;
    background:
        radial-gradient(circle at 18% 6%, rgba(215, 38, 61, 0.16), transparent 18%),
        radial-gradient(circle at 92% 88%, rgba(100, 50, 26, 0.34), transparent 22%),
        linear-gradient(180deg, rgba(9, 11, 15, 0.46), rgba(9, 11, 15, 0.74)),
        linear-gradient(90deg, rgba(0, 0, 0, 0.48), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.52));
    mix-blend-mode: multiply;
}

.dossier-panel > * {
    position: relative;
    z-index: 1;
}

.dossier-spread {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--inner-gap);
    align-items: stretch;
    min-height: 100%;
}

.dossier-spread::before {
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 50%;
    z-index: 3;
    width: 1px;
    content: "";
    background:
        linear-gradient(180deg, transparent, rgba(126, 90, 62, 0.45) 12%, rgba(215, 38, 61, 0.22) 50%, rgba(126, 90, 62, 0.4) 88%, transparent);
    box-shadow:
        -10px 0 22px rgba(0, 0, 0, 0.26),
        10px 0 22px rgba(255, 220, 170, 0.035);
    transform: translateX(-50%);
    pointer-events: none;
}

.dossier-page {
    position: relative;
    min-width: 0;
    min-height: 100%;
    padding: var(--panel-pad);
    overflow: hidden;
    border: 1px solid rgba(126, 90, 62, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(42, 29, 21, 0.52), rgba(8, 7, 6, 0.68)),
        url("textures/dossier-paper-stained.webp") center top / cover no-repeat,
        rgba(20, 15, 12, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.025),
        inset 0 0 46px rgba(0, 0, 0, 0.46),
        0 18px 52px rgba(0, 0, 0, 0.22);
}

.dossier-page::before,
.dossier-page::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
}

.dossier-page::before {
    z-index: 0;
    background:
        repeating-linear-gradient(90deg, rgba(242, 242, 242, 0.024) 0 1px, transparent 1px 11px),
        radial-gradient(circle at 18% 9%, rgba(215, 38, 61, 0.12), transparent 22%),
        radial-gradient(circle at 88% 88%, rgba(0, 0, 0, 0.28), transparent 28%);
    opacity: 0.66;
    mix-blend-mode: screen;
}

.dossier-page::after {
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.34)),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.24));
    mix-blend-mode: multiply;
}

.dossier-page-primary {
    background-position: center top;
}

.dossier-page-secondary {
    background-position: center bottom;
}

.dossier-page > * {
    position: relative;
    z-index: 1;
}

.dossier-page-secondary .victims-block {
    margin-top: 0;
}

.dossier-head {
    align-items: flex-start;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--line);
}

.dossier-head .eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0 0 var(--space-sm);
    padding: 0;
    color: #ab0000;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--condensed);
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 400;
    line-height: 1;
    text-transform: none;
    letter-spacing: 0;
    transform: none;
    text-shadow:
        0 1px 0 rgba(42, 0, 0, 0.9),
        0 3px 0 rgba(8, 0, 0, 0.58),
        0 10px 24px rgba(0, 0, 0, 0.58),
        0 0 18px rgba(215, 38, 61, 0.2);
    box-shadow: none;
    filter: none;
    -webkit-mask-image: none;
    mask-image: none;
}

.dossier-head .eyebrow::before,
.dossier-head .eyebrow::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.dossier-head .eyebrow::before {
    content: none;
}

.dossier-head .eyebrow::after {
    content: none;
}

.dossier-head h2 {
    max-width: min(100%, 760px);
    margin: 0;
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(38px, 4vw, 66px);
    font-weight: 400;
    line-height: 0.96;
    overflow-wrap: break-word;
    text-wrap: balance;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.86),
        0 0 22px rgba(215, 38, 61, 0.24);
}

.alias {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 10px 0 0;
    color: rgba(242, 242, 242, 0.72);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}

.alias:empty {
    display: none;
}

.case-id {
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 11px;
    white-space: nowrap;
}

.profile-block {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: var(--space-sm);
    align-items: center;
    padding: var(--inner-gap) 0 var(--space-sm);
}

.profile-block.context-photo {
    grid-template-columns: 1fr;
    align-items: start;
}

.profile-photo-button {
    position: relative;
    width: 92px;
    height: 116px;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.62);
}

.profile-photo-button:disabled {
    cursor: default;
}

.profile-photo-button.archive-photo-missing {
    border-color: rgba(215, 38, 61, 0.34);
    background:
        linear-gradient(180deg, rgba(7, 8, 12, 0.16), rgba(8, 9, 13, 0.9)),
        radial-gradient(circle at 50% 24%, rgba(215, 38, 61, 0.18), transparent 58%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        #090b0f;
    background-blend-mode: normal, screen, soft-light, normal;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        inset 0 0 34px rgba(0, 0, 0, 0.72),
        inset 0 -22px 30px rgba(215, 38, 61, 0.08);
}

.profile-photo-button:not(:disabled):hover {
    border-color: rgba(215, 38, 61, 0.68);
    box-shadow: 0 0 0 1px rgba(215, 38, 61, 0.22), 0 14px 34px rgba(0, 0, 0, 0.34);
}

.profile-photo-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.08) saturate(0.88);
}

.profile-photo-button img[hidden] {
    display: none;
}

.profile-photo-button.context-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
}

.profile-photo-button.context-photo img {
    object-fit: contain;
    background: #090b0f;
}

.photo-album {
    display: grid;
    gap: var(--space-xs);
    padding: 0 0 var(--space-sm);
    border-bottom: 1px solid var(--line);
}

.photo-album-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
}

.photo-album-head em {
    min-width: 24px;
    padding: 2px 6px;
    color: #ffb4bf;
    text-align: center;
    border: 1px solid rgba(215, 38, 61, 0.4);
    border-radius: 999px;
    background: rgba(215, 38, 61, 0.08);
    font-style: normal;
}

.photo-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 92px);
    gap: var(--space-xs);
    align-items: start;
}

.photo-album-item {
    position: relative;
    display: block;
    width: 92px;
    height: 92px;
    min-width: 0;
    padding: 4px;
    overflow: hidden;
    color: var(--muted);
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 6px;
    background: rgba(15, 17, 21, 0.52);
}

.photo-album-item:hover,
.photo-album-item:focus-visible,
.photo-album-item.active {
    color: var(--text);
    border-color: rgba(215, 38, 61, 0.68);
    background: rgba(215, 38, 61, 0.09);
    box-shadow: 0 0 22px rgba(215, 38, 61, 0.15);
}

.photo-album-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    background: #090b0f;
    filter: grayscale(0.2) contrast(1.06) saturate(0.9);
}

.photo-album-item.context-photo img {
    object-fit: contain;
}

.profile-silhouette {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(6, 7, 10, 0.02), rgba(5, 6, 9, 0.28)),
        url("placeholders/demon-photo-missing.jpg") center / cover no-repeat,
        #090b0f;
}

.profile-silhouette::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(90deg, transparent 0 28px, rgba(215, 38, 61, 0.11) 28px 29px),
        radial-gradient(ellipse at 50% 40%, transparent 0 40%, rgba(4, 5, 8, 0.42) 74%, rgba(4, 5, 8, 0.72) 100%);
    box-shadow:
        inset 0 0 0 1px rgba(215, 38, 61, 0.18),
        inset 0 0 22px rgba(0, 0, 0, 0.42);
}

.profile-silhouette::after {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 2;
    content: attr(data-empty-label);
    padding: 4px 6px;
    color: rgba(255, 225, 225, 0.82);
    border: 1px solid rgba(215, 38, 61, 0.48);
    border-radius: 3px;
    background:
        linear-gradient(135deg, rgba(215, 38, 61, 0.18), rgba(6, 7, 10, 0.88)),
        rgba(18, 4, 8, 0.82);
    font-family: var(--mono);
    font-size: 8px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    transform: rotate(-7deg);
    box-shadow: 0 0 16px rgba(215, 38, 61, 0.18);
}

.region-line,
.victims-line {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.region-line {
    color: var(--text);
    font-weight: 700;
}

.victims-line {
    margin-top: 8px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    padding: 0 0 var(--space-sm);
    border-bottom: 1px solid var(--line);
}

.tag {
    max-width: 100%;
    padding: 4px 8px;
    overflow: hidden;
    color: var(--text);
    border: 1px solid rgba(168, 173, 183, 0.28);
    border-radius: 4px;
    background: rgba(15, 17, 21, 0.45);
    font-family: var(--mono);
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
}

.tag.crime {
    color: #ffb4bf;
    border-color: rgba(215, 38, 61, 0.65);
    background: rgba(215, 38, 61, 0.08);
}

.tag.mechanism {
    color: #bdeeff;
    border-color: rgba(56, 189, 248, 0.55);
    background: rgba(56, 189, 248, 0.07);
}

.tag.status {
    color: #ffd791;
    border-color: rgba(245, 158, 11, 0.62);
    background: rgba(245, 158, 11, 0.08);
}

.story-block {
    position: relative;
    margin-top: var(--space-sm);
    padding: var(--space-sm);
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.42);
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(215, 38, 61, 0.18), transparent 34%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.66);
    background-blend-mode: normal, soft-light, normal;
}

.story-block::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    content: "";
    background: var(--red);
    box-shadow: 0 0 18px rgba(215, 38, 61, 0.75);
}

.pardon-scales {
    position: relative;
    height: clamp(470px, 36vw, 560px);
    min-height: 0;
    margin-top: var(--space-sm);
    overflow: hidden;
    border: 1px solid rgba(126, 90, 62, 0.36);
    border-radius: 7px;
    background:
        radial-gradient(circle at 28% 66%, rgba(215, 38, 61, 0.2), transparent 34%),
        radial-gradient(circle at 78% 42%, rgba(245, 158, 11, 0.12), transparent 26%),
        linear-gradient(180deg, rgba(25, 18, 14, 0.9), rgba(10, 9, 8, 0.94)),
        url("textures/dossier-paper-stained.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 48px rgba(0, 0, 0, 0.58),
        0 16px 36px rgba(0, 0, 0, 0.24);
}

.pardon-scales::before,
.pardon-scales::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
}

.pardon-scales::before {
    z-index: 1;
    background:
        repeating-linear-gradient(100deg, rgba(242, 242, 242, 0.035) 0 1px, transparent 1px 9px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 36%, transparent 64%, rgba(0, 0, 0, 0.26));
    mix-blend-mode: screen;
    opacity: 0.46;
}

.pardon-scales::after {
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(9, 11, 15, 0.18), rgba(9, 11, 15, 0.52)),
        radial-gradient(circle at 17% 68%, rgba(215, 38, 61, 0.22), transparent 28%);
}

.pardon-scales img {
    position: absolute;
    inset: 16px;
    z-index: 1;
    display: block;
    width: calc(100% - 32px);
    height: calc(100% - 32px);
    max-width: none;
    object-fit: contain;
    object-position: center;
    filter:
        drop-shadow(0 0 18px rgba(215, 38, 61, 0.22))
        drop-shadow(0 22px 28px rgba(0, 0, 0, 0.72))
        contrast(1.04)
        saturate(1.08);
}

.scales-label {
    position: absolute;
    z-index: 3;
    display: grid;
    gap: 5px;
    padding: 0;
    background: transparent;
    filter: drop-shadow(0 7px 14px rgba(0, 0, 0, 0.68));
    pointer-events: none;
}

.scales-label span {
    color: #ffd791;
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1;
    text-transform: uppercase;
}

.scales-label strong {
    color: var(--text);
    font-family: var(--display);
    font-size: clamp(18px, 2vw, 27px);
    font-weight: 400;
    line-height: 0.98;
    text-transform: uppercase;
    text-shadow:
        0 0 3px rgba(0, 0, 0, 0.95),
        0 0 12px rgba(215, 38, 61, 0.28),
        1px 1px 0 rgba(0, 0, 0, 0.88),
        -1px 0 0 rgba(0, 0, 0, 0.66);
}

.scales-label-sin {
    left: clamp(26px, 7%, 64px);
    top: 60%;
    width: min(34%, 290px);
    transform: translateY(-50%);
}

.scales-label-sin strong {
    color: #f7d0d6;
}

.scales-label-pardon {
    right: clamp(32px, 7.4%, 72px);
    top: 46%;
    width: min(29%, 255px);
    text-align: center;
    transform: translateY(-50%);
}

.scales-label-pardon strong {
    color: #ffe5b3;
}

.story-block h3,
.victims-head h3 {
    color: #ab0000;
    font-family: var(--condensed);
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(42, 0, 0, 0.9),
        0 3px 0 rgba(8, 0, 0, 0.58),
        0 10px 22px rgba(0, 0, 0, 0.54),
        0 0 16px rgba(215, 38, 61, 0.18);
}

.story-body {
    display: grid;
    gap: 10px;
    margin: var(--space-xs) 0 0;
}

.story-lead {
    color: #ffd791;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
    text-shadow:
        0 1px 0 rgba(42, 0, 0, 0.9),
        0 0 12px rgba(215, 38, 61, 0.2);
}

.story-body p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.45;
}

.story-body p + p {
    padding-top: 2px;
    border-top: 1px solid rgba(168, 173, 183, 0.1);
}

.victims-block {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.victims-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--inner-gap);
}

.victim-presence {
    display: none;
    justify-items: end;
    gap: 4px;
    width: min(54%, 320px);
}

.victim-presence:not([hidden]) {
    display: grid;
}

.victim-list {
    display: grid;
    gap: var(--space-sm);
}

.victim-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
    gap: var(--space-xs);
    min-width: 0;
}

.victim-group-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 0 2px 7px;
    border-bottom: 1px solid rgba(168, 173, 183, 0.14);
    color: var(--text);
    font-family: var(--condensed);
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.victim-group-title small {
    min-width: 28px;
    padding: 4px 7px;
    color: rgba(242, 242, 242, 0.72);
    text-align: center;
    border: 1px solid rgba(168, 173, 183, 0.2);
    border-radius: 999px;
    background: rgba(242, 242, 242, 0.055);
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1;
}

.victim-group.killed .victim-group-title {
    color: #f3ded0;
}

.victim-group.survived .victim-group-title {
    color: #d7edf8;
}

.victim-card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: 244px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(168, 173, 183, 0.17);
    border-radius: 7px;
    background:
        radial-gradient(circle at 8% 44%, rgba(215, 38, 61, 0.12), transparent 26%),
        linear-gradient(135deg, rgba(242, 242, 242, 0.05), transparent 50%),
        rgba(15, 17, 21, 0.58);
    cursor: pointer;
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        transform 160ms ease;
}

.victim-card::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(215, 38, 61, 0.035) 12px 13px),
        linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.05));
}

.victim-card.context {
    border-color: rgba(56, 189, 248, 0.34);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.11), transparent 54%),
        rgba(15, 17, 21, 0.58);
}

.victim-card.killed {
    border-color: rgba(215, 38, 61, 0.34);
}

.victim-card.survived {
    border-color: rgba(56, 189, 248, 0.26);
    background:
        radial-gradient(circle at 8% 44%, rgba(56, 189, 248, 0.1), transparent 26%),
        linear-gradient(135deg, rgba(242, 242, 242, 0.05), transparent 50%),
        rgba(15, 17, 21, 0.58);
}

.victim-card.survived::after {
    background:
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(56, 189, 248, 0.03) 12px 13px),
        linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.045));
}

.victim-card:hover,
.victim-card:focus-visible,
.victim-card.is-open {
    border-color: rgba(242, 242, 242, 0.34);
    box-shadow:
        0 0 0 1px rgba(242, 242, 242, 0.05),
        0 16px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.victim-card:focus-visible {
    outline: 2px solid rgba(245, 158, 11, 0.62);
    outline-offset: 3px;
}

.victim-tile {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(76px, 1fr);
    min-width: 0;
    min-height: 100%;
    transition:
        filter 180ms ease,
        transform 180ms ease;
}

.victim-card:hover .victim-tile,
.victim-card:focus-visible .victim-tile,
.victim-card.is-open .victim-tile {
    filter: brightness(0.48) saturate(0.72);
    transform: scale(1.015);
}

.victim-photo {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: rgba(242, 242, 242, 0.72);
    text-align: center;
    border: 0;
    border-bottom: 1px solid rgba(168, 173, 183, 0.24);
    border-radius: 0;
    background:
        linear-gradient(135deg, rgba(242, 242, 242, 0.06), transparent 50%),
        radial-gradient(circle at 50% 32%, rgba(168, 173, 183, 0.28) 0 17px, transparent 18px),
        radial-gradient(ellipse at 50% 100%, rgba(168, 173, 183, 0.17) 0 44px, transparent 45px),
        #0b0d12;
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.1;
    text-transform: uppercase;
}

.victim-photo.avatar {
    border-color: rgba(179, 22, 39, 0.42);
    background: #080a0e;
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.04),
        0 0 18px rgba(171, 0, 0, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.42);
}

.victim-photo.avatar::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(135deg, rgba(242, 242, 242, 0.12), transparent 34%),
        radial-gradient(circle at 78% 18%, rgba(171, 0, 0, 0.2), transparent 32%),
        repeating-linear-gradient(135deg, transparent 0 8px, rgba(15, 17, 21, 0.24) 8px 9px);
    mix-blend-mode: screen;
    opacity: 0.46;
}

.victim-photo.protected,
.victim-photo.protected_minor {
    border-color: rgba(215, 38, 61, 0.34);
    background:
        repeating-linear-gradient(135deg, rgba(215, 38, 61, 0.13) 0 1px, transparent 1px 7px),
        radial-gradient(circle at 50% 32%, rgba(168, 173, 183, 0.2) 0 14px, transparent 15px),
        #0b0d12;
}

.victim-photo.context {
    width: 100%;
    border-color: rgba(56, 189, 248, 0.42);
}

.victim-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.12) contrast(1.08) saturate(0.88);
}

.victim-photo.avatar img {
    object-fit: cover;
    filter: grayscale(0.08) contrast(1.12) saturate(0.82);
}

.victim-photo.protected_minor.avatar img,
.victim-photo.protected.avatar img {
    filter: grayscale(0.12) contrast(1.08) saturate(0.72);
}

.victim-photo.context img {
    object-fit: cover;
}

.victim-caption {
    position: relative;
    display: grid;
    align-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 76px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.3);
    border-width: 0;
    border-radius: 0 0 6px 6px;
    background:
        radial-gradient(circle at 50% 28%, rgba(215, 38, 61, 0.22), transparent 48%),
        linear-gradient(180deg, rgba(37, 6, 8, 0.76), rgba(10, 9, 10, 0.82));
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.025),
        inset 0 -18px 24px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(171, 0, 0, 0.16);
}

.victim-caption::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(135deg, rgba(242, 242, 242, 0.035) 0 1px, transparent 1px 7px),
        radial-gradient(circle at 78% 18%, rgba(245, 158, 11, 0.12), transparent 36%);
    opacity: 0.7;
}

.victim-caption strong,
.victim-caption span {
    position: relative;
    z-index: 1;
}

.victim-caption strong {
    max-width: 100%;
    color: #f3ded0;
    font-family: var(--display);
    font-size: 24px;
    font-weight: 900;
    line-height: 0.96;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: keep-all;
    text-transform: uppercase;
    text-shadow:
        0 2px 0 rgba(60, 0, 0, 0.84),
        0 8px 16px rgba(0, 0, 0, 0.62),
        0 0 18px rgba(215, 38, 61, 0.26);
}

.victim-caption span {
    max-width: 100%;
    color: #ffd791;
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.05;
    overflow-wrap: break-word;
    text-transform: uppercase;
}

.victim-caption.survived {
    border-color: rgba(56, 189, 248, 0.27);
    background:
        radial-gradient(circle at 50% 28%, rgba(56, 189, 248, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(6, 22, 37, 0.72), rgba(8, 10, 14, 0.84));
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.025),
        inset 0 -18px 24px rgba(0, 0, 0, 0.24),
        0 0 18px rgba(56, 189, 248, 0.12);
}

.victim-caption.survived strong {
    color: #d7edf8;
    text-shadow:
        0 2px 0 rgba(0, 18, 36, 0.84),
        0 8px 16px rgba(0, 0, 0, 0.62),
        0 0 18px rgba(56, 189, 248, 0.2);
}

.victim-caption.survived span {
    color: rgba(242, 242, 242, 0.76);
}

.victim-tooltip {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
    padding: 10px;
    overflow: auto;
    color: var(--text);
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(7, 8, 11, 0.94), rgba(21, 5, 8, 0.94)),
        rgba(9, 11, 15, 0.96);
    box-shadow:
        inset 0 0 0 1px rgba(242, 242, 242, 0.08),
        inset 0 -24px 34px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
        opacity 160ms ease,
        transform 160ms ease,
        visibility 160ms ease;
    scrollbar-width: thin;
}

.victim-card:hover .victim-tooltip,
.victim-card:focus-visible .victim-tooltip,
.victim-card.is-open .victim-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.victim-tooltip strong {
    hyphens: auto;
    overflow-wrap: break-word;
    color: var(--text);
    font-size: 15px;
    line-height: 1.18;
}

.victim-tooltip em {
    overflow-wrap: break-word;
    color: #ffd791;
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
    text-transform: uppercase;
}

.victim-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    min-width: 0;
}

.victim-meta span {
    display: inline-flex;
    max-width: 100%;
    min-height: 20px;
    align-items: center;
    padding: 3px 6px;
    overflow-wrap: break-word;
    color: rgba(242, 242, 242, 0.82);
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 4px;
    background: rgba(242, 242, 242, 0.055);
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.15;
}

.victim-tooltip small {
    hyphens: auto;
    overflow-wrap: break-word;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.25;
}

.victim-evidence {
    color: rgba(242, 242, 242, 0.76);
}

.victim-note {
    color: rgba(242, 242, 242, 0.72);
}

.victim-empty {
    padding: 10px;
    color: var(--muted);
    border: 1px dashed rgba(168, 173, 183, 0.22);
    border-radius: 6px;
    font-size: 12px;
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--inner-gap);
    padding: var(--inner-gap) 0 var(--space-sm);
}

.before-after h3 {
    grid-column: 1 / -1;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    color: #ab0000;
    font-family: var(--condensed);
    font-size: clamp(24px, 2.4vw, 38px);
    font-weight: 400;
    line-height: 1;
    text-shadow:
        0 1px 0 rgba(42, 0, 0, 0.9),
        0 3px 0 rgba(8, 0, 0, 0.58),
        0 10px 22px rgba(0, 0, 0, 0.54),
        0 0 16px rgba(215, 38, 61, 0.18);
}

.ba-row {
    position: relative;
    display: grid;
    align-content: start;
    gap: 11px;
    min-height: clamp(132px, 10vw, 152px);
    padding: clamp(20px, 1.65vw, 24px) clamp(18px, 1.6vw, 24px) clamp(20px, 1.65vw, 24px) clamp(62px, 4.4vw, 72px);
    overflow: hidden;
    border: 1px solid rgba(168, 173, 183, 0.16);
    border-radius: 7px;
    background:
        radial-gradient(circle at 8% 26%, rgba(215, 38, 61, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(242, 242, 242, 0.055), transparent 52%),
        rgba(10, 12, 17, 0.66);
    box-shadow: inset 0 0 0 1px rgba(242, 242, 242, 0.025);
}

.ba-row::before {
    position: absolute;
    top: clamp(22px, 1.8vw, 26px);
    left: clamp(18px, 1.6vw, 24px);
    width: 36px;
    height: 36px;
    content: "";
    border: 1px solid rgba(215, 38, 61, 0.54);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(215, 38, 61, 0.9) 0 6px, transparent 7px),
        radial-gradient(circle, rgba(215, 38, 61, 0.2), transparent 70%),
        rgba(15, 17, 21, 0.84);
    box-shadow: 0 0 30px rgba(215, 38, 61, 0.26);
}

.ba-row::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(215, 38, 61, 0.035) 12px 13px),
        linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.05));
    opacity: 0.75;
}

.ba-row span {
    position: relative;
    z-index: 1;
    color: var(--red);
    font-family: var(--mono);
    font-weight: 800;
    font-size: clamp(13px, 1vw, 15px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ba-row.after span {
    color: var(--blue);
}

.ba-row.after::before {
    border-color: rgba(56, 189, 248, 0.5);
    background:
        radial-gradient(circle, rgba(56, 189, 248, 0.86) 0 6px, transparent 7px),
        radial-gradient(circle, rgba(56, 189, 248, 0.17), transparent 70%),
        rgba(15, 17, 21, 0.84);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.22);
}

.ba-row p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--muted);
    font-size: clamp(15px, 1.18vw, 17px);
    line-height: 1.36;
}

.mini-timeline {
    position: relative;
    display: grid;
    gap: 16px;
    margin-top: 2px;
    padding: clamp(18px, 1.7vw, 24px);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 7px;
    background:
        radial-gradient(circle at 7% 10%, rgba(215, 38, 61, 0.2), transparent 31%),
        linear-gradient(180deg, rgba(15, 17, 21, 0.78), rgba(15, 17, 21, 0.6)),
        url("textures/route-board.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.56);
    background-blend-mode: normal, normal, soft-light, normal;
}

.mini-timeline::before {
    position: absolute;
    top: 38px;
    bottom: 26px;
    left: clamp(78px, 5.7vw, 86px);
    width: 14px;
    content: "";
    background:
        linear-gradient(180deg, rgba(255, 39, 61, 0.98), rgba(215, 38, 61, 0.98) 42%, rgba(171, 0, 0, 1) 76%, rgba(255, 52, 52, 0.98));
    box-shadow:
        0 0 18px rgba(215, 38, 61, 0.72),
        0 0 34px rgba(171, 0, 0, 0.44);
    opacity: 0.9;
    transform: translateX(-50%);
    clip-path: polygon(31% 0, 69% 0, 69% calc(100% - 18px), 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px), 31% calc(100% - 18px));
}

.mini-timeline::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.045)),
        repeating-linear-gradient(135deg, transparent 0 9px, rgba(242, 242, 242, 0.018) 9px 10px);
    opacity: 0.9;
}

.mini-event {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px 78px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    min-height: 118px;
    padding: clamp(16px, 1.45vw, 22px);
    overflow: hidden;
    color: var(--muted);
    border: 1px solid rgba(168, 173, 183, 0.12);
    border-radius: 7px;
    background:
        linear-gradient(90deg, rgba(15, 17, 21, 0.74), rgba(15, 17, 21, 0.42)),
        rgba(15, 17, 21, 0.46);
    font-size: 17px;
    box-shadow: inset 0 0 0 1px rgba(242, 242, 242, 0.018);
}

.mini-event.stage-crime {
    border-color: rgba(215, 38, 61, 0.26);
}

.mini-event.stage-contract {
    border-color: rgba(245, 158, 11, 0.24);
}

.mini-event.stage-front {
    border-color: rgba(124, 58, 237, 0.25);
}

.mini-event.stage-free,
.mini-event.stage-status {
    border-color: rgba(215, 38, 61, 0.34);
    background:
        radial-gradient(circle at 10% 50%, rgba(215, 38, 61, 0.13), transparent 34%),
        linear-gradient(90deg, rgba(15, 17, 21, 0.78), rgba(15, 17, 21, 0.44));
}

.mini-event-step {
    color: rgba(242, 242, 242, 0.58);
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1;
}

.mini-event-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(215, 38, 61, 0.16), transparent 64%),
        rgba(5, 6, 9, 0.78);
    box-shadow:
        0 0 30px rgba(215, 38, 61, 0.22),
        inset 0 0 0 1px rgba(242, 242, 242, 0.035);
}

.mini-event-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(215, 38, 61, 0.22))
        drop-shadow(0 6px 8px rgba(0, 0, 0, 0.58));
}

.mini-event-copy {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.mini-event strong {
    color: var(--text);
    font-family: var(--mono);
    font-size: clamp(18px, 1.45vw, 21px);
    line-height: 1.1;
}

.mini-event-copy span {
    color: rgba(242, 242, 242, 0.68);
    font-size: clamp(17px, 1.32vw, 19px);
    line-height: 1.36;
}

.mini-event-empty {
    position: relative;
    z-index: 1;
    padding: 12px;
    color: var(--muted);
    border: 1px dashed rgba(168, 173, 183, 0.2);
    border-radius: 6px;
    font-size: 12px;
}

.mechanism-timeline,
.figures-section,
.mechanism-section {
    margin: 0;
    padding: var(--panel-pad);
}

.figures-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 130px) center top / 100% 130px no-repeat,
        linear-gradient(135deg, rgba(215, 38, 61, 0.05), transparent 42%) center / 100% 100% no-repeat,
        url("textures/panel-grime.webp") left top / 620px 620px repeat,
        rgba(23, 26, 33, 0.86);
    background-blend-mode: normal, normal, soft-light, normal;
}

.mechanism-timeline .section-head {
    align-items: end;
}

.timeline-lead {
    max-width: 760px;
    margin: 0;
    color: rgba(242, 242, 242, 0.74);
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 700;
    line-height: 1.42;
    text-align: right;
}

.timeline-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: var(--inner-gap);
    margin-top: var(--space-lg);
}

.timeline-track::before {
    position: absolute;
    top: 38px;
    right: 34px;
    left: 34px;
    height: 8px;
    content: "";
    background:
        linear-gradient(90deg, rgba(171, 0, 0, 0), rgba(215, 38, 61, 0.96) 14%, rgba(245, 158, 11, 0.82) 46%, rgba(124, 58, 237, 0.84) 72%, rgba(56, 189, 248, 0.74) 100%);
    box-shadow:
        0 0 28px rgba(215, 38, 61, 0.34),
        0 0 54px rgba(171, 0, 0, 0.26);
    clip-path: polygon(0 28%, calc(100% - 18px) 28%, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, calc(100% - 18px) 72%, 0 72%);
}

.timeline-track article {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto 1fr;
    min-height: 224px;
    padding: 68px var(--space-sm) var(--space-sm);
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.22);
    border-radius: 6px;
    background:
        radial-gradient(circle at 20% 12%, rgba(215, 38, 61, 0.17), transparent 33%),
        linear-gradient(180deg, rgba(15, 17, 21, 0.86), rgba(15, 17, 21, 0.62)),
        url("textures/route-board.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.58);
    background-blend-mode: normal, normal, soft-light, normal;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.018),
        0 16px 36px rgba(0, 0, 0, 0.18);
}

.timeline-track article::before {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 28px;
    height: 28px;
    content: "";
    border: 3px solid var(--red);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(215, 38, 61, 0.9) 0 5px, transparent 6px),
        rgba(15, 17, 21, 0.9);
    box-shadow:
        0 0 18px rgba(215, 38, 61, 0.5),
        0 0 42px rgba(171, 0, 0, 0.28);
}

.timeline-track article::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.035) 42%, transparent 58%),
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(215, 38, 61, 0.035) 12px 13px);
    opacity: 0.54;
}

.timeline-track em,
.timeline-track strong,
.timeline-track span,
.timeline-track p {
    position: relative;
    z-index: 1;
}

.timeline-track em {
    position: absolute;
    top: 20px;
    right: 18px;
    color: rgba(56, 189, 248, 0.82);
    font-family: var(--mono);
    font-style: normal;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.timeline-track strong {
    display: block;
    color: var(--text);
    font-family: var(--mono);
    font-size: clamp(20px, 1.7vw, 28px);
    line-height: 1;
}

.timeline-track span {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(21px, 1.8vw, 30px);
    font-weight: 400;
    line-height: 1.02;
}

.timeline-track p {
    margin: 12px 0 0;
    color: rgba(242, 242, 242, 0.68);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 700;
    line-height: 1.36;
}

.decision-card-decree {
    border-color: rgba(215, 38, 61, 0.38);
    box-shadow:
        inset 0 0 0 1px rgba(215, 38, 61, 0.08),
        0 0 38px rgba(171, 0, 0, 0.12);
}

.decision-card-law {
    border-color: rgba(245, 158, 11, 0.28);
}

.decision-card-outcome {
    border-color: rgba(56, 189, 248, 0.32);
}

.timeline-verdict {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: var(--inner-gap);
    align-items: center;
    margin-top: var(--inner-gap);
    padding: clamp(16px, 1.6vw, 22px);
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.34);
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(171, 0, 0, 0.26), rgba(15, 17, 21, 0.72) 46%, rgba(15, 17, 21, 0.44)),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.58);
    background-blend-mode: normal, soft-light, normal;
}

.timeline-verdict::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background:
        radial-gradient(circle at 7% 50%, rgba(215, 38, 61, 0.26), transparent 28%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 18px);
    opacity: 0.78;
}

.timeline-verdict span,
.timeline-verdict p {
    position: relative;
    z-index: 1;
}

.timeline-verdict span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.timeline-verdict p {
    margin: 0;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(23px, 2vw, 34px);
    font-weight: 400;
    line-height: 1.08;
}

.timeline-source-row {
    margin-top: var(--space-sm);
    color: rgba(168, 173, 183, 0.72);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
}

.figure-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: var(--inner-gap);
    margin-top: var(--inner-gap);
}

.figure-card {
    position: relative;
    display: grid;
    grid-template-columns: clamp(128px, 34%, 180px) minmax(0, 1fr);
    align-content: start;
    align-items: start;
    gap: var(--space-sm);
    height: 100%;
    min-height: 252px;
    padding: var(--space-sm);
    overflow: hidden;
    color: var(--muted);
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 6px;
    background:
        linear-gradient(145deg, rgba(15, 17, 21, 0.74), rgba(15, 17, 21, 0.52)),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(15, 17, 21, 0.5);
    background-blend-mode: normal, soft-light, normal;
}

.figure-card::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    border-radius: inherit;
    background:
        radial-gradient(circle at 13% 16%, rgba(215, 38, 61, 0.16), transparent 28%),
        linear-gradient(120deg, rgba(255, 255, 255, 0.035), transparent 34%),
        repeating-linear-gradient(135deg, transparent 0 12px, rgba(56, 189, 248, 0.035) 12px 13px);
    opacity: 0.68;
}

.figure-card:hover,
.figure-card.active {
    border-color: rgba(215, 38, 61, 0.56);
    background:
        radial-gradient(circle at 15% 18%, rgba(215, 38, 61, 0.16), transparent 42%),
        linear-gradient(145deg, rgba(40, 12, 18, 0.7), rgba(15, 17, 21, 0.58)),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(215, 38, 61, 0.07);
    background-blend-mode: normal, normal, soft-light, normal;
}

.figure-card.status-missing:hover,
.figure-card.status-missing.active {
    border-color: rgba(245, 158, 11, 0.52);
}

.figure-card.status-paused:hover,
.figure-card.status-paused.active {
    border-color: rgba(124, 58, 237, 0.56);
}

.figure-card.status-unknown:hover,
.figure-card.status-unknown.active,
.figure-card.status-dead:hover,
.figure-card.status-dead.active {
    border-color: rgba(168, 173, 183, 0.44);
}

.figure-thumb {
    position: relative;
    z-index: 1;
    grid-row: 1;
    width: 100%;
    height: 224px;
    min-height: 0;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 5px;
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.07), transparent 52%),
        #11141a;
}

.figure-card-body {
    position: relative;
    z-index: 1;
    grid-column: 2;
    display: grid;
    align-content: start;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.figure-card-top {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.figure-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    max-width: 100%;
    min-width: 0;
}

.figure-status img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 6px rgba(215, 38, 61, 0.38))
        drop-shadow(0 4px 8px rgba(0, 0, 0, 0.62));
}

.figure-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.22) contrast(1.08) saturate(0.86);
    transition: transform 180ms ease, filter 180ms ease;
}

.figure-thumb.context-photo img {
    object-fit: contain;
    background: #090b0f;
}

.figure-thumb-empty {
    display: block;
    background:
        linear-gradient(180deg, rgba(6, 7, 10, 0), rgba(6, 7, 10, 0.24)),
        radial-gradient(circle at 50% 24%, rgba(215, 38, 61, 0.14), transparent 58%),
        url("placeholders/demon-photo-missing.jpg") center / cover no-repeat,
        #090b0f;
    background-blend-mode: normal, screen, normal, normal;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.03),
        inset 0 0 38px rgba(0, 0, 0, 0.78);
}

.figure-thumb-empty::before,
.figure-thumb-empty::after {
    position: absolute;
    pointer-events: none;
    content: "";
}

.figure-thumb-empty::before {
    inset: 0;
    z-index: 1;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 8px),
        repeating-linear-gradient(90deg, transparent 0 34px, rgba(215, 38, 61, 0.08) 34px 35px);
    opacity: 0.62;
}

.figure-thumb-empty::after {
    inset: 9px;
    z-index: 2;
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: 4px;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 28px rgba(215, 38, 61, 0.1);
}

.archive-placeholder {
    position: absolute;
    inset: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
}

.archive-placeholder::before {
    position: absolute;
    inset: 8% 14% 18%;
    content: "";
    background:
        radial-gradient(ellipse at 50% 40%, transparent 0 58%, rgba(4, 5, 8, 0.26) 80%, rgba(4, 5, 8, 0.54) 100%);
}

.archive-placeholder-portrait {
    display: none;
}

.archive-placeholder-stamp {
    position: absolute;
    right: 4px;
    bottom: 10px;
    z-index: 4;
    padding: 5px 7px;
    color: rgba(255, 225, 225, 0.84);
    border: 1px solid rgba(215, 38, 61, 0.52);
    border-radius: 3px;
    background: rgba(24, 4, 8, 0.78);
    font-family: var(--mono);
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
    transform: rotate(-8deg);
    box-shadow:
        0 0 16px rgba(215, 38, 61, 0.2),
        inset 0 0 14px rgba(0, 0, 0, 0.48);
}

.figure-card:hover .figure-thumb img,
.figure-card.active .figure-thumb img {
    transform: scale(1.025);
    filter: grayscale(0.08) contrast(1.12) saturate(0.98);
}

.figure-card:hover .archive-placeholder-portrait,
.figure-card.active .archive-placeholder-portrait {
    opacity: 1;
    filter:
        drop-shadow(0 0 18px rgba(215, 38, 61, 0.18))
        drop-shadow(0 18px 18px rgba(0, 0, 0, 0.55));
}

.figure-card h3,
.figure-card p {
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.figure-card h3 {
    color: var(--text);
    font-family: var(--display);
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    text-shadow:
        0 2px 0 rgba(0, 0, 0, 0.86),
        0 0 18px rgba(215, 38, 61, 0.22);
}

.figure-card .figure-alias {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
    text-wrap: balance;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.figure-card .figure-alias-balanced {
    font-size: 28px;
    line-height: 1.02;
}

.figure-card .figure-alias-compact {
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: 25px;
    line-height: 1.04;
}

.figure-card .figure-name {
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: rgba(242, 242, 242, 0.76);
    font-size: 15px;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.figure-card .figure-region {
    overflow: hidden;
    overflow-wrap: anywhere;
    color: rgba(168, 173, 183, 0.78);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
}

.figure-card .figure-story {
    display: -webkit-box;
    overflow: hidden;
    color: #f4c7ce;
    font-size: 13px;
    line-height: 1.34;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.figure-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2xs);
    min-width: 0;
    margin-top: var(--space-2xs);
}

.pill {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 4px 7px;
    border: 1px solid rgba(168, 173, 183, 0.25);
    border-radius: 999px;
    background: rgba(32, 36, 45, 0.68);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-diagram {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--inner-gap);
    margin-top: var(--inner-gap);
    padding: var(--panel-pad);
    overflow: visible;
    border: 1px solid rgba(168, 173, 183, 0.16);
    border-radius: 8px;
    background:
        radial-gradient(circle at 7% 14%, rgba(215, 38, 61, 0.22), transparent 24%),
        radial-gradient(circle at 94% 42%, rgba(171, 0, 0, 0.24), transparent 31%),
        linear-gradient(90deg, rgba(15, 17, 21, 0.76), rgba(32, 12, 16, 0.42), rgba(15, 17, 21, 0.78));
}

.route-diagram::before {
    position: absolute;
    top: 178px;
    right: 88px;
    left: 88px;
    z-index: 0;
    height: 3px;
    content: "";
    background:
        repeating-linear-gradient(90deg, rgba(215, 38, 61, 0.9) 0 18px, transparent 18px 28px),
        linear-gradient(90deg, rgba(215, 38, 61, 0.08), rgba(245, 158, 11, 0.72), rgba(215, 38, 61, 0.82));
    box-shadow:
        0 0 12px rgba(215, 38, 61, 0.42),
        0 0 28px rgba(171, 0, 0, 0.22);
    animation: route-current 3.6s linear infinite;
}

.route-diagram::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        radial-gradient(circle at 16% 68%, rgba(215, 38, 61, 0.18) 0 1px, transparent 2px),
        radial-gradient(circle at 31% 34%, rgba(245, 158, 11, 0.24) 0 1px, transparent 3px),
        radial-gradient(circle at 63% 57%, rgba(215, 38, 61, 0.2) 0 1px, transparent 2px),
        repeating-linear-gradient(106deg, transparent 0 14px, rgba(215, 38, 61, 0.05) 14px 16px),
        linear-gradient(180deg, transparent, rgba(215, 38, 61, 0.05));
    mix-blend-mode: screen;
    opacity: 0.72;
}

.route-escape {
    position: absolute;
    top: 72px;
    right: 92px;
    left: 92px;
    z-index: 8;
    height: 188px;
    pointer-events: none;
    perspective: 520px;
}

.route-demon {
    position: absolute;
    left: 0;
    top: -62px;
    width: 256px;
    height: auto;
    display: block;
    filter:
        drop-shadow(0 0 16px rgba(215, 38, 61, 0.36))
        drop-shadow(0 18px 18px rgba(0, 0, 0, 0.82))
        contrast(1.05)
        saturate(1.08);
    opacity: 0;
    transform-origin: 58% 48%;
    will-change: left, top, transform, opacity, filter;
    animation: demon-release 8.8s cubic-bezier(0.58, 0, 0.22, 1) infinite;
}

.route-step {
    --route-breath-delay: 0s;
    --route-flare-delay: 1.14s;
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 430px;
    padding: calc(var(--panel-pad) + 12px) var(--panel-pad) var(--panel-pad);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(168, 173, 183, 0.14);
    border-radius: 6px;
    background:
        radial-gradient(circle at 48% 28%, rgba(215, 38, 61, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(15, 17, 21, 0.72), rgba(13, 14, 18, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 16px 38px rgba(0, 0, 0, 0.3);
    animation:
        route-card-breath 5.4s ease-in-out infinite,
        route-step-flare 8.8s linear infinite;
    animation-delay: var(--route-breath-delay), var(--route-flare-delay);
}

.route-step::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
        repeating-linear-gradient(0deg, transparent 0 12px, rgba(215, 38, 61, 0.035) 12px 13px);
    opacity: 0.52;
}

.route-step::after {
    position: absolute;
    top: 89px;
    right: -12px;
    z-index: 2;
    width: 28px;
    height: 28px;
    content: "";
    border-top: 2px solid rgba(215, 38, 61, 0.76);
    border-right: 2px solid rgba(215, 38, 61, 0.76);
    filter: drop-shadow(0 0 10px rgba(215, 38, 61, 0.36));
    transform: rotate(45deg);
}

.route-step-free::after {
    display: none;
}

.route-step-contract {
    --route-breath-delay: 0.35s;
    --route-flare-delay: 2.5s;
}

.route-step-front {
    --route-breath-delay: 0.7s;
    --route-flare-delay: 4.35s;
}

.route-step-free {
    --route-breath-delay: 1.05s;
    --route-flare-delay: 6.05s;
}

.route-index {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 24px;
    color: #ff3450;
    border: 1px solid rgba(215, 38, 61, 0.44);
    border-radius: 999px;
    background: rgba(72, 0, 12, 0.28);
    color: var(--red);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 0 16px rgba(215, 38, 61, 0.18);
}

.route-icon {
    position: relative;
    z-index: 3;
    display: block;
    width: 224px;
    height: 224px;
    margin: 0 auto 24px;
    border: 1px solid rgba(215, 38, 61, 0.32);
    border-radius: 18px;
    background:
        radial-gradient(circle at 50% 38%, rgba(215, 38, 61, 0.28), transparent 50%),
        linear-gradient(145deg, rgba(32, 36, 45, 0.9), rgba(6, 7, 10, 0.95));
    box-shadow:
        inset 0 0 20px rgba(215, 38, 61, 0.12),
        0 0 22px rgba(215, 38, 61, 0.22),
        0 14px 24px rgba(0, 0, 0, 0.56);
}

.route-icon::before,
.route-icon::after,
.route-icon i,
.route-icon i::before,
.route-icon i::after {
    position: absolute;
    content: "";
}

.route-icon-prison {
    animation: prison-open 4.8s ease-in-out infinite;
}

.route-icon-prison::before {
    inset: 18px 20px 16px;
    border: 2px solid rgba(168, 173, 183, 0.72);
    border-radius: 8px 8px 4px 4px;
    background:
        repeating-linear-gradient(90deg, transparent 0 7px, rgba(168, 173, 183, 0.82) 7px 10px, transparent 10px 17px),
        linear-gradient(180deg, rgba(215, 38, 61, 0.1), transparent);
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.7);
}

.route-icon-prison::after {
    left: 40px;
    top: 13px;
    width: 6px;
    height: 60px;
    background: rgba(215, 38, 61, 0.88);
    box-shadow: 0 0 14px rgba(215, 38, 61, 0.68);
    transform: rotate(7deg);
    animation: prison-crack 4.8s ease-in-out infinite;
}

.route-icon-prison i {
    left: 33px;
    bottom: 18px;
    width: 20px;
    height: 16px;
    border-radius: 3px;
    background: rgba(9, 10, 13, 0.94);
    border: 1px solid rgba(245, 158, 11, 0.56);
}

.route-icon-prison i::before {
    left: 4px;
    top: -12px;
    width: 10px;
    height: 14px;
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
}

.route-icon-contract::before {
    inset: 15px 24px 13px 22px;
    border: 1px solid rgba(168, 173, 183, 0.55);
    border-radius: 4px;
    background:
        linear-gradient(160deg, rgba(242, 242, 242, 0.13), rgba(168, 173, 183, 0.03)),
        repeating-linear-gradient(180deg, rgba(168, 173, 183, 0.35) 0 2px, transparent 2px 10px);
    box-shadow: 0 0 18px rgba(215, 38, 61, 0.22);
    transform: rotate(-5deg);
}

.route-icon-contract::after {
    right: 20px;
    bottom: 16px;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(215, 38, 61, 0.82);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 38, 61, 0.22), transparent 66%);
    box-shadow: 0 0 18px rgba(215, 38, 61, 0.44);
    animation: seal-burn 2.8s ease-in-out infinite;
}

.route-icon-contract i {
    left: 23px;
    top: 42px;
    width: 42px;
    height: 3px;
    background: rgba(215, 38, 61, 0.8);
    box-shadow: 0 0 10px rgba(215, 38, 61, 0.5);
    transform: rotate(-18deg);
}

.route-icon-contract i::before,
.route-icon-contract i::after {
    top: -9px;
    width: 22px;
    height: 3px;
    background: rgba(215, 38, 61, 0.62);
}

.route-icon-contract i::before {
    left: -2px;
    transform: rotate(32deg);
}

.route-icon-contract i::after {
    right: -1px;
    transform: rotate(-24deg);
}

.route-icon-front::before {
    inset: 18px;
    border: 1px solid rgba(245, 158, 11, 0.5);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(215, 38, 61, 0.82) 0 4px, transparent 5px),
        conic-gradient(from 0deg, transparent 0deg 42deg, rgba(245, 158, 11, 0.34) 42deg 54deg, transparent 54deg 100deg, rgba(215, 38, 61, 0.35) 100deg 114deg, transparent 114deg 360deg);
    box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.72), 0 0 22px rgba(245, 158, 11, 0.18);
    animation: front-ping 2.2s ease-out infinite;
}

.route-icon-front::after {
    left: 17px;
    right: 17px;
    top: 42px;
    height: 2px;
    background: rgba(168, 173, 183, 0.6);
    box-shadow: 0 0 10px rgba(215, 38, 61, 0.26);
}

.route-icon-front i {
    top: 18px;
    bottom: 18px;
    left: 42px;
    width: 2px;
    background: rgba(168, 173, 183, 0.56);
}

.route-icon-front i::before {
    left: -25px;
    bottom: 10px;
    width: 52px;
    height: 18px;
    border-top: 2px solid rgba(215, 38, 61, 0.62);
    border-radius: 50%;
    transform: rotate(-18deg);
}

.route-icon-free::before {
    left: 24px;
    top: 15px;
    width: 34px;
    height: 58px;
    border: 2px solid rgba(168, 173, 183, 0.58);
    border-radius: 4px 4px 2px 2px;
    background:
        radial-gradient(circle at 63% 50%, rgba(215, 38, 61, 0.92) 0 3px, transparent 4px),
        linear-gradient(90deg, rgba(9, 10, 13, 0.95), rgba(15, 17, 21, 0.26));
    box-shadow:
        inset -10px 0 18px rgba(215, 38, 61, 0.18),
        0 0 22px rgba(215, 38, 61, 0.26);
    transform-origin: left center;
    animation: door-open 4.4s ease-in-out infinite;
}

.route-icon-free::after {
    right: 18px;
    top: 20px;
    width: 25px;
    height: 48px;
    background:
        radial-gradient(circle at 40% 30%, rgba(215, 38, 61, 0.9) 0 2px, transparent 3px),
        radial-gradient(circle at 60% 30%, rgba(215, 38, 61, 0.9) 0 2px, transparent 3px),
        radial-gradient(ellipse at 50% 54%, rgba(0, 0, 0, 0.94) 0 56%, transparent 57%);
    filter: drop-shadow(0 0 12px rgba(215, 38, 61, 0.5));
    clip-path: polygon(50% 0, 68% 22%, 90% 20%, 72% 39%, 80% 100%, 20% 100%, 28% 39%, 10% 20%, 32% 22%);
    animation: free-shadow 4.4s ease-in-out infinite;
}

.route-icon-free i {
    right: 15px;
    bottom: 14px;
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(215, 38, 61, 0.85), transparent);
    box-shadow: 0 0 12px rgba(215, 38, 61, 0.5);
}

.route-icon-art {
    overflow: visible;
    border-color: rgba(215, 38, 61, 0.42);
    background:
        radial-gradient(circle at 50% 44%, rgba(215, 38, 61, 0.28), transparent 52%),
        linear-gradient(145deg, rgba(32, 36, 45, 0.64), rgba(6, 7, 10, 0.86));
    animation:
        mechanism-icon-throb 4.6s ease-in-out infinite,
        route-icon-flare 8.8s linear infinite;
    animation-delay: 0s, var(--route-flare-delay);
}

.route-icon-art::before,
.route-icon-art::after,
.route-icon-art i,
.route-icon-art i::before,
.route-icon-art i::after {
    display: none;
}

.route-icon-art img {
    position: absolute;
    inset: -20%;
    z-index: 2;
    display: block;
    width: 140%;
    height: 140%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(215, 38, 61, 0.34))
        drop-shadow(0 14px 18px rgba(0, 0, 0, 0.76))
        contrast(1.08)
        saturate(1.08);
    transform: translateZ(0);
    animation: route-icon-image-flare 8.8s linear infinite;
    animation-delay: var(--route-flare-delay);
}

.route-step:hover .route-icon-art img {
    filter:
        drop-shadow(0 0 16px rgba(215, 38, 61, 0.46))
        drop-shadow(0 18px 22px rgba(0, 0, 0, 0.84))
        contrast(1.14)
        saturate(1.14);
}

.route-step strong {
    position: relative;
    z-index: 3;
    display: block;
    margin-top: 0;
    color: var(--text);
    font-family: var(--display);
    font-size: 28px;
    line-height: 1;
    text-align: center;
    animation: route-title-flare 8.8s linear infinite;
    animation-delay: var(--route-flare-delay);
}

.route-step p {
    position: relative;
    z-index: 3;
    max-width: 300px;
    margin: 12px auto 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.35;
    text-align: center;
}

@keyframes route-current {
    0% {
        background-position: 0 0, 0 0;
        opacity: 0.56;
    }

    45% {
        opacity: 1;
    }

    100% {
        background-position: 56px 0, 0 0;
        opacity: 0.62;
    }
}

@keyframes demon-release {
    0%,
    8% {
        left: 0;
        opacity: 0;
        filter:
            drop-shadow(0 0 6px rgba(215, 38, 61, 0.12))
            drop-shadow(0 10px 14px rgba(0, 0, 0, 0.7))
            contrast(1.02)
            saturate(1.02);
        transform: translateY(8px) scale(0.34) rotate(-9deg);
    }

    14% {
        left: 0;
        opacity: 1;
        transform: translateY(0) scale(0.44) rotate(4deg);
    }

    30% {
        left: 23%;
        opacity: 0.94;
        transform: translateY(-5px) scale(0.42) rotate(-5deg);
    }

    50% {
        left: 51%;
        opacity: 1;
        transform: translateY(2px) scale(0.46) rotate(4deg);
    }

    70% {
        left: 76%;
        opacity: 1;
        transform: translateY(-7px) scale(0.5) rotate(-3deg);
    }

    78% {
        left: calc(100% - 256px);
        opacity: 1;
        transform: translateY(0) scale(0.58) rotate(4deg);
    }

    83% {
        left: calc(100% - 256px);
        opacity: 1;
        filter:
            drop-shadow(0 0 24px rgba(215, 38, 61, 0.54))
            drop-shadow(0 24px 24px rgba(0, 0, 0, 0.88))
            contrast(1.12)
            saturate(1.22);
        transform: translateY(-20px) scale(0.78) rotate(-4deg);
    }

    88% {
        left: 50%;
        opacity: 1;
        filter:
            drop-shadow(0 0 42px rgba(215, 38, 61, 0.8))
            drop-shadow(0 34px 34px rgba(0, 0, 0, 0.92))
            brightness(1.18)
            contrast(1.26)
            saturate(1.42);
        transform: translateX(-50%) translateY(-36px) translateZ(160px) scale(1.9) rotate(-8deg);
    }

    95% {
        left: 50%;
        opacity: 1;
        filter:
            drop-shadow(0 0 62px rgba(215, 38, 61, 0.88))
            drop-shadow(0 42px 42px rgba(0, 0, 0, 0.95))
            brightness(1.28)
            contrast(1.32)
            saturate(1.55);
        transform: translateX(-50%) translateY(-62px) translateZ(280px) scale(2.93) rotate(-10deg);
    }

    100% {
        left: 50%;
        opacity: 0;
        filter:
            drop-shadow(0 0 70px rgba(215, 38, 61, 0.92))
            drop-shadow(0 42px 44px rgba(0, 0, 0, 0.95))
            blur(1px)
            brightness(1.32)
            contrast(1.34)
            saturate(1.6);
        transform: translateX(-50%) translateY(-82px) translateZ(330px) scale(3.53) rotate(-10deg);
    }
}

@keyframes route-current-vertical {
    0% {
        background-position: 0 0, 0 0;
        opacity: 0.56;
    }

    45% {
        opacity: 1;
    }

    100% {
        background-position: 0 56px, 0 0;
        opacity: 0.62;
    }
}

@keyframes demon-release-vertical {
    0%,
    8% {
        top: 0;
        opacity: 0;
        filter:
            drop-shadow(0 0 6px rgba(215, 38, 61, 0.12))
            drop-shadow(0 10px 14px rgba(0, 0, 0, 0.7))
            contrast(1.02)
            saturate(1.02);
        transform: translateX(0) scale(0.34) rotate(-9deg);
    }

    14% {
        top: 0;
        opacity: 1;
        transform: translateX(0) scale(0.44) rotate(4deg);
    }

    30% {
        top: 24%;
        opacity: 0.94;
        transform: translateX(-7px) scale(0.42) rotate(-5deg);
    }

    50% {
        top: 51%;
        opacity: 1;
        transform: translateX(4px) scale(0.46) rotate(4deg);
    }

    70% {
        top: 76%;
        opacity: 1;
        transform: translateX(-6px) scale(0.5) rotate(-3deg);
    }

    78% {
        top: calc(100% - 128px);
        opacity: 1;
        transform: translateX(0) scale(0.58) rotate(4deg);
    }

    83% {
        top: calc(100% - 128px);
        opacity: 1;
        filter:
            drop-shadow(0 0 24px rgba(215, 38, 61, 0.54))
            drop-shadow(0 24px 24px rgba(0, 0, 0, 0.88))
            contrast(1.12)
            saturate(1.22);
        transform: translateX(12px) scale(0.78) rotate(-4deg);
    }

    88% {
        top: 58%;
        opacity: 1;
        filter:
            drop-shadow(0 0 42px rgba(215, 38, 61, 0.8))
            drop-shadow(0 34px 34px rgba(0, 0, 0, 0.92))
            brightness(1.18)
            contrast(1.26)
            saturate(1.42);
        transform: translateX(44px) translateY(-34px) translateZ(160px) scale(1.63) rotate(-8deg);
    }

    95% {
        top: 58%;
        opacity: 1;
        filter:
            drop-shadow(0 0 62px rgba(215, 38, 61, 0.88))
            drop-shadow(0 42px 42px rgba(0, 0, 0, 0.95))
            brightness(1.28)
            contrast(1.32)
            saturate(1.55);
        transform: translateX(64px) translateY(-56px) translateZ(240px) scale(2.5) rotate(-10deg);
    }

    100% {
        top: 58%;
        opacity: 0;
        filter:
            drop-shadow(0 0 70px rgba(215, 38, 61, 0.92))
            drop-shadow(0 42px 44px rgba(0, 0, 0, 0.95))
            blur(1px)
            brightness(1.32)
            contrast(1.34)
            saturate(1.6);
        transform: translateX(78px) translateY(-72px) translateZ(300px) scale(3) rotate(-10deg);
    }
}

@keyframes route-title-flare {
    0%,
    9% {
        color: #ab0000;
        text-shadow:
            0 0 12px rgba(215, 38, 61, 0.62),
            0 0 28px rgba(171, 0, 0, 0.42),
            0 2px 0 rgba(0, 0, 0, 0.9);
    }

    3%,
    5.8% {
        color: #ff1f3d;
        text-shadow:
            0 0 16px rgba(255, 31, 61, 0.86),
            0 0 38px rgba(215, 38, 61, 0.64),
            0 0 18px rgba(245, 158, 11, 0.2),
            0 2px 0 rgba(0, 0, 0, 0.92);
    }

    14%,
    100% {
        color: var(--text);
        text-shadow: none;
    }
}

@keyframes route-card-breath {
    0%,
    100% {
        border-color: rgba(168, 173, 183, 0.14);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.02),
            0 16px 38px rgba(0, 0, 0, 0.3);
    }

    46% {
        border-color: rgba(215, 38, 61, 0.28);
        box-shadow:
            inset 0 0 26px rgba(215, 38, 61, 0.1),
            0 16px 42px rgba(0, 0, 0, 0.42),
            0 0 22px rgba(215, 38, 61, 0.1);
    }
}

@keyframes route-step-flare {
    0%,
    9% {
        border-color: rgba(255, 28, 54, 0.92);
        background:
            radial-gradient(circle at 50% 42%, rgba(215, 38, 61, 0.36), transparent 42%),
            radial-gradient(circle at 50% 42%, rgba(171, 0, 0, 0.3), transparent 64%),
            linear-gradient(180deg, rgba(48, 8, 15, 0.82), rgba(13, 14, 18, 0.92));
        box-shadow:
            inset 0 0 0 1px rgba(255, 77, 96, 0.12),
            inset 0 0 44px rgba(215, 38, 61, 0.24),
            0 0 58px rgba(215, 38, 61, 0.34),
            0 22px 46px rgba(0, 0, 0, 0.46);
    }

    3%,
    5.8% {
        border-color: rgba(255, 54, 78, 1);
        background:
            radial-gradient(circle at 50% 41%, rgba(255, 36, 64, 0.54), transparent 42%),
            radial-gradient(circle at 50% 41%, rgba(215, 38, 61, 0.34), transparent 68%),
            linear-gradient(180deg, rgba(78, 6, 17, 0.84), rgba(13, 14, 18, 0.9));
        box-shadow:
            inset 0 0 0 1px rgba(255, 116, 128, 0.24),
            inset 0 0 64px rgba(215, 38, 61, 0.36),
            0 0 92px rgba(215, 38, 61, 0.62),
            0 0 34px rgba(245, 158, 11, 0.18),
            0 24px 48px rgba(0, 0, 0, 0.56);
    }

    14%,
    100% {
        border-color: rgba(168, 173, 183, 0.14);
        background:
            radial-gradient(circle at 48% 28%, rgba(215, 38, 61, 0.16), transparent 34%),
            linear-gradient(180deg, rgba(15, 17, 21, 0.72), rgba(13, 14, 18, 0.92));
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.02),
            0 16px 38px rgba(0, 0, 0, 0.3);
    }
}

@keyframes mechanism-icon-throb {
    0%,
    100% {
        box-shadow:
            inset 0 0 20px rgba(215, 38, 61, 0.12),
            0 0 22px rgba(215, 38, 61, 0.22),
            0 14px 24px rgba(0, 0, 0, 0.56);
        transform: translateY(0);
    }

    48% {
        box-shadow:
            inset 0 0 28px rgba(215, 38, 61, 0.18),
            0 0 32px rgba(215, 38, 61, 0.34),
            0 18px 28px rgba(0, 0, 0, 0.7);
        transform: translateY(-2px);
    }
}

@keyframes route-icon-flare {
    0%,
    9% {
        border-color: rgba(255, 54, 78, 0.92);
        background:
            radial-gradient(circle at 50% 44%, rgba(255, 38, 68, 0.56), transparent 50%),
            linear-gradient(145deg, rgba(82, 7, 18, 0.78), rgba(6, 7, 10, 0.88));
        box-shadow:
            inset 0 0 34px rgba(215, 38, 61, 0.28),
            0 0 72px rgba(215, 38, 61, 0.72),
            0 18px 36px rgba(0, 0, 0, 0.72);
        transform: translateY(-4px) scale(1.04);
    }

    3%,
    5.8% {
        border-color: rgba(255, 86, 102, 1);
        background:
            radial-gradient(circle at 50% 44%, rgba(255, 31, 62, 0.74), transparent 48%),
            linear-gradient(145deg, rgba(118, 8, 23, 0.86), rgba(6, 7, 10, 0.88));
        box-shadow:
            inset 0 0 48px rgba(255, 40, 67, 0.38),
            0 0 110px rgba(215, 38, 61, 0.9),
            0 0 30px rgba(245, 158, 11, 0.24),
            0 24px 42px rgba(0, 0, 0, 0.8);
        transform: translateY(-8px) scale(1.09);
    }

    14%,
    100% {
        border-color: rgba(215, 38, 61, 0.42);
        background:
            radial-gradient(circle at 50% 44%, rgba(215, 38, 61, 0.28), transparent 52%),
            linear-gradient(145deg, rgba(32, 36, 45, 0.64), rgba(6, 7, 10, 0.86));
        box-shadow:
            inset 0 0 20px rgba(215, 38, 61, 0.12),
            0 0 22px rgba(215, 38, 61, 0.22),
            0 14px 24px rgba(0, 0, 0, 0.56);
        transform: translateY(0) scale(1);
    }
}

@keyframes route-icon-image-flare {
    0%,
    9% {
        filter:
            drop-shadow(0 0 34px rgba(255, 25, 58, 0.9))
            drop-shadow(0 0 20px rgba(245, 158, 11, 0.22))
            drop-shadow(0 20px 24px rgba(0, 0, 0, 0.82))
            brightness(1.18)
            contrast(1.2)
            saturate(1.34);
        transform: translateZ(0) scale(1.04);
    }

    3%,
    5.8% {
        filter:
            drop-shadow(0 0 50px rgba(255, 22, 56, 1))
            drop-shadow(0 0 26px rgba(245, 158, 11, 0.28))
            drop-shadow(0 24px 28px rgba(0, 0, 0, 0.88))
            brightness(1.28)
            contrast(1.26)
            saturate(1.5);
        transform: translateZ(0) scale(1.09);
    }

    14%,
    100% {
        filter:
            drop-shadow(0 0 10px rgba(215, 38, 61, 0.34))
            drop-shadow(0 14px 18px rgba(0, 0, 0, 0.76))
            contrast(1.08)
            saturate(1.08);
        transform: translateZ(0) scale(1);
    }
}

@keyframes prison-open {
    0%,
    58%,
    100% {
        transform: none;
    }

    66% {
        transform: skewX(-3deg);
    }
}

@keyframes prison-crack {
    0%,
    58%,
    100% {
        opacity: 0.72;
        transform: rotate(7deg) scaleY(0.86);
    }

    66% {
        opacity: 1;
        transform: rotate(14deg) scaleY(1.08);
    }
}

@keyframes seal-burn {
    0%,
    100% {
        transform: scale(0.92);
        opacity: 0.66;
    }

    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes front-ping {
    0% {
        transform: scale(0.92);
        opacity: 0.76;
    }

    72% {
        transform: scale(1.06);
        opacity: 1;
    }

    100% {
        transform: scale(1.14);
        opacity: 0.48;
    }
}

@keyframes door-open {
    0%,
    52%,
    100% {
        transform: perspective(120px) rotateY(0deg);
    }

    68%,
    82% {
        transform: perspective(120px) rotateY(-44deg);
    }
}

@keyframes free-shadow {
    0%,
    52%,
    100% {
        opacity: 0.28;
        transform: translateX(-12px) scale(0.72);
    }

    68%,
    82% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .cost-sequence img {
        animation: none;
    }

    .hero-title-block,
    .hero-slogan-block {
        transform: none;
        transition: none;
        will-change: auto;
    }

    .site-header::before {
        animation: none;
    }

    .route-diagram::before,
    .route-demon,
    .overlord-living,
    .demon-filter-shell::before,
    .demon-filter-shell::after,
    .route-step,
    .route-step strong,
    .route-icon-art,
    .route-icon-art img,
    .route-icon-prison,
    .route-icon-prison::after,
    .route-icon-contract::after,
    .route-icon-front::before,
    .route-icon-free::before,
    .route-icon-free::after {
        animation: none;
    }

    .stat-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .route-demon {
        left: calc(100% - 256px);
        opacity: 0.42;
        transform: translateY(0) scale(0.58);
    }

    .overlord-living {
        opacity: 1;
        filter: saturate(0.96) contrast(1.08) brightness(0.94);
        transform: none;
    }
}

.site-footer {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    gap: var(--inner-gap);
    width: min(1680px, calc(100% - 44px));
    margin: var(--block-gap) auto 0;
    padding: var(--panel-pad) 8px calc(var(--panel-pad) * 12);
    color: var(--muted-2);
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.footer-fire {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: clamp(460px, 46vw, 765px);
    overflow: hidden;
    background: transparent;
    mix-blend-mode: screen;
    pointer-events: none;
}

.footer-fire::before,
.footer-fire::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    pointer-events: none;
}

.footer-fire::before {
    background:
        linear-gradient(180deg, rgba(15, 17, 21, 0) 0%, rgba(15, 17, 21, 0.54) 2%, rgba(15, 17, 21, 0.24) 20%, transparent 44%),
        radial-gradient(ellipse at 50% 100%, transparent 0 45%, rgba(15, 17, 21, 0.42) 86%);
}

.footer-fire::after {
    display: none;
}

.footer-fire canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.84;
}

@media (prefers-reduced-motion: reduce) {
    .footer-fire canvas {
        display: none;
    }

    .footer-fire {
        background:
            radial-gradient(ellipse at 50% 100%, rgba(215, 38, 61, 0.42), transparent 50%),
            radial-gradient(ellipse at 32% 100%, rgba(245, 158, 11, 0.16), transparent 32%),
            linear-gradient(180deg, rgba(9, 11, 15, 0), rgba(9, 11, 15, 0.92) 68%, #030406 100%);
    }
}

.modal-head {
    position: static;
    z-index: 4;
    display: contents;
}

.modal-head h2 {
    display: none;
}

.modal-head button {
    position: fixed;
    top: clamp(14px, 2vw, 26px);
    right: clamp(14px, 2vw, 26px);
    z-index: 12;
    width: clamp(44px, 4vw, 58px);
    height: clamp(44px, 4vw, 58px);
    color: var(--muted);
    border: 1px solid rgba(215, 38, 61, 0.46);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(215, 38, 61, 0.28), transparent 62%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(8, 9, 12, 0.9);
    font-size: 28px;
    line-height: 1;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 0 24px rgba(215, 38, 61, 0.2),
        0 12px 32px rgba(0, 0, 0, 0.55);
}

.modal-head button:hover,
.modal-head button:focus-visible {
    color: var(--text);
    border-color: rgba(215, 38, 61, 0.72);
    background:
        radial-gradient(circle at 50% 58%, rgba(215, 38, 61, 0.34), transparent 62%),
        rgba(20, 3, 8, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 24px rgba(215, 38, 61, 0.38);
}

.photo-meta a {
    color: #ff5b72;
    text-decoration: underline;
    text-decoration-color: rgba(255, 91, 114, 0.42);
    text-underline-offset: 3px;
}

.photo-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: var(--text);
    border: 0;
    border-radius: 0;
    background: url("effects/lightbox-investigation-bg.png") center / cover no-repeat;
    box-shadow:
        inset 0 -140px 180px rgba(171, 0, 0, 0.2),
        inset 0 0 120px rgba(0, 0, 0, 0.58);
    opacity: 0;
    transform: none;
    transform-origin: 50% 48%;
}

.photo-modal[open] {
    animation: photo-modal-emerge 680ms cubic-bezier(0.16, 0.86, 0.22, 1) both;
}

.photo-modal::backdrop {
    background:
        radial-gradient(ellipse at 50% 46%, rgba(171, 0, 0, 0.2), transparent 38%),
        radial-gradient(ellipse at 100% 0%, rgba(215, 38, 61, 0.24), transparent 48%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.9)),
        url("effects/lightbox-investigation-bg.png") center / cover no-repeat;
    background-blend-mode: screen, screen, normal, normal;
    backdrop-filter: blur(7px) saturate(0.86);
}

.photo-modal[open]::backdrop {
    animation: photo-backdrop-emerge 620ms ease-out both;
}

.photo-modal::before,
.photo-modal::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
}

.photo-modal::before {
    background:
        linear-gradient(112deg, transparent 0 38%, rgba(255, 42, 42, 0.24) 45%, rgba(255, 194, 102, 0.1) 48%, transparent 56%),
        repeating-linear-gradient(90deg, rgba(242, 242, 242, 0.025) 0 1px, transparent 1px 12px),
        repeating-linear-gradient(0deg, transparent 0 8px, rgba(215, 38, 61, 0.024) 8px 9px),
        radial-gradient(circle at 14% 22%, rgba(0, 0, 0, 0.5) 0 2px, transparent 5px),
        radial-gradient(circle at 76% 18%, rgba(215, 38, 61, 0.18) 0 1px, transparent 5px),
        radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.12) 0 1px, transparent 4px);
    background-position: -140% 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    opacity: 0.62;
    mix-blend-mode: screen;
}

.photo-modal[open]::before {
    animation: photo-modal-scan 920ms cubic-bezier(0.19, 1, 0.22, 1) 80ms both;
}

.photo-modal::after {
    inset: 0;
    height: auto;
    background:
        radial-gradient(ellipse at 86% 18%, rgba(171, 0, 0, 0.14), transparent 46%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 30%, rgba(0, 0, 0, 0.1));
    opacity: 0.58;
    filter: blur(0.2px);
}

.photo-modal[open]::after {
    animation: photo-modal-underflare 760ms ease-out 120ms both;
}

.photo-modal > * {
    position: relative;
    z-index: 1;
}

.photo-viewer {
    position: relative;
    z-index: 1;
    display: grid;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.photo-viewer figure {
    margin: 0;
}

.photo-stage {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0;
}

.photo-modal[open] .photo-stage {
    animation: photo-frame-reveal 720ms cubic-bezier(0.16, 0.86, 0.22, 1) 150ms both;
}

.photo-frame {
    position: relative;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.photo-viewer img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow:
        0 18px 78px rgba(0, 0, 0, 0.68),
        0 0 44px rgba(215, 38, 61, 0.1);
}

.photo-modal[open] .photo-viewer img {
    animation: photo-image-bloom 820ms cubic-bezier(0.2, 0.8, 0.22, 1) 170ms both;
}

.photo-info {
    display: grid;
    gap: clamp(8px, 1.2vw, 14px);
    max-height: none;
    overflow: visible;
    padding: clamp(16px, 2.2vw, 28px) clamp(18px, 4vw, 72px) clamp(18px, 2.6vw, 34px);
    color: #f3d1d4;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: clamp(13px, 1.1vw, 15px);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.86);
    box-shadow: none;
}

.photo-info p {
    margin: 0;
    max-width: min(920px, 100%);
}

.photo-modal[open] .photo-info {
    animation: photo-caption-reveal 540ms ease-out 390ms both;
}

.photo-nav {
    position: fixed;
    top: 46%;
    z-index: 12;
    width: clamp(48px, 5vw, 72px);
    height: clamp(70px, 8vw, 104px);
    color: var(--text);
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 74%, rgba(215, 38, 61, 0.16), transparent 54%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(10, 11, 15, 0.76);
    font-size: 34px;
    line-height: 1;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 0 18px rgba(215, 38, 61, 0.1);
    transform: translateY(-50%);
}

.photo-modal[open] .photo-nav {
    animation: photo-nav-emerge 580ms cubic-bezier(0.16, 0.86, 0.22, 1) 230ms both;
}

#prevPhoto {
    left: clamp(12px, 2vw, 28px);
}

#nextPhoto {
    right: clamp(12px, 2vw, 28px);
}

.photo-nav:hover {
    border-color: rgba(215, 38, 61, 0.76);
    background:
        radial-gradient(circle at 50% 50%, rgba(215, 38, 61, 0.34), transparent 62%),
        rgba(31, 3, 10, 0.88);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 24px rgba(215, 38, 61, 0.36);
}

.photo-nav:disabled {
    cursor: default;
    opacity: 0.34;
}

.photo-meta {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
    margin-top: 0;
    padding: 0;
    color: var(--muted);
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 13px;
    box-shadow: none;
}

.photo-modal[open] .photo-meta {
    animation: photo-meta-emerge 640ms cubic-bezier(0.16, 0.86, 0.22, 1) 300ms both;
}

.photo-meta p {
    margin: 0;
}

.photo-meta-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.photo-meta-list div {
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid rgba(215, 38, 61, 0.16);
    border-radius: 5px;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(215, 38, 61, 0.08), transparent 48%),
        rgba(8, 9, 12, 0.58);
}

.photo-meta-list dt {
    margin: 0 0 3px;
    color: var(--muted-2);
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
}

.photo-meta-list dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.photo-editorial-note {
    color: var(--text);
}

@keyframes photo-backdrop-emerge {
    0% {
        opacity: 0;
        backdrop-filter: blur(0) saturate(1);
    }

    55% {
        opacity: 1;
        backdrop-filter: blur(10px) saturate(0.72);
    }

    100% {
        opacity: 1;
        backdrop-filter: blur(7px) saturate(0.86);
    }
}

@keyframes photo-modal-emerge {
    0% {
        opacity: 0;
        filter: brightness(0.58) contrast(1.22) saturate(0.6);
        transform: scale(1.024);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0),
            inset 0 -34px 80px rgba(171, 0, 0, 0);
    }

    54% {
        opacity: 1;
        filter: brightness(1.1) contrast(1.1) saturate(1.18);
        transform: scale(1);
        box-shadow:
            inset 0 0 0 1px rgba(255, 255, 255, 0.05),
            inset 0 -110px 170px rgba(171, 0, 0, 0.24);
    }

    100% {
        opacity: 1;
        filter: brightness(1) contrast(1) saturate(1);
        transform: scale(1);
    }
}

@keyframes photo-modal-scan {
    0% {
        opacity: 0;
        background-position: -160% 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }

    22% {
        opacity: 0.95;
    }

    100% {
        opacity: 0.62;
        background-position: 220% 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
}

@keyframes photo-modal-underflare {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }

    58% {
        opacity: 0.84;
    }

    100% {
        opacity: 0.72;
        transform: scale(1);
    }
}

@keyframes photo-content-rise {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes photo-frame-reveal {
    0% {
        opacity: 0;
        clip-path: inset(0 50% 0 50%);
        transform: scale(0.96);
        filter: brightness(0.62) saturate(0.7);
    }

    48% {
        opacity: 1;
        clip-path: inset(0 14% 0 14%);
        transform: scale(1.018);
        filter: brightness(1.12) saturate(1.05);
    }

    100% {
        opacity: 1;
        clip-path: inset(0 0 0 0);
        transform: scale(1);
        filter: brightness(1) saturate(1);
    }
}

@keyframes photo-image-bloom {
    0% {
        opacity: 0;
        filter: grayscale(1) contrast(1.38) brightness(0.38) blur(3px);
    }

    34% {
        opacity: 0.86;
        filter: grayscale(0.35) contrast(1.2) brightness(1.28) blur(0.5px);
    }

    100% {
        opacity: 1;
        filter: grayscale(0) contrast(1) brightness(1) blur(0);
    }
}

@keyframes photo-caption-reveal {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes photo-nav-emerge {
    0% {
        opacity: 0;
        transform: translateY(-50%) scaleY(0.62);
    }

    70% {
        opacity: 1;
        transform: translateY(-50%) scaleY(1.08);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scaleY(1);
    }
}

@keyframes photo-meta-emerge {
    0% {
        opacity: 0;
        transform: translateY(16px);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

	@media (prefers-reduced-motion: reduce) {
	    .photo-modal[open],
	    .photo-modal[open]::backdrop,
	    .photo-modal[open]::before,
	    .photo-modal[open]::after,
	    .photo-modal[open] .modal-head,
	    .photo-modal[open] .photo-stage,
	    .photo-modal[open] .photo-viewer img,
	    .photo-modal[open] .photo-info,
	    .photo-modal[open] .photo-nav,
	    .photo-modal[open] .photo-meta {
	        animation: none;
	    }

    .photo-modal[open] {
        opacity: 1;
        filter: none;
        transform: none;
    }

	    .photo-modal[open] .photo-stage,
	    .photo-modal[open] .photo-viewer img,
	    .photo-modal[open] .photo-info,
	    .photo-modal[open] .photo-nav,
	    .photo-modal[open] .photo-meta {
	        opacity: 1;
	        clip-path: none;
	        filter: none;
	        transform: none;
	    }

	    .photo-modal[open] .photo-nav {
	        transform: translateY(-50%);
	    }
	}

@media (max-width: 1360px) {
    .demon-filter-shell {
        padding: var(--block-gap) 0;
    }

    .demon-filter-shell::before {
        width: clamp(220px, 21vw, 330px);
        height: clamp(280px, 29vw, 450px);
        opacity: 0.84;
    }

    .demon-filter-shell::after {
        width: clamp(220px, 21vw, 330px);
        height: clamp(280px, 29vw, 450px);
        opacity: 0.84;
    }

    .demon-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-shell {
        grid-template-columns: 1fr 1fr;
    }

    .figure-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1080px) {
    .demon-filter-shell {
        padding: var(--block-gap) 0;
    }

    .demon-filter-shell::before {
        left: clamp(-112px, -10vw, -58px);
        width: clamp(190px, 26vw, 260px);
        height: clamp(250px, 36vw, 350px);
        opacity: 0.66;
    }

    .demon-filter-shell::after {
        right: clamp(-112px, -10vw, -58px);
        width: clamp(190px, 26vw, 260px);
        height: clamp(250px, 36vw, 350px);
        opacity: 0.66;
    }

    .demon-filter {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .demon-filter-card[data-demon-type=""] {
        grid-column: 1 / -1;
        justify-self: center;
        width: min(100%, 360px);
    }

    .page-drip {
        width: min(96vw, 880px);
        opacity: 0.7;
    }

    .page-drip-left {
        left: -240px;
    }

    .page-drip-right {
        right: -240px;
    }

    .site-header {
        grid-template-columns: 1fr auto;
        gap: var(--space-sm);
        padding: 0 20px;
    }

    .brand {
        order: 1;
    }

    .header-actions {
        order: 2;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        order: 3;
        grid-column: 1 / -1;
        flex-direction: column;
        gap: var(--space-2xs);
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        padding: 0;
        border-top: 0 solid transparent;
        opacity: 0;
        pointer-events: none;
        transition:
            max-height 220ms ease,
            opacity 180ms ease,
            padding 180ms ease,
            border-color 180ms ease;
    }

    .site-header.nav-open .main-nav {
        max-height: 320px;
        visibility: visible;
        padding: var(--space-xs) 0 var(--space-sm);
        border-top: 1px solid rgba(215, 38, 61, 0.24);
        border-bottom: 1px solid rgba(215, 38, 61, 0.18);
        border-radius: 0 0 12px 12px;
        background:
            linear-gradient(180deg, rgba(5, 6, 9, 0.22), rgba(40, 0, 7, 0.24)),
            url("effects/navbar-hell-bg.png") center 78% / cover no-repeat;
        opacity: 1;
        pointer-events: auto;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.04),
            inset 0 -22px 34px rgba(171, 0, 0, 0.16),
            0 18px 34px rgba(0, 0, 0, 0.42),
            0 0 24px rgba(215, 38, 61, 0.1);
    }

    .main-nav a {
        width: 100%;
        padding: var(--space-sm) var(--space-xs);
        border-radius: 8px;
    }

    .main-nav a::before,
    .main-nav a::after {
        left: 10px;
        top: 50%;
        transform: translate(0, -50%) scaleX(0.82) scaleY(0.72);
        transform-origin: left center;
    }

    .main-nav a::before {
        width: min(220px, calc(100% - 20px));
        height: 2.45em;
    }

    .main-nav a::after {
        width: min(178px, calc(100% - 28px));
        height: 1.95em;
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: transparent;
    }

    .main-nav a:hover::before,
    .main-nav a:focus-visible::before {
        opacity: 0.88;
        transform: translate(0, -50%) scaleX(1) scaleY(1);
    }

    .main-nav a:hover::after,
    .main-nav a:focus-visible::after {
        opacity: 0.9;
        transform: translate(0, -50%) scaleX(1.04) scaleY(1);
    }

    .hero-shell,
    .investigation-grid,
    .route-diagram {
        grid-template-columns: 1fr;
    }

    .hero-shell {
        min-height: auto;
    }

    .hero-slogan-block {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 8px;
    }

    .project-about {
        grid-template-columns: 1fr;
    }

    .route-diagram {
        padding: var(--panel-pad);
    }

    .route-diagram::before {
        top: 112px;
        bottom: 112px;
        left: 50%;
        right: auto;
        width: 3px;
        height: auto;
        background:
            repeating-linear-gradient(180deg, rgba(215, 38, 61, 0.9) 0 18px, transparent 18px 28px),
            linear-gradient(180deg, rgba(215, 38, 61, 0.08), rgba(245, 158, 11, 0.72), rgba(215, 38, 61, 0.82));
        animation-name: route-current-vertical;
    }

    .route-escape {
        top: 86px;
        bottom: 86px;
        left: calc(50% - 94px);
        right: auto;
        width: 188px;
        height: auto;
    }

    .route-demon {
        top: 0;
        left: -34px;
        width: 256px;
        animation-name: demon-release-vertical;
    }

    .route-step {
        min-height: 360px;
        padding: calc(var(--panel-pad) + 28px) var(--panel-pad) var(--panel-pad);
        justify-content: center;
    }

    .route-step::after {
        top: auto;
        right: auto;
        bottom: -18px;
        left: calc(50% - 14px);
        transform: rotate(135deg);
    }

    .route-icon {
        position: relative;
        top: auto;
        left: auto;
        width: 156px;
        height: 156px;
        margin: 0 auto 20px;
    }

    .filters-panel {
        min-height: 0;
    }

    .map-frame {
        min-height: 440px;
    }

    .mechanism-timeline .section-head {
        display: grid;
        align-items: start;
    }

    .stats-head {
        display: grid;
        align-items: start;
    }

    .stats-lead {
        max-width: none;
        text-align: left;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-card {
        grid-column: auto;
    }

    .timeline-lead {
        max-width: none;
        text-align: left;
    }

    .timeline-track {
        grid-template-columns: 1fr;
    }

    .timeline-track::before {
        display: none;
    }

    .timeline-verdict {
        grid-template-columns: 1fr;
    }

    .figure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .page-drip {
        top: 58px;
        width: min(136vw, 620px);
        opacity: 0.76;
        filter: saturate(1.28) contrast(1.2);
    }

    .page-drip-left {
        left: -48vw;
    }

    .page-drip-right {
        right: -48vw;
    }

    main,
    .site-footer {
        width: min(100% - 24px, 1680px);
    }

    .site-header {
        padding: 10px 12px;
    }

    .hell-scrollbar {
        top: 72px;
        right: 2px;
        bottom: 8px;
        width: 13px;
    }

    .hell-scrollbar-thumb {
        min-height: 54px;
    }

    .brand {
        gap: 8px;
        font-size: 20px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
    }

    h1 {
        font-size: 48px;
    }

    .hero-slogan {
        max-width: 100%;
        font-size: 25px;
    }

    .hero-shell {
        padding-top: var(--space-lg);
    }

    .project-about {
        gap: var(--inner-gap);
        padding: var(--panel-pad);
    }

    .project-about-copy {
        gap: var(--space-sm);
    }

    .project-about-copy p {
        font-size: 15px;
    }

    .map-panel,
    .dossier-panel,
    .project-stats,
    .mechanism-timeline,
    .figures-section,
    .mechanism-section {
        padding: var(--panel-pad);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 190px;
    }

    .stat-value {
        font-size: clamp(54px, 18vw, 76px);
    }

    .dossier-spread {
        grid-template-columns: 1fr;
        gap: var(--inner-gap);
    }

    .dossier-spread::before {
        display: none;
    }

    .dossier-page {
        padding: var(--panel-pad);
    }

    .map-frame {
        min-height: 360px;
    }

    .figure-grid {
        grid-template-columns: 1fr;
    }

    .demon-filter-shell {
        padding: var(--block-gap) 0 var(--inner-gap);
    }

    .demon-overlord {
        width: min(100%, 465px);
        margin: -8px auto clamp(-250px, -56vw, -170px);
    }

    .demon-filter-shell::before {
        top: 128px;
        left: -56px;
        width: 148px;
        height: 210px;
        opacity: 0.52;
    }

    .demon-filter-shell::after {
        top: 128px;
        right: -56px;
        width: 148px;
        height: 210px;
        opacity: 0.52;
    }

    .demon-filter {
        grid-template-columns: 1fr;
        padding: var(--space-xs);
    }

    .demon-filter-card[data-demon-type=""] {
        grid-column: auto;
        width: 100%;
    }

    .demon-filter-card {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 154px;
        padding-right: 20px;
    }

    .figure-card {
        grid-template-columns: 104px minmax(0, 1fr);
        min-height: 224px;
    }

    .figure-thumb {
        width: 104px;
        height: 196px;
        min-height: 196px;
    }

    .profile-block,
    .ba-row {
        grid-template-columns: 1fr;
    }

    .victims-head {
        display: block;
    }

    .victim-group {
        grid-template-columns: repeat(auto-fill, minmax(136px, 1fr));
    }

    .victim-card {
        grid-template-columns: 1fr;
        min-height: 232px;
    }

    .before-after {
        grid-template-columns: 1fr;
    }

    .mini-event {
        grid-template-columns: 32px 64px minmax(0, 1fr);
        gap: 12px;
        min-height: 102px;
        padding: 14px;
    }

    .mini-event-icon {
        width: 64px;
        height: 64px;
    }

    .mini-event-icon img {
        width: 50px;
        height: 50px;
    }

    .mini-event-step {
        font-size: 13px;
    }

    .mini-event strong {
        font-size: 16px;
    }

    .mini-event-copy span {
        font-size: 15px;
    }

    .profile-photo-button {
        width: 100%;
        height: 240px;
    }

    .pardon-scales {
        height: 330px;
    }

    .pardon-scales img {
        inset: 10px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }

    .scales-label strong {
        font-size: clamp(14px, 4.8vw, 18px);
    }

    .scales-label-sin {
        left: 7%;
        top: 58%;
        width: 42%;
    }

    .scales-label-pardon {
        top: 44%;
        right: 7%;
        width: 38%;
    }

    .photo-modal {
        width: 100vw;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding: 0;
    }

    .modal-head button {
        top: 12px;
        right: 12px;
        width: 42px;
        height: 42px;
        font-size: 24px;
    }

    .photo-stage {
        gap: 0;
    }

    .photo-info {
        max-height: none;
        overflow: visible;
        padding: 14px 14px 18px;
        font-size: 12px;
    }

    .photo-nav {
        top: 44%;
        width: 42px;
        height: 62px;
        font-size: 28px;
    }

    #prevPhoto {
        left: 10px;
    }

    #nextPhoto {
        right: 10px;
    }

    .photo-meta-list {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   Version 2: narrative structure
   The original version remains unchanged outside /v2/.
   -------------------------------------------------------------------------- */

.version-two main {
    gap: var(--block-gap);
}

.version-two .hero-shell {
    position: relative;
    min-height: clamp(410px, 58svh, 680px);
    padding-top: clamp(72px, 11vh, 138px);
    padding-bottom: clamp(70px, 10vh, 120px);
}

.version-two .hero-title-block,
.version-two .hero-slogan-block {
    position: relative;
    z-index: 2;
}

.version-two .hero-kicker {
    margin: 0 0 18px;
    color: rgba(242, 242, 242, 0.58);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.version-two .hero-direction {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(242, 242, 242, 0.56);
    font-family: var(--mono);
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.6;
}

/* The tablet layout stacks the title and slogan while the central figure
   still rises through the composition. Reserve the same visual gap without
   letting the figure cover the sentence. */
@media (min-width: 721px) and (max-width: 1080px) {
    .version-two .hero-slogan-block {
        margin-block-start: clamp(-128px, -12vw, -108px);
        margin-block-end: clamp(108px, 12vw, 128px);
    }
}

.version-two .hero-scroll-cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    color: rgba(242, 242, 242, 0.58);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateX(-50%);
    transition: color 180ms ease;
}

.version-two .hero-scroll-cue span {
    color: var(--red);
    font-size: 18px;
}

.version-two .hero-scroll-cue:hover,
.version-two .hero-scroll-cue:focus-visible {
    color: var(--text);
}

.version-two .investigation-grid > .figures-section,
.version-two .investigation-grid > .human-cost,
.version-two .investigation-grid > .project-premise,
.version-two .investigation-grid > .mechanism-section {
    grid-column: 1 / -1;
}

.version-two .demon-filter-shell {
    scroll-margin-top: 24px;
    padding-bottom: clamp(52px, 6vw, 92px);
}

.version-two .demon-filter {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
    padding: 16px clamp(84px, 7vw, 124px);
}

.version-two .demon-filter-card,
.version-two .demon-filter-card[data-demon-type=""] {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 162px auto;
    justify-items: center;
    min-height: 227px;
    width: auto;
    padding: 12px 8px 22px;
    text-align: center;
}

.version-two .demon-filter-card img {
    width: 159px;
    height: 159px;
}

.version-two .demon-filter-card strong {
    font-size: clamp(15px, 1.15vw, 19px);
}

.version-two .human-cost {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    min-height: min(930px, 92svh);
    overflow: hidden;
    color: #191b1d;
    border: 1px solid rgba(236, 231, 220, 0.18);
    border-radius: var(--radius);
    background: #d8d4ca;
    box-shadow: 0 30px 110px rgba(0, 0, 0, 0.44);
}

.version-two .human-cost::before {
    position: absolute;
    inset: 0 0 0 42%;
    z-index: 0;
    content: "";
    pointer-events: none;
    background:
        linear-gradient(rgba(25, 27, 29, 0.038) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 27, 29, 0.032) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.72;
}

.version-two .human-cost-visual {
    position: relative;
    z-index: 1;
    min-height: 100%;
    overflow: hidden;
    background: #08090a;
}

.version-two .human-cost-visual::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(90deg, transparent 42%, rgba(216, 212, 202, 0.96) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.54));
}

.version-two .human-cost-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% center;
    opacity: 0.74;
    filter: grayscale(1) sepia(0.12) contrast(0.92) brightness(0.82);
}

.version-two .human-cost-visual span {
    position: absolute;
    bottom: 32px;
    left: 30px;
    z-index: 2;
    color: rgba(242, 242, 242, 0.52);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.version-two .human-cost-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 84px);
}

.version-two .human-cost .eyebrow {
    color: #5d1b22;
}

.version-two .human-cost #human-cost-title {
    max-width: 920px;
    color: #fff;
    font-family: var(--condensed);
    font-size: clamp(38px, 4.4vw, 76px);
    line-height: 0.98;
    text-shadow: none;
}

.version-two .human-cost-lead {
    max-width: 900px;
    margin: 28px 0 0;
    color: rgba(25, 27, 29, 0.78);
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 600;
    line-height: 1.58;
}

.version-two .human-stories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin-top: clamp(30px, 4vw, 54px);
    border-top: 1px solid rgba(25, 27, 29, 0.24);
}

.version-two .human-stories article {
    padding: 20px 0 22px;
    border-bottom: 1px solid rgba(25, 27, 29, 0.2);
}

.version-two .human-stories span {
    color: rgba(25, 27, 29, 0.56);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.version-two .human-stories h3 {
    margin-top: 9px;
    color: #17191b;
    font-family: var(--condensed);
    font-size: clamp(18px, 1.5vw, 25px);
    line-height: 1.14;
    text-shadow: none;
}

.version-two .human-stories p {
    margin: 8px 0 0;
    color: rgba(25, 27, 29, 0.72);
    font-size: 13px;
    line-height: 1.46;
}

.version-two .human-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin-top: 30px;
    overflow: hidden;
    border: 1px solid rgba(25, 27, 29, 0.2);
    background: rgba(25, 27, 29, 0.18);
}

.version-two .human-stats article {
    min-width: 0;
    padding: 18px 14px;
    background: rgba(243, 239, 230, 0.74);
}

.version-two .human-stats strong {
    display: block;
    color: #5d1b22;
    font-family: var(--mono);
    font-size: clamp(30px, 3vw, 50px);
    line-height: 0.9;
}

.version-two .human-stats span {
    display: block;
    margin-top: 10px;
    color: rgba(25, 27, 29, 0.68);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.version-two .human-cost-note {
    margin: 18px 0 0;
    color: rgba(25, 27, 29, 0.52);
    font-family: var(--mono);
    font-size: 10px;
    line-height: 1.55;
}

.version-two .human-cost-verdict {
    margin: 28px 0 0;
    color: #17191b;
    font-family: var(--condensed);
    font-size: clamp(21px, 2vw, 32px);
    line-height: 1.2;
}

.version-two .text-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    width: fit-content;
    margin-top: 18px;
    color: #5d1b22;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.version-two .human-cost *,
.version-two .human-cost *::before,
.version-two .human-cost *::after {
    animation: none !important;
}

.version-two .project-premise {
    align-items: center;
    padding: clamp(28px, 4vw, 58px);
    border-color: rgba(56, 189, 248, 0.22);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.1), transparent 46%),
        linear-gradient(90deg, rgba(10, 13, 18, 0.97), rgba(22, 26, 33, 0.9)),
        url("textures/panel-grime.webp") center / cover no-repeat;
}

.version-two .project-premise h2 {
    max-width: 560px;
    color: var(--text);
    text-shadow: none;
}

.version-two .mechanism-section {
    scroll-margin-top: 28px;
}

.version-two .mechanism-section .section-head,
.version-two .map-section-head,
.version-two .figures-section .section-head,
.version-two .methodology-section .section-head {
    align-items: flex-end;
}

.version-two .mechanism-lead,
.version-two .map-section-head > p,
.version-two .figures-lead,
.version-two .methodology-lead {
    max-width: 600px;
    margin: 0;
    color: rgba(242, 242, 242, 0.66);
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 650;
    line-height: 1.48;
    text-align: right;
}

.version-two .map-section-head {
    margin-bottom: 24px;
}

.version-two .map-section-head h2 {
    color: var(--text);
    text-shadow: none;
}

.version-two .dossier-sources {
    margin-top: var(--inner-gap);
    padding-top: var(--inner-gap);
    border-top: 1px solid rgba(77, 48, 29, 0.26);
}

.version-two .dossier-sources h3 {
    color: #2a1f18;
    font-family: var(--condensed);
    font-size: clamp(20px, 1.8vw, 28px);
}

.version-two .dossier-source-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.version-two .dossier-source-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(77, 48, 29, 0.2);
    background: rgba(255, 252, 241, 0.2);
}

.version-two .dossier-source-item > span {
    color: rgba(77, 48, 29, 0.5);
    font-family: var(--mono);
    font-size: 10px;
}

.version-two .dossier-source-item a,
.version-two .dossier-source-item strong {
    color: #4c1c1c;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(76, 28, 28, 0.28);
    text-underline-offset: 3px;
}

.version-two .dossier-source-item p,
.version-two .dossier-sources-empty {
    margin: 4px 0 0;
    color: rgba(42, 31, 24, 0.68);
    font-size: 11px;
    line-height: 1.42;
}

.version-two .figures-section {
    scroll-margin-top: 26px;
}

.version-two .figures-reveal-row {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.version-two .figures-reveal-row p {
    margin: 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
}

.version-two .archive-reveal,
.version-two .epilogue-actions button,
.version-two .epilogue-actions a {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    color: var(--text);
    border: 1px solid rgba(215, 38, 61, 0.5);
    border-radius: 4px;
    background: rgba(95, 8, 21, 0.56);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(215, 38, 61, 0.12);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.version-two .archive-reveal:hover,
.version-two .archive-reveal:focus-visible,
.version-two .epilogue-actions button:hover,
.version-two .epilogue-actions button:focus-visible,
.version-two .epilogue-actions a:hover,
.version-two .epilogue-actions a:focus-visible {
    border-color: rgba(255, 91, 108, 0.86);
    background: rgba(143, 12, 31, 0.72);
    transform: translateY(-2px);
}

.version-two .archive-reveal:disabled {
    cursor: wait;
    opacity: 0.52;
}

.version-two .author-section,
.version-two .methodology-section,
.version-two .epilogue {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.version-two .author-section {
    display: grid;
    grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1.45fr);
    min-height: 660px;
    color: #17191b;
    border-color: rgba(235, 229, 216, 0.24);
    background: #ded9cd;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.version-two .author-mark {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100%;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 42%, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(145deg, #15191e, #07090b);
}

.version-two .author-mark::before,
.version-two .author-mark::after {
    position: absolute;
    content: "";
    border: 1px solid rgba(242, 242, 242, 0.12);
    border-radius: 50%;
}

.version-two .author-mark::before {
    width: min(72%, 360px);
    aspect-ratio: 1;
}

.version-two .author-mark::after {
    width: min(54%, 270px);
    aspect-ratio: 1;
    border-color: rgba(56, 189, 248, 0.22);
}

.version-two .author-mark span {
    position: relative;
    z-index: 2;
    color: #e9e4da;
    font-family: var(--condensed);
    font-size: clamp(84px, 11vw, 180px);
    line-height: 1;
}

.version-two .author-mark i {
    position: absolute;
    bottom: 28px;
    color: rgba(242, 242, 242, 0.46);
    font-family: var(--mono);
    font-size: 10px;
    font-style: normal;
    text-transform: uppercase;
}

.version-two .author-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 6vw, 92px);
}

.version-two .author-copy .eyebrow {
    color: #245b70;
}

.version-two .author-copy #author-title {
    max-width: 920px;
    color: #17191b;
    font-size: clamp(40px, 4.8vw, 78px);
    line-height: 0.98;
    text-shadow: none;
}

.version-two .author-copy > p:not(.eyebrow):not(.author-identity) {
    max-width: 920px;
    margin: 24px 0 0;
    color: rgba(23, 25, 27, 0.76);
    font-size: clamp(15px, 1.2vw, 19px);
    line-height: 1.58;
}

.version-two .author-identity {
    display: flex;
    gap: 14px;
    align-items: baseline;
    margin: 34px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(23, 25, 27, 0.18);
}

.version-two .author-identity strong {
    color: #17191b;
    font-family: var(--condensed);
    font-size: 20px;
}

.version-two .author-identity span {
    color: rgba(23, 25, 27, 0.48);
    font-family: var(--mono);
    font-size: 10px;
}

.version-two .methodology-section {
    padding: clamp(28px, 4vw, 58px);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 44%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(14, 17, 22, 0.94);
}

.version-two .methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--inner-gap);
    margin-top: 30px;
}

.version-two .methodology-grid article {
    min-height: 230px;
    padding: 24px;
    border: 1px solid rgba(168, 173, 183, 0.18);
    background: rgba(9, 11, 15, 0.46);
}

.version-two .methodology-grid span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
}

.version-two .methodology-grid h3 {
    margin-top: 24px;
    color: var(--text);
    font-size: clamp(22px, 2vw, 32px);
    line-height: 1.05;
    text-shadow: none;
}

.version-two .methodology-grid p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.version-two .epilogue {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(760px, 82svh);
    padding: clamp(48px, 8vw, 126px);
    text-align: center;
    border-color: rgba(215, 38, 61, 0.3);
    background:
        radial-gradient(circle at 50% 50%, rgba(120, 5, 20, 0.3), transparent 44%),
        linear-gradient(180deg, rgba(9, 11, 15, 0.9), rgba(3, 4, 6, 0.98)),
        url("textures/panel-grime.webp") center / cover no-repeat;
}

.version-two .epilogue::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 32%, rgba(0, 0, 0, 0.72));
}

.version-two .epilogue > * {
    position: relative;
    z-index: 1;
}

.version-two .epilogue h2 {
    color: #e7e2d8;
    font-family: var(--condensed);
    font-size: clamp(52px, 8vw, 126px);
    line-height: 0.9;
    text-shadow: 0 0 40px rgba(215, 38, 61, 0.22);
}

.version-two .epilogue > p:not(.eyebrow):not(.share-status) {
    max-width: 920px;
    margin: 32px 0 0;
    color: rgba(242, 242, 242, 0.7);
    font-size: clamp(16px, 1.35vw, 21px);
    line-height: 1.6;
}

.version-two .epilogue > strong {
    max-width: 980px;
    margin-top: 36px;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(24px, 2.5vw, 40px);
    line-height: 1.18;
}

.version-two .epilogue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 44px;
}

.version-two .epilogue-actions a {
    border-color: rgba(168, 173, 183, 0.34);
    background: rgba(23, 26, 33, 0.74);
}

.version-two .share-status {
    min-height: 18px;
    margin: 16px 0 0;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
}

.version-two .site-footer {
    margin-top: clamp(40px, 6vw, 90px);
}

@media (max-width: 1360px) {
    .version-two .demon-filter {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 16px clamp(72px, 8vw, 108px);
    }

    .version-two .demon-filter-card[data-demon-type=""] {
        grid-column: auto;
        width: auto;
    }

    .version-two .human-cost {
        grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
        min-height: 0;
    }
}

@media (max-width: 1080px) {
    .version-two .hero-shell {
        min-height: 620px;
    }

    .version-two .demon-filter {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .version-two .demon-filter-card[data-demon-type=""] {
        grid-column: 2;
        justify-self: stretch;
        width: 100%;
    }

    .version-two .human-cost {
        grid-template-columns: 1fr;
    }

    .version-two .human-cost::before {
        inset: 320px 0 0;
    }

    .version-two .human-cost-visual {
        min-height: 340px;
    }

    .version-two .human-cost-visual::after {
        background: linear-gradient(180deg, transparent 42%, rgba(216, 212, 202, 0.98) 100%);
    }

    .version-two .mechanism-section .section-head,
    .version-two .map-section-head,
    .version-two .figures-section .section-head,
    .version-two .methodology-section .section-head {
        display: grid;
        align-items: start;
    }

    .version-two .mechanism-lead,
    .version-two .map-section-head > p,
    .version-two .figures-lead,
    .version-two .methodology-lead {
        max-width: none;
        text-align: left;
    }

    .version-two .author-section {
        grid-template-columns: 1fr;
    }

    .version-two .author-mark {
        min-height: 360px;
    }
}

@media (max-width: 720px) {
    .version-two main {
        gap: var(--block-gap);
    }

    .version-two .hero-shell {
        min-height: 560px;
        padding-top: 70px;
        padding-bottom: 84px;
    }

    .version-two .hero-kicker {
        margin-bottom: 12px;
        font-size: 9px;
    }

    .version-two .hero-direction {
        margin-top: 14px;
        font-size: 11px;
    }

    .version-two .hero-scroll-cue {
        bottom: 12px;
        white-space: nowrap;
    }

    .version-two .demon-filter-shell {
        padding-bottom: 42px;
    }

    .version-two .demon-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
        padding: 10px;
    }

    .version-two .demon-filter-card,
    .version-two .demon-filter-card[data-demon-type=""] {
        grid-column: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 99px auto;
        justify-items: center;
        min-height: 153px;
        padding: 8px 6px 20px;
        text-align: center;
    }

    .version-two .demon-filter-card[data-demon-type=""] {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 7px) / 2);
    }

    .version-two .demon-filter-card img {
        width: 99px;
        height: 99px;
    }

    .version-two .demon-filter-card strong {
        font-size: 13px;
    }

    .version-two .demon-filter-shell::before,
    .version-two .demon-filter-shell::after {
        top: 42%;
        width: 112px;
        height: 174px;
        opacity: 0.44;
    }

    .version-two .demon-filter-shell::before {
        left: -46px;
    }

    .version-two .demon-filter-shell::after {
        right: -46px;
    }

    .version-two .human-cost-visual {
        min-height: 250px;
    }

    .version-two .human-cost-visual span {
        bottom: 18px;
        left: 18px;
        font-size: 9px;
    }

    .version-two .human-cost-copy {
        padding: 26px 20px 32px;
    }

    .version-two .human-cost #human-cost-title {
        font-size: clamp(35px, 11vw, 50px);
    }

    .version-two .human-cost-lead {
        margin-top: 20px;
        font-size: 15px;
    }

    .version-two .human-stories {
        grid-template-columns: 1fr;
        margin-top: 26px;
    }

    .version-two .human-stories article {
        padding: 16px 0;
    }

    .version-two .human-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .version-two .human-cost-verdict {
        margin-top: 22px;
    }

    .version-two .project-premise,
    .version-two .author-copy,
    .version-two .methodology-section,
    .version-two .epilogue {
        padding: 26px 20px;
    }

    .version-two .dossier-source-item {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .version-two .figures-reveal-row {
        align-items: stretch;
        flex-direction: column;
    }

    .version-two .archive-reveal {
        width: 100%;
    }

    .version-two .author-section {
        min-height: 0;
    }

    .version-two .author-mark {
        min-height: 260px;
    }

    .version-two .author-copy #author-title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .version-two .author-copy > p:not(.eyebrow):not(.author-identity) {
        margin-top: 18px;
        font-size: 15px;
    }

    .version-two .author-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .version-two .methodology-grid {
        grid-template-columns: 1fr;
    }

    .version-two .methodology-grid article {
        min-height: 0;
    }

    .version-two .epilogue {
        min-height: 640px;
    }

    .version-two .epilogue h2 {
        font-size: clamp(54px, 18vw, 86px);
    }

    .version-two .epilogue-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
    }

    .version-two .epilogue-actions > * {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   Version 2: direct narrative, readable type and predictable section system
   -------------------------------------------------------------------------- */

.version-two {
    font-size: 18px;
    line-height: 1.6;
}

.version-two [hidden] {
    display: none !important;
}

.version-two .investigation-grid > .accountability-section {
    grid-column: 1 / -1;
}

.version-two .investigation-grid,
.version-two .investigation-grid > * {
    min-width: 0;
}

.version-two .narrative-heading {
    display: grid;
    gap: 16px;
    align-items: start;
    max-width: 1180px;
    margin: 0;
    text-align: left;
}

.version-two .narrative-heading .section-label {
    margin: 0;
    color: var(--blue);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

[dir="rtl"] .version-two .narrative-heading .section-label {
    letter-spacing: 0;
}

.version-two .narrative-heading > :is(h2, h3) {
    max-width: 25ch;
    margin: 0;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(42px, 4.1vw, 72px);
    font-weight: 400;
    line-height: 0.98;
    text-wrap: balance;
    text-shadow: none;
}

.version-two .narrative-heading > p:not(.section-label) {
    max-width: 62ch;
    margin: 0;
    color: rgba(242, 242, 242, 0.76);
    font-size: clamp(18px, 1.2vw, 22px);
    font-weight: 550;
    line-height: 1.55;
    text-align: left;
}

.version-two .narrative-heading-light .section-label {
    color: #7c2028;
}

.version-two .narrative-heading-light > :is(h2, h3) {
    color: #17191b;
}

.version-two .narrative-heading-light > p:not(.section-label) {
    color: rgba(23, 25, 27, 0.78);
}

.version-two .consequence-section {
    display: block;
    min-height: 0;
    padding: clamp(34px, 5vw, 78px);
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(222, 217, 205, 0.98) 0 48%, rgba(222, 217, 205, 0.88)),
        url("victims/victim-wall.png") right center / auto 118% no-repeat,
        #ded9cd;
}

.version-two .consequence-section::before {
    inset: 0;
    background-size: 42px 42px;
    opacity: 0.5;
}

.version-two .consequence-thesis {
    display: grid;
    gap: 14px;
    max-width: 980px;
    margin-top: 8px;
}

.version-two .consequence-thesis p {
    margin: 0;
    color: rgba(23, 25, 27, 0.82);
    font-size: clamp(18px, 1.35vw, 23px);
    font-weight: 580;
    line-height: 1.52;
}

.version-two .consequence-thesis strong {
    display: block;
    margin: 6px 0;
    color: #6d1721;
    font-family: var(--condensed);
    font-size: clamp(30px, 3.2vw, 54px);
    font-weight: 400;
    line-height: 1.05;
}

.version-two .victim-marquee {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: clamp(34px, 4vw, 58px);
    overflow: hidden;
    border-block: 1px solid rgba(23, 25, 27, 0.22);
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.version-two .victim-price-track {
    display: flex;
    width: max-content;
    padding: 18px 0;
}

.version-two .victim-marquee.is-ready .victim-price-track {
    animation: victim-price-flow-right 68s linear infinite !important;
}

.version-two .victim-marquee:hover .victim-price-track,
.version-two .victim-marquee:focus-within .victim-price-track {
    animation-play-state: paused !important;
}

.version-two .victim-price-group {
    display: flex;
    gap: 14px;
    padding-right: 14px;
}

.version-two .victim-price-card {
    display: flex;
    flex: 0 0 clamp(310px, 28vw, 450px);
    flex-direction: column;
    min-height: 250px;
    padding: 22px;
    color: #17191b;
    border: 1px solid rgba(23, 25, 27, 0.24);
    border-top: 5px solid #821a25;
    border-radius: 5px;
    background: rgba(248, 245, 236, 0.94);
    box-shadow: 0 14px 38px rgba(45, 31, 22, 0.12);
}

.version-two .victim-price-card.survived {
    border-top-color: #255f75;
}

.version-two .victim-price-outcome {
    color: #79202a;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
}

.version-two .victim-price-card.survived .victim-price-outcome {
    color: #255f75;
}

.version-two .victim-price-card h3 {
    margin: 14px 0 0;
    color: #17191b;
    font-family: var(--condensed);
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 400;
    line-height: 1.05;
    text-shadow: none;
}

.version-two .victim-price-card > p {
    display: -webkit-box;
    margin: 14px 0 20px;
    overflow: hidden;
    color: rgba(23, 25, 27, 0.78);
    font-size: 16px;
    font-weight: 540;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.version-two .victim-price-card footer {
    display: grid;
    gap: 4px;
    margin-top: auto;
    padding-top: 14px;
    color: rgba(23, 25, 27, 0.6);
    border-top: 1px solid rgba(23, 25, 27, 0.16);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.version-two .victim-price-loading {
    padding: 24px;
    color: rgba(23, 25, 27, 0.68);
    font-size: 17px;
}

.version-two .consequence-section .human-stats {
    position: relative;
    z-index: 1;
    margin-top: 24px;
}

.version-two .consequence-section .human-stats span {
    font-size: 13px;
    line-height: 1.38;
}

@keyframes victim-price-flow-right {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

.version-two .mechanism-section,
.version-two .accountability-section {
    margin: 0;
    padding: clamp(30px, 4vw, 58px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent 42%),
        url("textures/panel-grime.webp") center / cover no-repeat,
        rgba(14, 17, 22, 0.94);
    box-shadow: 0 18px 80px rgba(0, 0, 0, 0.24);
}

.version-two .causal-chain {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin-top: clamp(28px, 3vw, 46px);
}

.version-two .causal-step {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 320px;
    padding: 22px 18px;
    flex-direction: column;
    border: 1px solid rgba(168, 173, 183, 0.22);
    border-top: 4px solid rgba(56, 189, 248, 0.72);
    border-radius: 5px;
    background: rgba(7, 10, 14, 0.64);
}

.version-two .causal-step::after {
    position: absolute;
    top: 50%;
    right: -18px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    content: "→";
    color: var(--blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 50%;
    background: #10141a;
    font-family: var(--mono);
    font-size: 15px;
    transform: translateY(-50%);
}

.version-two .causal-step:last-child::after {
    content: none;
}

.version-two .causal-step > span {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 14px;
    font-weight: 800;
}

.version-two .causal-step time {
    display: block;
    margin-top: 28px;
    color: rgba(242, 242, 242, 0.62);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.version-two .causal-step h3 {
    margin: 12px 0 0;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(22px, 1.55vw, 29px);
    font-weight: 400;
    line-height: 1.08;
    text-shadow: none;
}

.version-two .causal-step p {
    margin: 16px 0 0;
    color: rgba(242, 242, 242, 0.74);
    font-size: 16px;
    font-weight: 540;
    line-height: 1.5;
}

.version-two .causal-step-outcome {
    border-top-color: rgba(215, 38, 61, 0.94);
    background: rgba(72, 8, 18, 0.46);
}

.version-two .causal-step-outcome > span,
.version-two .causal-step-outcome::after {
    color: #ff6b7c;
}

.version-two .law-source-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: rgba(242, 242, 242, 0.62);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
}

.version-two .law-source-strip a {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 11px;
    align-items: center;
    color: #ff5b72;
    border: 1px solid rgba(255, 91, 114, 0.32);
    border-radius: 4px;
    background: rgba(7, 10, 14, 0.56);
    text-decoration: none;
}

.version-two .law-source-strip a:hover,
.version-two .law-source-strip a:focus-visible {
    color: #fff;
    border-color: rgba(255, 91, 114, 0.82);
}

.version-two .responsibility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: clamp(28px, 3vw, 46px);
}

.version-two .responsibility-card {
    display: flex;
    min-height: 330px;
    padding: 24px;
    flex-direction: column;
    border: 1px solid rgba(168, 173, 183, 0.22);
    border-top: 4px solid rgba(56, 189, 248, 0.62);
    border-radius: 5px;
    background: rgba(7, 10, 14, 0.62);
}

.version-two .responsibility-card-primary {
    border-top-color: var(--red);
    background: linear-gradient(145deg, rgba(94, 9, 22, 0.55), rgba(7, 10, 14, 0.68));
}

.version-two .responsibility-card-institution {
    border-top-color: rgba(245, 158, 11, 0.74);
}

.version-two .responsibility-role {
    color: var(--blue);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.version-two .responsibility-card h3 {
    margin: 22px 0 0;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(27px, 2.2vw, 39px);
    font-weight: 400;
    line-height: 1.03;
    text-shadow: none;
}

.version-two .responsibility-card > p {
    margin: 16px 0 24px;
    color: rgba(242, 242, 242, 0.76);
    font-size: 16px;
    font-weight: 540;
    line-height: 1.52;
}

.version-two .responsibility-sources {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(168, 173, 183, 0.18);
}

.version-two .responsibility-sources a {
    color: #ff5b72;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-color: rgba(255, 91, 114, 0.42);
    text-underline-offset: 4px;
}

.version-two .responsibility-sources a:hover,
.version-two .responsibility-sources a:focus-visible {
    color: #fff;
    text-decoration-color: currentColor;
}

.version-two .institution-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.version-two .institution-row span {
    display: grid;
    place-items: center;
    min-height: 70px;
    padding: 12px;
    color: rgba(242, 242, 242, 0.82);
    border: 1px solid rgba(168, 173, 183, 0.2);
    background: rgba(7, 10, 14, 0.56);
    font-size: 14px;
    font-weight: 720;
    line-height: 1.35;
    text-align: center;
}

.version-two .map-section-head {
    margin-bottom: 28px;
}

.version-two .legend {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
}

.version-two .legend > span {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-width: 0;
    min-height: 92px;
    padding: 12px;
    color: rgba(242, 242, 242, 0.82);
    border: 1px solid var(--line);
    border-radius: 5px;
    background: rgba(15, 17, 21, 0.72);
    font-size: 14px;
    font-weight: 680;
    line-height: 1.3;
}

.version-two .legend-icon {
    width: 64px;
    height: 64px;
}

.version-two .dossier-page {
    font-size: 17px;
}

.version-two .story-body p,
.version-two .before-after p,
.version-two .victim-tooltip small,
.version-two .victims-line {
    font-size: 17px;
    line-height: 1.56;
}

.version-two .dossier-sources {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid #9b8372;
    border-radius: 6px;
    background: #eee8dd;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.version-two .dossier-sources h3 {
    color: #251914;
    font-family: var(--condensed);
    font-size: clamp(28px, 2.4vw, 42px);
    line-height: 1;
    text-shadow: none;
}

.version-two .dossier-source-list {
    gap: 10px;
    margin-top: 18px;
}

.version-two .dossier-source-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid #b9a493;
    background: #fffdf7;
}

.version-two .dossier-source-item > span {
    color: #6a5142;
    font-size: 12px;
}

.version-two .dossier-source-item a,
.version-two .dossier-source-item strong {
    color: #55131d;
    font-size: 16px;
    line-height: 1.4;
    text-decoration-color: rgba(85, 19, 29, 0.42);
}

.version-two .dossier-source-item p,
.version-two .dossier-sources-empty {
    margin-top: 7px;
    color: #2a1f18;
    font-size: 15px;
    line-height: 1.5;
}

.version-two .figures-section > .narrative-heading {
    margin-bottom: 30px;
}

.version-two .figures-reveal-row p {
    font-size: 13px;
    line-height: 1.45;
}

.version-two .archive-reveal {
    min-height: 50px;
    font-size: 13px;
}

.version-two .figure-archive {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    animation: figure-archive-enter 280ms ease-out both;
}

.version-two .figure-archive > h3 {
    margin: 0;
    color: var(--text);
    font-family: var(--condensed);
    font-size: clamp(28px, 2.5vw, 42px);
    font-weight: 400;
    line-height: 1;
    text-shadow: none;
}

.version-two .figure-archive > h3:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 6px;
}

.version-two .figure-archive .figure-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 10px;
    margin-top: 20px;
}

.version-two .figure-archive-card {
    display: grid;
    grid-template-areas:
        "thumb copy"
        "thumb region"
        "thumb status";
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 12px;
    align-items: center;
    min-height: 118px;
    padding: 12px;
    color: var(--text);
    text-align: left;
    border: 1px solid var(--line);
    border-left: 3px solid rgba(56, 189, 248, 0.62);
    border-radius: 5px;
    background: rgba(10, 13, 18, 0.72);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.version-two .figure-archive-card:hover,
.version-two .figure-archive-card:focus-visible,
.version-two .figure-archive-card.active {
    border-color: rgba(255, 81, 103, 0.78);
    background: rgba(71, 8, 18, 0.66);
    transform: translateY(-2px);
}

.version-two .figure-archive-thumb {
    grid-area: thumb;
    display: grid;
    place-items: center;
    width: 64px;
    height: 76px;
    overflow: hidden;
    color: rgba(242, 242, 242, 0.62);
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 4px;
    background: #0d1015;
    font-family: var(--condensed);
    font-size: 19px;
}

.version-two .figure-archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.version-two .figure-archive-copy {
    grid-area: copy;
    display: grid;
    min-width: 0;
}

.version-two .figure-archive-copy strong {
    overflow: hidden;
    font-family: var(--condensed);
    font-size: 19px;
    font-weight: 400;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.version-two .figure-archive-copy > span,
.version-two .figure-archive-region {
    overflow: hidden;
    color: rgba(242, 242, 242, 0.62);
    font-size: 13px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.version-two .figure-archive-region {
    grid-area: region;
}

.version-two .figure-archive-status {
    grid-area: status;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    width: fit-content;
    color: rgba(242, 242, 242, 0.82);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
}

.version-two .figure-archive-status img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@keyframes figure-archive-enter {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-two .author-section {
    display: block;
    min-height: 0;
    background:
        linear-gradient(115deg, rgba(56, 189, 248, 0.09), transparent 44%),
        #ded9cd;
}

.version-two .author-copy {
    display: block;
    max-width: 1240px;
    padding: clamp(38px, 6vw, 92px);
}

.version-two .author-section .author-copy > p {
    max-width: 900px;
    margin: 24px 0 0;
    color: rgba(23, 25, 27, 0.8);
    font-size: clamp(18px, 1.3vw, 22px);
    font-weight: 540;
    line-height: 1.58;
}

@media (max-width: 1280px) {
    .version-two .causal-chain {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 0 0 14px;
        scroll-snap-type: x mandatory;
    }

    .version-two .causal-step {
        flex: 0 0 min(290px, 78vw);
        scroll-snap-align: start;
    }

    .version-two .responsibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .version-two .narrative-heading > :is(h2, h3) {
        font-size: clamp(38px, 5.2vw, 52px);
    }

    .version-two .responsibility-card {
        min-height: 300px;
    }

    .version-two .institution-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .version-two .institution-row span:last-child {
        grid-column: 1 / -1;
    }

    .version-two .legend {
        grid-template-columns: repeat(5, 176px);
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }

    .version-two .legend > span {
        grid-template-columns: 58px minmax(0, 1fr);
        scroll-snap-align: start;
    }

    .version-two .legend-icon {
        width: 56px;
        height: 56px;
    }

    .version-two .figure-archive .figure-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .version-two {
        font-size: 16px;
    }

    .version-two main {
        width: min(1680px, calc(100% - 20px));
    }

    .version-two .investigation-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 100%;
    }

    .version-two .causal-chain {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .version-two .narrative-heading {
        gap: 12px;
    }

    .version-two .narrative-heading .section-label {
        font-size: 11px;
    }

    .version-two .narrative-heading > :is(h2, h3) {
        font-size: clamp(34px, 10.5vw, 48px);
        line-height: 1;
    }

    .version-two .narrative-heading > p:not(.section-label),
    .version-two .consequence-thesis p {
        font-size: 17px;
    }

    .version-two .consequence-section,
    .version-two .mechanism-section,
    .version-two .accountability-section {
        padding: 26px 18px;
    }

    .version-two .consequence-thesis strong {
        font-size: clamp(29px, 9vw, 42px);
    }

    .version-two .victim-marquee {
        margin-top: 28px;
        mask-image: none;
    }

    .version-two .victim-price-card {
        flex-basis: min(310px, 82vw);
        min-height: 260px;
        padding: 20px;
    }

    .version-two .victim-price-card > p,
    .version-two .causal-step p,
    .version-two .responsibility-card > p {
        font-size: 16px;
    }

    .version-two .causal-step {
        min-height: 330px;
    }

    .version-two .responsibility-grid {
        grid-template-columns: 1fr;
    }

    .version-two .responsibility-card {
        min-height: 0;
    }

    .version-two .institution-row {
        grid-template-columns: 1fr;
    }

    .version-two .institution-row span:last-child {
        grid-column: auto;
    }

    .version-two .story-body p,
    .version-two .before-after p,
    .version-two .victim-tooltip small,
    .version-two .victims-line {
        font-size: 16px;
    }

    .version-two .dossier-sources {
        padding: 18px;
    }

    .version-two .dossier-source-item a,
    .version-two .dossier-source-item strong {
        font-size: 16px;
    }

    .version-two .dossier-source-item p,
    .version-two .dossier-sources-empty {
        font-size: 15px;
    }

    .version-two .figure-archive .figure-grid {
        grid-template-columns: 1fr;
    }

    .version-two .author-copy {
        padding: 32px 20px;
    }

    .version-two .author-section .author-copy > p {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .victim-marquee {
        overflow-x: auto;
        mask-image: none;
        scroll-snap-type: x mandatory;
    }

    .version-two .victim-marquee.is-ready .victim-price-track {
        animation: none !important;
        transform: none;
    }

    .version-two .victim-price-group[aria-hidden="true"] {
        display: none;
    }

    .version-two .victim-price-group .victim-card {
        scroll-snap-align: start;
    }

    .version-two .victim-price-card {
        scroll-snap-align: start;
    }

    .version-two .figure-archive {
        animation: none;
    }
}

/* V2 — second dramaturgical pass */
.version-two .consequence-section {
    padding: clamp(38px, 5vw, 82px);
    color: var(--text);
    border: 1px solid rgba(215, 38, 61, 0.3);
    background:
        linear-gradient(102deg, rgba(7, 8, 11, 0.98) 0 48%, rgba(24, 5, 10, 0.9) 76%, rgba(7, 8, 11, 0.96)),
        url("victims/victim-wall.png") right center / auto 120% no-repeat,
        url("textures/panel-grime.webp") center / cover no-repeat,
        #090a0d;
    box-shadow:
        inset 0 0 100px rgba(171, 0, 0, 0.12),
        0 28px 90px rgba(0, 0, 0, 0.42);
}

.version-two .consequence-section::before {
    background:
        repeating-linear-gradient(135deg, transparent 0 18px, rgba(215, 38, 61, 0.04) 18px 19px),
        radial-gradient(circle at 86% 18%, rgba(215, 38, 61, 0.16), transparent 34%);
    opacity: 0.9;
}

.version-two .consequence-section .narrative-heading,
.version-two .consequence-section .consequence-thesis {
    position: relative;
    z-index: 2;
}

.version-two .consequence-section .narrative-heading {
    width: 100%;
    max-width: none;
}

.version-two .consequence-section .narrative-heading > *,
.version-two .consequence-section .consequence-thesis > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.version-two .consequence-section .narrative-heading > :is(h2, h3) {
    color: var(--text);
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.version-two .consequence-thesis p {
    color: rgba(242, 242, 242, 0.82);
    font-size: clamp(18px, 1.35vw, 23px);
}

.version-two .consequence-thesis strong {
    color: #ff4d65;
    text-shadow:
        0 0 24px rgba(215, 38, 61, 0.38),
        0 3px 0 rgba(0, 0, 0, 0.72);
}

.version-two .victim-carousel {
    position: relative;
    z-index: 3;
    margin-top: clamp(10px, 1.4vw, 20px);
    padding-inline: clamp(46px, 4.8vw, 78px);
}

.version-two .victim-marquee {
    position: relative;
    width: 100%;
    margin: 0;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: 7px;
    background: rgba(5, 6, 9, 0.64);
    box-shadow:
        inset 0 0 46px rgba(0, 0, 0, 0.52),
        0 18px 46px rgba(0, 0, 0, 0.32);
    cursor: grab;
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    scrollbar-width: none;
    touch-action: pan-y;
    user-select: none;
}

.version-two .victim-marquee::-webkit-scrollbar {
    display: none;
}

.version-two .victim-marquee:focus-visible {
    outline: 2px solid rgba(255, 100, 120, 0.72);
    outline-offset: 4px;
}

.version-two .victim-marquee.is-dragging {
    cursor: grabbing;
}

.version-two .victim-price-track,
.version-two .victim-marquee.is-ready .victim-price-track {
    display: flex;
    width: max-content;
    padding: 20px 0;
    animation: none !important;
    transform: none;
}

.version-two .victim-price-group {
    display: flex;
    gap: 16px;
    padding-right: 16px;
}

.version-two .victim-price-group .victim-card {
    flex: 0 0 clamp(224px, 18vw, 278px);
    width: clamp(224px, 18vw, 278px);
    min-height: 320px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34);
}

.version-two .victim-price-group .victim-photo {
    aspect-ratio: 1 / 0.92;
}

.version-two .victim-price-group .victim-tooltip {
    padding: 16px;
}

.version-two .victim-price-group .victim-tooltip strong {
    font-size: 18px;
}

.version-two .victim-carousel-control {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: grid;
    place-items: center;
    width: clamp(48px, 4.2vw, 68px);
    height: clamp(82px, 8vw, 118px);
    padding: 0 0 8px;
    color: #fff2f3;
    border: 1px solid rgba(255, 86, 106, 0.66);
    border-radius: 6px;
    background:
        radial-gradient(circle at 50% 40%, rgba(215, 38, 61, 0.52), transparent 62%),
        linear-gradient(180deg, rgba(88, 8, 21, 0.96), rgba(10, 8, 12, 0.96));
    font-family: var(--condensed);
    font-size: clamp(48px, 5vw, 74px);
    line-height: 1;
    box-shadow:
        0 0 28px rgba(215, 38, 61, 0.28),
        0 16px 28px rgba(0, 0, 0, 0.46);
    transform: translateY(-50%);
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.version-two .victim-carousel-control:hover,
.version-two .victim-carousel-control:focus-visible,
.version-two .victim-carousel-control:active {
    color: #fff;
    border-color: #ff667b;
    background:
        radial-gradient(circle at 50% 40%, rgba(255, 45, 76, 0.72), transparent 66%),
        linear-gradient(180deg, rgba(122, 8, 27, 0.98), rgba(12, 8, 12, 0.98));
    box-shadow:
        0 0 42px rgba(215, 38, 61, 0.52),
        0 18px 34px rgba(0, 0, 0, 0.52);
}

.version-two .victim-carousel-control-prev {
    left: 0;
}

.version-two .victim-carousel-control-next {
    right: 0;
}

.version-two .victim-carousel-autoplay {
    position: absolute;
    top: -42px;
    right: clamp(46px, 4.8vw, 78px);
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 7px 12px;
    color: rgba(255, 242, 243, 0.88);
    border: 1px solid rgba(255, 86, 106, 0.42);
    border-radius: 4px;
    background: rgba(10, 8, 12, 0.88);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.version-two .victim-carousel-autoplay:hover,
.version-two .victim-carousel-autoplay:focus-visible,
.version-two .victim-carousel-autoplay[aria-pressed="true"] {
    color: #fff;
    border-color: rgba(255, 102, 123, 0.82);
    background: rgba(82, 9, 21, 0.94);
}

.version-two .victim-carousel-autoplay:disabled {
    cursor: default;
    opacity: 0.68;
}

.version-two .victim-carousel-autoplay-icon {
    display: inline-grid;
    width: 14px;
    place-items: center;
    color: #ff667b;
    font-size: 12px;
}

.version-two .consequence-section .human-stats {
    position: relative;
    z-index: 2;
    gap: 14px;
    max-width: 1280px;
    margin: clamp(34px, 4vw, 60px) auto 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.version-two .consequence-section .human-stats article {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 250px;
    padding: 24px 18px;
    text-align: center;
    border: 1px solid rgba(215, 38, 61, 0.3);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 13%, rgba(215, 38, 61, 0.18), transparent 43%),
        linear-gradient(155deg, rgba(24, 8, 13, 0.9), rgba(7, 9, 13, 0.92));
    box-shadow:
        inset 0 0 30px rgba(171, 0, 0, 0.08),
        0 16px 38px rgba(0, 0, 0, 0.3);
    opacity: 0.18;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.version-two .consequence-section.is-visible .human-stats article {
    opacity: 1;
    transform: translateY(0);
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(2) {
    transition-delay: 90ms;
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(3) {
    transition-delay: 180ms;
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(4) {
    transition-delay: 270ms;
}

.version-two .consequence-section .human-stats article:hover {
    border-color: rgba(255, 92, 114, 0.7);
    box-shadow:
        inset 0 0 34px rgba(215, 38, 61, 0.15),
        0 0 34px rgba(215, 38, 61, 0.2),
        0 18px 42px rgba(0, 0, 0, 0.38);
}

.version-two .consequence-section .human-stats img {
    width: 112px;
    height: 92px;
    margin-bottom: 12px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(215, 38, 61, 0.42))
        drop-shadow(0 12px 14px rgba(0, 0, 0, 0.54));
}

.version-two .consequence-section .human-stats article:nth-child(2) img,
.version-two .consequence-section .human-stats article:nth-child(4) img {
    filter:
        drop-shadow(0 0 18px rgba(56, 189, 248, 0.4))
        drop-shadow(0 12px 14px rgba(0, 0, 0, 0.54));
}

.version-two .consequence-section .human-stats strong {
    color: #ff526b;
    font-family: var(--display);
    font-size: clamp(48px, 5vw, 78px);
    line-height: 0.9;
    text-shadow:
        0 0 24px rgba(215, 38, 61, 0.42),
        0 3px 0 #26030a;
}

.version-two .consequence-section .human-stats article:nth-child(2) strong,
.version-two .consequence-section .human-stats article:nth-child(4) strong {
    color: #75d9ff;
    text-shadow:
        0 0 24px rgba(56, 189, 248, 0.36),
        0 3px 0 #031621;
}

.version-two .consequence-section .human-stats span {
    max-width: 190px;
    margin-top: 12px;
    color: rgba(242, 242, 242, 0.78);
    font-size: 14px;
    line-height: 1.35;
}

.version-two .route-diagram {
    margin-top: clamp(30px, 3vw, 48px);
    background:
        radial-gradient(circle at 7% 14%, rgba(215, 38, 61, 0.3), transparent 26%),
        radial-gradient(circle at 94% 42%, rgba(171, 0, 0, 0.34), transparent 34%),
        linear-gradient(90deg, rgba(10, 11, 15, 0.92), rgba(45, 7, 14, 0.62), rgba(9, 11, 15, 0.94)),
        url("textures/route-board.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 80px rgba(171, 0, 0, 0.12),
        0 22px 54px rgba(0, 0, 0, 0.34);
}

.version-two .route-step strong {
    font-family: var(--condensed);
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 700;
}

.version-two .route-step p {
    color: rgba(242, 242, 242, 0.76);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.48;
}

@media (min-width: 1081px) {
    .version-two .route-step {
        min-height: clamp(396px, 33.5vw, 430px);
        padding: clamp(34px, 3vw, 44px) clamp(14px, 2vw, 32px) clamp(20px, 2.5vw, 32px);
    }

    .version-two .route-icon {
        width: clamp(168px, 15.5vw, 224px);
        height: clamp(168px, 15.5vw, 224px);
    }
}

.version-two .responsibility-card {
    min-height: 610px;
    overflow: hidden;
}

.version-two .responsibility-portrait {
    position: relative;
    height: 270px;
    margin: -24px -24px 22px;
    overflow: hidden;
    border-bottom: 1px solid rgba(215, 38, 61, 0.34);
    background: #090b0f;
}

.version-two .responsibility-portrait::after {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(180deg, transparent 48%, rgba(7, 8, 11, 0.9)),
        radial-gradient(circle at 88% 12%, rgba(215, 38, 61, 0.22), transparent 34%);
    box-shadow: inset 0 -24px 32px rgba(0, 0, 0, 0.4);
}

.version-two .responsibility-portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(0.5) contrast(1.12) saturate(0.74);
    transform: scale(1.015);
    transition: filter 200ms ease, transform 260ms ease;
}

.version-two .responsibility-portrait img[src$="prigozhin.jpg"] {
    object-position: center 40%;
}

.version-two .responsibility-card:hover .responsibility-portrait img {
    filter: grayscale(0.1) contrast(1.1) saturate(0.98);
    transform: scale(1.05);
}

.version-two .responsibility-card h3 {
    margin-top: 14px;
}

.version-two .portrait-credits {
    margin-top: 18px;
    padding: 0;
    color: rgba(242, 242, 242, 0.66);
    border: 1px solid rgba(168, 173, 183, 0.18);
    border-radius: 4px;
    background: rgba(7, 10, 14, 0.54);
    font-size: 13px;
}

.version-two .portrait-credits summary,
.version-two .photo-credits-toggle {
    display: block;
    width: 100%;
    padding: 14px 16px;
    color: rgba(242, 242, 242, 0.82);
    border: 0;
    background: transparent;
    font-family: var(--mono);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.version-two .portrait-credits[open] summary,
.version-two .photo-credits-toggle[aria-expanded="true"] {
    border-bottom: 1px solid rgba(168, 173, 183, 0.16);
}

.version-two .photo-credits-toggle::before {
    content: "▸ ";
}

.version-two .photo-credits-toggle[aria-expanded="true"]::before {
    content: "▾ ";
}

.version-two .portrait-credits > p,
.version-two .photo-credits-panel > p {
    margin: 16px 18px 0;
}

.version-two .portrait-credits ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin: 12px 18px 18px;
    padding-left: 18px;
}

.version-two .portrait-credits a {
    color: #ff5b72;
    line-height: 1.45;
}

.version-two .safety-warning {
    display: grid;
    grid-template-columns: minmax(120px, 190px) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 46px);
    align-items: center;
    margin-top: clamp(26px, 3vw, 44px);
    padding: clamp(24px, 3.2vw, 46px);
    border: 1px solid rgba(255, 70, 94, 0.54);
    border-left: 8px solid #e62742;
    border-radius: 7px;
    background:
        radial-gradient(circle at 8% 50%, rgba(215, 38, 61, 0.3), transparent 24%),
        linear-gradient(110deg, rgba(72, 5, 16, 0.86), rgba(8, 10, 14, 0.94));
    box-shadow:
        inset 0 0 50px rgba(171, 0, 0, 0.12),
        0 0 42px rgba(215, 38, 61, 0.12);
}

.version-two .safety-warning > img {
    width: 100%;
    max-height: 150px;
    object-fit: contain;
    filter:
        drop-shadow(0 0 28px rgba(255, 46, 74, 0.66))
        drop-shadow(0 18px 20px rgba(0, 0, 0, 0.62));
}

.version-two .safety-warning h3 {
    margin: 8px 0 0;
    color: #fff2f3;
    font-family: var(--condensed);
    font-size: clamp(34px, 3.5vw, 58px);
    font-weight: 600;
    line-height: 0.98;
}

.version-two .safety-warning p:last-child {
    max-width: 1050px;
    margin: 18px 0 0;
    color: rgba(242, 242, 242, 0.82);
    font-size: clamp(17px, 1.25vw, 21px);
    line-height: 1.55;
}

.version-two .legend > span {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: center;
    gap: 8px;
    min-height: 126px;
    text-align: center;
}

.version-two .legend-icon {
    width: 108px;
    height: 108px;
}

.version-two .mini-event {
    grid-template-columns: 42px 92px minmax(0, 1fr);
}

.version-two .mini-event-icon {
    width: 92px;
    height: 92px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.version-two .mini-event-icon img {
    width: 86px;
    height: 86px;
    filter:
        drop-shadow(0 0 13px rgba(215, 38, 61, 0.42))
        drop-shadow(0 10px 12px rgba(0, 0, 0, 0.7));
}

.version-two .dossier-sources {
    position: relative;
    margin-top: 30px;
    padding: clamp(20px, 2.2vw, 30px);
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.34);
    border-left: 6px solid #c91f39;
    border-radius: 7px;
    background:
        radial-gradient(circle at 92% 8%, rgba(215, 38, 61, 0.18), transparent 31%),
        linear-gradient(150deg, rgba(21, 7, 11, 0.98), rgba(6, 8, 12, 0.98)),
        url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 36px rgba(171, 0, 0, 0.08),
        0 18px 40px rgba(0, 0, 0, 0.3);
}

.version-two .dossier-sources h3 {
    color: #fff0f1;
    font-size: clamp(32px, 3vw, 48px);
    text-shadow: 0 0 22px rgba(215, 38, 61, 0.28);
}

.version-two .dossier-source-list {
    gap: 12px;
    margin-top: 20px;
}

.version-two .dossier-source-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
    border: 1px solid rgba(168, 173, 183, 0.2);
    border-radius: 4px;
    background: rgba(13, 16, 21, 0.84);
}

.version-two .dossier-source-item > span {
    color: #ff7083;
    font-size: 13px;
    font-weight: 800;
}

.version-two .dossier-source-item a,
.version-two .dossier-source-item strong {
    color: #ff5b72;
    font-size: 16px;
    line-height: 1.42;
    text-decoration-color: rgba(255, 91, 114, 0.48);
}

.version-two .dossier-source-item p,
.version-two .dossier-sources-empty {
    color: rgba(242, 242, 242, 0.74);
    font-size: 15px;
    line-height: 1.55;
}

.version-two .figure-card-enter {
    animation: figure-card-enter 420ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

@keyframes figure-card-enter {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-two .contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: start;
    min-height: 0;
    padding: clamp(38px, 6vw, 92px);
    border: 1px solid rgba(56, 189, 248, 0.22);
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.12), transparent 34%),
        radial-gradient(circle at 100% 100%, rgba(215, 38, 61, 0.16), transparent 40%),
        linear-gradient(135deg, rgba(10, 13, 18, 0.98), rgba(25, 8, 13, 0.94)),
        url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow: 0 24px 74px rgba(0, 0, 0, 0.34);
}

.version-two .contact-copy .narrative-heading h2 {
    max-width: 620px;
}

.version-two .contact-privacy {
    max-width: 610px;
    margin: 26px 0 0;
    color: rgba(242, 242, 242, 0.62);
    font-size: 16px;
    line-height: 1.58;
}

.version-two .contact-form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid rgba(215, 38, 61, 0.28);
    border-radius: 7px;
    background: rgba(5, 7, 10, 0.76);
    box-shadow:
        inset 0 0 44px rgba(171, 0, 0, 0.07),
        0 18px 46px rgba(0, 0, 0, 0.34);
}

.version-two .contact-field {
    display: grid;
    gap: 8px;
    color: rgba(242, 242, 242, 0.76);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.version-two .contact-field-wide,
.version-two .contact-submit-row {
    grid-column: 1 / -1;
}

.version-two .contact-field input,
.version-two .contact-field textarea {
    width: 100%;
    color: #f8f4f4;
    border: 1px solid rgba(168, 173, 183, 0.3);
    border-radius: 4px;
    background: rgba(13, 16, 22, 0.94);
    font: 500 17px/1.5 Inter, sans-serif;
    text-transform: none;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.version-two .contact-field input {
    min-height: 54px;
    padding: 12px 14px;
}

.version-two .contact-field textarea {
    min-height: 190px;
    padding: 14px;
    resize: vertical;
}

.version-two .contact-field input:focus,
.version-two .contact-field textarea:focus {
    outline: 0;
    border-color: rgba(56, 189, 248, 0.8);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.14);
}

.version-two .contact-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.version-two .contact-submit-row {
    display: flex;
    gap: 18px;
    align-items: center;
    min-height: 58px;
}

.version-two .contact-submit {
    flex: 0 0 auto;
    min-height: 54px;
    padding: 12px 24px;
    color: #fff;
    border: 1px solid rgba(255, 85, 106, 0.72);
    border-radius: 4px;
    background: linear-gradient(135deg, #a80f28, #5e0917);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 24px rgba(215, 38, 61, 0.18);
}

.version-two .contact-submit:hover,
.version-two .contact-submit:focus-visible {
    background: linear-gradient(135deg, #ce1837, #7b0a1e);
    box-shadow: 0 0 34px rgba(215, 38, 61, 0.34);
}

.version-two .contact-submit:disabled {
    cursor: wait;
    opacity: 0.6;
}

.version-two .contact-status {
    margin: 0;
    color: rgba(242, 242, 242, 0.7);
    font-size: 15px;
    line-height: 1.45;
}

.version-two .contact-status[data-state="success"] {
    color: #8fe0ff;
}

.version-two .contact-status[data-state="error"] {
    color: #ff8091;
}

@media (max-width: 1100px) {
    .version-two .human-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .version-two .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1081px) and (max-width: 1280px) {
    .version-two .route-diagram::before {
        top: clamp(148px, 12.2vw, 170px);
        right: clamp(58px, 6.5vw, 84px);
        left: clamp(58px, 6.5vw, 84px);
    }

    .version-two .route-escape {
        top: clamp(45px, 5vw, 64px);
        right: clamp(62px, 6.5vw, 84px);
        left: clamp(62px, 6.5vw, 84px);
    }

    .version-two .route-icon {
        width: clamp(168px, 15.5vw, 224px);
        height: clamp(168px, 15.5vw, 224px);
        margin-bottom: clamp(18px, 1.875vw, 24px);
    }
}

@media (max-width: 900px) {
    .version-two .legend > span {
        grid-template-columns: 1fr;
        min-height: 126px;
    }

    .version-two .safety-warning {
        grid-template-columns: 110px minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .version-two .narrative-heading > :is(h2, h3) {
        font-size: clamp(34px, 5.2vw, 38px);
    }

    .version-two .consequence-section {
        padding: 26px 18px;
    }

    .version-two .consequence-section .narrative-heading > :is(h2, h3) {
        font-size: clamp(31px, 5.2vw, 37px);
        text-wrap: balance;
    }

    .version-two .victim-carousel {
        padding-inline: 38px;
    }

    .version-two .victim-carousel-autoplay {
        top: -38px;
        right: 38px;
        min-height: 30px;
        padding: 5px 9px;
        font-size: 11px;
    }

    .version-two .victim-carousel-control {
        width: 42px;
        height: 76px;
        font-size: 48px;
    }

    .version-two .victim-price-group .victim-card {
        flex-basis: min(230px, 72vw);
        width: min(230px, 72vw);
    }

    .version-two .consequence-section .human-stats article {
        min-height: 230px;
    }

    .version-two .safety-warning {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .version-two .safety-warning > img {
        width: 112px;
    }

    .version-two .mini-event {
        grid-template-columns: 32px 68px minmax(0, 1fr);
        gap: 10px;
    }

    .version-two .mini-event-icon {
        width: 68px;
        height: 68px;
    }

    .version-two .mini-event-icon img {
        width: 66px;
        height: 66px;
    }

    .version-two .contact-section {
        padding: 28px 18px;
    }

    .version-two .contact-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .version-two .contact-field,
    .version-two .contact-field-wide,
    .version-two .contact-submit-row {
        grid-column: 1;
    }

    .version-two .contact-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .version-two .responsibility-card {
        min-height: 0;
    }

    .version-two .responsibility-portrait {
        height: 280px;
    }

    .version-two .portrait-credits ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .version-two .human-stats {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .victim-price-group[aria-hidden="true"] {
        display: none;
    }

    .version-two .figure-card-enter {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   V2: readable cards, larger dossier media and polished contact surface
   -------------------------------------------------------------------------- */

/* Human cost is shown as a short, literal cause-and-effect route. */
.version-two .consequence-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 0.8fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(8px, 1.2vw, 18px);
    align-items: center;
    margin: clamp(26px, 3vw, 42px) 0;
}

.version-two .consequence-route > span {
    display: grid;
    min-height: 176px;
    gap: 10px;
    place-items: center;
    padding: 16px 12px;
    color: #fff;
    border: 1px solid rgba(255, 91, 112, 0.38);
    border-radius: 7px;
    background:
        radial-gradient(circle at 50% 18%, rgba(215, 38, 61, 0.2), transparent 52%),
        rgba(7, 10, 14, 0.78);
    text-align: center;
    box-shadow: inset 0 0 30px rgba(171, 0, 0, 0.08), 0 14px 28px rgba(0, 0, 0, 0.26);
}

.version-two .consequence-route img {
    width: clamp(86px, 8vw, 118px);
    height: clamp(86px, 8vw, 118px);
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(215, 38, 61, 0.34));
}

.version-two .consequence-route b {
    max-width: 190px;
    font-family: var(--condensed);
    font-size: clamp(18px, 1.45vw, 23px);
    font-weight: 700;
    line-height: 1.15;
}

.version-two .consequence-route > i {
    color: #ff5b70;
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 50px);
    font-style: normal;
    line-height: 1;
    text-shadow: 0 0 20px rgba(215, 38, 61, 0.54);
}

.version-two .consequence-result {
    display: grid;
    gap: 8px;
    margin-top: 22px !important;
    padding: 18px 20px;
    border-left: 5px solid var(--red);
    background: linear-gradient(90deg, rgba(126, 10, 29, 0.48), rgba(7, 10, 14, 0.2));
}

.version-two .consequence-result b {
    color: #fff;
    font-size: clamp(21px, 1.8vw, 29px);
    line-height: 1.2;
}

.version-two .consequence-result span {
    color: #ff9aaa;
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 750;
    line-height: 1.35;
}

/* Keep supporting copy readable without flattening the display hierarchy. */
.version-two .hero-kicker,
.version-two .hero-scroll-cue,
.version-two .narrative-heading .section-label,
.version-two .figures-reveal-row p,
.version-two .archive-reveal,
.version-two .demon-filter-card em {
    font-size: 14px;
    line-height: 1.4;
}

.version-two .case-id,
.version-two .photo-album-head,
.version-two .tag,
.version-two .victim-group-title small,
.version-two .pill,
.version-two .map-tooltip-status,
.version-two .responsibility-role,
.version-two .portrait-credits {
    font-size: 13px;
    line-height: 1.35;
}

.version-two .region-line,
.version-two .victims-line,
.version-two .figure-card .figure-name,
.version-two .figure-card .figure-story,
.version-two .map-tooltip-name,
.version-two .map-empty,
.version-two .legend > span,
.version-two .consequence-section .human-stats span,
.version-two .route-step p,
.version-two .institution-row span,
.version-two .responsibility-card > p,
.version-two .responsibility-sources a,
.version-two .law-source-strip,
.version-two .site-footer {
    font-size: clamp(15px, 1vw, 17px);
    line-height: 1.5;
}

.version-two .figure-card .figure-region {
    font-size: 13px;
    line-height: 1.4;
}

.version-two .profile-silhouette::after,
.version-two .archive-placeholder-stamp {
    font-size: 13px;
}

/* A dossier portrait is evidence to inspect, not a tiny avatar. */
.version-two .profile-block {
    grid-template-columns: minmax(240px, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(20px, 2.2vw, 34px);
    align-items: end;
    padding-block: clamp(22px, 2.4vw, 34px);
}

.version-two .profile-photo-button {
    width: 100%;
    max-width: 390px;
    height: auto;
    aspect-ratio: 4 / 5;
    border-color: rgba(215, 38, 61, 0.44);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 18px 42px rgba(0, 0, 0, 0.36);
}

.version-two .profile-photo-button.context-photo {
    max-width: none;
    aspect-ratio: 16 / 10;
}

.version-two .photo-album {
    gap: 14px;
    padding-bottom: 18px;
}

.version-two .photo-album-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 108px));
    gap: 12px;
}

.version-two .photo-album-item {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

/* Timeline artwork is intentionally 1.5x the previous 92px presentation. */
.version-two .mini-event {
    grid-template-columns: 42px 138px minmax(0, 1fr);
    gap: 20px;
    min-height: 164px;
}

.version-two .mini-event-icon {
    width: 138px;
    height: 138px;
}

.version-two .mini-event-icon img {
    width: 129px;
    height: 129px;
}

.version-two .mini-event-step {
    font-size: 16px;
}

.version-two .mini-event-copy span {
    font-size: clamp(17px, 1.25vw, 20px);
    line-height: 1.48;
}

/* Victim cards: dossier-scale reading area and outcome ribbon. */
.version-two .victim-group {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
    gap: 14px;
}

.version-two .victim-card {
    min-height: 340px;
}

.version-two .victim-caption {
    gap: 6px;
    min-height: 100px;
    align-content: start;
    padding: 28px 14px 12px;
    overflow: visible;
}

.version-two .victim-caption strong,
.version-two .victim-caption .victim-card-title {
    display: block;
    font-size: clamp(21px, 1.75vw, 27px);
    line-height: 1.08;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    text-transform: none;
}

.version-two .victim-card-fact {
    display: block;
    color: #ffd791;
    font: 750 13px/1.3 var(--mono);
    letter-spacing: 0.025em;
    overflow-wrap: anywhere;
    text-transform: none;
}

.version-two .victim-tile > .victim-outcome-badge {
    --victim-ribbon-start: #030303;
    --victim-ribbon-mid: #181818;
    --victim-ribbon-end: #050505;
    --victim-ribbon-edge: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 24px;
    right: -38px;
    z-index: 2;
    display: inline-flex;
    width: 158px;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    pointer-events: none;
    color: #fff;
    border-block: 1px solid var(--victim-ribbon-edge);
    background: linear-gradient(90deg, var(--victim-ribbon-start), var(--victim-ribbon-mid) 50%, var(--victim-ribbon-end));
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.68),
        0 8px 18px rgba(0, 0, 0, 0.52);
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.055em;
    white-space: nowrap;
    text-transform: uppercase;
    transform: rotate(45deg);
    transform-origin: center;
}

.version-two .victim-card.survived .victim-outcome-badge {
    --victim-ribbon-start: #0c4b65;
    --victim-ribbon-mid: #2388ad;
    --victim-ribbon-end: #2388ad;
    --victim-ribbon-edge: rgba(98, 216, 255, 0.72);
    color: #effbff;
}

.version-two .victim-tooltip {
    gap: 10px;
    padding: 18px;
}

.version-two .victim-tooltip strong,
.version-two .victim-price-group .victim-tooltip strong {
    font-size: 19px;
    line-height: 1.3;
}

.version-two .victim-tooltip em {
    font-size: 13px;
    line-height: 1.35;
}

.version-two .victim-meta {
    gap: 7px;
}

.version-two .victim-meta span {
    min-height: 26px;
    padding: 5px 8px;
    font-size: 13px;
    line-height: 1.25;
}

.version-two .victim-tooltip small {
    font-size: 16px;
    line-height: 1.5;
}

.version-two .victim-price-group .victim-card {
    flex-basis: clamp(286px, 22vw, 360px);
    width: clamp(286px, 22vw, 360px);
    min-height: 410px;
}

.version-two .victim-price-group .victim-photo {
    aspect-ratio: 1 / 0.94;
}

/* Standard archive cards retain more copy without making it microscopic. */
.version-two .figure-card {
    min-height: 286px;
}

.version-two .figure-thumb {
    height: 246px;
}

/* Responsibility portraits: square generated lead image + square real-photo tabs. */
.version-two .responsibility-card {
    min-height: 0;
}

.version-two .responsibility-media {
    display: grid;
    min-width: 0;
    margin: 0;
}

.version-two .responsibility-portrait {
    width: calc(100% + 48px);
    height: auto;
    aspect-ratio: 1;
}

.version-two .responsibility-portrait img,
.version-two .responsibility-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: none;
    transform: none;
}

.version-two .responsibility-portrait .responsibility-main-image[data-image-kind="generated"],
.version-two .responsibility-portrait img[data-image-kind="generated"],
.version-two .responsibility-card:hover .responsibility-portrait .responsibility-main-image[data-image-kind="generated"],
.version-two .responsibility-card:hover .responsibility-portrait img[data-image-kind="generated"] {
    object-fit: contain;
    object-position: center;
    filter: none;
    transform: none;
}

.version-two .responsibility-card:hover .responsibility-main-image[data-image-kind="real"] {
    filter: none;
    transform: none;
}

.version-two .responsibility-image-badge {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    padding: 7px 10px;
    color: #ffe7ea;
    border: 1px solid rgba(255, 91, 112, 0.68);
    border-radius: 999px;
    background: rgba(49, 5, 13, 0.86);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 0 22px rgba(215, 38, 61, 0.28);
    backdrop-filter: blur(7px);
}

.version-two .responsibility-media[data-photo-kind="real"] .responsibility-image-badge {
    color: #e2f8ff;
    border-color: rgba(91, 207, 251, 0.68);
    background: rgba(5, 42, 58, 0.88);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.24);
}

.version-two .responsibility-photo-mode {
    display: block;
    margin: -8px 0 12px;
    color: rgba(242, 242, 242, 0.66);
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.version-two .responsibility-image-badge,
.version-two .route-index,
.version-two .victim-carousel-autoplay-icon {
    font-size: 13px;
}

.version-two .responsibility-photo-switcher {
    display: flex;
    gap: 9px;
    width: 100%;
    margin: -8px 0 18px;
    padding: 8px 2px 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.version-two .responsibility-photo-thumb {
    position: relative;
    flex: 0 0 64px;
    width: 64px;
    height: auto;
    aspect-ratio: 1;
    padding: 3px;
    overflow: hidden;
    border: 1px solid rgba(168, 173, 183, 0.32);
    border-radius: 5px;
    background: rgba(8, 10, 14, 0.84);
    scroll-snap-align: start;
}

.version-two .responsibility-photo-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 3px;
    filter: grayscale(0.38) contrast(1.08);
}

.version-two .responsibility-photo-thumb:hover,
.version-two .responsibility-photo-thumb:focus-visible,
.version-two .responsibility-photo-thumb.is-active,
.version-two .responsibility-photo-thumb[aria-pressed="true"] {
    border-color: #ff5b70;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(215, 38, 61, 0.18), 0 0 20px rgba(215, 38, 61, 0.24);
}

.version-two .responsibility-photo-thumb.is-active img,
.version-two .responsibility-photo-thumb[aria-pressed="true"] img {
    filter: none;
}

.version-two .responsibility-photo-credit {
    display: flex;
    min-height: 42px;
    gap: 8px;
    align-items: baseline;
    justify-content: space-between;
    margin: -8px 0 18px;
    padding: 10px 0 12px;
    color: rgba(242, 242, 242, 0.66);
    border-bottom: 1px solid rgba(168, 173, 183, 0.16);
    font-size: 13px;
    line-height: 1.4;
}

.version-two .responsibility-photo-credit a {
    flex: 0 0 auto;
    color: #ff5b72;
    font-weight: 750;
    text-underline-offset: 3px;
}

.version-two .responsibility-entity {
    margin: 8px 0 0 !important;
    color: #f0b04d !important;
    font-family: var(--mono);
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.version-two .responsibility-entity + p {
    margin-top: 12px;
}

/* Contact form uses the same red/blue archive language as the project. */
.version-two .contact-section {
    position: relative;
    overflow: hidden;
    border-color: rgba(215, 38, 61, 0.38);
    background:
        linear-gradient(90deg, rgba(56, 189, 248, 0.12), transparent 32%),
        radial-gradient(circle at 94% 8%, rgba(215, 38, 61, 0.24), transparent 34%),
        linear-gradient(135deg, rgba(8, 11, 16, 0.99), rgba(34, 6, 13, 0.96)),
        url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 74px rgba(171, 0, 0, 0.1),
        0 28px 84px rgba(0, 0, 0, 0.42);
}

.version-two .contact-section::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
        repeating-linear-gradient(135deg, transparent 0 17px, rgba(255, 255, 255, 0.018) 17px 18px),
        linear-gradient(90deg, #38bdf8, #d7263d 52%, transparent 84%) top left / 100% 3px no-repeat;
}

.version-two .contact-copy,
.version-two .contact-form {
    position: relative;
    z-index: 1;
}

.version-two .contact-privacy {
    color: rgba(242, 242, 242, 0.76);
    font-size: 17px;
    line-height: 1.58;
}

.version-two .contact-form {
    gap: 20px;
    border-color: rgba(255, 91, 112, 0.42);
    border-radius: 9px;
    background:
        radial-gradient(circle at 100% 0, rgba(215, 38, 61, 0.13), transparent 34%),
        linear-gradient(150deg, rgba(13, 16, 22, 0.96), rgba(6, 8, 12, 0.94));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 56px rgba(171, 0, 0, 0.08),
        0 22px 54px rgba(0, 0, 0, 0.4);
}

.version-two .contact-field {
    gap: 10px;
    color: rgba(242, 242, 242, 0.86);
    font-size: 14px;
    line-height: 1.35;
    letter-spacing: 0.055em;
}

.version-two .contact-field > span {
    display: flex;
    gap: 8px;
    align-items: center;
}

.version-two .contact-field > span::before {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    content: "";
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 12px rgba(215, 38, 61, 0.72);
}

.version-two .contact-field input,
.version-two .contact-field textarea {
    color: #fffafa;
    border-color: rgba(168, 173, 183, 0.4);
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(19, 23, 31, 0.98), rgba(10, 12, 17, 0.98));
    font: 500 18px/1.55 var(--sans);
    caret-color: #ff5d73;
    box-shadow: inset 0 1px 12px rgba(0, 0, 0, 0.32);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.version-two .contact-field input {
    min-height: 60px;
    padding: 14px 16px;
}

.version-two .contact-field textarea {
    min-height: 220px;
    padding: 16px;
}

.version-two .contact-field input:hover,
.version-two .contact-field textarea:hover {
    border-color: rgba(242, 242, 242, 0.52);
}

.version-two .contact-field input:focus,
.version-two .contact-field textarea:focus {
    border-color: rgba(84, 204, 251, 0.92);
    background: linear-gradient(180deg, rgba(18, 26, 36, 0.99), rgba(9, 13, 19, 0.99));
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.14),
        0 0 24px rgba(56, 189, 248, 0.12),
        inset 0 1px 12px rgba(0, 0, 0, 0.28);
}

.version-two .contact-submit-row {
    min-height: 66px;
}

.version-two .contact-submit {
    min-height: 62px;
    padding: 14px 26px;
    gap: 12px;
    color: #fff;
    border-color: rgba(255, 105, 124, 0.84);
    border-radius: 6px;
    background:
        radial-gradient(circle at 20% 0, rgba(255, 132, 145, 0.2), transparent 38%),
        linear-gradient(135deg, #c51938, #71091c);
    font-family: var(--sans);
    font-size: 16px;
    letter-spacing: 0.035em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 28px rgba(215, 38, 61, 0.26),
        0 14px 30px rgba(0, 0, 0, 0.34);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.version-two .contact-submit::after {
    content: "\2192";
    margin-left: 10px;
    font-size: 20px;
    line-height: 1;
}

.version-two .contact-submit:hover,
.version-two .contact-submit:focus-visible {
    border-color: #ff8293;
    background:
        radial-gradient(circle at 20% 0, rgba(255, 174, 184, 0.24), transparent 38%),
        linear-gradient(135deg, #e02445, #8d0b24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 40px rgba(215, 38, 61, 0.42),
        0 17px 34px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.version-two .contact-submit:focus-visible {
    outline: 2px solid rgba(118, 218, 255, 0.92);
    outline-offset: 4px;
}

.version-two .contact-submit:active {
    transform: translateY(0);
}

.version-two .contact-submit:disabled {
    transform: none;
    box-shadow: none;
}

.version-two .contact-status {
    font-size: 16px;
    line-height: 1.5;
}

.version-two .victim-carousel-autoplay,
.version-two .scales-label span,
.version-two .photo-meta-list dt {
    font-size: 13px;
    line-height: 1.35;
}

.version-two .photo-info,
.version-two .photo-meta,
.version-two .photo-meta-list dd,
.version-two .mini-event-empty {
    font-size: 15px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .version-two .consequence-route {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .version-two .consequence-route > span {
        grid-template-columns: 110px minmax(0, 1fr);
        min-height: 132px;
        place-items: center start;
        padding: 12px 18px;
        text-align: left;
    }

    .version-two .consequence-route > i {
        justify-self: center;
        transform: rotate(90deg);
    }

    .version-two .profile-block {
        grid-template-columns: minmax(210px, 0.72fr) minmax(0, 1.28fr);
    }

    .version-two .responsibility-photo-thumb {
        flex-basis: 70px;
        width: 70px;
    }
}

@media (max-width: 720px) {
    .version-two .hero-kicker,
    .version-two .hero-scroll-cue,
    .version-two .narrative-heading .section-label,
    .version-two .figures-reveal-row p,
    .version-two .archive-reveal,
    .version-two .demon-filter-card em {
        font-size: 13px;
    }

    .version-two .profile-block,
    .version-two .profile-block.context-photo {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .version-two .profile-photo-button {
        justify-self: center;
        max-width: min(100%, 430px);
    }

    .version-two .mini-event {
        grid-template-columns: 32px 102px minmax(0, 1fr);
        gap: 12px;
        min-height: 130px;
    }

    .version-two .mini-event-icon {
        width: 102px;
        height: 102px;
    }

    .version-two .mini-event-icon img {
        width: 99px;
        height: 99px;
    }

    .version-two .victim-price-group .victim-card {
        flex-basis: min(286px, 78vw);
        width: min(286px, 78vw);
        min-height: 400px;
    }

    .version-two .figure-card {
        min-height: 304px;
    }

    .version-two .figure-thumb {
        height: 250px;
    }

    .version-two .responsibility-portrait {
        height: auto;
    }

    .version-two .contact-form {
        gap: 18px;
        padding: 22px 18px;
    }

    .version-two .contact-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 460px) {
    .version-two .consequence-route > span {
        grid-template-columns: 88px minmax(0, 1fr);
        min-height: 116px;
        padding: 10px 12px;
    }

    .version-two .consequence-route img {
        width: 82px;
        height: 82px;
    }

    .version-two .mini-event {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 13px 10px;
    }

    .version-two .mini-event-step {
        grid-row: 1 / 3;
        align-self: center;
    }

    .version-two .mini-event-icon {
        grid-column: 2;
        width: 102px;
        height: 102px;
    }

    .version-two .mini-event-icon img {
        width: 99px;
        height: 99px;
    }

    .version-two .mini-event-copy {
        grid-column: 2;
    }

    .version-two .victim-group {
        grid-template-columns: 1fr;
    }
}

/* Final cascade for the October V2 layout pass. */
.version-two .victim-carousel-stacks {
    --victim-card-gap: 14px;
    display: grid;
    gap: var(--victim-card-gap);
    padding-inline: 0;
}

.version-two .victim-carousel-stacks .victim-marquee {
    margin: 0;
    border-radius: 2px;
}

.version-two .victim-carousel-stacks .victim-marquee:nth-child(2) {
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(4, 15, 21, 0.66);
}

.version-two .victim-carousel-stacks .victim-price-track,
.version-two .victim-carousel-stacks .victim-marquee.is-ready .victim-price-track {
    padding: var(--victim-card-gap) 0;
}

.version-two .victim-carousel-stacks .victim-price-group {
    gap: var(--victim-card-gap);
    align-items: stretch;
    padding-right: var(--victim-card-gap);
}

.version-two .victim-carousel-stacks .victim-price-group .victim-card {
    flex-basis: clamp(210px, 18vw, 250px);
    width: clamp(210px, 18vw, 250px);
    min-height: 340px;
    border-radius: 7px;
}

.version-two .victim-carousel-stacks .victim-price-group .victim-photo {
    aspect-ratio: 1;
}

.version-two .victim-carousel-stacks .victim-caption {
    min-height: 100px;
}

.version-two .consequence-section .human-stats article {
    grid-template-rows: auto auto auto minmax(112px, auto);
    min-height: 372px;
    align-content: start;
    padding: 24px 18px 18px;
}

.version-two .safety-warning p.safety-warning-future {
    display: grid;
    gap: 7px;
    margin: 24px 0 0;
    padding: 18px 20px;
    color: inherit;
    border-left: 5px solid #ff3856;
    background: rgba(126, 6, 26, 0.42);
}

.version-two .map-panel > .map-section-head {
    width: 100%;
    margin-inline: 0;
    justify-items: start;
    align-items: start;
    text-align: left;
}

.version-two .map-section-head > .section-label {
    justify-self: start;
    width: auto;
    text-align: left;
}

.version-two .contact-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: center;
    padding: clamp(38px, 6vw, 92px);
    overflow: hidden;
    border: 1px solid rgba(126, 90, 62, 0.55);
    border-left: 6px solid var(--red);
    border-radius: 0;
    background: linear-gradient(105deg, rgba(7, 9, 12, 0.98), rgba(32, 7, 12, 0.94)), url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow: inset 0 0 76px rgba(0, 0, 0, 0.42), 0 28px 84px rgba(0, 0, 0, 0.42);
}

.version-two .contact-section::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    background: linear-gradient(90deg, var(--blue), var(--red) 42%, transparent 78%) top / 100% 3px no-repeat;
}

.version-two .contact-form {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: clamp(26px, 3vw, 42px);
    border: 1px solid rgba(77, 48, 29, 0.78);
    border-left: 6px solid #861326;
    border-radius: 2px;
    background: linear-gradient(rgba(226, 219, 205, 0.9), rgba(198, 187, 169, 0.92)), url("textures/dossier-paper-stained.webp") center / cover no-repeat;
    box-shadow: inset 0 0 38px rgba(53, 31, 20, 0.18), 8px 12px 0 rgba(0, 0, 0, 0.18), 0 28px 64px rgba(0, 0, 0, 0.38);
    counter-reset: contact-field;
}

.version-two .contact-field {
    gap: 9px;
    color: #2d211a;
    font: 800 14px/1.35 var(--mono);
    letter-spacing: 0.055em;
}

.version-two .contact-field > span::before {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #861326;
    content: "0" counter(contact-field);
    counter-increment: contact-field;
}

.version-two .contact-field input,
.version-two .contact-field textarea {
    color: #1d1612;
    border: 1px solid rgba(77, 48, 29, 0.62);
    border-bottom: 3px solid rgba(92, 17, 31, 0.82);
    border-radius: 1px;
    background: rgba(255, 253, 247, 0.7);
    font: 500 18px/1.55 var(--sans);
    caret-color: #8e1025;
    box-shadow: inset 0 1px 8px rgba(54, 38, 27, 0.14);
}

.version-two .contact-field input:hover,
.version-two .contact-field textarea:hover {
    color: #1d1612;
    border-color: #6a5142;
    background: rgba(255, 253, 247, 0.9);
}

.version-two .contact-field input:focus,
.version-two .contact-field textarea:focus {
    outline: 3px solid rgba(56, 189, 248, 0.48);
    outline-offset: 2px;
    color: #1d1612;
    border-color: #277e9f;
    background: #fffdf7;
    box-shadow: inset 0 1px 8px rgba(54, 38, 27, 0.12), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

.version-two .contact-field input:user-invalid,
.version-two .contact-field textarea:user-invalid {
    border-color: #9f1026;
    box-shadow: 0 0 0 2px rgba(159, 16, 38, 0.14);
}

.version-two .contact-submit-row {
    display: flex;
    grid-column: 1 / -1;
    gap: 18px;
    align-items: center;
}

.version-two .contact-submit {
    display: inline-flex;
    min-height: 62px;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    color: #fff;
    border: 2px solid #500711;
    border-radius: 1px;
    background: linear-gradient(#af1730, #780a1d);
    font: 800 15px/1.2 var(--mono);
    letter-spacing: 0.055em;
    text-shadow: 0 1px 0 #32030a;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 6px 7px 0 rgba(35, 0, 7, 0.28);
}

.version-two .contact-submit:hover {
    border-color: #500711;
    background: linear-gradient(#d32343, #8e0d25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 6px 9px 0 rgba(35, 0, 7, 0.32);
    transform: translateY(-2px);
}

.version-two .contact-submit:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.version-two .contact-submit:active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 3px 4px 0 rgba(35, 0, 7, 0.3);
    transform: translateY(1px);
}

.version-two .contact-submit:disabled {
    opacity: 0.56;
    filter: grayscale(0.35);
    box-shadow: 3px 4px 0 rgba(35, 0, 7, 0.2);
    transform: none;
}

.version-two .contact-status {
    margin: 0;
    padding-left: 12px;
    color: #3d2d24;
    border-left: 3px solid #6a5142;
    font: 650 14px/1.45 var(--mono);
}

.version-two .contact-status[data-state="pending"] { color: #77500c; }
.version-two .contact-status[data-state="success"] { color: #075b78; }
.version-two .contact-status[data-state="error"] { color: #8b1023; }

.version-two .site-footer {
    flex-direction: column;
    align-items: stretch;
}

.version-two .site-photo-credits {
    width: 100%;
    margin: 0;
    font-size: 14px;
}

@media (max-width: 1100px) {
    .version-two .contact-section { grid-template-columns: 1fr; }
    .version-two .contact-form { width: 100%; max-width: 820px; }
}

@media (max-width: 720px) {
    .version-two .victim-carousel-stacks { gap: var(--victim-card-gap); padding-inline: 0; }
    .version-two .victim-carousel-stacks .victim-price-group .victim-card {
        flex-basis: min(210px, 72vw);
        width: min(210px, 72vw);
        min-height: 340px;
    }
    .version-two .consequence-section .human-stats article { min-height: 350px; }
    .version-two .contact-section { gap: 28px; padding: 30px 18px; border-left-width: 4px; }
    .version-two .contact-form { grid-template-columns: 1fr; gap: 17px; padding: 24px 18px; border-left-width: 4px; }
    .version-two .contact-field,
    .version-two .contact-field-wide,
    .version-two .contact-submit-row { grid-column: 1; }
    .version-two .contact-submit-row { display: grid; grid-template-columns: 1fr; align-items: stretch; }
    .version-two .contact-submit { width: 100%; }
    .version-two .contact-field textarea { min-height: 190px; }
    .version-two .photo-credit-groups { grid-template-columns: 1fr; padding: 14px; }
}

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

/* V2 — compact cumulative threat charts. */
.version-two .consequence-section .human-stats {
    align-items: stretch;
    width: 100%;
    max-width: none;
}

.version-two .consequence-section .human-stats article {
    --stat-accent: #ff4561;
    --stat-accent-soft: rgba(255, 69, 97, 0.34);
    grid-template-rows: auto auto auto minmax(138px, auto);
    min-height: 484px;
    align-content: start;
    padding: 24px 18px 18px;
}

.version-two .consequence-section .human-stats article:nth-child(even) {
    --stat-accent: #65d4ff;
    --stat-accent-soft: rgba(101, 212, 255, 0.3);
}

.version-two .consequence-section .human-stats img {
    width: min(224px, 100%);
    height: 184px;
}

.version-two .consequence-section .stat-victim-cluster {
    position: relative;
    isolation: isolate;
    width: min(224px, 100%);
    height: 184px;
    justify-self: center;
    margin-bottom: 12px;
}

.version-two .consequence-section .stat-victim-cluster::before {
    position: absolute;
    inset: 18px 8px 4px;
    z-index: -1;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 212, 255, 0.22), transparent 68%);
    filter: blur(10px);
}

.version-two .consequence-section .stat-victim-cluster img {
    position: absolute;
    width: 94px;
    height: 94px;
    margin: 0;
    object-fit: cover;
    border: 1px solid rgba(101, 212, 255, 0.5);
    border-radius: 5px;
    background: #080a0e;
    box-shadow:
        0 0 0 3px rgba(4, 7, 11, 0.9),
        0 0 18px rgba(101, 212, 255, 0.2),
        0 14px 20px rgba(0, 0, 0, 0.58);
    filter: saturate(0.9) contrast(1.06);
}

.version-two .consequence-section .stat-victim-cluster img:nth-child(1) {
    top: 0;
    left: 14px;
    transform: rotate(-3deg);
}

.version-two .consequence-section .stat-victim-cluster img:nth-child(2) {
    top: 0;
    right: 14px;
    transform: rotate(3deg);
}

.version-two .consequence-section .stat-victim-cluster img:nth-child(3) {
    bottom: 0;
    left: 14px;
    z-index: 2;
    transform: rotate(2deg);
}

.version-two .consequence-section .stat-victim-cluster img:nth-child(4) {
    right: 14px;
    bottom: 0;
    z-index: 3;
    transform: rotate(-2deg);
}

.version-two .stat-cumulative {
    position: relative;
    align-self: end;
    width: 100%;
    min-width: 0;
    min-height: 138px;
    margin-top: 18px;
    padding-top: 12px;
    color: var(--stat-accent);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    outline: 0;
    touch-action: pan-y;
}

.version-two .stat-cumulative:focus-visible {
    border-top-color: var(--stat-accent);
    box-shadow: inset 0 2px 0 var(--stat-accent-soft);
}

.version-two .stat-cumulative-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.version-two .stat-cumulative-area,
.version-two .stat-cumulative-line {
    clip-path: inset(0 100% 0 0);
}

.version-two .stat-cumulative-area {
    opacity: 0.92;
}

.version-two .stat-cumulative-line {
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 6px var(--stat-accent-soft));
}

.version-two .stat-cumulative-guide {
    stroke: currentColor;
    stroke-dasharray: 2 5;
    stroke-width: 1;
    opacity: 0.38;
    vector-effect: non-scaling-stroke;
}

.version-two .stat-cumulative-zero {
    fill: currentColor;
    opacity: 0.8;
    filter: drop-shadow(0 0 5px var(--stat-accent-soft));
}

.version-two .stat-cumulative-zero-label {
    fill: rgba(242, 242, 242, 0.72);
    font: 800 13px/1 var(--mono);
}

.version-two .stat-cumulative-end {
    fill: currentColor;
    filter: drop-shadow(0 0 8px currentColor);
}

.version-two .stat-cumulative-marker {
    fill: #07090d;
    stroke: currentColor;
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 7px var(--stat-accent-soft));
    transition: cx 120ms ease, cy 120ms ease;
}

.version-two .stat-cumulative-year {
    fill: rgba(242, 242, 242, 0.5);
    font: 750 13px/1 var(--mono);
    letter-spacing: 0.04em;
}

.version-two .stat-cumulative-output {
    display: block;
    min-height: 20px;
    margin-top: -2px;
    color: rgba(242, 242, 242, 0.76);
    font: 750 13px/1.35 var(--mono);
    text-align: center;
}

.version-two .consequence-section.is-visible .stat-cumulative-area,
.version-two .consequence-section.is-visible .stat-cumulative-line {
    animation: stat-cumulative-reveal 1050ms cubic-bezier(0.2, 0.72, 0.22, 1) forwards !important;
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(2) .stat-cumulative-area,
.version-two .consequence-section.is-visible .human-stats article:nth-child(2) .stat-cumulative-line {
    animation-delay: 90ms;
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(3) .stat-cumulative-area,
.version-two .consequence-section.is-visible .human-stats article:nth-child(3) .stat-cumulative-line {
    animation-delay: 180ms;
}

.version-two .consequence-section.is-visible .human-stats article:nth-child(4) .stat-cumulative-area,
.version-two .consequence-section.is-visible .human-stats article:nth-child(4) .stat-cumulative-line {
    animation-delay: 270ms;
}

@keyframes stat-cumulative-reveal {
    to { clip-path: inset(0 0 0 0); }
}

@media (max-width: 900px) {
    .version-two .consequence-section .human-stats article {
        min-height: 370px;
    }
}

@media (max-width: 560px) {
    .version-two .consequence-section .human-stats {
        grid-template-columns: 1fr;
    }

    .version-two .consequence-section .human-stats article {
        min-height: 350px;
        padding: 20px 16px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .consequence-section.is-visible .stat-cumulative-area,
    .version-two .consequence-section.is-visible .stat-cumulative-line {
        clip-path: none;
        animation: none !important;
    }

    .version-two .stat-cumulative-marker {
        transition: none;
    }
}

/* V2 — unified responsibility cards with cutout portraits. */
.version-two .responsibility-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    column-gap: clamp(14px, 1.4vw, 20px);
    row-gap: clamp(92px, 7vw, 112px);
    align-items: stretch;
    margin-top: clamp(102px, 8vw, 132px);
}

.version-two .responsibility-card {
    --responsibility-shell-top: clamp(158px, 13vw, 182px);
    position: relative;
    z-index: 0;
    isolation: isolate;
    min-width: 0;
    min-height: 720px;
    padding: 0 18px 22px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.version-two .responsibility-card::before {
    position: absolute;
    z-index: 1;
    inset: var(--responsibility-shell-top) 0 0;
    content: "";
    border: 1px solid rgba(215, 38, 61, 0.42);
    border-top: 4px solid rgba(255, 64, 91, 0.88);
    border-radius: 6px;
    background:
        radial-gradient(circle at 82% 8%, rgba(215, 38, 61, 0.18), transparent 36%),
        linear-gradient(155deg, rgba(38, 8, 14, 0.98), rgba(7, 8, 12, 0.99));
    box-shadow:
        inset 0 0 44px rgba(215, 38, 61, 0.055),
        0 22px 50px rgba(0, 0, 0, 0.36);
    transition: border-color 220ms ease, box-shadow 260ms ease;
}

.version-two .responsibility-card:hover,
.version-two .responsibility-card:focus-within {
    transform: translateY(-6px);
}

.version-two .responsibility-card:hover::before,
.version-two .responsibility-card:focus-within::before {
    border-color: rgba(255, 91, 112, 0.72);
    border-top-color: #ff405b;
    box-shadow:
        inset 0 0 48px rgba(215, 38, 61, 0.09),
        0 28px 58px rgba(0, 0, 0, 0.44),
        0 0 30px rgba(215, 38, 61, 0.12);
}

.version-two .responsibility-media {
    position: relative;
    z-index: auto;
    display: grid;
    min-width: 0;
    margin: 0;
}

.version-two .responsibility-portrait {
    position: relative;
    z-index: 0;
    width: calc(100% + 36px);
    height: clamp(218px, 18vw, 242px);
    aspect-ratio: auto;
    margin: 0 -18px;
    overflow: visible;
    border: 0;
    background: transparent;
}

.version-two .responsibility-card > :not(.responsibility-media) {
    position: relative;
    z-index: 2;
}

.version-two .responsibility-media[data-photo-kind="generated"] .responsibility-portrait::after {
    display: none;
}

.version-two .responsibility-portrait .responsibility-main-image[data-image-kind="generated"],
.version-two .responsibility-card:hover .responsibility-portrait .responsibility-main-image[data-image-kind="generated"] {
    position: absolute;
    left: 50%;
    bottom: -38px;
    width: 118%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: center bottom !important;
    filter:
        drop-shadow(0 18px 20px rgba(0, 0, 0, 0.66))
        drop-shadow(0 0 14px rgba(215, 38, 61, 0.2));
    transform: translateX(-50%) !important;
    transform-origin: center bottom;
    transition: filter 220ms ease;
}

.version-two .responsibility-card-primary .responsibility-main-image[data-image-kind="generated"] {
    aspect-ratio: 1;
}

.version-two .responsibility-card:hover .responsibility-portrait .responsibility-main-image[data-image-kind="generated"] {
    filter:
        drop-shadow(0 18px 20px rgba(0, 0, 0, 0.66))
        drop-shadow(0 0 14px rgba(215, 38, 61, 0.2));
    transform: translateX(-50%) !important;
}

.version-two .responsibility-media[data-photo-kind="real"] .responsibility-portrait {
    z-index: 2;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 91, 112, 0.34);
    background: #090b0f;
}

.version-two .responsibility-media[data-photo-kind="real"] .responsibility-portrait::after {
    display: block;
    background: linear-gradient(180deg, transparent 58%, rgba(7, 8, 11, 0.72));
    box-shadow: inset 0 -22px 30px rgba(0, 0, 0, 0.36);
}

.version-two .responsibility-media[data-photo-kind="real"] .responsibility-main-image,
.version-two .responsibility-card:hover .responsibility-media[data-photo-kind="real"] .responsibility-main-image {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
    transform: none !important;
}

.version-two .responsibility-photo-switcher {
    position: relative;
    z-index: 3;
    gap: 7px;
    margin: 0 0 15px;
    padding: 8px 0 10px;
}

.version-two .responsibility-photo-thumb {
    flex-basis: 50px;
    width: 50px;
}

.version-two .responsibility-role {
    display: flex;
    min-height: 3.2em;
    align-items: flex-end;
    color: #ff8797;
    font-size: 13px;
    line-height: 1.35;
}

.version-two .responsibility-card h3 {
    min-height: 2.02em;
    margin: 12px 0 0;
    color: #fff;
    font-size: clamp(29px, 2.2vw, 36px);
    font-weight: 720;
    line-height: 0.96;
    letter-spacing: -0.015em;
}

.version-two .responsibility-card h3 span {
    display: block;
}

.version-two .responsibility-card > p:not(.responsibility-entity) {
    margin: 16px 0 22px;
    color: rgba(242, 242, 242, 0.78);
    font-size: 16px;
    line-height: 1.52;
}

.version-two .responsibility-entity {
    min-height: 1.35em;
    margin-top: 12px !important;
}

.version-two .responsibility-sources {
    margin-top: auto;
}

@media (min-width: 1081px) {
    .version-two .responsibility-card:nth-last-child(2):nth-child(4n + 1) {
        grid-column: 2;
    }
}

@media (max-width: 1080px) {
    .version-two .responsibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: clamp(110px, 12vw, 150px);
    }

    .version-two .responsibility-card {
        --responsibility-shell-top: clamp(176px, 21vw, 226px);
        min-height: 760px;
    }

    .version-two .responsibility-portrait {
        height: clamp(236px, 28vw, 292px);
    }

    .version-two .responsibility-photo-thumb {
        flex-basis: 58px;
        width: 58px;
    }
}

@media (max-width: 720px) {
    .version-two .responsibility-grid {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: auto;
        gap: clamp(122px, 20vw, 146px) 0;
        margin-top: clamp(232px, 64vw, 280px);
    }

    .version-two .responsibility-card {
        --responsibility-shell-top: clamp(172px, 50vw, 222px);
        min-height: 0;
        padding-inline: 18px;
    }

    .version-two .responsibility-portrait {
        width: calc(100% + 36px);
        height: clamp(226px, 67vw, 292px);
        margin-inline: -18px;
    }

    .version-two .responsibility-role {
        min-height: 0;
        font-size: 12px;
    }

    .version-two .responsibility-card h3 {
        min-height: 0;
        font-size: clamp(36px, 12vw, 48px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .responsibility-card,
    .version-two .responsibility-card::before {
        transition: none;
    }
}

/* V2 — attach the demon-type controls directly to the map. */
.version-two .demon-filter-shell {
    padding-bottom: 0;
}

.version-two .demon-filter-shell + .map-panel {
    position: relative;
    z-index: 3;
    margin-top: calc(-1 * var(--block-gap));
}

/* V2 — one outer gap, inset and radius rhythm for narrative sections. */
.version-two {
    --section-pad-inline: clamp(30px, 4vw, 64px);
    --section-pad-block: clamp(34px, 4vw, 64px);
    --section-radius: var(--radius);
    --dossier-shell-pad: clamp(6px, 1.5vw, 30px);
}

/* Standalone chapter titles separate the three major narrative acts. */
.version-two .chapter-heading {
    position: relative;
    isolation: isolate;
    grid-column: 1 / -1;
    display: grid;
    min-width: 0;
    min-height: clamp(120px, 14vw, 230px);
    place-items: center;
    margin: 0;
    padding-block: clamp(28px, 5vw, 78px);
    padding-inline: var(--section-pad-inline);
    text-align: center;
    scroll-margin-top: 28px;
}

.version-two .chapter-heading::before {
    position: absolute;
    inset-block: 10%;
    inset-inline: 4%;
    z-index: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(215, 38, 61, 0.16), transparent 70%);
}

.version-two .chapter-heading > span {
    position: relative;
    z-index: 1;
    display: block;
    max-inline-size: min(15ch, 100%);
    color: #f0445c;
    background: none;
    font-family: var(--condensed);
    font-size: clamp(46px, 7vw, 108px);
    font-weight: 700;
    line-height: 0.96;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    text-wrap: balance;
    -webkit-text-fill-color: currentColor;
    -webkit-text-stroke: 0;
    text-shadow:
        0 8px 24px rgba(0, 0, 0, 0.58),
        0 0 24px rgba(215, 38, 61, 0.3);
}

[dir="rtl"] .version-two .chapter-heading > span {
    font-family: var(--sans);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    -webkit-text-stroke: 0;
}

.version-two :is(
    .map-panel,
    .consequence-section,
    .mechanism-section,
    .accountability-section,
    .figures-section,
    .contact-section
) {
    padding-block: var(--section-pad-block);
    padding-inline: var(--section-pad-inline);
    border-radius: var(--section-radius);
}

/* Keep the principal heading inside the price section as clear as every other section title. */
.version-two .consequence-section #human-cost-title {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.version-two .author-section > .author-copy {
    padding-block: var(--section-pad-block);
    padding-inline: var(--section-pad-inline);
}

/* The dossier is a two-layer folder; both layers add up to the common inset. */
.version-two .dossier-panel {
    padding: var(--dossier-shell-pad);
    border-radius: var(--section-radius);
}

.version-two .dossier-page {
    padding-block: calc(var(--section-pad-block) - var(--dossier-shell-pad));
    padding-inline: calc(var(--section-pad-inline) - var(--dossier-shell-pad));
}

/* Author and contact form read as one joined composition. */
.version-two .author-section {
    border-bottom: 0;
    border-radius: var(--section-radius) var(--section-radius) 0 0;
}

.version-two .author-section + .contact-section {
    margin-top: calc(-1 * var(--block-gap));
}

@media (max-width: 720px) {
    .version-two {
        --section-pad-inline: 18px;
        --section-pad-block: 26px;
        --dossier-shell-pad: 6px;
    }

    .version-two .chapter-heading {
        min-height: 112px;
        padding-block: 28px;
        scroll-margin-top: 112px;
    }

    .version-two .chapter-heading > span {
        max-inline-size: 100%;
        font-size: clamp(34px, 11vw, 52px);
        line-height: 0.96;
    }

    .version-two :is(.consequence-section, .accountability-section, .author-section) {
        scroll-margin-top: 112px;
    }
}

/* --------------------------------------------------------------------------
   V2 — contact: one dark horror scene, not a detached office form
   -------------------------------------------------------------------------- */

.version-two .contact-section {
    --contact-red: #f01b3d;
    --contact-red-dark: #69000f;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(560px, 1.28fr);
    gap: clamp(38px, 5vw, 80px);
    align-items: center;
    min-height: clamp(620px, 46vw, 740px);
    padding-block: var(--section-pad-block);
    padding-inline: var(--section-pad-inline);
    overflow: hidden;
    border: 1px solid rgba(255, 54, 84, 0.48);
    border-top: 3px solid rgba(255, 44, 74, 0.92);
    border-radius: 0 0 var(--section-radius) var(--section-radius);
    background:
        radial-gradient(ellipse at 76% 48%, rgba(215, 38, 61, 0.34), transparent 39%),
        radial-gradient(ellipse at 18% 96%, rgba(126, 0, 18, 0.3), transparent 42%),
        linear-gradient(100deg, rgba(2, 4, 7, 0.97) 0 30%, rgba(19, 0, 6, 0.82) 58%, rgba(3, 4, 7, 0.95) 100%),
        url("textures/hero-title-red-grime-v2.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 96px rgba(0, 0, 0, 0.74),
        inset 0 -54px 100px rgba(84, 0, 12, 0.28),
        0 30px 90px rgba(0, 0, 0, 0.52);
}

.version-two .contact-section::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        linear-gradient(90deg, transparent, rgba(255, 51, 80, 0.86) 34% 68%, transparent) top / 100% 2px no-repeat,
        linear-gradient(90deg, transparent, rgba(171, 0, 0, 0.44) 20% 80%, transparent) bottom / 100% 2px no-repeat,
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 13px),
        repeating-linear-gradient(0deg, transparent 0 10px, rgba(215, 38, 61, 0.025) 10px 11px);
    box-shadow: inset 0 0 52px rgba(215, 38, 61, 0.1);
    opacity: 0.92;
}

.version-two .contact-section::after {
    position: absolute;
    right: -7%;
    bottom: -7%;
    left: -7%;
    z-index: 1;
    height: 90%;
    pointer-events: none;
    content: "";
    background: url("effects/satan-hands-transparent.png") center bottom / 100% auto no-repeat;
    filter:
        saturate(1.16)
        contrast(1.08)
        drop-shadow(0 0 24px rgba(255, 24, 58, 0.34));
    opacity: 0.4;
    animation: contact-horror-breathe 6.4s ease-in-out infinite;
}

.version-two .contact-copy,
.version-two .contact-form {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.version-two .contact-copy {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: clamp(10px, 2vw, 28px) 0;
}

.version-two .contact-copy .narrative-heading {
    width: 100%;
    max-width: none;
}

.version-two .contact-copy .narrative-heading h2 {
    position: relative;
    max-width: 720px;
    color: #d10a28;
    background:
        radial-gradient(ellipse at 30% 12%, rgba(255, 200, 136, 0.66), transparent 30%),
        linear-gradient(180deg, #ff664f 0%, #e51135 52%, #820014 100%);
    background-clip: text;
    -webkit-background-clip: text;
    font-family: var(--horror);
    font-size: clamp(60px, 5vw, 92px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.025em;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px rgba(38, 0, 6, 0.82);
    text-shadow:
        0 2px 0 rgba(111, 0, 17, 0.92),
        0 6px 0 rgba(24, 0, 6, 0.7),
        0 16px 28px rgba(0, 0, 0, 0.72),
        0 0 34px rgba(240, 27, 61, 0.5);
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}

.version-two .contact-copy .section-label {
    color: #63d2ff;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.42);
}

.version-two .contact-privacy {
    position: relative;
    max-width: 610px;
    margin: clamp(28px, 3vw, 46px) 0 0;
    padding: 20px 22px 20px 26px;
    color: rgba(255, 245, 246, 0.87);
    border: 1px solid rgba(255, 70, 96, 0.28);
    border-left: 5px solid var(--contact-red);
    background:
        linear-gradient(90deg, rgba(116, 0, 18, 0.44), rgba(3, 5, 8, 0.76));
    font-size: clamp(16px, 1.2vw, 18px);
    font-weight: 650;
    line-height: 1.58;
    box-shadow:
        inset 0 0 28px rgba(215, 38, 61, 0.08),
        0 14px 32px rgba(0, 0, 0, 0.34);
}

.version-two .contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 1.5vw, 24px);
    padding: clamp(30px, 3vw, 48px);
    overflow: visible;
    border: 1px solid rgba(255, 74, 101, 0.64);
    border-top: 5px solid var(--contact-red);
    border-left: 1px solid rgba(255, 74, 101, 0.64);
    border-radius: 0;
    background:
        radial-gradient(circle at 88% 0, rgba(215, 38, 61, 0.26), transparent 35%),
        linear-gradient(145deg, rgba(12, 13, 17, 0.94), rgba(2, 3, 5, 0.98)),
        url("textures/panel-grime.webp") center / cover no-repeat;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        inset 0 0 68px rgba(171, 0, 0, 0.14),
        10px 12px 0 rgba(55, 0, 9, 0.54),
        0 0 64px rgba(215, 38, 61, 0.28),
        0 30px 64px rgba(0, 0, 0, 0.58);
    counter-reset: none;
}

.version-two .contact-form::before {
    position: absolute;
    top: -12px;
    right: 26px;
    left: 26px;
    z-index: 2;
    height: 7px;
    pointer-events: none;
    content: "";
    background: repeating-linear-gradient(90deg, #ff2c4b 0 38px, transparent 38px 52px);
    box-shadow: 0 0 22px rgba(255, 29, 63, 0.58);
}

.version-two .contact-form::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    content: "";
    background:
        url("textures/hero-title-drips-overlay.webp") 50% -30px / 150% 72% no-repeat,
        repeating-linear-gradient(135deg, transparent 0 26px, rgba(255, 255, 255, 0.018) 26px 27px);
    opacity: 0.11;
    mix-blend-mode: screen;
}

.version-two .contact-form > * {
    position: relative;
    z-index: 1;
}

.version-two .contact-field {
    display: grid;
    gap: 10px;
    color: rgba(255, 241, 243, 0.9);
    font: 800 14px/1.35 var(--mono);
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.version-two .contact-field > span {
    display: flex;
    gap: 10px;
    align-items: center;
}

.version-two .contact-field > span::before {
    width: 26px;
    height: 3px;
    flex: 0 0 auto;
    content: "";
    border: 0;
    border-radius: 0;
    background: var(--contact-red);
    box-shadow: 0 0 14px rgba(240, 27, 61, 0.76);
}

.version-two .contact-field-wide,
.version-two .contact-submit-row {
    grid-column: 1 / -1;
}

.version-two .contact-field input,
.version-two .contact-field textarea {
    width: 100%;
    color: #fff9fa;
    border: 1px solid rgba(255, 88, 111, 0.46);
    border-bottom: 3px solid rgba(240, 27, 61, 0.92);
    border-radius: 0;
    outline: 0;
    background: linear-gradient(180deg, rgba(9, 11, 15, 0.98), rgba(2, 3, 5, 0.99));
    font: 550 18px/1.55 var(--sans);
    caret-color: #ff3856;
    box-shadow:
        inset 0 2px 14px rgba(0, 0, 0, 0.72),
        inset 0 -10px 24px rgba(102, 0, 16, 0.08);
    transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.version-two .contact-field input {
    min-height: 62px;
    padding: 14px 16px;
}

.version-two .contact-field textarea {
    min-height: 230px;
    padding: 16px;
    resize: vertical;
}

.version-two .contact-field input:hover,
.version-two .contact-field textarea:hover {
    color: #fff;
    border-color: rgba(255, 129, 148, 0.82);
    background: linear-gradient(180deg, rgba(15, 14, 18, 0.99), rgba(4, 4, 7, 0.99));
}

.version-two .contact-field input:focus,
.version-two .contact-field textarea:focus {
    color: #fff;
    border-color: rgba(103, 213, 255, 0.96);
    background: linear-gradient(180deg, rgba(9, 18, 25, 0.99), rgba(3, 7, 11, 0.99));
    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.2),
        0 0 28px rgba(56, 189, 248, 0.18),
        inset 0 2px 14px rgba(0, 0, 0, 0.64);
}

.version-two .contact-field input:user-invalid,
.version-two .contact-field textarea:user-invalid {
    border-color: #ff3653;
    box-shadow:
        0 0 0 3px rgba(255, 54, 83, 0.16),
        0 0 24px rgba(215, 38, 61, 0.16);
}

.version-two .contact-trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.version-two .contact-submit-row {
    display: grid;
    grid-template-columns: minmax(260px, max-content) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
    min-height: 72px;
}

.version-two .contact-submit {
    display: inline-flex;
    min-height: 72px;
    align-items: center;
    justify-content: center;
    padding: 16px 30px;
    color: #fff;
    border: 1px solid #ff6178;
    border-bottom: 5px solid #54000d;
    border-radius: 0;
    background:
        radial-gradient(circle at 24% 0, rgba(255, 184, 190, 0.28), transparent 36%),
        linear-gradient(145deg, #ed2143 0%, #a2001b 55%, #5b000e 100%);
    font: 800 17px/1.2 var(--display);
    letter-spacing: 0.055em;
    text-shadow: 0 2px 0 rgba(55, 0, 8, 0.9);
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -12px 22px rgba(68, 0, 9, 0.34),
        7px 8px 0 rgba(42, 0, 7, 0.58),
        0 0 34px rgba(240, 27, 61, 0.36);
    transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.version-two .contact-submit::after {
    margin-left: 14px;
    content: "\2192";
    font-size: 24px;
    line-height: 1;
}

.version-two .contact-submit:hover,
.version-two .contact-submit:focus-visible {
    border-color: #ffc0c9;
    background:
        radial-gradient(circle at 24% 0, rgba(255, 220, 223, 0.34), transparent 36%),
        linear-gradient(145deg, #ff3858 0%, #c40022 55%, #700012 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.26),
        inset 0 -12px 22px rgba(68, 0, 9, 0.28),
        7px 10px 0 rgba(42, 0, 7, 0.62),
        0 0 52px rgba(240, 27, 61, 0.56);
    transform: translateY(-2px);
}

.version-two .contact-submit:focus-visible {
    outline: 3px solid #65d5ff;
    outline-offset: 4px;
}

.version-two .contact-submit:active {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -12px 22px rgba(68, 0, 9, 0.36),
        3px 4px 0 rgba(42, 0, 7, 0.58),
        0 0 30px rgba(240, 27, 61, 0.4);
    transform: translateY(2px);
}

.version-two .contact-submit:disabled {
    cursor: wait;
    opacity: 0.72;
    filter: saturate(0.7);
    box-shadow:
        inset 0 -10px 20px rgba(34, 0, 5, 0.36),
        4px 5px 0 rgba(31, 0, 5, 0.48);
    transform: none;
}

.version-two .contact-status {
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    margin: 0;
    padding: 12px 16px;
    color: rgba(255, 240, 242, 0.78);
    border: 1px solid rgba(255, 81, 106, 0.22);
    border-left: 4px solid rgba(255, 81, 106, 0.58);
    background: rgba(2, 3, 5, 0.7);
    font: 700 15px/1.45 var(--mono);
}

.version-two .contact-status:empty {
    display: none;
}

.version-two .contact-status[data-state="pending"] {
    color: #ffd07c;
    border-left-color: #f59e0b;
}

.version-two .contact-status[data-state="success"] {
    color: #9ce7ff;
    border-left-color: #38bdf8;
}

.version-two .contact-status[data-state="error"] {
    color: #ff9baa;
    border-left-color: #ff3653;
}

@keyframes contact-horror-breathe {
    0%, 100% {
        opacity: 0.34;
        filter:
            saturate(1.08)
            contrast(1.04)
            drop-shadow(0 0 18px rgba(255, 24, 58, 0.24));
    }

    50% {
        opacity: 0.46;
        filter:
            saturate(1.24)
            contrast(1.1)
            drop-shadow(0 0 34px rgba(255, 24, 58, 0.44));
    }
}

@media (max-width: 1100px) {
    .version-two .contact-section {
        grid-template-columns: 1fr;
        gap: clamp(34px, 6vw, 58px);
        min-height: 0;
    }

    .version-two .contact-copy {
        min-height: 0;
        padding-bottom: 0;
    }

    .version-two .contact-form {
        width: 100%;
        max-width: none;
    }

    .version-two .contact-section::after {
        right: -20%;
        left: -20%;
        height: 72%;
        opacity: 0.28;
    }
}

@media (max-width: 720px) {
    .version-two .contact-section {
        gap: 30px;
        padding-block: var(--section-pad-block);
        padding-inline: var(--section-pad-inline);
        border-top-width: 3px;
    }

    .version-two .contact-copy .narrative-heading h2 {
        font-size: clamp(52px, 16vw, 68px);
    }

    .version-two .contact-privacy {
        margin-top: 24px;
        padding: 17px 17px 17px 20px;
        font-size: 16px;
    }

    .version-two .contact-form {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 18px 24px;
        border-top-width: 4px;
    }

    .version-two .contact-field,
    .version-two .contact-field-wide,
    .version-two .contact-submit-row {
        grid-column: 1;
    }

    .version-two .contact-field textarea {
        min-height: 210px;
    }

    .version-two .contact-submit-row {
        grid-template-columns: 1fr;
    }

    .version-two .contact-submit {
        width: 100%;
        min-height: 68px;
        padding-inline: 20px;
        font-size: 16px;
    }

    .version-two .contact-section::after {
        right: -38%;
        bottom: -2%;
        left: -38%;
        height: 54%;
        background-size: auto 100%;
        opacity: 0.2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .contact-section::after {
        animation: none;
    }
}

/* V2 — Putin artwork and decorative layers must never enter native selection. */
.version-two :is(
    .demon-overlord,
    .demon-overlord *,
    .responsibility-card-primary .responsibility-media,
    .responsibility-card-primary .responsibility-media *,
    [aria-hidden="true"],
    [aria-hidden="true"] *
) {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.version-two :is(
    .demon-overlord img,
    .responsibility-card-primary .responsibility-media img,
    img[aria-hidden="true"],
    [aria-hidden="true"] img
) {
    -webkit-user-drag: none;
}

/* V2 — compact, continuously scrolling row for the people behind the mechanism. */
.version-two .responsibility-carousel {
    --responsibility-card-width: clamp(328px, 27.3vw, 364px);
    position: relative;
    z-index: 3;
    isolation: isolate;
    width: 100%;
    margin-top: clamp(8px, 1.4vw, 18px);
}

.version-two .responsibility-fire {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(255, 77, 18, 0.24), transparent 58%),
        linear-gradient(180deg, rgba(5, 6, 8, 0.98) 0%, rgba(13, 3, 5, 0.62) 42%, rgba(5, 6, 8, 0.9) 100%);
    pointer-events: none;
}

.version-two .responsibility-fire::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background:
        linear-gradient(180deg, rgba(5, 6, 8, 0.68) 0%, transparent 26%, rgba(5, 6, 8, 0.14) 64%, rgba(5, 6, 8, 0.48) 100%),
        linear-gradient(90deg, rgba(4, 5, 8, 0.72) 0%, transparent 14%, transparent 86%, rgba(4, 5, 8, 0.76) 100%);
    pointer-events: none;
}

.version-two .responsibility-fire canvas {
    position: absolute;
    right: 0;
    bottom: 50%;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 112%;
    opacity: 0.94;
    mix-blend-mode: screen;
}

.version-two .responsibility-marquee {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border-block: 1px solid rgba(215, 38, 61, 0.3);
    background: transparent;
    box-shadow:
        inset 0 0 86px rgba(0, 0, 0, 0.68),
        inset 0 -70px 94px rgba(0, 0, 0, 0.76),
        inset 0 1px 0 rgba(255, 91, 112, 0.12),
        0 0 42px rgba(192, 24, 10, 0.12),
        0 22px 60px rgba(0, 0, 0, 0.24);
    cursor: grab;
    scrollbar-width: none;
    touch-action: pan-y;
    overscroll-behavior-inline: contain;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent);
}

.version-two .responsibility-marquee::-webkit-scrollbar {
    display: none;
}

.version-two .responsibility-marquee:focus-visible {
    outline: 2px solid rgba(255, 91, 112, 0.9);
    outline-offset: 5px;
}

.version-two .responsibility-marquee.is-dragging {
    cursor: grabbing;
    user-select: none;
    -webkit-user-select: none;
}

.version-two .responsibility-track {
    display: flex;
    width: max-content;
    padding: clamp(270px, 22.6vw, 300px) 0 clamp(24px, 3vw, 36px);
}

.version-two .responsibility-carousel :is(img, .responsibility-photo-switcher) {
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.version-two .responsibility-carousel .responsibility-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: auto;
    width: max-content;
    margin: 0;
    padding: 0 0 0 16px;
    flex: 0 0 auto;
    gap: 16px;
    align-items: stretch;
}

.version-two .responsibility-carousel .responsibility-card,
.version-two .responsibility-carousel .responsibility-card:nth-last-child(2):nth-child(4n + 1) {
    grid-column: auto;
    width: var(--responsibility-card-width);
    min-height: 720px;
    flex: 0 0 var(--responsibility-card-width);
}

.version-two .responsibility-carousel .responsibility-media {
    padding-bottom: 50px;
}

.version-two .responsibility-carousel .responsibility-photo-switcher {
    position: absolute;
    right: 0;
    bottom: calc(100% - var(--responsibility-shell-top));
    left: 0;
    margin: 0;
    padding: 8px 0 0;
    background: linear-gradient(180deg, transparent 0, rgba(7, 8, 12, 0.62) 42%, rgba(7, 8, 12, 0.92) 100%);
}

@media (max-width: 720px) {
    .version-two .responsibility-carousel {
        --responsibility-card-width: min(372px, 101.4vw);
    }

    .version-two .responsibility-marquee {
        background-position: center, center, center, 56% 48%;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .version-two .responsibility-track {
        padding-top: clamp(270px, 74vw, 300px);
    }

    .version-two .responsibility-carousel .responsibility-grid {
        gap: 14px;
        padding-left: 14px;
    }

    .version-two .responsibility-carousel .responsibility-card,
    .version-two .responsibility-carousel .responsibility-card:nth-last-child(2):nth-child(4n + 1) {
        width: var(--responsibility-card-width);
        min-height: 700px;
        flex-basis: var(--responsibility-card-width);
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .responsibility-fire canvas {
        display: none;
    }

    .version-two .responsibility-fire {
        background:
            radial-gradient(ellipse at 50% 100%, rgba(255, 77, 18, 0.42), transparent 48%),
            radial-gradient(ellipse at 28% 100%, rgba(215, 38, 61, 0.24), transparent 34%),
            linear-gradient(180deg, #050608, rgba(45, 5, 8, 0.76) 66%, #050608);
    }

    .version-two .responsibility-marquee {
        scroll-snap-type: x mandatory;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .version-two .responsibility-carousel .responsibility-grid[aria-hidden="true"] {
        display: none;
    }

    .version-two .responsibility-carousel .responsibility-grid[data-responsibility-primary] {
        padding-right: 16px;
    }

    .version-two .responsibility-carousel .responsibility-card {
        scroll-snap-align: start;
    }
}

/* V2 — invariant responsibility gallery geometry.
   Generated and archive images share one stage. The thumbnail shelf starts
   exactly at the card shell; an archive photo ends on that same edge instead of
   entering the text block. Switching an image must never move the card or copy. */
.version-two .responsibility-carousel .responsibility-card {
    --responsibility-portrait-height: clamp(218px, 18vw, 242px);
    --responsibility-media-height: calc(var(--responsibility-shell-top) + var(--responsibility-switcher-height));
    --responsibility-switcher-height: 58px;
    transform: none;
}

.version-two .responsibility-carousel .responsibility-card:hover,
.version-two .responsibility-carousel .responsibility-card:focus-within {
    transform: none;
}

.version-two .responsibility-marquee {
    border-block: 0;
}

.version-two .responsibility-carousel .responsibility-media {
    position: relative;
    display: block;
    height: var(--responsibility-media-height);
    padding: 0;
    flex: 0 0 var(--responsibility-media-height);
}

.version-two .responsibility-carousel .responsibility-portrait {
    width: calc(100% + 36px);
    height: var(--responsibility-portrait-height);
    margin: 0 -18px;
}

.version-two .responsibility-carousel .responsibility-media[data-photo-kind="real"] .responsibility-portrait {
    position: absolute;
    z-index: 2;
    top: auto;
    right: -18px;
    bottom: var(--responsibility-switcher-height);
    left: -18px;
    width: auto;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 91, 112, 0.38);
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: #07080c;
    box-shadow: 0 -16px 38px rgba(0, 0, 0, 0.42);
}

.version-two .responsibility-carousel .responsibility-media[data-photo-kind="real"] .responsibility-portrait::after {
    display: block;
    background: linear-gradient(180deg, transparent 72%, rgba(7, 8, 12, 0.34));
    box-shadow: none;
}

.version-two .responsibility-carousel .responsibility-media[data-photo-kind="real"] .responsibility-main-image,
.version-two .responsibility-carousel .responsibility-card:hover .responsibility-media[data-photo-kind="real"] .responsibility-main-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
}

.version-two .responsibility-carousel .responsibility-photo-switcher {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: 100%;
    height: var(--responsibility-switcher-height);
    gap: 4px;
    margin: 0;
    padding: 7px 0;
    overflow: visible;
    border-block: 1px solid rgba(255, 91, 112, 0.28);
    background:
        linear-gradient(180deg, rgba(20, 8, 12, 0.98), rgba(5, 7, 10, 0.995)),
        #07080c;
    box-shadow:
        0 -10px 22px rgba(0, 0, 0, 0.38),
        0 9px 18px rgba(0, 0, 0, 0.34);
}

.version-two .responsibility-carousel .responsibility-photo-thumb {
    width: 100%;
    min-width: 0;
    height: 100%;
    flex: none;
    aspect-ratio: 1;
    padding: 2px;
}

.version-two .responsibility-carousel .responsibility-role {
    min-height: 2.7em;
    align-items: flex-start;
}

.version-two .responsibility-carousel .responsibility-card h3 {
    min-height: 2.02em;
    max-width: 100%;
    font-size: clamp(29px, 2.2vw, 36px);
}

.version-two .responsibility-carousel .responsibility-card h3 span {
    max-width: 100%;
}

@media (max-width: 1080px) {
    .version-two .responsibility-carousel .responsibility-card {
        --responsibility-portrait-height: clamp(236px, 28vw, 292px);
        --responsibility-media-height: calc(var(--responsibility-shell-top) + var(--responsibility-switcher-height));
        --responsibility-switcher-height: 62px;
    }
}

@media (max-width: 720px) {
    .version-two .responsibility-carousel {
        --responsibility-card-width: min(372px, calc(100vw - 28px));
    }

    .version-two .responsibility-carousel .responsibility-card {
        --responsibility-portrait-height: clamp(226px, 67vw, 292px);
        --responsibility-media-height: calc(var(--responsibility-shell-top) + var(--responsibility-switcher-height));
        --responsibility-switcher-height: 66px;
    }

    .version-two .responsibility-carousel .responsibility-role {
        min-height: 2.7em;
        font-size: 12px;
    }

    .version-two .responsibility-carousel .responsibility-card h3 {
        min-height: 2.02em;
        font-size: clamp(28px, 9vw, 39px);
    }
}

/* Dossier sources are intentionally compact until the reader asks for proof. */
.version-two .dossier-sources {
    padding: 0;
}

.version-two .dossier-sources-summary {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    padding: clamp(20px, 2.2vw, 30px);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background-color 180ms ease;
}

.version-two .dossier-sources-summary::-webkit-details-marker {
    display: none;
}

.version-two .dossier-sources-summary::marker {
    content: "";
}

.version-two .dossier-sources-summary:hover {
    background: rgba(215, 38, 61, 0.09);
}

.version-two .dossier-sources-summary:focus-visible {
    outline: 2px solid #8bdcff;
    outline-offset: -6px;
}

.version-two .dossier-sources-title {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff0f1;
    font-family: var(--condensed);
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 0 22px rgba(215, 38, 61, 0.28);
}

.version-two .dossier-sources-toggle-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #ff7083;
    border: 1px solid rgba(255, 91, 112, 0.58);
    border-radius: 50%;
    background: rgba(92, 9, 22, 0.48);
    font-family: var(--mono);
    font-size: 28px;
    font-weight: 500;
    line-height: 1;
    box-shadow:
        inset 0 0 14px rgba(215, 38, 61, 0.12),
        0 0 18px rgba(215, 38, 61, 0.12);
    transition: background-color 180ms ease, color 180ms ease;
}

.version-two .dossier-sources-toggle-mark::before {
    content: "+";
}

.version-two .dossier-sources[open] .dossier-sources-summary {
    border-bottom: 1px solid rgba(215, 38, 61, 0.25);
    background: rgba(215, 38, 61, 0.07);
}

.version-two .dossier-sources[open] .dossier-sources-toggle-mark {
    color: #fff0f1;
    background: rgba(150, 12, 34, 0.72);
}

.version-two .dossier-sources[open] .dossier-sources-toggle-mark::before {
    content: "−";
}

.version-two .dossier-sources .dossier-source-list {
    gap: 12px;
    margin: 0;
    padding: 20px clamp(20px, 2.2vw, 30px) clamp(20px, 2.2vw, 30px);
}

.version-two .dossier-sources[open] .dossier-source-list {
    animation: dossier-sources-reveal 220ms ease both;
}

@keyframes dossier-sources-reveal {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 720px) {
    .version-two .dossier-sources-summary {
        min-height: 78px;
        padding: 18px;
    }

    .version-two .dossier-sources-title {
        font-size: clamp(28px, 8vw, 36px);
    }

    .version-two .dossier-sources-toggle-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 25px;
    }

    .version-two .dossier-sources .dossier-source-list {
        padding: 16px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .version-two .dossier-sources-summary,
    .version-two .dossier-sources-toggle-mark {
        transition: none;
    }

    .version-two .dossier-sources[open] .dossier-source-list {
        animation: none;
    }
}

/* One visual language for every event in the dossier timeline. */
.version-two .mini-timeline .mini-event {
    border-color: rgba(215, 38, 61, 0.3);
    background:
        linear-gradient(100deg, rgba(28, 8, 13, 0.84), rgba(8, 10, 14, 0.74)),
        rgba(11, 12, 16, 0.82);
    box-shadow:
        inset 4px 0 0 rgba(215, 38, 61, 0.76),
        inset 0 0 28px rgba(215, 38, 61, 0.045);
}

/* Language switcher: paired with the fixed sound control. */
.version-two .language-corner {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    right: calc(max(28px, env(safe-area-inset-right)) + 106px);
    z-index: 60;
    display: grid;
    width: 96px;
    min-width: 0;
    height: 84px;
    place-items: center;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 16px;
    background:
        linear-gradient(115deg, rgba(215, 38, 61, 0.14), transparent 62%),
        rgba(23, 26, 33, 0.92);
    box-shadow:
        inset 0 0 18px rgba(0, 0, 0, 0.38),
        0 8px 24px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.version-two .language-corner:hover,
.version-two .language-corner:focus-within {
    border-color: rgba(255, 91, 112, 0.72);
    background:
        linear-gradient(115deg, rgba(215, 38, 61, 0.25), transparent 58%),
        rgba(23, 26, 33, 0.96);
    box-shadow:
        inset 0 0 22px rgba(215, 38, 61, 0.12),
        0 0 26px rgba(215, 38, 61, 0.18);
}

.version-two .language-select {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    border: 0;
    border-radius: inherit;
    outline: 0;
    background: transparent;
    appearance: none;
    cursor: pointer;
    font-size: 16px;
}

.version-two .language-select option {
    color: #f4ecee;
    background: #151015;
    font-family: sans-serif;
}

.version-two .language-code {
    position: relative;
    z-index: 1;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #ff7083;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    direction: ltr;
    pointer-events: none;
    text-shadow: 0 0 12px rgba(215, 38, 61, 0.48);
}

.version-two .language-globe {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 7px rgba(215, 38, 61, 0.28));
}

.version-two .language-code::after {
    width: 0;
    height: 0;
    content: "";
    border-top: 4px solid currentColor;
    border-right: 3px solid transparent;
    border-left: 3px solid transparent;
}

[dir="rtl"] .version-two .language-select {
    direction: rtl;
    text-align: right;
}

/* On narrow screens these controls belong to the opening composition instead
   of floating over every section heading while the reader scrolls. */
@media (max-width: 600px) {
    .version-two .sound-corner,
    .version-two .language-corner {
        position: absolute;
        top: max(10px, env(safe-area-inset-top));
    }

    .version-two .sound-corner {
        right: max(10px, env(safe-area-inset-right));
    }

    .version-two .language-corner {
        right: calc(max(10px, env(safe-area-inset-right)) + 106px);
    }
}

/* Major blocks enter once they reach the reading viewport. */
html.scroll-reveal-ready .version-two [data-scroll-reveal] {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition:
        opacity 620ms cubic-bezier(0.2, 0.72, 0.22, 1),
        transform 720ms cubic-bezier(0.16, 0.86, 0.22, 1);
}

html.scroll-reveal-ready .version-two [data-scroll-reveal="fade"] {
    transform: none;
}

html.scroll-reveal-ready .version-two [data-scroll-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce), print {
    html.scroll-reveal-ready .version-two [data-scroll-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Final responsive safeguards: keep every dense component usable from 320px
   phones through tablet, desktop and ultra-wide layouts. */
.version-two .demon-filter-card img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    align-self: center;
}

.version-two .narrative-heading,
.version-two .narrative-heading > p:not(.section-label) {
    text-align: start;
}

.version-two .narrative-heading > :is(h2, h3),
.version-two .consequence-section .narrative-heading > :is(h2, h3) {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.version-two .chapter-heading > span {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

/* A two-page dossier stops being a readable spread before a tablet reaches
   the phone breakpoint. Stack the pages while both still have useful width. */
@media (max-width: 900px) {
    .version-two .dossier-spread {
        grid-template-columns: minmax(0, 1fr);
    }

    .version-two .dossier-spread::before {
        display: none;
    }
}

/* The carousel card is measured against the padded section, not the browser
   edge. At tablet sizes it also retains the wider card rhythm requested for
   the portrait gallery. */
.version-two .responsibility-carousel {
    --responsibility-card-width: clamp(328px, 39vw, 430px);
}

.version-two .responsibility-carousel .responsibility-card {
    --responsibility-switcher-height: 62px;
}

@media (max-width: 1080px) {
    .version-two .responsibility-carousel {
        --responsibility-card-width: min(430px, calc(100vw - 58px));
    }
}

@media (max-width: 420px) {
    .version-two .responsibility-carousel .responsibility-card {
        --responsibility-switcher-height: 112px;
    }

    .version-two .responsibility-carousel .responsibility-photo-switcher {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(44px, 1fr));
        align-items: center;
        justify-items: center;
    }

    .version-two .responsibility-carousel .responsibility-photo-thumb {
        width: min(100%, 52px);
        height: auto;
        aspect-ratio: 1;
    }

    .version-two .figure-grid {
        grid-auto-rows: auto;
    }

    .version-two .figure-card {
        grid-template-columns: minmax(0, 1fr);
        height: auto;
        min-height: 0;
    }

    .version-two .figure-thumb {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 5;
    }

    .version-two .figure-card-body {
        grid-column: 1;
    }

    .version-two .figure-card :is(.figure-alias, .figure-name) {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }
}

/* In a short landscape viewport captions remain reachable without pushing the
   actual evidence image outside the modal. */
@media (orientation: landscape) and (max-height: 620px) {
    .version-two .photo-info {
        max-height: min(40dvh, 220px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 10px clamp(54px, 8vw, 72px) 12px;
        -webkit-overflow-scrolling: touch;
    }
}

@media (orientation: landscape) and (max-height: 620px) and (max-width: 720px) {
    .version-two .photo-meta-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Native touch scrolling is more reliable than the narrow decorative drag
   rail, which otherwise overlaps the last few pixels of mobile content. */
@media (max-width: 720px), (hover: none), (pointer: coarse) {
    .hell-scrollbar {
        display: none;
    }

    .version-two .leaflet-control-zoom a {
        width: 44px;
        height: 44px;
        line-height: 44px;
    }
}

/* Keep carousel math on the positive LTR scrollLeft axis. The inner tracks
   retain RTL order and typography for Arabic, Persian and Urdu. */
[dir="rtl"] .version-two :is(.victim-marquee, .responsibility-marquee) {
    direction: ltr;
}

[dir="rtl"] .version-two :is(.victim-price-track, .responsibility-track) {
    direction: rtl;
}

[dir="rtl"] .version-two .cost-sequence p {
    text-align: right;
}

@media (min-width: 1221px) {
    [dir="rtl"] .version-two .cost-sequence-connector::before {
        content: "\2190";
        transform: translate(-1px, -1px);
    }
}

@media (min-width: 1081px) {
    [dir="rtl"] .version-two .route-step::after {
        right: auto;
        left: -12px;
        transform: rotate(-135deg);
    }
}

[dir="rtl"] .version-two :is(
    .responsibility-role,
    .contact-field > span,
    .contact-submit
) {
    font-family: var(--sans);
    letter-spacing: 0;
    text-transform: none;
}

[dir="rtl"] .version-two .contact-submit::after {
    margin-right: 14px;
    margin-left: 0;
    content: "\2190";
}

@media (prefers-reduced-motion: reduce) {
    [dir="rtl"] .version-two :is(.victim-marquee, .responsibility-marquee) {
        direction: rtl;
    }
}

/* Fixed chapter navigation: compact enough for the atlas, legible on touch,
   and independent from the removed legacy header navigation. */
.version-two {
    --bottom-nav-space: calc(76px + env(safe-area-inset-bottom));
}

.version-two .bottom-site-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 43;
    padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    pointer-events: none;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    transition: opacity 160ms ease, transform 180ms ease;
}

.version-two .bottom-site-nav::before {
    position: absolute;
    inset: -28px 0 0;
    z-index: -1;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(3, 4, 6, 0.78) 42%, rgba(3, 4, 6, 0.96));
    pointer-events: none;
}

.version-two .bottom-site-nav-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: min(100%, 1040px);
    min-height: 58px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(215, 38, 61, 0.48);
    border-radius: 14px;
    background:
        linear-gradient(110deg, rgba(215, 38, 61, 0.1), transparent 34%, rgba(215, 38, 61, 0.07)),
        rgba(8, 9, 12, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        inset 0 0 28px rgba(215, 38, 61, 0.06),
        0 -8px 34px rgba(0, 0, 0, 0.44),
        0 0 24px rgba(215, 38, 61, 0.1);
    backdrop-filter: blur(14px);
    pointer-events: auto;
}

.version-two .bottom-site-nav-link {
    position: relative;
    display: flex;
    gap: 9px;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #d6cfd1;
    border-inline-start: 1px solid rgba(215, 38, 61, 0.16);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.08;
    text-align: center;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.version-two .bottom-site-nav-link:first-child {
    border-inline-start: 0;
}

.version-two .bottom-site-nav-link::after {
    position: absolute;
    right: 12px;
    bottom: 5px;
    left: 12px;
    height: 2px;
    content: "";
    background: #ff425d;
    box-shadow: 0 0 12px rgba(255, 66, 93, 0.9);
    opacity: 0;
    transform: scaleX(0.24);
    transition: opacity 160ms ease, transform 180ms ease;
}

.version-two .bottom-site-nav-index {
    color: #ff7083;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    opacity: 0.76;
}

.version-two .bottom-site-nav-link:hover,
.version-two .bottom-site-nav-link:focus-visible,
.version-two .bottom-site-nav-link.is-active {
    color: #fff;
    background: rgba(215, 38, 61, 0.16);
    box-shadow: inset 0 0 24px rgba(215, 38, 61, 0.1);
}

.version-two .bottom-site-nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.version-two .bottom-site-nav-link:focus-visible {
    z-index: 1;
    outline: 2px solid #ff7083;
    outline-offset: -3px;
}

.version-two .site-footer {
    padding-bottom: calc(var(--panel-pad) * 12 + var(--bottom-nav-space));
}

.version-two .hell-scrollbar {
    bottom: calc(var(--bottom-nav-space) + 6px);
}

@media (max-width: 640px) {
    .version-two {
        --bottom-nav-space: calc(82px + env(safe-area-inset-bottom));
    }

    .version-two .bottom-site-nav {
        padding-right: max(6px, env(safe-area-inset-right));
        padding-left: max(6px, env(safe-area-inset-left));
        padding-top: 6px;
        padding-bottom: calc(6px + env(safe-area-inset-bottom));
    }

    .version-two .bottom-site-nav-rail {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        min-height: 68px;
        overflow: hidden;
    }

    .version-two .bottom-site-nav-link {
        min-height: 68px;
        gap: 3px;
        padding: 5px 3px 7px;
        flex-direction: column;
        font-family: "IBM Plex Sans Condensed", "Arial Narrow", Arial, sans-serif;
        font-size: 13px;
        letter-spacing: -0.01em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .version-two .bottom-site-nav-index {
        font-size: 9px;
    }

    .version-two .bottom-site-nav-link::after {
        right: 8px;
        left: 8px;
    }
}

@media (orientation: landscape) and (max-height: 560px) {
    .version-two {
        --bottom-nav-space: calc(66px + env(safe-area-inset-bottom));
    }

    .version-two .bottom-site-nav-rail,
    .version-two .bottom-site-nav-link {
        min-height: 48px;
    }

    .version-two .bottom-site-nav-index {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 560px) and (max-width: 640px) {
    .version-two {
        --bottom-nav-space: calc(62px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 720px), (max-height: 560px) and (pointer: coarse) {
    .version-two:has(.contact-form:focus-within) .bottom-site-nav {
        opacity: 0;
        transform: translateY(110%);
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .version-two .bottom-site-nav-link,
    .version-two .bottom-site-nav-link::after,
    .version-two .bottom-site-nav {
        scroll-behavior: auto;
        transition: none;
    }
}

@media print {
    .version-two .bottom-site-nav {
        display: none;
    }

    .version-two .site-footer {
        padding-bottom: calc(var(--panel-pad) * 12);
    }
}
