/* ==========================================================================
   paraligm.com - Maximalist Immersive Scroll Experience
   Colors: #1A0533 (Deep Purple), #FF6B6B (Hot Coral), #4ECDC4 (Electric Blue),
           #FFE66D (Golden Sun), #FFFFFF (Pure White)
   Fonts: Syne (display), Outfit (body)
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    overflow-x: hidden;
}

body {
    background: #1A0533;
    color: #FFFFFF;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* --- HERO SECTION --- */
.hero-scroll-container {
    height: 150vh;
    position: relative;
}

.hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 10;
}

.hero-gradient-bg {
    position: absolute;
    inset: 0;
    background: #1A0533;
    z-index: 0;
}

.hero-gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 40%, rgba(255, 107, 107, 0.25) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 60%, rgba(78, 205, 196, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at 50% 80%, rgba(255, 230, 109, 0.15) 0%, transparent 50%);
    z-index: 0;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(3rem, 8vw, 9rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFE66D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    position: relative;
    will-change: transform;
    transition: transform 0.05s linear;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1rem, 2.5vw, 2rem);
    color: #FFFFFF;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0;
    z-index: 2;
    position: relative;
    will-change: opacity;
    transition: opacity 0.05s linear;
    margin-top: 1rem;
}

/* --- CULTURAL PATTERN BANDS --- */
.pattern-band {
    height: 60px;
    width: 100%;
    opacity: 0.15;
    position: relative;
    z-index: 5;
}

.pattern-band--greek-key {
    background:
        repeating-linear-gradient(
            90deg,
            #FF6B6B 0px, #FF6B6B 10px,
            transparent 10px, transparent 20px,
            #4ECDC4 20px, #4ECDC4 30px,
            transparent 30px, transparent 40px
        ),
        repeating-linear-gradient(
            0deg,
            #FFE66D 0px, #FFE66D 10px,
            transparent 10px, transparent 20px,
            #FF6B6B 20px, #FF6B6B 30px,
            transparent 30px, transparent 40px
        );
    background-size: 40px 40px;
}

.pattern-band--tessellation {
    background:
        repeating-conic-gradient(
            #4ECDC4 0% 25%, transparent 0% 50%
        ) 0 0 / 30px 30px,
        repeating-conic-gradient(
            #FF6B6B 0% 25%, transparent 0% 50%
        ) 15px 15px / 30px 30px;
    background-color: #FFE66D;
}

.pattern-band--kente {
    background:
        repeating-linear-gradient(
            45deg,
            #FF6B6B 0px, #FF6B6B 5px,
            #4ECDC4 5px, #4ECDC4 10px,
            #FFE66D 10px, #FFE66D 15px,
            transparent 15px, transparent 20px
        ),
        repeating-linear-gradient(
            -45deg,
            #FFE66D 0px, #FFE66D 5px,
            #FF6B6B 5px, #FF6B6B 10px,
            #4ECDC4 10px, #4ECDC4 15px,
            transparent 15px, transparent 20px
        );
}

/* --- SECTION SCROLL CONTAINERS --- */
.section-scroll-container {
    position: relative;
}

.section-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* --- SECTION 1: Scroll-Swapping Messages (200vh) --- */
.section1-scroll-container {
    height: 200vh;
}

.section1-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section1-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg, rgba(255, 107, 107, 0.12) 0%, transparent 40%),
        linear-gradient(220deg, rgba(78, 205, 196, 0.1) 0%, transparent 40%),
        #1A0533;
    z-index: 0;
}

.section1-message {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    z-index: 2;
    text-align: center;
}

.section1-number {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(5rem, 15vw, 12rem);
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFE66D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.15;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: 1;
}

.section1-heading {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    z-index: 3;
    position: relative;
}

.section1-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.65;
    color: #FFFFFF;
    max-width: 600px;
    z-index: 3;
    position: relative;
}

/* --- SECTION 2: Visual Density Overlapping Content --- */
.section2-scroll-container {
    height: 150vh;
}

.section2-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A0533;
}

.section2-gradient-band {
    position: absolute;
    top: 10%;
    left: -5%;
    width: 110%;
    height: 35%;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFE66D);
    opacity: 0.3;
    transform: rotate(-3deg);
    z-index: 1;
}

.section2-pattern-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            60deg,
            transparent 0px,
            transparent 40px,
            rgba(78, 205, 196, 0.06) 40px,
            rgba(78, 205, 196, 0.06) 42px
        ),
        repeating-linear-gradient(
            -60deg,
            transparent 0px,
            transparent 40px,
            rgba(255, 107, 107, 0.06) 40px,
            rgba(255, 107, 107, 0.06) 42px
        );
    z-index: 2;
}

.section2-text-block {
    position: absolute;
    z-index: 5;
    padding: 2.5rem;
}

.section2-text-block h2 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.section2-text-block p {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.65;
    color: #FFFFFF;
    max-width: 500px;
}

.section2-text-block--primary {
    top: 15%;
    left: 5%;
    background: rgba(26, 5, 51, 0.85);
    border-left: 4px solid #FF6B6B;
    max-width: 550px;
}

.section2-text-block--secondary {
    bottom: 15%;
    right: 5%;
    background: rgba(26, 5, 51, 0.85);
    border-left: 4px solid #4ECDC4;
    max-width: 500px;
}

.section2-decorative-element {
    position: absolute;
    z-index: 3;
}

.section2-decorative-element--circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 3px solid rgba(255, 230, 109, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.section2-decorative-element--bar {
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #FF6B6B, #4ECDC4);
    bottom: 30%;
    left: 20%;
    opacity: 0.5;
}

.section2-decorative-element--diagonal {
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFE66D, transparent);
    top: 65%;
    left: -50%;
    transform: rotate(-8deg);
    opacity: 0.25;
}

/* --- SECTION 3: Manifesto --- */
.section3-scroll-container {
    height: 300vh;
}

.section3-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1A0533;
}

.section3-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(78, 205, 196, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 230, 109, 0.08) 0%, transparent 60%),
        #1A0533;
    z-index: 0;
}

.manifesto-statement {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    opacity: 0;
    z-index: 2;
}

.manifesto-statement p {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 5rem);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.15;
    color: #FFFFFF;
    max-width: 1000px;
}

/* Alternate gradient fills for manifesto statements */
#manifesto-1 p {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#manifesto-3 p {
    background: linear-gradient(135deg, #4ECDC4, #FFE66D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- FOOTER --- */
.site-footer {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4, #FFE66D);
    padding: 4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    text-align: center;
}

.footer-domain {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 4rem);
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .section2-text-block--primary {
        top: 5%;
        left: 3%;
        right: 3%;
        max-width: none;
    }

    .section2-text-block--secondary {
        bottom: 5%;
        right: 3%;
        left: 3%;
        max-width: none;
    }

    .section2-decorative-element--circle {
        width: 200px;
        height: 200px;
    }

    .manifesto-statement {
        padding: 1.5rem;
    }

    .section1-number {
        font-size: clamp(4rem, 12vw, 8rem);
    }
}
