/* ==========================================================
   OFFICIAL PROGRAM — Drew Crichton
   Two-color letterpress on newsprint. Red + navy on cream.
   ========================================================== */

:root {
  --paper: #efe3c6;
  --paper-deep: #e4d3ab;
  --ink: #221c17;
  --ink-soft: #4a3f35;
  --red: #b3372c;
  --red-deep: #8e2a22;
  --navy: #1d3456;
  --mustard: #d6a03a;
  --board: #23382c;
  --board-line: #3b5746;
  --chalk: #f4efe0;
  --table: #3a2a1f;

  --slab: "Alfa Slab One", "Rockwell", Georgia, serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --script: "Yellowtail", "Brush Script MT", cursive;
  --body: "Old Standard TT", Georgia, "Times New Roman", serif;

  --gutter: 16px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  /* the program sits on an old wooden bleacher */
  background-color: var(--table);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 140px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px);
  padding: 28px var(--gutter) 64px;
  overflow-x: hidden;
}

::selection { background: var(--mustard); color: var(--ink); }

a { color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

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

/* ---------- The physical program ---------- */
.program {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  background-color: var(--paper);
  /* paper grain + age at the edges */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .15 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(140,100,40,.22) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.3) inset,
    0 30px 60px -20px rgba(0,0,0,.7),
    0 8px 18px rgba(0,0,0,.35);
  padding: 22px clamp(14px, 3.4vw, 40px) 28px;
}
.program::before { /* inner double rule, like a printed frame */
  content: "";
  position: absolute;
  inset: 10px;
  border: 4px double var(--ink);
  pointer-events: none;
}

/* ---------- Type helpers ---------- */
.slab { font-family: var(--slab); font-weight: 400; letter-spacing: .01em; }
.cond { font-family: var(--cond); text-transform: uppercase; letter-spacing: .09em; }
.script { font-family: var(--script); font-weight: 400; }
.red { color: var(--red); }
.navy { color: var(--navy); }
.misreg { text-shadow: 2px 1.5px 0 rgba(179,55,44,.5); }
.misreg-navy { text-shadow: -2px 1.5px 0 rgba(29,52,86,.45); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.02; }
p { margin: 0 0 .9em; }

/* ---------- Masthead strip ---------- */
.masthead {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  outline: 1.5px solid var(--ink);
  outline-offset: 3px;
  margin: 6px 0 4px;
  padding: 6px 2px 5px;
  font-family: var(--cond);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.masthead .star { color: var(--red); }

/* ---------- Contents nav ---------- */
.contents {
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  font-family: var(--cond);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.contents .label { color: var(--red); margin-right: 10px; font-weight: 600; }
.contents a {
  color: var(--ink);
  text-decoration: none;
  padding: 2px 10px;
  border-left: 1px solid rgba(34,28,23,.35);
}
.contents a:first-of-type { border-left: 0; }
.contents a .pg { color: var(--red); font-size: 11px; margin-left: 4px; }
.contents a:hover, .contents a[aria-current="page"] { background: var(--ink); color: var(--paper); }
.contents a[aria-current="page"] .pg, .contents a:hover .pg { color: var(--mustard); }

/* ---------- Rules & section heads ---------- */
.rule { border: 0; border-top: 1.5px solid var(--ink); margin: 26px 0; position: relative; }
.rule.double { border-top: 4px double var(--ink); }
.rule.stars { border: 0; text-align: center; height: auto; margin: 26px 0; }
.rule.stars::before { content: "★ ★ ★"; color: var(--red); letter-spacing: .6em; font-size: 14px; }

.section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 38px 0 18px;
}
.section-head::before, .section-head::after {
  content: "";
  flex: 1;
  height: 7px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.section-head h2 {
  font-family: var(--slab);
  font-size: clamp(26px, 4.4vw, 40px);
  text-transform: uppercase;
  color: var(--navy);
  text-shadow: 2px 1.5px 0 rgba(179,55,44,.45);
  text-align: center;
}
.kicker {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
}

/* ---------- Cover ---------- */
.cover {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
  margin-top: 18px;
}
.cover-art {
  position: relative;
  border: 3px solid var(--ink);
  overflow: hidden;
  min-height: 560px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 26px 20px 22px;
  isolation: isolate;
}
.sunburst {
  position: absolute;
  inset: -40%;
  z-index: -2;
  background: repeating-conic-gradient(from 0deg at 50% 46%, rgba(179,55,44,.85) 0 5deg, transparent 5deg 10deg);
  animation: spin 160s linear infinite;
}
.cover-art::after { /* halftone fade over the rays */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 44%, var(--paper) 0 30%, transparent 62%),
    radial-gradient(rgba(34,28,23,.28) 1px, transparent 1.6px) 0 0 / 6px 6px;
  mix-blend-mode: normal;
}
@keyframes spin { to { transform: rotate(360deg); } }

.cover-title {
  font-family: var(--slab);
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: .9;
  color: var(--navy);
  text-transform: uppercase;
  text-align: center;
  margin-top: 14px;
  text-shadow: 3px 3px 0 var(--paper), 5px 5px 0 var(--red);
}
.cover-title small {
  display: block;
  font-size: .38em;
  letter-spacing: .12em;
  color: var(--ink);
  text-shadow: none;
}

.emblem {
  position: relative;
  width: min(260px, 64vw);
  aspect-ratio: 1;
  margin: 18px auto 6px;
}
.emblem svg { width: 100%; height: 100%; display: block; filter: drop-shadow(4px 5px 0 rgba(34,28,23,.35)); }

.name-script {
  font-family: var(--script);
  font-size: clamp(50px, 7.4vw, 84px);
  white-space: nowrap;
  color: var(--red);
  line-height: 1;
  margin: -6px 0 0;
  transform: rotate(-6deg);
  text-shadow: 3px 3px 0 var(--paper), 4px 4px 0 var(--navy);
  position: relative;
  z-index: 1;
}
.name-script::after { /* the swash under a team script */
  content: "";
  display: block;
  height: 6px;
  margin: -4px 10% 0 18%;
  background: var(--red);
  border-radius: 0 50% 50% 0 / 0 100% 100% 0;
  box-shadow: 1px 1px 0 var(--navy);
}

.cover-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.cover-meta span { background: var(--paper); padding: 2px 8px; border: 1.5px solid var(--ink); }

/* ---------- Know the Starter (cover, right column) ---------- */
.starter {
  position: relative;
  border: 3px solid var(--ink);
  background: var(--paper-deep);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.starter::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
  pointer-events: none;
}
.starter h1 {
  font-family: var(--slab);
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: .98;
  text-transform: uppercase;
  margin: 12px 0 4px;
}
.starter h1 .red { color: var(--red); display: block; margin-top: 8px; }
.starter .dateline {
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 3px 0;
  margin: 14px 0 14px;
}
.starter p { font-size: 17px; line-height: 1.5; text-align: left; }
.starter .wanted { margin: 6px auto 0; font-size: 13.5px; line-height: 1.35; }
.starter-links { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.starter-links .btn { font-size: 14px; padding: 9px 14px; }

.ruling.closing { max-width: 760px; margin: 0 auto; }

/* ---------- The Commissioner's Ruling (bottom of the cover page) ---------- */
.ruling {
  position: relative;
  border: 3px solid var(--ink);
  background: var(--paper-deep);
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
}
.ruling::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--ink);
  pointer-events: none;
}
.ruling .kicker { text-align: center; }
.ruling h2 {
  font-family: var(--slab);
  font-size: clamp(28px, 3.6vw, 38px);
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  margin: 10px 0 6px;
  line-height: .98;
}
.ruling h2 em { color: var(--red); font-style: normal; }
.ruling .dateline {
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 3px 0;
  margin: 8px 0 12px;
}
.ruling p { font-size: 16px; line-height: 1.5; }
.ruling p:first-of-type::first-letter {
  font-family: var(--slab);
  float: left;
  font-size: 3.1em;
  line-height: .85;
  padding: 4px 6px 0 0;
  color: var(--red);
}
.stamp {
  align-self: flex-end;
  margin-top: auto;
  font-family: var(--slab);
  text-transform: uppercase;
  color: var(--red);
  border: 3px solid var(--red);
  border-radius: 6px;
  padding: 4px 12px 2px;
  font-size: 20px;
  letter-spacing: .06em;
  transform: rotate(-9deg);
  opacity: .85;
  mask-image: radial-gradient(rgba(0,0,0,.9) 55%, rgba(0,0,0,.55));
  -webkit-mask-image: radial-gradient(rgba(0,0,0,.9) 55%, rgba(0,0,0,.55));
  line-height: 1.1;
  text-align: center;
}
.stamp small { display: block; font-family: var(--cond); font-size: 11px; letter-spacing: .2em; }
.pineapple-ico { width: 54px; height: 54px; display: block; margin: 0 auto; }

/* ---------- The one line ---------- */
.wanted {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 15px;
  background: var(--navy);
  color: var(--paper);
  padding: 7px 16px;
  box-shadow: 4px 4px 0 var(--red);
}

/* ---------- Order of play (ticket stubs) ---------- */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ticket {
  --notch: 11px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: 0;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.ticket:hover { transform: translate(-2px, -3px) rotate(-.6deg); box-shadow: 7px 8px 0 var(--ink); color: var(--ink); }
.ticket .stub-top {
  background: var(--navy);
  color: var(--paper);
  padding: 10px 14px 8px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
}
.ticket.alt .stub-top { background: var(--red); }
.ticket .stub-top b { font-family: var(--slab); font-weight: 400; font-size: 22px; letter-spacing: 0; }
.ticket .stub-body { padding: 14px 14px 12px; flex: 1; }
.ticket .vs {
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
}
.ticket h3 {
  font-family: var(--slab);
  font-size: 25px;
  text-transform: uppercase;
  margin: 4px 0 8px;
  color: var(--navy);
}
.ticket p { font-size: 15.5px; line-height: 1.45; margin: 0; }
.ticket .perf {
  position: relative;
  border-top: 2px dashed var(--ink);
  margin: 0 var(--notch);
}
.ticket .perf::before, .ticket .perf::after {
  content: "";
  position: absolute;
  top: calc(-1 * var(--notch) - 1px);
  width: calc(var(--notch) * 2);
  height: calc(var(--notch) * 2);
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.ticket .perf::before { left: calc(-2 * var(--notch) - 2px); clip-path: inset(0 0 0 50%); }
.ticket .perf::after { right: calc(-2 * var(--notch) - 2px); clip-path: inset(0 50% 0 0); }
.ticket .stub-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px 12px;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}
.ticket .stat { font-family: var(--slab); font-size: 26px; color: var(--red); letter-spacing: 0; line-height: 1; }
.ticket .stat small { display: block; font-family: var(--cond); font-size: 10.5px; color: var(--ink); letter-spacing: .12em; margin-top: 3px; }
.ticket .go { border: 1.5px solid var(--ink); padding: 3px 8px; }
.ticket:hover .go { background: var(--ink); color: var(--paper); }

/* ---------- Scoreboard ---------- */
.scoreboard {
  background: var(--board);
  border: 6px solid #1a1a1a;
  outline: 3px solid var(--mustard);
  outline-offset: -12px;
  color: var(--chalk);
  padding: 24px 22px 20px;
  position: relative;
  box-shadow: 0 6px 0 rgba(34,28,23,.35);
}
.scoreboard .board-title {
  font-family: var(--cond);
  letter-spacing: .32em;
  text-transform: uppercase;
  text-align: center;
  font-size: 14px;
  color: var(--mustard);
  margin-bottom: 14px;
}
.board-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.board-cell { text-align: center; border: 1px solid var(--board-line); padding: 12px 6px 10px; background: rgba(0,0,0,.18); }
.board-cell .num {
  font-family: var(--slab);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1;
  color: #fff6d6;
  text-shadow: 0 0 10px rgba(255,220,120,.35);
  font-variant-numeric: tabular-nums;
}
.board-cell .lbl { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-top: 8px; color: #c9d4c4; }
.innings {
  margin-top: 16px;
  width: 100%;
  border-collapse: collapse;
  font-family: var(--cond);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.innings th, .innings td { border: 1px solid var(--board-line); padding: 6px 6px; text-align: center; }
.innings th { color: var(--mustard); font-weight: 500; }
.innings td:first-child, .innings th:first-child { text-align: left; }
.innings td.hi { color: #fff6d6; font-family: var(--slab); font-size: 17px; }
.board-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Two-column editorial layout ---------- */
.spread { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.column-rule { border-left: 1.5px solid var(--ink); padding-left: 26px; }

.pressbox h3 {
  font-family: var(--slab);
  font-size: clamp(28px, 4vw, 40px);
  text-transform: uppercase;
  line-height: .98;
  margin: 6px 0 4px;
}
.byline { font-family: var(--cond); text-transform: uppercase; font-size: 12.5px; letter-spacing: .14em; margin-bottom: 14px; color: var(--ink-soft); }
.twocol { columns: 2; column-gap: 26px; column-rule: 1px solid rgba(34,28,23,.4); }
.twocol p { break-inside: avoid-column; }
.pullquote {
  font-family: var(--slab);
  font-size: 22px;
  line-height: 1.12;
  color: var(--red);
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  padding: 10px 0;
  margin: 6px 0 16px;
  break-inside: avoid;
}

/* ---------- Vintage ads ---------- */
.ad {
  border: 3px solid var(--ink);
  padding: 14px 14px 12px;
  text-align: center;
  position: relative;
  margin-bottom: 18px;
  background: var(--paper);
}
.ad .tiny { font-family: var(--cond); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.ad h4 { font-family: var(--slab); font-size: 28px; text-transform: uppercase; color: var(--red); margin: 6px 0; line-height: .95; }
.ad .script { font-size: 34px; color: var(--navy); line-height: 1; display: block; transform: rotate(-4deg); }
.ad p { font-size: 14.5px; line-height: 1.4; margin: 8px 0 4px; }
.ad.navy { background: var(--navy); color: var(--paper); border-color: var(--navy); outline: 2px solid var(--navy); outline-offset: 3px; }
.ad.navy h4 { color: var(--mustard); }
.ad.navy .script { color: var(--paper); }
.ad.navy a { color: var(--mustard); }
.ad.dashed { border-style: dashed; }
.ad .coupon {
  display: inline-block;
  border: 2px dashed currentColor;
  padding: 3px 10px;
  font-family: var(--cond);
  letter-spacing: .12em;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- Colophon ---------- */
.colophon {
  border: 1.5px solid var(--ink);
  padding: 14px 16px 6px;
  font-size: 15px;
  background: repeating-linear-gradient(-45deg, transparent 0 8px, rgba(34,28,23,.035) 8px 9px);
}
.colophon h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .16em; font-size: 14px; margin-bottom: 8px; color: var(--red); }

/* ---------- Folio / footer ---------- */
.folio {
  margin-top: 36px;
  border-top: 4px double var(--ink);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
}
.folio .pgnum { font-family: var(--slab); font-size: 18px; letter-spacing: 0; }
.folio a { color: var(--ink); }
.lucky {
  background: none;
  border: 1.5px solid var(--ink);
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  padding: 2px 8px;
  cursor: pointer;
}
.lucky:hover { background: var(--ink); color: var(--paper); }

/* ==========================================================
   GAME RECAP (project pages)
   ========================================================== */
.game-head { text-align: center; margin-top: 22px; }
.game-head .gamedate {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 4px 12px;
}
.game-head h1 {
  font-family: var(--slab);
  font-size: clamp(48px, 10vw, 110px);
  line-height: .9;
  color: var(--navy);
  text-transform: uppercase;
  margin-top: 18px;
  text-shadow: 3px 3px 0 var(--paper), 6px 6px 0 var(--red);
}
.game-head .versus {
  font-family: var(--script);
  font-size: clamp(36px, 6vw, 60px);
  color: var(--red);
  transform: rotate(-3deg);
  margin-top: 6px;
  line-height: 1.1;
}
.game-head .dek { max-width: 700px; margin: 12px auto 0; font-size: 19px; font-style: italic; }

.matchup {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  margin: 30px 0 8px;
  border: 3px solid var(--ink);
}
.matchup .side { padding: 16px 18px; }
.matchup .side.home { background: var(--navy); color: var(--paper); }
.matchup .side.visit { background: var(--paper-deep); }
.matchup .side .cond { font-size: 12px; letter-spacing: .2em; opacity: .85; }
.matchup .side h3 { font-family: var(--slab); font-size: 24px; text-transform: uppercase; margin: 6px 0 6px; }
.matchup .side.home h3 { color: var(--mustard); }
.matchup .side.visit h3 { color: var(--red); }
.matchup .side p { font-size: 15.5px; line-height: 1.45; margin: 0; }
.matchup .vsbadge {
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--paper);
  font-family: var(--slab);
  font-size: 30px;
  padding: 0 14px;
  border-left: 3px solid var(--ink);
  border-right: 3px solid var(--ink);
}

.recap { display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px; align-items: start; }
.recap h2 {
  font-family: var(--slab);
  font-size: clamp(26px, 3.8vw, 34px);
  text-transform: uppercase;
  color: var(--navy);
  margin: 28px 0 10px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.recap h2 .inning {
  font-family: var(--cond);
  font-size: 13px;
  letter-spacing: .16em;
  background: var(--red);
  color: var(--paper);
  padding: 2px 8px;
  transform: translateY(-5px);
  white-space: nowrap;
}
.recap .main > p:first-of-type::first-letter {
  font-family: var(--slab);
  float: left;
  font-size: 3.4em;
  line-height: .82;
  padding: 5px 8px 0 0;
  color: var(--red);
}
.plays { list-style: none; padding: 0; margin: 0 0 10px; counter-reset: play; }
.plays li {
  counter-increment: play;
  position: relative;
  padding: 0 0 14px 58px;
  margin-bottom: 14px;
  border-bottom: 1px dotted var(--ink);
}
.plays li::before {
  content: counter(play);
  position: absolute;
  left: 0;
  top: 2px;
  width: 42px;
  height: 42px;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--slab);
  font-size: 20px;
  color: var(--red);
  background: var(--paper);
}
.plays li b { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; display: block; font-size: 16px; }

.final-score { margin: 18px 0 10px; }
.final-score .board-grid { grid-template-columns: repeat(3, 1fr); }

.boxscore {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 20px;
  background: var(--paper);
}
.boxscore caption {
  font-family: var(--slab);
  text-transform: uppercase;
  font-size: 20px;
  text-align: left;
  padding-bottom: 6px;
  color: var(--navy);
}
.boxscore th, .boxscore td { border-bottom: 1px solid var(--ink); padding: 7px 6px; text-align: left; vertical-align: top; }
.boxscore th { font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 500; width: 42%; }
.boxscore tr:first-child th, .boxscore tr:first-child td { border-top: 3px solid var(--ink); }
.boxscore td { font-family: var(--cond); font-size: 15px; letter-spacing: .03em; }

.notes {
  border: 2px solid var(--ink);
  padding: 14px 16px 6px;
  background: var(--paper-deep);
  margin-bottom: 20px;
  font-size: 15.5px;
}
.notes h4 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--red); margin-bottom: 8px; }

.in-progress {
  display: inline-block;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  background: var(--mustard);
  color: var(--ink);
  padding: 3px 10px;
  border: 1.5px solid var(--ink);
  animation: blink 1.6s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { background: var(--paper); } }

.next-game {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.next-game a {
  flex: 1 1 240px;
  text-decoration: none;
  color: var(--ink);
  border: 2px solid var(--ink);
  padding: 12px 16px;
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease;
}
.next-game a:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--red); }
.next-game .cond { font-size: 12px; color: var(--red); display: block; }
.next-game .slab { font-size: 22px; text-transform: uppercase; color: var(--navy); }
.next-game a.right { text-align: right; }

/* ==========================================================
   KNOW YOUR PLAYER (about)
   ========================================================== */
.player-spread { display: grid; grid-template-columns: 340px 1fr; gap: 34px; align-items: start; margin-top: 24px; }

.card-wrap { perspective: 1400px; }
.card-hint { font-family: var(--cond); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; text-align: center; margin-top: 12px; color: var(--ink-soft); }
.bb-card {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 7;
  position: relative;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.3,1.4,.5,1);
  font: inherit;
  color: inherit;
  text-align: left;
}
.bb-card.flipped { transform: rotateY(180deg); }
.bb-card .face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.55), 0 2px 0 rgba(0,0,0,.2);
  overflow: hidden;
}
.bb-card .front {
  background: #f6efdc;
  border: 10px solid #f6efdc;
  outline: 1px solid rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
}
.bb-card .front .photo {
  flex: 1;
  position: relative;
  background: var(--navy);
  border: 3px solid var(--red);
  overflow: hidden;
}
.bb-card .front .photo {
  /* flat painted backdrop, like a 1950s program cover */
  background:
    radial-gradient(ellipse at 50% 38%, #93c0b1 0%, #6a9d8f 58%, #4f8174 100%);
}
.bb-card .front .photo img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 108%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.bb-card .front .photo::after { /* printed-ink texture over the portrait */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(34,28,23,.14) 1px, transparent 1.4px) 0 0 / 4px 4px;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.bb-card .front .team {
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--script);
  color: var(--mustard);
  font-size: 44px;
  line-height: 1;
  transform: rotate(-5deg);
  text-shadow: 2px 2px 0 var(--red-deep);
  z-index: 2;
}
.bb-card .front .nameplate {
  background: var(--red);
  color: #f6efdc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 6px;
  margin-top: 8px;
  font-family: var(--slab);
  text-transform: uppercase;
  font-size: 21px;
  letter-spacing: .02em;
}
.bb-card .front .nameplate .pos {
  font-family: var(--cond);
  font-size: 12px;
  letter-spacing: .12em;
  background: #f6efdc;
  color: var(--red);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.05;
  margin: -24px -4px -14px 0;
  border: 3px solid var(--navy);
}
.bb-card .back {
  transform: rotateY(180deg);
  background: #d9c9a0;
  border: 8px solid #cbb888;
  padding: 12px 12px 10px;
  font-family: var(--cond);
  color: #2a2119;
  display: flex;
  flex-direction: column;
  font-size: 12.5px;
}
.bb-card .back .back-head { display: flex; gap: 10px; align-items: center; border-bottom: 2px solid #2a2119; padding-bottom: 6px; }
.bb-card .back .num {
  font-family: var(--slab);
  font-size: 30px;
  background: var(--red);
  color: #f6efdc;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
}
.bb-card .back h3 { font-family: var(--slab); font-size: 20px; text-transform: uppercase; line-height: 1; }
.bb-card .back .vitals { text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; line-height: 1.35; margin-top: 2px; }
.bb-card .back table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 11.5px; text-transform: uppercase; }
.bb-card .back th { text-align: left; background: #2a2119; color: #d9c9a0; font-weight: 500; letter-spacing: .08em; padding: 3px 4px; }
.bb-card .back td { padding: 3px 4px; border-bottom: 1px solid rgba(42,33,25,.35); }
.bb-card .back td:last-child, .bb-card .back th:last-child { text-align: right; }
.bb-card .back .blurb { font-family: var(--body); font-size: 12.5px; line-height: 1.35; margin-top: auto; padding-top: 8px; border-top: 1px dashed #2a2119; }
.bb-card .back .cardno { display: block; text-align: right; margin-top: 4px; font-size: 10px; letter-spacing: .1em; opacity: .7; }

.own-words p { font-size: 19px; }
.own-words .sig { font-family: var(--script); font-size: 46px; color: var(--navy); transform: rotate(-4deg); display: inline-block; margin-top: 4px; }

/* scouting report 20–80 */
.scout { width: 100%; border-collapse: collapse; background: var(--paper); }
.scout caption { text-align: left; }
.scout th, .scout td { border-bottom: 1px solid var(--ink); padding: 8px 6px; font-family: var(--cond); text-align: left; }
.scout thead th { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 3px solid var(--ink); }
.scout td.tool { font-size: 16px; letter-spacing: .02em; }
.scout td.tool small { display: block; font-family: var(--body); font-size: 13px; font-style: italic; color: var(--ink-soft); letter-spacing: 0; }
.scout td.grade { font-family: var(--slab); font-size: 22px; text-align: center; width: 64px; }
.scout td.grade.fut { color: var(--red); }
.scout .bar { height: 10px; background: rgba(34,28,23,.12); position: relative; min-width: 90px; }
.scout .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--navy); }
.scout .bar b { position: absolute; top: -3px; bottom: -3px; width: 3px; background: var(--red); }
.footnote { font-size: 13.5px; font-style: italic; color: var(--ink-soft); margin-top: 8px; }

.batting { list-style: none; padding: 0; margin: 0; }
.batting li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dotted var(--ink);
}
.batting .ord { font-family: var(--slab); font-size: 22px; color: var(--red); }
.batting .who { font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-size: 17px; }
.batting .who small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 14px; font-style: italic; color: var(--ink-soft); }
.batting .status { font-family: var(--cond); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--ink); padding: 2px 7px; white-space: nowrap; }

.farm { list-style: none; padding: 0; margin: 0; }
.farm li { padding: 10px 0; border-bottom: 1px dotted var(--ink); }
.farm .club { font-family: var(--slab); text-transform: uppercase; font-size: 19px; color: var(--navy); line-height: 1.1; }
.farm .deg { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }

/* Box office */
.box-office {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 3px solid var(--ink);
  background: var(--mustard);
  margin-top: 10px;
  position: relative;
  box-shadow: 6px 6px 0 var(--ink);
}
.box-office .main { padding: 22px 24px; border-right: 3px dashed var(--ink); }
.box-office .kicker { color: var(--ink); }
.box-office h3 { font-family: var(--slab); font-size: clamp(30px, 5vw, 48px); text-transform: uppercase; line-height: .95; margin: 6px 0 12px; }
.box-office .email {
  font-family: var(--slab);
  font-size: clamp(17px, 3vw, 28px);
  color: var(--navy);
  text-decoration: none;
  border-bottom: 4px solid var(--red);
  word-break: break-all;
}
.box-office .email:hover { color: var(--red); }
.box-office p { margin: 12px 0 0; font-size: 16px; }
.box-office .stubside {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 16px 12px;
  font-family: var(--slab);
  text-transform: uppercase;
  font-size: 26px;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.box-office .stubside small { font-family: var(--cond); font-size: 12px; letter-spacing: .2em; }

.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.roles span { font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; background: var(--ink); color: var(--paper); padding: 4px 10px; }

/* ==========================================================
   404 — FOUL BALL
   ========================================================== */
.foul { text-align: center; padding: 20px 0 10px; }
.foul h1 {
  font-family: var(--slab);
  font-size: clamp(64px, 16vw, 170px);
  color: var(--red);
  line-height: .85;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--paper), 8px 8px 0 var(--navy);
  transform: rotate(-4deg);
  margin: 20px 0 10px;
}
.foul .scoreboard { max-width: 620px; margin: 28px auto; }
.foul .board-grid { grid-template-columns: repeat(3, 1fr); }
.foul p { max-width: 560px; margin-left: auto; margin-right: auto; font-size: 19px; }
.btn {
  display: inline-block;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 16px;
  text-decoration: none;
  background: var(--navy);
  color: var(--paper);
  padding: 10px 20px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--red);
  margin: 6px;
}
.btn:hover { color: var(--paper); background: var(--red); box-shadow: 4px 4px 0 var(--navy); }
.btn.ghost { background: var(--paper); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }

/* ==========================================================
   THE ORCA
   ========================================================== */
.fin {
  position: fixed;
  bottom: -6px;
  left: 0;
  width: 70px;
  height: 64px;
  z-index: 60;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  transform: translateX(-120px);
  opacity: 0;
  -webkit-tap-highlight-color: transparent;
}
.fin svg { width: 100%; height: 100%; display: block; overflow: visible; }
.fin.swim { opacity: 1; animation: swim 16s linear forwards; }
.fin.swim svg { animation: bob 1.6s ease-in-out infinite; }
.fin:hover svg, .fin:focus-visible svg { animation-play-state: paused; transform: translateY(-6px); }
.fin .tip {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--cond);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  background: var(--ink);
  color: var(--paper);
  padding: 3px 8px;
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.fin:hover .tip, .fin:focus-visible .tip { opacity: 1; }
@keyframes swim {
  0% { transform: translateX(-120px); }
  100% { transform: translateX(calc(100vw + 40px)); }
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(5px) rotate(-3deg); }
}

.orca-stage { position: fixed; inset: 0; pointer-events: none; z-index: 80; overflow: hidden; }
.orca-stage .orca { position: absolute; left: 0; top: 0; width: min(420px, 78vw); will-change: transform; }
.orca-stage .drop { position: absolute; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; background: #5b8fb8; border: 1.5px solid var(--navy); }
.orca-stage .wave {
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 46px;
  background:
    radial-gradient(circle at 20px -8px, transparent 22px, var(--navy) 23px) 0 0 / 40px 46px repeat-x;
  opacity: .9;
}

.pa {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  width: min(440px, calc(100vw - 32px));
  transform: translate(-50%, -50%) scale(.6) rotate(-4deg);
  opacity: 0;
  background: var(--paper);
  border: 4px solid var(--ink);
  outline: 3px solid var(--paper);
  box-shadow: 0 0 0 7px var(--red), 12px 16px 0 7px rgba(0,0,0,.35);
  padding: 18px 20px 16px;
  text-align: center;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .25s;
  cursor: pointer;
}
.pa.show { transform: translate(-50%, -50%) scale(1) rotate(-2deg); opacity: 1; }
.pa .kicker { letter-spacing: .3em; }
.pa h3 { font-family: var(--slab); text-transform: uppercase; font-size: 30px; color: var(--navy); margin: 6px 0 8px; line-height: 1; }
.pa p { font-size: 16px; margin: 0 0 6px; }
.pa .tally { font-family: var(--cond); text-transform: uppercase; letter-spacing: .12em; font-size: 13px; border-top: 1px solid var(--ink); padding-top: 8px; margin-top: 10px; }
.pa .tally b { font-family: var(--slab); color: var(--red); font-weight: 400; font-size: 18px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 900px) {
  .cover { grid-template-columns: 1fr; }
  .cover-art { min-height: 0; }
  .spread, .recap { grid-template-columns: 1fr; }
  .column-rule { border-left: 0; padding-left: 0; border-top: 4px double var(--ink); padding-top: 18px; }
  .lineup { grid-template-columns: 1fr; }
  .player-spread { grid-template-columns: 1fr; }
  .card-wrap { max-width: 340px; margin: 0 auto; width: 100%; }
  .aside-ads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .aside-ads .ad { margin-bottom: 0; }
}

@media (max-width: 640px) {
  body { padding: 0 0 40px; font-size: 17px; background: var(--paper); }
  .program { box-shadow: none; padding: 16px 16px 22px; }
  .program::before { inset: 5px; border-width: 3px; }
  .masthead { font-size: 11px; letter-spacing: .08em; }
  .masthead .hide-sm { display: none; }
  .contents { font-size: 13px; }
  .contents .label { width: 100%; text-align: center; margin: 0 0 2px; }
  .contents a { padding: 2px 7px; }
  .cover-art { padding: 20px 12px 16px; }
  .cover-meta { font-size: 11px; gap: 6px; }
  .twocol { columns: 1; }
  .board-grid { grid-template-columns: repeat(2, 1fr); }
  .final-score .board-grid, .foul .board-grid { grid-template-columns: repeat(3, 1fr); }
  .final-score .board-cell .num, .foul .board-cell .num { font-size: 26px; }
  .final-score .board-cell .lbl, .foul .board-cell .lbl { font-size: 10px; letter-spacing: .08em; }
  .matchup { grid-template-columns: 1fr; }
  .matchup .vsbadge { border: 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 4px 0; font-size: 22px; }
  .aside-ads { grid-template-columns: 1fr; }
  .box-office { grid-template-columns: 1fr; }
  .box-office .main { border-right: 0; border-bottom: 3px dashed var(--ink); padding: 18px 16px; }
  .box-office .stubside { writing-mode: horizontal-tb; transform: none; font-size: 20px; padding: 10px; }
  .folio { flex-direction: column; text-align: center; gap: 6px; }
  .next-game a.right { text-align: left; }
  .batting li { grid-template-columns: 36px 1fr; }
  .batting .status { grid-column: 2; justify-self: start; }
  .scout td.grade { width: 44px; font-size: 19px; }
  .scout .barcol { display: none; }
  .fin { width: 58px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  .sunburst, .in-progress, .fin.swim svg { animation: none; }
  .bb-card { transition: none; }
  .fin.swim { animation-duration: 40s; }
  .ticket, .next-game a { transition: none; }
}
