/* ============================================
   AJ VITANZA — Creative Redesign
   Blue-hour · Grain · Gradients · Liquid
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
    --bg: #070b12;
    --bg-deep: #040710;
    --surface: #0c1220;
    --surface-light: #111a2e;
    --border: rgba(120, 160, 210, 0.08);
    --text: #d0daea;
    --text-dim: #7a8ea8;
    --text-bright: #eaf0f8;
    --accent: #5e8fc2;
    --accent-soft: #3d6a9e;
    --accent-glow: rgba(94, 143, 194, 0.25);
    --accent-ice: #a0c8e8;
    --gradient-1: #1a3a5c;
    --gradient-2: #0f2240;
    --gradient-3: #2a1a40;
    --nav-h: 64px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Space Grotesk', 'Inter Tight', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }

/* ---------- Grain Overlay ---------- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent), var(--accent-ice));
    z-index: 10001;
    transition: none;
}

/* ---------- Custom Cursor ---------- */
.cursor {
    display: none;
}
@media (pointer: fine) and (min-width: 769px) {
    .cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        pointer-events: none;
        mix-blend-mode: difference;
    }
    .cursor-dot {
        position: absolute;
        width: 8px;
        height: 8px;
        background: #fff;
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring), background 0.3s;
    }
    .cursor-glow {
        position: absolute;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.4s var(--ease-out-expo), height 0.4s var(--ease-out-expo), border-color 0.3s, opacity 0.3s;
    }
    .cursor.hovering .cursor-dot {
        width: 48px;
        height: 48px;
        background: rgba(255,255,255,0.06);
    }
    .cursor.hovering .cursor-glow {
        width: 64px;
        height: 64px;
        border-color: rgba(255,255,255,0.1);
    }
    .cursor.clicking .cursor-dot {
        width: 6px;
        height: 6px;
    }
    .cursor.clicking .cursor-glow {
        width: 32px;
        height: 32px;
    }
    body.has-cursor * { cursor: none !important; }
}

/* ---------- Gate Screen ---------- */
.gate {
    position: fixed;
    inset: 0;
    z-index: 20000;
    background: var(--bg-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
.gate.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.gate-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}
.gate-logo {
    width: 72px;
    height: 72px;
    animation: gatePulse 3s ease-in-out infinite;
}
.gate-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.7);
}
@keyframes gatePulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.06); opacity: 1; }
}
.gate-btn {
    position: relative;
    padding: 16px 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gate-btn-text {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--accent-ice);
    position: relative;
    z-index: 1;
    animation: gateTextPulse 2s ease-in-out infinite;
}
@keyframes gateTextPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
.gate-btn-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(160, 200, 232, 0.15);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}
.gate-btn:hover .gate-btn-ring {
    border-color: rgba(160, 200, 232, 0.4);
    box-shadow: 0 0 30px rgba(94, 143, 194, 0.15), inset 0 0 20px rgba(94, 143, 194, 0.05);
}
.gate-btn:hover .gate-btn-text { opacity: 1; }
.gate-hint {
    position: absolute;
    bottom: 48px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.3;
}

/* ---------- Terminal Boot ---------- */
.terminal-boot {
    position: fixed;
    inset: 0;
    z-index: 19999;
    background: #020408;
    display: none;
    padding: clamp(24px, 6vw, 80px);
    font-family: 'IBM Plex Mono', monospace;
    overflow: hidden;
}
.terminal-boot.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.terminal-boot.fade-out {
    animation: termFadeOut 0.4s var(--ease-out-expo) forwards;
}
@keyframes termFadeOut {
    to { opacity: 0; }
}
.terminal-scanlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 1px,
        rgba(0, 0, 0, 0.12) 1px,
        rgba(0, 0, 0, 0.12) 2px
    );
    background-size: 100% 2px;
}
.terminal-scanlines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(94, 143, 194, 0.02);
    animation: scanlineSweep 8s linear infinite;
}
@keyframes scanlineSweep {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}
.terminal-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}
.terminal-content {
    position: relative;
    z-index: 1;
    text-align: center;
}
.terminal-line {
    font-size: clamp(0.65rem, 1.2vw, 0.78rem);
    line-height: 2;
    color: rgba(160, 200, 232, 0.7);
    text-shadow: 0 0 6px rgba(160, 200, 232, 0.15);
    white-space: nowrap;
    overflow: hidden;
    letter-spacing: 0.06em;
}
.terminal-header {
    color: var(--accent-ice);
    margin-bottom: 12px;
    font-weight: 500;
}
.terminal-status {
    color: var(--accent);
    font-weight: 500;
}
.terminal-progress {
    display: inline-block;
    color: var(--accent);
}
.terminal-cursor {
    position: absolute;
    z-index: 1;
    font-size: clamp(0.7rem, 1.4vw, 0.85rem);
    color: var(--accent-ice);
    text-shadow: 0 0 8px rgba(160, 200, 232, 0.5);
    animation: cursorBlink 1s step-end infinite;
    display: none;
}
@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ---------- 3D Logo Reveal ---------- */
.logo-reveal {
    position: fixed;
    inset: 0;
    z-index: 19998;
    background: #020408;
    display: none;
    overflow: hidden;
}
.logo-reveal.active { display: flex; align-items: center; justify-content: center; }
.logo-reveal.fade-out {
    animation: termFadeOut 0.7s var(--ease-out-expo) forwards;
}
.logo-reveal-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    position: relative;
    z-index: 2;
}
.logo-3d-scene {
    width: clamp(180px, 30vw, 280px);
    height: clamp(180px, 30vw, 280px);
    perspective: 800px;
}
.logo-3d-object {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: logoSpin 6s linear infinite;
}
@keyframes logoSpin {
    0% { transform: rotateY(0deg) rotateX(5deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
}
.logo-3d-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
}
.logo-3d-front {
    transform: translateZ(1px);
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.logo-3d-back {
    transform: rotateY(180deg) translateZ(1px);
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.logo-reveal-text {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-bright);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}
.logo-reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.logo-reveal-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-out-expo) 0.15s, transform 0.5s var(--ease-out-expo) 0.15s;
}
.logo-reveal-sub.visible {
    opacity: 0.7;
    transform: translateY(0);
}
.logo-reveal-enter {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent-ice);
    opacity: 0;
    margin-top: 24px;
    cursor: pointer;
    transition: opacity 0.8s var(--ease-out-expo);
    animation: gateTextPulse 2s ease-in-out infinite;
}
.logo-reveal-enter.visible {
    opacity: 0.5;
}
.logo-reveal.clickable {
    cursor: pointer;
}
.logo-reveal-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.logo-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-ice);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-out forwards;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translate(0, 0) scale(0); }
    10% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0); }
}

/* Logo reveal phases */
.logo-reveal.phase-glitch .logo-3d-object {
    animation: logoSpinGlitch 2s linear infinite;
    filter: blur(4px) brightness(0.4);
}
@keyframes logoSpinGlitch {
    0% { transform: rotateY(0deg) rotateX(15deg) rotateZ(-3deg); }
    25% { transform: rotateY(90deg) rotateX(10deg) rotateZ(2deg); }
    50% { transform: rotateY(180deg) rotateX(15deg) rotateZ(-1deg); }
    75% { transform: rotateY(270deg) rotateX(12deg) rotateZ(3deg); }
    100% { transform: rotateY(360deg) rotateX(15deg) rotateZ(-3deg); }
}
.logo-reveal.phase-glitch .logo-3d-front,
.logo-reveal.phase-glitch .logo-3d-back {
    animation: glitchSlice 0.15s steps(2) infinite;
}
@keyframes glitchSlice {
    0% { clip-path: inset(0 0 60% 0); transform: translateZ(1px) translateX(-3px); }
    50% { clip-path: inset(40% 0 0 0); transform: translateZ(1px) translateX(3px); }
    100% { clip-path: inset(0); transform: translateZ(1px); }
}

.logo-reveal.phase-resolving .logo-3d-object {
    animation: logoSpinResolve 4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    filter: blur(0px) brightness(0.85);
    transition: filter 0.8s var(--ease-out-expo);
}
@keyframes logoSpinResolve {
    0% { transform: rotateY(0deg) rotateX(5deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
}

.logo-reveal.phase-clear .logo-3d-object {
    animation: logoSpinSlow 8s linear infinite;
    filter: brightness(1) drop-shadow(0 0 30px rgba(94, 143, 194, 0.3));
    transition: filter 0.6s var(--ease-out-expo);
}
@keyframes logoSpinSlow {
    0% { transform: rotateY(0deg) rotateX(2deg); }
    100% { transform: rotateY(360deg) rotateX(2deg); }
}
.logo-reveal.phase-clear .logo-3d-front,
.logo-reveal.phase-clear .logo-3d-back {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(160, 200, 232, 0.5));
}

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(20px, 4vw, 48px);
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
    background: rgba(7, 11, 18, 0.8);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s var(--ease-out-expo);
}
.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.85);
    transition: opacity 0.3s;
}
.nav-logo:hover .nav-logo-img { opacity: 1; }
.nav-links {
    display: flex;
    gap: clamp(16px, 3vw, 36px);
}
.nav-links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.3s, transform 0.3s var(--ease-out-expo);
    position: relative;
}
.nav-links a span {
    position: relative;
    display: inline-block;
}
.nav-links a span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.4s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--text-bright); }
.nav-links a:hover span::after { width: 100%; }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 12vh;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    will-change: transform;
}
.hero-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 80, 140, 0.4) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(60, 40, 120, 0.35) 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: orbFloat2 25s ease-in-out infinite;
}
.hero-orb--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(40, 100, 160, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, 80px) scale(0.95); }
}
@keyframes orbFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -40px) scale(1.08); }
    66% { transform: translate(50px, -60px) scale(0.9); }
}
@keyframes orbFloat3 {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    50% { transform: translate(-50%, -40px) scale(1.15); }
}
.hero-img-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    opacity: 0.45;
    mix-blend-mode: normal;
    filter: saturate(0.8) contrast(1.05) brightness(0.75);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 100%;
    min-width: 0;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 24px;
}
.hero-eyebrow-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--text-dim);
    opacity: 0.4;
}
.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: min(9vw, 9rem, calc((100vw - 52px) / 9.9));
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--text-bright);
    margin-bottom: 24px;
    white-space: nowrap;
}
/* Word groups produced by initSplitText — a split heading may only break
   at a space, never between two characters of the same word. */
[data-split] .word {
    display: inline-block;
    white-space: nowrap;
}
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
    background: linear-gradient(
        160deg,
        var(--text-bright) 20%,
        var(--accent-ice) 50%,
        var(--accent) 80%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-title .char.revealed {
    opacity: 1;
    transform: translateY(0);
}
.hero-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 40px;
    opacity: 0.8;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); transform-origin: top; }
}
.hero-swoosh {
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    opacity: 0.03;
    z-index: 1;
    filter: brightness(0) invert(1);
    animation: swooshFloat 12s ease-in-out infinite;
}
.hero-swoosh img { width: 100%; height: 100%; object-fit: contain; }
@keyframes swooshFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn--primary {
    background: linear-gradient(135deg, var(--accent-soft), var(--accent));
    color: #fff;
    box-shadow: 0 4px 24px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn--primary:hover {
    box-shadow: 0 8px 40px rgba(94, 143, 194, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid rgba(120, 160, 210, 0.2);
}
.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--text-bright);
    background: rgba(94, 143, 194, 0.06);
}
.btn--lg {
    padding: 18px 44px;
    font-size: 0.95rem;
}
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleAnim {
    to { transform: scale(4); opacity: 0; }
}

/* ---------- Labels ---------- */
.label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
}

/* ---------- Section Layout ---------- */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 48px);
}
.section-title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--text-bright);
    margin-bottom: 48px;
}
.section-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.section-title .char.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- RELEASE ---------- */
.release {
    padding: 120px 0 100px;
    position: relative;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 50%, var(--surface) 100%);
}
.release-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}
.release-artwork {
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}
.release-cover {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
    transition: transform 0.6s var(--ease-out-expo);
    transform-style: preserve-3d;
    perspective: 1000px;
}
.release-cover-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}
.release-cover:hover .release-cover-img {
    transform: scale(1.03);
}
.release-cover-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(255,255,255,0.04) 100%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.release-cover:hover .release-cover-shine { opacity: 1; }
.release-cover-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s;
    z-index: -1;
    filter: blur(40px);
    pointer-events: none;
}
.release-cover:hover .release-cover-glow { opacity: 1; }

.release-info {
    padding-top: 20px;
}
.release-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 8px;
    line-height: 1;
}
.release-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.release-title .char.revealed {
    opacity: 1;
    transform: translateY(0);
}
.release-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* DSP Row */
.dsp-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.dsp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: all 0.3s var(--ease-out-expo);
}
.dsp:hover {
    border-color: var(--accent);
    color: var(--text-bright);
    background: rgba(94, 143, 194, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--accent-glow);
}
.dsp svg { flex-shrink: 0; }

/* Tracklist */
.tracklist {
    display: flex;
    flex-direction: column;
}
.track {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
}
.track:first-child { border-top: 1px solid var(--border); }
.track::before {
    content: '';
    position: absolute;
    inset: 0 -16px;
    background: linear-gradient(90deg, rgba(94, 143, 194, 0.06), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}
.track:hover::before { opacity: 1; }
.track:hover { transform: translateX(4px); }
.track-num {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    min-width: 24px;
    letter-spacing: 0.05em;
}
.track-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
}
.track:hover .track-name { color: var(--text-bright); }
.track-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}
.track-arrow {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}
.track:hover .track-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* Secondary Release */
.release--secondary {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-deep) 100%);
}
.release-grid--compact {
    gap: clamp(24px, 4vw, 48px);
}
.release-grid--compact .release-artwork {
    max-width: 320px;
}
.release-title--sm {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

/* ---------- MUSIC ---------- */
.music {
    padding: 100px 0;
    position: relative;
    background: var(--surface);
}
.music::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, var(--bg-deep), transparent);
    pointer-events: none;
}
.music-embed {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 64px rgba(0,0,0,0.3);
    border: 1px solid var(--border);
    margin-bottom: 40px;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}
.music-embed:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}
.stream-row {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.stream-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all 0.3s var(--ease-out-expo);
}
.stream-link:hover {
    color: var(--accent-ice);
    border-color: var(--accent);
    background: rgba(94, 143, 194, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

/* ---------- VIDEOS ---------- */
.videos {
    padding: 100px 0 80px;
    background: var(--bg-deep);
    overflow: hidden;
}
.videos-carousel {
    display: flex;
    gap: 24px;
    padding: 0 clamp(20px, 5vw, 48px) 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}
.videos-carousel::-webkit-scrollbar { display: none; }
.videos-carousel:active { cursor: grabbing; }
.vid-card {
    flex: 0 0 min(400px, 80vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.5s var(--ease-out-expo);
    transform-style: preserve-3d;
    perspective: 800px;
}
.vid-card-img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--surface);
    box-shadow: 0 8px 40px rgba(0,0,0,0.3);
    transition: box-shadow 0.4s;
}
.vid-card:hover .vid-card-img {
    box-shadow: 0 16px 60px rgba(0,0,0,0.5), 0 0 40px var(--accent-glow);
}
.vid-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo), filter 0.6s;
    filter: brightness(0.85) saturate(0.9);
}
.vid-card:hover .vid-card-img img {
    transform: scale(1.06);
    filter: brightness(1) saturate(1);
}
.vid-card-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}
.vid-card:hover .vid-card-play { opacity: 1; }
.vid-card-play svg {
    transition: transform 0.4s var(--ease-spring);
}
.vid-card:hover .vid-card-play svg { transform: scale(1.1); }
.vid-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
}
.vid-card-type {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.videos-cta {
    margin-top: 32px;
    text-align: center;
}

/* ---------- CONNECT ---------- */
.connect {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: var(--surface);
}
.connect-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.connect-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}
.connect-orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(40, 80, 140, 0.25) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation: orbFloat1 15s ease-in-out infinite;
}
.connect-orb--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(60, 30, 100, 0.2) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    animation: orbFloat2 18s ease-in-out infinite;
}
.connect-inner {
    position: relative;
    z-index: 1;
}
.connect-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-bright);
    margin-bottom: 16px;
    line-height: 1.1;
}
.connect-heading .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.connect-heading .char.revealed {
    opacity: 1;
    transform: translateY(0);
}
.connect-sub {
    font-size: 1rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.connect-cta {
    display: flex;
    justify-content: center;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}
.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.footer-socials {
    display: flex;
    gap: 16px;
}
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-dim);
    border: 1px solid var(--border);
    transition: all 0.3s var(--ease-out-expo);
}
.footer-socials a:hover {
    color: var(--accent-ice);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 4px 16px var(--accent-glow);
}
.footer-copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    opacity: 0.5;
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
[data-reveal="left"] {
    transform: translateX(-40px);
}
[data-reveal="scale"] {
    transform: scale(0.95);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 0.65rem; }

    .hero-swoosh { display: none; }
    .hero-orb { filter: blur(60px); }
    .hero-orb--1 { width: 300px; height: 300px; }
    .hero-orb--2 { width: 250px; height: 250px; }
    .hero-orb--3 { width: 200px; height: 200px; }

    .release { padding: 80px 0; }
    .release--secondary { padding: 40px 0 80px; }
    .release-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .release-artwork {
        position: relative;
        top: 0;
        max-width: 320px;
        margin: 0 auto;
    }
    .release-grid--compact .release-artwork {
        max-width: 260px;
    }

    .music { padding: 80px 0; }
    .videos { padding: 80px 0 60px; }
    .connect { padding: 80px 0; }

    .vid-card { flex: 0 0 min(320px, 85vw); }

    .dsp-row { gap: 8px; }
    .dsp { padding: 8px 14px; font-size: 0.75rem; }

    .hero-orb { animation-duration: 30s; }
    .connect-orb { animation-duration: 25s; }
}

@media (max-width: 480px) {
    .nav-links a:nth-child(n+4) { display: none; }

    .hero-title { letter-spacing: -0.03em; }

    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 240px; justify-content: center; }

    .stream-row { gap: 12px; }
    .stream-link { width: 40px; height: 40px; }

}

/* ---------- Reduce Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-title .char {
        opacity: 1;
        transform: none;
    }
    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
