/* =========================================================
   desca.works — Avant-garde Luminescence
   Aurora palette / Horizontal-scroll architecture
   Intersection Dot: Dots:** At every major structural boundary (between rooms use IntersectionObserver with `rootMargin: '0px 200px 0px 0px'`
   ========================================================= */

:root {
    --aurora-violet: #7B2FBE;
    --aurora-emerald: #00D68F;
    --aurora-rose: #F7509E;
    --aurora-gold: #E8C547;
    --cosmic-deep: #0B0A1A;
    --cosmic-mid: #1A1832;
    --ice-white: #ECE8F4;
    --frost-gray: #8A86A0;

    --aurora-gradient: linear-gradient(135deg,
        #7B2FBE 0%,
        #00D68F 40%,
        #F7509E 70%,
        #E8C547 100%);

    --aurora-gradient-soft: linear-gradient(135deg,
        rgba(123, 47, 190, 0.25) 0%,
        rgba(0, 214, 143, 0.25) 40%,
        rgba(247, 80, 158, 0.25) 70%,
        rgba(232, 197, 71, 0.25) 100%);

    --font-display: "Cormorant Garamond", "Cormorant", Georgia, serif;
    --font-ui: "Outfit", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --ease-silk: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background: var(--cosmic-deep);
    color: var(--ice-white);
    font-family: var(--font-ui);
    font-weight: 300;
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: crosshair;
}

body {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(123, 47, 190, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 60%, rgba(0, 214, 143, 0.09), transparent 55%),
        radial-gradient(ellipse at 40% 90%, rgba(247, 80, 158, 0.08), transparent 55%),
        var(--cosmic-deep);
}

/* =========================================================
   Main horizontal track
   ========================================================= */
main#mainTrack {
    display: flex;
    flex-direction: row;
    width: max-content;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    will-change: scroll-position;
}

main#mainTrack::-webkit-scrollbar {
    display: none;
}

.room {
    position: relative;
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-manifesto {
    width: 200vw;
}

.room-exhibition {
    width: 320vw;
}

/* =========================================================
   Scan lines + shared overlays
   ========================================================= */
.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1000;
    background: repeating-linear-gradient(
        to bottom,
        rgba(236, 232, 244, 0.035) 0px,
        rgba(236, 232, 244, 0.035) 1px,
        transparent 1px,
        transparent 4px
    );
    mix-blend-mode: overlay;
}

.cursor-trail {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1100;
}

.trail-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    filter: blur(1px);
    transform: translate(-50%, -50%);
    animation: trail-fade 500ms ease-out forwards;
    pointer-events: none;
}

@keyframes trail-fade {
    0%   { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}

/* =========================================================
   Progress bar + nav + meta
   ========================================================= */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(138, 134, 160, 0.12);
    z-index: 900;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--aurora-gradient);
    background-size: 300% 100%;
    animation: aurora-shift 8s ease-in-out infinite;
    transition: width 120ms linear;
}

@keyframes aurora-shift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.room-nav {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 900;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(26, 24, 50, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(138, 134, 160, 0.15);
}

.room-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(236, 232, 244, 0.2);
    border: 1px solid rgba(236, 232, 244, 0.3);
    cursor: pointer;
    transition: all 400ms var(--ease-silk);
    padding: 0;
}

.room-dot:hover {
    background: var(--aurora-rose);
    box-shadow: 0 0 12px rgba(247, 80, 158, 0.6);
    transform: scale(1.2);
}

.room-dot.active {
    background: var(--aurora-emerald);
    box-shadow: 0 0 14px rgba(0, 214, 143, 0.7);
    transform: scale(1.35);
}

.meta-indicator {
    position: fixed;
    top: 24px;
    left: 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.25em;
    color: var(--frost-gray);
    text-transform: uppercase;
    z-index: 900;
    mix-blend-mode: difference;
}

.meta-label {
    color: var(--ice-white);
}

.meta-divider {
    display: inline-block;
    width: 40px;
    height: 1px;
    background: var(--aurora-gradient);
    background-size: 300% 100%;
    animation: aurora-shift 8s ease-in-out infinite;
}

.meta-room {
    color: var(--aurora-emerald);
    letter-spacing: 0.3em;
}

.scroll-hint {
    position: fixed;
    bottom: 60px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--frost-gray);
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    z-index: 900;
    transition: opacity 600ms var(--ease-silk);
}

.scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.hint-label {
    color: var(--ice-white);
    opacity: 0.7;
}

.hint-arrow {
    display: inline-block;
    font-size: 1.4em;
    color: var(--aurora-rose);
    animation: hint-drift 2.2s ease-in-out infinite;
}

@keyframes hint-drift {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(10px); }
}

/* =========================================================
   Edge labels (all rooms)
   ========================================================= */
.edge-label {
    position: absolute;
    top: 50%;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.6rem, 0.85vw, 0.75rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--frost-gray);
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
}

.edge-left {
    left: 32px;
    transform: rotate(-90deg) translateX(50%);
    transform-origin: left center;
}

.edge-right {
    right: 32px;
    transform: rotate(90deg) translateX(-50%);
    transform-origin: right center;
}

/* =========================================================
   Room 0: Threshold
   ========================================================= */
.room-threshold {
    background: var(--cosmic-deep);
}

.particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.threshold-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto auto auto;
    justify-items: center;
    gap: 0.6vw;
    text-align: center;
    mix-blend-mode: screen;
}

.wordmark {
    display: grid;
    grid-template-rows: 1fr auto 1fr;
    gap: 1.2vw;
    justify-items: center;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.08em;
    color: var(--ice-white);
}

.wordmark-part {
    display: block;
    font-style: italic;
    text-shadow:
        0 0 40px rgba(123, 47, 190, 0.25),
        0 0 80px rgba(247, 80, 158, 0.15);
}

.wordmark-top {
    animation: float-top 9s ease-in-out infinite;
}

.wordmark-bottom {
    animation: float-bottom 9s ease-in-out infinite;
}

@keyframes float-top {
    0%, 100% { transform: translateY(0); letter-spacing: 0.08em; }
    50%      { transform: translateY(-6px); letter-spacing: 0.1em; }
}

@keyframes float-bottom {
    0%, 100% { transform: translateY(0); letter-spacing: 0.08em; }
    50%      { transform: translateY(6px); letter-spacing: 0.1em; }
}

.aurora-divider {
    width: clamp(12rem, 28vw, 32rem);
    height: 4px;
    background: var(--aurora-gradient);
    background-size: 300% 100%;
    animation: aurora-shift 6s ease-in-out infinite, divider-breath 4s ease-in-out infinite;
    border-radius: 2px;
    box-shadow:
        0 0 24px rgba(247, 80, 158, 0.5),
        0 0 48px rgba(0, 214, 143, 0.25);
}

@keyframes divider-breath {
    0%, 100% { transform: scaleX(1); opacity: 1; }
    50%      { transform: scaleX(1.04); opacity: 0.85; }
}

.threshold-caption {
    margin-top: 4vh;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--frost-gray);
    display: inline-flex;
    align-items: center;
    gap: 14px;
    mix-blend-mode: normal;
}

.caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--aurora-gold);
    box-shadow: 0 0 12px rgba(232, 197, 71, 0.75);
    animation: pulse-dot 2.2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(0.7); opacity: 0.5; }
}

/* =========================================================
   Room 1: Manifesto
   ========================================================= */
.room-manifesto {
    background:
        linear-gradient(90deg, var(--cosmic-deep) 0%, var(--cosmic-mid) 50%, var(--cosmic-deep) 100%);
    align-items: center;
    justify-content: flex-start;
    padding: 0 6vw;
}

.manifesto-dotgrid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(138, 134, 160, 0.25) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    opacity: 0.5;
    pointer-events: none;
}

.manifesto-text {
    position: relative;
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3rem, 7.5vw, 8rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    color: var(--ice-white);
    max-width: 190vw;
    z-index: 2;
    padding-right: 10vw;
}

.m-word {
    display: inline-block;
    opacity: 0.05;
    transform: translateY(40px);
    transition: opacity 900ms var(--ease-silk), transform 900ms var(--ease-silk), color 900ms var(--ease-silk);
    margin-right: 0.35em;
}

.m-word.visible {
    opacity: 1;
    transform: translateY(0);
}

.m-word:nth-child(4n+1).visible { color: var(--aurora-violet); }
.m-word:nth-child(4n+2).visible { color: var(--aurora-emerald); }
.m-word:nth-child(4n+3).visible { color: var(--aurora-rose); }
.m-word:nth-child(4n+4).visible { color: var(--aurora-gold); }

.waveform {
    position: absolute;
    bottom: 12vh;
    left: 0;
    width: 200vw;
    height: 120px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* =========================================================
   Room 2: Conceive (particle coalescence)
   ========================================================= */
.room-process {
    background:
        linear-gradient(180deg,
            var(--cosmic-deep) 0%,
            var(--cosmic-mid) 50%,
            var(--cosmic-deep) 100%);
    padding: 0 8vw;
}

.conceive-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.9;
}

.process-meta {
    position: relative;
    z-index: 3;
    max-width: 32vw;
    margin-left: 8vw;
    margin-right: auto;
    padding: 2.5rem 2.2rem;
    background: rgba(11, 10, 26, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(236, 232, 244, 0.08);
    border-left: 2px solid transparent;
    border-image: var(--aurora-gradient) 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.process-meta-right {
    margin-left: auto;
    margin-right: 8vw;
}

.process-number {
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.65rem, 1vw, 0.85rem);
    letter-spacing: 0.4em;
    color: var(--aurora-emerald);
    text-transform: uppercase;
}

.process-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3rem, 5.5vw, 6rem);
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--ice-white);
    background: var(--aurora-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: aurora-shift 7s ease-in-out infinite;
}

.process-body {
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    line-height: 1.75;
    color: var(--frost-gray);
}

.process-tag {
    margin-top: 0.8rem;
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.6rem, 0.85vw, 0.75rem);
    letter-spacing: 0.35em;
    color: var(--aurora-rose);
    text-transform: uppercase;
    align-self: flex-start;
    padding: 6px 14px;
    border: 1px solid rgba(247, 80, 158, 0.35);
    border-radius: 999px;
}

/* =========================================================
   Room 3: Construct (Penrose tiling)
   ========================================================= */
.tessellation {
    position: absolute;
    top: 50%;
    left: 42%;
    width: 85vh;
    height: 85vh;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.9;
    filter: drop-shadow(0 0 24px rgba(123, 47, 190, 0.25));
}

.tile {
    opacity: 0;
    transform-origin: center;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: tile-reveal 800ms var(--ease-silk) forwards;
}

@keyframes tile-reveal {
    0%   { opacity: 0; stroke-dashoffset: 1000; }
    60%  { opacity: 0.9; }
    100% { opacity: 0.95; stroke-dashoffset: 0; }
}

/* =========================================================
   Room 4: Refine (noise-to-curve morph)
   ========================================================= */
.refine-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.refine-stage path {
    fill: none;
    stroke-width: 1.2;
    opacity: 0.85;
    transition: d 3s var(--ease-silk), stroke-width 3s var(--ease-silk);
}

/* =========================================================
   Room 5: Exhibition
   ========================================================= */
.room-exhibition {
    background:
        linear-gradient(90deg, var(--cosmic-mid) 0%, var(--cosmic-deep) 50%, var(--cosmic-mid) 100%);
    align-items: stretch;
    justify-content: flex-start;
}

.exhibition-track {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1400px;
    perspective-origin: center center;
}

.frame {
    position: absolute;
    top: var(--ty);
    left: var(--tx);
    width: var(--w);
    height: var(--h);
    transform: rotate(var(--rot)) translateZ(0);
    transform-style: preserve-3d;
    transition: transform 600ms var(--ease-silk), box-shadow 600ms var(--ease-silk);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(236, 232, 244, 0.05);
    background: var(--cosmic-mid);
    cursor: none;
}

.frame:hover {
    transform: rotate(0deg) translateZ(40px) scale(1.03);
    box-shadow:
        0 30px 80px rgba(123, 47, 190, 0.45),
        0 0 0 1px rgba(247, 80, 158, 0.4),
        0 0 40px rgba(0, 214, 143, 0.25);
    z-index: 5;
}

.frame-art {
    width: 100%;
    height: calc(100% - 3.5rem);
    position: relative;
    overflow: hidden;
}

.frame-art::before,
.frame-art::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* Generative frame art variants — pure CSS */
.art-style-1 {
    background:
        repeating-linear-gradient(135deg,
            rgba(123, 47, 190, 0.45) 0 8px,
            rgba(0, 214, 143, 0.25) 8px 16px,
            rgba(247, 80, 158, 0.35) 16px 24px,
            transparent 24px 34px),
        radial-gradient(circle at 30% 30%, rgba(232, 197, 71, 0.4), transparent 50%);
}

.art-style-2 {
    background:
        radial-gradient(circle at 20% 80%, rgba(247, 80, 158, 0.7), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(0, 214, 143, 0.65), transparent 55%),
        radial-gradient(circle at 50% 50%, rgba(123, 47, 190, 0.5), transparent 60%),
        var(--cosmic-deep);
    filter: blur(0.3px);
}

.art-style-3 {
    background:
        conic-gradient(from 45deg at 50% 50%,
            #7B2FBE 0deg,
            #00D68F 90deg,
            #F7509E 180deg,
            #E8C547 270deg,
            #7B2FBE 360deg);
    filter: blur(18px) saturate(1.2);
}

.art-style-4 {
    background:
        repeating-radial-gradient(circle at 50% 50%,
            rgba(0, 214, 143, 0.5) 0 2px,
            transparent 2px 12px),
        radial-gradient(circle at 50% 50%, rgba(123, 47, 190, 0.6), var(--cosmic-deep) 75%);
}

.art-style-5 {
    background:
        linear-gradient(45deg,
            rgba(123, 47, 190, 0.8) 0%,
            rgba(0, 214, 143, 0.3) 25%,
            rgba(247, 80, 158, 0.6) 50%,
            rgba(232, 197, 71, 0.3) 75%,
            rgba(123, 47, 190, 0.6) 100%);
    background-size: 200% 200%;
    animation: art-drift-5 12s ease-in-out infinite;
}

@keyframes art-drift-5 {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

.art-style-6 {
    background:
        repeating-linear-gradient(0deg,
            rgba(247, 80, 158, 0.35) 0 1px,
            transparent 1px 4px),
        repeating-linear-gradient(90deg,
            rgba(0, 214, 143, 0.25) 0 1px,
            transparent 1px 4px),
        radial-gradient(ellipse, rgba(232, 197, 71, 0.45), transparent 70%),
        var(--cosmic-mid);
}

.art-style-7 {
    background:
        conic-gradient(from 0deg,
            rgba(247, 80, 158, 0.3),
            rgba(0, 214, 143, 0.3),
            rgba(123, 47, 190, 0.3),
            rgba(247, 80, 158, 0.3)),
        radial-gradient(circle at 30% 70%, rgba(232, 197, 71, 0.5), transparent 50%);
}

.art-style-8 {
    background:
        linear-gradient(120deg, transparent 40%, rgba(247, 80, 158, 0.4) 50%, transparent 60%),
        linear-gradient(60deg, transparent 40%, rgba(0, 214, 143, 0.4) 50%, transparent 60%),
        linear-gradient(90deg, rgba(123, 47, 190, 0.6), rgba(232, 197, 71, 0.3));
}

.art-style-9 {
    background:
        repeating-conic-gradient(from 0deg at 50% 50%,
            rgba(123, 47, 190, 0.4) 0deg 15deg,
            transparent 15deg 30deg),
        radial-gradient(circle, rgba(247, 80, 158, 0.4), var(--cosmic-deep) 80%);
}

.art-style-10 {
    background:
        radial-gradient(circle at 25% 25%, rgba(232, 197, 71, 0.6), transparent 35%),
        radial-gradient(circle at 75% 75%, rgba(0, 214, 143, 0.55), transparent 35%),
        radial-gradient(circle at 25% 75%, rgba(247, 80, 158, 0.55), transparent 35%),
        radial-gradient(circle at 75% 25%, rgba(123, 47, 190, 0.55), transparent 35%),
        var(--cosmic-deep);
    filter: blur(2px);
}

.art-style-11 {
    background:
        repeating-linear-gradient(45deg,
            rgba(123, 47, 190, 0.3) 0 3px,
            rgba(0, 214, 143, 0.3) 3px 6px,
            rgba(247, 80, 158, 0.3) 6px 9px,
            rgba(232, 197, 71, 0.3) 9px 12px),
        var(--cosmic-deep);
}

.frame figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5rem;
    padding: 0.6rem 1rem;
    background: var(--cosmic-deep);
    border-top: 1px solid rgba(236, 232, 244, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-ui);
    font-size: clamp(0.6rem, 0.8vw, 0.72rem);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--frost-gray);
}

.frame-idx {
    color: var(--aurora-emerald);
    font-weight: 400;
    letter-spacing: 0.3em;
}

.frame-name {
    flex: 1;
    color: var(--ice-white);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(0.85rem, 1vw, 1rem);
    letter-spacing: 0.03em;
    text-transform: none;
    font-weight: 300;
}

.frame-year {
    color: var(--aurora-gold);
}

/* =========================================================
   Room 6: Departure
   ========================================================= */
.room-departure {
    background: var(--cosmic-deep);
}

.breath-gradient {
    position: absolute;
    inset: -10%;
    background: var(--aurora-gradient);
    background-size: 300% 300%;
    animation: aurora-shift 14s ease-in-out infinite, breath-opacity 6s ease-in-out infinite;
    filter: blur(80px);
    opacity: 0.55;
}

@keyframes breath-opacity {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%      { opacity: 0.65; transform: scale(1.05); }
}

.departure-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    text-align: center;
    mix-blend-mode: screen;
}

.departure-prelude {
    font-family: var(--font-ui);
    font-weight: 400;
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--ice-white);
    opacity: 0.7;
}

.departure-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-style: italic;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 1.05;
    letter-spacing: 0.12em;
    color: var(--ice-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-shadow: 0 0 40px rgba(11, 10, 26, 0.7);
}

.aurora-divider-departure {
    width: 14rem;
    height: 2px;
}

.departure-contact {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
    font-family: var(--font-ui);
    font-weight: 300;
    font-size: clamp(0.85rem, 1.1vw, 1rem);
    letter-spacing: 0.2em;
    color: var(--ice-white);
}

.contact-line {
    color: var(--ice-white);
    text-decoration: none;
    padding: 4px 14px;
    border-bottom: 1px solid transparent;
    transition: border-color 400ms var(--ease-silk), color 400ms var(--ease-silk);
}

a.contact-line:hover {
    color: var(--aurora-gold);
    border-bottom-color: var(--aurora-gold);
}

.departure-footer {
    margin-top: 2rem;
    font-family: var(--font-ui);
    font-size: clamp(0.6rem, 0.8vw, 0.7rem);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--ice-white);
    opacity: 0.5;
}

/* =========================================================
   Shake micro-interaction
   ========================================================= */
.shake {
    animation: shake 150ms ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-2px); }
    50%      { transform: translateX(0); }
    75%      { transform: translateX(2px); }
}

/* Keep frame's own transform on shake override via class when needed */
.frame.shake {
    animation: frame-shake 180ms ease-in-out;
}

@keyframes frame-shake {
    0%, 100% { transform: rotate(var(--rot)) translateX(0); }
    25%      { transform: rotate(var(--rot)) translateX(-3px); }
    75%      { transform: rotate(var(--rot)) translateX(3px); }
}

/* =========================================================
   Responsive fallbacks
   ========================================================= */
@media (max-width: 720px) {
    .process-meta {
        max-width: 80vw;
        margin-left: 10vw;
        margin-right: 10vw;
    }

    .meta-indicator {
        font-size: 0.6rem;
        gap: 8px;
    }

    .meta-divider {
        width: 20px;
    }

    .scroll-hint {
        right: 16px;
        bottom: 76px;
    }

    .room-nav {
        gap: 10px;
        padding: 8px 12px;
    }
}
