/* Dundalk Stadium v2 · The Big Screen. Page styles; the engine is untouched. */
:root {
  --sc-canvas: #050506;
  --sc-surface: #0c0c0e;
  --sc-ink: #f5f1e8;
  --sc-ink-soft: #b4ada1;
  --sc-accent: #ffb21e;
  --sc-accent-ink: #120c02;
  --sc-font-display: "Doto", ui-monospace, monospace;
  --sc-font-text: "Archivo", system-ui, sans-serif;

  --black: #050506;
  --amber: #ffb21e;
  --white: #f5f1e8;
  --red: #ff5c7c;          /* brand red #DC4462 lifted for LED text on black */
  --red-brand: #dc4462;
  --teal: #84cbbb;
  --off: #19181a;          /* an unlit LED */
  --line: #2a2829;
  --nav: 76px;
  --pitch: 7px;            /* unlit-grid pitch */
}

html { scroll-padding-top: calc(var(--nav) + 8px); }
body { background: var(--black); color: var(--white); font-family: var(--sc-font-text); font-variation-settings: "wdth" 100; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: #000; padding: .6rem 1rem; font-weight: 700; border-radius: 6px; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ LED type -- */
.led {
  font-family: "Doto", ui-monospace, monospace;
  font-weight: 900;
  font-variation-settings: "ROND" 100;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}
.led--amber { color: var(--amber); }
.led--red { color: var(--red); }
.led--xl { font-size: clamp(2.5rem, 1.2rem + 5.4vw, 6.4rem); }
.led--lg { font-size: clamp(2.1rem, 1.1rem + 3.9vw, 4.8rem); }
.led--md { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); }
.lede { font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.22rem); line-height: 1.5; color: #d3cdc1; max-width: 44ch; margin: 0; text-wrap: pretty; }

/* the unlit LED grid every board page sits on */
.board__grid {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(circle at center, var(--off) 0 1.5px, transparent 2px) 0 0 / var(--pitch) var(--pitch);
}

/* board page header: the one schema every page shares */
.bp {
  position: relative;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1.5rem;
  margin: 0 0 1.4rem; padding-bottom: .7rem;
  border-bottom: 1px solid var(--line);
  font-variation-settings: "wdth" 125; font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.bp__name { color: var(--amber); }
.bp__fact { color: var(--sc-ink-soft); font-weight: 600; }
.bp--bare { max-width: 40rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 4px;
  font-variation-settings: "wdth" 112; font-weight: 800; font-size: 1rem; letter-spacing: .02em;
  text-decoration: none; transition: background-color .2s, color .2s, transform .2s;
}
.btn--amber { background: var(--amber); color: #120c02; }
.btn--amber:hover { background: #ffc552; }
.btn--line { border: 1.5px solid #6b6660; color: var(--white); }
.btn--line:hover { border-color: var(--white); }

/* ------------------------------------------------------------ the ticker -- */
.ticker {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(5, 5, 6, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ticker__row { display: flex; align-items: center; gap: 1rem; height: 42px; padding-inline: clamp(.75rem, 2vw, 1.5rem); }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand__mark { width: 26px; height: 26px; }
.brand__mark .mk-navy, .ticker .mk-navy, .mk-navy { fill: var(--white); }
.brand__word { font-variation-settings: "wdth" 125; font-weight: 900; font-size: .86rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.brand__word span { color: var(--red); }
.marquee { position: relative; flex: 1; min-width: 0; overflow: hidden; height: 100%; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.marquee__track { display: flex; width: max-content; animation: mq var(--mq-dur, 60s) linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.marquee__list li {
  font-family: "Doto", monospace; font-weight: 900; font-variation-settings: "ROND" 100; text-transform: uppercase;
  font-size: 1.08rem; letter-spacing: .04em; color: var(--white); padding-inline: 1.4rem;
  display: flex; align-items: center; gap: .6rem;
}
.marquee__list li::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); flex: none; }
.marquee__list .amb { color: var(--amber); }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-pause { flex: none; display: flex; align-items: center; gap: .4rem; background: none; border: 1px solid #3a3738; color: var(--white); border-radius: 4px; height: 30px; padding: 0 .6rem; cursor: pointer; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mq-pause[hidden] { display: none; }
.mq-pause__icon { width: 9px; height: 10px; border-inline: 3px solid currentColor; box-sizing: border-box; }
.mq-pause[aria-pressed="true"] .mq-pause__icon { border: 0; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.book { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 .9rem; background: var(--amber); color: #120c02; border-radius: 4px; text-decoration: none; font-variation-settings: "wdth" 112; font-weight: 800; font-size: .86rem; }
.pages { height: 34px; border-top: 1px solid #161516; }
.pages__list { display: flex; height: 100%; list-style: none; margin: 0; padding: 0 clamp(.25rem, 2vw, 1.5rem); gap: .2rem; overflow-x: auto; scrollbar-width: none; }
.pages__list::-webkit-scrollbar { display: none; }
.pages__list a {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 .75rem; white-space: nowrap;
  text-decoration: none; color: #a39d92; font-variation-settings: "wdth" 118; font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
}
.pages__list a::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 5px; height: 3px;
  background: radial-gradient(circle, var(--off) 0 1.2px, transparent 1.6px) 0 0 / 5px 3px; }
.pages__list a[aria-current="true"] { color: var(--amber); }
.pages__list a[aria-current="true"]::after { background: radial-gradient(circle, var(--amber) 0 1.2px, transparent 1.6px) 0 0 / 5px 3px; }
.pages__list a:hover { color: var(--white); }

/* ------------------------------------------------------------- welcome -- */
.welcome__stage {
  --sw: max(100vw, 150svh);
  --sh: calc(var(--sw) / 1.5037);
  --st: max(calc(100svh - var(--sh) * 0.9), calc(100svh * 0.37 - var(--sh) * 0.28));
  --sl: calc(50vw - var(--sw) * 0.5);
  background: var(--black);
}
.sky { position: absolute; inset: 0; background: radial-gradient(60% 50% at 30% 70%, #0d0d10 0%, transparent 70%), var(--black); }
.scene { position: absolute; left: var(--sl); top: var(--st); width: var(--sw); height: var(--sh); z-index: 3; pointer-events: none; transform-origin: 50% 100%; will-change: transform; }
.scene__stand { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.scene__bloom {
  position: absolute; inset: 0; mix-blend-mode: screen; opacity: .85;
  background:
    radial-gradient(4.5% 6.5% at 12.9% 41.6%, rgba(255, 244, 214, .55), transparent 70%),
    radial-gradient(12% 14% at 12.9% 41.6%, rgba(255, 220, 160, .14), transparent 70%),
    radial-gradient(5% 6% at 61% 35.4%, rgba(255, 244, 214, .45), transparent 70%),
    radial-gradient(18% 12% at 42% 44%, rgba(255, 226, 170, .16), transparent 72%);
}
.board {
  position: absolute; border-radius: 6px;
  background: #070708;
  box-shadow: 0 0 0 1px #1d1c1d, 0 0 0 7px #0b0b0c, 0 0 0 8px #232123, 0 40px 90px rgba(0, 0, 0, .7);
}
.board--hero {
  z-index: 2;
  left: max(var(--sc-gutter), calc(var(--sl) + var(--sw) * 0.03));
  width: min(calc(var(--sw) * 0.54), 60rem);
  top: max(calc(var(--nav) + 14px), calc(var(--st) + var(--sh) * 0.04));
  height: calc(var(--st) + var(--sh) * 0.405 - max(calc(var(--nav) + 14px), calc(var(--st) + var(--sh) * 0.04)));
  transform-origin: 0 0; will-change: transform;
}
.hb { position: absolute; top: 0; left: 0; right: 0; padding: clamp(1rem, 2.4vh, 1.8rem) clamp(1.1rem, 2vw, 2rem); display: flex; flex-direction: column; gap: clamp(.6rem, 1.6vh, 1rem); }
.hb__copy { display: grid; justify-items: start; gap: clamp(.6rem, 1.6vh, 1rem); }
.hb__title { width: max-content; max-width: 100%; }
.hb__act { width: max-content; }
.hb__title { font-size: min(4.5vw, 7.4svh); line-height: .96; }
.hb__title span { display: block; }
.hb__sub { margin: 0; max-width: 30ch; font-size: clamp(.98rem, .8rem + .45vw, 1.2rem); line-height: 1.42; color: #ddd7cb; }
.hb__act { margin: 0; }
.board__legs { position: absolute; left: 14%; right: 14%; top: 100%; height: 60vh; pointer-events: none;
  background: linear-gradient(90deg, #121214 0 16px, transparent 16px calc(100% - 16px), #121214 calc(100% - 16px)); }
.board__legs::before { content: ""; position: absolute; left: 0; right: 0; top: 18%; height: 8px; background: #101012; }
.board__grid--stage { z-index: 4; opacity: 0; --pitch: 9px; }
.hb2 { opacity: 0; position: absolute; z-index: 5; left: var(--sc-gutter); right: var(--sc-gutter); bottom: 16vh; margin: 0;
  font-size: clamp(2.8rem, 1rem + 7vw, 8rem); line-height: .94; }
.hb2 > span { display: block; }
[data-write] .ch { opacity: .06; }
[data-write] .ch.on { opacity: 1; }

/* --------------------------------------------------------------- gates -- */
.gates { padding: calc(var(--nav) + 1.5rem) 0 clamp(2rem, 4vw, 3.5rem); }
.panel { position: relative; border-radius: 6px; padding: clamp(1.25rem, 3vw, 3rem); background: #070708; box-shadow: 0 0 0 1px #1d1c1d, 0 0 0 7px #0b0b0c, 0 0 0 8px #232123; }
.panel > *:not(.board__grid) { position: relative; }
.gates__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.prices { border-collapse: collapse; width: 100%; max-width: 34rem; margin-top: 2rem; }
.prices th, .prices td { text-align: left; padding: .7rem .6rem .7rem 0; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.prices thead th { font-variation-settings: "wdth" 118; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); font-weight: 800; }
.prices thead small { display: block; color: var(--sc-ink-soft); letter-spacing: .04em; text-transform: none; font-weight: 500; font-size: .78rem; }
.prices tbody th { font-weight: 600; color: #d3cdc1; font-size: 1rem; }
.prices tbody th small { color: var(--sc-ink-soft); font-weight: 500; }
.prices td { font-family: "Doto", monospace; font-weight: 900; font-variation-settings: "ROND" 100; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); color: var(--white); text-transform: uppercase; line-height: 1; }
.side-h { margin: 0; font-variation-settings: "wdth" 125; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.next { list-style: none; margin: 0; padding: 0; }
.next li { display: grid; grid-template-columns: 7.6rem minmax(0, 1fr); gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.next .nx-d { font-family: "Doto", monospace; font-weight: 900; text-transform: uppercase; font-size: 1.25rem; color: var(--white); }
.next .nx-k { color: #d3cdc1; font-size: .95rem; }
.next .nx-k b { color: var(--amber); font-weight: 700; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; color: #cfc9bd; font-size: .98rem; line-height: 1.45; }
.facts b { color: var(--white); margin-right: .35rem; }

/* -------------------------------------------------------------- screens -- */
.screen { position: relative; overflow: hidden; background: #000; border-radius: 4px;
  box-shadow: 0 0 0 1px #1d1c1d, 0 0 0 7px #0b0b0c, 0 0 0 8px #232123, 0 30px 80px rgba(0, 0, 0, .6); }
.screen > img, .screen > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
/* the LED layer, drawn by bs.js: a downsampled frame behind a dot mask */
.led-layer { position: absolute; inset: 0; z-index: 3; background: #000; pointer-events: none; opacity: 0; }
.led-layer canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 74%, transparent 84%);
          mask-image: radial-gradient(circle closest-side, #000 74%, transparent 84%);
  -webkit-mask-size: var(--cell, 12px) var(--cell, 12px);
          mask-size: var(--cell, 12px) var(--cell, 12px);
}
figure[data-led] { position: relative; overflow: hidden; margin: 0; background: #000; }
figure[data-led] img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }

/* -------------------------------------------------------------- horses -- */
.horses__stage {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center;
  gap: clamp(2rem, 4vw, 4rem); padding: calc(var(--nav) + 3vh) var(--sc-gutter) 4vh;
  background: var(--black);
}
.horses__copy { display: grid; gap: 1.2rem; align-content: center; }
.horses__copy .bp { margin-bottom: .4rem; }
.screen--horses { width: 100%; max-height: calc(100svh - var(--nav) - 10vh); aspect-ratio: 940 / 788; justify-self: end; height: auto; }

/* ---------------------------------------------------------------- food -- */
.food__stage { background: var(--black); padding-top: var(--nav); }
.rail { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); height: 100%; padding-inline: var(--sc-gutter); width: max-content; }
.rail__lead { width: min(29rem, 82vw); display: grid; gap: 1.2rem; flex: none; }
.menu { width: clamp(16rem, 25vw, 23rem); flex: none; display: grid; gap: .6rem; }
.menu__pic { aspect-ratio: 4 / 3; border-radius: 4px; box-shadow: 0 0 0 1px #1d1c1d, 0 0 0 6px #0b0b0c, 0 0 0 7px #232123; margin-bottom: .8rem; }
.menu__name { margin: 0; font-family: "Doto", monospace; font-weight: 900; font-variation-settings: "ROND" 100; text-transform: uppercase; font-size: clamp(1.35rem, 1rem + 1vw, 1.8rem); line-height: 1; color: var(--white); }
.menu__what { margin: 0; color: #cfc9bd; font-size: .95rem; line-height: 1.45; min-height: 4.3em; }
.menu__prices { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; color: var(--sc-ink-soft); font-size: .85rem; font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.menu__prices b { display: block; font-family: "Doto", monospace; font-weight: 900; font-size: 1.7rem; color: var(--amber); letter-spacing: 0; line-height: 1.05; }
.rail__end { width: min(20rem, 76vw); flex: none; display: grid; gap: 1rem; padding-right: var(--sc-gutter); }
.rail__end a { color: var(--white); }

/* ---------------------------------------------------------- dogs next -- */
.next-up__stage { background: var(--black); display: flex; align-items: flex-end; padding: calc(var(--nav) + 4vh) var(--sc-gutter) 14vh; }
.board__grid--full { --pitch: 9px; }
.write { position: relative; max-width: 14ch; font-size: clamp(2.8rem, 1rem + 7.4vw, 8.4rem); line-height: .95; }
.write__b .ch.on { color: var(--amber); }

/* -------------------------------------------------------------- dogs ---- */
.dogs__stage { background: var(--black); display: flex; flex-direction: column; justify-content: center; gap: clamp(.6rem, 2vh, 1.4rem); padding: calc(var(--nav) + 2vh) 0 3vh; }
.dogs__bp { margin: 0 var(--sc-gutter); }
.dogs__title { margin-inline: var(--sc-gutter); font-size: min(8.4vw, 12.5svh); line-height: .9; }
.screen--dogs { width: 100%; height: min(31.6vw, 46svh); border-radius: 0; flex: none; }
.dogs__facts { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-inline: var(--sc-gutter); }
.dogs__price { margin: 0; display: flex; gap: 2rem; color: var(--sc-ink-soft); font-variation-settings: "wdth" 112; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; }
.dogs__price b { display: block; font-family: "Doto", monospace; font-weight: 900; font-size: 2.2rem; color: var(--amber); letter-spacing: 0; line-height: 1; }

/* ----------------------------------------------------------- christmas -- */
.xmas { padding: clamp(4rem, 9vw, 9rem) 0; background: var(--black); position: relative; }
.xmas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, #1f1416 0 1.5px, transparent 2px) 0 0 / 9px 9px; pointer-events: none; }
.xmas__grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.prices--xmas { max-width: 28rem; }
.prices--xmas thead th { color: var(--red); }
.xmas__pics { position: relative; height: clamp(26rem, 44vw, 38rem); }
.xmas__pics .xp { position: absolute; border-radius: 4px; box-shadow: 0 0 0 1px #1d1c1d, 0 0 0 6px #0b0b0c, 0 0 0 7px #232123, 0 30px 60px rgba(0, 0, 0, .55); aspect-ratio: 1400 / 934; }
.xp--a { width: 72%; left: 0; top: 0; }
.xp--b { width: 50%; right: 0; top: 34%; z-index: 2; }
.xp--c { width: 46%; left: 10%; bottom: 0; z-index: 3; }

/* --------------------------------------------------------------- night -- */
.night { padding-top: clamp(4rem, 8vw, 7rem); background: var(--black); }
.night__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.night__boardcol { position: sticky; top: calc(var(--nav) + 1.5rem); }
.night__h { margin: 0 0 1.4rem; font-variation-settings: "wdth" 125; font-weight: 900; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.night__h span { color: var(--amber); }
.board--msg { position: relative; min-height: clamp(15rem, 26vw, 22rem); padding: clamp(1.2rem, 2.6vw, 2.2rem); display: flex; flex-direction: column; justify-content: center; gap: .8rem; overflow: hidden; }
.msg { position: relative; margin: 0; overflow-wrap: anywhere; }
.msg--1 { color: var(--amber); font-size: clamp(1.3rem, 1rem + 1.3vw, 2.2rem); }
.msg--2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 4.2rem); line-height: .95; }
.msg--2.is-empty { color: #4a4744; }
.msg--3 { font-size: clamp(1.1rem, .9rem + .9vw, 1.6rem); }
.msg--4 { color: var(--teal); font-size: clamp(1rem, .85rem + .7vw, 1.4rem); }
.msg .ch { transition: opacity .12s; }
.msg .ch.off { opacity: .08; }
.night__note { margin: 1rem 0 0; color: var(--sc-ink-soft); font-size: .9rem; max-width: 46ch; }

.plan { display: grid; gap: 1.5rem; }
.field { border: 0; margin: 0; padding: 0; display: grid; gap: .55rem; min-width: 0; }
.field__label { font-variation-settings: "wdth" 125; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); padding: 0; }
.plan input[type="text"], .plan select {
  width: 100%; min-width: 0; min-height: 50px; padding: .7rem .9rem; border-radius: 4px;
  background: #0e0e10; border: 1px solid #3a3738; color: var(--white); font-size: 1.05rem;
}
.plan input[type="text"]::placeholder { color: #85807a; }
.plan select option, .plan select optgroup { background: #0e0e10; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid #3a3738; border-radius: 4px; font-weight: 600; color: #d3cdc1; }
.chips input:checked + span { border-color: var(--amber); color: var(--amber); background: rgba(255, 178, 30, .08); }
.chips input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.steppers { display: grid; gap: .5rem; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) 44px 3rem 44px; align-items: center; gap: .4rem; padding: .3rem 0; border-bottom: 1px solid var(--line); }
.step span { color: #d3cdc1; }
.step button { width: 44px; height: 44px; border-radius: 4px; border: 1px solid #3a3738; background: #0e0e10; color: var(--white); font-size: 1.3rem; cursor: pointer; }
.step button:disabled { opacity: .35; cursor: default; }
.step output { text-align: center; font-family: "Doto", monospace; font-weight: 900; font-size: 1.6rem; color: var(--amber); }
.pkgs { display: grid; gap: .5rem; }
.pkg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: start; padding: .8rem .9rem; border: 1px solid #2f2d2e; border-radius: 4px; cursor: pointer; }
.pkg:has(input:checked) { border-color: var(--amber); background: rgba(255, 178, 30, .06); }
.pkg:has(input:disabled) { opacity: .55; cursor: default; }
.pkg input { margin-top: .25rem; width: 18px; height: 18px; }
.pkg b { display: block; font-weight: 700; color: var(--white); }
.pkg small { display: block; color: var(--sc-ink-soft); font-size: .86rem; line-height: 1.4; margin-top: .15rem; }
.pkg .pp { font-family: "Doto", monospace; font-weight: 900; font-size: 1.15rem; color: var(--amber); white-space: nowrap; text-transform: uppercase; }
.sum { border-top: 1px solid var(--line); padding-top: 1.2rem; display: grid; gap: .8rem; }
.sum__when { margin: 0; color: #d3cdc1; }
.sum__total { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.sum__total span { font-variation-settings: "wdth" 125; font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft); }
.sum__total strong { font-family: "Doto", monospace; font-weight: 900; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--amber); }
.sum__small { margin: 0; color: var(--sc-ink-soft); font-size: .86rem; line-height: 1.45; }
.sum__actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.foot { margin-top: clamp(4rem, 8vw, 7rem); padding: 2.5rem 0 2rem; border-top: 1px solid var(--line); color: #c4beb2; font-size: .92rem; }
.foot__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.foot p { margin: 0 0 .4rem; }
.foot a { color: var(--white); }
.foot__brand { font-variation-settings: "wdth" 125; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; color: var(--white); }
.foot__small { margin-top: 1.6rem !important; color: var(--sc-ink-soft); font-size: .82rem; }

/* -------------------------------------------------------------- mobile -- */
@media (max-width: 860px) {
  :root { --nav: 78px; }
  .ticker__row { gap: .6rem; height: 44px; }
  .brand__word { display: none; }
  .mq-pause__txt { display: none; }
  .mq-pause { width: 34px; justify-content: center; padding: 0; }
  .marquee__list li { font-size: .98rem; padding-inline: 1rem; }

  .welcome__stage { --sw: 230vw; --sh: calc(var(--sw) / 1.5037); --st: calc(100svh - var(--sh) * 0.92); --sl: calc(50vw - var(--sw) * 0.55); }
  .board--hero { left: 4vw; width: 92vw; top: calc(var(--nav) + 12px); height: calc(var(--st) + var(--sh) * 0.31 - var(--nav) - 12px); }
  .hb__copy { display: grid; justify-items: start; gap: clamp(.6rem, 1.6vh, 1rem); }
.hb__title { width: max-content; max-width: 100%; }
.hb__act { width: max-content; }
.hb__title { font-size: clamp(2rem, 10.4vw, 2.9rem); }
  .hb__sub { font-size: 1rem; }

  .gates { padding-top: calc(var(--nav) + 2rem); }
  .gates__grid { grid-template-columns: minmax(0, 1fr); }
  .prices th, .prices td { padding-right: .4rem; }

  .horses__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; align-content: start; gap: 1.2rem; padding-top: calc(var(--nav) + 2.2vh); }
  .screen--horses { order: -1; justify-self: stretch; max-height: 42svh; aspect-ratio: auto; height: min(42svh, 84vw); }
  .horses__copy { gap: .8rem; }
  .horses__copy .bp { display: none; }

  .menu { width: 76vw; }
  .menu__pic { aspect-ratio: 16 / 10; }

  .next-up__stage { padding-bottom: 18vh; }

  .screen--dogs { height: 40svh; }
  .dogs__title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .dogs__facts .lede { font-size: .98rem; }

  .xmas__grid { grid-template-columns: minmax(0, 1fr); }
  .xmas__pics { height: 118vw; }

  .night__grid { grid-template-columns: minmax(0, 1fr); }
  .night__boardcol { position: static; }
  .foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) and (max-height: 700px) {
  .hb__sub { display: none; }
  .welcome__stage { --st: calc(100svh - var(--sh) * 0.74); }
  .hb__copy { display: grid; justify-items: start; gap: clamp(.6rem, 1.6vh, 1rem); }
.hb__title { width: max-content; max-width: 100%; }
.hb__act { width: max-content; }
.hb__title { font-size: clamp(1.8rem, 9vw, 2.4rem); }
  .horses__copy .lede { font-size: .92rem; line-height: 1.4; }
  .horses__copy .led--lg { font-size: 1.9rem; }
  .screen--horses { height: 36svh; }
  .dogs__facts .lede { display: none; }
  .screen--dogs { height: 38svh; }
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .led-layer { display: none; }
  [data-write] .ch { opacity: 1; }
  .hb2, .board__grid--stage { display: none; }
  .msg .ch.off { opacity: 1; }
}
