/* ============================================
   MONOPOLE.STUDIO — Mid-Century Modern Studio
   ============================================ */

:root {
    --honey-gold: #E8C07A;
    --sage-green: #5B8A72;
    --warm-cream: #FAF6F0;
    --ink-black: #1A1A1A;
    --linen: #F0E6D6;
    --warm-umber: #4A3F35;
    --terracotta: #B85C38;
    --espresso: #2C2416;
}

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

body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: var(--warm-umber);
    background: var(--warm-cream);
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3h1v1H1V3zm2-2h1v1H3V1z' fill='%234A3F35' fill-opacity='0.03'/%3E%3C/svg%3E");
    overflow-x: hidden;
}

/* ---- Hero Section ---- */

.hero-section {
    padding: 0 24px;
    margin-bottom: 48px;
}

.hero-block {
    max-width: 1100px;
    margin: 0 auto;
    min-height: 70vh;
    background: var(--terracotta);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-block.visible {
    transform: translateX(0);
}

.hero-content {
    max-width: 440px;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

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

.hero-label {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--linen);
    opacity: 0.8;
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 44px;
    color: var(--warm-cream);
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-subtitle {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--linen);
    opacity: 0.85;
}

.hero-illustration {
    flex-shrink: 0;
}

.hero-svg {
    width: 280px;
    height: 280px;
}

.hero-shape {
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* ---- Modular Grid ---- */

.modular-grid {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.module {
    padding: 40px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.module.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Module Variants */

.module-text {
    background: var(--warm-cream);
}

.module-void {
    background: transparent;
    min-height: 0;
}

.module-accent {
    background: var(--linen);
}

.module-sage {
    background: var(--sage-green);
}

.module-terracotta {
    background: var(--terracotta);
}

.module-honey {
    background: var(--honey-gold);
}

.module-espresso {
    background: var(--espresso);
}

/* Module Content */

.module-label {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
    margin-bottom: 12px;
}

.label-light {
    color: var(--linen);
    opacity: 0.8;
}

.module-title {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 28px;
    color: var(--espresso);
    margin-bottom: 16px;
    line-height: 1.2;
}

.title-light {
    color: var(--warm-cream);
}

.module-body {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    color: var(--warm-umber);
}

.body-light {
    color: var(--linen);
}

/* Module Illustrations */

.module-illustration {
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Module hover */

.module:not(.module-void) {
    transition: opacity 0.5s ease, transform 0.5s ease;
    cursor: default;
}

.module:not(.module-void):hover {
    transform: translateY(-4px);
}

.module.in-view:not(.module-void):hover {
    transform: translateY(-4px);
}

/* ---- Footer ---- */

.studio-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px;
    border-top: 2px solid var(--espresso);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-name {
    font-family: 'DM Serif Display', serif;
    font-size: 18px;
    color: var(--espresso);
}

.footer-year {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta);
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .hero-block {
        flex-direction: column;
        padding: 40px 32px;
        min-height: auto;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-svg {
        width: 200px;
        height: 200px;
        margin-top: 32px;
    }

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

    .module-void {
        display: none;
    }

    .module-title {
        font-size: 24px;
    }
}
