:root {
    --midnight-void: #0A0C1A;
    --indigo-dusk: #111328;
    --twilight-slate: #1A1D3A;
    --verdict-cyan: #00E5FF;
    --neon-magenta: #FF2D6F;
    --amber-witness: #FFB347;
    --pale-evidence: #E8E6F0;
    --fog-gray: #8B8DA3;
    --blood-verdict: #C62828;
    --acquittal-green: #00C853;
    color-scheme: dark;
}

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

body {
    background: var(--midnight-void);
    color: var(--pale-evidence);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.65;
    overflow: hidden;
    height: 100vh;
}

/* ====== RAIN LAYER ====== */
.rain-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    opacity: 0.08;
    transition: opacity 3s ease;
    background-image:
        linear-gradient(to bottom, transparent 0%, rgba(0, 229, 255, 0.08) 50%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 229, 255, 0.05) 60%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, rgba(0, 229, 255, 0.06) 40%, transparent 100%);
    background-size: 1px 50px, 1px 35px, 1px 65px;
    background-position: 40px 0, 120px 30px, 280px -20px;
    animation: rainFall1 8s linear infinite, rainFall2 11s linear infinite, rainFall3 14s linear infinite;
}

@keyframes rainFall1 {
    to { background-position: 40px 50px, 120px 30px, 280px -20px; }
}

@keyframes rainFall2 {
    to { background-position: 40px 0, 120px 65px, 280px -20px; }
}

@keyframes rainFall3 {
    to { background-position: 40px 0, 120px 30px, 280px 45px; }
}

.rain-layer.intensified {
    opacity: 0.15;
}

/* ====== CURSOR GLOW ====== */
.cursor-glow {
    position: fixed;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 99;
    transition: left 0.2s ease, top 0.2s ease;
    transform: translate(-50%, -50%);
    display: none;
}

/* ====== CITYSCAPE BACKGROUND ====== */
.cityscape-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        linear-gradient(180deg, #0F1224 0%, #0A0C1A 40%, #070812 100%);
}

.cityscape-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background-image:
        linear-gradient(to right,
            transparent 0%, transparent 5%,
            #0D0F20 5%, #0D0F20 8%,
            transparent 8%, transparent 14%,
            #0E1022 14%, #0E1022 16%,
            transparent 16%, transparent 23%,
            #0D0F1E 23%, #0D0F1E 28%,
            transparent 28%, transparent 35%,
            #0E1024 35%, #0E1024 38%,
            transparent 38%, transparent 45%,
            #0D0F20 45%, #0D0F20 52%,
            transparent 52%, transparent 58%,
            #0E1022 58%, #0E1022 60%,
            transparent 60%, transparent 67%,
            #0D0F1E 67%, #0D0F1E 73%,
            transparent 73%, transparent 80%,
            #0E1024 80%, #0E1024 83%,
            transparent 83%, transparent 88%,
            #0D0F20 88%, #0D0F20 92%,
            transparent 92%, transparent 100%
        );
}

.city-windows {
    position: absolute;
    bottom: 5vh;
    left: 0;
    width: 1px;
    height: 1px;
    box-shadow:
        120px -200px 0 1px rgba(255, 179, 71, 0.35),
        340px -280px 0 1px rgba(255, 179, 71, 0.25),
        560px -150px 0 1px rgba(255, 179, 71, 0.3),
        180px -320px 0 1px rgba(255, 179, 71, 0.2),
        420px -180px 0 1px rgba(255, 179, 71, 0.35),
        680px -260px 0 1px rgba(255, 179, 71, 0.25),
        240px -100px 0 1px rgba(255, 179, 71, 0.3),
        500px -350px 0 1px rgba(255, 179, 71, 0.2),
        80px -240px 0 1px rgba(255, 179, 71, 0.35),
        600px -300px 0 1px rgba(255, 179, 71, 0.25),
        760px -140px 0 1px rgba(255, 179, 71, 0.3),
        300px -220px 0 1px rgba(255, 179, 71, 0.2),
        900px -180px 0 1px rgba(255, 179, 71, 0.35),
        150px -360px 0 1px rgba(255, 179, 71, 0.2),
        800px -280px 0 1px rgba(255, 179, 71, 0.25),
        450px -120px 0 1px rgba(255, 179, 71, 0.3);
    animation: windowFlicker 12s ease-in-out infinite;
}

@keyframes windowFlicker {
    0%, 100% { opacity: 1; }
    15% { opacity: 0.7; }
    30% { opacity: 1; }
    45% { opacity: 0.8; }
    60% { opacity: 1; }
    75% { opacity: 0.6; }
    90% { opacity: 1; }
}

/* ====== BENTO STACK ====== */
.bento-stack {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 10;
}

.bento-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transform: scale(0.95) translateY(40px);
    filter: blur(2px);
    transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1),
                transform 0.6s cubic-bezier(0.33, 1, 0.68, 1),
                filter 0.6s cubic-bezier(0.33, 1, 0.68, 1);
    pointer-events: none;
}

.bento-layer.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
    pointer-events: auto;
}

.bento-layer.receded {
    opacity: 0.3;
    transform: scale(0.92);
    filter: blur(3px);
}

/* ====== BENTO GRIDS ====== */
.bento-grid {
    display: grid;
    gap: 3px;
    width: 100%;
    max-width: 1200px;
    height: 80vh;
}

.bento-grid--docket {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(14, 1fr);
}

.bento-cell {
    background: var(--indigo-dusk);
    position: relative;
    overflow: hidden;
    transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gap glow */
.bento-grid {
    background: rgba(0, 229, 255, 0.2);
}

/* Docket cells */
.cell-hero {
    grid-column: 1 / 9;
    grid-row: 1 / 7;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid var(--verdict-cyan);
    animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { border-left-color: rgba(0, 229, 255, 0.4); }
    50% { border-left-color: rgba(0, 229, 255, 1); }
}

.site-identity {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pale-evidence);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    white-space: nowrap;
}

.site-identity .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-identity .letter.visible {
    opacity: 1;
    transform: translateY(0);
}

.site-identity .letter.period {
    color: var(--verdict-cyan);
}

.hero-tagline {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--fog-gray);
    margin-top: 16px;
    max-width: 40ch;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.8s ease 1.2s, transform 0.8s ease 1.2s;
}

.hero-tagline.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ticker */
.cell-ticker {
    grid-column: 9 / 13;
    grid-row: 1 / 5;
    background: #0F1122;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.ticker-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--verdict-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    margin-bottom: 12px;
}

.ticker-feed {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.ticker-item {
    font-family: 'Share Tech Mono', monospace;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.06em;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    animation: tickerScroll 24s linear infinite;
}

@keyframes tickerScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

.ticker-code {
    color: var(--fog-gray);
}

.verdict-guilty {
    color: var(--blood-verdict);
}

.verdict-innocent {
    color: var(--acquittal-green);
}

/* Case file */
.cell-casefile {
    grid-column: 1 / 7;
    grid-row: 7 / 11;
    padding: 24px;
}

.casefile-header {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--verdict-cyan);
    margin-bottom: 16px;
}

.mono-accent {
    font-family: 'Share Tech Mono', monospace;
    color: var(--fog-gray);
}

.casefile-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    line-height: 1.75;
    max-width: 52ch;
    color: var(--pale-evidence);
}

.redacted {
    background: var(--twilight-slate);
    color: transparent;
    cursor: pointer;
    padding: 0 4px;
    border-radius: 2px;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline;
    position: relative;
}

.redacted:hover,
.redacted.revealed {
    background: transparent;
    color: var(--neon-magenta);
}

/* Gavel */
.cell-gavel {
    grid-column: 7 / 13;
    grid-row: 5 / 12;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, var(--indigo-dusk) 0%, var(--midnight-void) 100%);
    position: relative;
}

.gavel {
    position: relative;
    animation: gavelPan 3s ease-in-out infinite;
}

@keyframes gavelPan {
    0%, 100% { transform: rotate(-15deg); }
    50% { transform: rotate(15deg); }
}

.gavel-head {
    width: 60px;
    height: 30px;
    background: linear-gradient(135deg, var(--verdict-cyan) 0%, var(--neon-magenta) 100%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    margin: 0 auto;
}

.gavel-handle {
    width: 8px;
    height: 80px;
    background: linear-gradient(135deg, var(--verdict-cyan) 0%, var(--neon-magenta) 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.gavel-pulse {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--verdict-cyan);
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

.gavel-pulse.strike {
    animation: gavelStrike 0.4s ease-out forwards;
}

@keyframes gavelStrike {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}

/* District cells */
.cell-district {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell-seal {
    grid-column: 1 / 4;
    grid-row: 11 / 15;
}

.cell-skyline-mini {
    grid-column: 4 / 7;
    grid-row: 11 / 15;
}

.cell-case-num {
    grid-column: 7 / 10;
    grid-row: 12 / 15;
    flex-direction: column;
    gap: 4px;
}

.cell-window {
    grid-column: 10 / 13;
    grid-row: 12 / 15;
}

/* Legal seal */
.legal-seal {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seal-outer {
    width: 80px;
    height: 80px;
    border: 2px solid var(--verdict-cyan);
    border-radius: 50%;
    position: absolute;
    animation: sealRotate 60s linear infinite;
}

.seal-inner {
    width: 64px;
    height: 64px;
    border: 1px dashed rgba(0, 229, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    animation: sealRotate 60s linear infinite reverse;
}

.seal-text {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--verdict-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    z-index: 1;
}

@keyframes sealRotate {
    to { transform: rotate(360deg); }
}

.seal-lg .seal-outer { width: 120px; height: 120px; }
.seal-lg .seal-inner { width: 96px; height: 96px; }
.seal-lg .seal-text { font-size: 0.85rem; }

.seal-xl .seal-outer { width: 240px; height: 240px; border-width: 3px; }
.seal-xl .seal-inner { width: 210px; height: 210px; }
.seal-xl .seal-text { font-size: 1.1rem; letter-spacing: 0.15em; }

/* Mini skyline */
.mini-skyline {
    width: 100%;
    height: 60%;
    position: relative;
    background:
        linear-gradient(to right,
            transparent 0%, transparent 10%,
            var(--twilight-slate) 10%, var(--twilight-slate) 18%,
            transparent 18%, transparent 25%,
            var(--twilight-slate) 25%, var(--twilight-slate) 30%,
            transparent 30%, transparent 40%,
            var(--twilight-slate) 40%, var(--twilight-slate) 50%,
            transparent 50%, transparent 60%,
            var(--twilight-slate) 60%, var(--twilight-slate) 65%,
            transparent 65%, transparent 75%,
            var(--twilight-slate) 75%, var(--twilight-slate) 82%,
            transparent 82%, transparent 100%
        );
    background-position: bottom;
    background-size: 100% 100%;
    opacity: 0.5;
}

/* Rotating number */
.rotating-number {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.4rem;
    letter-spacing: 0.12em;
    color: var(--verdict-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.3);
    font-variant-numeric: tabular-nums;
}

.case-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--fog-gray);
}

/* Amber window dot */
.amber-window {
    width: 6px;
    height: 6px;
    background: var(--amber-witness);
    box-shadow: 0 0 8px rgba(255, 179, 71, 0.5);
    animation: windowPulse 4s ease-in-out infinite;
}

@keyframes windowPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ====== CHAMBERS GRID ====== */
.bento-grid--chambers {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 1fr);
}

.cell-chambers-main {
    grid-column: 1 / 8;
    grid-row: 1 / 8;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cell-seal-large {
    grid-column: 8 / 13;
    grid-row: 1 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cell-verdict-history {
    grid-column: 8 / 13;
    grid-row: 5 / 8;
    padding: 16px;
}

.cell-neon {
    grid-column: 1 / 13;
    grid-row: 8 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0F1E;
}

.split-heading {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 3vw, 2.4rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--twilight-slate);
    margin-bottom: 24px;
    transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.split-heading.revealed {
    color: var(--pale-evidence);
}

.body-line {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    max-width: 52ch;
    color: var(--pale-evidence);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.body-line.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Verdict list */
.verdict-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verdict-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.v-date {
    color: var(--fog-gray);
}

.v-result {
    font-weight: 400;
}

/* Neon sign */
.neon-sign {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--verdict-cyan);
    text-shadow:
        0 0 7px var(--verdict-cyan),
        0 0 10px var(--verdict-cyan),
        0 0 21px rgba(0, 229, 255, 0.5);
}

.neon-sign .flicker {
    display: inline-block;
    animation: neonFlicker 4s ease-in-out infinite;
}

.neon-sign .flicker-fast {
    animation: neonFlickerFast 2.5s ease-in-out infinite;
}

@keyframes neonFlicker {
    0%, 92%, 100% { opacity: 1; }
    93% { opacity: 0.3; }
    94% { opacity: 1; }
    96% { opacity: 0.3; }
    97% { opacity: 1; }
}

@keyframes neonFlickerFast {
    0%, 85%, 100% { opacity: 1; }
    86% { opacity: 0.3; }
    88% { opacity: 1; }
    90% { opacity: 0.3; }
    91% { opacity: 1; }
    95% { opacity: 0.3; }
    96% { opacity: 1; }
}

/* ====== ARCHIVE GRID ====== */
.bento-grid--archive {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(10, 1fr);
}

.cell-archive-main {
    grid-column: 1 / 8;
    grid-row: 1 / 6;
    padding: 40px;
    background: #0D0F20;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.archive-text {
    filter: blur(0.3px);
    color: var(--pale-evidence);
}

.cell-archive-frag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0F20;
}

.cell-archive-frag:nth-child(2) { grid-column: 8 / 10; grid-row: 1 / 3; }
.cell-archive-frag:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 3; }
.cell-archive-frag:nth-child(4) { grid-column: 8 / 11; grid-row: 3 / 5; }
.cell-archive-frag:nth-child(5) { grid-column: 11 / 13; grid-row: 3 / 5; }
.cell-archive-frag:nth-child(6) { grid-column: 8 / 10; grid-row: 5 / 7; }
.cell-archive-frag:nth-child(7) { grid-column: 10 / 13; grid-row: 5 / 7; }

.frag-date {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    color: var(--fog-gray);
    opacity: 0.6;
}

.frag-code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    color: var(--fog-gray);
    opacity: 0.5;
}

.frag-verdict {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.cell-archive-stamp {
    grid-column: 1 / 13;
    grid-row: 7 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0D0F20;
}

/* Verdict stamp */
.verdict-stamp {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transform: scale(3) rotate(-12deg);
    opacity: 0;
    filter: blur(4px);
    transition: none;
}

.verdict-stamp.stamped {
    animation: stampLand 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes stampLand {
    0% { transform: scale(3) rotate(-12deg); opacity: 0; filter: blur(4px); }
    60% { transform: scale(0.95) rotate(-12deg); opacity: 1; filter: blur(0); }
    80% { transform: scale(1.03) rotate(-12deg); }
    100% { transform: scale(1) rotate(-12deg); }
}

.verdict-stamp--guilty {
    color: var(--blood-verdict);
    box-shadow: inset 0 0 0 3px var(--blood-verdict);
    outline: 3px solid var(--blood-verdict);
    outline-offset: 6px;
    padding: 12px 24px;
}

.verdict-stamp--innocent {
    color: var(--acquittal-green);
    box-shadow: inset 0 0 0 3px var(--acquittal-green);
    outline: 3px solid var(--acquittal-green);
    outline-offset: 6px;
    padding: 12px 24px;
}

/* ====== FOUNDATION ====== */
.bento-layer--foundation {
    background: var(--midnight-void);
}

.foundation-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    height: 100%;
}

.foundation-timestamp {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--fog-gray);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.2);
    position: absolute;
    bottom: 40px;
}

/* ====== LAYER NAV ====== */
.layer-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 50;
}

.layer-dot {
    width: 10px;
    height: 10px;
    border: 1px solid var(--fog-gray);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
}

.layer-dot.active {
    background: var(--verdict-cyan);
    border-color: var(--verdict-cyan);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.layer-dot:hover {
    border-color: var(--verdict-cyan);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 3px;
        height: auto;
        min-height: 80vh;
    }

    .bento-cell {
        min-height: 120px;
        padding: 20px;
    }

    .cell-hero {
        min-height: 200px;
        border-left: none;
        border-top: 1px solid var(--verdict-cyan);
    }

    .cell-gavel {
        min-height: 180px;
    }

    .cell-district {
        min-height: 80px;
    }

    .site-identity {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }

    .cursor-glow {
        display: none !important;
    }

    .layer-nav {
        right: 10px;
    }

    .cityscape-bg::after {
        height: 30vh;
    }
}

/* ====== REDUCED MOTION ====== */
@media (prefers-reduced-motion: reduce) {
    .rain-layer {
        animation: none;
    }

    .cell-hero {
        animation: none;
    }

    .gavel {
        animation: none;
    }

    .seal-outer,
    .seal-inner {
        animation: none;
    }

    .city-windows {
        animation: none;
    }

    .amber-window {
        animation: none;
    }

    .ticker-item {
        animation: none;
    }

    .neon-sign .flicker,
    .neon-sign .flicker-fast {
        animation: none;
    }

    .bento-layer {
        transition: none;
    }

    .site-identity .letter {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-tagline {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .split-heading {
        color: var(--pale-evidence);
        transition: none;
    }

    .body-line {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .verdict-stamp {
        opacity: 1;
        transform: rotate(-12deg);
        filter: none;
    }

    .gavel-pulse {
        display: none;
    }
}
