/* ============================================
   diplomatic.day - Cold War Diplomatic Modernism
   ============================================ */

/* Custom Properties */
:root {
    --diplomatic-slate: #3B4856;
    --warm-terrazzo: #E8DDD0;
    --brass-wire: #C4A35A;
    --slate-ink: #2B3440;
    --parchment: #F2EDE4;
    --teak-warm: #8B6F4E;
    --signal-red: #B84233;
    --embassy-green: #4A6B5A;
    --flashbulb: #FEFCF8;
    --carbon: #3A3A3A;
    --light-text: #D6D0C6;

    --timing: cubic-bezier(0.25, 0.1, 0.25, 1.0);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    color: var(--carbon);
    background: var(--diplomatic-slate);
    overflow-x: hidden;
}

/* Scroll Container */
#scroll-container {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
}

/* Scene base */
.scene {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    scroll-snap-align: start;
}

/* ============================================
   Navigation
   ============================================ */
#nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3vw;
    height: 48px;
    background: rgba(59, 72, 86, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(196, 163, 90, 0.15);
}

.nav-domain {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-wire);
    opacity: 0.7;
}

.nav-timestamps {
    display: flex;
    gap: 2vw;
}

.nav-time {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-wire);
    opacity: 0.7;
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: opacity 0.4s var(--timing);
}

.nav-time::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--brass-wire);
    transition: width 0.4s var(--timing);
}

.nav-time:hover,
.nav-time.active {
    opacity: 1;
}

.nav-time:hover::after,
.nav-time.active::after {
    width: 100%;
}

/* ============================================
   Wire Grid System
   ============================================ */
.wire-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s var(--timing);
}

.wire-grid.visible {
    opacity: 1;
}

.wire-grid-sparse {
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(196, 163, 90, 0.08) 79px,
            rgba(196, 163, 90, 0.08) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 59px,
            rgba(196, 163, 90, 0.08) 59px,
            rgba(196, 163, 90, 0.08) 60px
        );
}

.wire-grid-dense {
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 44px,
            rgba(196, 163, 90, 0.15) 44px,
            rgba(196, 163, 90, 0.15) 45px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 59px,
            rgba(196, 163, 90, 0.12) 59px,
            rgba(196, 163, 90, 0.12) 60px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(196, 163, 90, 0.08) 79px,
            rgba(196, 163, 90, 0.08) 80px
        );
}

.wire-grid-medium {
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 59px,
            rgba(196, 163, 90, 0.1) 59px,
            rgba(196, 163, 90, 0.1) 60px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(196, 163, 90, 0.08) 79px,
            rgba(196, 163, 90, 0.08) 80px
        );
}

.wire-grid-ghost {
    background:
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 79px,
            rgba(196, 163, 90, 0.03) 79px,
            rgba(196, 163, 90, 0.03) 80px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 79px,
            rgba(196, 163, 90, 0.03) 79px,
            rgba(196, 163, 90, 0.03) 80px
        );
}

/* ============================================
   Starburst Ornaments
   ============================================ */
.starburst {
    position: relative;
    width: 16px;
    height: 16px;
}

.starburst::before,
.starburst::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
}

.starburst::before {
    width: 16px;
    height: 1px;
    background: var(--brass-wire);
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 0 var(--brass-wire),
        0 0 0 0 var(--brass-wire);
}

.starburst::after {
    width: 1px;
    height: 16px;
    background: var(--brass-wire);
    transform: translate(-50%, -50%);
}

.starburst-center {
    position: absolute;
    z-index: 5;
}

.starburst-center::before {
    width: 20px;
    height: 1px;
    background: var(--brass-wire);
    transform: translate(-50%, -50%);
}

.starburst-center::after {
    width: 1px;
    height: 20px;
    background: var(--brass-wire);
    transform: translate(-50%, -50%);
}

/* Additional starburst rays using extra box-shadows */
.starburst-small {
    width: 12px;
    height: 12px;
}

.starburst-small::before {
    width: 12px;
    height: 1px;
}

.starburst-small::after {
    width: 1px;
    height: 12px;
}

/* Starburst with diagonal lines using a wrapper approach */
.starburst-center,
.starburst-flank {
    display: inline-block;
}

/* ============================================
   Triple Rule System
   ============================================ */
.triple-rule {
    position: relative;
    width: 100%;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.triple-rule::before {
    content: '';
    position: absolute;
    left: 20%;
    right: 20%;
    height: 0.5px;
    background: var(--brass-wire);
    opacity: 0.3;
    top: 0;
}

.triple-rule::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--brass-wire);
    top: 50%;
    transform: scaleX(0);
    transition: transform 0.8s var(--timing);
}

.triple-rule.animate::after {
    transform: scaleX(1);
}

/* Third line of triple rule via a child or additional pseudo on container */

/* ============================================
   Timestamps
   ============================================ */
.timestamp {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-wire);
    opacity: 0.7;
    display: block;
}

.timestamp-light {
    color: var(--brass-wire);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: 0.06em;
    color: var(--slate-ink);
    margin-bottom: 1.5rem;
}

.section-title-light {
    color: var(--parchment);
}

.section-title-dark {
    color: var(--slate-ink);
}

.section-title-table {
    color: var(--teak-warm);
}

.section-title-communique {
    color: var(--slate-ink);
    text-align: center;
}

/* ============================================
   Body Text
   ============================================ */
.body-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    line-height: 1.75;
    color: var(--carbon);
    max-width: 38em;
    margin-bottom: 1.25em;
}

.body-text-light {
    color: var(--light-text);
}

.body-text-dark {
    color: var(--carbon);
}

/* ============================================
   06:00 - The Briefing Room
   ============================================ */
.scene-0600 {
    display: flex;
    flex-direction: column;
    position: relative;
}

.scene-0600-upper {
    flex: 0 0 60%;
    background: var(--diplomatic-slate);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2vh;
    position: relative;
    z-index: 2;
}

.timestamp-0600 {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 400;
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brass-wire);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--timing), transform 0.4s var(--timing);
    transition-delay: 0.6s;
}

.scene-0600.active .timestamp-0600 {
    opacity: 0.7;
    transform: translateY(0);
}

.brass-horizon {
    flex: 0 0 0;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2px;
}

.brass-horizon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--brass-wire);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.8s var(--timing);
    transition-delay: 0.3s;
}

.scene-0600.active .brass-horizon::before {
    transform: scaleX(1);
}

.starburst-center {
    opacity: 0;
    transition: opacity 0.5s var(--timing);
    transition-delay: 1.1s;
}

.scene-0600.active .starburst-center {
    opacity: 1;
}

.scene-0600-lower {
    flex: 0 0 40%;
    background: var(--warm-terrazzo);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3vh;
    position: relative;
    z-index: 2;
}

/* Terrazzo noise texture on lower section */
.scene-0600-lower::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#terrazzo-noise);
    pointer-events: none;
    z-index: 0;
}

.site-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 10vw, 9rem);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--brass-wire);
    line-height: 0.9;
    position: relative;
    z-index: 1;
    transition: letter-spacing 1s var(--timing);
    transition-delay: 1s;
    opacity: 0;
    transform: translateY(8px);
    transition: letter-spacing 1s var(--timing), opacity 0.6s var(--timing), transform 0.6s var(--timing);
    transition-delay: 1s;
}

.scene-0600.active .site-title {
    letter-spacing: 0.25em;
    opacity: 1;
    transform: translateY(0);
}

.site-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 1vw, 1rem);
    color: var(--teak-warm);
    letter-spacing: 0.08em;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s var(--timing), transform 0.6s var(--timing);
    transition-delay: 1.6s;
    position: relative;
    z-index: 1;
}

.scene-0600.active .site-subtitle {
    opacity: 0.8;
    transform: translateY(0);
}

/* ============================================
   09:00 - The Lobby
   ============================================ */
.scene-0900 {
    background: var(--warm-terrazzo);
    position: relative;
}

.scene-0900::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#terrazzo-noise);
    pointer-events: none;
}

.lobby-divider {
    position: absolute;
    left: 38%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--brass-wire);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.6s var(--timing);
    z-index: 5;
}

.scene-0900.active .lobby-divider {
    transform: scaleY(1);
}

.lobby-layout {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.lobby-left {
    flex: 0 0 38%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5vh 2vw;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
    transition-delay: 0.3s;
}

.scene-0900.active .lobby-left {
    opacity: 1;
    transform: translateX(0);
}

.monumental-word {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 10vw, 9rem);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--brass-wire);
    line-height: 0.9;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    opacity: 0.15;
}

.lobby-right {
    flex: 0 0 62%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vh 5vw 8vh 4vw;
}

.lobby-right .timestamp-section {
    margin-bottom: 0.5rem;
}

.lobby-right .section-title {
    margin-bottom: 2rem;
}

/* Staggered paragraph reveals */
.body-text.stagger-1,
.body-text.stagger-2,
.body-text.stagger-3 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
}

.scene-0900.active .body-text.stagger-1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.scene-0900.active .body-text.stagger-2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.scene-0900.active .body-text.stagger-3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* ============================================
   12:00 - The Table
   ============================================ */
.scene-1200 {
    background: var(--warm-terrazzo);
    display: flex;
    flex-direction: column;
    position: relative;
}

.scene-1200::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#terrazzo-noise);
    pointer-events: none;
}

.table-band {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10vw;
}

.table-band-top {
    flex: 0 0 15vh;
}

.table-band-center {
    flex: 0 0 70vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4vh 15vw;
    text-align: center;
}

.table-band-bottom {
    flex: 0 0 15vh;
}

.seat-position {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.seat-label {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 300;
    font-size: clamp(0.6rem, 0.75vw, 0.75rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teak-warm);
    opacity: 0.6;
}

.seat-right {
    flex-direction: row-reverse;
}

.diplomatic-quote {
    max-width: 42em;
    margin: 2rem auto;
}

.diplomatic-quote p {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 1.8vw, 1.6rem);
    line-height: 1.7;
    color: var(--teak-warm);
    text-align: justify;
}

.table-flanking {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-top: 2rem;
}

.starburst-flank {
    width: 16px;
    height: 16px;
}

/* Triple rules in table section */
.triple-rule-top,
.triple-rule-bottom {
    position: relative;
    z-index: 2;
}

.triple-rule-top::after,
.triple-rule-bottom::after {
    transform-origin: center;
}

/* Section-specific title adjustments */
.timestamp-table {
    margin-bottom: 0.25rem;
}

/* Table section element reveal */
.scene-1200 .table-band-center {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s var(--timing), transform 0.6s var(--timing);
    transition-delay: 0.3s;
}

.scene-1200.active .table-band-center {
    opacity: 1;
    transform: translateY(0);
}

.scene-1200 .seat-position {
    opacity: 0;
    transition: opacity 0.5s var(--timing);
    transition-delay: 0.6s;
}

.scene-1200.active .seat-position {
    opacity: 1;
}

/* ============================================
   18:00 - The Translation Room
   ============================================ */
.scene-1800 {
    position: relative;
}

.translation-split {
    display: flex;
    width: 100%;
    height: 100%;
}

.translation-left {
    flex: 0 0 50%;
    background: var(--diplomatic-slate);
    position: relative;
    overflow: hidden;
}

.translation-right {
    flex: 0 0 50%;
    background: var(--warm-terrazzo);
    position: relative;
    overflow: hidden;
}

.translation-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: url(#terrazzo-noise-cool);
    pointer-events: none;
}

.translation-divider {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    z-index: 10;
    animation: divider-pulse 8s ease-in-out infinite;
}

@keyframes divider-pulse {
    0%, 100% {
        background: var(--brass-wire);
    }
    50% {
        background: var(--parchment);
    }
}

.translation-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 8vh 4vw;
}

.translation-content-left {
    padding-right: 3vw;
    padding-left: 5vw;
}

.translation-content-right {
    padding-left: 3vw;
    padding-right: 5vw;
    position: relative;
    z-index: 2;
}

.translation-content .section-title {
    margin-bottom: 1.5rem;
}

/* Translation stagger reveals */
.scene-1800 .translation-content-left .stagger-1 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
    transition-delay: 0.3s;
}

.scene-1800 .translation-content-left .stagger-2 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
    transition-delay: 0.5s;
}

.scene-1800 .translation-content-right .stagger-1 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
    transition-delay: 0.6s;
}

.scene-1800 .translation-content-right .stagger-2 {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--timing), transform 0.5s var(--timing);
    transition-delay: 0.8s;
}

.scene-1800 .translation-content-left .timestamp,
.scene-1800 .translation-content-left .section-title {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--timing), transform 0.4s var(--timing);
    transition-delay: 0.2s;
}

.scene-1800 .translation-content-right .timestamp,
.scene-1800 .translation-content-right .section-title {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s var(--timing), transform 0.4s var(--timing);
    transition-delay: 0.5s;
}

.scene-1800.active .translation-content-left .stagger-1,
.scene-1800.active .translation-content-left .stagger-2,
.scene-1800.active .translation-content-right .stagger-1,
.scene-1800.active .translation-content-right .stagger-2,
.scene-1800.active .translation-content-left .timestamp,
.scene-1800.active .translation-content-left .section-title,
.scene-1800.active .translation-content-right .timestamp,
.scene-1800.active .translation-content-right .section-title {
    opacity: 1;
    transform: translateY(0);
}

/* Restore timestamp opacity for the light variant */
.scene-1800.active .translation-content-left .timestamp {
    opacity: 0.7;
}

.scene-1800.active .translation-content-right .timestamp {
    opacity: 0.7;
}

/* ============================================
   00:00 - The Communique
   ============================================ */
.scene-0000 {
    background: var(--parchment);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.communique-content {
    width: 60%;
    max-width: 48em;
    position: relative;
    z-index: 2;
    text-align: center;
}

.triple-rule-communique-top,
.triple-rule-communique-bottom {
    margin: 1.5rem 0;
}

.triple-rule-communique-top::before,
.triple-rule-communique-bottom::before {
    left: 10%;
    right: 10%;
}

.timestamp-final {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.communique-body {
    text-align: justify;
    margin: 2rem 0;
}

.communique-text {
    max-width: 100%;
}

.communique-closing {
    font-weight: 500;
    font-style: italic;
    margin-top: 1.5rem;
}

/* Communique reveals */
.communique-content {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s var(--timing), transform 0.8s var(--timing);
}

.scene-0000.active .communique-content {
    opacity: 1;
    transform: translateY(0);
}

/* Diplomatic Seal */
.diplomatic-seal {
    margin: 3rem auto 2rem;
    width: 100px;
    height: 100px;
    opacity: 0;
    transition: opacity 0.8s var(--timing);
    transition-delay: 1.5s;
}

.scene-0000.active .diplomatic-seal {
    opacity: 1;
}

.seal-svg {
    display: block;
}

.seal-outer {
    stroke-dasharray: 290;
    stroke-dashoffset: 290;
    transition: stroke-dashoffset 1.2s var(--timing);
    transition-delay: 1.6s;
}

.scene-0000.active .seal-outer {
    stroke-dashoffset: 0;
}

.seal-inner {
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    transition: stroke-dashoffset 1s var(--timing);
    transition-delay: 2s;
}

.scene-0000.active .seal-inner {
    stroke-dashoffset: 0;
}

.seal-monogram {
    opacity: 0;
    transition: opacity 0.6s var(--timing);
    transition-delay: 2.5s;
}

.scene-0000.active .seal-monogram {
    opacity: 1;
}

/* Final brass rule */
.final-rule {
    width: 100vw;
    height: 1px;
    background: var(--brass-wire);
    position: absolute;
    bottom: 10vh;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 1.2s var(--timing);
    transition-delay: 2.8s;
}

.scene-0000.active .final-rule {
    transform: scaleX(1);
}

/* ============================================
   Starburst Extended (diagonal rays)
   ============================================ */
/* Use box-shadow technique for additional rays */
.starburst-center::before {
    box-shadow:
        0 0 0 0 transparent;
}

/* Create a more complete starburst with rotated pseudo elements */
.starburst-center {
    width: 20px;
    height: 20px;
}

/* Additional diagonal lines via CSS generated content */
.starburst::before {
    background: linear-gradient(to right, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.starburst::after {
    background: linear-gradient(to bottom, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) rotate(45deg);
}

.starburst-center::before {
    width: 20px;
    height: 20px;
    background: linear-gradient(to right, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%),
                linear-gradient(to bottom, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    transform: translate(-50%, -50%) rotate(0deg);
}

.starburst-center::after {
    width: 20px;
    height: 20px;
    background: linear-gradient(to right, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%),
                linear-gradient(to bottom, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Flank starbursts */
.starburst-flank::before {
    background: linear-gradient(to right, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%),
                linear-gradient(to bottom, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) rotate(0deg);
}

.starburst-flank::after {
    background: linear-gradient(to right, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%),
                linear-gradient(to bottom, transparent 35%, var(--brass-wire) 48%, var(--brass-wire) 52%, transparent 65%);
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* ============================================
   Hue rotation across sections (warm to cool)
   ============================================ */
.scene-0600 .wire-grid { filter: hue-rotate(0deg); }
.scene-0900 .wire-grid { filter: hue-rotate(-3deg); }
.scene-1800 .wire-grid { filter: hue-rotate(-10deg); }
.scene-0000 .wire-grid { filter: hue-rotate(-15deg); }

/* ============================================
   Responsive adjustments
   ============================================ */
@media (max-width: 768px) {
    .lobby-layout {
        flex-direction: column;
    }

    .lobby-left {
        flex: 0 0 25vh;
    }

    .lobby-right {
        flex: 1;
        padding: 4vh 6vw;
    }

    .lobby-divider {
        left: 0;
        top: 25vh;
        bottom: auto;
        width: 100%;
        height: 1px;
        transform: scaleX(0);
        transform-origin: center;
    }

    .scene-0900.active .lobby-divider {
        transform: scaleX(1);
    }

    .monumental-word {
        writing-mode: horizontal-tb;
        font-size: clamp(3rem, 8vw, 5rem);
    }

    .translation-split {
        flex-direction: column;
    }

    .translation-left,
    .translation-right {
        flex: 0 0 50%;
    }

    .translation-divider {
        left: 0;
        top: 50%;
        bottom: auto;
        width: 100%;
        height: 2px;
    }

    .communique-content {
        width: 85%;
    }

    .table-band-center {
        padding: 4vh 6vw;
    }

    .nav-timestamps {
        gap: 3vw;
    }

    #nav-bar {
        padding: 0 4vw;
    }
}

@media (max-width: 480px) {
    .communique-content {
        width: 90%;
    }

    .table-band-top,
    .table-band-bottom {
        padding: 0 5vw;
    }

    .seat-label {
        font-size: 0.55rem;
    }
}
