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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #3a2e28;
    background: #faf6f0;
    overflow-x: hidden;
}

/* === Skeleton Overlay === */
.skeleton-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #faf6f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.2s ease, visibility 1.2s ease;
}

.skeleton-overlay.revealed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.skeleton-chamber {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.skeleton-block {
    background: linear-gradient(90deg, #f0e4d6 25%, #f5ede3 50%, #f0e4d6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 12px;
}

.skeleton-title {
    width: 280px;
    height: 48px;
}

.skeleton-subtitle {
    width: 180px;
    height: 24px;
}

.skeleton-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* === Chambers === */
.chamber {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: clamp(2rem, 8vw, 12rem);
    padding-block: 4rem;
    overflow: hidden;
}

.chamber-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.chamber-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Bokeh Fields === */
.bokeh-field {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* === Typography === */
.display-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.prismatic {
    background: linear-gradient(135deg, #d4e7f0, #e8c4d4, #d4b8e8, #d4c098);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: prismaticShift 6s ease infinite;
}

@keyframes prismaticShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #3a2e28;
    opacity: 0.7;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2rem, 4.5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.8;
    color: #3a2e28;
    opacity: 0.85;
    max-width: 600px;
    margin-inline: auto;
}

/* === Scroll Indicator === */
.scroll-indicator {
    margin-top: 3rem;
}

.scroll-line {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #3a2e28, transparent);
    margin-inline: auto;
    animation: scrollPulse 2s ease infinite;
}

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

/* === Prism Divider === */
.prism-divider {
    width: 120px;
    height: 1px;
    margin: 3rem auto 0;
    background: linear-gradient(90deg, transparent, #e8c4d4, #d4e7f0, #d4b8e8, transparent);
}

/* === Feature Grid === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    background: rgba(250, 246, 240, 0.6);
    backdrop-filter: blur(8px);
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #d4e7f0, #e8c4d4, #d4b8e8);
    background-size: 200% 200%;
    animation: prismaticShift 4s ease infinite;
}

.feature-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

/* === Prismatic Border === */
.prismatic-border {
    border: 1px solid transparent;
    background-image: linear-gradient(#faf6f0, #faf6f0), linear-gradient(135deg, #d4e7f0, #e8c4d4, #d4b8e8, #d4c098);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* === CTA Link === */
.cta-link {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #3a2e28;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(212, 184, 232, 0.3);
}

/* === Footer === */
.chamber-footer {
    min-height: 30vh;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* === Chamber Backgrounds === */
.chamber-hero {
    background: #faf6f0;
}

.chamber-atelier {
    background: #f5ede3;
}

.chamber-craft {
    background: #f0e4d6;
}

.chamber-vision {
    background: #faf6f0;
}

.chamber-signal {
    background: #f5ede3;
}

.chamber-footer {
    background: #faf6f0;
}
