/* =========================================================
   Feckfest 2026 — modern gig-poster theme
   One stylesheet for all eight pages. Tokens in :root.
   Mobile-first: base styles are the 390px design,
   media queries layer the desktop up.
   ========================================================= */

/* ---------- self-hosted fonts (latin subsets, variable) ---------- */
@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/unbounded-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Familjen Grotesk";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/familjen-grotesk-var-italic-latin.woff2") format("woff2");
}

:root {
  /* dark-only site: give the browser dark scrollbars & form controls */
  color-scheme: dark;

  /* night sky */
  --night:      oklch(17% 0.045 300);
  --night-deep: oklch(12.5% 0.04 295);
  --surface:    oklch(21.5% 0.05 300);
  --surface-2:  oklch(25.5% 0.055 302);
  --line:       oklch(34% 0.05 300);
  --line-soft:  oklch(27% 0.05 300);

  /* ink */
  --ink:     oklch(96% 0.015 85);
  --ink-dim: oklch(77% 0.04 300);

  /* sunset accents */
  --sunset:      oklch(72% 0.19 45);
  --sunset-deep: oklch(58% 0.17 40);
  --magenta:     oklch(67% 0.24 350);
  --gold:        oklch(86% 0.13 90);

  /* type */
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Familjen Grotesk", system-ui, sans-serif;

  /* layout */
  --maxw: 1060px;
  /* nav height grows by the notch inset in standalone/home-screen mode */
  --nav-h: calc(60px + env(safe-area-inset-top, 0px));
  --radius: 16px;
  --radius-sm: 10px;
  --pad-x: clamp(1.1rem, 4vw, 2rem);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* z scale */
  --z-nav: 40;
  --z-menu: 50;
  --z-banner: 55;
  --z-modal: 60;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--night);
  line-height: 1.6;
  min-height: 100svh;
  overflow-x: hidden;
  padding-top: var(--nav-h);
  -webkit-font-smoothing: antialiased;
}

img, svg, canvas { display: block; max-width: 100%; }

h1, h2, h3 { text-wrap: balance; line-height: 1.15; }

a { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--sunset);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sunset); color: var(--night-deep); }

/* faint star field on the body, so interior pages share the night sky */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 18%, oklch(96% 0.02 85 / 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 78% 9%,  oklch(96% 0.02 85 / 0.4) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 32%, oklch(96% 0.02 85 / 0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 64%, oklch(96% 0.02 85 / 0.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 51%, oklch(96% 0.02 85 / 0.35) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 8% 87%,  oklch(96% 0.02 85 / 0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 79%, oklch(96% 0.02 85 / 0.3) 50%, transparent 51%);
  background-size: 1100px 900px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(3rem, 8vw, 5rem); }
.section + .section { padding-top: 0; }

.prose { max-width: 65ch; color: var(--ink-dim); }
.prose strong { color: var(--ink); }

.center { text-align: center; }
.center .prose, .prose.center { margin-inline: auto; }
.mt-lg { margin-top: 2rem; }
.mt-md { margin-top: 1.2rem; }
.mt-sm { margin-top: 0.5rem; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  z-index: var(--z-nav);
  background: oklch(15% 0.045 298 / 0.92);
  border-bottom: 1px solid var(--line-soft);
}
/* blur lives on a pseudo-element: backdrop-filter on .nav itself would
   become the containing block for the fixed full-screen menu overlay */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  position: relative;
  z-index: calc(var(--z-menu) + 1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__brand .tick { color: var(--sunset); }

/* hamburger */
.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: calc(var(--z-menu) + 1);
  position: relative;
}
.nav__toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-open .nav__toggle .bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-open .nav__toggle .bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu: full-screen overlay */
.nav__menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background:
    radial-gradient(120% 70% at 85% -10%, oklch(28% 0.1 340 / 0.55), transparent 60%),
    var(--night-deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 1rem) var(--pad-x) 2.5rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav-open .nav__menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s var(--ease);
}
.nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav__links a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 6.5vw, 2rem);
  color: var(--ink);
  text-decoration: none;
  padding: 0.45rem 0;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease), color 0.2s;
}
.nav-open .nav__links a { transform: none; opacity: 1; }
.nav__links li:nth-child(2) a { transition-delay: 0.04s; }
.nav__links li:nth-child(3) a { transition-delay: 0.08s; }
.nav__links li:nth-child(4) a { transition-delay: 0.12s; }
.nav__links li:nth-child(5) a { transition-delay: 0.16s; }
.nav__links li:nth-child(6) a { transition-delay: 0.2s; }
.nav__links li:nth-child(7) a { transition-delay: 0.24s; }
.nav__links li:nth-child(8) a { transition-delay: 0.28s; }
.nav__links a .idx {
  font-size: 0.8rem;
  color: var(--sunset);
  font-weight: 600;
  min-width: 1.6rem;
}
.nav__links a.is-active { color: var(--sunset); }
@media (hover: hover) {
  .nav__links a:hover { color: var(--sunset); }
}
.nav__menu-foot {
  margin-top: 2.5rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.45s var(--ease) 0.28s;
}
.nav-open .nav__menu-foot { opacity: 1; }
body.nav-open { overflow: hidden; }

/* desktop nav */
@media (min-width: 880px) {
  .nav__toggle { display: none; }
  .nav__menu {
    position: static;
    inset: auto;
    background: none;
    padding: 0;
    visibility: visible;
    opacity: 1;
    flex-direction: row;
    justify-content: flex-end;
    transition: none;
  }
  .nav__links {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.1rem;
  }
  .nav__links a {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: clamp(0.82rem, 1.3vw, 0.92rem);
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    color: var(--ink-dim);
    white-space: nowrap;
    transform: none;
    opacity: 1;
    transition: color 0.2s, background-color 0.2s;
  }
  .nav__links a .idx { display: none; }
  .nav__links a:hover { color: var(--ink); background: oklch(96% 0.015 85 / 0.07); }
  .nav__links a.is-active { color: var(--night-deep); background: var(--sunset); }
  .nav__menu-foot { display: none; }
}

/* ---------- hero (landing) ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem) var(--pad-x) clamp(7rem, 16vw, 10rem);
  background:
    radial-gradient(90% 60% at 50% 110%, oklch(38% 0.13 25 / 0.5), transparent 70%),
    var(--night-deep);
}
.hero__aurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 50% 44%, oklch(13% 0.04 295 / 0.6), transparent 74%),
    linear-gradient(to bottom, oklch(13% 0.04 295 / 0.35), transparent 22%);
}
.hero__ridge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: auto;
  pointer-events: none;
}
.hero__content { position: relative; max-width: 56rem; }

.hero__kicker {
  font-weight: 600;
  font-size: clamp(0.78rem, 2.6vw, 0.9rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 11.5vw, 5.5rem);
  line-height: 1;
  margin-top: 0.6rem;
  color: var(--ink);
  text-shadow: 0 2px 40px oklch(40% 0.15 350 / 0.5);
}
.hero__title .year {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--gold);
  text-shadow: 0 2px 30px oklch(13% 0.04 295 / 0.75);
  font-size: 0.72em;
  letter-spacing: 0.06em;
  margin-top: 0.1em;
}
.hero__bill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 3.4vw, 1.35rem);
  color: var(--ink);
  margin-top: 1.4rem;
}
.hero__bill .sep { color: var(--magenta); padding-inline: 0.35em; }
.hero__bill .and-more {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(0.85rem, 2.8vw, 1rem);
  color: var(--ink-dim);
  margin-top: 0.4rem;
}
.hero__bill .and-more strong { color: var(--gold); font-weight: 600; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.3rem;
}
.hero__meta span {
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(15% 0.045 298 / 0.6);
}

/* scroll cue */
.hero__cue {
  position: absolute;
  bottom: clamp(1rem, 4vw, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--ink-dim);
  font-size: 1.3rem;
  text-decoration: none;
  animation: cue-bob 2.2s var(--ease) infinite;
}
@keyframes cue-bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(7px); }
}

/* ---------- countdown ticket ---------- */
.ticket {
  display: flex;
  align-items: stretch;
  margin: 1.8rem auto 0;
  max-width: 30rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: oklch(15% 0.045 298 / 0.78);
  backdrop-filter: blur(4px);
}
.ticket__units {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0.9rem 0.4rem;
}
.ticket__unit { text-align: center; }
.ticket__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.3rem, 5.5vw, 1.8rem);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.ticket__label {
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
}
.ticket__stub {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.9rem 0.5rem 1.1rem;
  border-left: 1px dashed var(--line);
  position: relative;
}
.ticket__stub::before,
.ticket__stub::after {
  content: "";
  position: absolute;
  left: -6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--night-deep);
  border: 1px solid var(--line);
}
.ticket__stub::before { top: -7px; border-top-color: transparent; }
.ticket__stub::after { bottom: -7px; border-bottom-color: transparent; }
.ticket__stub span {
  writing-mode: vertical-rl;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sunset);
}

/* ---------- headings ---------- */
.page-head { padding: clamp(2.2rem, 7vw, 4rem) 0 0; }
.page-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 8vw, 3.4rem);
  color: var(--ink);
}
.page-head__title .accent { color: var(--sunset); }
.page-head__lede { margin-top: 0.9rem; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 4.5vw, 1.8rem);
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.section-title .tick { color: var(--sunset); margin-right: 0.4rem; }
.section-title--sm { font-size: 1.15rem; margin-bottom: 0.9rem; }

h3.sub-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
  margin-top: 1.5rem;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--night-deep);
  background: var(--sunset);
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
/* hover states only on devices that actually hover — they stick after taps on touch */
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); background: var(--gold); }
  .btn--ghost:hover { background: oklch(96% 0.015 85 / 0.07); border-color: var(--ink-dim); }
}

/* ---------- generic card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 4vw, 1.7rem);
}

/* ---------- the run (trip at a glance) ---------- */
.run {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(76%, 270px);
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.run__night {
  scroll-snap-align: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
@media (hover: hover) {
  .run__night:hover { border-color: var(--sunset-deep); transform: translateY(-3px); }
}
.run__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sunset);
}
.run__date {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: 0.55rem;
}
.run__act {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  margin-top: 0.25rem;
}
.run__where { color: var(--ink-dim); font-size: 0.95rem; }
@media (min-width: 880px) {
  .run {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}

/* ---------- program index (landing nav list) ---------- */
.program { border-top: 1px solid var(--line-soft); margin-top: 0.5rem; }
.program__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.2rem 1rem;
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
  transition: background-color 0.2s;
}
.program__row:active { background: oklch(96% 0.015 85 / 0.05); }
.program__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  color: var(--ink);
  transition: color 0.2s, transform 0.3s var(--ease);
}
.program__desc {
  grid-column: 1;
  color: var(--ink-dim);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease);
}
.program__arrow {
  grid-row: 1 / span 2;
  grid-column: 2;
  color: var(--sunset);
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .program__row:hover { background: oklch(96% 0.015 85 / 0.03); }
  .program__row:hover .program__name,
  .program__row:hover .program__desc { transform: translateX(0.8rem); }
  .program__row:hover .program__name { color: var(--sunset); }
  .program__row:hover .program__arrow { transform: translateX(6px); }
}

/* ---------- timeline: day jump chips ---------- */
.jumpnav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin: 1.2rem calc(var(--pad-x) * -1) 0;
  padding: 0.2rem var(--pad-x);
  scrollbar-width: none;
}
.jumpnav::-webkit-scrollbar { display: none; }
.jumpnav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.3rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.jumpnav a .idx { color: var(--sunset); font-size: 0.75rem; font-weight: 700; }
.jumpnav a:hover, .jumpnav a:active { border-color: var(--sunset); }

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  margin-top: 2.2rem;
  padding-left: 3.1rem;
  display: grid;
  gap: 2.2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: var(--line);
}
.tl-item { position: relative; min-width: 0; }
.tl-item__marker {
  position: absolute;
  left: -3.1rem;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--night-deep);
  background: var(--sunset);
}
.tl-item__marker--ghost { background: var(--surface-2); color: var(--ink-dim); border: 1px solid var(--line); }
.tl-item__day {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  color: var(--ink);
}
.tl-item__date {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}
.tl-item__body { margin-top: 0.9rem; }
.tl-item__body p + p { margin-top: 0.6rem; }

/* ---------- tables (restack to cards on small screens) ---------- */
.table-wrap { margin-top: 1rem; overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; }
table.grid caption {
  text-align: left;
  font-weight: 700;
  color: var(--gold);
  padding-bottom: 0.6rem;
}
table.grid th, table.grid td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
}
table.grid thead th {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: var(--surface-2);
}
table.grid thead th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
table.grid thead th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
table.grid tfoot td {
  font-weight: 700;
  color: var(--sunset);
  border-bottom: 0;
  border-top: 2px solid var(--line);
}
/* the viewer's own row in the settle-up table */
table.grid tbody tr.is-me { background: oklch(72% 0.19 45 / 0.14); }
table.grid tbody tr.is-me td[data-label="Who"] { color: var(--sunset); font-weight: 700; }
.cost-note { color: var(--ink-dim); font-size: 0.85em; }
/* tap/click to reveal who splits a given line item (button — title tooltips don't exist on touch) */
.split-tag {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-dim);
  font-size: 0.82em;
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 1px dotted var(--line);
}
.split-tag:hover, .split-tag:focus, .split-tag:active { color: var(--sunset); border-bottom-color: var(--sunset); outline: none; }
.cost-split-detail {
  display: block;
  width: 100%;
  color: var(--ink-dim);
  font-size: 0.85em;
  margin-top: 0.25rem;
}
/* live flight-status link in the timeline ride tables */
.flight-track {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  white-space: nowrap;
  font-size: 0.92em;
  font-weight: 600;
}
.flight-track:hover, .flight-track:focus { color: var(--sunset); }
/* per-day "at a glance" schedule sub-list */
.agenda { list-style: none; margin: 0.4rem 0 0.75rem; padding: 0; }
.agenda li {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.3rem 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.agenda li:last-child { border-bottom: 0; }
.agenda__time {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sunset);
  white-space: nowrap;
  padding-top: 0.1rem;
}
.agenda__what { color: var(--ink); }
@media (max-width: 480px) { .agenda li { grid-template-columns: 4.75rem 1fr; } }

@media (max-width: 639px) {
  table.grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table.grid, table.grid tbody, table.grid tfoot, table.grid tr, table.grid td { display: block; }
  table.grid tr {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    padding: 0.35rem 0;
    margin-bottom: 0.7rem;
  }
  table.grid td {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    border-bottom: 0;
    padding: 0.3rem 0.9rem;
  }
  table.grid td::before {
    content: attr(data-label);
    flex: none;
    width: 6.5rem;
    margin-right: 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-dim);
  }
  table.grid td:not([data-label])::before { content: none; }
  table.grid td:empty { display: none; }
  table.grid td[data-label="Item"] { font-weight: 700; }
  table.grid tfoot tr { background: var(--surface); border-color: var(--sunset-deep); }
  table.grid tfoot td { border-top: 0; }
}

/* ---------- festival lineup poster ---------- */
.lineup {
  text-align: center;
  padding: clamp(1.5rem, 5vw, 3rem) 0 1rem;
}
.lineup__label {
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.lineup__headliner {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 9.5vw, 4.5rem);
  line-height: 1.05;
  color: var(--ink);
  text-shadow: 0 2px 36px oklch(50% 0.2 350 / 0.45);
}
.lineup__tier {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 1rem;
  margin-top: 1.2rem;
}
.lineup__act { font-family: var(--font-display); font-weight: 600; }
.lineup__tier--2 .lineup__act { font-size: clamp(1.25rem, 4.6vw, 2.1rem); color: var(--sunset); }
.lineup__tier--3 .lineup__act { font-size: clamp(1rem, 3.6vw, 1.5rem); color: var(--ink); }
.lineup__tier--4 .lineup__act { font-size: clamp(0.85rem, 2.9vw, 1.15rem); color: var(--ink-dim); }
.lineup__sep { color: var(--magenta); }

/* ---------- crew grid ---------- */
.crew-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.profile { text-align: center; }
.profile--headliner {
  grid-column: 1 / -1;
  border-color: var(--sunset-deep);
  background:
    radial-gradient(80% 110% at 50% -20%, oklch(40% 0.13 25 / 0.35), transparent 70%),
    var(--surface);
}
.profile__avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  margin: 0 auto 0.9rem;
  display: grid;
  place-items: center;
  font-size: 2.3rem;
  background: var(--surface-2);
  border: 2px solid var(--line);
}
.profile--headliner .profile__avatar {
  width: 110px;
  height: 110px;
  font-size: 2.8rem;
  border-color: var(--sunset);
  box-shadow: 0 0 0 5px oklch(72% 0.19 45 / 0.18);
}
.profile__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
}
.profile--headliner .profile__name { font-size: clamp(1.5rem, 5vw, 1.9rem); }
.profile__role {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sunset);
  margin: 0.45rem 0 0.9rem;
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--sunset-deep);
  border-radius: 999px;
}
.profile__fields { text-align: left; font-size: 0.92rem; }
.profile__fields dt { color: var(--gold); font-weight: 600; margin-top: 0.6rem; }
.profile__fields dd { color: var(--ink-dim); }
.profile--headliner .profile__fields { max-width: 34rem; margin-inline: auto; }

/* ---------- venues: tour route ---------- */
.route { display: grid; gap: 1.3rem; margin-top: 2rem; }
.stop { position: relative; }
.stop__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  margin-bottom: 0.8rem;
}
.stop__tag--home { background: var(--magenta); color: var(--ink); }
.venue__photo {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}
.venue__aside { color: var(--ink-dim); font-size: 0.92rem; }
.venue__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  color: var(--ink);
}
.venue__meta { color: var(--gold); font-size: 0.92rem; font-weight: 600; margin: 0.3rem 0 0.8rem; }
.venue p + p { margin-top: 0.7rem; }
.venue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.1rem;
}

.callout {
  margin-top: 1.1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid oklch(67% 0.24 350 / 0.45);
  background: oklch(67% 0.24 350 / 0.09);
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
}

/* ---------- doug roast page ---------- */
.roast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}
.roast-list { list-style: none; display: grid; gap: 0.65rem; }
.roast-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.roast-list .lead { flex: none; }
.quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
}
.quote::before { content: "“"; color: var(--sunset); font-family: var(--font-display); font-style: normal; }
.quote::after { content: "”"; color: var(--sunset); font-family: var(--font-display); font-style: normal; }
.quote + .quote { margin-top: 1rem; }
.toast {
  margin-top: 1.3rem;
  text-align: center;
  border-color: var(--sunset-deep);
}
.toast p:not(.todo-note) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 3.6vw, 1.4rem);
  color: var(--ink);
}

/* ---------- placeholder / TODO slots ---------- */
.slot {
  display: inline-block;
  min-width: 110px;
  padding: 0.1rem 0.55rem;
  border-radius: 6px;
  border: 1px dashed oklch(86% 0.13 90 / 0.55);
  background: oklch(86% 0.13 90 / 0.07);
  color: var(--ink-dim);
  font-size: 0.85rem;
  font-style: italic;
}
.slot--block { display: block; min-height: 2.1rem; margin-top: 0.35rem; }
.todo-note {
  display: inline-block;
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: oklch(86% 0.13 90 / 0.08);
}

/* ---------- footer ---------- */
.foot { margin-top: clamp(2rem, 7vw, 4rem); }
.foot__ridge { width: 100%; height: auto; display: block; }
.foot__inner {
  background: var(--night-deep);
  text-align: center;
  padding: 0.5rem var(--pad-x) 2.6rem;
}
.foot__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.foot__mark .tick { color: var(--sunset); }
.foot__tag { color: var(--ink-dim); font-size: 0.9rem; margin-top: 0.5rem; }
.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3rem 1.3rem;
  list-style: none;
  margin-top: 1.2rem;
}
.foot__links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem;
  display: inline-block;
}
.foot__links a:hover, .foot__links a:active { color: var(--gold); }

/* =========================================================
   Interactive layer (feck.js): chip, picker, gate, comms,
   what's-now board, photo tapes, settle-up
   ========================================================= */

/* identity chip (injected into the nav) */
.nav__brand { margin-right: auto; }
.feck-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s;
}
.feck-chip:hover, .feck-chip:active { border-color: var(--sunset); }

/* identity picker modal */
.feck-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: oklch(12.5% 0.04 295 / 0.8);
  backdrop-filter: blur(6px);
}
.feck-modal__card {
  width: 100%;
  max-width: 34rem;
  max-height: 85svh;
  overflow-y: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.feck-modal__title { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.feck-modal__sub { color: var(--ink-dim); font-size: 0.92rem; margin: 0.5rem 0 1.25rem; }
.feck-modal__close { margin-top: 1.25rem; }
.feck-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}
.feck-picker__act {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.85rem 0.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
.feck-picker__act:active { transform: scale(0.97); border-color: var(--sunset); }
@media (hover: hover) {
  .feck-picker__act:hover { transform: translateY(-2px); border-color: var(--sunset); }
}
.feck-picker__act.is-me { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.feck-picker__emoji { font-size: 1.6rem; }
.feck-picker__name { font-weight: 700; font-size: 0.95rem; }
.feck-picker__role { color: var(--ink-dim); font-size: 0.7rem; }

/* comms launchpad (floating button) — safe-area keeps it out of the iPhone home-indicator zone */
.feck-comms {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  border: 0;
  background: var(--magenta);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.4);
  transition: transform 0.2s var(--ease);
}
.feck-comms:active { transform: scale(0.95); }
@media (hover: hover) {
  .feck-comms:hover { transform: translateY(-2px); }
}
.feck-comms--unset { background: var(--surface-2); color: var(--ink-dim); border: 1px solid var(--line); }
@media (max-width: 480px) {
  .feck-comms span { display: none; }
  .feck-comms { padding: 0.7rem 0.85rem; font-size: 1.1rem; }
}

/* what's-now board (home) */
.whats-now { padding: 2rem 0 0.5rem; }
.whats-now__eyebrow {
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.whats-now__row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .whats-now__row { grid-template-columns: 1fr; } }
.whats-now__card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.whats-now__kicker {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--sunset);
}
.whats-now__card:first-child .whats-now__kicker { color: var(--magenta); }
.whats-now__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); margin-top: 0.35rem; line-height: 1.2; }
.whats-now__emoji { margin-right: 0.4rem; }
.whats-now__where { color: var(--ink-dim); font-size: 0.95rem; margin-top: 0.3rem; }
.whats-now__stage {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--night-deep);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  margin-right: 0.35rem;
}
.whats-now__when { display: block; margin-top: 0.6rem; color: var(--gold); font-weight: 600; font-size: 0.92rem; }
.whats-now__foot { color: var(--ink-dim); font-size: 0.9rem; margin-top: 0.9rem; }
.whats-now__done {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}
.whats-now__done-emoji { font-size: 2rem; }
.whats-now__done-text { color: var(--ink-dim); }

/* photo wall (tapes) */
.tapes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}
.tape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s var(--ease), border-color 0.2s;
}
a.tape:active { transform: scale(0.98); border-color: var(--sunset-deep); }
@media (hover: hover) {
  a.tape:hover { transform: translateY(-3px); border-color: var(--sunset-deep); }
}
.tape__reel { font-size: 2rem; }
.tape__night { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: 0.4rem; }
.tape__show { color: var(--ink-dim); font-size: 0.9rem; }
.tape__date {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.tape__cta { margin-top: 0.7rem; font-weight: 700; font-size: 0.85rem; color: var(--sunset); }
.tape--empty { opacity: 0.6; }
.tape--empty .tape__cta { color: var(--ink-dim); font-style: italic; font-weight: 400; }

/* settle-up (costs) */
.settle {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}
.settle__amount { font-size: 1.05rem; }
.settle__amount strong { color: var(--gold); }
.settle__web { color: var(--ink-dim); font-size: 0.85rem; }
.cost-note { color: var(--ink-dim); font-size: 0.9em; }

/* ---------- scroll reveals (gated on .js so no-JS stays visible) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   BILLY BINGO
   ========================================================== */
.bingo-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.bingo-tabs .btn { font-size: 0.85rem; padding: 0.55rem 1.1rem; }

.bingo-progress {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--gold);
  margin: 0 0 0.6rem;
}

.bingo-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  max-width: 520px;
  touch-action: manipulation;
}
.bingo-cell {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(0.62rem, 1.9vw, 0.68rem);
  line-height: 1.15;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  position: relative;
}
.bingo-cell span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  word-break: break-word;
  hyphens: auto;
}
.bingo-cell--free { color: var(--gold); border-color: var(--gold); font-family: var(--font-display); font-size: 0.6rem; }
.bingo-cell--empty { border-style: dashed; border-color: var(--line-soft); color: var(--ink-dim); }
.bingo-cell.is-sel { outline: 2px solid var(--sunset); outline-offset: -1px; }
.bingo-cell.is-drag { opacity: 0.35; }
.bingo-cell.is-over { outline: 2px dashed var(--gold); outline-offset: -1px; }
.bingo-cell.is-target {
  border-style: solid;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px oklch(86% 0.13 90 / 0.35);
}
.bingo-cell.has-menu { z-index: 6; }
.bingo-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  min-width: 9.5rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 30px oklch(0% 0 0 / 0.45);
  padding: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bingo-cell:nth-child(n+21) .bingo-menu { top: auto; bottom: calc(100% + 4px); }
.bingo-cell:nth-child(5n+1) .bingo-menu { left: 0; transform: none; }
.bingo-cell:nth-child(5n) .bingo-menu { left: auto; right: 0; transform: none; }
.bingo-menu button {
  background: none;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-align: left;
  min-height: 44px;  /* comfortable thumb target mid-show */
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
}
.bingo-menu button:hover, .bingo-menu button:active { background: oklch(100% 0 0 / 0.06); color: var(--sunset); }
.bingo-menu button.danger { color: oklch(72% 0.17 25); }
.bingo-menu button.danger:hover, .bingo-menu button.danger:active { color: oklch(78% 0.19 25); }
.bingo-cell.is-daubed { background: oklch(72% 0.19 45 / 0.22); border-color: var(--sunset); }
.bingo-cell.is-daubed::after {
  content: "✶";
  position: absolute;
  top: 1px; right: 3px;
  color: var(--sunset);
  font-size: 0.7rem;
}
.bingo-cell.is-win {
  background: oklch(86% 0.13 90 / 0.3);
  border-color: var(--gold);
  box-shadow: 0 0 10px oklch(86% 0.13 90 / 0.4);
}
.bingo-ghost {
  position: fixed;
  z-index: 80;
  pointer-events: none;
  background: var(--surface-2);
  border: 1px solid var(--sunset);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  color: var(--ink);
  max-width: 140px;
  transform: translate(-50%, -110%);
}
.bingo-caption {
  color: var(--ink-dim);
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
  min-height: 1.4em;
}

.bingo-search {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
}
.bingo-search:focus { outline: none; border-color: var(--sunset); }
.bingo-sort { display: flex; gap: 0.4rem; margin: 0.6rem 0; }
.bingo-sort .btn { font-size: 0.78rem; padding: 0.4rem 0.9rem; }
.bingo-list { max-height: 50vh; overflow-y: auto; overscroll-behavior: contain; margin-top: 0.4rem; border-top: 1px solid var(--line-soft); }
.bingo-list--short { max-height: 34vh; }
.bingo-song {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  padding: 0.55rem 0.2rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
}
.bingo-song:hover, .bingo-song:active { background: oklch(100% 0 0 / 0.03); }
.bingo-song__n { color: var(--ink-dim); font-size: 0.8rem; white-space: nowrap; }
.bingo-song.is-picked { color: var(--sunset); }
.bingo-song.is-picked .bingo-song__n::after { content: " ✓"; color: var(--sunset); }

.bingo-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.bingo-mini__head { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.5rem; }
.bingo-mini__name { font-family: var(--font-display); font-size: 0.8rem; }
.bingo-mini__daubs { color: var(--ink-dim); font-size: 0.78rem; margin-left: auto; }
.bingo-mini .bingo-board { gap: 2px; }
.bingo-mini .bingo-cell { font-size: 0.42rem; border-radius: 4px; padding: 2px; cursor: default; }
.bingo-mini .bingo-cell span { -webkit-line-clamp: 3; }
.bingo-mini .bingo-cell.is-daubed::after { font-size: 0.5rem; }

.bingo-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.bingo-chip {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 40px;
  padding: 0.3rem 0.75rem;
  color: var(--ink);
  font-size: 0.82rem;
  cursor: pointer;
}
.bingo-chip:hover, .bingo-chip:active { border-color: var(--sunset); }
.bingo-chip .x { color: var(--ink-dim); margin-left: 0.3em; }

.bingo-banner {
  position: fixed;
  top: calc(var(--nav-h) + 4px);
  left: 0; right: 0;
  z-index: var(--z-banner);  /* below the identity-picker modal */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  background: linear-gradient(90deg, var(--sunset), var(--magenta));
  color: var(--night-deep);
}
.bingo-banner button {
  background: none;
  border: 0;
  color: var(--night-deep);
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}

/* board + catalog side by side once there's room; each scrolls on its own */
.bingo-workspace { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 900px) {
  .bingo-workspace { grid-template-columns: minmax(0, 560px) minmax(320px, 1fr); gap: 1.25rem; }
  .bingo-boardcard { position: sticky; top: calc(var(--nav-h) + 1rem); }
  .bingo-pickercard .bingo-list { max-height: calc(100vh - 21rem); }
}

@media (max-width: 480px) {
  .bingo-board { max-width: 100%; gap: 3px; }
  .bingo-cell { font-size: 0.63rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cue { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .nav__links a, .nav__menu, .nav__menu-foot { transition: none; }
  .btn:hover, .run__night:hover { transform: none; }
  .feck-picker__act:hover, .feck-comms:hover, a.tape:hover { transform: none; }
  .btn:active, .feck-picker__act:active, .feck-comms:active, a.tape:active { transform: none; }
  .program__row:hover .program__name, .program__row:hover .program__desc { transform: none; }
}
