/* BBOTTL.com - Holographic Bottle Experience */
/* Colors: #0a0a0f, #0d1117, #0d1f17, #2d6a4f, #3a5fc8, #c45b8a, #d4a039, #e8e4df, #8a8578, #f0c75e */
/* Fonts: Cormorant Garamond, DM Sans, Playfair Display */

/* ========================================
   CSS Custom Properties (Animated)
   ======================================== */

@property --prismatic-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --liquid-fill {
    syntax: '<percentage>';
    initial-value: 0%;
    inherits: false;
}

:root {
    --obsidian: #0a0a0f;
    --deep-black: #0d1117;
    --bottle-green-dark: #0d1f17;
    --apothecary-green: #2d6a4f;
    --amber-glow: #d4a039;
    --rose-refraction: #c45b8a;
    --cobalt-flash: #3a5fc8;
    --frosted-white: #e8e4df;
    --smoked-glass: #8a8578;
    --liquid-gold: #f0c75e;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--obsidian);
    color: var(--frosted-white);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ========================================
   Ambient Background Breathing
   ======================================== */

.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%, var(--deep-black), var(--obsidian));
    animation: ambientBreathe 12s ease-in-out infinite alternate;
}

@keyframes ambientBreathe {
    0% {
        background: radial-gradient(ellipse at 50% 50%, #0d1117 0%, #0a0a0f 100%);
    }
    50% {
        background: radial-gradient(ellipse at 45% 55%, #0d1f17 0%, #0a0a0f 100%);
    }
    100% {
        background: radial-gradient(ellipse at 55% 45%, #0d1117 0%, #0a0a0f 100%);
    }
}

/* ========================================
   Mouse-Follow Glow
   ======================================== */

.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 57, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mouse-glow.visible {
    opacity: 1;
}

/* ========================================
   Floating Navigation
   ======================================== */

.chamber-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.chamber-nav.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(232, 228, 223, 0.06);
    border-radius: 50px;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--frosted-white);
}

.nav-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(232, 228, 223, 0.3);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 0;
    transition: border-color 0.3s ease;
}

.nav-dot:hover {
    border-color: var(--liquid-gold);
}

.dot-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--liquid-gold);
    border-radius: 50%;
    transition: height 0.6s ease;
}

.nav-dot.active .dot-fill {
    height: 100%;
}

/* ========================================
   Chambers - Base
   ======================================== */

.chamber {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chamber-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.chamber.in-view .chamber-bg {
    opacity: 1;
}

/* Chamber backgrounds */
#chamber1 .chamber-bg {
    background: radial-gradient(ellipse at center, #0d1f17 0%, #0a0a0f 70%);
}

#chamber2 .chamber-bg {
    background: linear-gradient(180deg, #0a0a0f 0%, #0d1f17 40%, #0d1f17 60%, #0a0a0f 100%);
}

#chamber3 .chamber-bg {
    background: radial-gradient(ellipse at 30% 50%, rgba(58, 95, 200, 0.12) 0%, #0a0a0f 70%);
}

#chamber4 .chamber-bg {
    background: linear-gradient(135deg, #0d1117 0%, rgba(196, 91, 138, 0.08) 50%, #0d1117 100%);
}

#chamber5 .chamber-bg {
    background: radial-gradient(ellipse at 50% 80%, rgba(240, 199, 94, 0.08) 0%, #0a0a0f 70%);
}

.chamber-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
}

/* ========================================
   Pour Animation (Text Reveals)
   ======================================== */

@keyframes pour-in {
    0% {
        clip-path: inset(0 0 100% 0);
        transform: scaleY(1.3);
        transform-origin: top;
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        clip-path: inset(0);
        transform: scaleY(1);
    }
}

.pour-reveal {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: scaleY(1.3);
    transform-origin: top;
}

.chamber.in-view .pour-reveal {
    animation: pour-in 0.6s ease-out forwards;
}

.chamber.in-view .pour-reveal:nth-child(2) {
    animation-delay: 0.15s;
}

/* ========================================
   Chamber 1: Hero
   ======================================== */

.chamber-hero {
    z-index: 2;
}

/* Bottle Silhouette */
.bottle-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 200px;
    height: 520px;
    z-index: 1;
    transition: transform 0.1s linear;
}

.bottle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bottle-outline {
    stroke-dasharray: 1600;
    stroke-dashoffset: 1600;
    animation: drawBottle 3s ease forwards 0.5s;
}

@keyframes drawBottle {
    to {
        stroke-dashoffset: 0;
    }
}

.refraction-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: url(#bottleClip);
    background: conic-gradient(
        from var(--prismatic-angle, 0deg),
        rgba(58, 95, 200, 0.15),
        rgba(240, 199, 94, 0.12),
        rgba(196, 91, 138, 0.15),
        rgba(45, 106, 79, 0.12),
        rgba(58, 95, 200, 0.15)
    );
    animation: prismaticRotate 10s linear infinite;
}

@keyframes prismaticRotate {
    to {
        --prismatic-angle: 360deg;
    }
}

/* Fallback for browsers that don't support @property */
@supports not (background: conic-gradient(from 0deg, red, blue)) {
    .refraction-layer {
        background: linear-gradient(
            135deg,
            rgba(58, 95, 200, 0.15),
            rgba(240, 199, 94, 0.12),
            rgba(196, 91, 138, 0.15)
        );
        animation: refractionFallback 10s linear infinite;
    }
}

@keyframes refractionFallback {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.bottle-condensation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: url(#bottleClip);
    background-image:
        radial-gradient(circle 1.5px at 20% 30%, rgba(232, 228, 223, 0.06) 50%, transparent 50%),
        radial-gradient(circle 1px at 40% 50%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 2px at 65% 25%, rgba(232, 228, 223, 0.04) 50%, transparent 50%),
        radial-gradient(circle 1px at 75% 60%, rgba(232, 228, 223, 0.06) 50%, transparent 50%),
        radial-gradient(circle 1.5px at 30% 70%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 1px at 55% 85%, rgba(232, 228, 223, 0.04) 50%, transparent 50%),
        radial-gradient(circle 2px at 80% 40%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 1px at 15% 55%, rgba(232, 228, 223, 0.03) 50%, transparent 50%);
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    padding-top: 0;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(4rem, 14vw, 12rem);
    letter-spacing: 0.15em;
    line-height: 1;
    color: var(--frosted-white);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.8s ease, transform 1.8s ease;
}

.chamber.in-view .hero-title {
    opacity: 1;
    transform: translateY(0);
}

/* Chromatic Aberration on Hero Text */
.chromatic-text {
    position: relative;
    display: inline-block;
}

.chromatic-text::before,
.chromatic-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-title {
    text-shadow:
        -2px 0 rgba(196, 91, 138, 0.2),
        2px 0 rgba(58, 95, 200, 0.15),
        0 0 40px rgba(212, 160, 57, 0.05);
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--liquid-gold);
    margin-top: 1.5rem;
    opacity: 0;
    transition: opacity 1.8s ease 0.6s;
}

.chamber.in-view .hero-tagline {
    opacity: 0.85;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--smoked-glass);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--liquid-gold), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ========================================
   Chamber Transition Text
   ======================================== */

.chamber-transition-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 3vw, 2rem);
    color: var(--liquid-gold);
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
}

.chamber.in-view .chamber-transition-text {
    opacity: 0.7;
}

/* ========================================
   SVG Bottle Drawing in Chambers
   ======================================== */

.chamber-bottle-svg {
    position: absolute;
    width: 120px;
    height: 300px;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    z-index: 1;
}

.chamber-bottle-svg.right {
    left: auto;
    right: 5%;
}

.svg-draw-path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    transition: stroke-dashoffset 2s ease;
}

.chamber.in-view .svg-draw-path {
    stroke-dashoffset: 0;
}

/* ========================================
   Chamber 2: Origin (Split-Screen)
   ======================================== */

.origin-content {
    max-width: 1100px;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
}

.glass-texture-panel {
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}

.chamber.in-view .glass-texture-panel {
    opacity: 1;
    transform: translateX(0);
}

.texture-gradient {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(45, 106, 79, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(58, 95, 200, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, rgba(13, 31, 23, 0.8) 0%, rgba(10, 10, 15, 0.9) 100%);
    animation: textureShift 8s ease-in-out infinite alternate;
}

@keyframes textureShift {
    0% { filter: brightness(0.8) saturate(1.2); }
    100% { filter: brightness(1.1) saturate(1.5); }
}

.texture-condensation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle 2px at 15% 20%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 1.5px at 35% 45%, rgba(232, 228, 223, 0.04) 50%, transparent 50%),
        radial-gradient(circle 2.5px at 60% 30%, rgba(232, 228, 223, 0.03) 50%, transparent 50%),
        radial-gradient(circle 1px at 80% 65%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 1.5px at 25% 75%, rgba(232, 228, 223, 0.04) 50%, transparent 50%),
        radial-gradient(circle 2px at 50% 55%, rgba(232, 228, 223, 0.03) 50%, transparent 50%),
        radial-gradient(circle 1px at 70% 85%, rgba(232, 228, 223, 0.05) 50%, transparent 50%),
        radial-gradient(circle 3px at 45% 15%, rgba(232, 228, 223, 0.03) 50%, transparent 50%),
        radial-gradient(circle 1.5px at 90% 40%, rgba(232, 228, 223, 0.04) 50%, transparent 50%);
    pointer-events: none;
}

.split-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
}

.chamber.in-view .split-right {
    opacity: 1;
    transform: translateX(0);
}

/* Apothecary Label Border */
.apothecary-label {
    position: relative;
}

.label-border {
    position: relative;
    border: 1px solid rgba(232, 228, 223, 0.12);
    border-radius: 4px;
    padding: 2.5rem;
    outline: 1px solid rgba(232, 228, 223, 0.06);
    outline-offset: 6px;
}

.label-diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(212, 160, 57, 0.5);
    transform: rotate(45deg);
    background: var(--obsidian);
}

.label-diamond.top-left { top: -4px; left: -4px; }
.label-diamond.top-right { top: -4px; right: -4px; }
.label-diamond.bottom-left { bottom: -4px; left: -4px; }
.label-diamond.bottom-right { bottom: -4px; right: -4px; }

.chamber-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--frosted-white);
    margin-bottom: 1.5rem;
}

.chamber-body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(232, 228, 223, 0.65);
    margin-bottom: 1rem;
}

/* Liquid Level Indicator */
.liquid-level {
    height: 4px;
    background: rgba(232, 228, 223, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.liquid-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--apothecary-green), var(--cobalt-flash));
    border-radius: 2px;
    transition: width 2.5s ease 0.5s;
}

.chamber.in-view .liquid-fill {
    width: 75%;
}

/* ========================================
   Chamber 3: Collection (Staggered Grid)
   ======================================== */

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    padding-top: 1rem;
}

.bottle-card {
    position: relative;
    background: rgba(232, 228, 223, 0.02);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    border: 1px solid rgba(232, 228, 223, 0.06);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.chamber.in-view .bottle-card {
    opacity: 1;
    transform: translateY(var(--card-offset, 0px));
}

.chamber.in-view .bottle-card:nth-child(1) { transition-delay: 0s; }
.chamber.in-view .bottle-card:nth-child(2) { transition-delay: 0.1s; }
.chamber.in-view .bottle-card:nth-child(3) { transition-delay: 0.2s; }
.chamber.in-view .bottle-card:nth-child(4) { transition-delay: 0.3s; }
.chamber.in-view .bottle-card:nth-child(5) { transition-delay: 0.4s; }

.bottle-card:hover {
    border-color: rgba(232, 228, 223, 0.15);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
}

/* Card Glow (backlight effect) */
.card-glow {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.bottle-card:hover .card-glow {
    opacity: 0.5;
}

.apothecary-glow { background: var(--cobalt-flash); }
.emerald-glow { background: var(--apothecary-green); }
.gold-glow { background: var(--amber-glow); }
.rose-glow { background: var(--rose-refraction); }
.clear-glow { background: rgba(232, 228, 223, 0.3); }

.bottle-icon-wrapper {
    width: 60px;
    height: 140px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.bottle-icon-svg {
    width: 100%;
    height: 100%;
}

.bottle-name {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--frosted-white);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.bottle-desc {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--smoked-glass);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.bottle-year {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.85rem;
    color: var(--liquid-gold);
    position: relative;
    z-index: 1;
}

/* ========================================
   Chamber 4: Process (Horizontal Gallery)
   ======================================== */

.process-content {
    max-width: 100%;
    padding: 2rem;
}

.process-content .chamber-title {
    text-align: center;
    margin-bottom: 2rem;
}

.horizontal-gallery-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
}

.horizontal-gallery-track {
    display: flex;
    gap: 0;
    align-items: stretch;
    transition: transform 0.3s ease;
    will-change: transform;
}

.process-vignette {
    flex: 0 0 min(80vw, 350px);
    padding: 2.5rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.chamber.in-view .process-vignette {
    opacity: 1;
    transform: translateY(0);
}

.chamber.in-view .process-vignette:nth-child(1) { transition-delay: 0.1s; }
.chamber.in-view .process-vignette:nth-child(3) { transition-delay: 0.2s; }
.chamber.in-view .process-vignette:nth-child(5) { transition-delay: 0.3s; }
.chamber.in-view .process-vignette:nth-child(7) { transition-delay: 0.4s; }
.chamber.in-view .process-vignette:nth-child(9) { transition-delay: 0.5s; }
.chamber.in-view .process-vignette:nth-child(11) { transition-delay: 0.6s; }

.vignette-number {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 3rem;
    color: rgba(232, 228, 223, 0.06);
    line-height: 1;
    margin-bottom: 1rem;
}

.vignette-line-art {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.vignette-line-art svg {
    width: 100%;
    height: 100%;
}

.vignette-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--frosted-white);
    margin-bottom: 0.75rem;
}

.vignette-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--smoked-glass);
}

.glass-divider {
    flex: 0 0 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(232, 228, 223, 0.08) 30%,
        rgba(232, 228, 223, 0.08) 70%,
        transparent
    );
    align-self: stretch;
    margin: 2rem 0;
}

/* Gallery Progress Bar */
.gallery-progress {
    width: 200px;
    height: 2px;
    background: rgba(232, 228, 223, 0.08);
    border-radius: 1px;
    margin: 2rem auto 0;
    overflow: hidden;
}

.gallery-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--amber-glow), var(--rose-refraction));
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* ========================================
   Chamber 5: Close
   ======================================== */

.legacy-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.breathing-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 199, 94, 0.06) 0%, transparent 70%);
    animation: breatheGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes breatheGlow {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.legacy-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--frosted-white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.chamber.in-view .legacy-title {
    opacity: 1;
    transform: translateY(0);
}

.legacy-quote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--liquid-gold);
    margin-bottom: 2rem;
    opacity: 0;
    transition: opacity 1.2s ease 0.2s;
    position: relative;
    z-index: 1;
}

.chamber.in-view .legacy-quote {
    opacity: 0.8;
}

.legacy-body {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(232, 228, 223, 0.6);
    margin-bottom: 3rem;
    opacity: 0;
    transition: opacity 1.2s ease 0.4s;
    position: relative;
    z-index: 1;
}

.chamber.in-view .legacy-body {
    opacity: 1;
}

.legacy-cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 1s ease 0.7s;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.chamber.in-view .legacy-cta {
    opacity: 1;
}

.cta-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--liquid-gold);
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
}

.legacy-cta:hover .cta-text {
    color: var(--frosted-white);
}

.cta-line {
    width: 60px;
    height: 1px;
    background: var(--liquid-gold);
    transition: width 0.4s ease;
}

.legacy-cta:hover .cta-line {
    width: 100px;
}

/* Condensation Drops */
.condensation-drops {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.drop {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(232, 228, 223, 0.12);
    border-radius: 50%;
    animation: drip var(--drip-duration, 5s) ease-in infinite;
    animation-delay: var(--drip-delay, 0s);
}

@keyframes drip {
    0% { transform: translateY(0); opacity: 0.4; }
    100% { transform: translateY(120px); opacity: 0; }
}

/* ========================================
   Prismatic Border Effect
   ======================================== */

.prismatic-border {
    position: relative;
}

.prismatic-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from var(--prismatic-angle, 0deg),
        #d4a039,
        #c45b8a,
        #3a5fc8,
        #d4a039
    );
    z-index: -1;
    opacity: 0.3;
    animation: prismaticRotate 6s linear infinite;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .glass-texture-panel {
        height: 250px;
    }

    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .bottle-card {
        padding: 1.5rem 1rem;
    }

    .bottle-icon-wrapper {
        width: 45px;
        height: 105px;
    }

    .chamber-bottle-svg {
        display: none;
    }

    .nav-logo {
        font-size: 0.9rem;
    }

    .nav-dots {
        gap: 0.6rem;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
    }

    .process-vignette {
        flex: 0 0 85vw;
    }

    .hero-title {
        font-size: clamp(3rem, 16vw, 6rem);
    }

    .label-border {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }

    .process-vignette {
        flex: 0 0 90vw;
        padding: 2rem 1rem;
    }

    .chamber-content {
        padding: 1.5rem;
    }
}

/* ========================================
   Selection Styles
   ======================================== */

::selection {
    background: rgba(212, 160, 57, 0.3);
    color: var(--frosted-white);
}

/* ========================================
   Scrollbar
   ======================================== */

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--obsidian);
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 228, 223, 0.15);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 228, 223, 0.25);
}
