/* Landing page (index.html) — the recruiter-first front door. Same DNA as
   the game (hard 4px pixel shadows, Press Start 2P for display type) but
   loud: every card/chip/timeline entry picks an accent from the palette via
   a .c-<color> class, which just sets --c. Body copy stays in a readable sans. */

:root {
    --bg: #120d24;
    --panel: #1d1638;
    --panel-2: #2a2150;
    --line: #3d3270;
    --text: #f3efff;
    --muted: #b9b0dd;

    --lime: #c6ff33;
    --pink: #ff4fa3;
    --cyan: #33d6ff;
    --orange: #ff9a3c;
    --purple: #a37bff;
    --yellow: #ffe14d;
    --teal: #2ee6b0;
    --red: #ff5a5a;
    --ink: #120d24;

    --c: var(--lime);           /* per-element accent, set by .c-* */
    --rainbow: linear-gradient(90deg, var(--lime), var(--cyan) 30%, var(--purple) 55%, var(--pink) 78%, var(--orange));
    --shadow: 4px 4px 0 #000;
    --pixel: 'Press Start 2P', monospace;
    --sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gutter: clamp(16px, 4vw, 40px);
    --maxw: 1180px;
}
.c-lime { --c: var(--lime); }   .c-pink { --c: var(--pink); }
.c-cyan { --c: var(--cyan); }   .c-orange { --c: var(--orange); }
.c-purple { --c: var(--purple); } .c-yellow { --c: var(--yellow); }
.c-teal { --c: var(--teal); }   .c-red { --c: var(--red); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background:
        radial-gradient(700px 480px at 92% 2%, rgba(255, 79, 163, 0.30), transparent 65%),
        radial-gradient(760px 520px at 4% 18%, rgba(51, 214, 255, 0.22), transparent 65%),
        radial-gradient(800px 600px at 70% 55%, rgba(163, 123, 255, 0.20), transparent 65%),
        radial-gradient(700px 520px at 10% 85%, rgba(198, 255, 51, 0.14), transparent 65%),
        radial-gradient(700px 520px at 95% 95%, rgba(255, 154, 60, 0.18), transparent 65%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}
/* Faint pixel grid over everything, so the page reads as "same world as the game" */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
}
main, .topbar, .footer { position: relative; z-index: 1; }
a { color: inherit; }
b { color: #fff; font-weight: 700; }
img, video { display: block; max-width: 100%; }
.rainbow {
    background: var(--rainbow);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbowSlide 6s linear infinite;
}
@keyframes rainbowSlide { to { background-position: -200% 0; } }
.hl-lime { color: var(--lime); } .hl-pink { color: var(--pink); }
.hl-cyan { color: var(--cyan); } .hl-orange { color: var(--orange); }

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--lime); color: var(--ink); padding: 8px 12px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    font-family: var(--pixel);
    font-size: 12px;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: 3px solid #000;
    box-shadow: var(--shadow);
    transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--yellow); box-shadow: 6px 6px 0 #000, 0 0 26px rgba(198, 255, 51, 0.55); }
.btn-ghost { background: var(--pink); color: #fff; text-shadow: 2px 2px 0 rgba(0,0,0,0.35); }
.btn-ghost:hover { background: #ff6fb6; box-shadow: 6px 6px 0 #000, 0 0 26px rgba(255, 79, 163, 0.5); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 10px; }

/* ---------- Top bar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; gap: 24px;
    padding: 12px var(--gutter);
    padding-top: max(12px, env(safe-area-inset-top));
    background: rgba(18, 13, 36, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
/* Rainbow pixel stripe under the bar */
.topbar::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
    background: repeating-linear-gradient(90deg,
        var(--lime) 0 24px, var(--cyan) 24px 48px, var(--purple) 48px 72px,
        var(--pink) 72px 96px, var(--orange) 96px 120px, var(--yellow) 120px 144px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
    display: grid; grid-template-columns: 1fr 1fr; width: 30px; height: 30px;
    box-shadow: 3px 3px 0 #000; border: 2px solid #000;
}
.brand-mark i:nth-child(1) { background: var(--lime); }
.brand-mark i:nth-child(2) { background: var(--pink); }
.brand-mark i:nth-child(3) { background: var(--cyan); }
.brand-mark i:nth-child(4) { background: var(--orange); }
.brand:hover .brand-mark { animation: spinMark .5s steps(4); }
@keyframes spinMark { to { transform: rotate(360deg); } }
.brand-name { font-family: var(--pixel); font-size: 11px; }
.topnav { display: flex; gap: 22px; margin-left: auto; }
.topnav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.topnav a:nth-child(1):hover { color: var(--lime); }
.topnav a:nth-child(2):hover { color: var(--cyan); }
.topnav a:nth-child(3):hover { color: var(--pink); }
.topbar-cta { display: flex; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: clamp(32px, 7vh, 80px) var(--gutter) 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
}
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero-copy, .cabinet { position: relative; z-index: 1; }
.hero-id { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
#avatar {
    width: 104px; height: 104px; flex: none;
    image-rendering: pixelated;
    border: 4px solid #000;
    box-shadow: 5px 5px 0 var(--pink), 10px 10px 0 var(--cyan);
    background: var(--panel);
    cursor: crosshair;
}
.eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-family: var(--pixel); font-size: 10px;
    color: var(--ink); background: var(--cyan);
    padding: 6px 8px; box-shadow: 3px 3px 0 #000;
    letter-spacing: 0.5px;
}
h1 {
    margin: 0;
    font-family: var(--pixel);
    font-size: clamp(20px, 3.1vw, 34px);
    line-height: 1.35;
    text-shadow: 4px 4px 0 #000;
}
h1 .rainbow { text-shadow: none; filter: drop-shadow(4px 4px 0 #000); }
.caret { color: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lede { color: var(--muted); font-size: 18px; max-width: 34em; margin: 0 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; }
.facts li {
    font-size: 13px; font-weight: 700;
    padding: 4px 10px;
    color: var(--c);
    border: 2px solid var(--c);
    background: color-mix(in srgb, var(--c) 12%, transparent);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-actions.center { justify-content: center; }
.socials { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.socials a {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--muted); text-decoration: none; font-weight: 500;
    min-height: 44px;
}
.socials a:nth-child(1):hover { color: var(--lime); }
.socials a:nth-child(2):hover { color: var(--cyan); }
.socials a:nth-child(3):hover { color: var(--pink); }
.socials svg { width: 20px; height: 20px; }

/* ---------- Game cabinet card ---------- */
.cabinet {
    display: block;
    text-decoration: none;
    background: var(--panel);
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    padding: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}
/* Animated rainbow frame: a ring painted over the 4px border (the mask
   punches out the content box, so only the border band shows). */
.cabinet::before {
    content: ''; position: absolute; inset: -4px; z-index: 2; pointer-events: none;
    padding: 4px;
    background: var(--rainbow); background-size: 300% 100%;
    animation: rainbowSlide 5s linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.cabinet:hover { transform: translate(-3px, -3px) rotate(-0.5deg); box-shadow: 11px 11px 0 #000, 0 0 50px rgba(255, 79, 163, 0.35); }
.cabinet-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
    border: 3px solid #000;
}
.cabinet-video { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.scanlines {
    position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(to bottom, rgba(0,0,0,0.22) 0 1px, transparent 1px 3px);
    mix-blend-mode: multiply;
}
.press-start {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    font-family: var(--pixel); font-size: 12px;
    color: var(--ink); background: var(--yellow);
    padding: 10px 14px;
    box-shadow: var(--shadow);
    animation: blink 1.1s steps(1) infinite;
}
.cabinet:hover .press-start { animation: none; background: var(--lime); }
.cabinet-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 14px; }
.cabinet-title { font-family: var(--pixel); font-size: 14px; }
.cabinet-title { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cabinet-sub { color: var(--muted); font-size: 15px; margin-top: 6px; }
.live-pill {
    flex: none;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--pixel); font-size: 9px; color: var(--ink);
    padding: 6px 8px; background: var(--lime); box-shadow: 3px 3px 0 #000;
}
.live-pill i { width: 8px; height: 8px; background: var(--red); animation: blink 1.4s steps(1) infinite; }
.cabinet-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.cabinet-tags li { font-size: 12px; font-weight: 500; padding: 2px 8px; color: var(--ink); }
.cabinet-tags li:nth-child(1) { background: var(--cyan); }
.cabinet-tags li:nth-child(2) { background: var(--purple); }
.cabinet-tags li:nth-child(3) { background: var(--orange); }
.cabinet-tags li:nth-child(4) { background: var(--lime); }

/* ---------- Stat strip ---------- */
.stats {
    max-width: var(--maxw); margin: 0 auto; padding: 8px var(--gutter) 24px;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.stat {
    background: var(--c); color: var(--ink);
    border: 3px solid #000; box-shadow: var(--shadow);
    padding: 16px 16px 14px;
    transition: transform .12s ease;
}
.stat:hover { transform: translate(-2px, -2px) rotate(-1deg); }
.stat b { display: block; color: var(--ink); font-family: var(--pixel); font-size: clamp(18px, 2.4vw, 26px); line-height: 1.2; }
.stat small { font-size: 0.55em; }
.stat span { display: block; margin-top: 8px; font-weight: 700; font-size: 14px; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 56px var(--gutter); }
.section-title {
    display: flex; align-items: baseline; gap: 14px;
    font-family: var(--pixel); font-size: clamp(16px, 2vw, 22px);
    margin: 0 0 24px;
    text-shadow: 3px 3px 0 #000;
}
.section-title span {
    font-size: 0.6em; color: var(--ink); background: var(--yellow);
    padding: 6px 7px; text-shadow: none; box-shadow: 3px 3px 0 #000;
}
#experience .section-title span { background: var(--cyan); }
#about .section-title span { background: var(--pink); }

/* Project filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.chip-btn {
    --c: var(--text);
    font-family: var(--pixel); font-size: 10px;
    min-height: 38px; padding: 0 14px;
    color: var(--c); background: transparent;
    border: 3px solid var(--c); box-shadow: 3px 3px 0 #000;
    cursor: pointer;
    transition: transform .08s ease, background .12s ease, color .12s ease;
}
.chip-btn:hover { transform: translate(-1px, -1px); }
.chip-btn.on { background: var(--c); color: var(--ink); }
.chip-btn.c-lime { --c: var(--lime); } .chip-btn.c-pink { --c: var(--pink); }
.chip-btn.c-cyan { --c: var(--cyan); } .chip-btn.c-orange { --c: var(--orange); }
.chip-btn.c-purple { --c: var(--purple); }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.project {
    background: var(--panel);
    border: 3px solid #000;
    box-shadow: 6px 6px 0 var(--c);
    display: flex; flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease, opacity .25s ease;
}
.project:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--c), 0 0 34px color-mix(in srgb, var(--c) 40%, transparent); }
.project.hide { display: none; }
.project.pop { animation: cardPop .32s steps(5); }
@keyframes cardPop { 0% { transform: scale(0.92); opacity: 0; } 100% { transform: none; opacity: 1; } }
.project-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 3px solid #000; background: #000; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.project:hover .project-thumb img { transform: scale(1.05); }
.badge {
    position: absolute; left: 10px; top: 10px;
    font-family: var(--pixel); font-size: 9px; line-height: 1.4;
    color: var(--ink); background: var(--c);
    padding: 6px 8px; border: 2px solid #000; box-shadow: 3px 3px 0 #000;
}
.project-body { padding: 16px 20px 20px; border-top: 6px solid var(--c); }
.project-event { margin: 0 0 6px !important; font-size: 13px !important; font-weight: 700; color: var(--c) !important; }
.project h3 { margin: 0 0 8px; font-size: 21px; }
.project h3 a { text-decoration: none; }
.project h3 a:hover { color: var(--c); }
.project p { margin: 0 0 14px; color: var(--muted); font-size: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li {
    font-size: 12px; font-weight: 700; padding: 2px 8px;
    color: var(--c);
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--c) 55%, transparent);
}
.tags.big li { font-size: 13px; }
.more-link { margin: 26px 0 0; }
.more-link a { color: var(--cyan); font-weight: 700; }

/* On-the-road polaroids: tilted, colored tape, straighten + lift on hover.
   A horizontal swipe strip on phones. */
#road .section-title span { background: var(--orange); }
.polaroids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 22px; padding: 10px 4px 6px; }
.polaroid {
    position: relative; margin: 0;
    background: #fbf8ef; padding: 10px 10px 12px;
    border: 3px solid #000; box-shadow: 6px 6px 0 var(--c);
    transform: rotate(var(--tilt, -3deg));
    transition: transform .2s cubic-bezier(.3,1.6,.5,1), box-shadow .2s ease;
}
.polaroid:nth-child(2) { --tilt: 2.5deg; }
.polaroid:nth-child(3) { --tilt: -1.5deg; }
.polaroid:nth-child(4) { --tilt: 3deg; }
.polaroid:nth-child(5) { --tilt: 2deg; }
.polaroid:nth-child(6) { --tilt: -3deg; }
.polaroid:nth-child(7) { --tilt: 1.5deg; }
.polaroid:nth-child(8) { --tilt: -2deg; }
.polaroid::before {
    content: ''; position: absolute; top: -12px; left: 50%; width: 56px; height: 20px; margin-left: -28px;
    background: color-mix(in srgb, var(--c) 80%, transparent); border: 2px solid #000;
    transform: rotate(-4deg);
}
.polaroid:hover { transform: rotate(0) translateY(-8px) scale(1.04); box-shadow: 10px 10px 0 var(--c); z-index: 2; }
.polaroid img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 2px solid #000; }
.polaroid figcaption { margin-top: 8px; color: #1d1638; font-weight: 700; font-size: 13px; line-height: 1.3; text-align: center; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 4px solid transparent; border-image: linear-gradient(var(--lime), var(--pink), var(--cyan), var(--orange), var(--purple), var(--teal), var(--yellow)) 1; }
.timeline li { position: relative; padding: 0 0 28px 26px; }
.timeline li::before {
    content: ''; position: absolute; left: -12px; top: 6px;
    width: 16px; height: 16px; background: var(--c); border: 3px solid #000; box-shadow: 2px 2px 0 #000;
}
.tl-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; align-items: baseline; }
.tl-head h3 { margin: 0; font-size: 18px; }
.tl-head h3 a { color: var(--c); }
.tl-head span { color: var(--c); font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; }
.timeline p { margin: 6px 0 0; color: var(--muted); max-width: 54em; }
.tl-row { display: flex; gap: 16px; align-items: flex-start; }
.tl-img {
    flex: none; width: 96px; height: 60px; object-fit: cover; margin-top: 10px;
    padding: 2px;
    border: 3px solid #000; box-shadow: 3px 3px 0 var(--c); background: #fff;
}

.tl-img.contain { object-fit: contain; }
.eyebrow .short { display: none; }

.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.about-card {
    background: var(--panel); border: 3px solid #000; box-shadow: 6px 6px 0 var(--c);
    padding: 20px 22px; border-top: 8px solid var(--c);
}
.about-card h3 { margin: 0 0 12px; font-family: var(--pixel); font-size: 12px; color: var(--c); }
.about-card p { margin: 0 0 10px; color: var(--muted); }
.muted-small { font-size: 14px; }
.awards { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.awards li { margin-bottom: 8px; padding-left: 18px; position: relative; }
.awards li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--c); }
.awards li:nth-child(2n)::before { background: var(--yellow); }
.awards li:nth-child(3n)::before { background: var(--cyan); }
.about-card .tags { margin-bottom: 12px; }

.closer { text-align: center; padding-bottom: 80px; }
.closer h2 { font-family: var(--pixel); font-size: clamp(15px, 2vw, 20px); margin: 0 0 12px; line-height: 1.6; }
.closer h2 .rainbow { filter: drop-shadow(3px 3px 0 #000); }
.closer p { color: var(--muted); margin: 0 auto 26px; max-width: 34em; }

.footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
    max-width: var(--maxw); margin: 0 auto;
    padding: 24px var(--gutter) 32px;
    border-top: 3px solid var(--line);
    color: var(--muted); font-size: 14px;
}
.footer a { color: var(--cyan); }

/* Scroll-in reveal (JS adds .in; without JS everything is simply visible) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Pixel burst fired from a Play button before navigating */
.burst-px {
    position: fixed; z-index: 200; pointer-events: none;
    width: 8px; height: 8px;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.6);
}

.mobile-dock { display: none; }

/* ---------- Tablet / phone ---------- */
@media (max-width: 980px) {
    .about-grid { grid-template-columns: 1fr 1fr; }
    .about-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) and (min-width: 641px) {
    .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; padding-top: 28px; }
    .projects { grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    body { font-size: 16px; padding-bottom: calc(76px + env(safe-area-inset-bottom)); background-attachment: scroll; }
    .topnav, .topbar-cta { display: none; }
    .topbar { justify-content: space-between; }
    .hero-id { gap: 16px; }
    #avatar { width: 80px; height: 80px; box-shadow: 4px 4px 0 var(--pink), 8px 8px 0 var(--cyan); }
    h1 { font-size: 18px; }
    .eyebrow { font-size: 8px; }
    .eyebrow .long { display: none; }
    .eyebrow .short { display: inline; }
    .lede { font-size: 16px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .cabinet { padding: 10px; }
    .press-start { font-size: 10px; }
    .stats { gap: 12px; padding-bottom: 8px; }
    .stat { padding: 12px; }
    .stat span { font-size: 13px; }
    .section { padding: 40px var(--gutter); }
    .filters { gap: 8px; }
    .chip-btn { font-size: 9px; padding: 0 10px; min-height: 36px; }
    .project-body { padding: 14px 16px 16px; }
    .about-grid { grid-template-columns: 1fr; }
    .tl-row { flex-direction: column; gap: 0; }
    .polaroids {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
        margin: 0 calc(-1 * var(--gutter)); padding: 18px var(--gutter) 16px; gap: 16px;
    }
    .polaroid { flex: 0 0 62%; scroll-snap-align: center; }
    .mobile-dock {
        display: flex; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: rgba(18, 13, 36, 0.94);
        border-top: 4px solid var(--pink);
        transform: translateY(110%);
        transition: transform .25s ease;
    }
    .mobile-dock.show { transform: none; }
    .mobile-dock .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .caret, .press-start, .live-pill i, .rainbow, .cabinet::before { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .cabinet, .project, .project-thumb img, .stat, .polaroid { transition: none; }
}
