/* ============================================
   HHUDDL.com - Styles
   Playful, bubble-themed, creamy pastel design
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Palette */
    --bg-primary: #FFF8F0;
    --bg-secondary: #FDE8E0;
    --surface: #FFFFFF;
    --accent-primary: #F2A7B3;
    --accent-secondary: #C3B1E1;
    --accent-tertiary: #B8E0C8;
    --warm-pop: #FDCB82;
    --text-primary: #4A3728;
    --text-secondary: #8B7381;
    --text-muted: #B5A8A0;
    --bubble-peach: #FFD5C8;
    --bubble-sky: #D4EAFF;
    --bubble-lemon: #FFF3C4;

    /* Spring easing */
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --spring-soft: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-out-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Spacing */
    --section-gap: 80px;
    --container-padding: 40px;

    /* Typography */
    --font-heading: 'Nunito', sans-serif;
    --font-secondary: 'Varela Round', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --font-accent: 'Baloo 2', cursive;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    /* Stipple texture - subtle noise for warmth */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    line-height: 1.3;
}

p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--text-secondary);
}

/* ============================================
   Background Bubbles (Depth Plane 1 - far)
   ============================================ */
#bg-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-bubble {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
}

.bg-bubble-1 {
    width: 400px;
    height: 400px;
    top: -5%;
    left: -5%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-sky), transparent 70%);
    opacity: 0.08;
    animation: bubbleDrift1 22s ease-in-out infinite;
}

.bg-bubble-2 {
    width: 350px;
    height: 350px;
    top: 15%;
    right: -3%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-peach), transparent 70%);
    opacity: 0.1;
    animation: bubbleDrift2 28s ease-in-out infinite;
    animation-delay: -5s;
}

.bg-bubble-3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 10%;
    background: radial-gradient(circle at 35% 35%, var(--bubble-lemon), transparent 70%);
    opacity: 0.07;
    animation: bubbleDrift3 25s ease-in-out infinite;
    animation-delay: -12s;
}

.bg-bubble-4 {
    width: 500px;
    height: 500px;
    top: 60%;
    right: 5%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-sky), transparent 70%);
    opacity: 0.06;
    animation: bubbleDrift1 30s ease-in-out infinite;
    animation-delay: -8s;
}

.bg-bubble-5 {
    width: 250px;
    height: 250px;
    top: 80%;
    left: 30%;
    background: radial-gradient(circle at 40% 40%, var(--accent-secondary), transparent 70%);
    opacity: 0.05;
    animation: bubbleDrift2 20s ease-in-out infinite;
    animation-delay: -3s;
}

.bg-bubble-6 {
    width: 200px;
    height: 200px;
    top: 25%;
    left: 50%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-peach), transparent 70%);
    opacity: 0.09;
    animation: bubbleDrift3 18s ease-in-out infinite;
    animation-delay: -15s;
}

.bg-bubble-7 {
    width: 320px;
    height: 320px;
    top: 120%;
    left: -8%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-sky), transparent 70%);
    opacity: 0.07;
    animation: bubbleDrift1 24s ease-in-out infinite;
    animation-delay: -2s;
}

.bg-bubble-8 {
    width: 280px;
    height: 280px;
    top: 170%;
    right: 15%;
    background: radial-gradient(circle at 35% 35%, var(--bubble-lemon), transparent 70%);
    opacity: 0.08;
    animation: bubbleDrift2 26s ease-in-out infinite;
    animation-delay: -10s;
}

.bg-bubble-9 {
    width: 380px;
    height: 380px;
    top: 220%;
    left: 20%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-peach), transparent 70%);
    opacity: 0.06;
    animation: bubbleDrift3 21s ease-in-out infinite;
    animation-delay: -7s;
}

.bg-bubble-10 {
    width: 260px;
    height: 260px;
    top: 260%;
    right: 25%;
    background: radial-gradient(circle at 40% 40%, var(--accent-secondary), transparent 70%);
    opacity: 0.05;
    animation: bubbleDrift1 19s ease-in-out infinite;
    animation-delay: -14s;
}

.bg-bubble-11 {
    width: 220px;
    height: 220px;
    top: 300%;
    left: 60%;
    background: radial-gradient(circle at 40% 40%, var(--bubble-sky), transparent 70%);
    opacity: 0.07;
    animation: bubbleDrift2 23s ease-in-out infinite;
    animation-delay: -4s;
}

.bg-bubble-12 {
    width: 340px;
    height: 340px;
    top: 340%;
    left: 5%;
    background: radial-gradient(circle at 35% 35%, var(--bubble-lemon), transparent 70%);
    opacity: 0.06;
    animation: bubbleDrift3 27s ease-in-out infinite;
    animation-delay: -9s;
}

@keyframes bubbleDrift1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(20px, -15px); }
    50% { transform: translate(-10px, 10px); }
    75% { transform: translate(15px, 5px); }
}

@keyframes bubbleDrift2 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-15px, 10px); }
    50% { transform: translate(20px, -8px); }
    75% { transform: translate(-8px, -12px); }
}

@keyframes bubbleDrift3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(12px, 18px); }
    66% { transform: translate(-18px, -6px); }
}

/* ============================================
   Foreground Bubbles (Depth Plane 3 - near)
   ============================================ */
#fg-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.fg-bubble {
    position: absolute;
    border-radius: 50%;
    will-change: transform;
    border: 1px solid rgba(242, 167, 179, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 213, 200, 0.1) 100%);
}

.fg-bubble-1 {
    width: 60px;
    height: 60px;
    top: 12%;
    left: 8%;
    animation: fgFloat1 20s ease-in-out infinite;
}

.fg-bubble-2 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 12%;
    animation: fgFloat2 17s ease-in-out infinite;
    animation-delay: -6s;
}

.fg-bubble-3 {
    width: 80px;
    height: 80px;
    top: 55%;
    left: 5%;
    animation: fgFloat1 24s ease-in-out infinite;
    animation-delay: -10s;
}

.fg-bubble-4 {
    width: 50px;
    height: 50px;
    top: 70%;
    right: 8%;
    animation: fgFloat2 19s ease-in-out infinite;
    animation-delay: -3s;
}

.fg-bubble-5 {
    width: 35px;
    height: 35px;
    top: 20%;
    left: 75%;
    animation: fgFloat1 16s ease-in-out infinite;
    animation-delay: -8s;
}

.fg-bubble-6 {
    width: 90px;
    height: 90px;
    top: 45%;
    right: 3%;
    animation: fgFloat2 22s ease-in-out infinite;
    animation-delay: -13s;
}

.fg-bubble-7 {
    width: 45px;
    height: 45px;
    top: 85%;
    left: 20%;
    animation: fgFloat1 18s ease-in-out infinite;
    animation-delay: -5s;
}

.fg-bubble-8 {
    width: 55px;
    height: 55px;
    top: 10%;
    right: 30%;
    animation: fgFloat2 21s ease-in-out infinite;
    animation-delay: -11s;
}

@keyframes fgFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    25% { transform: translate(-15px, -20px) scale(1.05); opacity: 0.5; }
    50% { transform: translate(10px, 15px) scale(0.95); opacity: 0.35; }
    75% { transform: translate(20px, -10px) scale(1.02); opacity: 0.45; }
}

@keyframes fgFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
    33% { transform: translate(18px, 12px) scale(1.08); opacity: 0.45; }
    66% { transform: translate(-12px, -18px) scale(0.92); opacity: 0.3; }
}

/* ============================================
   Cursor Trail
   ============================================ */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 99;
    overflow: hidden;
}

.trail-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
    transition: opacity 0.6s ease-out;
}

/* ============================================
   Navigation
   ============================================ */
#main-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 12px 30px;
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(242, 167, 179, 0.15);
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.06);
}

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--accent-primary);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 25px;
    transition: all 0.3s var(--spring);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(242, 167, 179, 0.12);
    transform: translateY(-2px);
}

/* ============================================
   Scenes (General)
   ============================================ */
.scene {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.scene-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   Scene 1: The Welcome
   ============================================ */
.scene-welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.scene-welcome .scene-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-top: 100px;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-headline {
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    color: var(--surface);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 14px 36px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(242, 167, 179, 0.3);
    transition: all 0.3s var(--spring);
}

.hero-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 32px rgba(242, 167, 179, 0.4);
}

.hero-illustration {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.huddle-scene {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(74, 55, 40, 0.08));
}

/* Spring-in animation initial state */
.spring-in {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: opacity 0.6s var(--spring), transform 0.6s var(--spring);
}

.spring-in.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Float objects in hero SVG */
.float-object {
    animation: floatObject 6s ease-in-out infinite;
}

.float-star { animation-delay: 0s; }
.float-leaf { animation-delay: -1.5s; }
.float-book { animation-delay: -3s; }
.float-mug { animation-delay: -4.5s; }
.float-cloud { animation-delay: -2s; animation-duration: 8s; }

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

/* ============================================
   Wave Dividers
   ============================================ */
.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Scene 2: The Discovery
   ============================================ */
.scene-discover {
    background: var(--bg-secondary);
    padding: var(--section-gap) 0 calc(var(--section-gap) + 60px);
}

.section-title {
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    color: var(--text-secondary);
}

/* Huddle Clusters */
.huddle-cluster {
    margin-bottom: 50px;
    padding: 36px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--bg-primary) 100%);
    border-radius: 40px;
    box-shadow: 0 8px 32px rgba(74, 55, 40, 0.06);
    transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring);
}

.huddle-cluster:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(74, 55, 40, 0.1);
}

.cluster-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cluster-left {
    max-width: 85%;
}

.cluster-right {
    max-width: 85%;
    margin-left: auto;
}

.cluster-text {
    flex: 1.2;
}

.cluster-text h3 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.cluster-text p {
    line-height: 1.8;
}

.cluster-visual {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cluster-visual svg {
    width: 180px;
    height: 180px;
}

/* Confetti Dots */
.confetti-dots {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 40px 0;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0.6;
    animation: dotBounce 2s ease-in-out infinite;
}

.dot-rose { background: var(--accent-primary); animation-delay: 0s; }
.dot-lavender { background: var(--accent-secondary); animation-delay: 0.15s; }
.dot-mint { background: var(--accent-tertiary); animation-delay: 0.3s; }
.dot-apricot { background: var(--warm-pop); animation-delay: 0.45s; }
.dot-sky { background: var(--bubble-sky); animation-delay: 0.6s; }
.dot-lemon { background: var(--bubble-lemon); animation-delay: 0.75s; }

@keyframes dotBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-5px); opacity: 1; }
}

/* Reveal animation */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--spring);
}

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

/* Cluster rotation for reveal */
.huddle-cluster.cluster-left.reveal-element {
    transform: translateX(-40px) translateY(30px) rotate(1.5deg);
}

.huddle-cluster.cluster-right.reveal-element {
    transform: translateX(40px) translateY(30px) rotate(-1.5deg);
}

.huddle-cluster.reveal-element.visible {
    transform: translateX(0) translateY(0) rotate(0deg);
}

/* ============================================
   Scene 3: The Deep Dive
   ============================================ */
.scene-deep-dive {
    background: var(--bg-primary);
    padding: var(--section-gap) 0 calc(var(--section-gap) + 60px);
    position: relative;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

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

.p-circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    background: radial-gradient(circle, var(--bubble-sky) 0%, transparent 70%);
    opacity: 0.12;
}

.p-circle-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: -3%;
    background: radial-gradient(circle, var(--bubble-peach) 0%, transparent 70%);
    opacity: 0.1;
}

.p-circle-3 {
    width: 200px;
    height: 200px;
    bottom: 15%;
    left: 30%;
    background: radial-gradient(circle, var(--bubble-lemon) 0%, transparent 70%);
    opacity: 0.08;
}

.p-circle-4 {
    width: 180px;
    height: 180px;
    top: 25%;
    right: 20%;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.1;
}

.p-circle-5 {
    width: 160px;
    height: 160px;
    bottom: 30%;
    left: 10%;
    background: radial-gradient(circle, var(--accent-tertiary) 0%, transparent 70%);
    opacity: 0.08;
}

/* Masonry Pill Container */
.masonry-pill {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(253, 232, 224, 0.3) 100%);
    border-radius: 48px;
    padding: 48px;
    box-shadow: 0 12px 48px rgba(74, 55, 40, 0.06);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.masonry-card {
    background: var(--surface);
    border-radius: 32px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(74, 55, 40, 0.04);
    transition: transform 0.3s var(--spring), box-shadow 0.3s var(--spring);
}

.masonry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(74, 55, 40, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
}

.masonry-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.masonry-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Alternate card accent borders */
.card-1 { border-top: 3px solid var(--accent-primary); }
.card-2 { border-top: 3px solid var(--accent-tertiary); }
.card-3 { border-top: 3px solid var(--accent-secondary); }
.card-4 { border-top: 3px solid var(--bubble-sky); }
.card-5 { border-top: 3px solid var(--bubble-peach); }
.card-6 { border-top: 3px solid var(--warm-pop); }

/* ============================================
   Scene 4: The Farewell
   ============================================ */
.scene-farewell {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    padding: var(--section-gap) 0;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scene-farewell .scene-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.farewell-illustration {
    max-width: 500px;
    margin: 0 auto 40px;
    width: 100%;
}

.farewell-scene {
    width: 100%;
    height: auto;
}

.farewell-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.farewell-message {
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

.farewell-links {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.farewell-link {
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--accent-primary);
    padding: 12px 32px;
    border-radius: 50px;
    border: 2px solid var(--accent-primary);
    transition: all 0.3s var(--spring);
}

.farewell-link:hover {
    background: var(--accent-primary);
    color: var(--surface);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(242, 167, 179, 0.3);
}

/* Float-away animation for farewell SVG elements */
.float-away {
    animation: floatAway 5s ease-in-out infinite;
}

.float-away:nth-child(1) { animation-delay: 0s; }
.float-away:nth-child(2) { animation-delay: -1s; }
.float-away:nth-child(3) { animation-delay: -2s; }
.float-away:nth-child(4) { animation-delay: -3s; }
.float-away:nth-child(5) { animation-delay: -4s; }

@keyframes floatAway {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(-10px); opacity: 0.6; }
}

/* ============================================
   Footer
   ============================================ */
#site-footer {
    background: var(--bg-secondary);
    padding: 50px var(--container-padding);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer-dots .dot {
    width: 6px;
    height: 6px;
    animation: none;
    opacity: 0.5;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
    .scene-welcome .scene-content {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-illustration {
        max-width: 350px;
    }

    .cluster-content {
        flex-direction: column;
        text-align: center;
    }

    .cluster-left,
    .cluster-right {
        max-width: 100%;
        margin-left: 0;
    }

    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .masonry-pill {
        padding: 32px 24px;
        border-radius: 36px;
    }

    #main-nav {
        top: 12px;
        padding: 10px 20px;
        gap: 16px;
    }

    .nav-link {
        font-size: 0.8rem;
        padding: 5px 10px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    :root {
        --section-gap: 50px;
        --container-padding: 20px;
    }

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

    .huddle-cluster {
        padding: 24px;
        border-radius: 28px;
    }

    .nav-links {
        display: none;
    }

    #main-nav {
        padding: 10px 24px;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

    .fg-bubble {
        display: none;
    }
}
