@import url('https://fonts.googleapis.com/css2?family=Bungee+Shade&family=Fredoka:wght@500&family=Nunito:wght@400;700&display=swap');

:root {
    --celestial-blue: #4A90D9;
    --periwinkle-mist: #8EB8E5;
    --electric-violet: #7B2FBE;
    --phantom-white: #F0F4FA;
    --midnight-ink: #1A1B3A;
    --aqua-breath: #B8D8F8;
    --lavender-haze: #C4B0E8;
    --coral-punch: #FF6B6B;
    --lemon-zap: #FFE066;
    --wash-x: 0px;
    --wash-y: 0px;
    --spring-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75;
    background: var(--phantom-white);
    color: var(--midnight-ink);
    overflow-x: hidden;
    position: relative;
}

/* ============================================
   FLOATING QUESTION MARKS (global decoration)
   ============================================ */

.floating-questions {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-q {
    position: absolute;
    font-family: 'Bungee Shade', sans-serif;
    color: var(--midnight-ink);
    opacity: 0.06;
    will-change: transform;
}

.float-q-1 { top: 8%; left: 5%; font-size: 6rem; animation: floatDrift 28s infinite linear; }
.float-q-2 { top: 22%; right: 12%; font-size: 4rem; animation: floatDrift 34s infinite linear reverse; -webkit-text-stroke: 2px var(--midnight-ink); color: transparent; opacity: 0.08; }
.float-q-3 { top: 45%; left: 80%; font-size: 8rem; animation: floatDrift 22s infinite linear; }
.float-q-4 { top: 65%; left: 15%; font-size: 5rem; animation: floatDrift 40s infinite linear reverse; -webkit-text-stroke: 1px var(--electric-violet); color: transparent; opacity: 0.05; }
.float-q-5 { top: 78%; right: 25%; font-size: 3rem; animation: floatDrift 32s infinite linear; }
.float-q-6 { top: 35%; left: 45%; font-size: 7rem; animation: floatDrift 26s infinite linear reverse; opacity: 0.04; }
.float-q-7 { top: 55%; right: 5%; font-size: 5rem; animation: floatDrift 36s infinite linear; -webkit-text-stroke: 1.5px var(--celestial-blue); color: transparent; opacity: 0.06; }
.float-q-8 { top: 90%; left: 60%; font-size: 4rem; animation: floatDrift 30s infinite linear reverse; opacity: 0.05; }

@keyframes floatDrift {
    0% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(7deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* ============================================
   WATERCOLOR WASH BACKGROUND LAYER
   ============================================ */

.watercolor-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wash {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    mix-blend-mode: multiply;
    transform: translate(var(--wash-x), var(--wash-y));
    transition: transform 0.3s ease-out;
}

.wash-1 {
    width: 600px;
    height: 600px;
    top: -10%;
    left: -5%;
    background: radial-gradient(circle, rgba(184, 216, 248, 0.25) 0%, rgba(184, 216, 248, 0) 70%);
    filter: blur(100px);
    animation: washPulse 12s infinite ease-in-out;
}

.wash-2 {
    width: 500px;
    height: 500px;
    top: 20%;
    right: -8%;
    background: radial-gradient(circle, rgba(196, 176, 232, 0.2) 0%, rgba(196, 176, 232, 0) 70%);
    filter: blur(120px);
    animation: washPulse 15s infinite ease-in-out 3s;
}

.wash-3 {
    width: 700px;
    height: 700px;
    top: 50%;
    left: 20%;
    background: radial-gradient(circle, rgba(142, 184, 229, 0.18) 0%, rgba(142, 184, 229, 0) 70%);
    filter: blur(130px);
    animation: washPulse 18s infinite ease-in-out 6s;
}

.wash-4 {
    width: 400px;
    height: 400px;
    top: 75%;
    right: 15%;
    background: radial-gradient(circle, rgba(184, 216, 248, 0.22) 0%, rgba(184, 216, 248, 0) 70%);
    filter: blur(90px);
    animation: washPulse 14s infinite ease-in-out 2s;
}

.wash-5 {
    width: 550px;
    height: 550px;
    bottom: -5%;
    left: -10%;
    background: radial-gradient(circle, rgba(196, 176, 232, 0.15) 0%, rgba(196, 176, 232, 0) 70%);
    filter: blur(110px);
    animation: washPulse 16s infinite ease-in-out 8s;
}

@keyframes washPulse {
    0%, 100% { opacity: 0.8; transform: translate(var(--wash-x), var(--wash-y)) scale(1); }
    50% { opacity: 1; transform: translate(var(--wash-x), var(--wash-y)) scale(1.08); }
}

/* ============================================
   PAGE WRAPPER
   ============================================ */

.page-wrapper {
    position: relative;
    z-index: 2;
}

/* ============================================
   HERO PLATE
   ============================================ */

.hero-plate {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    overflow: hidden;
}

.hero-watercolors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-wash {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    animation: heroWashBloom 2s ease-out forwards;
}

.hero-wash-1 {
    width: 500px;
    height: 500px;
    top: 10%;
    left: 30%;
    background: radial-gradient(circle, rgba(184, 216, 248, 0.35) 0%, rgba(184, 216, 248, 0) 70%);
    filter: blur(80px);
    animation-delay: 3s;
}

.hero-wash-2 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 50%;
    background: radial-gradient(circle, rgba(196, 176, 232, 0.3) 0%, rgba(196, 176, 232, 0) 70%);
    filter: blur(100px);
    animation-delay: 3.3s;
}

.hero-wash-3 {
    width: 600px;
    height: 600px;
    top: 20%;
    left: 10%;
    background: radial-gradient(circle, rgba(142, 184, 229, 0.25) 0%, rgba(142, 184, 229, 0) 70%);
    filter: blur(120px);
    animation-delay: 3.6s;
}

@keyframes heroWashBloom {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 5vh;
}

.hero-title {
    font-family: 'Bungee Shade', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 400;
    color: var(--midnight-ink);
    line-height: 1.1;
    letter-spacing: 0.04em;
    position: relative;
}

.hero-letter {
    display: inline-block;
    opacity: 0;
    will-change: transform, opacity;
}

.hero-dot {
    display: inline-block;
    opacity: 0;
    color: var(--coral-punch);
    will-change: transform, opacity;
}

.hero-letter.assembled,
.hero-dot.assembled {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg);
    transition: all 2.5s var(--spring-ease);
}

.hero-bendots {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.08;
    background: radial-gradient(circle 3px, var(--celestial-blue) 100%, transparent 100%);
    background-size: 16px 16px;
    z-index: 1;
}

/* ============================================
   BEN-DAY DIVIDERS
   ============================================ */

.benday-divider {
    height: 4px;
    background: repeating-radial-gradient(
        circle 2px,
        var(--coral-punch) 0 2px,
        transparent 2px 8px
    );
    background-size: 8px 4px;
    transform: scaleX(0);
    transform-origin: center;
    margin: 0 5%;
    opacity: 0.6;
}

.benday-divider.expanded {
    transform: scaleX(1);
    transition: transform 0.6s ease-out;
}

/* ============================================
   QUESTION PLATES
   ============================================ */

.question-plate {
    min-height: 80vh;
    display: grid;
    position: relative;
    overflow: hidden;
}

.question-plate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
    background: radial-gradient(circle 4px, var(--celestial-blue) 100%, transparent 100%);
    background-size: 20px 20px;
    z-index: 0;
}

/* Plate 1: Left lean */
.question-plate-1 {
    grid-template-columns: 60% 40%;
}

.plate-left {
    padding: clamp(3rem, 5vw, 6rem);
    padding-right: clamp(2rem, 4vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Plate 2: Right bleed */
.question-plate-2 {
    grid-template-columns: 35% 65%;
}

.plate-right {
    padding: clamp(3rem, 5vw, 6rem);
    padding-left: clamp(2rem, 4vw, 5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(-1deg);
    position: relative;
    z-index: 1;
}

/* Plate 3: Center, tilted */
.question-plate-3 {
    grid-template-columns: 1fr;
    justify-items: center;
}

.plate-center {
    max-width: 700px;
    padding: clamp(3rem, 5vw, 6rem);
    text-align: center;
    transform: rotate(-2.5deg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.plate-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-heading {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 4rem);
    color: var(--midnight-ink);
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.body-text {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.75;
    color: var(--midnight-ink);
    margin-bottom: 1.5rem;
    max-width: 550px;
}

/* ============================================
   SPEECH BUBBLES
   ============================================ */

.speech-bubble {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--electric-violet);
    border-radius: 50%;
    cursor: default;
    transition: transform 0.3s var(--spring-ease), border-color 0.3s ease;
}

.speech-bubble:hover {
    transform: scale(1.08);
    border-color: var(--coral-punch);
}

.speech-bubble:hover .bubble-tail {
    animation: tailWiggle 0.2s ease-in-out 3;
}

.speech-bubble-large {
    width: 130px;
    height: 130px;
    background: var(--lemon-zap);
    margin-bottom: 2rem;
}

.speech-bubble-medium {
    width: 90px;
    height: 90px;
    background: var(--phantom-white);
    margin-top: 1.5rem;
}

.speech-bubble-small {
    width: 70px;
    height: 70px;
    background: var(--lemon-zap);
}

.speech-bubble-wide {
    width: 160px;
    height: 100px;
    border-radius: 50px;
    background: var(--lemon-zap);
    margin-top: 2rem;
}

.speech-bubble-float {
    width: 80px;
    height: 80px;
    background: var(--phantom-white);
}

.speech-bubble-float-alt {
    background: var(--lemon-zap);
}

.floating-bubble {
    animation: bubbleFloat 6s ease-in-out infinite;
}

.bubble-text {
    font-family: 'Bungee Shade', sans-serif;
    font-size: 2.5rem;
    color: var(--midnight-ink);
    line-height: 1;
    user-select: none;
}

.speech-bubble-medium .bubble-text {
    font-size: 1.8rem;
}

.speech-bubble-small .bubble-text {
    font-size: 1.4rem;
}

.speech-bubble-wide .bubble-text {
    font-size: 1.6rem;
    letter-spacing: 0.15em;
}

.speech-bubble-float .bubble-text {
    font-size: 1.6rem;
}

/* Bubble tails */
.bubble-tail {
    position: absolute;
    width: 0;
    height: 0;
}

.bubble-tail-up {
    top: -18px;
    left: 50%;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 18px solid var(--electric-violet);
}

.bubble-tail-up::after {
    content: '';
    position: absolute;
    top: 4px;
    left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 14px solid var(--lemon-zap);
}

.bubble-tail-left {
    left: -18px;
    top: 50%;
    margin-top: -8px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 18px solid var(--electric-violet);
}

.bubble-tail-left::after {
    content: '';
    position: absolute;
    left: 4px;
    top: -5px;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 14px solid var(--phantom-white);
}

.bubble-tail-offscreen {
    bottom: -18px;
    right: -10px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 18px solid var(--electric-violet);
}

.bubble-tail-offscreen::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -5px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 14px solid var(--lemon-zap);
}

@keyframes tailWiggle {
    0%, 100% { transform: rotate(0deg); }
    33% { transform: rotate(-3deg); }
    66% { transform: rotate(3deg); }
}

@keyframes bubbleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================
   STARBURSTS
   ============================================ */

.starburst {
    position: relative;
    display: inline-block;
}

.starburst-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--celestial-blue), var(--lavender-haze));
    clip-path: polygon(
        50% 0%, 61% 15%, 79% 5%, 74% 24%, 95% 26%, 83% 40%,
        100% 50%, 83% 60%, 95% 74%, 74% 76%, 79% 95%, 61% 85%,
        50% 100%, 39% 85%, 21% 95%, 26% 76%, 5% 74%, 17% 60%,
        0% 50%, 17% 40%, 5% 26%, 26% 24%, 21% 5%, 39% 15%
    );
    animation: starSpin 10s infinite linear;
    opacity: 0.7;
}

.starburst-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--lavender-haze), var(--celestial-blue));
    clip-path: polygon(
        50% 0%, 61% 15%, 79% 5%, 74% 24%, 95% 26%, 83% 40%,
        100% 50%, 83% 60%, 95% 74%, 74% 76%, 79% 95%, 61% 85%,
        50% 100%, 39% 85%, 21% 95%, 26% 76%, 5% 74%, 17% 60%,
        0% 50%, 17% 40%, 5% 26%, 26% 24%, 21% 5%, 39% 15%
    );
    animation: starSpin 14s infinite linear reverse;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.starburst-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--celestial-blue), var(--aqua-breath));
    clip-path: polygon(
        50% 0%, 58% 18%, 75% 5%, 68% 25%, 93% 25%, 78% 40%,
        100% 50%, 78% 60%, 93% 75%, 68% 75%, 75% 95%, 58% 82%,
        50% 100%, 42% 82%, 25% 95%, 32% 75%, 7% 75%, 22% 60%,
        0% 50%, 22% 40%, 7% 25%, 32% 25%, 25% 5%, 42% 18%
    );
    animation: starSpin 12s infinite linear;
    opacity: 0.6;
}

.starburst-4 {
    width: 70px;
    height: 70px;
    background: linear-gradient(180deg, var(--lavender-haze), var(--periwinkle-mist));
    clip-path: polygon(
        50% 0%, 61% 15%, 79% 5%, 74% 24%, 95% 26%, 83% 40%,
        100% 50%, 83% 60%, 95% 74%, 74% 76%, 79% 95%, 61% 85%,
        50% 100%, 39% 85%, 21% 95%, 26% 76%, 5% 74%, 17% 60%,
        0% 50%, 17% 40%, 5% 26%, 26% 24%, 21% 5%, 39% 15%
    );
    animation: starSpin 16s infinite linear reverse;
    opacity: 0.5;
}

@keyframes starSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   REVEAL SECTION
   ============================================ */

.reveal-section {
    min-height: 120vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.reveal-sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.reveal-cloud {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: multiply;
}

.reveal-cloud-1 {
    width: 600px;
    height: 300px;
    top: 15%;
    left: -5%;
    background: radial-gradient(ellipse, rgba(184, 216, 248, 0.4) 0%, transparent 70%);
    filter: blur(60px);
    animation: cloudDrift 20s infinite ease-in-out;
}

.reveal-cloud-2 {
    width: 500px;
    height: 250px;
    top: 45%;
    right: -10%;
    background: radial-gradient(ellipse, rgba(196, 176, 232, 0.35) 0%, transparent 70%);
    filter: blur(70px);
    animation: cloudDrift 24s infinite ease-in-out 4s;
}

.reveal-cloud-3 {
    width: 700px;
    height: 350px;
    bottom: 10%;
    left: 20%;
    background: radial-gradient(ellipse, rgba(142, 184, 229, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    animation: cloudDrift 28s infinite ease-in-out 8s;
}

@keyframes cloudDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(40px); }
}

/* Parallax icons */
.parallax-icon {
    position: absolute;
    z-index: 1;
    will-change: transform;
}

.parallax-icon-1 { top: 12%; left: 8%; }
.parallax-icon-2 { top: 25%; right: 15%; }
.parallax-icon-3 { top: 55%; left: 20%; }
.parallax-icon-4 { top: 70%; right: 10%; }
.parallax-icon-5 { top: 40%; left: 60%; }

.parallax-question {
    font-family: 'Bungee Shade', sans-serif;
    font-size: 5rem;
    color: var(--midnight-ink);
    opacity: 0.15;
    display: block;
    transition: transform 0.5s var(--spring-ease);
}

.parallax-question:hover {
    transform: rotateY(180deg);
    color: var(--lemon-zap);
    -webkit-text-stroke: 2px var(--midnight-ink);
}

/* Reveal text */
.reveal-text-layer {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.reveal-word {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--midnight-ink);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    margin: 0;
}

.reveal-word.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   DEPARTURE SECTION
   ============================================ */

.departure-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3rem, 5vw, 6rem);
    position: relative;
}

.departure-bubble {
    position: relative;
    max-width: 700px;
    width: 90%;
    padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
    background: var(--lemon-zap);
    border: 3px solid var(--electric-violet);
    border-radius: 60px;
    text-align: center;
}

.departure-bubble-inner {
    position: relative;
    z-index: 1;
}

.departure-text {
    font-family: 'Fredoka', sans-serif;
    font-weight: 500;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--midnight-ink);
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0;
}

.departure-tail {
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid var(--electric-violet);
}

.departure-tail::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -11px;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 24px solid var(--lemon-zap);
}

/* ============================================
   REVEAL ELEMENTS (scroll animations)
   ============================================ */

.reveal-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   CURSOR PROXIMITY
   ============================================ */

.proximity-react {
    transition: transform 0.25s ease-out;
}

/* ============================================
   HOVER ON QUESTION MARKS
   ============================================ */

.float-q {
    transition: transform 0.5s var(--spring-ease), color 0.3s ease;
    cursor: default;
    pointer-events: auto;
}

.float-q:hover {
    transform: rotateY(180deg) !important;
    color: var(--lemon-zap) !important;
    -webkit-text-stroke: 2px var(--midnight-ink);
    opacity: 0.3 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .question-plate-1,
    .question-plate-2 {
        grid-template-columns: 1fr;
    }

    .plate-right {
        transform: none;
    }

    .plate-center {
        transform: rotate(-1deg);
    }

    .plate-empty {
        display: none;
    }

    .hero-plate {
        padding-left: 5%;
    }

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

    .parallax-icon {
        display: none;
    }

    .floating-questions {
        display: none;
    }

    .departure-bubble {
        border-radius: 30px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-letter,
    .hero-dot {
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal-element,
    .reveal-word {
        opacity: 1 !important;
        transform: none !important;
    }

    .benday-divider {
        transform: scaleX(1) !important;
    }
}
