/* monopole.studio — Bauhaus stage-design aesthetic */

:root {
    --deep-plum: #2d1f2e;
    --stage-black: #1a1118;
    --warm-stone: #c4b8a8;
    --vermillion: #e85d3a;
    --dusty-rose: #d4727a;
    --amber: #f4a623;
    --parchment: #faf3e8;
    --void: #0f0a10;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void);
    color: var(--parchment);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
}

/* Typography */
.display-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--parchment);
}

.subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    color: var(--warm-stone);
    margin-top: 1rem;
    letter-spacing: 0.02em;
}

.body-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--warm-stone);
}

.body-text.small {
    font-size: 0.85rem;
}

.mono-text {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: var(--warm-stone);
    text-transform: uppercase;
}

/* Acts / Sections */
.act {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.act-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.act-1 .act-bg {
    background: radial-gradient(ellipse at 50% 80%, var(--deep-plum) 0%, var(--void) 70%);
}

.act-2 .act-bg {
    background: linear-gradient(180deg, var(--void) 0%, var(--stage-black) 50%, var(--void) 100%);
}

.act-3 .act-bg {
    background: radial-gradient(ellipse at 30% 50%, var(--deep-plum) 0%, var(--void) 60%);
}

.act-4 .act-bg {
    background: linear-gradient(135deg, var(--void) 0%, var(--stage-black) 100%);
}

.act-5 .act-bg {
    background: radial-gradient(circle at 50% 50%, var(--deep-plum) 0%, var(--void) 70%);
}

.act-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    padding: 4rem 0;
}

/* Act 1 — Hero */
.act-1 .act-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.geometric-cluster {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.geo-circle {
    position: absolute;
    top: 0;
    left: 40px;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-triangle {
    position: absolute;
    top: 50px;
    left: 0;
    animation: float-slow 6s ease-in-out infinite 1s;
}

.geo-square {
    position: absolute;
    top: 60px;
    left: 80px;
    animation: float-slow 7s ease-in-out infinite 2s;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.scroll-indicator {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--warm-stone);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Act 2 — Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.split-right .body-text {
    margin-bottom: 1.5rem;
}

.geometric-panel {
    display: flex;
    justify-content: center;
    opacity: 0.7;
}

.panel-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Act 3 — Process */
.act-3 .act-content {
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
    text-align: left;
}

.process-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid rgba(196, 184, 168, 0.15);
    transition: border-color 0.4s ease;
}

.process-item:hover {
    border-color: var(--amber);
}

/* Act 4 — Works */
.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.work-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.4s ease;
}

.work-card:hover {
    transform: translateY(-4px);
}

.work-visual {
    aspect-ratio: 3/2;
    overflow: hidden;
    border: 1px solid rgba(196, 184, 168, 0.15);
}

.work-visual svg {
    width: 100%;
    height: 100%;
}

/* Act 5 — Contact */
.act-5 .act-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-block {
    margin: 2rem 0;
}

.contact-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--amber);
    text-decoration: none;
    border-bottom: 1px solid var(--amber);
    padding-bottom: 0.25rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-link:hover {
    color: var(--vermillion);
    border-color: var(--vermillion);
}

.footer-geo {
    margin: 3rem 0;
    opacity: 0.6;
}

.site-footer {
    margin-top: 2rem;
}

/* Floating Decorators */
.decorators {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.decorator {
    position: absolute;
    opacity: 0.15;
    transition: transform 0.3s ease;
}

/* Kinetic text animation */
[data-kinetic] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-kinetic].visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .process-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .act-content {
        padding: 2rem 0;
    }
}
