/* ============================================================
   ROOT VARIABLES & RESET
   ============================================================ */
:root {
    --paper: #f7f4ef;
    --paper-raised: #ffffff;
    --ink: #1a1a1e;
    --ink-soft: #4e4f54;
    --ink-faint: #8a898c;
    --ink-faint2: #6e6d70;

    --navy: #1f2552;
    --navy-deep: #13163a;
    --navy-soft: #3a4278;
    --navy-glow: rgba(31, 37, 82, 0.08);

    --crimson: #a6293d;
    --crimson-bg: #f8e9eb;
    --crimson-deep: #7a1e2c;
    --crimson-glow: rgba(166, 41, 61, 0.12);

    --emerald: #1f7a5c;
    --emerald-bg: #e7f3ee;
    --amber: #ad6e0b;
    --amber-bg: #fbf0dd;
    --sky: #2a5fa0;
    --violet: #6b4fa0;
    --teal: #1e7e7e;
    --gold: #b0860c;
    --gold-light: #f2c879;

    --line: #e2ded2;
    --line-soft: #edeae0;

    --radius: 6px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.10);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1,
h2,
h3,
h4,
.display {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--navy);
    margin: 0;
}
.mono {
    font-family: "IBM Plex Mono", monospace;
    letter-spacing: 0.01em;
}
a {
    color: var(--navy-soft);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--crimson);
}
img {
    max-width: 100%;
    display: block;
}
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: var(--navy-deep);
    color: #e9e7de;
    padding: 10px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--gold-light);
}
.topbar span {
    opacity: 0.8;
}
.topbar strong {
    color: var(--gold-light);
    opacity: 1;
}
@media (max-width: 600px) {
    .topbar {
        flex-direction: column;
        gap: 4px;
        padding: 8px 16px;
        font-size: 10px;
        text-align: center;
    }
}

/* ============================================================
   SHELL (sidebar + main grid)
   ============================================================ */
.shell {
    display: grid;
    grid-template-columns: 270px 1fr;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--paper);
}
@media (max-width: 960px) {
    .shell {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   SIDEBAR (Rail)
   ============================================================ */
.rail {
    border-right: 1px solid var(--line);
    padding: 36px 24px 40px;
    position: sticky;
    top: 52px;
    align-self: start;
    height: calc(100vh - 52px);
    overflow-y: auto;
    background: var(--paper);
    z-index: 10;
}
@media (max-width: 960px) {
    .rail {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--line);
        padding: 24px 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}
@media (max-width: 600px) {
    .rail {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.rail-tag {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--violet);
    border: 1.5px solid var(--violet);
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.rail-case {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    color: var(--ink);
    line-height: 1.8;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.rail-case dt {
    color: var(--ink-faint);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 12px;
}
.rail-case dt:first-of-type {
    margin-top: 0;
}
.rail-case dd {
    margin: 2px 0 0 0;
}
.status-pill {
    display: inline-block;
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    background: var(--crimson-bg);
    color: var(--crimson);
    border: 1.5px solid var(--crimson);
    border-radius: 2px;
    margin-top: 4px;
}

.rail nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.rail nav a {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--ink-soft);
    padding: 8px 0;
    border-bottom: 1px solid var(--line-soft);
    transition: color 0.2s, padding-left 0.2s;
    text-decoration: none;
}
.rail nav a:hover {
    color: var(--crimson);
    padding-left: 6px;
}

.rail-counter {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.rail-counter .num {
    font-family: "Fraunces", serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--crimson);
    line-height: 1;
}
.rail-counter .lbl {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
    margin-top: 6px;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .rail-tag {
        margin-bottom: 10px;
    }
    .rail-case {
        font-size: 12px;
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
    .rail nav {
        display: none;
    }
    .rail-counter {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
main {
    background: var(--paper);
    min-width: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    background: var(--navy-deep);
    background-image:
        radial-gradient(circle at 90% -20%, rgba(107, 79, 160, 0.30), transparent 60%),
        radial-gradient(circle at 10% 120%, rgba(176, 134, 12, 0.20), transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255, 255, 255, 0.012) 40px, rgba(255, 255, 255, 0.012) 41px);
    color: #f3f1e9;
    padding: 64px 48px 0;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--crimson), var(--gold-light), var(--violet));
}
@media (max-width: 960px) {
    .hero {
        padding: 44px 24px 0;
    }
}
@media (max-width: 600px) {
    .hero {
        padding: 32px 16px 0;
    }
}

.hero-inner {
    max-width: 720px;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 14px;
    opacity: 0.85;
}
.hero h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.06;
    color: #fbfaf6;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero h1 .highlight {
    color: var(--gold-light);
    border-bottom: 3px solid var(--crimson);
    padding-bottom: 2px;
}
.leadership-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: #d8d5e6;
    border: 1px solid rgba(216, 213, 230, 0.25);
    padding: 6px 14px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(4px);
}
.leadership-tag a {
    color: var(--gold-light);
    border-bottom: 1px dotted var(--gold-light);
    text-decoration: none;
}
.hero p.lede {
    font-size: 19px;
    color: #c9c6d6;
    margin-top: 22px;
    max-width: 60ch;
    line-height: 1.6;
}
.hero p.lede.sub {
    color: #9e9bb0;
    font-size: 15.5px;
    margin-top: 10px;
}

/* Live banner */
.live-banner {
    margin-top: 36px;
    background: linear-gradient(135deg, var(--crimson-deep), var(--crimson));
    padding: 28px 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    border-top: 4px solid var(--gold-light);
    border-radius: var(--radius) var(--radius) 0 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 -8px 32px rgba(166, 41, 61, 0.25);
}
@media (max-width: 600px) {
    .live-banner {
        padding: 20px 18px;
        gap: 16px;
    }
}
.live-banner .pulse {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffd9a0;
    box-shadow: 0 0 0 0 rgba(255, 217, 160, 0.6);
    animation: pulse 1.8s infinite;
    flex-shrink: 0;
}
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 217, 160, 0.55);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(255, 217, 160, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 217, 160, 0);
    }
}
.live-banner .num {
    font-family: "Fraunces", serif;
    font-weight: 900;
    font-size: clamp(28px, 4.5vw, 48px);
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    flex-shrink: 0;
    min-width: 200px;
}
.live-banner .txt {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    color: #fbe2e6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    max-width: 40ch;
    line-height: 1.7;
}
.live-banner .txt strong {
    color: #fff;
}

/* ============================================================
   FACT STRIP
   ============================================================ */
.factstrip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    margin: 0 48px;
    background: var(--paper-raised);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-sm);
}
@media (max-width: 960px) {
    .factstrip {
        margin: 0 24px;
    }
}
@media (max-width: 700px) {
    .factstrip {
        grid-template-columns: 1fr 1fr;
        margin: 0 16px;
    }
}
@media (max-width: 400px) {
    .factstrip {
        grid-template-columns: 1fr;
    }
}
.fact {
    padding: 22px 20px;
    border-right: 1px solid var(--line);
    text-decoration: none;
    display: block;
    transition: background 0.2s;
}
.fact:hover {
    background: var(--navy-glow);
}
.fact:nth-child(1) {
    border-top: 4px solid var(--crimson);
}
.fact:nth-child(2) {
    border-top: 4px solid var(--crimson);
}
.fact:nth-child(3) {
    border-top: 4px solid var(--sky);
}
.fact:nth-child(4) {
    border-top: 4px solid var(--amber);
}
.fact:last-child {
    border-right: none;
}
@media (max-width: 700px) {
    .fact:nth-child(2) {
        border-right: none;
    }
    .fact:nth-child(3) {
        border-top: 4px solid var(--crimson);
    }
    .fact:nth-child(4) {
        border-top: 4px solid var(--sky);
    }
}
@media (max-width: 400px) {
    .fact {
        border-right: none !important;
        border-top: 4px solid var(--crimson) !important;
    }
    .fact:nth-child(3) {
        border-top: 4px solid var(--sky) !important;
    }
    .fact:nth-child(4) {
        border-top: 4px solid var(--amber) !important;
    }
}
.fact .n {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.fact .l {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-faint);
    margin-top: 4px;
    line-height: 1.4;
}
.coin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    font-family: "IBM Plex Mono", monospace;
    flex-shrink: 0;
}
.warn-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--crimson);
    flex-shrink: 0;
}

/* ============================================================
   CONTENT PAD (shared spacing)
   ============================================================ */
.content-pad {
    padding: 0 48px 80px;
}
@media (max-width: 960px) {
    .content-pad {
        padding: 0 24px 60px;
    }
}
@media (max-width: 600px) {
    .content-pad {
        padding: 0 16px 48px;
    }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    margin-top: 60px;
    scroll-margin-top: 24px;
}
.section-head {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 2.5px solid var(--navy);
    padding-bottom: 12px;
}
.section-head .ex {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--crimson);
    font-weight: 600;
    letter-spacing: 0.04em;
    background: var(--crimson-bg);
    padding: 2px 10px;
    border-radius: 2px;
}
.section-head h2 {
    font-size: 25px;
    font-weight: 700;
}
.section-intro {
    color: var(--ink-soft);
    max-width: 72ch;
    margin-bottom: 24px;
    font-size: 16px;
}

/* ============================================================
   EXHIBIT CARDS
   ============================================================ */
.exhibit {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.25s, transform 0.2s;
}
.exhibit:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.exhibit-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.exhibit-date {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--ink-faint);
    font-weight: 500;
}
.exhibit h3 {
    font-size: 18.5px;
    margin-top: 4px;
    color: var(--ink);
    font-weight: 600;
}
.exhibit p {
    color: var(--ink-soft);
    margin: 12px 0 0;
    font-size: 15.5px;
    line-height: 1.65;
}
.exhibit .ref {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--ink-faint);
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
}
.stamp {
    font-family: "IBM Plex Mono", monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 12px;
    border: 1.5px solid;
    border-radius: 2px;
    white-space: nowrap;
    transform: rotate(-1deg);
    flex-shrink: 0;
}
.stamp.bad {
    color: var(--crimson);
    border-color: var(--crimson);
    background: var(--crimson-bg);
}
.stamp.good {
    color: var(--emerald);
    border-color: var(--emerald);
    background: var(--emerald-bg);
}
.stamp.pending {
    color: var(--amber);
    border-color: var(--amber);
    background: var(--amber-bg);
}
.exhibit .src {
    margin-top: 14px;
}
.exhibit .src a {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1.5px dotted var(--navy-soft);
    padding-bottom: 1px;
}
.cmf-header {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cmf-header img {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline {
    border-left: 2.5px solid var(--line);
    margin-left: 8px;
    padding-left: 30px;
    position: relative;
}
.tl-item {
    position: relative;
    padding-bottom: 28px;
}
.tl-item:last-child {
    padding-bottom: 0;
}
.tl-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--navy);
    border-radius: 50%;
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 2px var(--navy);
}
.tl-item.flag::before {
    background: var(--crimson);
    box-shadow: 0 0 0 2px var(--crimson);
}
.tl-item.win::before {
    background: var(--emerald);
    box-shadow: 0 0 0 2px var(--emerald);
}
.tl-date {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--crimson);
    font-weight: 600;
}
.tl-item.win .tl-date {
    color: var(--emerald);
}
.tl-title {
    font-weight: 600;
    color: var(--ink);
    margin-top: 2px;
    font-size: 16px;
}
.tl-body {
    color: var(--ink-soft);
    font-size: 15px;
    margin-top: 4px;
    line-height: 1.6;
}
.tl-body a {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
}

/* ============================================================
   ENTITY GRID
   ============================================================ */
.entity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 10px;
    overflow: hidden;
}
@media (max-width: 700px) {
    .entity-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 400px) {
    .entity-grid {
        grid-template-columns: 1fr;
    }
}
.entity {
    background: var(--paper-raised);
    padding: 12px 16px;
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    color: var(--ink-soft);
}
.entity strong {
    color: var(--ink);
}

/* ============================================================
   MEDIA ROWS
   ============================================================ */
.media-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-soft);
    gap: 16px;
    flex-wrap: wrap;
}
.media-row:last-child {
    border-bottom: none;
}
.media-outlet {
    font-weight: 600;
    color: var(--ink);
    font-size: 16px;
}
.media-outlet .badge {
    font-family: "IBM Plex Mono", monospace;
    font-size: 9.5px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold);
    padding: 1px 8px;
    margin-left: 8px;
    border-radius: 2px;
    font-weight: 500;
}
.media-desc {
    color: var(--ink-soft);
    font-size: 14.5px;
    margin-top: 2px;
    line-height: 1.5;
}
.media-date {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    color: var(--ink-faint);
    white-space: nowrap;
}
.media-link {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    text-decoration: none;
    border-bottom: 1.5px dotted var(--navy-soft);
    padding-bottom: 1px;
    font-weight: 500;
}

/* ============================================================
   NOTE BOX
   ============================================================ */
.note-box {
    background: #f0efe9;
    border-left: 4px solid var(--ink-faint);
    padding: 16px 20px;
    font-size: 14.5px;
    color: var(--ink-soft);
    margin-top: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    line-height: 1.65;
}
.note-box a {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
}
.note-box .note-link {
    display: inline-block;
    margin-top: 8px;
}

/* ============================================================
   LICENSES BOARD
   ============================================================ */
.juris-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}
@media (max-width: 800px) {
    .juris-board {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .juris-board {
        grid-template-columns: 1fr;
    }
}
.juris-tile {
    background: var(--paper-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    border-top: 5px solid var(--tile-color, var(--sky));
    padding: 18px 18px 16px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
}
.juris-tile:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.juris-tile .country {
    font-family: "Fraunces", serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
}
.juris-tile .entity-name {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11.5px;
    color: var(--ink-soft);
    margin-top: 4px;
}
.juris-tile .reg-detail {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin-top: 8px;
    line-height: 1.5;
}
.absent-callout {
    margin-top: 24px;
    padding: 22px 26px;
    background: var(--navy-deep);
    color: #f3f1e9;
    border-radius: var(--radius);
    border-left: 5px solid var(--crimson);
    position: relative;
}
.absent-callout .tag {
    font-family: "IBM Plex Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: inline-block;
    border: 1px solid var(--gold-light);
    padding: 2px 10px;
    border-radius: 2px;
}
.absent-callout p {
    margin: 0;
    color: #e4e1ec;
    font-size: 15.5px;
    line-height: 1.65;
}
.absent-callout p+p {
    margin-top: 12px;
}
.absent-callout a {
    color: var(--gold-light);
    border-bottom: 1px dotted var(--gold-light);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    border-top: 2.5px solid var(--navy);
    margin-top: 80px;
    padding: 36px 0 64px;
    max-width: 72ch;
}
footer h4 {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ink-faint);
    margin-bottom: 10px;
}
footer p {
    color: var(--ink-soft);
    font-size: 14px;
    margin: 0 0 14px;
    line-height: 1.7;
}
footer .contact {
    font-family: "IBM Plex Mono", monospace;
    font-size: 13px;
}
footer .mono {
    font-size: 12px;
    color: var(--ink-faint2);
    margin-top: 24px;
}

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--paper);
}
::-webkit-scrollbar-thumb {
    background: var(--line);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ink-faint);
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
    .topbar {
        position: static;
        background: #222;
        color: #eee;
        border-bottom: 2px solid #888;
    }
    .rail {
        position: static;
        height: auto;
        border-right: 1px solid #ccc;
    }
    .live-banner {
        background: #333 !important;
        color: #fff !important;
        border-top: 4px solid #888;
    }
    .live-banner .num {
        color: #fff !important;
    }
    .exhibit:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .juris-tile:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    .fact:hover {
        background: none !important;
    }
    .absent-callout {
        background: #222 !important;
        color: #eee !important;
    }
    .absent-callout p {
        color: #ddd !important;
    }
    .stamp {
        border: 1.5px solid #888 !important;
        background: #f0f0f0 !important;
        color: #333 !important;
    }
    .stamp.bad {
        border-color: #a6293d !important;
        background: #f8e9eb !important;
        color: #a6293d !important;
    }
    .stamp.good {
        border-color: #1f7a5c !important;
        background: #e7f3ee !important;
        color: #1f7a5c !important;
    }
    .hero {
        background: #1a1a2e !important;
        color: #eee !important;
    }
    .hero h1 {
        color: #fff !important;
    }
    .hero p.lede {
        color: #ccc !important;
    }
    .hero p.lede.sub {
        color: #aaa !important;
    }
    .leadership-tag {
        border-color: #666 !important;
        color: #ccc !important;
    }
    .leadership-tag a {
        color: #f2c879 !important;
    }
}
