/* DrumStrike website — shared styles. No build step: plain CSS. */

:root {
    --bg: #050505;
    --bg-raised: #0e0e0e;
    --bg-card: #131313;
    --border: #232323;
    --border-strong: #363636;
    --text: #f2f2f2;
    --text-muted: #a6a6a6;
    --text-dim: #6e6e6e;

    --accent: #ff7a1a;
    --accent-strong: #e25600;
    --accent-soft: rgba(255, 122, 26, 0.12);

    /* Drum lane colours, as on the in-game highway */
    --lane-red: #ff3b3b;
    --lane-yellow: #ffd23f;
    --lane-blue: #3b6bff;
    --lane-green: #2fd25a;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --max: 1180px;
    --gutter: clamp(16px, 4vw, 32px);

    --font-display: "Saira Condensed", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 0.5em;
}
.prose h3, .prose h4, .card h3, .step h3 { text-transform: none; letter-spacing: 0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

code, kbd {
    font-family: var(--font-mono);
    font-size: 0.86em;
    background: #1a1a1a;
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.1em 0.4em;
    white-space: nowrap;
}
pre {
    font-family: var(--font-mono);
    font-size: 0.86rem;
    line-height: 1.55;
    background: #0b0b0b;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    overflow-x: auto;
    margin: 0 0 1.4em;
}
pre code { background: none; border: 0; padding: 0; white-space: pre; font-size: inherit; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 100;
    background: var(--accent); color: #000; padding: 8px 14px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Lane stripe: the recurring four-colour accent ---------- */
.lanes {
    display: flex; gap: 6px; height: 4px; width: 96px; margin-bottom: 18px;
}
.lanes span { flex: 1; border-radius: 99px; }
.lanes span:nth-child(1) { background: var(--lane-red); }
.lanes span:nth-child(2) { background: var(--lane-yellow); }
.lanes span:nth-child(3) { background: var(--lane-blue); }
.lanes span:nth-child(4) { background: var(--lane-green); }
.center .lanes, .lanes.center { margin-left: auto; margin-right: auto; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 640px; }
.muted { color: var(--text-muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: 99px;
    transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.site-nav .btn { margin-left: 10px; color: #160800; }
.site-nav .btn:hover { background: #ff8f3d; color: #160800; }

.nav-toggle {
    display: none; margin-left: auto;
    background: none; border: 1px solid var(--border-strong); border-radius: 10px;
    width: 42px; height: 42px; color: var(--text); cursor: pointer;
    align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute; top: 68px; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: rgba(5, 5, 5, 0.97);
        border-bottom: 1px solid var(--border);
        padding: 10px var(--gutter) 18px;
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 1.05rem; }
    .site-nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    padding: 11px 20px; border-radius: 99px;
    background: var(--accent); color: #160800;
    border: 1px solid transparent;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
    cursor: pointer;
}
.btn:hover { text-decoration: none; background: #ff8f3d; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: #4a4a4a; }
.btn svg { width: 18px; height: 18px; }
.appstore-badge img { height: 54px; width: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: -20% -10% auto -10%; height: 120%;
    background:
        radial-gradient(45% 55% at 78% 40%, rgba(255, 122, 26, 0.20), transparent 70%);
    pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 0.3em; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { margin-bottom: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; font-size: 0.9rem; color: var(--text-muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lane-green); }
.hero-device {
    position: relative;
    border-radius: 26px;
    padding: 12px;
    background: linear-gradient(160deg, #2b2b2b, #111);
    border: 1px solid #3a3a3a;
    box-shadow: 0 40px 80px -30px rgba(255, 122, 26, 0.35), 0 30px 60px -20px rgba(0, 0, 0, 0.8);
    transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}
.hero-device img { border-radius: 16px; }
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-device { transform: none; }
}

/* Page header (sub pages) */
.page-hero { position: relative; padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); overflow: hidden; }
.page-hero::before {
    content: ""; position: absolute; inset: -40% -10% auto 40%; height: 160%;
    background: radial-gradient(40% 40% at 60% 40%, rgba(255, 122, 26, 0.16), transparent 70%);
    pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-raised), var(--bg)); border-top: 1px solid rgba(255, 255, 255, 0.04); }
.section-head { margin-bottom: 40px; }

/* ---------- Screenshot carousel ---------- */
.device-tabs {
    display: inline-flex; gap: 4px; padding: 4px;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 99px;
    margin-bottom: 28px;
}
.device-tabs button {
    font: 600 0.95rem var(--font-body);
    color: var(--text-muted); background: none; border: 0; cursor: pointer;
    padding: 9px 22px; border-radius: 99px; display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.15s, color 0.15s;
}
.device-tabs button svg { width: 16px; height: 16px; }
.device-tabs button[aria-selected="true"] { background: var(--accent); color: #160800; }

.carousel { position: relative; }
.carousel-track {
    display: flex; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none;
    padding: 6px 2px 10px;
    overscroll-behavior-x: contain;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; scroll-snap-align: center; margin: 0; }
.slide img {
    border-radius: var(--radius);
    border: 1px solid var(--border-strong);
    background: #000;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9);
}
.slide figcaption { margin-top: 12px; font-size: 0.92rem; color: var(--text-muted); text-align: center; }
.carousel { --slide-w: 280px; }
.carousel[data-device="ipad"] { --slide-w: min(860px, 86vw); }
.carousel[data-device="iphone"] { --slide-w: clamp(200px, 26vw, 280px); }
.carousel .slide { width: var(--slide-w); }
/* Side padding lets the first and last slides snap to the centre */
.carousel-track { padding-left: calc((100% - var(--slide-w)) / 2); padding-right: calc((100% - var(--slide-w)) / 2); }
.carousel[data-device="iphone"] .slide img { border-radius: 26px; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.carousel-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border-strong); color: var(--text);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.carousel-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #160800; }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dots button {
    width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; cursor: pointer;
    background: var(--border-strong); transition: width 0.2s, background 0.2s;
}
.carousel-dots button[aria-current="true"] { width: 28px; background: var(--accent); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }

.card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-strong); }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--text-muted); margin: 0; }
.card .icon {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-strong);
}
.card .icon svg { width: 24px; height: 24px; }
.card[data-lane="red"] .icon { color: var(--lane-red); }
.card[data-lane="yellow"] .icon { color: var(--lane-yellow); }
.card[data-lane="blue"] .icon { color: var(--lane-blue); }
.card[data-lane="green"] .icon { color: var(--lane-green); }
.card[data-lane="orange"] .icon { color: var(--accent); }
.card::after {
    content: ""; position: absolute; left: 26px; right: 26px; top: -1px; height: 2px; border-radius: 2px;
    background: transparent; transition: background 0.2s;
}
.card[data-lane="red"]:hover::after { background: var(--lane-red); }
.card[data-lane="yellow"]:hover::after { background: var(--lane-yellow); }
.card[data-lane="blue"]:hover::after { background: var(--lane-blue); }
.card[data-lane="green"]:hover::after { background: var(--lane-green); }
.card[data-lane="orange"]:hover::after { background: var(--accent); }

a.card { display: block; color: inherit; }
a.card:hover { text-decoration: none; transform: translateY(-2px); }
.card .more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { counter-increment: step; position: relative; padding: 26px 26px 26px 26px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before {
    content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    font: 700 1.2rem var(--font-display);
    background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(255, 122, 26, 0.35);
    margin-bottom: 16px;
}
.step h3 { font-size: 1.3rem; }
.step p { color: var(--text-muted); margin: 0; }

/* CTA band */
.cta-band {
    position: relative; overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 122, 26, 0.3);
    background:
        radial-gradient(60% 120% at 100% 0%, rgba(255, 122, 26, 0.25), transparent 60%),
        var(--bg-card);
    padding: clamp(32px, 5vw, 56px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-band h2 { margin-bottom: 0.2em; }
.cta-band p { color: var(--text-muted); margin: 0; }

/* ---------- Docs layout (guide) ---------- */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 92px; font-size: 0.92rem; max-height: calc(100vh - 110px); overflow-y: auto; }
.toc strong { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; color: var(--text-muted); border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); text-decoration: none; }
.toc a.active { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 960px) {
    .docs { grid-template-columns: 1fr; gap: 24px; }
    .toc { position: static; max-height: none; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
}

.prose { min-width: 0; }
.prose h2 { margin-top: 2.2em; padding-top: 0.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--text-dim); }
.prose p, .prose li { color: #d6d6d6; }
.prose strong { color: var(--text); }

.table-wrap { overflow-x: auto; margin: 0 0 1.6em; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-raised); font-weight: 600; color: var(--text); white-space: nowrap; }
td { color: #d0d0d0; }
tr:last-child td { border-bottom: 0; }

.callout {
    border: 1px solid var(--border); border-left: 3px solid var(--accent);
    background: rgba(255, 122, 26, 0.06);
    border-radius: var(--radius-sm);
    padding: 14px 18px; margin: 0 0 1.5em;
}
.callout p:last-child { margin: 0; }
.callout.tip { border-left-color: var(--lane-green); background: rgba(47, 210, 90, 0.07); }
.callout.warn { border-left-color: var(--lane-yellow); background: rgba(255, 210, 63, 0.07); }
.callout strong:first-child { color: var(--text); }

.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.dot.red { background: var(--lane-red); }
.dot.yellow { background: var(--lane-yellow); }
.dot.blue { background: var(--lane-blue); }
.dot.green { background: var(--lane-green); }
.dot.orange { background: var(--accent); }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 48px; }
.faq-group > h2 { font-size: 1.7rem; margin-bottom: 16px; }
.faq details {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 10px; transition: border-color 0.15s;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
    list-style: none; cursor: pointer;
    padding: 18px 56px 18px 22px; position: relative;
    font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
    border-right: 2px solid var(--text-muted); border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 22px 20px; color: #d0d0d0; }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.faq .answer ul { padding-left: 1.2em; }

.faq-search {
    width: 100%; max-width: 520px;
    font: 1rem var(--font-body); color: var(--text);
    background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 99px;
    padding: 13px 20px 13px 46px; margin-top: 8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3a9b8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: 16px center; background-size: 20px;
}
.faq-search:focus { outline: none; border-color: var(--accent); }
.faq-empty { color: var(--text-muted); display: none; }

/* ---------- Updates timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--accent), var(--border) 40%); }
.release { position: relative; margin-bottom: 44px; }
.release::before {
    content: ""; position: absolute; left: -34px; top: 8px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--bg); border: 3px solid var(--accent);
}
.release time { font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.release h2 { font-size: 1.8rem; margin: 4px 0 14px; }
.release .card { padding: 22px 24px; }
.change-list { list-style: none; margin: 0; padding: 0; }
.change-list li { display: flex; gap: 12px; align-items: baseline; padding: 7px 0; color: #d6d6d6; }
.change-list li + li { border-top: 1px solid rgba(255, 255, 255, 0.04); }
.tag {
    flex-shrink: 0;
    font: 700 0.72rem var(--font-body); letter-spacing: 0.06em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 6px; min-width: 62px; text-align: center;
}
.tag.new { background: rgba(47, 210, 90, 0.14); color: var(--lane-green); }
.tag.improved { background: rgba(255, 122, 26, 0.15); color: var(--accent); }
.tag.fixed { background: rgba(255, 210, 63, 0.13); color: var(--lane-yellow); }

/* Latest-updates teaser on home */
.update-teaser li { display: flex; gap: 12px; align-items: baseline; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); background: #000; padding: 56px 0 32px; margin-top: 40px; font-size: 0.94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-grid h4 { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--text-muted); display: inline-flex; align-items: center; gap: 8px; }
.footer-grid a:hover { color: var(--text); text-decoration: none; }
.footer-grid a svg { width: 17px; height: 17px; color: var(--accent); }
.footer-grid p { color: var(--text-muted); max-width: 300px; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.86rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > :first-child { grid-column: 1 / -1; }
}

/* ---------- Marquee strip ---------- */
.marquee {
    border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    background: #0b0b0b; overflow: hidden; white-space: nowrap;
    padding: 16px 0;
}
.marquee-track { display: inline-flex; gap: 40px; animation: marquee 40s linear infinite; padding-left: 40px; }
.marquee-track span {
    font: 700 1.5rem var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim);
    display: inline-flex; align-items: center; gap: 40px;
}
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Subtle film grain over everything, very low opacity */
body::after {
    content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}
