/* ===================================================================
   MEANINGOFLIFE.DEV — Precision Neuroacoustic Interface
   Dark cosmic crystalline aesthetic. Breathing. Alive.
   =================================================================== */

:root {
    /* The Void */
    --void: #020208;
    --void-deep: #010104;
    --void-soft: #0a0a18;

    /* Bioluminescent Spectrum */
    --cyan: #00f5ff;
    --cyan-dim: #00f5ff80;
    --cyan-glow: #00f5ff30;
    --magenta: #ff00aa;
    --magenta-dim: #ff00aa80;
    --magenta-glow: #ff00aa20;
    --violet: #8b5cf6;
    --violet-dim: #8b5cf680;
    --violet-glow: #8b5cf620;
    --gold: #ffd700;
    --gold-glow: #ffd70020;

    /* Consciousness Gradients */
    --gradient-cosmic: linear-gradient(135deg, #0a0020 0%, #1a0030 25%, #0a1030 50%, #000a20 100%);
    --gradient-nebula: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.15) 0%, transparent 70%);

    /* Text */
    --text-bright: #ffffff;
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --text-muted: #606080;

    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Cormorant Garamond', serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Breathing Rhythm (~6 breaths/minute = 10s cycle) */
    --breath-duration: 10s;
    --breath-ease: cubic-bezier(0.37, 0, 0.63, 1);

    /* Spacing */
    --section-padding: clamp(6rem, 15vh, 12rem);
}

/* ===================================================================
   RESET & BASE
   =================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--void);
    overflow-x: hidden;
    cursor: auto;
    -webkit-font-smoothing: antialiased;
}

.js body {
    cursor: none;
}

body::-webkit-scrollbar {
    width: 0;
    display: none;
}

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

.js a {
    cursor: none;
}

button, input {
    font-family: inherit;
    cursor: auto;
    border: none;
    background: none;
    outline: none;
}

.js button, .js input {
    cursor: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===================================================================
   DIMENSIONAL LAYERS — Parallax Depth System
   =================================================================== */

.dimension-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh;
    pointer-events: none;
    z-index: 0;
}

.dimension-far {
    background:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 70%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 30%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.4) 0%, transparent 100%);
    opacity: 0.6;
}

.dimension-mid {
    background:
        radial-gradient(2px 2px at 15% 45%, rgba(139, 92, 246, 0.6) 0%, transparent 100%),
        radial-gradient(2px 2px at 45% 15%, rgba(0, 245, 255, 0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 75% 65%, rgba(255, 0, 170, 0.4) 0%, transparent 100%),
        radial-gradient(2px 2px at 85% 25%, rgba(139, 92, 246, 0.5) 0%, transparent 100%);
}

.dimension-near {
    background:
        radial-gradient(3px 3px at 25% 35%, rgba(0, 245, 255, 0.8) 0%, transparent 100%),
        radial-gradient(3px 3px at 65% 55%, rgba(255, 0, 170, 0.6) 0%, transparent 100%),
        radial-gradient(3px 3px at 85% 75%, rgba(139, 92, 246, 0.7) 0%, transparent 100%);
}

/* ===================================================================
   LIVING NEBULA — Breathing Cosmic Clouds
   =================================================================== */

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

.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    mix-blend-mode: screen;
    animation: nebula-breathe var(--breath-duration) var(--breath-ease) infinite;
}

.nebula-1 {
    width: 60vw;
    height: 60vw;
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    animation-delay: 0s;
}

.nebula-2 {
    width: 50vw;
    height: 50vw;
    top: 30%;
    right: -15%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.2) 0%, transparent 70%);
    animation-delay: calc(var(--breath-duration) / 3);
}

.nebula-3 {
    width: 70vw;
    height: 70vw;
    bottom: -30%;
    left: 20%;
    background: radial-gradient(circle, rgba(255, 0, 170, 0.15) 0%, transparent 70%);
    animation-delay: calc(var(--breath-duration) * 2 / 3);
}

@keyframes nebula-breathe {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.15) translate(2%, 2%);
        opacity: 1;
    }
}

/* ===================================================================
   BREATHING GRID — Subtle Sacred Geometry
   =================================================================== */

.breathing-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.03;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.5) 1px, transparent 1px);
    background-size: 100px 100px;
    animation: grid-breathe var(--breath-duration) var(--breath-ease) infinite;
}

@keyframes grid-breathe {
    0%, 100% {
        background-size: 100px 100px;
        opacity: 0.02;
    }
    50% {
        background-size: 110px 110px;
        opacity: 0.05;
    }
}

/* ===================================================================
   STARFIELD CANVAS
   =================================================================== */

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    display: none;
}

.js .starfield {
    display: block;
}

/* ===================================================================
   PORTAL VIGNETTE
   =================================================================== */

.portal-vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    background: radial-gradient(
        ellipse 80% 60% at 50% 50%,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.4) 80%,
        rgba(0, 0, 0, 0.8) 100%
    );
    animation: vignette-breathe var(--breath-duration) var(--breath-ease) infinite;
}

@keyframes vignette-breathe {
    0%, 100% {
        background: radial-gradient(
            ellipse 80% 60% at 50% 50%,
            transparent 0%,
            transparent 50%,
            rgba(0, 0, 0, 0.4) 80%,
            rgba(0, 0, 0, 0.8) 100%
        );
    }
    50% {
        background: radial-gradient(
            ellipse 85% 65% at 50% 50%,
            transparent 0%,
            transparent 55%,
            rgba(0, 0, 0, 0.3) 80%,
            rgba(0, 0, 0, 0.7) 100%
        );
    }
}

/* ===================================================================
   SCROLL PROGRESS
   =================================================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.05);
    display: none;
}

.js .scroll-progress {
    display: block;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));
    box-shadow: 0 0 20px var(--cyan-glow);
    transition: width 0.1s ease-out;
}

/* ===================================================================
   NAVIGATION
   =================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem clamp(2rem, 5vw, 4rem);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    padding: 1rem clamp(2rem, 5vw, 4rem);
    background: rgba(2, 2, 8, 0.9);
    backdrop-filter: blur(20px);
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
}

.logo-pulse {
    position: absolute;
    left: -8px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cyan-glow);
    animation: logo-pulse var(--breath-duration) var(--breath-ease) infinite;
}

@keyframes logo-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

.logo-icon {
    position: relative;
    font-size: 1.5rem;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan);
    animation: icon-glow 3s ease-in-out infinite;
}

@keyframes icon-glow {
    0%, 100% { text-shadow: 0 0 20px var(--cyan-dim); }
    50% { text-shadow: 0 0 40px var(--cyan), 0 0 60px var(--cyan-glow); }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.nav-links a {
    position: relative;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-bright);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--violet));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    position: relative;
    padding: 0.75rem 1.75rem !important;
    background: transparent;
    border: 1px solid var(--cyan-dim);
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cyan-glow), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 30px var(--cyan-glow);
    color: var(--text-bright);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-checkbox {
    display: none;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--void);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-checkbox:checked ~ .mobile-menu {
    opacity: 1;
    pointer-events: auto;
}

.menu-checkbox:checked ~ .nav .nav-toggle span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.menu-checkbox:checked ~ .nav .nav-toggle span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: flex; }
}

/* ===================================================================
   SMOOTH SCROLL WRAPPER
   =================================================================== */

.smooth-scroll-wrapper {
    position: relative;
    z-index: 10;
}

/* ===================================================================
   SECTIONS — GENERAL
   =================================================================== */

.section {
    position: relative;
    min-height: 100vh;
    padding: var(--section-padding) clamp(2rem, 8vw, 8rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    color: var(--cyan);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-subtitle {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.title-reveal {
    display: block;
    opacity: 1;
    transform: none;
}

.js .title-reveal {
    opacity: 0;
    transform: translateY(40px);
    animation: title-reveal 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.js .title-reveal:nth-child(2) {
    animation-delay: 0.15s;
}

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================================================
   HERO SECTION
   =================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding-top: 8rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    opacity: 1;
}

.js .hero-badge {
    opacity: 0;
    animation: fade-up 1s ease 0.3s forwards;
}

.badge-pulse {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--cyan); }
    50% { opacity: 0.6; box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-title .title-line {
    display: block;
    opacity: 1;
}

.js .hero-title .title-line {
    opacity: 0;
    animation: hero-title-reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.js .hero-title .title-line:nth-child(1) { animation-delay: 0.4s; }
.js .hero-title .title-line:nth-child(2) { animation-delay: 0.6s; }

@keyframes hero-title-reveal {
    from {
        opacity: 0;
        transform: translateY(60px) rotateX(-15deg);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

.title-main {
    background: linear-gradient(
        135deg,
        var(--cyan) 0%,
        var(--violet) 40%,
        var(--magenta) 80%,
        var(--cyan) 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    opacity: 1;
}

.js .hero-tagline {
    opacity: 0;
    animation: fade-up 1s ease 1s forwards;
}

.tagline-word {
    display: inline-block;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-glow);
}

.hero-description {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 520px;
    opacity: 1;
}

.js .hero-description {
    opacity: 0;
    animation: fade-up 1s ease 1.2s forwards;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    opacity: 1;
}

.js .hero-ctas {
    opacity: 0;
    animation: fade-up 1s ease 1.4s forwards;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.1rem 2.25rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--cyan);
    color: var(--void);
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 40px var(--cyan-glow),
        0 0 60px var(--cyan-glow);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Hero Visual — Orbital System */
.hero-visual {
    position: relative;
    width: 450px;
    height: 450px;
    flex-shrink: 0;
    opacity: 1;
}

.js .hero-visual {
    opacity: 0;
    animation: hero-visual-reveal 2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

@keyframes hero-visual-reveal {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.orbital-system {
    position: relative;
    width: 100%;
    height: 100%;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 120px;
    height: 120px;
    animation: orbit-rotate 12s linear infinite;
}

.orbit-2 {
    width: 200px;
    height: 200px;
    animation: orbit-rotate 20s linear infinite reverse;
}

.orbit-3 {
    width: 300px;
    height: 300px;
    animation: orbit-rotate 35s linear infinite;
}

.orbit-4 {
    width: 400px;
    height: 400px;
    animation: orbit-rotate 50s linear infinite reverse;
    border-style: dashed;
    opacity: 0.5;
}

@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    top: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: dot-glow var(--breath-duration) ease-in-out infinite;
}

.orbit-1 .orbit-dot {
    background: var(--cyan);
    box-shadow: 0 0 20px var(--cyan), 0 0 40px var(--cyan-glow);
}

.orbit-2 .orbit-dot {
    background: var(--violet);
    box-shadow: 0 0 20px var(--violet), 0 0 40px var(--violet-glow);
    animation-delay: 2s;
}

.orbit-3 .orbit-dot {
    background: var(--magenta);
    box-shadow: 0 0 20px var(--magenta), 0 0 40px var(--magenta-glow);
    animation-delay: 4s;
}

.orbit-4 .orbit-dot {
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold), 0 0 40px var(--gold-glow);
    animation-delay: 6s;
}

@keyframes dot-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

/* Core */
.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
}

.core-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid var(--cyan-dim);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: core-ring-pulse var(--breath-duration) ease-in-out infinite;
}

.core-ring:nth-child(1) { animation-delay: 0s; }
.core-ring:nth-child(2) { animation-delay: calc(var(--breath-duration) / 3); }
.core-ring:nth-child(3) { animation-delay: calc(var(--breath-duration) * 2 / 3); }

@keyframes core-ring-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.core-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 20px var(--cyan),
        0 0 40px var(--cyan),
        0 0 80px var(--cyan-glow);
    animation: core-breathe var(--breath-duration) var(--breath-ease) infinite;
}

@keyframes core-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
    50% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
}

.js .scroll-indicator {
    opacity: 0;
    animation: fade-up 1s ease 2s forwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 1px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0; }
}

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

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

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

    .hero-ctas {
        justify-content: center;
    }

    .hero-visual {
        width: 320px;
        height: 320px;
    }

    .orbit-4 {
        width: 300px;
        height: 300px;
    }
}

/* ===================================================================
   DIMENSION DIVIDER
   =================================================================== */

.dimension-divider {
    position: relative;
    height: 120px;
    margin: -1px 0;
}

.dimension-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===================================================================
   LISTEN SECTION
   =================================================================== */

.headphones-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: rgba(0, 245, 255, 0.05);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    margin-bottom: 3rem;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 0.02em;
}

.headphones-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Fold Cards */
.fold-card {
    position: relative;
    padding: 2.5rem;
    margin-bottom: 2rem;
    background: rgba(10, 10, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fold-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(10, 10, 30, 0.85);
}

.fold-featured {
    border-color: rgba(0, 245, 255, 0.15);
    background: rgba(10, 10, 30, 0.8);
}

.fold-featured:hover {
    border-color: rgba(0, 245, 255, 0.3);
}

.fold-header {
    margin-bottom: 1rem;
}

.fold-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.5rem;
}

.fold-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--text-bright);
}

.fold-description {
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    max-width: 800px;
    line-height: 1.7;
}

.fold-chapters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.chapter-sep {
    color: rgba(255, 255, 255, 0.15);
}

/* YouTube Embed — Lazy Load */
.fold-embed {
    margin-bottom: 1.5rem;
}

.youtube-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.youtube-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.youtube-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.youtube-placeholder:hover img {
    opacity: 0.9;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.youtube-placeholder:hover .play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 100%;
    height: 100%;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Download Links */
.fold-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.download-link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--cyan-dim);
    color: var(--cyan);
}

.download-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ===================================================================
   SCIENCE SECTION
   =================================================================== */

.science-explainer {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.explainer-block h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.explainer-block p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.science-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, var(--cyan-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.science-card:hover .card-glow {
    opacity: 1;
}

.science-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-dim);
    box-shadow:
        0 8px 12px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 40px 80px rgba(0, 245, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.science-card:hover .card-icon {
    transform: scale(1.1);
}

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

.science-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-bright);
}

.science-card p {
    color: rgba(224, 224, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.75;
}

/* Brainwave States */
.brainwave-states {
    margin-top: 2rem;
}

.states-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 2rem;
}

.brain-waves-container {
    position: relative;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    max-width: 700px;
}

.waves-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 50%);
    animation: waves-glow-pulse var(--breath-duration) var(--breath-ease) infinite;
    pointer-events: none;
}

@keyframes waves-glow-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.brain-waves {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wave-row {
    display: grid;
    grid-template-columns: 70px 1fr 70px auto;
    align-items: center;
    gap: 1rem;
}

.wave-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.wave-hz {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: right;
}

.wave-desc {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.wave-track {
    height: 30px;
    position: relative;
    overflow: hidden;
}

.wave-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
}

.wave-path {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

[data-wave="gamma"] .wave-path {
    stroke: #ff6b6b;
    animation: wave-animate 0.25s linear infinite;
}

[data-wave="alpha"] .wave-path {
    stroke: #48dbfb;
    animation: wave-animate 0.40s linear infinite;
}

[data-wave="theta"] .wave-path {
    stroke: var(--cyan);
    animation: wave-animate 0.38s linear infinite;
}

[data-wave="delta"] .wave-path {
    stroke: var(--violet);
    animation: wave-animate 0.50s linear infinite;
}

[data-wave="epsilon"] .wave-path {
    stroke: var(--magenta);
    animation: wave-animate 10s linear infinite;
}

@keyframes wave-animate {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
    .wave-row {
        grid-template-columns: 55px 1fr 55px;
    }
    .wave-desc {
        display: none;
    }
}

/* ===================================================================
   JOURNEY SECTION
   =================================================================== */

.journey-intro {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 5rem;
    max-width: 600px;
}

.journey-phases {
    position: relative;
    max-width: 900px;
}

.phase-track {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.phase-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, var(--cyan), var(--violet), var(--magenta));
    transition: height 0.5s ease;
}

.phase {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 2rem;
    padding: 2rem 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.js .phase {
    opacity: 0.4;
}

.js .phase.is-active {
    opacity: 1;
}

.phase-marker {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.phase-ring {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid var(--cyan-dim);
    border-radius: 50%;
    opacity: 0;
    animation: phase-ring-pulse 2s ease-in-out infinite;
}

.phase.is-active .phase-ring {
    opacity: 1;
}

@keyframes phase-ring-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.5); opacity: 0; }
}

.phase-dot {
    width: 12px;
    height: 12px;
    background: var(--void);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.phase.is-active .phase-dot {
    background: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 20px var(--cyan);
}

.phase-content {
    padding-right: 2rem;
}

.phase-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.phase-name {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.phase-state {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.phase-desc {
    color: var(--text-secondary);
    max-width: 450px;
}

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

.phase-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: orb-breathe var(--breath-duration) var(--breath-ease) infinite;
}

.phase-orb-1 { background: radial-gradient(circle, rgba(72, 219, 251, 0.6) 0%, transparent 70%); }
.phase-orb-2 { background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%); animation-delay: 2s; }
.phase-orb-3 { background: radial-gradient(circle, rgba(255, 0, 170, 0.6) 0%, transparent 70%); animation-delay: 4s; }
.phase-orb-4 { background: radial-gradient(circle, rgba(139, 92, 246, 0.6) 0%, transparent 70%); animation-delay: 6s; }
.phase-orb-5 { background: radial-gradient(circle, rgba(72, 219, 251, 0.6) 0%, transparent 70%); animation-delay: 8s; }

@keyframes orb-breathe {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

@media (max-width: 700px) {
    .phase {
        grid-template-columns: 40px 1fr;
    }

    .phase-visual {
        display: none;
    }

    .phase-track {
        left: 18px;
    }
}

/* ===================================================================
   PHILOSOPHY SECTION
   =================================================================== */

.philosophy-content {
    max-width: 900px;
}

.philosophy-lead {
    margin-bottom: 4rem;
}

.philosophy-quote {
    font-family: var(--font-body);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--text-primary);
    padding: 2.5rem;
    border-left: 2px solid var(--violet);
    background: rgba(139, 92, 246, 0.04);
    border-radius: 0 16px 16px 0;
}

.principles-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.principle {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.principle:last-child {
    border-bottom: none;
}

.principle-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--cyan);
    display: block;
    margin-bottom: 0.75rem;
}

.principle h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.principle p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 700px;
}

/* Equation Block */
.philosophy-equation {
    margin-bottom: 4rem;
}

.equation-block {
    padding: 2rem 2.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    overflow-x: auto;
}

.equation-block code {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
    color: var(--cyan);
    white-space: pre;
}

/* Soul / Field Notes */
.soul-section {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.soul-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 2rem;
}

.soul-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    max-width: 750px;
}

.soul-quote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--text-primary);
    padding: 2rem;
    margin-top: 2rem;
    border-left: 2px solid var(--cyan);
    background: rgba(0, 245, 255, 0.03);
    border-radius: 0 12px 12px 0;
}

/* ===================================================================
   GEAR SECTION
   =================================================================== */

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gear-card {
    position: relative;
    padding: 2.5rem;
    background: rgba(10, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gear-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.gear-card:hover .card-glow {
    opacity: 1;
}

.gear-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.gear-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.gear-desc {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.gear-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cyan);
    transition: all 0.3s ease;
}

.gear-link:hover {
    color: var(--text-bright);
}

.gear-link svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.gear-link:hover svg {
    transform: translateX(4px);
}

/* ===================================================================
   OPEN SOURCE SECTION
   =================================================================== */

.open-source-content {
    max-width: 800px;
}

.open-source-lead {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.repo-card {
    padding: 2.5rem;
    background: rgba(10, 10, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin-bottom: 2rem;
}

.repo-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.github-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: var(--text-primary);
}

.repo-header h3 {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}

.repo-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.repo-stats {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    line-height: 2;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.repo-stats code {
    color: var(--cyan);
}

.repo-btn {
    display: inline-flex;
}

.open-source-invite {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* ===================================================================
   TESTIMONIAL / CLOSING QUOTE
   =================================================================== */

.testimonial {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-content {
    max-width: 900px;
    padding: 4rem;
}

.quote-container {
    position: relative;
}

.quote-symbol {
    position: absolute;
    top: -2rem;
    left: -1rem;
    font-family: var(--font-display);
    font-size: 8rem;
    color: var(--violet);
    opacity: 0.2;
    line-height: 1;
}

.testimonial blockquote {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
}

/* ===================================================================
   FOOTER
   =================================================================== */

.footer {
    padding: var(--section-padding) clamp(2rem, 8vw, 8rem) 3rem;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.footer-tagline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-mission {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 5rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem !important;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 2rem 4rem;
    }
}

/* ===================================================================
   CUSTOM CURSOR
   =================================================================== */

.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    display: none;
}

.js .cursor {
    display: block;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
    opacity: 0.5;
}

.cursor.hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--magenta);
    opacity: 1;
}

.cursor.hover .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    background: var(--magenta);
}

@media (hover: none) {
    .cursor, .js .cursor { display: none; }
    body, .js body { cursor: auto; }
    a, button, .js a, .js button { cursor: pointer; }
}

/* ===================================================================
   SCROLL REVEAL ANIMATIONS
   =================================================================== */

[data-scroll] {
    opacity: 1;
    transform: none;
}

.js [data-scroll] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.js [data-scroll].is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.js .science-card:nth-child(1) { transition-delay: 0s; }
.js .science-card:nth-child(2) { transition-delay: 0.1s; }
.js .science-card:nth-child(3) { transition-delay: 0.2s; }
.js .science-card:nth-child(4) { transition-delay: 0.3s; }
.js .science-card:nth-child(5) { transition-delay: 0.4s; }
.js .science-card:nth-child(6) { transition-delay: 0.5s; }

.js .gear-card:nth-child(1) { transition-delay: 0s; }
.js .gear-card:nth-child(2) { transition-delay: 0.15s; }
.js .gear-card:nth-child(3) { transition-delay: 0.3s; }

.js .principle:nth-child(1) { transition-delay: 0s; }
.js .principle:nth-child(2) { transition-delay: 0.05s; }
.js .principle:nth-child(3) { transition-delay: 0.1s; }
.js .principle:nth-child(4) { transition-delay: 0.15s; }
.js .principle:nth-child(5) { transition-delay: 0.2s; }
.js .principle:nth-child(6) { transition-delay: 0.25s; }
.js .principle:nth-child(7) { transition-delay: 0.3s; }

.js .phase:nth-child(2) { transition-delay: 0s; }
.js .phase:nth-child(3) { transition-delay: 0.1s; }
.js .phase:nth-child(4) { transition-delay: 0.2s; }
.js .phase:nth-child(5) { transition-delay: 0.3s; }
.js .phase:nth-child(6) { transition-delay: 0.4s; }

.js .fold-card:nth-child(2) { transition-delay: 0s; }
.js .fold-card:nth-child(3) { transition-delay: 0.05s; }
.js .fold-card:nth-child(4) { transition-delay: 0.1s; }
.js .fold-card:nth-child(5) { transition-delay: 0.15s; }
.js .fold-card:nth-child(6) { transition-delay: 0.2s; }
.js .fold-card:nth-child(7) { transition-delay: 0.25s; }
