*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--n-1);
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color var(--dur-2), color var(--dur-2);
}


::selection {
    background: rgba(255, 184, 0, 0.3);
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

.page {
    position: relative;
    z-index: 1;
    width: min(1140px, 100% - var(--s6));
    margin: 0 auto;
    padding: var(--s6) 0 var(--s16);
}


/* ═══════════════════════════════════════════════
   AVID SIGNATURE BACKDROP
   Enterprise gold + subtle depth
   Lightweight: 4 layers, GPU-accelerated
   ═══════════════════════════════════════════════ */

.aura-backdrop {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ── Layer 1: Deep base gradient ── */
.aura-base {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            #0a0b12 0%,
            #08090e 45%,
            #0b0c14 100%);
    pointer-events: none;
}

/* ── Layer 2: Primary gold aura (top-right) ── */
.aura-glow-1 {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 75%;
    background:
        radial-gradient(ellipse at center,
            rgba(255, 184, 0, 0.10) 0%,
            rgba(255, 184, 0, 0.05) 25%,
            rgba(255, 184, 0, 0.02) 50%,
            transparent 75%);
    filter: blur(60px);
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* ── Layer 3: Cool ambient (bottom-left) — creates contrast ── */
.aura-glow-2 {
    position: absolute;
    bottom: -25%;
    left: -15%;
    width: 70%;
    height: 80%;
    background:
        radial-gradient(ellipse at center,
            rgba(88, 108, 220, 0.08) 0%,
            rgba(100, 90, 200, 0.04) 30%,
            rgba(60, 80, 180, 0.02) 55%,
            transparent 78%);
    filter: blur(80px);
    transform: translateZ(0);
    will-change: transform;
    pointer-events: none;
}

/* ── Layer 4: Edge vignette — focuses attention on content ── */
.aura-vignette {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 40%,
            transparent 40%,
            rgba(0, 0, 0, 0.15) 75%,
            rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════
   LIGHT THEME ADAPTATION
   ═══════════════════════════════════════════════ */

[data-theme="light"] .aura-base {
    background:
        linear-gradient(180deg,
            #fafbfe 0%,
            #f5f6fa 45%,
            #eef0f5 100%);
}

[data-theme="light"] .aura-glow-1 {
    background:
        radial-gradient(ellipse at center,
            rgba(255, 184, 0, 0.15) 0%,
            rgba(255, 184, 0, 0.08) 25%,
            rgba(255, 184, 0, 0.03) 50%,
            transparent 75%);
}

[data-theme="light"] .aura-glow-2 {
    background:
        radial-gradient(ellipse at center,
            rgba(88, 108, 220, 0.10) 0%,
            rgba(100, 90, 200, 0.06) 30%,
            rgba(60, 80, 180, 0.03) 55%,
            transparent 78%);
}

[data-theme="light"] .aura-vignette {
    background:
        radial-gradient(ellipse 90% 70% at 50% 40%,
            transparent 40%,
            rgba(15, 19, 31, 0.04) 75%,
            rgba(15, 19, 31, 0.10) 100%);
}

/* ═══════════════════════════════════════════════
   PERFORMANCE OPTIMIZATIONS
   ═══════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {

    .aura-glow-1,
    .aura-glow-2 {
        will-change: auto;
    }
}

@media (max-width: 768px) {
    .aura-glow-1 {
        filter: blur(40px);
        width: 90%;
        height: 60%;
    }

    .aura-glow-2 {
        filter: blur(50px);
        width: 90%;
        height: 60%;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.anim-fade-up {
    animation: fadeUp var(--dur-3) var(--ease) both;
}

.anim-scale-in {
    animation: scaleIn var(--dur-3) var(--ease) both;
}

.stagger>* {
    animation: fadeUp var(--dur-3) var(--ease) both;
}

.stagger>*:nth-child(1) {
    animation-delay: 0ms;
}

.stagger>*:nth-child(2) {
    animation-delay: 40ms;
}

.stagger>*:nth-child(3) {
    animation-delay: 80ms;
}

.stagger>*:nth-child(4) {
    animation-delay: 120ms;
}

.stagger>*:nth-child(5) {
    animation-delay: 160ms;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--n-5);
    border-radius: var(--r-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--n-6);
}

:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}