/* Stadium Stylz Cutz — the scoreboard.
   Tokens: program paper #F7F4EC, board green #0D2018,
   floodlight amber #F2A93B (on the board only), ink #1C2420. */

:root {
  --paper: #F7F4EC;
  --board: #0D2018;
  --amber: #F2A93B;
  --ink: #1C2420;
  --muted: #46524A;
  --numgreen: #1E5B40;
  --board-2nd: #C9D4CC;
  --hair: rgba(28, 36, 32, 0.16);
  --hair-board: rgba(247, 244, 236, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.board a:focus-visible, .visit a:focus-visible { outline-color: var(--amber); }

.skip {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-80px);
  transition: transform 0.2s ease;
}
.skip:focus { transform: none; color: var(--paper); }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 8px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
}

.wordmark {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
  padding: 10px 0;
}

.head-nav { display: flex; gap: 8px; }
.head-nav a {
  font-weight: 600;
  text-decoration: none;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.head-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.head-dir {
  display: none;
  font-weight: 600;
  padding: 10px 4px;
  min-height: 44px;
  align-items: center;
}

.call-pill {
  background: var(--board);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.call-pill:active { transform: scale(0.98); }

body.at-visit .call-pill, body.at-board .call-pill {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- the board ---------- */

.board {
  background: var(--board);
  color: #fff;
  padding: 56px 24px 64px;
}

.board-inner {
  max-width: 1200px;
  margin: 0 auto;
  animation: settle 0.45s ease both;
}

@keyframes settle {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 19px;
  font-weight: 600;
  color: var(--amber);
}

.state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.board-name {
  margin: 0;
  font-size: clamp(44px, 8.6vw, 104px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
}

.board-addr {
  margin: 20px 0 0;
  font-size: 19px;
  color: var(--board-2nd);
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hair-board);
}

.today-line {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.board-call {
  background: var(--amber);
  color: var(--board);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.board-call:active { transform: scale(0.98); }

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

.hero-photo {
  width: 100%;
  height: clamp(300px, 52vw, 560px);
  object-fit: cover;
  object-position: 50% 64%;
}

/* ---------- sections on paper ---------- */

.measure {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.lineup, .week { padding: 96px 0; }
.week { padding-top: 0; }

h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.lead {
  margin: 0 0 40px;
  font-size: 19px;
  color: var(--muted);
}

/* the lineup */

.prices {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 880px;
}

.prices li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 56px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
}
.prices li:first-child { border-top: 1px solid var(--hair); }

.num {
  color: var(--numgreen);
  font-weight: 700;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  min-width: 1.4em;
}

.pname { font-size: 18px; font-weight: 600; }

.leader {
  flex: 1;
  border-bottom: 2px dotted rgba(28, 36, 32, 0.35);
  transform: translateY(-4px);
  min-width: 24px;
}

.price {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* the work */

.work {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
}

.work img { width: 100%; height: auto; }

.work-copy h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.work-copy p { margin: 0; font-size: 19px; }

/* the week */

.fixtures {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.fixture {
  border: 1px solid var(--hair);
  padding: 14px;
}

.fday { margin: 0 0 6px; font-weight: 600; font-size: 16px; }
.fhrs { margin: 0; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }

.fixture.today { background: var(--board); border-color: var(--board); }
.fixture.today .fday { color: var(--amber); }
.fixture.today .fhrs { color: #fff; }

.today-mark {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-left: 8px;
  vertical-align: 2px;
}

/* ---------- the gate ---------- */

.visit {
  background: var(--board);
  color: #fff;
  padding: 96px 0;
}

.visit-addr {
  color: #fff;
  font-size: clamp(30px, 5.4vw, 60px);
  line-height: 1.08;
  margin-bottom: 16px;
}

.visit-line { margin: 0 0 40px; font-size: 19px; color: var(--board-2nd); }

.visit-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.dir-outline {
  color: #fff;
  border: 1px solid rgba(247, 244, 236, 0.55);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.dir-outline:active { transform: scale(0.98); }

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

.site-foot { padding: 40px 24px 48px; }
.site-foot p { margin: 0 0 4px; color: var(--muted); }
.site-foot .foot-name { color: var(--ink); font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.site-foot .foot-copy { margin-top: 16px; font-size: 13.5px; font-weight: 600; }

/* ---------- phone bar ---------- */

.phonebar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--hair);
  transition: transform 0.3s ease;
}

.phonebar a {
  flex: 1;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.bar-call { background: var(--board); color: #fff; }
.bar-dir { border: 1px solid var(--ink); color: var(--ink); }

body.at-visit .phonebar, body.at-board .phonebar { transform: translateY(110%); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .fixtures { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .head-nav, .call-pill { display: none; }
  .head-dir { display: inline-flex; }
  .board { padding: 40px 20px 48px; }
  .board-row { margin-top: 32px; padding-top: 24px; }
  .lineup, .week { padding: 64px 0; }
  .week { padding-top: 0; }
  .measure { padding: 0 20px; }
  .work { grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
  .fixtures { grid-template-columns: 1fr; }
  .fixture {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }
  .fday { margin: 0; }
  .visit { padding: 64px 0; }
  .phonebar { display: flex; }
  .site-foot { padding-bottom: 120px; }
  .pname { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .board-inner { animation: none; }
  .phonebar, .skip, .call-pill { transition: none; }
}
