/* lune.dev — Chrome Art Deco Observatory */
/* Colors: #1C1C1E, #333333, #4A4A4A, #B8B8B8, #C9A84C, #CCCCCC, #D4D4D4, #F0F0F0, #FFFFFF */
/* Fonts: Poiret One, Inter, Space Grotesk */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #1C1C1E;
    color: #D4D4D4;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Intro Section */
.intro-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #1C1C1E;
}

.sunburst {
    position: absolute;
    opacity: 0;
    transition: opacity 1s ease;
}

.sunburst.visible {
    opacity: 0.6;
}

.sunburst-ray {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sunburst-ray.visible {
    opacity: 1;
}

.crescent-moon {
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.crescent-moon.visible {
    opacity: 1;
    transform: scale(1);
}

.crescent-body {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFFFFF, #B8B8B8);
    box-shadow:
        inset -15px 0 0 #1C1C1E,
        0 0 30px rgba(201, 168, 76, 0.15);
}

.site-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(180deg, #FFFFFF, #B8B8B8, #FFFFFF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 3;
    margin-top: 20px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.site-title.visible {
    opacity: 1;
}

.site-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: #4A4A4A;
    text-transform: uppercase;
    margin-top: 8px;
    position: relative;
    z-index: 3;
}

/* Chevron Sections */
.chevron-section {
    padding: 80px 40px;
    position: relative;
    background-color: #1C1C1E;
    clip-path: polygon(0 0, 50% 4%, 100% 0, 100% 96%, 50% 100%, 0 96%);
    margin: -20px 0;
}

.chevron-section.section-dark {
    background-color: #141416;
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

/* Fluted Lines */
.fluted-lines {
    position: absolute;
    top: 0;
    height: 100%;
    width: 20px;
    display: flex;
    gap: 3px;
}

.left-flutes {
    left: -40px;
}

.right-flutes {
    right: -40px;
}

.fluted-lines::before,
.fluted-lines::after {
    content: '';
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #4A4A4A, transparent);
}

.fluted-lines::before {
    margin-right: 4px;
}

/* Typography */
.deco-heading {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(180deg, #FFFFFF, #CCCCCC);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    line-height: 1.8;
    color: #B8B8B8;
    max-width: 50ch;
    margin: 0 auto;
}

.deco-quote {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.5;
    color: #C9A84C;
    border: none;
    margin: 0;
    padding: 20px 0;
    max-width: 500px;
    display: inline-block;
    border-top: 1px solid rgba(201, 168, 76, 0.3);
    border-bottom: 1px solid rgba(201, 168, 76, 0.3);
}

/* Stepped Frame */
.stepped-frame {
    border: 1px solid #333333;
    padding: 40px;
    position: relative;
    box-shadow:
        inset 4px 4px 0 #1C1C1E,
        inset -4px -4px 0 #1C1C1E,
        inset 8px 8px 0 #333333,
        inset -8px -8px 0 #333333;
}

.stat-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.stat-block {
    text-align: center;
}

.stat-value {
    font-family: 'Poiret One', cursive;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: #F0F0F0;
    display: block;
}

.stat-unit {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 400;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    color: #4A4A4A;
    text-transform: uppercase;
    display: block;
    margin-top: 4px;
}

/* Instrument Grid */
.instrument-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
}

.instrument-card {
    border: 1px solid #333333;
    padding: 24px 20px;
    text-align: center;
    min-width: 150px;
    transition: border-color 0.3s ease;
}

.instrument-card:hover {
    border-color: #C9A84C;
}

.instrument-name {
    font-family: 'Poiret One', cursive;
    font-size: 1rem;
    letter-spacing: 0.1em;
    color: #D4D4D4;
    display: block;
}

.instrument-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.6rem;
    color: #4A4A4A;
    letter-spacing: 0.06em;
    display: block;
    margin-top: 6px;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 40px;
}

.footer-palmette {
    margin-bottom: 12px;
}

.footer-text {
    font-family: 'Poiret One', cursive;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #333333;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-row {
        flex-direction: column;
        gap: 20px;
    }

    .instrument-grid {
        flex-direction: column;
        align-items: center;
    }

    .chevron-section {
        padding: 60px 24px;
        clip-path: none;
    }
}
