/* ==========================================================================
   OUTPUT 101 — public stylesheet
   Calm, editorial and monochrome. Light theme by default, dark on request.
   Holographic foil is used sparingly, as a detail: the "101" badge, the
   featured player frame, primary buttons on hover, small markers and the
   big numbers. It reacts to the pointer and to scrolling like real foil.
   Mobile-first: base rules target phones, media queries scale up.
   ========================================================================== */

/* ---------- Theme tokens ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f6f6f4;
    --surface: #f1f1ef;
    --surface-2: #e8e8e5;
    --line: rgba(12, 12, 14, .09);
    --line-strong: rgba(12, 12, 14, .2);
    --fg: #0b0b0c;
    --fg-2: #3c3c40;
    --muted: #737378;
    --dim: #a9a9ad;
    --ink: #0b0b0c;
    --on-ink: #ffffff;
    --header-bg: rgba(255, 255, 255, .84);
    --overlay: #ffffff;
    --glass: rgba(255, 255, 255, .78);
    --glass-fg: #0b0b0c;
    --shadow-sm: 0 1px 2px rgba(12, 12, 20, .05);
    --shadow-lg: 0 40px 80px -40px rgba(30, 30, 60, .35), 0 12px 24px -12px rgba(30, 30, 60, .12);
    --img-filter: grayscale(1) contrast(1.03);
    --glow-opacity: .55;
    --focus: 0 0 0 3px rgba(12, 12, 14, .12);

    /* Holographic foil, in layers: brushed silver, diffraction bands with
       silver gaps, fine grating lines and a glint. The pointer-driven highlight
       is written in each rule, because it depends on the element's --mx/--my. */
    --foil-silver: linear-gradient(120deg, #a9adb5 0%, #eceef1 14%, #9a9ea7 27%, #f7f8f9 41%, #8e929b 55%, #e6e8eb 70%, #a3a7af 84%, #f2f3f5 100%);
    --foil-silver-deep: linear-gradient(120deg, #5d6169 0%, #b9bdc4 14%, #53575f 27%, #d5d8dc 41%, #4c5058 55%, #b5b9c0 70%, #5a5e66 84%, #c9ccd1 100%);
    --foil-spectrum: repeating-linear-gradient(112deg,
        rgba(255, 255, 255, 0) 0%, #ff6fc4 4%, #ffb25c 7%, #f6ff5f 10%, #4dffa6 13%, #4cd2ff 16%,
        #8a73ff 19%, #ff6fc4 22%, rgba(255, 255, 255, 0) 27%, rgba(255, 255, 255, 0) 32%);
    /* Same spectrum with wider silver gaps: big lettering on white stays chrome-like */
    --foil-spectrum-soft: repeating-linear-gradient(112deg,
        rgba(255, 255, 255, 0) 0%, #ff8fd0 5%, #ffc27d 8%, #f4ff86 11%, #79ffbb 14%, #79dcff 17%,
        #a596ff 20%, #ff8fd0 23%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 44%);
    --foil-lines: repeating-linear-gradient(28deg, rgba(255, 255, 255, .16) 0 1px, rgba(0, 0, 0, .04) 1px 2px, transparent 2px 3px);
    --foil-glint: linear-gradient(100deg, transparent 0 40%, rgba(255, 255, 255, .9) 50%, transparent 60% 100%);
    --foil-edge: inset 0 0 0 1px rgba(0, 0, 0, .14);
    --foil-shine: 0 1px 2px rgba(0, 0, 0, .08);

    --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --font-prose: "Newsreader", Georgia, "Times New Roman", serif;

    --gutter: 1.25rem;
    --header-h: 68px;
    --radius: 12px;
    --radius-sm: 8px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #0b0b0c;
    --bg-soft: #101012;
    --surface: #151517;
    --surface-2: #1d1d20;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .18);
    --fg: #f4f4f2;
    --fg-2: #c8c8c5;
    --muted: #8d8d8a;
    --dim: #58585c;
    --ink: #f4f4f2;
    --on-ink: #0b0b0c;
    --header-bg: rgba(11, 11, 12, .8);
    --overlay: #0b0b0c;
    --glass: rgba(11, 11, 12, .55);
    --glass-fg: #ffffff;
    --shadow-sm: none;
    --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .9);
    --img-filter: grayscale(1) contrast(1.05) brightness(.9);
    --glow-opacity: .32;
    --focus: 0 0 0 3px rgba(255, 255, 255, .16);
    --foil-edge: inset 0 0 0 1px rgba(255, 255, 255, .25);
    --foil-shine: 0 0 22px -6px rgba(170, 205, 255, .5), 0 0 50px -18px rgba(255, 160, 225, .4);

    color-scheme: dark;
}

@property --glint {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 130%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--fg);
    font: 400 1rem/1.6 var(--font-sans);
    letter-spacing: -.006em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-sans); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--ink); color: var(--on-ink); }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }

/* Smooth colour change when switching theme (class added briefly by JS) */
html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after {
    transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease) !important;
}

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.sr-only { position: absolute !important; 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: 1rem; top: -100px; z-index: 200; padding: .6rem 1rem; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-ink); font-size: .85rem; }
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--font-mono); }
.muted { color: var(--muted); }
.dot { display: inline-block; width: 3px; height: 3px; margin: 0 .55em; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .5; }

.kicker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6em;
    margin: 0 0 1.1rem;
    font: 500 .7rem/1.4 var(--font-mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.kicker a { transition: color .2s; }
.kicker a:hover { color: var(--fg); }
.kicker--line::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .6; }
.kicker__sep { opacity: .4; }

.ratio-16x9 { aspect-ratio: 16 / 9; }
.ratio-16x10 { aspect-ratio: 16 / 10; }
.ratio-1x1 { aspect-ratio: 1; }
.ratio-4x5 { aspect-ratio: 4 / 5; }

/* ==========================================================================
   Holographic foil
   ========================================================================== */
.foil {
    --mx: 35%;
    --my: 30%;
    background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum), var(--foil-silver);
    background-size: 250% 100%, 100% 100%, 100% 100%, 360% 360%, 220% 220%;
    background-position: var(--glint) 0, center, center, var(--mx) var(--my), calc(100% - var(--mx)) calc(100% - var(--my));
    background-blend-mode: soft-light, soft-light, overlay, hard-light, normal;
    box-shadow: var(--foil-edge), var(--foil-shine);
    animation: foil-glint 8s cubic-bezier(.4, 0, .2, 1) infinite;
    animation-delay: var(--glint-delay, 0s);
}
@keyframes foil-glint {
    0%, 62% { --glint: 130%; }
    100% { --glint: -30%; }
}

/* Foil lettering (big numbers). Deeper silver in light mode for contrast on white. */
.foil--text {
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    box-shadow: none;
    background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum-soft), var(--foil-silver-deep);
}
:root[data-theme="dark"] .foil--text {
    background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum), var(--foil-silver);
    filter: drop-shadow(0 0 22px rgba(170, 205, 255, .22));
}

/* Small foil marker */
.foil--dot { display: inline-block; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; }

/* Foil ring around an element (player, success box) */
.foil-frame { position: relative; isolation: isolate; }
.foil-frame::before,
.frame::before {
    content: "";
    position: absolute;
    inset: -1.5px;
    z-index: 2;
    padding: 1.5px;
    border-radius: inherit;
    pointer-events: none;
    background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-spectrum), var(--foil-silver);
    background-size: 250% 100%, 100% 100%, 360% 360%, 220% 220%;
    background-position: var(--glint) 0, center, var(--mx, 35%) var(--my, 30%), center;
    background-blend-mode: soft-light, soft-light, hard-light, normal;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: foil-glint 8s cubic-bezier(.4, 0, .2, 1) infinite;
}
:root[data-theme="dark"] .foil-frame { box-shadow: 0 0 40px -14px rgba(170, 205, 255, .35), 0 0 80px -30px rgba(255, 160, 225, .3); }

/* Neutral frame that turns to foil on hover (flyers, portraits) */
.frame { position: relative; isolation: isolate; }
.frame::before { opacity: 0; transition: opacity .5s var(--ease); }
.frame:hover::before { opacity: 1; }

/* Text links that catch the light on hover */
.holo-text { transition: color .3s var(--ease); }
.holo-text:hover, a:hover > .holo-text, a:focus-visible > .holo-text {
    --mx: 40%;
    --my: 40%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-spectrum), var(--foil-silver-deep);
    background-size: 100% 100%, 360% 360%, 220% 220%;
    background-position: center, var(--mx) var(--my), center;
    background-blend-mode: soft-light, hard-light, normal;
}
:root[data-theme="dark"] .holo-text:hover,
:root[data-theme="dark"] a:hover > .holo-text { background-image: radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-spectrum), var(--foil-silver); }

/* ---------- Buttons ---------- */
.btn {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 46px;
    padding: .7em 1.35em;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--fg);
    font: 500 .9rem/1 var(--font-sans);
    letter-spacing: -.005em;
    white-space: nowrap;
    isolation: isolate;
    overflow: hidden;
    transition: border-color .25s var(--ease), color .25s var(--ease), background-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--fg); }
.btn:active { transform: scale(.98); }

/* Primary: solid ink that turns into foil on hover */
.btn--ink, .btn--solid { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.btn--ink::before, .btn--solid::before {
    content: "";
    position: absolute;
    inset: -1px;
    z-index: -1;
    background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum), var(--foil-silver);
    background-size: 250% 100%, 100% 100%, 100% 100%, 360% 360%, 220% 220%;
    background-position: -30% 0, center, center, var(--mx) var(--my), calc(100% - var(--mx)) calc(100% - var(--my));
    background-blend-mode: soft-light, soft-light, overlay, hard-light, normal;
    opacity: 0;
    transition: opacity .35s var(--ease);
}
.btn--ink:hover, .btn--solid:hover, .btn--ink:focus-visible { color: #0b0b0c; border-color: transparent; }
.btn--ink:hover::before, .btn--solid:hover::before, .btn--ink:focus-visible::before { opacity: 1; }
:root[data-theme="dark"] .btn--ink:hover { box-shadow: 0 0 26px -8px rgba(170, 205, 255, .55); }

.btn--small { min-height: 36px; padding: .5em 1em; font-size: .82rem; }
.btn--large { min-height: 54px; padding: .9em 1.8em; font-size: .95rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    font-size: .9rem;
    font-weight: 500;
    color: var(--fg-2);
    transition: color .25s, gap .3s var(--ease);
}
.link-arrow.mono { font-family: var(--font-sans); }
.link-arrow:hover { color: var(--fg); gap: .75em; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background-color .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: var(--line);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: .5rem;
    height: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.logo {
    position: relative;
    z-index: 60;
    display: inline-flex;
    align-items: center;
    margin-right: auto;
    padding: .4rem 0;
    font-size: 18px;
}
@media (min-width: 900px) { .logo { font-size: 20px; } }
/* Logo: the wordmark and the 101 box are SVG masks over the text colour, so the logo follows
   the theme. The box catches the light - a glint now and then, the full foil on hover. */
.brand { display: inline-flex; align-items: flex-start; height: 1em; line-height: 1; }
.brand__word, .brand__box {
    display: block;
    flex: 0 0 auto;
    background-color: currentColor;
    -webkit-mask: var(--brand-mask) center / 100% 100% no-repeat;
    mask: var(--brand-mask) center / 100% 100% no-repeat;
}
.brand__word { --brand-mask: url("../img/logo-wordmark.svg"); width: 4.845em; height: 1em; }
.brand__box { --brand-mask: url("../img/logo-101.svg"); position: relative; width: 1.836em; height: .983em; margin: .01em 0 0 .09em; }
.brand__box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--foil-glint) var(--glint) 0 / 250% 100% no-repeat;
    opacity: .55;
    animation: foil-glint 9s cubic-bezier(.4, 0, .2, 1) infinite;
}
.brand__box > .foil { position: absolute; inset: 0; box-shadow: none; opacity: 0; transition: opacity .6s var(--ease); }
/* Deeper silver on white, like the foil lettering, so the box keeps its weight */
.brand__box > .foil { background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum-soft), var(--foil-silver-deep); }
:root[data-theme="dark"] .brand__box > .foil { background-image: var(--foil-glint), radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-lines), var(--foil-spectrum), var(--foil-silver); }
a:hover > .brand .brand__box > .foil, a:focus-visible > .brand .brand__box > .foil, .brand--foil .brand__box > .foil { opacity: 1; }


.theme-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--fg-2);
    transition: background-color .2s, color .2s;
}
.theme-toggle:hover { background: var(--surface); color: var(--fg); }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }

.nav-toggle {
    position: relative;
    z-index: 60;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--fg);
    transition: transform .4s var(--ease), background-color .3s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: full screen menu */
.site-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--overlay);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.nav-open { overflow: hidden; }
/* backdrop-filter would turn the header into the containing block of the fixed overlay */
.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
.nav-open .site-nav { opacity: 1; visibility: visible; }
.site-nav__list { list-style: none; display: grid; gap: .25rem; }
.site-nav__link {
    position: relative;
    display: inline-block;
    font: 500 clamp(2.2rem, 10vw, 3.4rem)/1.15 var(--font-sans);
    letter-spacing: -.04em;
    color: var(--muted);
    transition: color .25s;
}
.site-nav__link:hover, .site-nav__link.is-active { color: var(--fg); }
.site-nav__cta { align-self: flex-start; }

@media (min-width: 960px) {
    .nav-toggle { display: none; }
    .site-header__inner { gap: 1rem; }
    .theme-toggle { order: 3; }
    .site-nav {
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 1.75rem;
        padding: 0;
        background: none;
        opacity: 1;
        visibility: visible;
    }
    .site-nav__list { display: flex; gap: 1.75rem; }
    .site-nav__link { padding: .4rem 0; font-size: .9rem; letter-spacing: -.005em; color: var(--fg-2); }
    .site-nav__link::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 2px;
        border-radius: 2px;
        background-image: var(--foil-spectrum), var(--foil-silver);
        background-size: 360% 100%, 100% 100%;
        background-blend-mode: hard-light, normal;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .45s var(--ease);
    }
    .site-nav__link:hover::after { transform: scaleX(1); opacity: .5; }
    .site-nav__link.is-active::after { transform: scaleX(1); opacity: 1; }
}

.site-main { min-height: 70vh; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92svh, 920px);
    padding: calc(var(--header-h) + 3rem) 0 4rem;
    overflow: hidden;
}
/* Soft refracted light behind the featured set */
.hero__glow {
    position: absolute;
    top: 8%;
    right: -12%;
    width: min(900px, 90vw);
    aspect-ratio: 1;
    pointer-events: none;
    opacity: var(--glow-opacity);
    filter: blur(70px);
    background:
        radial-gradient(closest-side at 35% 40%, rgba(255, 140, 210, .55), transparent),
        radial-gradient(closest-side at 65% 35%, rgba(120, 210, 255, .55), transparent),
        radial-gradient(closest-side at 55% 70%, rgba(150, 255, 200, .45), transparent),
        radial-gradient(closest-side at 30% 70%, rgba(255, 230, 140, .4), transparent);
    animation: glow-drift 24s ease-in-out infinite alternate;
}
@keyframes glow-drift {
    from { transform: translate(0, 0) rotate(0deg) scale(1); }
    to { transform: translate(-6%, 4%) rotate(25deg) scale(1.08); }
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
.hero__title {
    font-size: clamp(3rem, 12vw, 7.5rem);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.055em;
    margin-bottom: 1.25rem;
    overflow-wrap: anywhere;
}
.hero__sub { max-width: 32ch; font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.4; color: var(--fg-2); margin-bottom: .6rem; }
.hero__meta { font-size: .78rem; letter-spacing: .02em; color: var(--muted); margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 1024px) {
    .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4.5rem; }
    .hero__title { font-size: clamp(3.5rem, 7vw, 7.5rem); }
}

/* ---------- Player (lite YouTube) ---------- */
.player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}
.player__poster, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: inherit; overflow: hidden; }
.player__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--img-filter);
    transition: filter .8s var(--ease), transform 1.2s var(--ease);
}
.player:hover .player__poster img, .player__poster:focus-visible img { filter: none; transform: scale(1.02); }
.player__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: -38px 0 0 -38px;
    border-radius: 50%;
    color: var(--glass-fg);
    background: var(--glass);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px -10px rgba(0, 0, 0, .35);
    transition: transform .5s var(--ease-out), color .3s;
}
.player__play svg { margin-left: 4px; }
.player:hover .player__play, .player__poster:focus-visible .player__play { transform: scale(1.08); }
.player__duration {
    position: absolute;
    right: .85rem;
    bottom: .85rem;
    padding: .3rem .55rem;
    border-radius: 6px;
    font-size: .7rem;
    color: #fff;
    background: rgba(0, 0, 0, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

/* ---------- Ticker ---------- */
.ticker {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: ticker 110s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__list li { padding: .9rem 0; font-size: .78rem; white-space: nowrap; color: var(--fg-2); }
.ticker__list li::after { content: "·"; margin: 0 1.6rem; color: var(--dim); }
.ticker__list a:hover { color: var(--fg); }
.ticker__src { color: var(--muted); margin-right: .45rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section--tight { padding: 2.5rem 0 5rem; }
.section--line { border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head__title { display: flex; align-items: baseline; gap: .9rem; font-size: clamp(1.9rem, 5vw, 3rem); font-weight: 500; letter-spacing: -.04em; }
.section-head__index { font-size: .72rem; font-weight: 400; letter-spacing: .04em; color: var(--muted); transform: translateY(-.9em); }
@media (min-width: 960px) {
    .section { padding: 7rem 0; }
    .section--tight { padding: 3rem 0 7rem; }
    .section-head { margin-bottom: 3rem; }
}

/* ---------- Page head ---------- */
.page-head { padding: calc(var(--header-h) + 3.5rem) 0 2.5rem; border-bottom: 1px solid var(--line); }
.page-head__title { font-size: clamp(3.2rem, 13vw, 8.5rem); font-weight: 600; line-height: .9; letter-spacing: -.06em; margin-bottom: 1.4rem; }
.page-head__intro { max-width: 50ch; font-size: 1.1rem; line-height: 1.5; color: var(--fg-2); margin-bottom: 2rem; }
@media (min-width: 960px) {
    .page-head { padding: calc(var(--header-h) + 6rem) 0 3rem; }
    .page-head__intro { font-size: 1.2rem; }
}

/* ---------- Filters / chips / tabs ---------- */
.filters { display: flex; flex-direction: column; gap: 1rem; }
.chips { display: flex; gap: .45rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip, .tabs__tab {
    flex: 0 0 auto;
    padding: .5rem .95rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 500;
    color: var(--fg-2);
    transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover, .tabs__tab:hover { color: var(--fg); border-color: var(--fg); }
.chip.is-active, .tabs__tab.is-active { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.tabs { display: flex; gap: .45rem; font-family: var(--font-sans); }

.search-field input {
    width: 100%;
    min-height: 44px;
    padding: .6rem 1rem .6rem 2.6rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='1.5'%3E%3Ccircle cx='7' cy='7' r='5.5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") no-repeat 1rem center;
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}
.search-field input::placeholder { color: var(--dim); }
.search-field input:focus { outline: none; border-color: var(--fg); box-shadow: var(--focus); }

.alphabet { display: flex; flex-wrap: wrap; gap: .1rem; font-size: .78rem; }
.alphabet a { min-width: 28px; padding: .35rem .4rem; text-align: center; color: var(--muted); border-radius: 6px; transition: color .2s, background-color .2s; }
.alphabet a:hover { color: var(--fg); background: var(--surface); }
.alphabet a.is-active { color: var(--on-ink); background: var(--ink); }

@media (min-width: 768px) {
    .filters { flex-direction: row; align-items: center; justify-content: space-between; }
    .search-field { flex: 0 0 300px; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 2.5rem 1.5rem; }
.grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 640px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- Cards ---------- */
.card { position: relative; }
.card__link { display: block; height: 100%; }
.card__media {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--surface);
    isolation: isolate;
}
.card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: var(--img-filter);
    transition: filter .7s var(--ease), transform 1s var(--ease);
}
/* A foil edge catches the light on hover */
.card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1.5px;
    border-radius: inherit;
    pointer-events: none;
    background-image: radial-gradient(farthest-corner circle at var(--mx, 35%) var(--my, 30%), rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .35) 16%, rgba(255, 255, 255, 0) 50%), var(--foil-spectrum), var(--foil-silver);
    background-size: 100% 100%, 360% 360%, 220% 220%;
    background-position: center, var(--mx, 35%) var(--my, 30%), center;
    background-blend-mode: soft-light, hard-light, normal;
    -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 .45s var(--ease);
}
.card:hover .card__media img, .card__link:focus-visible .card__media img { filter: none; transform: scale(1.035); }
.card:hover .card__media::after, .card__link:focus-visible .card__media::after { opacity: 1; }
.card__link:focus-visible { outline: none; }
.card__link:focus-visible .card__media { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--fg); }

.card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 600 clamp(2.8rem, 9vw, 5rem)/1 var(--font-sans);
    letter-spacing: -.06em;
    color: var(--dim);
    background: var(--surface);
}
.card__placeholder--date { font-size: clamp(2.4rem, 7vw, 4rem); }

.card__play {
    position: absolute;
    left: .85rem;
    bottom: .85rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--glass-fg);
    background: var(--glass);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: transform .4s var(--ease-out);
}
.card__play svg { margin-left: 2px; }
.card:hover .card__play { transform: scale(1.08); }
.card__badge {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    z-index: 1;
    padding: .25rem .5rem;
    border-radius: 6px;
    font-size: .68rem;
    color: #fff;
    background: rgba(0, 0, 0, .62);
}

.card__body { padding-top: 1.1rem; }
.card__body .kicker { margin-bottom: .5rem; font-size: .66rem; }
.card__title { font-size: 1.22rem; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; margin-bottom: .5rem; }
.card__text { color: var(--fg-2); font-size: .95rem; line-height: 1.55; margin-bottom: .7rem; }
.card__meta { font-size: .74rem; color: var(--muted); margin-bottom: .2rem; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: var(--line-strong); }

.artist-card .card__title { font-size: 1.05rem; }

.lead-article { margin-bottom: 3.5rem; }
@media (min-width: 900px) {
    .article-card--large .card__link { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
    .article-card--large .card__body { padding: 0; }
    .article-card--large .card__title { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -.04em; line-height: 1.05; }
    .article-card--large .card__text { font-size: 1.1rem; }
}

/* ---------- Events ---------- */
.event-list { border-top: 1px solid var(--line); }
.event-row { position: relative; border-bottom: 1px solid var(--line); }
.event-row__link { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; padding: 1.6rem 0; }
.event-row__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background-image: var(--foil-spectrum), var(--foil-silver);
    background-size: 360% 100%, 100% 100%;
    background-blend-mode: hard-light, normal;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .7s var(--ease);
}
.event-row__link:hover::after { transform: scaleX(1); }
.event-row__date { display: flex; flex-direction: column; }
.event-row__day { font: 500 2.6rem/.9 var(--font-sans); letter-spacing: -.05em; }
.event-row__month { margin-top: .45rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.event-row__main .kicker { margin-bottom: .45rem; }
.event-row__title { font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: -.035em; margin-bottom: .35rem; transition: transform .5s var(--ease); }
.event-row__venue { color: var(--fg-2); margin-bottom: .35rem; }
.event-row__lineup { font-size: .76rem; color: var(--muted); margin: 0; }
.event-row__cta { grid-column: 2; font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--fg-2); }
.event-row__link:hover .event-row__title { transform: translateX(4px); }
.event-row.is-cancelled .event-row__title { text-decoration: line-through; color: var(--muted); }
@media (min-width: 860px) {
    .event-row__link { grid-template-columns: 120px 1fr auto; gap: 2rem; align-items: center; padding: 2rem 0; }
    .event-row__day { font-size: 3.6rem; }
    .event-row__cta { grid-column: auto; padding: .6rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; transition: color .25s, background-color .25s, border-color .25s; }
    .event-row__link:hover .event-row__cta { color: var(--on-ink); background: var(--ink); border-color: var(--ink); }
}

.tag {
    display: inline-block;
    padding: .18rem .55rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font: 500 .62rem/1.3 var(--font-mono);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--fg-2);
}
.tag--alert { border-color: var(--fg); color: var(--fg); }

/* Event page */
.event-page { padding: calc(var(--header-h) + 2rem) 0 4rem; }
.event-page__grid { display: grid; gap: 2.5rem; }
.flyer { margin: 0; border-radius: var(--radius); background: var(--surface); }
.flyer img { width: 100%; border-radius: inherit; }
.flyer--empty {
    aspect-ratio: 4 / 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    font: 600 clamp(5rem, 22vw, 10rem)/1 var(--font-sans);
    letter-spacing: -.07em;
    color: var(--dim);
}
.flyer--empty .mono { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.event-page__title { font-size: clamp(2.4rem, 7vw, 4.8rem); font-weight: 600; letter-spacing: -.05em; line-height: .95; margin-bottom: 2rem; }
.event-page__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 2.75rem; }
@media (min-width: 960px) {
    .event-page { padding-top: calc(var(--header-h) + 4rem); }
    .event-page__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 5rem; align-items: start; }
    .event-page__flyer { position: sticky; top: calc(var(--header-h) + 2rem); }
}

.facts { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin: 0 0 2rem; font-size: .9rem; }
.facts.mono { font-family: var(--font-sans); }
.facts dt { font: 500 .64rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.facts dd { margin: 0; color: var(--fg); }
.facts dd a { border-bottom: 1px solid var(--line-strong); }
.facts dd a:hover { border-color: var(--fg); }
.facts--stack { grid-template-columns: 1fr; border-top: 1px solid var(--line); gap: 0; }
.facts--stack > div { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.facts--stack dt { margin: .15rem 0 0; }

.lineup { margin-bottom: 2.5rem; }
.aside-title { font: 500 .68rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.lineup__list { list-style: none; border-top: 1px solid var(--line); }
.lineup__item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.lineup__name { font: 500 clamp(1.3rem, 3.6vw, 1.8rem)/1.15 var(--font-sans); letter-spacing: -.035em; }
.lineup__time { font-size: .76rem; color: var(--muted); }

/* ---------- Wire ---------- */
.wire-list { border-top: 1px solid var(--line); }
.wire-item { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.wire-item__meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; font-size: .7rem; color: var(--muted); margin-bottom: .65rem; }
.wire-item__meta .dot { margin: 0; }
.wire-item__title { font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: .55rem; }
.wire-item__title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size .4s var(--ease); }
.wire-item__title a:hover { background-size: 100% 1px; }
.wire-item__title .arrow { display: inline-block; font-size: .7em; color: var(--muted); transition: transform .3s var(--ease); }
.wire-item__title a:hover .arrow { transform: translate(2px, -2px); }
.wire-item__summary { color: var(--fg-2); margin-bottom: .6rem; max-width: 70ch; }
.wire-item__tags { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .72rem; color: var(--muted); margin: 0; }
.wire-item--compact { padding: 1rem 0; }
.wire-item--compact .wire-item__title { font-size: 1.05rem; margin: 0; }

.wire-status { display: inline-flex; align-items: center; gap: .6rem; font-size: .72rem; color: var(--muted); margin: 0; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--fg); opacity: 0; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .7; } 100% { transform: scale(1.8); opacity: 0; } }
.disclaimer { margin-top: 2.5rem; font-size: .72rem; line-height: 1.7; color: var(--muted); }

.wire-teaser { display: grid; gap: 2rem; }
.wire-teaser__intro .section-head { margin-bottom: 1.2rem; }
.wire-teaser__intro .muted { max-width: 42ch; margin-bottom: 1.6rem; }
.wire-teaser__list { border-top: 1px solid var(--line); }
@media (min-width: 960px) {
    .wire-teaser { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
    .wire-teaser__intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- Set page ---------- */
.set-page { padding-top: calc(var(--header-h) + 1.5rem); }
.set-page__player { margin-bottom: 3rem; }
.set-page__body { display: grid; gap: 3rem; padding-bottom: 3rem; }
.set-page__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; letter-spacing: -.045em; margin-bottom: 2rem; }
.set-page__description { color: var(--fg-2); max-width: 70ch; margin-bottom: 2rem; overflow-wrap: anywhere; }
@media (min-width: 1024px) {
    .set-page { padding-top: calc(var(--header-h) + 2.5rem); }
    .set-page__body { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 5rem; }
}
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.set-page__watch { margin: 0 0 1.2rem; }

/* ---------- New music ---------- */
.track-page { padding: calc(var(--header-h) + 2rem) 0 3rem; }
.track-page__grid { display: grid; gap: 2.5rem; }
.track-page__cover { margin: 0 0 1.2rem; border-radius: var(--radius); background: var(--surface); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.track-page__cover img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.track-page__cover .card__placeholder { position: static; font-size: clamp(5rem, 20vw, 9rem); }
.track-page__title { font-size: clamp(2.2rem, 6vw, 4.2rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; margin-bottom: .6rem; overflow-wrap: anywhere; }
.track-page__artist { font: 500 clamp(1.2rem, 2.6vw, 1.6rem)/1.3 var(--font-sans); letter-spacing: -.02em; margin-bottom: 2rem; }
.track-page__text { color: var(--fg-2); max-width: 60ch; margin: 1.5rem 0; }
.track-page .reactions, .track-page .share { margin-top: 1.2rem; }
@media (min-width: 960px) {
    .track-page { padding-top: calc(var(--header-h) + 3.5rem); }
    .track-page__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4.5rem; align-items: start; }
    .track-page__media { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.music-player { border-radius: var(--radius); }
.music-player iframe { display: block; width: 100%; border: 0; border-radius: var(--radius-sm); }
.music-player--video { aspect-ratio: 16 / 9; }
.music-player--video.is-playing iframe { height: 100%; }
.music-player--video:not(.is-playing) { aspect-ratio: auto; }
.music-player__start {
    display: flex;
    align-items: center;
    gap: .8rem;
    width: 100%;
    padding: .9rem 1.1rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--fg);
    font: 500 .95rem var(--font-sans);
    cursor: pointer;
    transition: border-color .2s;
}
.music-player__start:hover { border-color: var(--fg); }
.music-player__start:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.music-player__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fg); color: var(--bg); }
.music-player__note { margin: .6rem 0 0; font-size: .68rem; color: var(--muted); }

/* Reactions: outlined pills; the one you gave turns to foil */
.reactions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.set-page .reactions { margin-top: 1.2rem; }
.reaction {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    height: 38px;
    min-width: 38px;
    padding: 0 .8rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background-color: transparent; /* not the shorthand: the foil layers must survive */
    color: var(--fg);
    font: 500 .78rem var(--font-mono);
    cursor: pointer;
    transition: border-color .2s, background-color .2s;
}
.reaction svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.reaction:hover { border-color: var(--fg); }
.reaction:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.reaction[disabled] { cursor: progress; }
.reaction.is-active { border-color: transparent; color: #0b0b0c; }
.reaction__count:empty { display: none; }
.reaction.is-popping svg { animation: reaction-pop .4s var(--ease); }
@keyframes reaction-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.event-page .share, .set-page .share { margin-top: 1.2rem; }

/* ---------- Artist page ---------- */
.artist-page { padding: calc(var(--header-h) + 2rem) 0 3rem; }
.artist-page__grid { display: grid; gap: 2.5rem; }
.portrait { margin: 0; border-radius: var(--radius); background: var(--surface); }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: inherit; filter: var(--img-filter); transition: filter .8s var(--ease); }
.portrait:hover img { filter: none; }
.portrait--empty { aspect-ratio: 1; display: grid; place-items: center; font: 600 clamp(5rem, 25vw, 11rem)/1 var(--font-sans); letter-spacing: -.07em; color: var(--dim); }
.artist-page__name { font-size: clamp(3rem, 10vw, 7rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.artist-page__lead { font-size: 1.3rem; line-height: 1.45; color: var(--fg); max-width: 40ch; }
.link-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin-top: 2rem; }
@media (min-width: 960px) {
    .artist-page { padding-top: calc(var(--header-h) + 4rem); }
    .artist-page__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; }
    .artist-page__photo { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Article ---------- */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 70;
    height: 2px;
    width: 100%;
    transform-origin: left;
    transform: scaleX(var(--progress, 0));
    background-image: var(--foil-spectrum), var(--foil-silver);
    background-size: 200% 100%, 100% 100%;
    background-blend-mode: hard-light, normal;
}
.article { padding: calc(var(--header-h) + 2.5rem) 0 2rem; }
.article__head, .article__body { max-width: 1100px; }
.article__head { margin-bottom: 2.75rem; }
.article__body .prose, .article__foot { max-width: 720px; }
.article__title { font-size: clamp(2.4rem, 6.5vw, 5.2rem); font-weight: 600; line-height: .98; letter-spacing: -.05em; margin-bottom: 1.5rem; }
.article__standfirst { font: 400 clamp(1.25rem, 2.6vw, 1.6rem)/1.45 var(--font-prose); color: var(--fg-2); max-width: 46ch; margin-bottom: 1.8rem; }
.article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem; font-size: .76rem; color: var(--muted); }
.article__cover { margin: 0 auto 3rem; }
.article__cover img { width: 100%; max-height: 80vh; object-fit: cover; border-radius: var(--radius); }
.article__cover figcaption { margin-top: .8rem; font-size: .74rem; color: var(--muted); }
.article__foot { padding-top: 3rem; display: grid; gap: 2rem; margin: 0; }
.artist-link { display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.artist-link .mono { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.artist-link__name { font: 600 clamp(1.8rem, 5vw, 2.4rem)/1 var(--font-sans); letter-spacing: -.045em; }
.author-box { padding: 1.4rem; border-radius: var(--radius); background: var(--bg-soft); }
.author-box .mono { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .6rem; }
.author-box p:last-child { margin: 0; color: var(--fg-2); }
/* Wire stories: shorter headline scale, and the credit to the original reporting */
.article--story .article__title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; max-width: 22ch; }
.article--story .prose > p:first-child { font-size: inherit; line-height: inherit; }
.source-note { position: relative; padding: .2rem 0 .2rem 1.4rem; }
.source-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: .3rem;
    bottom: .3rem;
    width: 2px;
    border-radius: 2px;
    background-image: var(--foil-spectrum), var(--foil-silver);
    background-size: 100% 400%, 100% 100%;
    background-blend-mode: hard-light, normal;
}
.source-note__label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.source-note__credit { margin-bottom: .6rem; }
.source-note__credit a, .source-note__ai a { white-space: nowrap; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.source-note__credit a:hover, .source-note__ai a:hover { text-decoration-color: currentColor; }
.source-note__ai { margin: 0; font-size: .85rem; color: var(--muted); max-width: 60ch; }
.story-related { max-width: 720px; }
.notice { padding: .9rem 1.1rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); font-size: .8rem; color: var(--fg-2); margin-bottom: 2rem; }

/* Prose — tuned for long-form reading */
.prose { font: 400 1.15rem/1.7 var(--font-prose); color: var(--fg); overflow-wrap: break-word; }
:root[data-theme="dark"] .prose { color: #e6e6e3; }
.prose > * { margin-top: 0; margin-bottom: 0; }
.prose > * + * { margin-top: 1.3em; }
.prose .lead, .prose > p:first-child { font-size: 1.28em; line-height: 1.55; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-sans); color: var(--fg); letter-spacing: -.03em; line-height: 1.15; margin-top: 2.2em; }
.prose h2 { font-size: 1.8rem; font-weight: 500; }
.prose h3 { font-size: 1.4rem; font-weight: 500; }
.prose h4 { font-size: 1.1rem; font-weight: 600; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .75em; }
.prose a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: text-decoration-color .25s; }
.prose a:hover { text-decoration-color: var(--fg); }
.prose strong, .prose b { font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose blockquote {
    position: relative;
    margin: 2.2em 0;
    padding: .1em 0 .1em 1.4em;
    font: 500 clamp(1.35rem, 3.2vw, 1.8rem)/1.35 var(--font-sans);
    letter-spacing: -.03em;
    color: var(--fg);
}
/* The quote rule is a strip of foil */
.prose blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2em;
    bottom: .2em;
    width: 2px;
    border-radius: 2px;
    background-image: var(--foil-spectrum), var(--foil-silver);
    background-size: 100% 400%, 100% 100%;
    background-blend-mode: hard-light, normal;
}
.prose blockquote p { margin: 0; }
.prose blockquote cite, .prose blockquote footer { display: block; margin-top: .8em; font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-style: normal; }
.prose img { margin: 2em auto; border-radius: var(--radius-sm); }
.prose figure { margin: 2em 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { margin-top: .7em; font: 400 .76rem/1.5 var(--font-sans); color: var(--muted); text-align: center; }
.prose hr { border: 0; height: 1px; margin: 3em 0; background: var(--line-strong); }
.prose code { padding: .12em .35em; border-radius: 4px; font: .85em var(--font-mono); background: var(--surface); }
.prose pre { padding: 1.2em; overflow-x: auto; border-radius: var(--radius-sm); font: .85rem/1.6 var(--font-mono); background: var(--surface); }
.prose pre code { padding: 0; background: none; }
.prose table { width: 100%; border-collapse: collapse; font: .92rem var(--font-sans); display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7em .9em; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font: 500 .68rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prose mark { background: var(--ink); color: var(--on-ink); padding: 0 .2em; }
.prose--compact { font-size: 1.05rem; }
.prose--compact > p:first-child { font-size: 1em; line-height: 1.7; }

.embed { position: relative; margin: 2.2em 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.embed--video { aspect-ratio: 16 / 9; }
.embed--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--audio iframe { width: 100%; min-height: 166px; border: 0; }

@media (min-width: 768px) {
    .prose { font-size: 1.22rem; }
    .article { padding-top: calc(var(--header-h) + 4.5rem); }
}

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__label { display: block; margin-bottom: .45rem; font-size: .85rem; font-weight: 500; color: var(--fg-2); }
.field__input {
    width: 100%;
    min-height: 50px;
    padding: .75rem 1rem;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--bg);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s;
}
textarea.field__input { resize: vertical; min-height: 140px; line-height: 1.5; }
.field__input::placeholder { color: var(--dim); }
.field__input:focus { outline: none; border-color: var(--fg); box-shadow: var(--focus); }
.field__help { margin: .4rem 0 0; font-size: .82rem; color: var(--muted); }
.field__error { margin: .45rem 0 0; font-size: .82rem; color: #c2410c; }
:root[data-theme="dark"] .field__error { color: #fdba74; }
.has-error .field__input { border-color: #c2410c; }
:root[data-theme="dark"] .has-error .field__input { border-color: #fdba74; }
.checkbox { display: flex; gap: .8rem; align-items: flex-start; font-size: .92rem; color: var(--fg-2); cursor: pointer; }
.checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ink); }
.alert { padding: .9rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 10px; font-size: .9rem; }
.alert--error { border-color: #c2410c; }

.submit-grid { display: grid; gap: 3rem; }
.submit-info { color: var(--fg-2); }
.submit-info .aside-title { margin-top: 2rem; }
.submit-info .aside-title:first-child { margin-top: 0; }
.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list li { position: relative; padding-left: 1.6rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--muted); }
.success-box { padding: 2.5rem 2rem; border-radius: var(--radius); background: var(--bg-soft); }
.success-box h2 { font-size: 2rem; letter-spacing: -.04em; margin-bottom: 1rem; }
.success-box .muted { margin-bottom: 1.8rem; }
@media (min-width: 960px) {
    .submit-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 5rem; }
    .submit-info { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 3rem; }
.about-stats { display: grid; gap: 1rem; align-content: start; }
.stat { display: flex; align-items: baseline; justify-content: space-between; padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.stat__value { font: 600 clamp(3rem, 8vw, 4.6rem)/1 var(--font-sans); letter-spacing: -.06em; }
.stat__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 960px) { .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 6rem; } }

/* ---------- CTA ---------- */
.section--cta { border-top: 1px solid var(--line); background: var(--bg-soft); }
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta .kicker { justify-content: center; }
.cta__title { max-width: 18ch; font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -.055em; line-height: .98; margin-bottom: 1.5rem; }
.cta__text { max-width: 48ch; color: var(--fg-2); font-size: 1.1rem; margin-bottom: 2.2rem; }

/* ---------- Empty state ---------- */
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 4rem 1rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty-state p { margin: 0; max-width: 46ch; font-size: .9rem; font-family: var(--font-sans); }
.empty-state__signal { width: 36px; height: 2px; border-radius: 2px; background-image: var(--foil-spectrum), var(--foil-silver); background-size: 300% 100%, 100% 100%; background-blend-mode: hard-light, normal; }

/* ---------- Pagination ---------- */
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 3.5rem; font-family: var(--font-sans); font-size: .88rem; }
.pagination__pages { display: flex; gap: .3rem; list-style: none; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s; }
.pagination a:hover { border-color: var(--fg); }
.pagination .is-current { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

/* ---------- Error page ---------- */
.error-page { display: flex; align-items: center; min-height: 86svh; padding: calc(var(--header-h) + 2rem) 0 4rem; }
.error-page__code { display: inline-block; font-size: clamp(7rem, 28vw, 15rem); font-weight: 700; letter-spacing: -.07em; line-height: .85; margin-bottom: 1.5rem; }
.error-page__message { font-size: 1.25rem; line-height: 1.45; color: var(--fg-2); margin-bottom: .75rem; max-width: 40ch; }
.error-page__ref { font-size: .76rem; color: var(--muted); margin-bottom: 2rem; }
.error-page__message + .btn { margin-top: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { padding: 4.5rem 0 2rem; border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-mark { display: block; container-type: inline-size; margin-bottom: 3rem; }
.footer-mark .brand { font-size: calc(100cqw / 6.78); }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; padding-bottom: 3rem; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.footer-tagline { font: 500 1.3rem/1.3 var(--font-sans); letter-spacing: -.03em; max-width: 24ch; }
.footer-title { font: 500 .68rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-links { list-style: none; display: grid; gap: .5rem; font-size: .95rem; }
.footer-links a { color: var(--fg-2); transition: color .2s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--fg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.footer-bottom .mono { font-family: var(--font-sans); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-legal a { color: var(--fg-2); transition: color .2s; }
.footer-legal a:hover { color: var(--fg); }

/* Shown to logged-in editors on a section that is switched off */
.editor-notice {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 80;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 2rem);
    margin: 0;
    padding: .55rem 1rem;
    border-radius: 999px;
    background: var(--fg);
    color: var(--bg);
    font-size: .72rem;
    text-align: center;
}
@media (min-width: 900px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
}

/* ---------- Reveal on scroll ---------- */
/* JS only hides elements that start below the fold, so nothing flashes. */
[data-reveal] { transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(18px); }

/* ---------- Page transitions (supporting browsers) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .2s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .35s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ---------- Accessibility: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .ticker__track, .hero__glow { animation: none; }
    [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
