/* ==========================================================================
   2TELLERS — style.css
   Dark luxury / AAA studio. Tokens, base, layout, and every section.
   ========================================================================== */

/* ------------------------------- Tokens -------------------------------- */
:root {
    --c-primary:   #050505;
    --c-secondary: #111111;
    --c-accent:    #E10600;
    --c-text:      #FFFFFF;
    --c-muted:     #B5B5B5;
    --c-glass:     rgba(255, 255, 255, 0.05);
    --c-glass-brt: rgba(255, 255, 255, 0.09);
    --c-line:      rgba(255, 255, 255, 0.10);
    --c-glow:      rgba(225, 6, 0, 0.45);

    --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-num:     'Space Grotesk', 'Inter', monospace;

    --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
    --ease-luxe: cubic-bezier(0.76, 0, 0.24, 1);

    --nav-h: 84px;
    --section-pad: clamp(110px, 14vw, 200px);
    --inner-max: 1280px;
    --radius: 18px;
}

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

html {
    background: var(--c-primary);
    scroll-padding-top: calc(var(--nav-h) + 12px);
}

/* Lenis owns scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, rgba(225, 6, 0, 0.07), transparent 60%),
        radial-gradient(ellipse 60% 40% at 85% 30%, rgba(255, 255, 255, 0.025), transparent 60%),
        var(--c-primary);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: calc(16px * var(--t-scale, 1));
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body[data-loading="true"] { overflow: hidden; }

::selection { background: var(--c-accent); color: var(--c-text); }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; }

.num { font-family: var(--font-num); font-feature-settings: 'tnum'; }

:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Hide native cursor only on fine pointers (cursor.js adds .has-cursor) */
body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor input, body.has-cursor textarea, body.has-cursor label {
    cursor: none;
}

/* --------------------------- Global overlays --------------------------- */
.atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.grain {
    position: fixed;
    inset: -100px;
    z-index: 70;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grainShift 0.9s steps(4) infinite;
}

.vignette {
    position: fixed;
    inset: 0;
    z-index: 69;
    pointer-events: none;
    background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 62%, rgba(0, 0, 0, 0.55) 100%);
}

/* -------------------------------- Loader ------------------------------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    background: #020202;
    transition: opacity 1s var(--ease-luxe), visibility 1s;
}

.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__particles { position: absolute; inset: 0; }

.loader__smoke {
    position: absolute;
    inset: -20%;
    background:
        radial-gradient(ellipse 40% 30% at 30% 70%, rgba(255, 255, 255, 0.03), transparent 70%),
        radial-gradient(ellipse 50% 35% at 70% 40%, rgba(255, 255, 255, 0.025), transparent 70%);
    animation: smokeDrift 14s ease-in-out infinite alternate;
}

.loader__glow {
    position: absolute;
    left: 50%;
    top: 55%;
    width: 60vmin;
    height: 60vmin;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--c-glow), transparent 65%);
    opacity: 0.35;
    filter: blur(40px);
    animation: glowPulse 3.2s ease-in-out infinite;
}

.loader__inner {
    position: relative;
    display: grid;
    gap: 26px;
    width: min(420px, 78vw);
    text-align: center;
}

.loader__logo-word {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(56px, 10vw, 96px);
    letter-spacing: 0.14em;
    line-height: 1;
    animation: logoBreath 2.6s ease-in-out infinite;
    text-shadow: 0 0 60px var(--c-glow);
}

.loader__logo-rule {
    display: block;
    height: 2px;
    margin: 14px auto 0;
    width: 54px;
    background: var(--c-accent);
    box-shadow: 0 0 18px var(--c-glow);
}

.loader__status {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.loader__percent { color: var(--c-text); font-size: 14px; }

.loader__bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.loader__bar-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #7a0300, var(--c-accent), #ff5a55);
    box-shadow: 0 0 22px var(--c-glow);
    transition: width 0.35s var(--ease-out);
}

/* -------------------------------- Cursor ------------------------------- */
.cursor { display: none; }

body.has-cursor .cursor { display: block; }

.cursor__dot,
.cursor__ring {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 300;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    will-change: transform;
}

.cursor__dot {
    width: 6px;
    height: 6px;
    background: var(--c-text);
    box-shadow: 0 0 12px var(--c-glow);
    transition: background-color 0.25s, width 0.25s, height 0.25s;
}

.cursor__ring {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                border-color 0.3s, background-color 0.3s, backdrop-filter 0.3s;
}

/* Crosshair ticks around the ring */
.cursor__ring::before,
.cursor__ring::after {
    content: "";
    position: absolute;
    background: var(--c-accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.cursor__ring::before { width: 1px; height: 8px; top: -4px; }
.cursor__ring::after { width: 8px; height: 1px; left: -4px; }

.cursor__ring.is-hover {
    width: 64px;
    height: 64px;
    border-color: var(--c-accent);
    background: rgba(255, 255, 255, 0.03);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.cursor__ring.is-hover::before,
.cursor__ring.is-hover::after { opacity: 1; }

/* "VIEW" state over game cards */
.cursor__ring.is-view {
    width: 84px;
    height: 84px;
    border-color: var(--c-accent);
    background: rgba(5, 5, 5, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.cursor__label {
    font-family: var(--font-num);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-text);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s, transform 0.3s var(--ease-out);
    pointer-events: none;
}

.cursor__ring.is-view .cursor__label { opacity: 1; transform: scale(1); }

/* Text caret state over editable / input fields */
.cursor__ring.is-text {
    width: 4px;
    height: 30px;
    border-radius: 2px;
    border-color: var(--c-accent);
    background: var(--c-accent);
}

.cursor__ring.is-down { width: 28px; height: 28px; }

/* Soft trailing glow */
.cursor__glow {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 299;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--c-glow-soft, rgba(225,6,0,0.2)), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0.55;
    will-change: transform;
}

/* Click ripple */
.cursor-ripple {
    position: fixed;
    z-index: 298;
    width: 10px;
    height: 10px;
    border: 1px solid var(--c-accent);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: cursorRipple 0.55s var(--ease-out) forwards;
}

/* --------------------------------- Nav --------------------------------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 0 clamp(20px, 4vw, 56px);
    transition: transform 0.5s var(--ease-luxe), background-color 0.5s, border-color 0.5s, backdrop-filter 0.5s;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(5, 5, 5, 0.55);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--c-line);
}

.nav.is-hidden { transform: translateY(-100%); }

.nav__inner {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--nav-h);
    max-width: 1440px;
    margin: 0 auto;
}

.nav__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-right: auto;
}

.nav__brand-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.nav__brand:hover .nav__brand-logo {
    border-color: var(--c-accent);
    box-shadow: 0 0 22px var(--c-glow);
}

.nav__brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--c-accent);
    border-radius: 8px;
    font-family: var(--font-display);
    font-size: 18px;
    letter-spacing: 0.05em;
    color: var(--c-accent);
    box-shadow: inset 0 0 16px rgba(225, 6, 0, 0.18);
    transition: box-shadow 0.3s, color 0.3s, background-color 0.3s;
}

.nav__brand:hover .nav__brand-logo {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.nav__brand:hover .nav__brand-logo {
    border-color: var(--c-accent);
    box-shadow: 0 0 22px var(--c-glow);
}

.nav__brand-mark {
    background: var(--c-accent);
    color: var(--c-text);
    box-shadow: 0 0 24px var(--c-glow);
}

.nav__brand-word {
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 0.22em;
}

.nav__links {
    display: flex;
    gap: clamp(18px, 2.6vw, 36px);
}

.nav__links a {
    position: relative;
    padding: 8px 2px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
    transition: color 0.3s;
}

.nav__links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--c-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-luxe);
}

.nav__links a:hover,
.nav__links a.is-current { color: var(--c-text); }

.nav__links a:hover::after,
.nav__links a.is-current::after {
    transform: scaleX(1);
    transform-origin: left;
}

.mode-toggle {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    color: var(--c-muted);
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.mode-toggle svg {
    position: absolute;
    width: 17px;
    height: 17px;
    transition: opacity 0.35s, transform 0.5s var(--ease-luxe);
}

.mode-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
body.light .mode-toggle__sun { opacity: 1; transform: rotate(0) scale(1); }
body.light .mode-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }

.mode-toggle:hover {
    color: var(--c-accent);
    border-color: var(--c-accent);
    box-shadow: 0 0 20px var(--c-glow);
}

.nav__cta {
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.nav__cta:hover {
    border-color: var(--c-accent);
    background: rgba(225, 6, 0, 0.12);
    box-shadow: 0 0 28px rgba(225, 6, 0, 0.25);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--c-text);
    transition: transform 0.4s var(--ease-luxe), opacity 0.3s;
}

.nav__toggle.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile menu */
.menu {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 95;
    display: grid;
    place-items: center;
    background: rgba(5, 5, 5, 0.9);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease-luxe), visibility 0.5s;
}

.menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.menu__links { display: grid; gap: 8px; text-align: center; }

.menu__links a {
    display: block;
    padding: 8px 24px;
    font-family: var(--font-display);
    font-size: clamp(40px, 10vw, 64px);
    letter-spacing: 0.1em;
    line-height: 1.1;
    color: var(--c-muted);
    transform: translateY(24px);
    opacity: 0;
    transition: color 0.3s, transform 0.6s var(--ease-luxe), opacity 0.6s;
}

.menu.is-open .menu__links a { transform: translateY(0); opacity: 1; }
.menu__links a:hover { color: var(--c-accent); }

/* ------------------------------- Sections ------------------------------ */
main { position: relative; z-index: 1; }

.section { position: relative; padding: var(--section-pad) 0; }

.section__inner {
    width: min(var(--inner-max), calc(100% - clamp(40px, 8vw, 112px)));
    margin: 0 auto;
}

.section__head { max-width: 780px; margin-bottom: clamp(56px, 7vw, 96px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: var(--c-accent);
    box-shadow: 0 0 12px var(--c-glow);
}

.section__title {
    font-family: var(--font-display);
    font-size: calc(clamp(52px, 8vw, 112px) * var(--h-scale, 1));
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 0.94;
    text-transform: uppercase;
}

.section__lede {
    margin-top: 26px;
    max-width: 60ch;
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--c-muted);
}

/* ----------------------------- Glass system ---------------------------- */
.glass-card {
    position: relative;
    padding: clamp(24px, 3vw, 36px);
    background: var(--c-glass);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s, background-color 0.5s;
}

.glass-card:hover {
    background: var(--c-glass-brt);
    border-color: rgba(225, 6, 0, 0.35);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 40px -18px var(--c-glow);
}

/* Cursor-following spotlight (driven by animations.js via --mx / --my) */
[data-spotlight]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
        rgba(255, 255, 255, 0.07), transparent 55%);
    opacity: 0;
    transition: opacity 0.4s;
}

[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* ------------------------------- Buttons ------------------------------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 17px 34px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    overflow: hidden;
    transition: color 0.35s, border-color 0.35s, box-shadow 0.45s, background-color 0.35s;
    will-change: transform;
}

.btn__arrow, .btn__play { width: 17px; height: 17px; transition: transform 0.4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn:hover .btn__play { transform: scale(1.15); }

.btn--primary {
    background: var(--c-accent);
    box-shadow: 0 12px 34px -12px var(--c-glow);
}

.btn--primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.7s var(--ease-out);
}

.btn--primary:hover { box-shadow: 0 16px 48px -10px var(--c-glow); }
.btn--primary:hover::before { transform: translateX(120%); }

.btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--c-text);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    border-color: var(--c-accent);
    background: rgba(225, 6, 0, 0.1);
    box-shadow: 0 0 30px rgba(225, 6, 0, 0.2);
}

.btn__icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
    filter: grayscale(1) brightness(1.6);
    transition: filter 0.3s;
}

.btn:hover .btn__icon { filter: grayscale(0); }

.btn--steam {
    padding: 13px 26px;
    border: 1px solid var(--c-line);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12px;
}

.btn--steam:hover {
    border-color: var(--c-accent);
    background: var(--c-accent);
    box-shadow: 0 10px 34px -10px var(--c-glow);
}

/* --------------------------------- Hero -------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 40px) 0 40px;
    overflow: hidden;
}

.hero__canvas { position: absolute; inset: 0; z-index: 0; }

.hero__fog {
    position: absolute;
    z-index: 1;
    width: 130vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero__fog--a {
    left: -30vmax;
    bottom: -34vmax;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05), transparent 60%);
    animation: fogDrift 26s ease-in-out infinite alternate;
}

.hero__fog--b {
    right: -40vmax;
    top: -20vmax;
    background: radial-gradient(ellipse, rgba(225, 6, 0, 0.10), transparent 60%);
    animation: fogDrift 32s ease-in-out infinite alternate-reverse;
}

.hero__rays {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.028) 46%, transparent 52%),
        linear-gradient(115deg, transparent 60%, rgba(225, 6, 0, 0.05) 66%, transparent 74%);
    mix-blend-mode: screen;
    animation: raysSweep 16s ease-in-out infinite alternate;
}

/* Two faint red eyes in the dark — subtle, blink on a long cycle */
.hero__eyes {
    position: absolute;
    z-index: 1;
    right: clamp(6%, 12vw, 16%);
    top: 26%;
    display: flex;
    gap: 16px;
    opacity: 0.5;
    pointer-events: none;
}

.hero__eyes span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 16px var(--c-glow), 0 0 34px var(--c-glow);
    animation: eyesBlink 9s ease-in-out infinite;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(var(--inner-max), calc(100% - clamp(40px, 8vw, 112px)));
    margin: 0 auto;
}

.hero__kicker {
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.hero__title-line {
    display: block;
    font-family: var(--font-display);
    font-size: calc(clamp(84px, 16vw, 232px) * var(--h-scale, 1));
    letter-spacing: 0.03em;
    line-height: 0.86;
    text-shadow: 0 0 80px rgba(225, 6, 0, 0.25);
}

.hero__title-sub {
    display: block;
    margin-top: 22px;
    font-family: var(--font-display);
    font-size: calc(clamp(26px, 4vw, 52px) * var(--h-scale, 1));
    letter-spacing: 0.06em;
    line-height: 1.06;
    color: var(--c-muted);
    text-transform: uppercase;
}

.hero__copy {
    margin-top: 26px;
    max-width: 54ch;
    font-size: clamp(15px, 1.4vw, 18px);
    color: var(--c-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
}

.hero__strip {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 5vw, 72px);
    width: min(var(--inner-max), calc(100% - clamp(40px, 8vw, 112px)));
    margin: clamp(56px, 8vh, 96px) auto 0;
    padding-top: 30px;
    border-top: 1px solid var(--c-line);
}

.hero__stat { display: grid; gap: 4px; }

.hero__stat-value {
    font-size: clamp(30px, 3.6vw, 46px);
    font-weight: 700;
    line-height: 1;
}

.hero__stat-value::after { content: ""; }

.hero__stat-label {
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.hero__scroll-hint {
    pointer-events: none;
    position: absolute;
    z-index: 2;
    right: clamp(22px, 4vw, 56px);
    bottom: 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--c-muted);
    writing-mode: vertical-rl;
}

.hero__scroll-line {
    width: 1px;
    height: 56px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    position: relative;
}

.hero__scroll-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: var(--c-accent);
    animation: scrollHint 2.2s var(--ease-luxe) infinite;
}

/* -------------------------------- Games -------------------------------- */
.games__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(22px, 3vw, 40px);
}

.game-card {
    position: relative;
    border-radius: var(--radius);
    background: var(--c-glass);
    border: 1px solid var(--c-line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: border-color 0.5s, box-shadow 0.5s;
    will-change: transform;
}

.game-card:hover {
    border-color: rgba(225, 6, 0, 0.4);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.95), 0 0 60px -24px var(--c-glow);
}

/* Rotating conic border highlight */
.game-card__border {
    position: absolute;
    inset: -1px;
    z-index: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--angle, 0deg),
        transparent 0 68%, var(--c-accent) 78%, rgba(255, 255, 255, 0.7) 82%, transparent 92%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    animation: borderSpin 5s linear infinite;
}

.game-card:hover .game-card__border { opacity: 1; }

.game-card__art {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(225, 6, 0, 0.14), transparent 55%),
        linear-gradient(160deg, #161616, #0a0a0a);
    overflow: hidden;
}

.game-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out), filter 0.8s;
    filter: saturate(0.85) contrast(1.04);
}

.game-card:hover .game-card__art img { transform: scale(1.07); filter: saturate(1.05); }

.game-card__art.is-missing img { display: none; }

.game-card__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, 0.75));
    pointer-events: none;
}

.game-card__art--classified {
    display: grid;
    place-items: center;
}

.game-card__redacted {
    font-size: clamp(22px, 3vw, 34px);
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.14);
    animation: redactedFlicker 4.5s steps(2) infinite;
}

.game-card__status {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(5, 5, 5, 0.6);
    border: 1px solid var(--c-line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.game-card__status--red {
    border-color: rgba(225, 6, 0, 0.5);
    color: var(--c-accent);
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.2);
}

.game-card__body { position: relative; z-index: 1; padding: clamp(24px, 3vw, 34px); }

.game-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.game-card__genre { color: var(--c-accent); font-weight: 600; }

.game-card__name {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.game-card__desc {
    margin-top: 14px;
    font-size: 15px;
    color: var(--c-muted);
    max-width: 52ch;
}

.game-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.game-card__tags li {
    padding: 6px 13px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-muted);
    transition: border-color 0.3s, color 0.3s;
}

.game-card:hover .game-card__tags li { border-color: rgba(255, 255, 255, 0.2); color: var(--c-text); }

.game-card__actions { margin-top: 26px; }

/* ------------------------------ Experience ----------------------------- */
.marquee {
    position: relative;
    margin: clamp(10px, 2vw, 24px) 0 clamp(48px, 6vw, 80px);
    padding: 10px 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
    display: flex;
    gap: clamp(16px, 2vw, 28px);
    width: max-content;
    will-change: transform;
}

.logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 190px;
    padding: 30px 26px;
    background: var(--c-glass);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s, background-color 0.45s;
}

.logo-card img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.4);
    opacity: 0.8;
    transition: filter 0.5s, opacity 0.5s, transform 0.5s var(--ease-out);
}

.logo-card span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-muted);
    text-align: center;
    transition: color 0.4s;
}

.logo-card:hover {
    transform: translateY(-8px) scale(1.03);
    background: var(--c-glass-brt);
    border-color: rgba(225, 6, 0, 0.4);
    box-shadow: 0 22px 50px -24px rgba(0, 0, 0, 0.9), 0 0 34px -14px var(--c-glow);
}

.logo-card:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.12); }
.logo-card:hover span { color: var(--c-text); }

.experience__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.4vw, 32px);
}

.experience__stats .glass-card { display: grid; gap: 12px; }

.experience__stats strong {
    font-size: clamp(26px, 2.6vw, 34px);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--c-accent);
}

.experience__stats span { font-size: 14px; color: var(--c-muted); }

/* ------------------------------- Timeline ------------------------------ */
.timeline__list {
    position: relative;
    display: grid;
    gap: clamp(34px, 5vw, 56px);
    padding-left: clamp(40px, 6vw, 72px);
}

.timeline__line {
    pointer-events: none;
    position: absolute;
    left: 11px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
}

.timeline__line-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #ff5a55, var(--c-accent) 60%, #7a0300);
    box-shadow: 0 0 18px var(--c-glow);
    transform: scaleY(0);
    transform-origin: top;
}

.timeline__item { position: relative; }

.timeline__dot {
    position: absolute;
    left: calc(-1 * clamp(40px, 6vw, 72px) + 4px);
    top: 34px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--c-secondary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: border-color 0.4s, box-shadow 0.4s, background-color 0.4s;
}

.timeline__item.is-inview .timeline__dot {
    border-color: var(--c-accent);
    background: var(--c-accent);
    box-shadow: 0 0 20px var(--c-glow);
}

.timeline__dot--red { border-color: var(--c-accent); animation: dotPulse 2.4s ease-in-out infinite; }

.timeline__card { max-width: 640px; display: grid; gap: 8px; }

.timeline__phase {
    font-size: 12px;
    letter-spacing: 0.3em;
    color: var(--c-accent);
}

.timeline__card h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.timeline__card p { font-size: 14px; color: var(--c-muted); }

.timeline__card--now { border-color: rgba(225, 6, 0, 0.4); }

/* -------------------------------- Studio ------------------------------- */
.studio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.4vw, 32px);
}

.studio__card { display: grid; gap: 14px; align-content: start; }

.studio__label {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.12em;
    color: var(--c-accent);
    text-transform: uppercase;
}

.studio__card p { font-size: 14.5px; color: var(--c-muted); }

.studio__pillars {
    display: grid;
    gap: 0;
    margin-top: clamp(44px, 5vw, 72px);
    border-top: 1px solid var(--c-line);
}

.studio__pillar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: baseline;
    padding: 26px 4px;
    border-bottom: 1px solid var(--c-line);
    transition: padding-left 0.45s var(--ease-out), background-color 0.45s;
}

.studio__pillar:hover { padding-left: 20px; background: rgba(255, 255, 255, 0.02); }

.studio__pillar strong {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.studio__pillar span { font-size: 14.5px; color: var(--c-muted); }

.studio__numbers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(18px, 2.4vw, 32px);
    margin-top: clamp(44px, 5vw, 72px);
}

.studio__number { display: grid; gap: 6px; text-align: left; }

.studio__number .num {
    font-size: clamp(44px, 5.5vw, 76px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, var(--c-text), rgba(255, 255, 255, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.studio__number em {
    font-style: normal;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-muted);
}

/* ------------------------------- Founders ------------------------------ */
.founders__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.founders__photo {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(225, 6, 0, 0.12), transparent 60%),
        linear-gradient(165deg, #171717, #090909);
    will-change: transform;
}

.founders__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
    transition: transform 1.2s var(--ease-out), filter 0.8s;
}

.founders__photo:hover img { transform: scale(1.05); filter: saturate(1.05); }
.founders__photo.is-missing img { display: none; }

.founders__photo-border {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: calc(var(--radius) - 8px);
    pointer-events: none;
    transition: border-color 0.5s, inset 0.5s var(--ease-out);
}

.founders__photo:hover .founders__photo-border { border-color: rgba(225, 6, 0, 0.5); inset: 10px; }

.founders__cards { display: grid; gap: clamp(20px, 2.6vw, 30px); }

.founder-card { display: grid; gap: 14px; will-change: transform; }

.founder-card__badges { display: flex; flex-wrap: wrap; gap: 8px; }

.founder-card__badges span {
    padding: 6px 14px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-muted);
}

.founder-card__badge--red {
    border-color: rgba(225, 6, 0, 0.45) !important;
    color: var(--c-accent) !important;
}

.founder-card h3 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.02;
    text-transform: uppercase;
}

.founder-card p { font-size: 14.5px; color: var(--c-muted); }

.founder-card__socials { display: flex; gap: 12px; margin-top: 4px; }

.founder-card__socials a {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-line);
    border-radius: 50%;
    color: var(--c-muted);
    transition: color 0.3s, border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.founder-card__socials svg { width: 16px; height: 16px; }

.founder-card__socials a:hover {
    color: var(--c-text);
    border-color: var(--c-accent);
    background: rgba(225, 6, 0, 0.14);
    box-shadow: 0 0 24px rgba(225, 6, 0, 0.25);
}

/* -------------------------------- Contact ------------------------------ */
.contact__grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}

.contact__form { display: grid; gap: 30px; padding: clamp(28px, 4vw, 48px); }

.field { position: relative; display: grid; gap: 10px; }

.field__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--c-muted);
    transition: color 0.3s;
}

.field:focus-within .field__label { color: var(--c-accent); }

.field__input {
    width: 100%;
    padding: 12px 2px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--c-text);
    font-family: var(--font-body);
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.3s;
}

.field__input::placeholder { color: rgba(255, 255, 255, 0.28); }
.field__input:focus { outline: none; }

.field__line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--c-accent);
    box-shadow: 0 0 14px var(--c-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.55s var(--ease-luxe);
}

.field:focus-within .field__line { transform: scaleX(1); }

.contact__submit { justify-self: start; }

.contact__note {
    min-height: 1.4em;
    font-size: 13px;
    color: var(--c-muted);
}

.contact__note.is-sent { color: #7dff9a; }

.contact__channels { display: grid; gap: 16px; }

.channel {
    display: grid;
    gap: 4px;
    padding: 22px 26px;
}

.channel__name {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
}

.channel:hover .channel__name { color: var(--c-accent); }

.channel__hint {
    font-size: 12.5px;
    letter-spacing: 0.06em;
    color: var(--c-muted);
}

/* -------------------------------- Footer ------------------------------- */
.footer {
    position: relative;
    z-index: 1;
    padding: clamp(56px, 8vw, 110px) 0 40px;
    border-top: 1px solid var(--c-line);
    overflow: hidden;
}

.footer__logo {
    pointer-events: none;  /* decorative — must never block the links below */
    font-family: var(--font-display);
    font-size: clamp(96px, 20vw, 320px);
    letter-spacing: 0.04em;
    line-height: 0.8;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
    user-select: none;
    transition: -webkit-text-stroke-color 0.8s;
}

.footer:hover .footer__logo { -webkit-text-stroke-color: rgba(225, 6, 0, 0.25); }

.footer__row {
    position: relative;
    z-index: 2;            /* always above the wordmark, whatever GSAP does */
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
    align-items: center;
    width: min(var(--inner-max), calc(100% - clamp(40px, 8vw, 112px)));
    margin: clamp(40px, 5vw, 72px) auto 0;
}

.footer__links, .footer__social { display: flex; flex-wrap: wrap; gap: 22px; }

.footer__links a, .footer__social a {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-muted);
    transition: color 0.3s;
}

.footer__links a:hover, .footer__social a:hover { color: var(--c-accent); }

.footer__copy { font-size: 12px; color: rgba(255, 255, 255, 0.35); letter-spacing: 0.06em; }


/* ------------------------ Loader: two brains → one ---------------------- */
.brains { display: grid; place-items: center; margin-bottom: 6px; }

.brains__svg { width: min(340px, 70vw); height: auto; overflow: visible; }

.brains__half { will-change: transform, opacity; }

.brains__half--left  { animation: brainLeft  2.4s var(--ease-luxe) forwards; }
.brains__half--right { animation: brainRight 2.4s var(--ease-luxe) forwards; }

.brains__outline {
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 2;
    fill: rgba(255, 255, 255, 0.02);
    stroke-dasharray: 620;
    stroke-dashoffset: 620;
    animation: brainDraw 1.3s ease-out forwards;
}

.brains__gyri {
    stroke: var(--c-muted);
    stroke-width: 1.4;
    stroke-linecap: round;
    opacity: 0;
    animation: brainFade 0.7s ease 0.7s forwards;
}

.brains__node {
    fill: var(--c-accent);
    filter: drop-shadow(0 0 6px var(--c-glow));
    opacity: 0;
    animation: nodeBlink 0.9s ease 1s infinite alternate;
}

.brains__links line {
    stroke: var(--c-accent);
    stroke-width: 1.4;
    stroke-dasharray: 6 10;
    opacity: 0;
    filter: drop-shadow(0 0 4px var(--c-glow));
    animation: linkFire 1.2s linear 1.1s 2;
}

.brains__one { opacity: 0; animation: oneAppear 0.8s var(--ease-out) 2.35s forwards; }

.brains__core {
    stroke: var(--c-accent);
    stroke-width: 2.4;
    fill: rgba(225, 6, 0, 0.06);
    filter: drop-shadow(0 0 22px var(--c-glow));
}

.brains__pulse {
    fill: var(--c-glow);
    animation: mindPulse 1.6s ease-in-out 2.4s infinite;
}


/* --------------------------- Scroll progress ---------------------------- */
.scroll-progress {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 105;
    height: 2px;
    pointer-events: none;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--c-accent), #ffffff55);
    box-shadow: 0 0 14px var(--c-glow);
    transform: scaleX(0);
    transform-origin: left;
}


/* --------------------------- Custom sections ---------------------------- */
.custom-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(20px, 2.6vw, 36px);
}

.custom-card { padding: 0; overflow: hidden; }

.custom-card__art {
    aspect-ratio: 16 / 9;
    background: linear-gradient(160deg, var(--c-secondary), var(--c-primary));
    overflow: hidden;
}

.custom-card__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}

.custom-card:hover .custom-card__art img { transform: scale(1.06); }

.custom-card__body { display: grid; gap: 12px; padding: clamp(20px, 2.6vw, 30px); }

.custom-card__tag {
    justify-self: start;
    padding: 5px 12px;
    border: 1px solid var(--c-line);
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-accent);
}

.custom-card h3 {
    font-family: var(--font-display);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.custom-card p { font-size: 14.5px; color: var(--c-muted); }
.custom-card .btn { justify-self: start; }

.custom-logos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: clamp(14px, 2vw, 24px);
}

.custom-logos .logo-card { min-width: 0; }

/* ------------------------- Loader: merge blast --------------------------- */
.brains { position: relative; }

.brains__flash {
    position: absolute;
    inset: -60%;
    background: radial-gradient(circle at 50% 50%, #ffffff, var(--c-glow) 30%, transparent 62%);
    opacity: 0;
    pointer-events: none;
}

.brains__shock {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--c-accent);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 30px var(--c-glow), inset 0 0 24px var(--c-glow);
}

.brains__shock--b { border-color: rgba(255, 255, 255, 0.8); border-width: 1px; }
.brains__shock--c { border-width: 3px; filter: blur(2px); }

.loader.is-blast .brains__flash { animation: blastFlash 0.75s ease-out forwards; }
.loader.is-blast .brains__shock--a { animation: shockwave 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.loader.is-blast .brains__shock--b { animation: shockwave 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.07s forwards; }
.loader.is-blast .brains__shock--c { animation: shockwave 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.14s forwards; }

.loader.is-blast .brains__svg { animation: blastKick 0.65s var(--ease-out); }

/* Detailed merged brain */
.brains__fissure,
.brains__one-gyri,
.brains__stem {
    fill: none;
    stroke-linecap: round;
}

.brains__fissure { stroke: var(--c-accent); stroke-width: 1.8; opacity: 0.9; filter: drop-shadow(0 0 5px var(--c-glow)); }
.brains__one-gyri { stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.4; }
.brains__stem { stroke: rgba(255, 255, 255, 0.55); stroke-width: 1.6; }
body.light .brains__one-gyri { stroke: rgba(0, 0, 0, 0.6); }
body.light .brains__stem { stroke: rgba(0, 0, 0, 0.45); }

.brains__node--one { animation-delay: 2.6s !important; }

.brains__pulse--b { animation-delay: 3.2s !important; }

/* ------------------------------ Light mode ------------------------------ */
body.light {
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, var(--c-glow-soft), transparent 60%),
        var(--c-primary);
}

body.light .grain { opacity: 0.035; }

body.light .vignette {
    background: radial-gradient(ellipse 120% 100% at 50% 50%, transparent 70%, rgba(0, 0, 0, 0.12) 100%);
}

body.light .nav.is-scrolled {
    background: rgba(255, 255, 255, 0.7);
    border-bottom-color: var(--c-line);
}

body.light .menu { background: rgba(255, 255, 255, 0.92); }

body.light .btn--ghost { border-color: rgba(0, 0, 0, 0.25); }
body.light .btn--ghost:hover { background: var(--c-glow-soft); }
body.light .btn--primary { color: #fff; }
body.light .btn--steam { background: rgba(0, 0, 0, 0.04); }
body.light .btn--steam:hover { color: #fff; }

body.light .nav__cta { border-color: rgba(0, 0, 0, 0.25); }

body.light .hero__fog--a { background: radial-gradient(ellipse, rgba(0, 0, 0, 0.05), transparent 60%); }
body.light .hero__rays { display: none; }
body.light .hero__eyes { opacity: 0.85; }
body.light .hero__title-line { text-shadow: 0 0 60px var(--c-glow-soft); }

body.light .field__input { border-bottom-color: rgba(0, 0, 0, 0.25); }
body.light .field__input::placeholder { color: rgba(0, 0, 0, 0.3); }

body.light .loader { background: #f5f5f5; }
body.light .loader__bar { background: rgba(0, 0, 0, 0.1); }
body.light .brains__outline { stroke: rgba(0, 0, 0, 0.8); fill: rgba(0, 0, 0, 0.02); }

body.light .footer__logo { -webkit-text-stroke-color: rgba(0, 0, 0, 0.12); }
body.light .footer:hover .footer__logo { -webkit-text-stroke-color: var(--c-glow); }
body.light .footer__copy { color: rgba(0, 0, 0, 0.4); }

body.light .cursor__dot { background: var(--c-accent); }
body.light .cursor__ring { border-color: rgba(0, 0, 0, 0.4); }
body.light .cursor__ring.is-view { background: rgba(255, 255, 255, 0.6); }
body.light .cursor__ring.is-view .cursor__label { color: var(--c-text); }

body.light .game-card__status { background: rgba(255, 255, 255, 0.65); }
body.light .game-card__art::after { background: linear-gradient(180deg, transparent 60%, rgba(255, 255, 255, 0.5)); }
body.light .game-card__art,
body.light .founders__photo,
body.light .custom-card__art { background: linear-gradient(160deg, #ececec, #dedede); }
body.light .game-card__redacted { color: rgba(0, 0, 0, 0.18); }

body.light .studio__number .num {
    background: linear-gradient(180deg, var(--c-text), rgba(0, 0, 0, 0.55));
    -webkit-background-clip: text;
    background-clip: text;
}

body.light .hero__canvas { opacity: 0.85; }
body.light .atmosphere { opacity: 0.6; }

body.light ::selection { color: #fff; }


/* Linked cards read as clickable everywhere */
.game-card[data-link], .custom-card[data-link] { cursor: pointer; }
