:root {
    /* Typography notes: Fira Code (accent; Google Fonts), Space Grotesk (body — monospace-heritage proportional; Google Fonts). Blur-Focus Scroll Interaction* Interaction:** uses IntersectionObserver` with `threshold: [0, 0.2, 0.5, 0.8, 1]. Interference Pattern" (viewport 2) remains broken-grid. */
    --void: #0a0a0f;
    --deep: #12121f;
    --cyan: #00f0ff;
    --magenta: #ff2d7b;
    --green: #39ff14;
    --white: #e0e8f0;
    --gray: #6b7a8a;
    --display: "Share Tech Mono", monospace;
    --body: "Space Grotesk", sans-serif;
    --accent: "Fira Code", monospace;
}

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

html {
    background: var(--void);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 16% 12%, rgba(255, 45, 123, 0.12), transparent 28rem),
        radial-gradient(circle at 82% 42%, rgba(0, 240, 255, 0.12), transparent 32rem),
        linear-gradient(180deg, #0a0a0f 0%, #12121f 52%, #0a0a0f 100%);
    color: var(--white);
    font-family: var(--body);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.65;
}

body::after {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    content: "";
    background: repeating-linear-gradient(0deg, transparent, transparent 1px, rgba(0, 240, 255, 0.02) 1px, rgba(0, 240, 255, 0.02) 2px);
    mix-blend-mode: screen;
}

.compliance-tokens {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 2;
}

.curve-field {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.92;
}

.neon-curves {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.curve {
    fill: none;
    stroke: var(--cyan);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.curve-glow {
    filter: blur(6px);
    opacity: 0.5;
}

.curve-core {
    opacity: 0.86;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.75));
}

.curve-one { animation: curveOne 7s ease-in-out infinite; }
.curve-two { animation: curveTwo 11s ease-in-out infinite; }
.curve-three { animation: curveThree 13s ease-in-out infinite; }
.curve-four { animation: curveFour 17s ease-in-out infinite; }

@keyframes curveOne {
    0%, 100% { d: path("M -80 476 C 180 142, 318 804, 548 452 S 920 96, 1128 428 S 1328 720, 1520 306"); }
    33% { d: path("M -80 418 C 190 236, 318 686, 548 386 S 900 190, 1128 486 S 1310 622, 1520 372"); }
    66% { d: path("M -80 520 C 168 104, 342 742, 548 512 S 940 64, 1128 376 S 1362 786, 1520 248"); }
}

@keyframes curveTwo {
    0%, 100% { d: path("M -70 228 C 156 498, 342 90, 562 254 S 806 650, 1038 392 S 1248 128, 1510 548"); }
    33% { d: path("M -70 286 C 130 410, 376 132, 562 216 S 836 714, 1038 332 S 1220 180, 1510 492"); }
    66% { d: path("M -70 188 C 182 560, 318 40, 562 306 S 760 592, 1038 440 S 1284 82, 1510 604"); }
}

@keyframes curveThree {
    0%, 100% { d: path("M -90 666 C 160 522, 306 332, 524 612 S 836 812, 1016 578 S 1280 278, 1530 660"); }
    33% { d: path("M -90 610 C 182 590, 292 278, 524 654 S 790 760, 1016 630 S 1320 330, 1530 608"); }
    66% { d: path("M -90 718 C 120 480, 348 380, 524 558 S 876 858, 1016 526 S 1238 230, 1530 716"); }
}

@keyframes curveFour {
    0%, 100% { d: path("M -120 360 C 122 734, 372 184, 610 360 S 888 508, 1068 220 S 1286 40, 1560 374"); }
    33% { d: path("M -120 416 C 160 672, 330 252, 610 306 S 922 450, 1068 274 S 1240 92, 1560 328"); }
    66% { d: path("M -120 304 C 90 792, 420 126, 610 410 S 852 560, 1068 168 S 1324 8, 1560 430"); }
}

.zone {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.zone::before {
    position: absolute;
    inset: 9vh 7vw;
    content: "";
    background-image:
        linear-gradient(rgba(0, 240, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: calc((100vw - 14vw) / 12) 100%, calc((100vw - 14vw) / 12) 100%;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    opacity: 0.38;
    pointer-events: none;
}

.zone-origin {
    display: grid;
    place-items: start;
    padding: 30vh 8vw 12vh 58vw;
}

.origin-stack {
    position: relative;
    width: min(36rem, 78vw);
}

.headline {
    color: var(--cyan);
    font-family: var(--display);
    font-size: clamp(2.2rem, 5.5vw, 4.8rem);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--cyan), 0 0 40px rgba(0, 240, 255, 0.3), 0 0 80px rgba(0, 240, 255, 0.1);
}

.hero-title {
    font-size: clamp(3.2rem, 9.4vw, 9.5rem);
    line-height: 0.9;
    white-space: nowrap;
}

.tagline {
    position: relative;
    width: min(32rem, 78vw);
    margin-top: -0.55rem;
    padding: 0.85rem 1rem;
    border-left: 2px solid var(--magenta);
    background: rgba(18, 18, 31, 0.64);
    color: var(--white);
    box-shadow: 0 0 20px rgba(255, 45, 123, 0.18);
}

.annotation, .data-rake, .label {
    font-family: var(--accent);
    font-size: clamp(0.7rem, 0.9vw, 0.85rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.annotation, .data-rake {
    position: absolute;
    color: var(--magenta);
    text-shadow: 0 0 14px rgba(255, 45, 123, 0.65);
}

.annotation-a { top: 16vh; left: 13vw; }
.data-rake { right: 9vw; bottom: 15vh; color: var(--green); text-shadow: 0 0 16px rgba(57, 255, 20, 0.6); }
.annotation-b { top: 12vh; right: 16vw; }
.annotation-d { top: 18vh; left: 18vw; opacity: 0.56; }

.zone-interference {
    min-height: 112vh;
}

.signal-card {
    position: absolute;
    width: min(28rem, 76vw);
    padding: clamp(1.3rem, 2.7vw, 2.3rem);
    border: 1px solid rgba(0, 240, 255, 0.68);
    background:
        linear-gradient(135deg, rgba(18, 18, 31, 0.86), rgba(10, 10, 15, 0.78)),
        repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 240, 255, 0.035) 18px 19px);
    box-shadow: 0 0 15px 2px rgba(0, 240, 255, 0.4), inset 0 0 32px rgba(0, 240, 255, 0.04);
    animation: pulseGlow 3s ease-in-out infinite;
}

.signal-card:hover {
    border-color: var(--magenta);
    box-shadow: 0 0 24px 4px rgba(255, 45, 123, 0.75), inset 0 0 36px rgba(255, 45, 123, 0.07);
}

.signal-card .headline {
    margin: 0.3rem 0 0.85rem;
    font-size: clamp(1.65rem, 3.4vw, 3.2rem);
}

.signal-card p, .resonance-column p, .echo-copy p {
    color: var(--white);
}

.secondary {
    margin-top: 1rem;
    color: var(--gray) !important;
}

.label {
    display: inline-block;
    color: var(--magenta);
}

.card-alpha { top: 13vh; left: -1.2rem; }
.card-beta { top: 34vh; right: 8vw; transform-origin: 70% 30%; }
.card-gamma { left: calc(50% - 16rem); bottom: 12vh; }

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 15px 2px rgba(0, 240, 255, 0.4), inset 0 0 32px rgba(0, 240, 255, 0.04); }
    50% { box-shadow: 0 0 15px 2px rgba(0, 240, 255, 1), inset 0 0 44px rgba(0, 240, 255, 0.09); }
}

.zone-resonance {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: 7vw;
    padding: 19vh 11vw 21vh 15vw;
}

.zone-resonance::after {
    position: absolute;
    top: 20vh;
    left: 0;
    width: 100%;
    height: 60vh;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(18, 18, 31, 0.84) 12%, rgba(18, 18, 31, 0.92) 72%, transparent);
    border-block: 1px solid rgba(0, 240, 255, 0.12);
    box-shadow: inset 0 0 80px rgba(0, 240, 255, 0.06);
}

.particle-band {
    position: absolute;
    top: 20vh;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 60vh;
    pointer-events: none;
}

.particle {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px var(--green), 0 0 22px rgba(57, 255, 20, 0.28);
    animation: particleFloat var(--d) ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translate3d(0, -15px, 0); opacity: 0.36; }
    50% { transform: translate3d(0, 15px, 0); opacity: 1; }
}

.resonance-column {
    position: relative;
    z-index: 2;
    max-width: 34rem;
}

.resonance-right {
    margin-top: 80px;
}

.zone-echo {
    min-height: 105vh;
}

.zone-echo .curve-field {
    opacity: 0.15;
}

.echo-copy {
    position: absolute;
    left: 25vw;
    top: 70vh;
    width: min(43rem, 68vw);
}

.cropped-signature {
    position: absolute;
    right: -1.4ch;
    bottom: -0.32em;
    color: rgba(0, 240, 255, 0.72);
    font-family: var(--display);
    font-size: clamp(3.5rem, 11vw, 12rem);
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--cyan), 0 0 40px rgba(0, 240, 255, 0.18);
    white-space: nowrap;
}

.focus-node {
    --focus-scale: 1;
    filter: blur(0);
    opacity: 1;
    transform: translate(var(--shift-x, 0), var(--shift-y, 0)) rotate(var(--tilt, 0deg)) scale(var(--focus-scale));
    transform-origin: center;
    transition: filter 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease, border-color 0.35s ease, text-shadow 0.35s ease;
    will-change: filter, opacity, transform;
}

.focus-far {
    --focus-scale: 0.97;
    filter: blur(8px);
    opacity: 0.3;
}

.focus-mid {
    --focus-scale: 0.99;
    filter: blur(3px);
    opacity: 0.7;
}

.focus-near {
    --focus-scale: 1;
    filter: blur(0);
    opacity: 1;
}

.headline:hover, .cropped-signature:hover {
    text-shadow: 0 0 10px var(--magenta), 0 0 40px rgba(255, 45, 123, 0.3), 0 0 80px rgba(255, 45, 123, 0.1);
}

@media (max-width: 900px) {
    .zone-origin {
        padding: 28vh 7vw 12vh;
    }

    .hero-title {
        white-space: normal;
    }

    .zone-interference {
        display: flex;
        min-height: auto;
        flex-direction: column;
        gap: 2rem;
        padding: 18vh 7vw;
    }

    .signal-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
    }

    .zone-resonance {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 18vh 7vw;
    }

    .resonance-right {
        margin-top: 0;
    }

    .echo-copy {
        left: 8vw;
        top: 56vh;
        width: 82vw;
    }
}
