/* =========================================================================
   rhythmgamers.net shell
   Page frame + the small shared vocabulary every site section may reuse.
   Anything visually specific to one site belongs in sites/<dir>/style.css.
   ========================================================================= */

@font-face {
    font-family: 'Nunito';
    src: url('fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: 200 900;
    /* block, not swap: swap paints the fallback first and then jumps to Nunito,
       which is the flash on the title. The preload in the head makes the wait
       here effectively nothing. */
    font-display: block;
}

:root {
    --bg: #06060b;
    --bg-2: #0b0a13;
    --ink: #f2eefb;
    --dim: rgba(242, 238, 251, .68);
    --mute: rgba(242, 238, 251, .42);
    --line: rgba(242, 238, 251, .12);
    --line-strong: rgba(242, 238, 251, .24);

    --accent: #ff66ab;
    --accent-2: #7d6cff;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-full: 999px;

    --shell: min(1180px, 90vw);
    --pad-y: clamp(5rem, 11vh, 9rem);

    --font: 'Nunito', ui-sans-serif, system-ui, 'Segoe UI', sans-serif;
    --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 2rem;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.1; margin: 0; font-weight: 800; letter-spacing: -.02em; }

::selection { background: var(--accent); color: #0a0710; }

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--ink);
    color: var(--bg);
    padding: .75rem 1.25rem;
    border-radius: 0 0 var(--r-sm) 0;
    font-weight: 700;
}
.skip:focus { left: 0; }

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

/* ------------------------------------------------------- language switcher */

.lang {
    position: fixed;
    top: max(1rem, 2vh);
    right: max(1rem, 2vw);
    z-index: 45;
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: rgba(10, 8, 18, .72);
    backdrop-filter: blur(10px);
}

.lang a {
    padding: .3rem .72rem;
    border-radius: var(--r-full);
    text-decoration: none;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--mute);
    transition: color .18s, background-color .18s;
}

.lang a:hover { color: var(--ink); }

.lang a.is-active {
    color: #08080d;
    background: var(--ink);
}

/* -------------------------------------------------------------- side rail */

.rail {
    position: fixed;
    left: max(1.25rem, 2vw);
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
    mix-blend-mode: difference;
}

.rail ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }

.rail a {
    --accent: var(--ink);
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--mute);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
    padding: .18rem 0;
}

.rail__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: .45;
    flex: none;
    transition: transform .25s cubic-bezier(.3, 1.4, .5, 1), opacity .25s, background-color .25s;
}

.rail__label {
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s, transform .25s;
    white-space: nowrap;
}

/* Labels only appear on hover or keyboard focus. Pinning the active one open
   would overlap the section content on narrower desktops. */
.rail:hover .rail__label,
.rail a:focus-visible .rail__label { opacity: 1; transform: none; }

.rail a:hover { color: var(--ink); }
.rail a:hover .rail__dot { opacity: 1; transform: scale(1.3); }

.rail a.is-active { color: var(--ink); }
.rail a.is-active .rail__dot {
    opacity: 1;
    background: var(--accent);
    transform: scale(1.45);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}

@media (max-width: 1180px) { .rail { display: none; } }

/* ------------------------------------------------------------------- hero */

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 6rem 0 7rem;
    isolation: isolate;
    background: var(--bg);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 22vh;
    background: linear-gradient(to bottom, transparent, var(--bg));
    pointer-events: none;
    z-index: 1;
}

/* falling-notes stage */
.hero__stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 72%, transparent 96%);
}

/* Keeps the title legible over the falling notes without hiding them. */
.hero__scrim {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: min(1000px, 96vw);
    height: min(620px, 80vh);
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(6, 6, 11, .92), rgba(6, 6, 11, .72) 55%, transparent);
    pointer-events: none;
}

.hero__lanes {
    position: absolute;
    inset: 0 auto 0 50%;
    transform: translateX(-50%);
    width: min(680px, 92vw);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    /* Highlighting is driven by shell.js from the pointer position, so the
       lanes never need to receive events and never steal them from the text
       and buttons sitting on top. */
    pointer-events: none;
}

.lane {
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .015), rgba(255, 255, 255, .05));
    border-inline: 1px solid rgba(255, 255, 255, .05);
    overflow: hidden;
    opacity: .34;
    transition: opacity .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.lane.is-lit {
    opacity: 1;
    background: linear-gradient(to bottom, rgba(255, 102, 171, .05), rgba(255, 102, 171, .2));
    box-shadow: inset 0 0 70px rgba(255, 102, 171, .32);
}

.lane.is-lit .note {
    background: #ff66ab;
    box-shadow: 0 0 20px rgba(255, 102, 171, .85);
}

/* lanes 1,3,5 are the "black keys" of a 7K layout */
.lane:nth-child(even) { background: linear-gradient(to bottom, rgba(255, 255, 255, .005), rgba(255, 255, 255, .025)); }

.note {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 16px;
    border-radius: 4px;
    background: #e8e6f0;
    box-shadow: 0 0 12px rgba(255, 255, 255, .3);
    /* shell.js positions every note, so no animation and no layout work here */
    will-change: transform;
}

.lane:nth-child(even) .note { background: #8f8ba0; box-shadow: none; }
.lane:nth-child(4) .note { background: #fff; }

.note--long { border-radius: 6px; opacity: .82; }

.hero__receptors {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6vh;
    width: min(680px, 92vw);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.hero__receptors span {
    height: 5px;
    opacity: .34;
    border-radius: var(--r-full);
    background: rgba(255, 255, 255, .3);
    animation: receptor 5s linear infinite;
    animation-delay: calc(var(--lane) * -.42s);
    transition: opacity .3s ease, box-shadow .3s ease;
}

.hero__receptors span.is-lit {
    opacity: 1;
    box-shadow: 0 0 18px 3px rgba(255, 102, 171, .8);
}

@keyframes receptor {
    0%, 84%, 100% { background: rgba(255, 255, 255, .22); box-shadow: none; }
    88% { background: #fff; box-shadow: 0 0 20px 3px rgba(255, 255, 255, .7); }
}

.hero__glow {
    position: absolute;
    left: 50%;
    bottom: 6vh;
    width: min(720px, 96vw);
    height: 160px;
    transform: translate(-50%, 40%);
    background: radial-gradient(60% 100% at 50% 100%, rgba(255, 255, 255, .16), transparent 70%);
    filter: blur(20px);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: var(--shell);
    text-align: center;
}

.hero__eyebrow {
    margin: 0 0 1.1rem;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--mute);
}

.hero__title {
    font-size: clamp(2.05rem, 1.1rem + 6.6vw, 6.5rem);
    letter-spacing: -.045em;
    margin: 0 0 1.4rem;
    text-wrap: balance;
    text-shadow: 0 4px 40px rgba(6, 6, 11, .9);
}
.hero__title span { color: #ff66ab; }
.hero__title em {
    font-style: normal;
    color: var(--mute);
    font-weight: 300;
}

.hero__lede {
    margin: 0 auto;
    max-width: 58ch;
    color: var(--dim);
    font-size: clamp(1rem, .93rem + .35vw, 1.2rem);
    text-wrap: pretty;
    text-shadow: 0 2px 18px rgba(6, 6, 11, .95);
}

.hero__chips {
    list-style: none;
    margin: 2.4rem 0 1.6rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
}

.hero__chips a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .95rem .48rem .55rem;
    border-radius: var(--r-full);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 700;
    color: var(--dim);
    backdrop-filter: blur(6px);
    transition: border-color .2s, color .2s, transform .2s, background-color .2s;
}
.hero__chips img { border-radius: 50%; flex: none; }
.hero__chips a:hover {
    color: var(--ink);
    border-color: color-mix(in srgb, var(--accent) 65%, transparent);
    background: color-mix(in srgb, var(--accent) 14%, transparent);
    transform: translateY(-2px);
}

.hero__count { margin: 0; color: var(--mute); font-size: .85rem; }
.hero__count strong { color: var(--ink); }

.hero__supporters { margin: .45rem 0 0; font-size: .85rem; }

.hero__supporters a {
    color: var(--mute);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color .18s, border-color .18s;
}

.hero__supporters a:hover {
    color: var(--ink);
    border-bottom-color: #f96854;
}

.hero__supporters strong { color: #f96854; }

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 1.6rem;
    transform: translateX(-50%);
    z-index: 3;
    width: 26px;
    height: 42px;
    border: 2px solid var(--line-strong);
    border-radius: var(--r-full);
    display: grid;
    place-items: start center;
    padding-top: 7px;
}
.hero__scroll span {
    width: 4px;
    height: 8px;
    border-radius: var(--r-full);
    background: var(--ink);
    animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(14px); opacity: 0; }
}

@media (max-width: 720px) {
    .hero__stage { opacity: .2; }
    .hero__scrim { width: 130vw; height: 90vh; }
    /* what the lanes are playing */
.hero__chart {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    z-index: 3;
    margin: 0;
    font-family: var(--mono);
    font-size: .66rem;
    letter-spacing: .04em;
    color: var(--mute);
    white-space: nowrap;
    max-width: 92vw;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.hero__scroll { display: none; }
}

/* --------------------------------------------------------------- sections */

.site {
    position: relative;
    padding: var(--pad-y) 0;
    isolation: isolate;
    overflow: hidden;
    scroll-margin-top: 0;
}

/* every section owns its own background layer, sites paint into this one */
.site::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--bg);
}

.wrap {
    position: relative;
    z-index: 1;
    width: var(--shell);
    margin-inline: auto;
}

/* split layout used by most sections: copy on one side, showcase on the other */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.split--reverse > :first-child { order: 2; }

@media (max-width: 940px) {
    .split { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
    .split--reverse > :first-child { order: 0; }
}

/* Copy on top, the framed site full width underneath, so the embed can run at
   a scale where the real page is still readable. */
.showcase {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

.showcase__caption {
    margin: 1rem .2rem 0;
    font-size: .84rem;
    color: var(--mute);
    max-width: 70ch;
}

/* ---------------------------------------------- shared intro block (.sh) */

.sh__brand { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }

.sh__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--r-md);
    flex: none;
    filter: drop-shadow(0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent));
}

.sh__kicker {
    margin: 0 0 .35rem;
    display: flex;
    align-items: center;
    /* the badge drops to its own line rather than running off a narrow screen */
    flex-wrap: wrap;
    gap: .45rem .6rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mute);
}

.sh__num {
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* whether the site was written with or without AI */
.ai {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    /* left is tighter than right because the spark glyph carries its own
       padding inside the SVG box */
    padding: .16rem .5rem .16rem .34rem;
    border-radius: var(--r-full);
    border: 1px solid var(--line-strong);
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--dim);
    /* the pill hugs the text instead of the inherited 1.6 line box, so the
       glyph and the label sit on the same centre line */
    line-height: 1;
}

.ai svg { flex: none; opacity: .85; }

.ai__label {
    letter-spacing: .08em;
    /* letter-spacing also adds a gap after the last letter, which pushes the
       label off centre inside the pill. Take that last gap back. */
    margin-right: -.08em;
    /* All caps has no descenders, so the ink sits high in its line box. Tuned
       by eye against a real screen: .055em read a pixel high, .30em a pixel low,
       so this is the middle. Automated pixel measuring disagreed with what the
       display actually shows, do not "correct" it from a screenshot. */
    transform: translateY(.17em);
}

.ai--with {
    border-color: color-mix(in srgb, var(--accent) 45%, transparent);
    background: color-mix(in srgb, var(--accent) 12%, transparent);
    color: color-mix(in srgb, var(--accent) 55%, var(--ink));
}

.ai--without {
    border-color: rgba(110, 226, 154, .4);
    background: rgba(110, 226, 154, .1);
    color: #8fe3b2;
}

/* the in-between sits between the two, in colour as much as in meaning */
.ai--assisted {
    border-color: rgba(255, 200, 90, .4);
    background: rgba(255, 200, 90, .1);
    color: #ffce7a;
}

.sh__name {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem);
    margin: 0;
}
.sh__name b { color: var(--accent); font-weight: inherit; }

.sh__host {
    margin: .45rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .55rem;
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--mute);
}

/* separated from the domain by a dot rather than more punctuation in the text */
.sh__released::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
    margin-right: .55rem;
    opacity: .7;
}

.sh__host:first-child .sh__released:first-child::before { display: none; }

.sh__lede {
    margin: 0 0 1.5rem;
    max-width: 54ch;
    color: var(--dim);
    font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
    text-wrap: pretty;
}
.sh__lede strong { color: var(--ink); font-weight: 700; }
.sh__lede em { font-style: normal; color: var(--accent); font-weight: 700; }

/* ------------------------------------------------------------ tags & CTAs */

.tags {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.tag {
    padding: .3rem .75rem;
    border-radius: var(--r-full);
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: color-mix(in srgb, var(--accent) 55%, var(--ink));
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}

.actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .78rem 1.35rem;
    border-radius: var(--r-full);
    text-decoration: none;
    font-weight: 800;
    font-size: .92rem;
    border: 1px solid transparent;
    transition: transform .18s cubic-bezier(.3, 1.3, .5, 1), box-shadow .18s, background-color .18s, border-color .18s, color .18s;
    will-change: transform;
}

.btn__arrow { transition: transform .18s; }
.btn:hover .btn__arrow { transform: translate(2px, -2px); }

.btn--primary {
    background: var(--accent);
    color: #08080d;
    box-shadow: 0 8px 26px -8px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px -10px color-mix(in srgb, var(--accent) 85%, transparent);
}

.btn--ghost {
    border-color: var(--line-strong);
    color: var(--dim);
    background: rgba(255, 255, 255, .03);
}
.btn--ghost:hover {
    color: var(--ink);
    border-color: color-mix(in srgb, var(--accent) 60%, transparent);
    transform: translateY(-2px);
}

/* --------------------------------------------------------- generic panels */

.panel {
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .035);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .9);
}

/* ------------------------------------------------- live page frame (iframe) */

.frame {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #0a0a10;
    overflow: hidden;
    box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .95);
}

.frame__bar {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .85rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
}

.frame__dots { display: flex; gap: .32rem; flex: none; }
.frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }

.frame__url {
    flex: 1;
    min-width: 0;
    font-family: var(--mono);
    font-size: .7rem;
    color: var(--mute);
    padding: .18rem .6rem;
    border-radius: var(--r-full);
    background: rgba(0, 0, 0, .35);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.frame__live {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .62rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}
.frame__live::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: frame-pulse 2s ease-out infinite;
}

@keyframes frame-pulse {
    0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
    70%  { box-shadow: 0 0 0 7px transparent; opacity: .5; }
    100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}

/* The site lays itself out at whatever width the frame happens to be. No
   scaling and no cropping, it is the real page at real size. */
.frame__view {
    position: relative;
    height: var(--fh);
    background: #0a0a10;
}

.frame__view iframe,
.frame__view video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    /* it is a showcase, not a control surface */
    pointer-events: none;
}

/* a recording is shown whole: its own aspect drives the height */
.frame--media .frame__view { height: auto; aspect-ratio: var(--fr); }
.frame__view video { object-fit: contain; background: #0a0a10; }

.frame__open {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    padding: .45rem .85rem;
    border-radius: var(--r-full);
    background: var(--accent);
    color: #08080d;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s, transform .2s;
}
.frame:hover .frame__open,
.frame__open:focus-visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
    .frame__open { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ reveal */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
    transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* -------------------------------------------------------------- patrons */

.patrons {
    position: relative;
    padding: clamp(3.5rem, 7vh, 6rem) 0;
    border-top: 1px solid var(--line);
    background:
        radial-gradient(70% 60% at 50% 0%, rgba(249, 104, 84, .07), transparent 62%),
        var(--bg-2);
}

.patrons__eyebrow {
    margin: 0 0 .5rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #f96854;
}

.patrons__lede {
    margin: 0 0 2rem;
    max-width: 52ch;
    color: var(--dim);
    font-size: .95rem;
}

.patrons__tiers { display: grid; gap: 1.6rem; }

/* donators are a longer, flatter list, so they get less weight than a tier */
.patrons__tier--donators { margin-top: .6rem; padding-top: 1.6rem; }

.patrons__sub {
    margin: -.35rem 0 .8rem;
    max-width: 60ch;
    font-size: .82rem;
    color: var(--mute);
}

.patrons__tier--donators li { padding: .35rem .7rem; }
.patrons__tier--donators .patrons__name { font-weight: 600; font-size: .84rem; color: var(--dim); }

.patrons__tier-name {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .7rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
}

.patrons__tier-name span {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 .35rem;
    border-radius: var(--r-full);
    background: rgba(249, 104, 84, .16);
    color: #ffa494;
    font-size: .68rem;
    letter-spacing: 0;
}

.patrons__tier ul {
    list-style: none;
    margin: 0;
    padding: 0;
    /* chips take the width their name needs and wrap as a group, so no card is
       ever cut short and none of them breaks across two lines */
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.patrons__tier li {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    max-width: 100%;
    padding: .5rem .8rem;
    border-radius: var(--r-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    white-space: nowrap;
}

.patrons__name { font-weight: 700; font-size: .92rem; }

/* A name long enough to beat the screen is the one case where a chip is
   allowed to break, otherwise it would push the page sideways. */
@media (max-width: 620px) {
    .patrons__tier li { white-space: normal; }
    .patrons__name { overflow-wrap: anywhere; }
}

.patrons__since {
    flex: none;
    font-size: .72rem;
    color: var(--mute);
    font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------- footer */

.foot {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 4.5rem 0 2rem;
}

.foot__inner {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
}

.foot__logo {
    margin: 0 0 .8rem;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.03em;
}

/* only the wordmark turns pink, the badge keeps its own colour */
.foot__logo > span:not(.ai) { color: #ff66ab; }

.foot__logo .ai {
    margin-left: .65rem;
    vertical-align: middle;
    letter-spacing: normal;
}

.foot__note { margin: 0; color: var(--mute); max-width: 44ch; font-size: .9rem; }

/* ---- support, parked in the corner so it survives scrolling ---- */

.dock {
    position: fixed;
    left: max(1rem, 2vw);
    bottom: max(1rem, 2vh);
    z-index: 44;
    display: flex;
    gap: .5rem;
}

.support {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .95rem;
    border-radius: var(--r-full);
    border: 1px solid var(--line-strong);
    /* it floats over every section, so it needs its own ground */
    background: rgba(10, 8, 18, .72);
    backdrop-filter: blur(10px);
    text-decoration: none;
    font-size: .84rem;
    font-weight: 800;
    color: var(--dim);
    transition: transform .18s cubic-bezier(.3, 1.3, .5, 1), border-color .18s, background-color .18s, color .18s;
}

.support svg { flex: none; opacity: .9; }

.support:hover {
    transform: translateY(-2px);
    color: var(--ink);
}

/* each keeps its own brand colour on hover, nothing shouty at rest */
.support--patreon:hover { border-color: #f96854; background: rgba(249, 104, 84, .18); }
.support--paypal:hover  { border-color: #009cde; background: rgba(0, 156, 222, .18); }

/* The side rail sits centred on the left, so the dock only has to get out of
   the way when the viewport is too short for both. */
@media (max-height: 560px) {
    .dock { display: none; }
}

@media (max-width: 560px) {
    .dock { gap: .4rem; }
    .support { padding: .45rem .8rem; font-size: .78rem; }
}

.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.foot__cols h3 {
    font-size: .74rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mute);
    margin: 0 0 .9rem;
}
.foot__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot__cols a {
    color: var(--dim);
    text-decoration: none;
    font-size: .88rem;
    transition: color .18s;
}
.foot__cols a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.foot__bottom {
    width: var(--shell);
    margin: 3.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--mute);
    font-size: .8rem;
}

@media (max-width: 780px) {
    .foot__inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}

/* ------------------------------------------------------------ motion opt-out */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }

    .reveal { opacity: 1; transform: none; }

    /* The chart keeps playing: it is the point of the page, and it is the one
       thing here the reader is meant to watch. Everything else stops. */
    .hero__receptors span { animation: none; opacity: .5; }
}
