/* === continu.ax styles === */
/* Colors: #F5F0E8, #C0C0C8, #D85040, #D8A830, #3898A0, #404048, #2A2A30, #8A8888 */
/* Chrome metallic: #B0B0B8, #B8B8C0, #C8C8D0, #D0D0D8, #D8D8E0 */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F5F0E8;
    color: #2A2A30;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.75;
    overflow-x: hidden;
}

/* === Navigation === */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    background: rgba(245, 240, 232, 0.95);
    z-index: 100;
}

.nav-mark {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #2A2A30;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.nav-link.active[data-accent="vermillion"] { border-bottom-color: #D85040; }
.nav-link.active[data-accent="goldenrod"] { border-bottom-color: #D8A830; }
.nav-link.active[data-accent="teal"] { border-bottom-color: #3898A0; }
.nav-link.active[data-accent="charcoal"] { border-bottom-color: #404048; }

.nav-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C0C0C8;
}

/* === Hero === */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero-text {
    position: relative;
    z-index: 10;
    padding-left: 10vw;
}

#hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(3rem, 8vw, 7rem);
    color: #2A2A30;
    line-height: 1;
    overflow: hidden;
}

#hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#hero-title span.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8888;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.hero-subtitle.visible {
    opacity: 1;
}

.hero-circle {
    position: absolute;
    right: -5vw;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: #D85040;
    z-index: 1;
    transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hero-circle.visible {
    transform: translateY(-50%) scale(1);
}

/* === Chrome Divider === */
.chrome-strip {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #B0B0B8, #C8C8D0, #D8D8E0, #C8C8D0, #B0B0B8);
    background-size: 200% 100%;
    animation: shimmerChrome 30s linear infinite;
}

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

/* === Showroom Sections === */
.showroom {
    width: 100%;
    min-height: 80vh;
    padding: 96px 10vw;
    display: flex;
    align-items: center;
}

.showroom-content {
    display: flex;
    gap: 5%;
    width: 100%;
    align-items: center;
}

.showroom-text {
    flex: 0 0 55%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.showroom-text.visible {
    opacity: 1;
}

.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 16px;
}

[data-accent="vermillion"] .section-label { color: #D85040; }
[data-accent="goldenrod"] .section-label { color: #D8A830; }
[data-accent="teal"] .section-label { color: #3898A0; }
[data-accent="charcoal"] .section-label { color: #C0C0C8; }

.showroom h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #2A2A30;
    margin-bottom: 24px;
    line-height: 1.15;
}

.showroom p {
    color: #2A2A30;
    margin-bottom: 16px;
}

.showroom p:last-child {
    margin-bottom: 0;
}

/* === Geometric Compositions === */
.showroom-illustration {
    flex: 0 0 40%;
    position: relative;
    min-height: 300px;
}

.geo-comp {
    position: relative;
    width: 100%;
    height: 300px;
}

.geo-shape {
    position: absolute;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.geo-shape.visible {
    opacity: 1;
    transform: scale(1);
}

/* Comp 1 - Vermillion */
.comp-1 .circle-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #D85040;
    top: 20px;
    right: 20px;
}

.comp-1 .rect-tall {
    width: 60px;
    height: 220px;
    background: rgba(216, 80, 64, 0.2);
    top: 40px;
    left: 30px;
}

.comp-1 .circle-small {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(216, 80, 64, 0.3);
    bottom: 10px;
    left: 60px;
}

.comp-1 .triangle-accent {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #D85040;
    top: 10px;
    left: 130px;
    background: none;
}

/* Comp 2 - Goldenrod */
.comp-2 .rect-wide {
    width: 250px;
    height: 80px;
    background: #D8A830;
    top: 60px;
    left: 0;
}

.comp-2 .circle-overlap {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(216, 168, 48, 0.2);
    top: 20px;
    right: 0;
}

.comp-2 .rect-thin {
    width: 20px;
    height: 200px;
    background: rgba(216, 168, 48, 0.4);
    top: 50px;
    right: 80px;
}

.comp-2 .triangle-large {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #D8A830;
    bottom: 20px;
    left: 20px;
    background: none;
}

.comp-2 .dot-cluster {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #D8A830;
    bottom: 40px;
    right: 40px;
    box-shadow: 20px 0 0 #D8A830, 40px 0 0 #D8A830, 0 20px 0 #D8A830, 20px 20px 0 #D8A830;
}

/* Comp 4 - Charcoal */
.comp-4 .rect-frame {
    width: 200px;
    height: 200px;
    border: 3px solid #404048;
    top: 30px;
    left: 40px;
}

.comp-4 .circle-center {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(64, 64, 72, 0.15);
    top: 70px;
    left: 80px;
}

.comp-4 .line-cross-h {
    width: 280px;
    height: 2px;
    background: #404048;
    top: 140px;
    left: 0;
}

.comp-4 .line-cross-v {
    width: 2px;
    height: 260px;
    background: rgba(64, 64, 72, 0.3);
    top: 10px;
    left: 140px;
}

.comp-4 .triangle-corner {
    width: 0;
    height: 0;
    border-left: 50px solid #404048;
    border-bottom: 50px solid transparent;
    bottom: 0;
    right: 20px;
    background: none;
}

/* === Icon Grid === */
.showroom-grid-layout {
    flex-direction: column;
    gap: 48px;
}

.showroom-grid-layout .showroom-text {
    flex: none;
    width: 100%;
    max-width: 600px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    max-width: 500px;
}

.icon-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.grid-icon {
    width: 80px;
    height: 80px;
    transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
    border-radius: 8px;
}

.icon-cell:hover .grid-icon {
    transform: scale(1.08);
    box-shadow: 0 0 24px rgba(56, 152, 160, 0.15);
}

.icon-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8888;
    transition: color 0.3s ease;
}

.icon-cell:hover .icon-label {
    color: #3898A0;
}

/* === Footer === */
#footer {
    padding-bottom: 48px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 10vw;
}

.footer-mark {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #2A2A30;
}

.footer-note {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8A8888;
}

/* === Atomic Starburst (decorative) === */
.starburst {
    position: absolute;
    pointer-events: none;
    opacity: 0.3;
}

/* === Responsive === */
@media (max-width: 900px) {
    .showroom-content {
        flex-direction: column;
        gap: 48px;
    }

    .showroom-text,
    .showroom-illustration {
        flex: none;
        width: 100%;
    }

    .showroom {
        padding: 64px 24px;
    }

    #top-nav {
        padding: 0 24px;
    }

    .hero-text {
        padding-left: 24px;
    }

    .hero-circle {
        width: 80vw;
        height: 80vw;
        right: -20vw;
    }
}

@media (max-width: 600px) {
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        gap: 8px;
        padding: 24px;
    }
}
