/**
 * Crosby Carter Room Widget — Artist Room Styles
 * Jag Journey LLC — v1.3.3
 */

/* ========================================
   Google Fonts (shared with gallery.css)
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

/* ========================================
   Verlag Font Family (Crosby branding)
   ======================================== */
@font-face {
    font-family: 'Verlag';
    src: url('../fonts/Verlag-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verlag';
    src: url('../fonts/Verlag-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verlag';
    src: url('../fonts/Verlag Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verlag';
    src: url('../fonts/Verlag-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verlag Condensed';
    src: url('../fonts/VerlagCondensed-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Verlag Condensed';
    src: url('../fonts/VerlagCondensed-Book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Container
   ======================================== */
.gallery-96-room-container {
    position: relative;
    width: 100%;
    background: #0a0a0a;
    overflow: hidden;
}

/* ========================================
   Gallery Wrapper (fixed viewport)
   ======================================== */
.gallery-96-room-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

/* ========================================
   Background Image
   ======================================== */
/* v1.7.5 (May 17 2026): keep background-position centered (so hotspots stay
   aligned with painted frames) but anchor the zoom at 75% down so the marble
   floor stays visible during walk-in. Earlier v1.7.2 shifted background-position
   too, which broke hotspot alignment — reverted. See
   memory/feedback_crosby_aesthetic.md → "Hero gallery walk-in zoom". */
.gallery-96-room-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: 50% 75%;
    will-change: transform;
}

/* ========================================
   Doors Container
   ======================================== */
.gallery-96-room-doors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: 50% 75%;
    will-change: transform;
    pointer-events: none;
}

/* ========================================
   Individual Door
   ======================================== */
.gallery-96-door {
    position: absolute;
    display: block;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
    border-radius: 3px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-96-door:hover {
    transform: scale(1.04);
    z-index: 10;
}

/* Door glow effect */
.gallery-96-door-glow {
    position: absolute;
    inset: -4px;
    border-radius: 5px;
    box-shadow:
        0 0 20px var(--door-glow, #d4a054),
        0 0 40px color-mix(in srgb, var(--door-glow, #d4a054) 40%, transparent),
        inset 0 0 15px color-mix(in srgb, var(--door-glow, #d4a054) 20%, transparent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery-96-door:hover .gallery-96-door-glow {
    opacity: 1;
    box-shadow:
        0 0 30px var(--door-glow, #d4a054),
        0 0 60px color-mix(in srgb, var(--door-glow, #d4a054) 50%, transparent),
        0 0 90px color-mix(in srgb, var(--door-glow, #d4a054) 25%, transparent),
        inset 0 0 20px color-mix(in srgb, var(--door-glow, #d4a054) 30%, transparent);
}

/* Peek image (visible through door crack) */
.gallery-96-door-peek {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.gallery-96-door:hover .gallery-96-door-peek {
    opacity: 0.7;
}

/* ========================================
   Door Labels
   ======================================== */
.gallery-96-door-label-wrap {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease, bottom 0.4s ease;
}

.gallery-96-door:hover .gallery-96-door-label-wrap {
    opacity: 1;
    bottom: -35px;
}

.gallery-96-door-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: clamp(10px, 1vw, 14px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--room-label-color, #fff);
    background: var(--room-label-bg, rgba(0, 0, 0, 0.75));
    padding: 6px 14px;
    border-radius: 2px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gallery-96-door-sublabel {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(9px, 0.8vw, 12px);
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* ========================================
   Artist Name (end of hallway)
   ======================================== */
.gallery-96-room-artist {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.5s ease;
}

.gallery-96-room-artist-name {
    font-family: 'Verlag', 'Cinzel', serif;
    font-size: clamp(18px, 2.5vw, 32px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--room-artist-color, #fff);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.gallery-96-room-artist-title {
    font-family: 'Verlag', 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(12px, 1.5vw, 18px);
    font-weight: 300;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    letter-spacing: 0.15em;
}

/* ========================================
   Back Button
   ======================================== */
.gallery-96-room-back {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--room-back-bg, rgba(0, 0, 0, 0.5));
    color: var(--room-back-color, rgba(255, 255, 255, 0.7));
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.gallery-96-room-back:hover {
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border-color: rgba(200, 170, 100, 0.4);
}

.gallery-96-room-back svg {
    flex-shrink: 0;
}

/* ========================================
   Scroll Hint
   ======================================== */
.gallery-96-room-scroll-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    text-align: center;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

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

.gallery-96-room-scroll-text {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.gallery-96-room-scroll-arrow {
    animation: room-bounce 2s ease-in-out infinite;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes room-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ========================================
   Scroll Spacer
   ======================================== */
.gallery-96-room-scroll-spacer {
    position: relative;
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   Rotate Overlay (portrait mobile)
   ======================================== */
.gallery-96-room-rotate-overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    text-align: center;
}

.gallery-96-room-rotate-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.gallery-96-room-rotate-content span {
    font-family: 'Cinzel', serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Room Concept Switcher
   ======================================== */
.gallery-96-room-switcher {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 150;
    pointer-events: auto;
}

.gallery-96-room-switcher-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(200, 170, 100, 0.25);
    border-radius: 6px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gallery-96-room-sw-select {
    background: rgba(30, 30, 30, 0.9);
    color: #e0d0b0;
    border: 1px solid rgba(200, 170, 100, 0.2);
    border-radius: 4px;
    padding: 5px 8px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 0.05em;
    cursor: pointer;
    min-width: 200px;
    outline: none;
}

.gallery-96-room-sw-select:focus {
    border-color: rgba(200, 170, 100, 0.5);
}

.gallery-96-room-sw-select optgroup {
    font-weight: 600;
    color: #d4a054;
    background: #1a1a1a;
}

.gallery-96-room-sw-select option {
    color: #ccc;
    background: #1a1a1a;
    padding: 3px 6px;
}

.gallery-96-room-sw-prev,
.gallery-96-room-sw-next {
    background: rgba(200, 170, 100, 0.15);
    color: #c9a96e;
    border: 1px solid rgba(200, 170, 100, 0.25);
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 300;
    transition: all 0.2s ease;
    line-height: 1;
}

.gallery-96-room-sw-prev:hover,
.gallery-96-room-sw-next:hover {
    background: rgba(200, 170, 100, 0.3);
    color: #fff;
}

.gallery-96-room-sw-counter {
    font-family: 'Cinzel', serif;
    font-size: 10px;
    color: rgba(200, 170, 100, 0.6);
    letter-spacing: 0.1em;
    min-width: 50px;
    text-align: center;
    white-space: nowrap;
}

/* ========================================
   Entrance Animation States
   ======================================== */
.gallery-96-room-container[data-entrance="1"] .gallery-96-room-wrapper {
    opacity: 0;
}

.gallery-96-room-container[data-entrance="1"] .gallery-96-door {
    opacity: 0;
}

.gallery-96-room-container.room-entered .gallery-96-room-wrapper {
    opacity: 1;
}

.gallery-96-room-container.room-entered .gallery-96-door {
    opacity: 1;
}

/* ========================================
   Responsive — Tablet
   ======================================== */
@media (max-width: 768px) {
    .gallery-96-room-back {
        top: 16px;
        left: 16px;
        padding: 8px 14px;
        font-size: 10px;
    }

    .gallery-96-door-label-wrap {
        bottom: -30px;
    }

    .gallery-96-door:hover .gallery-96-door-label-wrap {
        bottom: -26px;
    }

    .gallery-96-room-artist {
        bottom: 5%;
    }
}

/* ========================================
   Responsive — Mobile
   ======================================== */
@media (max-width: 480px) {
    .gallery-96-room-wrapper {
        height: 100vw !important;
    }

    .gallery-96-room-back span {
        display: none;
    }

    .gallery-96-room-back {
        padding: 10px;
    }

    .gallery-96-room-artist-name {
        font-size: 14px;
        letter-spacing: 0.15em;
    }
}

/* Portrait mobile — show rotate hint */
@media (orientation: portrait) and (max-width: 768px) {
    .gallery-96-room-rotate-overlay {
        display: block;
    }
}

/* ========================================
   Accessibility — Reduced Motion
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    .gallery-96-door,
    .gallery-96-door-glow,
    .gallery-96-door-peek,
    .gallery-96-door-label-wrap,
    .gallery-96-room-artist {
        transition: none !important;
    }

    .gallery-96-room-scroll-arrow {
        animation: none !important;
    }
}

/* ========================================
   Touch Device — Door Labels Always Visible
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .gallery-96-door-label-wrap {
        opacity: 0.7;
        bottom: -35px;
    }

    .gallery-96-door.tapped .gallery-96-door-label-wrap {
        opacity: 1;
    }

    .gallery-96-door.tapped .gallery-96-door-glow {
        opacity: 1;
    }

    .gallery-96-door.tapped .gallery-96-door-peek {
        opacity: 0.7;
    }
}

/* =================================================================
   SCREEN HOTSPOTS + POP-UP MODAL
   Added in plugin v1.4.0 — content pop-up layer per artist room.
   Screens live inside .gallery-96-room-doors so they zoom in sync.
   ================================================================= */

.gallery-96-screen {
    position: absolute;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 15;
}

.gallery-96-screen .gallery-96-screen-frame {
    position: absolute;
    inset: 0;
    border-radius: 3px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 18px rgba(106, 180, 255, 0) inset,
        0 0 24px rgba(106, 180, 255, 0);
    transition:
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
    pointer-events: none;
}

.gallery-96-screen .gallery-96-screen-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    background: var(--screen-glow, #6ab4ff);
    border-radius: 50%;
    box-shadow:
        0 0 0 0 var(--screen-glow, #6ab4ff),
        0 0 14px var(--screen-glow, #6ab4ff);
    opacity: 0.75;
    pointer-events: none;
    animation: gallery96ScreenDot 2.8s ease-in-out infinite;
}

@keyframes gallery96ScreenDot {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(106, 180, 255, 0.55), 0 0 10px var(--screen-glow, #6ab4ff);
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }
    50% {
        box-shadow: 0 0 0 12px rgba(106, 180, 255, 0), 0 0 18px var(--screen-glow, #6ab4ff);
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.9;
    }
}

.gallery-96-screen .gallery-96-screen-preview {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translate(-50%, -6px) scale(0.85);
    width: 180px;
    max-width: 22vw;
    aspect-ratio: 16/10;
    background: #111 center center / cover no-repeat;
    border-radius: 4px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.32s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.32s;
    pointer-events: none;
    z-index: 2;
}

.gallery-96-screen:hover .gallery-96-screen-preview,
.gallery-96-screen:focus-visible .gallery-96-screen-preview {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -100%) scale(1);
    transition:
        opacity 0.32s ease,
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}

.gallery-96-screen .gallery-96-screen-tooltip {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translate(-50%, -6px);
    font-family: 'Cinzel', Georgia, serif;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 9px;
    border-radius: 2px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    pointer-events: none;
    z-index: 3;
}

.gallery-96-screen:hover .gallery-96-screen-tooltip,
.gallery-96-screen:focus-visible .gallery-96-screen-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

.gallery-96-screen:hover .gallery-96-screen-frame,
.gallery-96-screen:focus-visible .gallery-96-screen-frame {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18),
        0 0 25px var(--screen-glow, #6ab4ff) inset,
        0 0 35px var(--screen-glow, #6ab4ff);
}

.gallery-96-screen:hover {
    transform: scale(1.04);
}

.gallery-96-screen:active {
    transform: scale(0.98);
}

.gallery-96-screen.is-coming-soon .gallery-96-screen-frame {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04);
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.03) 0 8px,
        rgba(255, 255, 255, 0.06) 8px 16px
    );
}

.gallery-96-screen.is-coming-soon .gallery-96-screen-dot {
    animation-duration: 4.5s;
    opacity: 0.4;
}

.gallery-96-screen {
    opacity: 0;
}

.gallery-96-room-container.room-entered .gallery-96-screen {
    opacity: 1;
    transition: opacity 0.55s ease;
}

/* =================================================================
   MODAL — Pop-up container (same-page)
   ================================================================= */

.gallery-96-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    pointer-events: none;
}

.gallery-96-modal.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
    pointer-events: auto;
}

.gallery-96-modal-backdrop {
    position: absolute;
    inset: 0;
    background: var(--modal-bg, rgba(6, 8, 14, 0.94));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    cursor: pointer;
}

.gallery-96-modal-shell {
    position: relative;
    width: min(92vw, 1400px);
    height: min(90vh, 900px);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: auto;
}

.gallery-96-modal.is-open .gallery-96-modal-shell {
    transform: translateY(0) scale(1);
}

.gallery-96-modal-close {
    position: absolute;
    top: -48px;
    right: -2px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--modal-accent, #d4a054);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.gallery-96-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    transform: rotate(90deg);
}

.gallery-96-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    z-index: 2;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.gallery-96-modal-prev { left: -72px; }
.gallery-96-modal-next { right: -72px; }

.gallery-96-modal-nav:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--modal-accent, #d4a054);
    color: var(--modal-accent, #d4a054);
}

.gallery-96-modal-nav:disabled,
.gallery-96-modal-nav[aria-disabled="true"] {
    opacity: 0.2;
    cursor: not-allowed;
}

.gallery-96-modal-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    background: #050710;
    border-radius: 4px;
    overflow: hidden;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.gallery-96-modal-body {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-96-modal-body img,
.gallery-96-modal-body video {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 2px;
}

.gallery-96-modal-body iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ============================================================
   BIO popup — photo (left) + bio text (right) two-column layout
   ============================================================ */
.gallery-96-bio {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    padding: 40px 56px;
    box-sizing: border-box;
    overflow: auto;
}

.gallery-96-bio-photo {
    flex: 0 0 38%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-96-bio-photo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.gallery-96-bio-text {
    flex: 1 1 auto;
    color: #f3ecdf;
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    line-height: 1.6;
    overflow-y: auto;
    padding-right: 8px;
    max-width: 560px;
}

.gallery-96-bio-title {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    margin: 0 0 18px 0;
    color: var(--gallery-96-modal-accent, #d4a054);
    line-height: 1.2;
}

.gallery-96-bio-copy {
    font-size: 1.05rem;
    color: #ece4d6;
}

.gallery-96-bio-copy p { margin: 0 0 14px 0; }
.gallery-96-bio-copy p:last-child { margin-bottom: 0; }
.gallery-96-bio-copy strong { color: #fff; }
.gallery-96-bio-copy em { color: var(--gallery-96-modal-accent, #d4a054); font-style: italic; }
.gallery-96-bio-copy a { color: var(--gallery-96-modal-accent, #d4a054); text-decoration: underline; }

/* Mobile: stack photo above text */
@media (max-width: 720px) {
    .gallery-96-bio {
        flex-direction: column;
        padding: 24px 20px;
        gap: 20px;
    }
    .gallery-96-bio-photo {
        flex: 0 0 auto;
        max-width: 100%;
        max-height: 40vh;
    }
    .gallery-96-bio-text {
        max-width: 100%;
        padding-right: 0;
    }
    .gallery-96-bio-title { font-size: 1.8rem; }
}

.gallery-96-modal-gallery {
    position: absolute;
    inset: 0;
    display: flex;
    overflow: hidden;
}

.gallery-96-modal-gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-96-modal-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-96-modal-gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.gallery-96-modal-gallery-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.gallery-96-modal-gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, width 0.25s ease;
}

.gallery-96-modal-gallery-dot.is-active {
    background: var(--modal-accent, #d4a054);
    width: 20px;
    border-radius: 4px;
}

.gallery-96-modal-coming-soon {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.85);
    background:
        radial-gradient(ellipse at center, rgba(212, 160, 84, 0.08) 0%, transparent 60%),
        #080a12;
}

.gallery-96-modal-coming-soon-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--modal-accent, #d4a054);
    margin-bottom: 20px;
}

.gallery-96-modal-coming-soon-title {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
}

.gallery-96-modal-coming-soon-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    max-width: 420px;
    line-height: 1.6;
}

.gallery-96-modal-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050710;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 3;
}

.gallery-96-modal.is-loading .gallery-96-modal-loading {
    opacity: 1;
}

.gallery-96-modal-spinner {
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--modal-accent, #d4a054);
    border-radius: 50%;
    animation: gallery96ModalSpin 0.9s linear infinite;
}

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

.gallery-96-modal-meta {
    padding: 18px 4px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 20px;
    align-items: start;
}

.gallery-96-modal-title {
    grid-column: 1;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    min-height: 18px;
}

.gallery-96-modal-caption {
    grid-column: 1;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
    max-width: 720px;
    margin-top: 2px;
}

.gallery-96-modal-counter {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .gallery-96-modal-prev { left: 8px; background: rgba(0, 0, 0, 0.45); }
    .gallery-96-modal-next { right: 8px; background: rgba(0, 0, 0, 0.45); }
}

@media (max-width: 640px) {
    .gallery-96-modal-shell {
        width: 100vw;
        height: 100vh;
        padding: 14px;
        box-sizing: border-box;
    }
    .gallery-96-modal-close { top: 8px; right: 8px; }
    .gallery-96-modal-stage { border-radius: 0; }
    .gallery-96-modal-nav { width: 40px; height: 40px; }
    .gallery-96-modal-meta { padding: 12px 0 0; }
    .gallery-96-screen .gallery-96-screen-preview { display: none; }
}

body.gallery-96-modal-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .gallery-96-modal-shell,
    .gallery-96-modal,
    .gallery-96-modal-gallery-track,
    .gallery-96-screen-dot {
        transition: none !important;
        animation: none !important;
    }
}

/* =================================================================
   PAGE-LEVEL COMING SOON OVERLAY (v1.4.1)
   Drops over the entire room — perfect for Met Gala launch staging.
   ================================================================= */

.gallery-96-room-container.is-coming-soon .gallery-96-room-scroll-hint,
.gallery-96-room-container.is-coming-soon .gallery-96-room-scroll-spacer {
    display: none !important;
}

.gallery-96-room-container.is-coming-soon .gallery-96-door,
.gallery-96-room-container.is-coming-soon .gallery-96-screen {
    pointer-events: none !important;
    opacity: 0.25 !important;
}

.gallery-96-room-cs {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    opacity: 0;
    animation: gallery96CsFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes gallery96CsFadeIn {
    to { opacity: 1; }
}

.gallery-96-room-cs-backdrop {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gallery-96-room-cs--room_blur .gallery-96-room-cs-backdrop {
    backdrop-filter: blur(20px) saturate(0.6);
    -webkit-backdrop-filter: blur(20px) saturate(0.6);
    background: radial-gradient(ellipse at center, rgba(8, 10, 18, 0.55) 0%, rgba(0, 0, 0, 0.85) 80%);
}

.gallery-96-room-cs--room_dim .gallery-96-room-cs-backdrop {
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.92) 80%);
}

.gallery-96-room-cs--full_dark .gallery-96-room-cs-backdrop {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(212, 160, 84, 0.06) 0%, transparent 45%),
        linear-gradient(180deg, #0a0a12 0%, #000 60%);
}

.gallery-96-room-cs-card {
    position: relative;
    max-width: 560px;
    width: 90%;
    padding: 54px 48px 44px;
    background:
        linear-gradient(180deg, rgba(20, 14, 10, 0.92) 0%, rgba(10, 6, 4, 0.95) 100%);
    border: 1px solid rgba(212, 160, 84, 0.22);
    border-radius: 3px;
    text-align: center;
    color: #fff;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(212, 160, 84, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    animation: gallery96CsCardIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

@keyframes gallery96CsCardIn {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.gallery-96-room-cs-portrait {
    width: 130px;
    height: 130px;
    margin: 0 auto 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cs-accent, #d4a054);
    box-shadow:
        0 0 0 6px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 160, 84, 0.25);
}

.gallery-96-room-cs-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-96-room-cs-eyebrow {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--cs-accent, #d4a054);
    margin-bottom: 14px;
}

.gallery-96-room-cs-artist {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 18px;
}

.gallery-96-room-cs-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.gallery-96-room-cs-date {
    display: inline-block;
    padding: 7px 18px;
    margin: 0 auto 22px;
    border: 1px solid rgba(212, 160, 84, 0.4);
    border-radius: 2px;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--cs-accent, #d4a054);
    background: rgba(212, 160, 84, 0.05);
}

.gallery-96-room-cs-sub {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
    max-width: 380px;
    margin: 0 auto 28px;
}

.gallery-96-room-cs-divider {
    width: 60px;
    height: 1px;
    background: rgba(212, 160, 84, 0.3);
    margin: 0 auto 20px;
}

.gallery-96-room-cs-footer {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 9px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 640px) {
    .gallery-96-room-cs-card {
        padding: 38px 24px 32px;
    }
    .gallery-96-room-cs-portrait {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
}
