/* =========================================================================
   bable.pro — Holographic Trading Card Under Fluorescent Light
   Palette: neon-electric on deep void
   Typography: oversized-display (Outfit 800) + humanist body (DM Sans)
   Motifs: vintage signal artifacts — scanlines, tracking lines, cartridges
   Interaction IntersectionObserver IntersectionObserver or scroll listener.
   This property drives `filter: hue-rotate(var(--scroll-hue))`.
   ========================================================================= */

/* ---------- CSS @property registrations for smooth gradient animations ---- */
@property --holo-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --scroll-hue {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: true;
}

/* ---------- Tokens ------------------------------------------------------- */
:root {
    --void:        #0a0a12;
    --surface:     #14142a;
    --label:       #1a1a3a;
    --magenta:     #ff2daa;
    --cyan:        #00f0ff;
    --violet:      #8b5cf6;
    --gold:        #ffd700;
    --signal:      #eeeef6;
    --lavender:    #9898b8;

    --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
    --font-body:    'DM Sans', 'Inter', system-ui, sans-serif;

    --holo-conic: conic-gradient(
        from var(--holo-angle),
        var(--magenta) 0deg,
        var(--cyan) 90deg,
        var(--violet) 180deg,
        var(--gold) 270deg,
        var(--magenta) 360deg
    );

    --border-conic: conic-gradient(
        from var(--border-angle),
        var(--magenta),
        var(--cyan),
        var(--violet),
        var(--gold),
        var(--magenta)
    );

    --scroll-hue: 0deg;
}

/* ---------- Reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background: var(--void);
    color: var(--signal);
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.72;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.svg-defs { width: 0; height: 0; position: absolute; }

/* =========================================================================
   WORDMARK — floating top-left nav
   ========================================================================= */
.wordmark {
    position: fixed;
    top: clamp(1rem, 2vw, 1.75rem);
    left: clamp(1rem, 2vw, 1.75rem);
    z-index: 100;
    mix-blend-mode: normal;
}
.wordmark__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--signal);
    padding: 0.55rem 0.9rem;
    background: rgba(10, 10, 18, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    border: 1px solid rgba(238, 238, 246, 0.08);
    transition: border-color 0.4s ease, transform 0.4s ease;
}
.wordmark__link:hover {
    border-color: rgba(255, 45, 170, 0.5);
    transform: translateY(-1px);
}
.wordmark__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--holo-conic);
    animation: holoSpin 8s linear infinite, pulseDot 2.4s ease-in-out infinite alternate;
    box-shadow: 0 0 10px var(--magenta), 0 0 18px rgba(0, 240, 255, 0.5);
}
.wordmark__text { color: var(--signal); }
.wordmark__tld {
    background: var(--holo-conic);
    animation: holoSpin 8s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes pulseDot {
    from { transform: scale(1); }
    to   { transform: scale(1.25); }
}

/* =========================================================================
   LAYER 0 — THE HOLOGRAPHIC HERO
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

/* Rotating conic holographic surface */
.hero__surface {
    position: absolute;
    inset: -20%;
    background: var(--holo-conic);
    filter: saturate(1.15) blur(2px);
    animation: holoSpin 12s linear infinite;
    z-index: -3;
}

/* Darkening veil so the void shows through */
.hero__surface::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(10, 10, 18, 0.55) 0%, rgba(10, 10, 18, 0.85) 60%, var(--void) 100%),
        linear-gradient(180deg, rgba(10,10,18,0.4), rgba(10,10,18,0.8));
    mix-blend-mode: multiply;
}

/* CRT scanlines */
.hero__scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(238, 238, 246, 0.025) 2px,
        rgba(238, 238, 246, 0.025) 4px
    );
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
}

/* Holographic foil grain */
.hero__noise {
    position: absolute;
    inset: 0;
    filter: url(#foil-noise);
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}

/* VHS tracking lines */
.hero__tracking, .prism__tracking {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.tracking-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(238, 238, 246, 0.08);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}
.tracking-line--a { animation: track 25s linear infinite; }
.tracking-line--b { animation: track 37s linear infinite; animation-delay: -10s; opacity: 0.6; }
.tracking-line--c { animation: track 52s linear infinite; animation-delay: -22s; opacity: 0.4; background: rgba(255, 45, 170, 0.12); }
.tracking-line--d { animation: track 40s linear infinite; opacity: 0.5; }
.tracking-line--e { animation: track 60s linear infinite; animation-delay: -18s; opacity: 0.35; background: rgba(139, 92, 246, 0.2); }

@keyframes track {
    0%   { transform: translateY(-10vh); }
    100% { transform: translateY(110vh); }
}

/* Hero content column */
.hero__content {
    position: relative;
    text-align: center;
    padding: 0 clamp(1rem, 4vw, 3rem);
    max-width: 1600px;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 clamp(1.5rem, 4vh, 3rem);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
    padding: 0.45rem 1rem;
    border: 1px solid rgba(238, 238, 246, 0.12);
    border-radius: 999px;
    background: rgba(10, 10, 18, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero__eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--magenta);
    box-shadow: 0 0 8px var(--magenta);
    animation: blink 1.6s steps(2) infinite;
}

.hero__headline {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 14rem);
    line-height: 0.88;
    letter-spacing: -0.03em;
    white-space: nowrap;
    display: block;
}
.hero__headline .letter {
    display: inline-block;
    background: var(--holo-conic);
    --holo-angle: 180deg;
    animation:
        heroLetter 1s cubic-bezier(0.16, 1, 0.3, 1) both,
        holoSpinOffset 12s linear infinite;
    animation-delay: calc(var(--i) * 0.05s + 0.5s), 0s;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 60px rgba(255, 45, 170, 0.25);
    opacity: 0;
    transform: translateY(20px);
}
.hero__headline .letter--dot {
    background: var(--holo-conic);
    --holo-angle: 0deg;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation:
        heroLetter 1s cubic-bezier(0.16, 1, 0.3, 1) both,
        holoSpin 12s linear infinite;
    animation-delay: calc(var(--i) * 0.05s + 0.5s), 0s;
}

@keyframes heroLetter {
    0%   { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero__subtext {
    margin: clamp(1.5rem, 3vh, 2.5rem) auto 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.6;
    color: var(--signal);
    max-width: 52ch;
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.hero__coords {
    display: inline-flex;
    gap: clamp(0.8rem, 2vw, 2rem);
    margin-top: clamp(2rem, 5vh, 3.5rem);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 1.9s forwards;
}
.hero__coords span { white-space: nowrap; }
.hero__coords .blink {
    color: var(--magenta);
    animation: blink 1.4s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0.25; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero__scroll-hint {
    position: absolute;
    bottom: clamp(1.5rem, 4vh, 3rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
    opacity: 0;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}
.scroll-hint__line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--magenta), transparent);
    animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%   { transform: scaleY(0.2); transform-origin: top; opacity: 0.3; }
    50%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
    51%  { transform: scaleY(1);   transform-origin: bottom; opacity: 1; }
    100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.3; }
}

/* =========================================================================
   SECTION MARKER — used at top of each layer
   ========================================================================= */
.section-marker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 clamp(2rem, 5vh, 4rem);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
}
.marker__num {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--signal);
    background: var(--holo-conic);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: holoSpin 12s linear infinite;
}
.marker__label { color: var(--signal); }
.marker__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(238, 238, 246, 0.25), transparent);
    max-width: 320px;
}

/* =========================================================================
   LAYER 1 — SIGNAL BAND
   ========================================================================= */
.signal-band {
    position: relative;
    background: var(--void);
    min-height: 80vh;
    padding: clamp(4rem, 10vh, 8rem) clamp(1.5rem, 5vw, 5rem);
    overflow: hidden;
}
.signal-band::before {
    content: "";
    position: absolute;
    inset: 0;
    filter: url(#holo-noise);
    opacity: 0.04;
    pointer-events: none;
}

.signal-intro {
    max-width: 720px;
    margin: 0 0 clamp(3rem, 6vh, 5rem);
}
.signal-intro__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
    background: var(--holo-conic);
    --holo-angle: 45deg;
    animation: holoSpin 18s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.signal-intro__text {
    font-family: var(--font-body);
    color: var(--lavender);
    max-width: 52ch;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.72;
    margin: 0;
}

/* Scattered cartridge composition */
.cartridges {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(1.25rem, 2vw, 2rem) clamp(1rem, 1.5vw, 1.5rem);
    max-width: 1400px;
    margin: 0 auto;
}

.cartridge {
    position: relative;
    transform: translateY(var(--offset, 0));
    opacity: 0;
    animation: cartIn 1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards;
}
.cartridge--a { grid-column: 1 / span 5; }
.cartridge--b { grid-column: 7 / span 6; margin-top: clamp(1.5rem, 4vh, 4rem); }
.cartridge--c { grid-column: 3 / span 7; margin-top: clamp(1rem, 3vh, 3rem); }

@keyframes cartIn {
    from { opacity: 0; transform: translateY(calc(var(--offset, 0px) + 30px)); }
    to   { opacity: 1; transform: translateY(var(--offset, 0)); }
}

/* Border-animate pattern — the core interaction */
.cartridge__shell {
    position: relative;
    padding: 2px; /* reveals the glowing border */
    border-radius: 18px;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cartridge__shell::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: var(--border-conic);
    --border-angle: 0deg;
    animation: borderSpin 4s linear infinite;
    opacity: 0.7;
    z-index: -1;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: blur(0.5px);
}
.cartridge__shell::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    background: var(--border-conic);
    --border-angle: 0deg;
    animation: borderSpin 4s linear infinite;
    opacity: 0.2;
    z-index: -2;
    filter: blur(18px);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cartridge__shell:hover {
    transform: translateY(-4px);
}
.cartridge__shell:hover::before {
    opacity: 1;
    transform: scale(1.03);
}
.cartridge__shell:hover::after {
    opacity: 0.5;
}

@keyframes borderSpin {
    to { --border-angle: 360deg; }
}

.cartridge__label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    background: var(--label);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: 1px solid rgba(238, 238, 246, 0.08);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
}
.cartridge__tape-holes {
    display: inline-flex;
    gap: 4px;
}
.cartridge__tape-holes span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--void);
    border: 1px solid rgba(238, 238, 246, 0.12);
    display: inline-block;
}
.cartridge__title {
    color: var(--signal);
    flex: 1;
}
.cartridge__stamp {
    color: var(--magenta);
    font-weight: 700;
}

.cartridge__body {
    background: var(--surface);
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    position: relative;
    overflow: hidden;
}
.cartridge__body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(238, 238, 246, 0.015) 3px,
        rgba(238, 238, 246, 0.015) 4px
    );
    pointer-events: none;
}

.cartridge__heading {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--signal);
}
.cartridge--a .cartridge__heading { color: var(--magenta); }
.cartridge--b .cartridge__heading { color: var(--cyan); }
.cartridge--c .cartridge__heading { color: var(--violet); }

.cartridge__copy {
    margin: 0;
    color: var(--signal);
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    line-height: 1.72;
    max-width: 42ch;
}

.cartridge__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.chip {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--lavender);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(238, 238, 246, 0.12);
    border-radius: 999px;
    background: rgba(10, 10, 18, 0.5);
    transition: color 0.3s ease, border-color 0.3s ease;
}
.cartridge__shell:hover .chip:nth-child(1) { color: var(--magenta); border-color: rgba(255, 45, 170, 0.4); }
.cartridge__shell:hover .chip:nth-child(2) { color: var(--cyan); border-color: rgba(0, 240, 255, 0.4); }
.cartridge__shell:hover .chip:nth-child(3) { color: var(--gold); border-color: rgba(255, 215, 0, 0.4); }

/* =========================================================================
   LAYER 2 — PRISM SECTION (scroll-responsive hue shift)
   ========================================================================= */
.prism {
    position: relative;
    height: 100vh;
    min-height: 720px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
    isolation: isolate;
}

.prism__bg {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 80% 70% at 30% 40%, rgba(255, 45, 170, 0.4), transparent 60%),
        radial-gradient(ellipse 70% 60% at 75% 65%, rgba(0, 240, 255, 0.35), transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 30%, rgba(139, 92, 246, 0.3), transparent 60%),
        radial-gradient(ellipse 50% 40% at 65% 40%, rgba(255, 215, 0, 0.25), transparent 60%),
        linear-gradient(180deg, var(--void), var(--surface), var(--void));
    filter: hue-rotate(var(--scroll-hue)) saturate(1.2);
    z-index: -3;
    transition: filter 0.1s linear;
}
.prism__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 18, 0.55) 80%);
}
.prism__noise {
    position: absolute;
    inset: 0;
    filter: url(#foil-noise);
    opacity: 0.06;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: -1;
}

.prism .section-marker--light {
    position: absolute;
    top: clamp(2rem, 5vh, 4rem);
    left: clamp(1.5rem, 5vw, 5rem);
    right: clamp(1.5rem, 5vw, 5rem);
    margin: 0;
}

.prism__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    z-index: 1;
}

.prism__angle-readout {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    margin: 0 0 2rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(10, 10, 18, 0.55);
    border: 1px solid rgba(238, 238, 246, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
}
.angle-dial {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid rgba(238, 238, 246, 0.25);
    display: inline-block;
}
.angle-dial__needle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 9px;
    background: var(--magenta);
    transform-origin: 50% 0;
    transform: translate(-50%, 0) rotate(0deg);
    transition: transform 0.15s ease-out, background 0.3s ease;
    box-shadow: 0 0 4px var(--magenta);
}
.angle-dial__value {
    min-width: 3.5rem;
    color: var(--signal);
    font-variant-numeric: tabular-nums;
}

.prism__paragraph {
    font-family: var(--font-body);
    font-size: clamp(1.2rem, 1.9vw, 1.8rem);
    line-height: 1.55;
    color: var(--signal);
    margin: 0;
}
.prism__paragraph .pull {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    margin: 0 0 1.2rem;
    background: var(--holo-conic);
    animation: holoSpin 12s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: hue-rotate(var(--scroll-hue));
}
.prism__paragraph em {
    font-style: italic;
    color: var(--cyan);
    filter: hue-rotate(var(--scroll-hue));
}
.prism__paragraph em:nth-of-type(2) { color: var(--magenta); }

.prism__signature {
    margin: 3rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
}
.sig-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(238, 238, 246, 0.2), transparent);
    max-width: 120px;
}

/* =========================================================================
   LAYER 3 — VINTAGE FOOTER (record label)
   ========================================================================= */
.footer {
    position: relative;
    background: var(--void);
    padding: clamp(3rem, 8vh, 6rem) clamp(1.5rem, 5vw, 5rem);
    overflow: hidden;
    border-top: 1px solid rgba(238, 238, 246, 0.06);
}
.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Circular vinyl record */
.footer__record {
    position: relative;
    width: clamp(140px, 18vw, 200px);
    aspect-ratio: 1;
}
.record__outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #070710;
    box-shadow:
        0 0 0 4px transparent,
        inset 0 0 60px rgba(0, 0, 0, 0.7);
    animation: spinRecord 16s linear infinite;
    overflow: hidden;
    isolation: isolate;
}
.record__outer::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--border-conic);
    --border-angle: 0deg;
    animation: borderSpin 6s linear infinite;
    z-index: -1;
    filter: blur(1px);
    opacity: 0.85;
}
.record__outer::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: #070710;
    z-index: 0;
}
.record__grooves {
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(
            circle at center,
            rgba(238, 238, 246, 0.05) 0px,
            rgba(238, 238, 246, 0.05) 1px,
            transparent 1px,
            transparent 4px
        );
    z-index: 1;
}
.record__label {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: var(--holo-conic);
    animation: holoSpin 12s linear infinite;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: inset 0 0 14px rgba(0, 0, 0, 0.4);
}
.record__label-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(0.75rem, 1.1vw, 1rem);
    letter-spacing: -0.02em;
    color: var(--void);
    text-align: center;
    line-height: 1;
}
.record__tld {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.55rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--void);
    display: inline-block;
    margin-top: 2px;
}
.record__hole {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--void);
    transform: translate(-50%, -50%);
    z-index: 3;
}

@keyframes spinRecord {
    to { transform: rotate(360deg); }
}

.footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem clamp(1rem, 3vw, 3rem);
}
.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer__label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lavender);
}
.footer__value {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.95rem;
    color: var(--signal);
    line-height: 1.5;
}

/* Subtle holographic shimmer strip along footer top */
.footer__shimmer {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-conic);
    --border-angle: 0deg;
    animation: borderSpin 10s linear infinite;
    opacity: 0.5;
    filter: blur(0.5px);
}

/* =========================================================================
   GLOBAL ANIMATIONS
   ========================================================================= */
@keyframes holoSpin {
    to { --holo-angle: 360deg; }
}
@keyframes holoSpinOffset {
    from { --holo-angle: 180deg; }
    to   { --holo-angle: 540deg; }
}
@keyframes pulse {
    from { filter: drop-shadow(0 0 20px rgba(255, 45, 170, 0.3)); }
    to   { filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.4)); }
}

/* Prismatic edge pulse on cartridges */
.cartridge {
    animation: cartIn 1s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s) forwards,
               pulse 6s ease-in-out infinite alternate;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
    .cartridge--a,
    .cartridge--b,
    .cartridge--c {
        grid-column: 1 / -1;
        margin-top: 0;
    }
    .cartridges { gap: 1.5rem; }

    .hero__headline { font-size: clamp(3.2rem, 16vw, 8rem); }
    .footer__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .footer__columns { text-align: left; }
    .prism__paragraph { font-size: clamp(1.1rem, 3.2vw, 1.4rem); }

    .hero__coords { gap: 0.6rem; font-size: 0.62rem; }
}

@media (max-width: 560px) {
    .hero__coords span:nth-child(n+3) { display: none; }
    .wordmark__link { padding: 0.45rem 0.7rem; font-size: 0.7rem; }
    .prism .section-marker--light { font-size: 0.68rem; }
}
