/* ============================================
   MONOPOLE.DESIGN — Memphis Bold / Avant-Garde
   ============================================ */

:root {
    --yellow: #FFD93D;
    --dark-navy: #1A1A2E;
    --coral: #FF6B6B;
    --blue: #4D96FF;
    --light-gray: #E8E8E8;
    --green: #6BCB77;
    --off-white: #F5F5F5;
    --black: #1A1A1A;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--black);
    background: var(--off-white);
    overflow-x: hidden;
    position: relative;
}

/* ---- Typography ---- */

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 64px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--off-white);
    transform: scale(1);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
}

.hero-title.visible {
    opacity: 1;
    transform: scale(1);
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--light-gray);
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.6s ease 1.2s;
}

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

.hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    color: var(--yellow);
    letter-spacing: 3px;
    margin-top: 24px;
    display: block;
    opacity: 0;
    transition: opacity 0.6s ease 1.5s;
}

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

.section-title {
    font-family: 'Archivo Black', sans-serif;
    font-weight: 400;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.section-marker {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 16px;
    opacity: 0.7;
}

.marker-icon {
    font-size: 10px;
    margin-right: 6px;
}

.body-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 16px;
}

/* ---- Entry Animation Shapes ---- */

.entry-shape {
    position: fixed;
    z-index: 1000;
    pointer-events: none;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.entry-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.85;
    top: -350px;
    left: -350px;
}

.entry-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--coral);
    opacity: 0.85;
    bottom: -350px;
    right: -350px;
}

.entry-rectangle {
    width: 280px;
    height: 200px;
    background: var(--blue);
    opacity: 0.85;
    top: 50%;
    left: -350px;
}

.entry-shape.converge {
    opacity: 0.85;
}

.entry-circle.converge {
    transform: translate(calc(50vw - 150px + 350px), calc(50vh - 150px + 350px));
}

.entry-triangle.converge {
    transform: translate(calc(-50vw + 150px - 350px), calc(-50vh + 130px + 350px));
}

.entry-rectangle.converge {
    transform: translate(calc(50vw - 140px + 350px), -50%);
}

.entry-shape.fade-out {
    opacity: 0 !important;
    transition: opacity 0.5s ease;
}

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

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-navy);
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    opacity: 0.2;
}

.hero-shapes .shape-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    top: -80px;
    right: -60px;
    background: repeating-linear-gradient(
        45deg,
        var(--yellow),
        var(--yellow) 2px,
        transparent 2px,
        transparent 8px
    );
}

.hero-shapes .shape-triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 346px solid transparent;
    bottom: -40px;
    left: 10%;
    background: none;
    position: absolute;
}

.hero-shapes .shape-triangle::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -380px;
    left: -175px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: repeating-radial-gradient(
        circle,
        var(--coral) 0px,
        var(--coral) 3px,
        transparent 3px,
        transparent 12px
    );
    opacity: 1;
}

.hero-shapes .shape-rect {
    width: 300px;
    height: 200px;
    top: 60%;
    right: 15%;
    background: repeating-linear-gradient(
        0deg,
        var(--blue),
        var(--blue) 2px,
        transparent 2px,
        transparent 10px
    );
    transform: rotate(15deg);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px;
}

/* ---- Diagonal Band Sections ---- */

.band {
    position: relative;
    padding: 120px 60px;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.band-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}

.band-bg-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

/* Band 1: Manifesto — Yellow bg, dark text */
.band-1 {
    background: var(--yellow);
    color: var(--black);
    clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%);
    margin-top: -6vh;
}

.band-1 .section-title { color: var(--dark-navy); }
.band-1 .section-marker { color: var(--dark-navy); }

.band-1 .bg-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    right: -80px;
    top: 20%;
    background: repeating-linear-gradient(
        45deg,
        var(--coral),
        var(--coral) 2px,
        transparent 2px,
        transparent 8px
    );
}

/* Band 2: Principles — Dark bg, light text */
.band-2 {
    background: var(--dark-navy);
    color: var(--off-white);
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
    margin-top: -8vh;
}

.band-2 .section-title { color: var(--yellow); }
.band-2 .section-marker { color: var(--blue); }
.band-2 .body-text { color: var(--light-gray); }

.band-2 .bg-triangle {
    width: 0;
    height: 0;
    border-left: 200px solid transparent;
    border-right: 200px solid transparent;
    border-bottom: 346px solid var(--green);
    left: -100px;
    bottom: -60px;
    opacity: 0.1;
}

/* Band 3: Process — Coral bg */
.band-3 {
    background: var(--coral);
    color: var(--black);
    clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%);
    margin-top: -8vh;
}

.band-3 .section-title { color: var(--dark-navy); }
.band-3 .section-marker { color: var(--dark-navy); }

.band-3 .bg-rect {
    width: 300px;
    height: 200px;
    right: 5%;
    top: 15%;
    background: repeating-linear-gradient(
        0deg,
        var(--yellow),
        var(--yellow) 2px,
        transparent 2px,
        transparent 10px
    );
    transform: rotate(-12deg);
}

/* Band 4: Gallery — Blue bg */
.band-4 {
    background: var(--blue);
    color: var(--off-white);
    clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
    margin-top: -8vh;
}

.band-4 .section-title { color: var(--off-white); }
.band-4 .section-marker { color: var(--yellow); }

.band-4 .bg-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    left: -100px;
    top: 30%;
    background: repeating-linear-gradient(
        45deg,
        var(--dark-navy),
        var(--dark-navy) 2px,
        transparent 2px,
        transparent 8px
    );
}

/* Band 5: Contact — Green bg */
.band-5 {
    background: var(--green);
    color: var(--black);
    clip-path: polygon(0 0, 100% 6%, 100% 100%, 0 100%);
    margin-top: -8vh;
    min-height: 50vh;
}

.band-5 .section-title { color: var(--dark-navy); }
.band-5 .section-marker { color: var(--dark-navy); }

/* ---- Principles Grid ---- */

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 32px;
}

.principle-item {
    padding: 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.principle-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
}

.circle-icon {
    border-radius: 50%;
    background: var(--yellow);
}

.triangle-icon {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 34px solid var(--coral);
}

.rect-icon {
    background: var(--blue);
}

.principle-name {
    font-family: 'Archivo Black', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--yellow);
}

/* ---- Process Steps ---- */

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 32px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.step-number {
    font-family: 'Archivo Black', sans-serif;
    font-size: 48px;
    color: var(--dark-navy);
    opacity: 0.3;
    line-height: 1;
    min-width: 80px;
}

/* ---- Gallery Grid ---- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 32px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(-2deg);
    background: rgba(255, 255, 255, 0.2);
}

.gallery-shape {
    width: 80px;
    height: 80px;
}

.gs-circle {
    border-radius: 50%;
    background: var(--yellow);
}

.gs-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid var(--coral);
    background: none;
    width: auto;
    height: auto;
}

.gs-square {
    background: var(--green);
}

.gs-diamond {
    width: 60px;
    height: 60px;
    background: var(--dark-navy);
    transform: rotate(45deg);
    margin: 10px;
}

.gallery-label {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--off-white);
}

/* ---- Contact Info ---- */

.contact-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.contact-label {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--dark-navy);
}

.contact-divider {
    color: var(--dark-navy);
    font-size: 8px;
}

/* ---- Floating Shapes ---- */

.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.float-shape {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.float-shape.active {
    opacity: 0.08;
}

.fs-1 {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--yellow);
    top: 20%;
    left: 5%;
}

.fs-2 {
    width: 25px;
    height: 25px;
    background: var(--coral);
    top: 40%;
    right: 8%;
    transform: rotate(45deg);
}

.fs-3 {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid var(--blue);
    top: 65%;
    left: 12%;
}

.fs-4 {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--green);
    top: 80%;
    right: 15%;
}

.fs-5 {
    width: 35px;
    height: 25px;
    background: var(--yellow);
    top: 10%;
    right: 20%;
    transform: rotate(15deg);
}

/* ---- Scroll-driven Band Reveal ---- */

.band {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 28px;
    }

    .band {
        padding: 80px 30px;
    }

    .principles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-step {
        flex-direction: column;
        gap: 12px;
    }

    .step-number {
        font-size: 36px;
        min-width: auto;
    }

    .hero-shapes .shape {
        opacity: 0.1;
    }
}
