/* ==========================================================================
   HENDI SAPUTRA — 3D ATELIER DESK & CURATED PORTFOLIO
   Design System: Soft Teal Dusk, Warm Amber Lamp, Poetic Serif & Humanist Sans
   ========================================================================== */

:root {
    /* Soft Organic Teal & Warm Studio Palette */
    --bg-base: #070d0f;
    --bg-surface: #0c1518;
    --bg-surface-elevated: #111e22;
    --bg-card: rgba(13, 24, 28, 0.78);
    --bg-card-hover: rgba(19, 35, 41, 0.92);
    --bg-glass: rgba(9, 17, 20, 0.78);
    --bg-glass-heavy: rgba(8, 15, 18, 0.92);
    
    /* Muted, Elegant Borders */
    --border-soft: rgba(94, 234, 212, 0.12);
    --border-medium: rgba(94, 234, 212, 0.25);
    --border-hover: rgba(94, 234, 212, 0.5);
    --border-warm: rgba(251, 191, 36, 0.25);
    
    /* Teal Accents */
    --teal-primary: #2dd4bf;
    --teal-light: #5eead4;
    --teal-soft: #14b8a6;
    --teal-dark: #0f766e;
    --teal-glow: rgba(45, 212, 191, 0.25);
    --teal-glow-subtle: rgba(45, 212, 191, 0.08);
    
    /* Warm Lamp Accents */
    --warm-glow: rgba(244, 211, 163, 0.08);
    --warm-accent: #fbbf24;
    --warm-amber: #f59e0b;
    
    /* Typography Colors */
    --text-ivory: #f0fdfa;
    --text-silver: #cbd5e1;
    --text-muted: #80929d;
    --text-dim: #4d5e68;
    
    /* Fonts: Poetic Serif + Clean Humanist Sans */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Smooth Transitions */
    --ease-gentle: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-fluid: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-ivory);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
}

body.studio-3d-active {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    user-select: none;
}

/* ==========================================================================
   3D ATELIER CANVAS & LOADING SCREEN
   ========================================================================== */

#atelier-3d-stage {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 35%, #11242b 0%, #070d0f 85%);
    transition: opacity 0.6s var(--ease-fluid);
}

#atelier-3d-stage canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
    outline: none;
    touch-action: none;
}

.welcome-close-btn {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-soft);
    color: var(--text-silver);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s;
}

.welcome-close-btn:hover {
    background: var(--teal-primary);
    color: #041013;
}

.dock-label-short {
    display: none;
}

.sketchbook-stage.touch-loupe-active .art-magnifier-loupe {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Studio Loading Curtain */
.atelier-loader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #060b0d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.8s var(--ease-fluid), visibility 0.8s;
}

.atelier-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-emblem {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 0 35px var(--teal-glow);
}

.loader-emblem::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--teal-light);
    border-right-color: var(--warm-accent);
    animation: spinLoader 1.6s linear infinite;
}

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

.loader-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-ivory);
    letter-spacing: 0.02em;
}

.loader-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   3D STUDIO HUD (TOP BAR, WELCOME OVERLAY, FLOATING PINS, BOTTOM DOCK)
   ========================================================================== */

.studio-hud-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2.5rem;
    pointer-events: none;
}

.studio-hud-top > * {
    pointer-events: auto;
}

.hud-brand-pill {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    text-decoration: none;
    color: var(--text-ivory);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s, transform 0.3s;
}

.hud-brand-pill:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.hud-controls-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hud-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.15rem;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    color: var(--text-silver);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: all 0.3s var(--ease-fluid);
    text-decoration: none;
}

.hud-pill-btn:hover {
    color: var(--text-ivory);
    border-color: var(--teal-light);
    background: rgba(20, 36, 42, 0.9);
    transform: translateY(-2px);
}

.hud-pill-btn.active-mood {
    border-color: var(--warm-Border, rgba(251, 191, 36, 0.4));
    color: var(--warm-accent);
}

.hud-clock-badge {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--teal-light);
    letter-spacing: 0.03em;
}

/* Studio Title Banner (Top-Left / Floating Intro) */
.studio-welcome-card {
    position: fixed;
    top: 5.5rem;
    left: 2.5rem;
    z-index: 30;
    max-width: 370px;
    padding: 1.4rem 1.65rem;
    background: rgba(9, 18, 22, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
    transition: opacity 0.45s var(--ease-fluid), transform 0.45s var(--ease-fluid);
}

.studio-welcome-card.minimized {
    opacity: 0;
    transform: translateY(-15px) scale(0.96);
    pointer-events: none;
}

.welcome-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--teal-light);
    margin-bottom: 0.35rem;
}

.studio-welcome-card h1 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.12;
    color: var(--text-ivory);
    margin-bottom: 0.55rem;
}

.studio-welcome-card h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--teal-light);
}

.studio-welcome-card p {
    font-size: 0.85rem;
    color: var(--text-silver);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 0.9rem;
}

.welcome-hint {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.76rem;
    color: var(--warm-accent);
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 0.45rem 0.85rem;
    border-radius: 12px;
}

/* ==========================================================================
   3D-TO-2D PROJECTED OBJECT HOTSPOT PINS
   ========================================================================== */

#hotspot-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 25;
    overflow: hidden;
}

.desk-hotspot {
    position: absolute;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem 0.42rem 0.55rem;
    background: rgba(8, 16, 19, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(94, 234, 212, 0.3);
    border-radius: 999px;
    color: var(--text-ivory);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.55), 0 0 15px rgba(45, 212, 191, 0.12);
    transition: background-color 0.25s, border-color 0.25s, box-shadow 0.25s, opacity 0.3s;
    will-change: transform;
    white-space: nowrap;
}

.desk-hotspot:hover {
    background: rgba(17, 36, 42, 0.96);
    border-color: var(--teal-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(45, 212, 191, 0.35);
}

.desk-hotspot.warm-pin {
    border-color: rgba(251, 191, 36, 0.35);
}

.desk-hotspot.warm-pin:hover {
    border-color: var(--warm-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 22px rgba(251, 191, 36, 0.35);
}

.hotspot-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(45, 212, 191, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
    font-size: 0.72rem;
    position: relative;
}

.desk-hotspot.warm-pin .hotspot-dot {
    background: rgba(251, 191, 36, 0.18);
    color: var(--warm-accent);
}

.hotspot-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid var(--teal-light);
    opacity: 0.5;
    animation: pingRing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.desk-hotspot.warm-pin .hotspot-dot::after {
    border-color: var(--warm-accent);
}

@keyframes pingRing {
    75%, 100% {
        transform: scale(1.65);
        opacity: 0;
    }
}

.hotspot-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.hotspot-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--teal-light);
    opacity: 0.85;
}

/* ==========================================================================
   FLOATING BOTTOM DOCK (STATION SWITCHER)
   ========================================================================== */

.studio-bottom-dock {
    position: fixed;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.65rem;
    background: rgba(8, 16, 19, 0.84);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 30px rgba(45, 212, 191, 0.1);
}

.dock-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-silver);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-fluid);
    white-space: nowrap;
}

.dock-item i {
    font-size: 0.92rem;
    color: var(--teal-light);
    transition: transform 0.3s;
}

.dock-item:hover {
    color: var(--text-ivory);
    background: rgba(45, 212, 191, 0.1);
}

.dock-item:hover i {
    transform: scale(1.15);
}

.dock-item.active {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-soft));
    color: #041013;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.3);
}

.dock-item.active i {
    color: #041013;
}

.dock-divider {
    width: 1px;
    height: 22px;
    background: var(--border-soft);
    margin: 0 0.2rem;
}

/* ==========================================================================
   STATION DRAWER / IMMERSIVE OVERLAY PANELS (SKETCHBOOK, MONITOR, JOURNAL, CONTACT)
   ========================================================================== */

.station-panel-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(4, 9, 11, 0.82);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-fluid), visibility 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.station-panel-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.station-window {
    width: 100%;
    max-width: 1120px;
    max-height: 86vh;
    background: #0a1317;
    border: 1px solid var(--border-medium);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s var(--ease-fluid);
    contain: layout paint;
}

.station-panel-backdrop.open .station-window {
    transform: translateY(0) scale(1);
}

.station-window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.35rem 2rem;
    background: #0f1c21;
    border-bottom: 1px solid var(--border-soft);
}

.station-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.station-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.12);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
    font-size: 1.15rem;
}

.station-title-text h2 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-ivory);
    line-height: 1.1;
}

.station-title-text span {
    font-size: 0.78rem;
    color: var(--teal-light);
    letter-spacing: 0.04em;
}

.station-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-soft);
    color: var(--text-ivory);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s;
}

.station-close-btn:hover {
    background: var(--teal-primary);
    color: #041013;
    border-color: var(--teal-primary);
}

.station-window-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1;
    overscroll-behavior: contain;
    transform: translateZ(0);
    will-change: scroll-position;
}

/* Eliminate heavy nested backdrop-filter inside scrolling station modals */
.station-window-body .curated-card,
.station-window-body .atelier-form-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0e1a1f;
}

/* ==========================================================================
   SKETCHBOOK FLIPBOOK & MAGNIFYING LOUPE (ARTWORK PANEL)
   ========================================================================== */

.sketchbook-viewer {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 2.2rem;
    align-items: center;
    margin-bottom: 2.5rem;
    background: rgba(7, 13, 16, 0.7);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 1.75rem;
}

.sketchbook-stage {
    position: relative;
    width: 100%;
    height: 410px;
    border-radius: 16px;
    overflow: hidden;
    background: #04080a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-soft);
    cursor: crosshair;
}

.sketchbook-stage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-fluid);
}

/* Interactive Magnifying Loupe */
.art-magnifier-loupe {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--teal-light);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(45, 212, 191, 0.35);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s, transform 0.25s;
    background-repeat: no-repeat;
    z-index: 10;
}

.sketchbook-stage:hover .art-magnifier-loupe {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.loupe-hint-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(8, 16, 19, 0.82);
    border: 1px solid var(--border-soft);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.74rem;
    color: var(--teal-light);
    pointer-events: none;
}

.sketchbook-story {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sketchbook-page-counter {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--warm-accent);
}

.sketchbook-story h3 {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 600;
    color: var(--text-ivory);
    line-height: 1.15;
}

.sketchbook-story p {
    color: var(--text-silver);
    font-size: 0.98rem;
    line-height: 1.75;
    font-weight: 300;
}

.sketchbook-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin: 0.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
}

.meta-item span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-item strong {
    font-size: 0.9rem;
    color: var(--text-ivory);
}

.sketchbook-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 0.5rem;
}

.page-turn-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.2rem;
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid var(--border-medium);
    color: var(--text-ivory);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
}

.page-turn-btn:hover {
    background: var(--teal-primary);
    color: #041013;
    border-color: var(--teal-primary);
}

/* Thumbnail Strip */
.sketchbook-thumb-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.9rem;
}

.sketch-thumb {
    border-radius: 14px;
    overflow: hidden;
    height: 86px;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    opacity: 0.6;
    transition: all 0.3s;
}

.sketch-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sketch-thumb:hover,
.sketch-thumb.active {
    opacity: 1;
    border-color: var(--teal-light);
    transform: translateY(-3px);
}

/* ==========================================================================
   MONITOR WORKSTATION PANEL (INTERACTIVE CODE LAB)
   ========================================================================== */

.monitor-os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.code-project-card {
    background: rgba(14, 26, 31, 0.75);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.35s var(--ease-fluid);
}

.code-project-card:hover {
    border-color: var(--teal-light);
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.code-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-badge {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--teal-light);
    background: rgba(45, 212, 191, 0.1);
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.code-project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-ivory);
}

.code-project-card p {
    font-size: 0.92rem;
    color: var(--text-silver);
    font-weight: 300;
    line-height: 1.7;
    flex: 1;
}

/* Live Interactive Generative Sandbox inside Monitor Panel */
.interactive-shader-toy {
    background: #060d10;
    border: 1px solid var(--border-medium);
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.shader-toy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

#mini-generative-canvas {
    width: 100%;
    height: 210px;
    border-radius: 14px;
    background: #04080a;
    cursor: pointer;
    display: block;
}

/* ==========================================================================
   CLASSIC 2D MODE & SHARED PAGES (portfolio.html, about.html, contact.html)
   ========================================================================== */

.classic-2d-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--bg-base);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-fluid), visibility 0.5s;
}

.classic-2d-drawer.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ambient Glowing Mist */
.ambient-mist {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(150px);
    will-change: transform;
}

.ambient-mist-1 {
    width: 650px;
    height: 650px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, var(--teal-glow) 0%, transparent 70%);
    opacity: 0.22;
}

.ambient-mist-2 {
    width: 750px;
    height: 750px;
    bottom: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.25) 0%, var(--warm-glow) 50%, transparent 70%);
    opacity: 0.18;
}

/* Fine Paper / Studio Grain */
.paper-texture {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='paperGrain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23paperGrain)'/%3E%3C/svg%3E");
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: var(--bg-base);
}
::-webkit-scrollbar-thumb {
    background: rgba(94, 234, 212, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--teal-primary);
}

/* Fluid Ink Droplet Cursor */
.ink-cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--teal-light);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    box-shadow: 0 0 10px var(--teal-primary);
}

.ink-cursor-ring {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(94, 234, 212, 0.35);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.35s var(--ease-fluid), 
                height 0.35s var(--ease-fluid), 
                border-color 0.3s, 
                background-color 0.3s, 
                transform 0.1s ease-out;
}

.ink-cursor-ring .cursor-caption {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-ivory);
    opacity: 0;
    transition: opacity 0.25s;
}

.ink-cursor-ring.hovering-art {
    width: 78px;
    height: 78px;
    border-color: var(--teal-light);
    background: rgba(20, 184, 166, 0.15);
    backdrop-filter: blur(6px);
}

.ink-cursor-ring.hovering-art .cursor-caption {
    opacity: 1;
}

.ink-cursor-ring.hovering-link {
    width: 48px;
    height: 48px;
    border-color: rgba(240, 253, 250, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

@media (hover: none) and (pointer: coarse) {
    .ink-cursor-dot, .ink-cursor-ring {
        display: none !important;
    }
}

/* Site Header for 2D Pages */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 7%;
    background: var(--bg-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-soft);
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--text-ivory);
}

.brand-emblem {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-light), var(--teal-dark));
    box-shadow: 0 0 12px var(--teal-glow);
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-ivory);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--teal-soft);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 0.25rem;
    font-weight: 500;
}

.navigation-menu {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-anchor {
    text-decoration: none;
    color: var(--text-silver);
    font-size: 0.92rem;
    position: relative;
    padding: 0.4rem 0;
    transition: color 0.3s;
}

.nav-anchor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: linear-gradient(90deg, var(--teal-light), transparent);
    transition: width 0.35s var(--ease-fluid);
}

.nav-anchor:hover,
.nav-anchor.active {
    color: var(--teal-light);
}

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

.studio-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--teal-light);
    padding: 0.45rem 1rem;
    background: rgba(45, 212, 191, 0.07);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--teal-light);
    box-shadow: 0 0 8px var(--teal-light);
    animation: pulseSoft 2.5s infinite;
}

.nav-mobile-trigger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.nav-mobile-trigger .bar {
    display: block;
    width: 24px;
    height: 1.5px;
    margin: 6px 0;
    background-color: var(--text-ivory);
    transition: all 0.3s var(--ease-fluid);
}

/* Common Artistic Badges & Buttons */
.artistic-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--teal-light);
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid var(--border-soft);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.art-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-soft));
    color: #051013;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(45, 212, 191, 0.2);
    transition: all 0.35s var(--ease-fluid);
    border: none;
    cursor: pointer;
}

.art-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(45, 212, 191, 0.32);
    background: linear-gradient(135deg, var(--teal-light), var(--teal-primary));
}

.art-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--text-ivory);
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    text-decoration: none;
    border: 1px solid var(--border-medium);
    transition: all 0.35s var(--ease-fluid);
    cursor: pointer;
}

.art-btn-secondary:hover {
    border-color: var(--teal-light);
    background: rgba(45, 212, 191, 0.08);
    color: var(--teal-light);
    transform: translateY(-2px);
}

/* Bento & Cards */
.curated-section {
    padding: 6rem 7%;
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
}

.section-prologue {
    margin-bottom: 3rem;
}

.section-prologue h2 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    color: var(--text-ivory);
    line-height: 1.15;
}

.section-prologue p {
    color: var(--text-silver);
    font-size: 1.05rem;
    max-width: 620px;
    margin-top: 0.6rem;
    font-weight: 300;
}

.curated-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
}

.curated-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 24px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: all 0.45s var(--ease-fluid);
}

.curated-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--teal-glow-subtle);
    transform: translateY(-4px);
}

.curated-col-8 { grid-column: span 8; }
.curated-col-4 { grid-column: span 4; }

.curated-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(45, 212, 191, 0.08);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-light);
    font-size: 1.25rem;
    margin-bottom: 1.4rem;
}

.curated-card h3 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: var(--text-ivory);
}

.curated-card p {
    color: var(--text-silver);
    font-size: 0.96rem;
    line-height: 1.75;
    font-weight: 300;
}

.organic-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.organic-pill {
    font-size: 0.82rem;
    color: var(--text-ivory);
    background: rgba(45, 212, 191, 0.06);
    border: 1px solid var(--border-soft);
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.organic-pill:hover {
    border-color: var(--teal-light);
    background: rgba(45, 212, 191, 0.14);
    color: var(--teal-light);
    transform: translateY(-2px);
}

/* Exhibit Gallery */
.exhibit-hero {
    padding: 5.5rem 7% 2rem;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.exhibit-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.exhibit-filter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2.5rem 0 3.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.filter-pill-group {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
}

.filter-button {
    background: rgba(14, 25, 29, 0.6);
    border: 1px solid var(--border-soft);
    color: var(--text-silver);
    padding: 0.58rem 1.5rem;
    border-radius: 999px;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    font-family: var(--font-sans);
}

.filter-button.active {
    background: var(--teal-light);
    color: #051013;
    border-color: var(--teal-light);
    font-weight: 600;
}

.exhibit-sorter {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(14, 25, 29, 0.6);
    border: 1px solid var(--border-soft);
    color: var(--text-silver);
    padding: 0.58rem 1.35rem;
    border-radius: 999px;
    font-size: 0.84rem;
    cursor: pointer;
}

.exhibit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    max-width: 1240px;
    margin: 0 auto 6rem;
    padding: 0 7%;
    position: relative;
    z-index: 2;
}

.exhibit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.18s ease-out;
    cursor: pointer;
    position: relative;
}

.exhibit-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--teal-glow-subtle);
}

.exhibit-media-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #081114;
}

.exhibit-media-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-fluid);
}

.exhibit-card:hover .exhibit-media-wrap img {
    transform: scale(1.07);
}

.code-craft-wrap {
    width: 100%;
    height: 260px;
    background: linear-gradient(145deg, #091316, #0e1d22);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}

.code-craft-watermark {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 7.5rem;
    color: rgba(45, 212, 191, 0.04);
    pointer-events: none;
}

.code-craft-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--teal-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.code-craft-snippet {
    font-size: 0.85rem;
    color: var(--text-silver);
    line-height: 1.65;
    font-style: italic;
    border-left: 2px solid var(--teal-soft);
    padding-left: 1rem;
    margin-top: 0.5rem;
}

.card-soft-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 22px;
    background: radial-gradient(circle at 50% 50%, rgba(94, 234, 212, 0.1) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.3s;
    mix-blend-mode: screen;
    z-index: 5;
}

.exhibit-card:hover .card-soft-glare {
    opacity: 1;
}

.exhibit-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.exhibit-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.65rem;
}

.exhibit-category-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--teal-light);
}

.exhibit-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--text-ivory);
    margin-bottom: 0.55rem;
}

.exhibit-card-body p {
    color: var(--text-silver);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.35rem;
    font-weight: 300;
    flex-grow: 1;
}

.exhibit-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-soft);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.exhibit-view-action {
    color: var(--teal-light);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Lightbox Modal */
.curatorial-modal {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(5, 10, 12, 0.92);
    backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease-fluid);
    padding: 2rem;
}

.curatorial-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.curatorial-dialog {
    max-width: 920px;
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.85);
    transform: scale(0.95);
    transition: transform 0.45s var(--ease-fluid);
    display: flex;
    flex-direction: column;
}

.curatorial-modal.active .curatorial-dialog {
    transform: scale(1);
}

.modal-close-trigger {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-soft);
    color: var(--text-ivory);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 10;
    transition: all 0.25s;
}

.modal-close-trigger:hover {
    background: var(--teal-primary);
    color: #051013;
    transform: rotate(90deg);
}

.modal-artwork-stage {
    width: 100%;
    max-height: 520px;
    background: #030607;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-artwork-stage img {
    max-width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.modal-curator-notes {
    padding: 1.8rem 2.2rem;
    background: var(--bg-surface-elevated);
}

.modal-curator-notes h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-curator-notes p {
    color: var(--text-silver);
    font-size: 0.96rem;
    font-weight: 300;
}

/* About & Odyssey Story */
.story-hero {
    padding: 5.5rem 7% 3rem;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.story-header-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.story-portrait-frame {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.story-portrait-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.story-narrative h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4.5vw, 3.8rem);
    font-weight: 600;
    margin-bottom: 1.4rem;
    line-height: 1.1;
}

.story-paragraph {
    color: var(--text-silver);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.35rem;
    font-weight: 300;
}

.cv-invitation-box {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cv-invitation-text h4 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
}

.cv-invitation-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.odyssey-track {
    position: relative;
    padding-left: 2.2rem;
    border-left: 1.5px solid var(--border-soft);
    margin-top: 2rem;
}

.odyssey-node {
    position: relative;
    margin-bottom: 2.4rem;
}

.odyssey-dot {
    position: absolute;
    left: -2.6rem;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--teal-light);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--teal-primary);
}

.odyssey-era {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--teal-light);
    margin-bottom: 0.25rem;
}

.odyssey-node h4 {
    font-size: 1.15rem;
    margin-bottom: 0.45rem;
}

.odyssey-node p {
    color: var(--text-silver);
    font-size: 0.92rem;
    font-weight: 300;
}

/* Contact Atelier */
.atelier-hero {
    padding: 5.5rem 7%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.atelier-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    margin-top: 2rem;
}

.atelier-details h2 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.atelier-details p {
    color: var(--text-silver);
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    font-weight: 300;
}

.atelier-channel-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.atelier-channel-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.15rem 1.4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    text-decoration: none;
    color: var(--text-ivory);
    transition: all 0.35s var(--ease-fluid);
}

.atelier-channel-item:hover {
    border-color: var(--teal-light);
    transform: translateX(6px);
    background: var(--bg-card-hover);
}

.atelier-channel-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(45, 212, 191, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--teal-light);
}

.atelier-channel-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.atelier-channel-value {
    font-size: 0.98rem;
    font-weight: 500;
}

.atelier-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 22px;
    padding: 2.2rem;
}

.form-field {
    margin-bottom: 1.4rem;
}

.form-field label {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--teal-light);
    margin-bottom: 0.45rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: rgba(10, 19, 22, 0.65);
    border: 1px solid var(--border-soft);
    border-radius: 13px;
    padding: 0.9rem 1.15rem;
    color: var(--text-ivory);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--teal-light);
    background: rgba(45, 212, 191, 0.05);
}

.form-submit-action {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-soft));
    color: #051013;
    border: none;
    border-radius: 13px;
    font-family: var(--font-sans);
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.35s var(--ease-fluid);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
}

.form-submit-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px var(--teal-glow);
}

.toast-notice {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    background: #091518;
    border: 1px solid var(--teal-light);
    color: var(--text-ivory);
    padding: 1.1rem 1.6rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.45s var(--ease-fluid);
}

.toast-notice.show {
    transform: translateY(0);
    opacity: 1;
}

/* Footer */
.curator-footer {
    position: relative;
    z-index: 2;
    padding: 3rem 7%;
    border-top: 1px solid var(--border-soft);
    background: var(--bg-base);
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-silver);
}

.footer-rights {
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.footer-social-link {
    color: var(--text-silver);
    font-size: 1.2rem;
    transition: color 0.25s, transform 0.25s;
}

.footer-social-link:hover {
    color: var(--teal-light);
    transform: translateY(-3px);
}

@keyframes pulseSoft {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ULTRAWIDE, TABLET, MOBILE PORTRAIT & SMALL PHONES)
   ========================================================================== */

@media (max-width: 1100px) {
    .studio-welcome-card {
        max-width: 330px;
        padding: 1.2rem 1.4rem;
    }
    .studio-welcome-card h1 {
        font-size: 1.75rem;
    }
    .exhibit-grid {
        grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    }
}

@media (max-width: 992px) {
    .sketchbook-viewer {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    .sketchbook-stage {
        height: clamp(240px, 38vh, 340px);
    }
    .sketchbook-thumb-strip {
        grid-template-columns: repeat(3, 1fr);
    }
    .story-header-layout,
    .atelier-layout {
        grid-template-columns: 1fr;
        gap: 2.2rem;
    }
    .story-portrait-frame {
        max-width: 220px;
        margin: 0 auto;
    }
    .curated-col-8, .curated-col-4 {
        grid-column: span 12;
    }
    .station-window-header {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    /* Top HUD Mobile Layout */
    .studio-hud-top {
        padding: 0.75rem 0.9rem;
        gap: 0.5rem;
    }
    .hud-brand-pill {
        padding: 0.45rem 0.9rem;
        gap: 0.55rem;
    }
    .hud-brand-pill .brand-name {
        font-size: 1.05rem !important;
    }
    .hud-brand-pill .brand-subtitle {
        display: none;
    }
    .hud-controls-right {
        gap: 0.4rem;
    }
    .hud-pill-btn {
        padding: 0.48rem 0.78rem;
        font-size: 0.74rem;
        gap: 0.35rem;
    }
    .hud-hide-mobile {
        display: none !important;
    }

    /* Compact Collapsible Welcome Card on Mobile */
    .studio-welcome-card {
        top: 3.85rem;
        left: 0.9rem;
        right: 0.9rem;
        max-width: none;
        padding: 0.95rem 2.2rem 0.95rem 1.15rem;
        border-radius: 18px;
    }
    .welcome-eyebrow {
        font-size: 0.82rem;
        margin-bottom: 0.15rem;
    }
    .studio-welcome-card h1 {
        font-size: 1.35rem;
        margin-bottom: 0.35rem;
    }
    .studio-welcome-card p {
        font-size: 0.78rem;
        margin-bottom: 0.55rem;
        line-height: 1.45;
    }
    .welcome-hint {
        font-size: 0.7rem;
        padding: 0.35rem 0.65rem;
    }

    /* Compact 3D Hotspot Pins on Mobile (No Overlap) */
    .desk-hotspot {
        padding: 0.3rem 0.68rem 0.3rem 0.38rem;
        gap: 0.38rem;
    }
    .hotspot-dot {
        width: 20px;
        height: 20px;
        font-size: 0.64rem;
    }
    .hotspot-label {
        font-size: 0.7rem;
    }
    .hotspot-sub {
        display: none;
    }

    /* Thumb-Friendly 5-Column Grid Bottom Dock on Mobile */
    .studio-bottom-dock {
        width: calc(100% - 1.4rem);
        max-width: 460px;
        bottom: max(0.65rem, env(safe-area-inset-bottom));
        padding: 0.35rem;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.25rem;
        border-radius: 20px;
    }
    .dock-divider {
        display: none;
    }
    .dock-item {
        flex-direction: column;
        justify-content: center;
        padding: 0.45rem 0.2rem;
        gap: 0.22rem;
        border-radius: 14px;
        font-size: 0.68rem;
        text-align: center;
    }
    .dock-item i {
        font-size: 0.95rem;
    }
    .dock-label-full {
        display: none;
    }
    .dock-label-short {
        display: inline;
    }

    /* Station Modal Bottom-Sheet Style on Mobile */
    .station-panel-backdrop {
        padding: 0.5rem;
        align-items: flex-end;
    }
    .station-window {
        max-height: 90vh;
        border-radius: 22px 22px 16px 16px;
    }
    .station-window-header {
        padding: 0.9rem 1.1rem;
    }
    .station-icon-badge {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
    .station-title-text h2 {
        font-size: 1.25rem;
    }
    .station-title-text span {
        font-size: 0.7rem;
        display: block;
    }
    .station-close-btn {
        padding: 0.45rem 0.85rem;
        font-size: 0.76rem;
    }
    .station-window-body {
        padding: 1.1rem;
        -webkit-overflow-scrolling: touch;
    }
    .sketchbook-story h3 {
        font-size: 1.65rem;
    }
    .sketchbook-nav-controls {
        flex-direction: column;
        gap: 0.55rem;
    }
    .page-turn-btn {
        width: 100%;
    }
    .monitor-os-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* 2D Shared Pages Mobile Responsive */
    .site-header {
        padding: 1rem 5%;
    }
    .navigation-menu {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(7, 13, 15, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-soft);
        transform: translateY(-160%);
        transition: transform 0.45s var(--ease-fluid);
    }
    .navigation-menu.active {
        transform: translateY(0);
    }
    .nav-mobile-trigger {
        display: block;
    }
    .exhibit-hero,
    .story-hero,
    .atelier-hero,
    .curated-section {
        padding-left: 5%;
        padding-right: 5%;
    }
    .exhibit-grid {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
    .cv-invitation-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }
    .atelier-form-card {
        padding: 1.4rem;
    }
    /* Prevent iOS Safari zoom on input focus */
    .form-field input,
    .form-field textarea {
        font-size: 16px;
    }
    .toast-notice {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .hud-pill-btn span#mood-label-text {
        display: none;
    }
    .studio-welcome-card h1 {
        font-size: 1.2rem;
    }
    .sketchbook-meta-grid {
        grid-template-columns: 1fr;
    }
    .sketch-thumb {
        height: 68px;
    }
}
