/* Events Near Me: Live. The visual system and its reasons are in DESIGN.md. */

/* ---- Tokens: dark (the night out) by default, warm paper in light mode ---- */
:root {
  color-scheme: dark light;
  --bg: #0e0d12; --bg2: #17151d; --bg3: #211e29; --line: #2e2a37;
  --ink: #f5f2ec; --mute: #aaa5b3; --dim: #7a7484;
  --hot: #ff5a3c; --on-hot: #1a0904; --lilac: #b9a7ff; --pink: #f6a8d6;
  --tape: #f5f2ec; --on-tape: #0e0d12;
  --stage: #0b0a0f; --on-stage: #f5f2ec;
  --shadow: 0 1px 0 rgba(255,255,255,.04), 0 18px 40px -24px rgba(0,0,0,.8);
  --r: 18px; --r-sm: 12px;
  --wrap: 76rem;
  --wide: 118%; --narrow: 68%;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f4f1ea; --bg2: #ffffff; --bg3: #ebe6dc; --line: #dcd6ca;
    --ink: #15121b; --mute: #5b5664; --dim: #857f8e;
    --hot: #cc3a17; --on-hot: #ffffff; --lilac: #5a3fd4; --pink: #b8327a;
    --tape: #15121b; --on-tape: #f4f1ea;
    --shadow: 0 1px 0 rgba(0,0,0,.03), 0 18px 40px -26px rgba(40,20,10,.35);
  }
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.05; margin: 0; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--hot); color: var(--on-hot); padding: .6rem 1rem; z-index: 99; border-radius: 0 0 10px 0; font-weight: 700; }
.skip:focus { left: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Poster labels (Crowdio): condensed caps */
.label { font-stretch: var(--narrow); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
/* Lowercase display (Partiful): wide and heavy */
.big { font-stretch: var(--wide); font-weight: 850; text-transform: lowercase; letter-spacing: -.035em; line-height: .92; }
/* The tape box: a strip of white tape stuck slightly crooked over a word */
.tape { display: inline-block; background: var(--tape); color: var(--on-tape); padding: .02em .18em .1em; transform: rotate(-1.6deg); box-shadow: 0 6px 18px -8px rgba(0,0,0,.55); }
.stage .tape { background: #f5f2ec; color: #0e0d12; }

/* ---- Buttons and pills ---- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; background: var(--hot); color: var(--on-hot); font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.stage .btn.ghost { color: var(--on-stage); }
.pill { display: inline-flex; align-items: center; gap: .4em; font-size: .8rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; background: var(--bg3); color: var(--ink); line-height: 1.3; }
.pill.hot { background: var(--hot); color: var(--on-hot); }
.pill.lilac { background: color-mix(in srgb, var(--lilac) 22%, transparent); color: var(--lilac); }
.live-dot { width: .5em; height: .5em; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70% { box-shadow: 0 0 0 .5em transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .live-dot { animation: none; } }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.logo svg { width: 2.1rem; height: 2.1rem; }
.logo b { font-stretch: var(--wide); font-weight: 850; letter-spacing: -.04em; text-transform: lowercase; font-size: 1.2rem; line-height: 1; }
.logo .pill { font-size: .62rem; padding: .25em .6em; letter-spacing: .06em; text-transform: uppercase; }
.picker { display: flex; align-items: center; gap: .4rem; margin-left: auto; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .3rem .3rem .9rem; box-shadow: var(--shadow); min-width: 0; }
.picker .ico { color: var(--hot); }
.picker select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--ink); font: inherit; font-weight: 600; padding: .35rem 1.4rem .35rem .2rem; min-width: 0; width: 12rem; max-width: 100%; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: right .55rem center, right .25rem center; background-size: .3rem .3rem; background-repeat: no-repeat; }
.picker select option { color: #15121b; background: #fff; }
.picker button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--hot); color: var(--on-hot); cursor: pointer; flex: none; }
.nav nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; }
.nav nav a { text-decoration: none; color: var(--mute); }
.nav nav a:hover { color: var(--ink); }
.nav .cta { padding: .6em 1.1em; font-size: .92rem; }
@media (max-width: 64rem) { .nav nav { display: none; } }
@media (max-width: 40rem) {
  .nav .wrap { flex-wrap: wrap; gap: .6rem; padding-block: .6rem; min-height: 0; }
  .nav .cta { display: none; }
  .picker { order: 3; width: 100%; margin-left: 0; }
  .picker select { width: 100%; flex: 1; }
}

/* ---- Stage: the dark, lit hero block (dark in both modes) ---- */
.stage { position: relative; isolation: isolate; overflow: hidden; background: var(--stage); color: var(--on-stage); border-radius: 28px; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    radial-gradient(60% 90% at 18% -10%, rgba(185,167,255,.38), transparent 60%),
    radial-gradient(55% 80% at 82% -15%, rgba(255,90,60,.36), transparent 62%),
    radial-gradient(70% 60% at 50% 120%, rgba(246,168,214,.18), transparent 70%); }
.stage::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background:
    conic-gradient(from 200deg at 20% -5%, transparent 0 8deg, rgba(255,255,255,.07) 9deg 12deg, transparent 13deg 22deg, rgba(255,255,255,.05) 23deg 25deg, transparent 26deg),
    conic-gradient(from 132deg at 80% -5%, transparent 0 10deg, rgba(255,255,255,.06) 11deg 14deg, transparent 15deg 24deg, rgba(255,255,255,.05) 25deg 27deg, transparent 28deg); }
.hero { padding-top: 1.25rem; }
.hero .stage { padding: clamp(1.4rem, 4vw, 3rem); display: grid; gap: clamp(1.5rem, 4vw, 2.6rem); }
.hero .where { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: clamp(.95rem, 1.6vw, 1.3rem); }
.hero .where span { display: block; color: rgba(245,242,236,.6); font-size: .78em; }
.hero h1 { font-size: clamp(3.4rem, 12.5vw, 10.5rem); }
.hero h1 .tape { margin-top: .08em; }
.hero h1 .swap { display: inline-block; transition: opacity .25s ease, transform .25s ease; }
.hero h1 .swap.out { opacity: 0; transform: translateY(.12em); }
.hero .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.hero .lede { max-width: 38rem; font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: rgba(245,242,236,.82); }
.hero .lede b { color: #fff; }
.hero .acts { display: flex; gap: .7rem; flex-wrap: wrap; }
.grad { white-space: nowrap; background: linear-gradient(90deg, #8f7cff, #f6a8d6); color: #120f18; padding: 0 .2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---- Sections ---- */
.section { padding-block: clamp(2.8rem, 6vw, 4.8rem); }
.section.tight { padding-block: clamp(1.8rem, 4vw, 2.8rem); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.head h2 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
.head .sub { color: var(--mute); max-width: 34rem; margin-top: .55rem; }
.head .eyebrow { color: var(--hot); font-size: .95rem; margin-bottom: .5rem; display: flex; align-items: center; gap: .45rem; }
.arrows { display: flex; gap: .55rem; }
.arrows button { width: 3rem; height: 3rem; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .15s, background .15s; }
.arrows button:hover { border-color: var(--ink); }
.arrows button:disabled { opacity: .35; cursor: default; }
.seeall { font-weight: 700; color: var(--hot); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.seeall:hover { text-decoration: underline; }

/* ---- Category circles (Eventbrite) ---- */
.kinds { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.kinds button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; justify-items: center; gap: .7rem; width: 100%; text-align: center; font-weight: 650; font-size: .95rem; color: var(--ink); }
.kinds .circ { width: min(100%, 7.4rem); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: var(--bg2); transition: transform .18s ease, border-color .18s, background .18s; }
.kinds .circ .ico { width: 2.4rem; height: 2.4rem; stroke-width: 1.4; }
.kinds button:hover .circ { transform: translateY(-3px); border-color: var(--hot); }
.kinds button[aria-pressed="true"] .circ { background: var(--hot); color: var(--on-hot); border-color: var(--hot); }
.kinds button:focus-visible .circ { outline: 3px solid var(--lilac); outline-offset: 3px; }
@media (max-width: 48rem) {
  .kinds { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 5.6rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
  .kinds .circ .ico { width: 1.9rem; height: 1.9rem; }
  .kinds button { font-size: .82rem; }
}

/* ---- The state board ---- */
.board { display: grid; gap: 2rem; }
.region h3 { font-size: 1.15rem; color: var(--mute); display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.region h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.2rem, 1fr)); gap: .6rem; list-style: none; margin: 0; padding: 0; }
.chip { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1rem .7rem; padding: .7rem .85rem; border-radius: var(--r-sm); background: var(--bg2); border: 1px solid var(--line); text-decoration: none; color: var(--dim); transition: transform .15s ease, border-color .15s, background .15s; min-height: 4.1rem; }
.chip .ab { grid-row: span 2; font-stretch: var(--narrow); font-weight: 850; font-size: 2rem; line-height: 1; letter-spacing: -.01em; color: var(--dim); }
.chip .nm { font-weight: 650; font-size: .9rem; line-height: 1.2; color: var(--mute); }
.chip .ct { font-size: .75rem; font-weight: 600; }
.chip:hover { transform: translateY(-2px); border-color: var(--mute); }
.chip.on { color: var(--ink); border-color: color-mix(in srgb, var(--hot) 45%, var(--line)); }
.chip.on .ab { color: var(--hot); }
.chip.on .nm { color: var(--ink); }
.chip.on .ct { color: var(--hot); }
.chip.on:hover { border-color: var(--hot); }
@media (max-width: 40rem) {
  .chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
  .chip { grid-template-columns: 1fr; gap: .15rem; padding: .6rem .6rem .55rem; min-height: 0; }
  .chip .ab { grid-row: auto; font-size: 1.6rem; }
  .chip .nm { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chip .ct { font-size: .7rem; }
}
.board-note { color: var(--mute); font-size: .95rem; display: flex; gap: .5rem; align-items: center; margin-top: 1.4rem; }

/* ---- Cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); gap: 2rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.card a { display: grid; gap: .3rem; text-decoration: none; color: var(--ink); }
.card .pic { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: var(--bg3); margin-bottom: .55rem; }
.cards.wide .card .pic { aspect-ratio: 16 / 10; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card a:hover .pic img { transform: scale(1.04); }
.card .pic .pill { position: absolute; left: .7rem; bottom: .7rem; background: rgba(255,255,255,.94); color: #15121b; box-shadow: 0 4px 14px -4px rgba(0,0,0,.4); }
.card h3, .card h4 { margin: 0; font-size: 1.18rem; font-weight: 750; line-height: 1.2; letter-spacing: -.005em; }
.card a:hover h3, .card a:hover h4 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.card .when { font-weight: 650; font-size: .95rem; }
.card .when span { color: var(--mute); font-weight: 500; }
.card .dek { color: var(--mute); font-size: .95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* A card with no illustration: a poster in the state's letters */
.poster { position: absolute; inset: 0; display: grid; place-items: center; background:
    radial-gradient(80% 70% at 20% 10%, rgba(185,167,255,.55), transparent 60%),
    radial-gradient(80% 70% at 90% 100%, rgba(255,90,60,.55), transparent 60%), #15121b; color: #f5f2ec; }
.poster b { font-stretch: var(--narrow); font-weight: 900; font-size: clamp(4rem, 9vw, 6.5rem); letter-spacing: -.02em; line-height: 1; }
.card[data-kind="festivals"] .poster { background: radial-gradient(80% 70% at 15% 15%, rgba(246,168,214,.6), transparent 60%), radial-gradient(80% 70% at 85% 95%, rgba(255,200,60,.45), transparent 60%), #15121b; }
.card[data-kind="comedy"] .poster { background: radial-gradient(80% 70% at 15% 15%, rgba(255,214,90,.5), transparent 60%), radial-gradient(80% 70% at 85% 95%, rgba(255,90,60,.45), transparent 60%), #15121b; }
.card[data-kind="nightlife"] .poster { background: radial-gradient(80% 70% at 15% 15%, rgba(90,160,255,.5), transparent 60%), radial-gradient(80% 70% at 85% 95%, rgba(185,167,255,.6), transparent 60%), #0f0d16; }
.card[data-kind="theater"] .poster { background: radial-gradient(80% 70% at 15% 15%, rgba(255,90,60,.55), transparent 60%), radial-gradient(80% 70% at 85% 95%, rgba(140,20,40,.6), transparent 60%), #140c10; }
.card[hidden] { display: none; }
.nomatch { color: var(--mute); padding: 2rem; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); }

/* Rails (Partiful): a row of cards that scrolls sideways */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 17.5rem); gap: 1.5rem; overflow-x: auto; list-style: none; margin: 0; padding: 0 0 1rem; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.rail > li { scroll-snap-align: start; }
.rails { display: grid; gap: clamp(2.6rem, 5vw, 4rem); }
.rails .head { margin-bottom: 1.1rem; }
.rails .head h3 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); }
.rails .head h3 a { text-decoration: none; }
.rails .head h3 a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.rails .head .count { color: var(--mute); font-weight: 600; margin-top: .4rem; display: flex; gap: 1rem; align-items: center; }

/* ---- Lead (the newest story) and the "coming soon" banner ---- */
.lead { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.lead .pic { position: relative; min-height: 20rem; background: var(--bg3); }
.lead .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead .txt { padding: clamp(1.4rem, 3.5vw, 2.6rem); display: grid; align-content: center; gap: 1rem; }
.lead h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.lead a:hover h2, .lead h2 a:hover { text-decoration: underline; }
.lead h2 a { text-decoration: none; }
.lead .dek { color: var(--mute); font-size: 1.1rem; }
.facts { display: flex; flex-wrap: wrap; gap: .8rem 2rem; }
.facts div { font-size: 1.05rem; }
.facts span { display: block; color: var(--dim); font-size: .78em; }
.stories { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; font-size: .98rem; }
.stories li { display: flex; gap: .7rem; }
.stories span { color: var(--hot); font-weight: 800; font-stretch: var(--narrow); }
.soon { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem 2rem; padding: clamp(1.4rem, 3.5vw, 2.4rem); }
.soon .stub { width: 7rem; height: 7rem; border-radius: 22px; display: grid; place-items: center; background: var(--hot); color: var(--on-hot); transform: rotate(-4deg); }
.soon .stub .ico { width: 3.4rem; height: 3.4rem; stroke-width: 1.5; }
.soon h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.soon p { color: rgba(245,242,236,.78); max-width: 36rem; }
@media (max-width: 52rem) {
  .lead { grid-template-columns: 1fr; }
  .lead .pic { min-height: 0; aspect-ratio: 16 / 10; }
  .soon { grid-template-columns: 1fr; }
}

/* ---- Sign-up (Partiful's subscribe card) ---- */
.signup-band { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.signup-card { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 28px; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); box-shadow: var(--shadow); }
.signup-card .art { min-height: 18rem; display: grid; align-content: end; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 0; }
.signup-card .art p { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.signup-card .form { padding: clamp(1.4rem, 3.5vw, 2.8rem); display: grid; align-content: center; gap: 1.1rem; }
.signup-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.signup-card .form > p { color: var(--mute); }
.signup label { display: block; font-weight: 650; margin-bottom: .45rem; }
.signup .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.signup input[type="email"] { flex: 1 1 14rem; min-width: 0; font: inherit; padding: .85em 1.1em; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); }
.signup input[type="email"]::placeholder { color: var(--dim); }
.signup .fine { font-size: .85rem; color: var(--dim); }
@media (max-width: 48rem) { .signup-card { grid-template-columns: 1fr; } .signup-card .art { min-height: 11rem; } }

/* ---- Footer ---- */
.foot { border-top: 1px solid var(--line); padding-block: 2.6rem 3rem; color: var(--mute); font-size: .95rem; }
.foot .wrap { display: grid; gap: .8rem; }
.foot .top { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: .6rem; }
.foot .links { display: flex; gap: 1.2rem; flex-wrap: wrap; font-weight: 600; }
.foot a { color: var(--ink); text-underline-offset: 3px; }
.foot .links a { text-decoration: none; }
.foot .links a:hover { text-decoration: underline; }
.foot .buzzz a { font-weight: 800; letter-spacing: .04em; }

/* ---- State page ---- */
.crumbs { display: flex; gap: .45rem; flex-wrap: wrap; font-weight: 650; font-size: 1.05rem; color: rgba(245,242,236,.65); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.statehero h1 { font-size: clamp(3rem, 11vw, 9rem); }
.statehero .big-ab { position: absolute; right: -.04em; bottom: -.22em; z-index: -1; font-stretch: var(--narrow); font-weight: 900; font-size: clamp(9rem, 30vw, 24rem); line-height: 1; color: rgba(255,255,255,.06); letter-spacing: -.03em; pointer-events: none; }
.empty { display: grid; gap: 1rem; justify-items: start; padding: clamp(1.4rem, 3.5vw, 2.4rem); border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.empty p { color: var(--mute); max-width: 40rem; }

/* ---- Article ---- */
.arthero .stage { padding: clamp(1.4rem, 4vw, 3rem); display: grid; gap: 1.2rem; }
.arthero h1 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); font-weight: 850; letter-spacing: -.025em; line-height: 1.02; max-width: 22ch; }
.arthero .dek { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: rgba(245,242,236,.82); max-width: 44rem; }
.arthero .facts span { color: rgba(245,242,236,.55); }
.arthero .facts a { color: #fff; }
.figure { margin: 1.5rem auto 0; width: min(100% - 2.5rem, var(--wrap)); }
.figure img { width: 100%; border-radius: var(--r); aspect-ratio: 2 / 1; object-fit: cover; background: var(--bg3); }
.read { width: min(100% - 2.5rem, var(--wrap)); margin: clamp(2rem, 5vw, 3.4rem) auto 0; display: grid; grid-template-columns: 17rem minmax(0, 44rem); gap: clamp(2rem, 5vw, 4.5rem); justify-content: center; }
/* "In this edition" as an agenda (Crowdio): numbered stops on a line */
.toc { position: sticky; top: 6rem; align-self: start; }
.toc p { margin-bottom: .9rem; color: var(--mute); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { position: relative; display: block; padding: .45rem 0 .45rem 1.3rem; text-decoration: none; color: var(--mute); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.toc li a::before { content: ""; position: absolute; left: -.42rem; top: .78rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--bg); border: 2px solid var(--dim); }
.toc li a:hover, .toc li a.on { color: var(--ink); }
.toc li a.on::before { background: var(--hot); border-color: var(--hot); }
.toc li a span { display: block; color: var(--hot); font-size: .78rem; font-weight: 800; font-stretch: var(--narrow); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 60rem) {
  .read { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; padding: 1.2rem 1.3rem; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
}
.body { font-size: 1.12rem; line-height: 1.72; }
.body > * + * { margin-top: 1.1em; }
.body h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.2em; padding-top: .2em; letter-spacing: -.015em; scroll-margin-top: 6rem; }
.body h3 { font-size: 1.25rem; margin-top: 1.8em; }
.body a { color: var(--hot); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.body ul, .body ol { padding-left: 1.3em; }
.body li + li { margin-top: .4em; }
.body blockquote { margin-inline: 0; padding: .4em 0 .4em 1.2em; border-left: 4px solid var(--hot); color: var(--mute); }
.body strong { color: var(--ink); }
.body img { border-radius: var(--r-sm); }
.body table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.body th, .body td { text-align: left; padding: .55em .7em; border-bottom: 1px solid var(--line); }
.byline { margin-top: 2.4rem; color: var(--mute); font-size: .95rem; }
.byline + .byline { margin-top: .3rem; }
.byline a { color: var(--ink); }
.panel { margin-top: 2rem; padding: 1.4rem 1.5rem; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.panel h2 { font-size: 1.3rem; margin-bottom: .8rem; display: flex; align-items: center; gap: .55rem; }
.panel h2 .ico { color: var(--hot); }
.panel ol, .panel ul { margin: 0; padding-left: 1.2em; display: grid; gap: .4rem; }
.panel a { color: var(--ink); text-underline-offset: 3px; }
.panel small { color: var(--dim); }
.statechips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.statechips a { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .55rem; border-radius: 999px; background: var(--bg3); text-decoration: none; color: var(--ink); font-weight: 650; }
.statechips a b { font-stretch: var(--narrow); background: var(--hot); color: var(--on-hot); border-radius: 999px; padding: .1em .5em; font-size: .85rem; }
.statechips a:hover { background: var(--line); }

/* ---- About ---- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 2.4rem 0 .8rem; }
.prose p + p { margin-top: 1em; }
.prose p, .prose li { color: var(--mute); font-size: 1.1rem; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 1.2em; display: grid; gap: .5rem; margin: 1rem 0 0; }
.prose a { color: var(--hot); text-underline-offset: 3px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.rules li { padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.rules b { display: block; font-size: 1.1rem; margin-bottom: .35rem; }
.rules span { color: var(--mute); }
