/* paraoligm.com - Evolved Minimal Design */
/* Fonts: Outfit 600, DM Sans 400/500, Space Grotesk 500 */
/* Palette: #f8f6f3, #2d2b3a, #c4b5e3, #f0c5a8, #a8dcd1, #e8b4c8, #3e3455, #d9d4cc, #ece8e4 */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f8f6f3;
    color: #2d2b3a;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    letter-spacing: 0.005em;
    overflow-x: hidden;
}

/* ======================== */
/* HERO SECTION */
/* ======================== */
.section-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-grid-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #2d2b3a 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.02;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 8vh;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(4rem, 10vw, 8rem);
    letter-spacing: 0.08em;
    line-height: 1.1;
    color: #2d2b3a;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #3e3455;
    opacity: 0.7;
    max-width: 500px;
    margin: 0 auto;
}

.seed-illustration {
    position: relative;
    z-index: 2;
    margin-top: 4rem;
}

.organism-seed {
    display: block;
}

/* Floating circles */
.floating-circles-hero,
.floating-circles-bloom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
}

.fc-1 {
    width: 100px;
    height: 100px;
    background-color: #c4b5e3;
    opacity: 0.06;
    top: 15%;
    left: 10%;
}

.fc-2 {
    width: 60px;
    height: 60px;
    background-color: #f0c5a8;
    opacity: 0.05;
    top: 60%;
    right: 15%;
}

.fc-3 {
    width: 120px;
    height: 120px;
    background-color: #a8dcd1;
    opacity: 0.04;
    bottom: 20%;
    left: 25%;
}

.fc-4 {
    width: 80px;
    height: 80px;
    background-color: #e8b4c8;
    opacity: 0.06;
    position: absolute;
    top: 30%;
    right: 5%;
}

.fc-5 {
    width: 50px;
    height: 50px;
    background-color: #c4b5e3;
    opacity: 0.07;
    position: absolute;
    bottom: 15%;
    right: 20%;
}

.fc-6 {
    width: 90px;
    height: 90px;
    background-color: #a8dcd1;
    opacity: 0.05;
    top: 20%;
    left: 5%;
}

.fc-7 {
    width: 70px;
    height: 70px;
    background-color: #f0c5a8;
    opacity: 0.06;
    bottom: 10%;
    right: 10%;
}

/* ======================== */
/* PANELS SECTION */
/* ======================== */
.section-panels {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh 5vw;
}

.panels-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.panel.visible {
    opacity: 1;
    transform: translateX(0);
}

.panel-1 { margin-top: 0; }
.panel-2 { margin-top: 20px; }
.panel-3 { margin-top: 40px; }

.panel-bg {
    width: 280px;
    height: 200px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.35;
    transition: opacity 400ms ease;
}

.panel:hover .panel-bg {
    opacity: 0.5;
}

.panel-organism {
    display: block;
}

.panel-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #2d2b3a;
    opacity: 0.6;
}

.connection-line {
    position: absolute;
    width: 2px;
    height: 100px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}

.connection-line-1 {
    display: none;
}

/* ======================== */
/* TEXT COLUMN SECTION */
/* ======================== */
.section-text {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12vh 5vw;
    display: flex;
    gap: 4rem;
}

.text-container {
    flex: 0 0 55%;
    padding-left: 7vw;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.text-block {
    position: relative;
    max-width: 580px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.text-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}

.text-block p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.72;
    letter-spacing: 0.005em;
    color: #2d2b3a;
}

.text-illustrations {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.organism-branch {
    position: relative;
    z-index: 2;
}

.text-illustrations-right {
    justify-content: flex-end;
    padding-right: 5vw;
}

.organism-network {
    position: relative;
    z-index: 2;
}

.section-text-mid {
    padding-top: 4vh;
}

/* ======================== */
/* FLIP CARD SECTIONS */
/* ======================== */
.section-flip {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8vh 0;
    margin: 4vh 0;
    perspective: 1200px;
}

.flip-card {
    width: 100%;
    max-width: 1400px;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    margin: 0 auto;
    cursor: default;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 800ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 3rem 5vw;
    border-radius: 0;
}

.flip-card-front {
    background-color: #ece8e4;
}

.flip-card-back {
    background: linear-gradient(135deg, #c4b5e3 0%, #a8dcd1 100%);
    transform: rotateY(180deg);
}

.flip-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d9d4cc;
}

.flip-label-back {
    color: #2d2b3a;
    opacity: 0.7;
}

.flip-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #d9d4cc;
}

.flip-heading-back {
    color: #2d2b3a;
}

.flip-description {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.6;
    color: #d9d4cc;
    max-width: 500px;
    text-align: center;
}

.flip-description-back {
    color: #2d2b3a;
    opacity: 0.85;
}

.flip-illustration,
.flip-illustration-back {
    display: block;
    margin-top: 1rem;
}

/* ======================== */
/* BLOOM SECTION */
/* ======================== */
.section-bloom {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12vh 5vw;
    gap: 4rem;
}

.bloom-content {
    flex: 0 0 50%;
    padding-left: 7vw;
}

.bloom-headline {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #2d2b3a;
}

.bloom-illustration {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.organism-bloom {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* ======================== */
/* FOOTER */
/* ======================== */
.site-footer {
    position: relative;
    width: 100%;
    background-color: #3e3455;
    padding: 6rem 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-grid-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, #d9d4cc 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.03;
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-domain {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #d9d4cc;
    letter-spacing: 0.04em;
}

.footer-seed {
    display: block;
}

/* ======================== */
/* MOBILE RESPONSIVE */
/* ======================== */
@media (max-width: 900px) {
    .section-text {
        flex-direction: column;
        padding: 8vh 5vw;
    }

    .text-container {
        flex: 1;
        padding-left: 3vw;
        gap: 4rem;
    }

    .text-illustrations {
        flex: 1;
        justify-content: center;
        padding: 2rem 0;
    }

    .text-illustrations-right {
        padding-right: 0;
    }

    .panels-container {
        flex-direction: column;
        align-items: center;
    }

    .panel-1,
    .panel-2,
    .panel-3 {
        margin-top: 0;
    }

    .panel-bg {
        width: 260px;
        height: 180px;
    }

    .section-bloom {
        flex-direction: column;
        text-align: center;
    }

    .bloom-content {
        flex: 1;
        padding-left: 0;
    }

    .bloom-illustration {
        flex: 1;
    }

    .organism-bloom {
        max-width: 300px;
    }

    .flip-card {
        height: auto;
        min-height: 350px;
    }

    .flip-card-front,
    .flip-card-back {
        padding: 2rem 4vw;
        position: relative;
    }

    .flip-card-back {
        position: absolute;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}

@media (max-width: 600px) {
    .text-container {
        gap: 3rem;
    }

    .panel-bg {
        width: 220px;
        height: 160px;
    }

    .hero-title {
        letter-spacing: 0.04em;
    }

    .bloom-headline {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .organism-bloom {
        max-width: 250px;
    }

    .organism-branch,
    .organism-network {
        max-width: 180px;
        height: auto;
    }
}
