:root {
  --ink: #10232d;
  --muted: #60737c;
  --paper: #fffaf0;
  --cream: #fffdf8;
  --blue: #0377b8;
  --deep-blue: #064a73;
  --aqua: #20b4c8;
  --coral: #e85f4b;
  --yellow: #f3c744;
  --green: #298b68;
  --line: rgba(16, 35, 45, 0.14);
  --shadow: 0 24px 70px rgba(16, 35, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 68% 30%, var(--yellow) 0 12%, transparent 13%),
    linear-gradient(135deg, var(--deep-blue) 0 58%, var(--aqua) 58% 100%);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.78);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
  color: var(--deep-blue);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--coral);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 36, 56, 0.86), rgba(5, 36, 56, 0.44) 48%, rgba(5, 36, 56, 0.08)),
    linear-gradient(0deg, rgba(5, 36, 56, 0.82), transparent 42%);
}

.hero-content {
  width: min(760px, calc(100% - 2rem));
  padding: 9rem 0 5rem;
  margin-left: clamp(1rem, 7vw, 6rem);
  color: white;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.8rem;
  color: var(--coral);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--yellow);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3.6rem, 10vw, 8.2rem);
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.35rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 660px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-actions a {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.hero-actions a:first-child {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #17313e;
}

.snapshot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.snapshot article {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  background: var(--paper);
}

.snapshot span,
.timeline span,
.pathway span,
.wave-card span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.snapshot strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--deep-blue);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
}

.snapshot p,
.culture-grid p,
.timeline p,
.pathway p,
.wave-card li,
.body-copy p,
.football-copy p,
.feature-heading p {
  color: var(--muted);
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  background: var(--cream);
}

.body-copy {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.culture-grid article {
  min-height: 260px;
  padding: 1.5rem;
  background: white;
}

.icon-chip {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.2rem;
  border-radius: 0.9rem;
  background: var(--blue);
}

.icon-chip.sun {
  background: radial-gradient(circle at 68% 30%, var(--yellow) 0 22%, transparent 23%), var(--deep-blue);
}

.icon-chip.drum {
  background: linear-gradient(90deg, var(--coral) 0 28%, var(--yellow) 28% 42%, var(--blue) 42% 100%);
}

.icon-chip.plate {
  border-radius: 50%;
  background: radial-gradient(circle, white 0 30%, var(--green) 31% 45%, var(--yellow) 46% 100%);
  border: 3px solid var(--coral);
}

.icon-chip.facade {
  background:
    linear-gradient(90deg, transparent 38%, rgba(255, 255, 255, 0.85) 38% 48%, transparent 48%),
    linear-gradient(var(--yellow) 0 32%, var(--coral) 32% 100%);
}

.feature {
  background:
    linear-gradient(135deg, rgba(3, 119, 184, 0.1), transparent 36%),
    var(--paper);
}

.feature-heading {
  max-width: 900px;
  margin-bottom: 2.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.timeline article {
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 38px rgba(16, 35, 45, 0.08);
}

.game-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(0.75rem, 2vw, 2rem);
  background: #082f45;
  color: white;
}

.game-intro {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.65fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  max-width: 1540px;
  margin: 0 auto 2rem;
}

.game-intro h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.game-intro p:last-child {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.76);
}

.game-section .section-kicker {
  color: var(--yellow);
}

.game-shell {
  max-width: 1540px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  background: #071f2c;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.matchup-picker {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: end;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a354b;
}

.matchup-picker label {
  display: grid;
  gap: 0.35rem;
}

.matchup-picker label > span,
.roster-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.matchup-picker select {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 2.5rem 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.35rem;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.versus {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
}

.game-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #071f2c;
}

.game-hud div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.65rem;
  min-height: 4.4rem;
  padding: 0.8rem 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.game-hud div:last-child {
  border-right: 0;
}

.game-hud span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.game-hud strong {
  color: var(--yellow);
  font-size: 1.7rem;
}

.game-hud .streak-live {
  background: rgba(243, 199, 68, 0.14);
}

.game-hud .streak-live strong {
  color: #fff3a3;
  animation: streak-pop 360ms ease-out;
}

@keyframes streak-pop {
  0% { transform: scale(0.82); }
  60% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

.game-field {
  position: relative;
  width: 100%;
  height: clamp(560px, 74vh, 840px);
  overflow: hidden;
  outline: none;
  cursor: crosshair;
  isolation: isolate;
}

.game-field:focus-visible {
  box-shadow: inset 0 0 0 4px var(--yellow);
}

.game-field > img,
.game-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.game-field > img {
  z-index: -2;
  object-fit: cover;
}

.game-shade {
  z-index: -1;
  background: linear-gradient(0deg, rgba(4, 24, 34, 0.34), transparent 44%);
}

.player-banner {
  position: absolute;
  top: 1rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 13rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.4rem;
  background: rgba(4, 31, 46, 0.78);
  color: white;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.hitter-banner {
  left: 1rem;
}

.pitcher-banner {
  right: 1rem;
}

.player-banner img {
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #d9d9d9;
  object-fit: cover;
}

.player-banner span {
  display: grid;
}

.player-banner small {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.player-banner strong {
  font-size: 0.92rem;
  line-height: 1.15;
}

.pitcher-player {
  position: absolute;
  left: 50%;
  top: 43%;
  z-index: 2;
  width: 4.2rem;
  height: 7rem;
  transform: translate(-50%, -50%) scale(0.72);
  transform-origin: bottom center;
}

.pitcher-player img {
  position: absolute;
  left: 0.95rem;
  top: 0;
  z-index: 2;
  width: 2.35rem;
  height: 2.35rem;
  border: 0.2rem solid var(--yellow);
  border-radius: 50%;
  background: #d9d9d9;
  object-fit: cover;
}

.pitcher-body {
  position: absolute;
  left: 0.8rem;
  top: 2rem;
  width: 2.7rem;
  height: 4rem;
  border-radius: 45% 45% 18% 18%;
  background: linear-gradient(90deg, #fff 0 64%, var(--blue) 64%);
  box-shadow: 0.62rem 3.6rem 0 -0.2rem #17313e, -0.62rem 3.6rem 0 -0.2rem #17313e;
}

.pitcher-arm {
  position: absolute;
  left: 2.8rem;
  top: 2.4rem;
  width: 0.65rem;
  height: 3.2rem;
  border-radius: 999px;
  background: #8b522f;
  transform: rotate(-35deg);
  transform-origin: top center;
}

.pitcher-player.throwing .pitcher-arm {
  animation: pitcher-throw 520ms ease-out;
}

@keyframes pitcher-throw {
  0% { transform: rotate(-35deg); }
  45% { transform: rotate(145deg); }
  100% { transform: rotate(210deg); }
}

.ball {
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 3;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: #fffdf7;
  border: 2px solid #d8d2c7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
}

.ball.in-play {
  opacity: 1;
}

.ball.hit-flight {
  transition: transform 650ms cubic-bezier(0.2, 0.8, 0.25, 1), opacity 650ms ease;
  opacity: 0;
  transform: translate(var(--flight-x), var(--flight-y)) scale(0.3) !important;
}

.batter {
  --batter-scale: 1;
  position: absolute;
  left: 28%;
  bottom: 8%;
  z-index: 2;
  width: 6rem;
  height: 11rem;
  transform: scale(var(--batter-scale));
  transform-origin: bottom center;
}

.batter.bats-left {
  left: 66%;
  transform: scaleX(-1) scale(var(--batter-scale));
}

.batter.bats-left .batter-head img {
  transform: scaleX(-1);
}

.batter-head,
.batter-body,
.bat {
  position: absolute;
  display: block;
}

.batter-head {
  left: 1.85rem;
  top: 0;
  width: 2.7rem;
  height: 2.7rem;
  overflow: hidden;
  border: 0.3rem solid #f3c744;
  border-radius: 50%;
  background: #d9d9d9;
}

.batter-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.batter-body {
  left: 1.45rem;
  top: 2.55rem;
  width: 3.4rem;
  height: 6.7rem;
  border-radius: 45% 45% 20% 20%;
  background: linear-gradient(90deg, #0377b8 0 60%, #fff 60%);
  box-shadow: 0.85rem 5.7rem 0 -0.28rem #17313e, -0.75rem 5.7rem 0 -0.28rem #17313e;
}

.bat {
  left: 3.3rem;
  top: 1.5rem;
  width: 0.62rem;
  height: 7.5rem;
  border-radius: 999px;
  background: linear-gradient(#f5d6a0, #b97839);
  transform: rotate(-34deg);
  transform-origin: 50% 88%;
}

.batter.swinging .bat {
  animation: bat-swing 320ms ease-out;
}

@keyframes bat-swing {
  0% { transform: rotate(-34deg); }
  55% { transform: rotate(78deg); }
  100% { transform: rotate(112deg); }
}

.result-call {
  position: absolute;
  top: 12%;
  left: 50%;
  z-index: 4;
  width: min(90%, 760px);
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
}

.result-call.show {
  animation: result-pop 1.15s ease both;
}

@keyframes result-pop {
  0% { opacity: 0; transform: translate(-50%, 12px) scale(0.92); }
  20%, 78% { opacity: 1; transform: translate(-50%, 0) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -12px) scale(1); }
}

.game-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(4, 31, 46, 0.52);
  backdrop-filter: blur(3px);
  text-align: center;
}

.game-start.hidden {
  display: none;
}

.game-start p {
  margin: 0;
  color: white;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.42);
}

.start-button,
.swing-button {
  min-height: 3.25rem;
  border: 0;
  border-radius: 0.45rem;
  background: var(--yellow);
  color: #10232d;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.start-button {
  padding: 0.8rem 1.25rem;
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
  padding: 1rem 1.2rem;
  background: #071f2c;
}

.game-controls p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.swing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-width: 12rem;
  padding: 0.8rem 1rem;
}

.swing-icon {
  width: 1rem;
  height: 1rem;
  border: 2px solid #b14a3a;
  border-radius: 50%;
  background: white;
}

.swing-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.swing-button:not(:disabled):active {
  transform: translateY(2px);
}

.roster-panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(220px, 1fr);
  gap: 1.2rem;
  padding: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a354b;
}

.roster-panel > div {
  min-width: 0;
}

.roster-label {
  display: block;
  margin-bottom: 0.65rem;
}

.roster-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(84px, 1fr));
  gap: 0.55rem;
}

.pitcher-roster-list {
  grid-template-columns: repeat(2, minmax(96px, 1fr));
}

.roster-player {
  min-width: 0;
  padding: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font: inherit;
  cursor: pointer;
}

.roster-player:hover,
.roster-player:focus-visible {
  border-color: rgba(243, 199, 68, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.roster-player.active {
  border-color: var(--yellow);
  background: rgba(243, 199, 68, 0.17);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.roster-player img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.25rem;
  background: #d9d9d9;
  object-fit: cover;
}

.roster-player span {
  display: block;
  min-height: 2.2rem;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}

.roster-player small {
  display: block;
  margin-top: 0.2rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
}

kbd {
  padding: 0.16rem 0.38rem;
  border: 1px solid rgba(16, 35, 45, 0.28);
  border-bottom-width: 2px;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.5);
  font: inherit;
  font-size: 0.75rem;
}

.football-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.8fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  background: var(--deep-blue);
  color: white;
}

.football-panel .section-kicker {
  color: var(--yellow);
}

.football-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.wave-card {
  padding: clamp(1.3rem, 4vw, 2.2rem);
  border-radius: 0.5rem;
  background:
    radial-gradient(circle at top right, rgba(243, 199, 68, 0.26), transparent 35%),
    linear-gradient(135deg, rgba(32, 180, 200, 0.24), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
}

.wave-card strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.wave-card ul {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.wave-card li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.82);
}

.wave-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--yellow);
}

.center-heading {
  max-width: 860px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--line);
}

.pathway article {
  padding: 1.35rem;
  background: white;
}

.pathway span {
  color: var(--coral);
}

.closing-band {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 8vw, 7rem);
  background:
    linear-gradient(135deg, rgba(232, 95, 75, 0.86), rgba(3, 119, 184, 0.86)),
    var(--blue);
  color: white;
  text-align: center;
}

.closing-band p {
  margin-bottom: 0.7rem;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.closing-band h2 {
  max-width: 980px;
  margin: 0 auto;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  background: #10232d;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem;
}

.sources a {
  color: white;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 0.2rem;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 36, 56, 0.9), rgba(5, 36, 56, 0.18) 70%),
      linear-gradient(90deg, rgba(5, 36, 56, 0.72), rgba(5, 36, 56, 0.12));
  }

  .hero-content {
    margin-inline: auto;
    padding-bottom: 3rem;
  }

  .snapshot,
  .timeline,
  .football-panel,
  .pathway {
    grid-template-columns: 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .game-intro {
    grid-template-columns: 1fr;
  }

  .roster-panel {
    grid-template-columns: 1fr;
  }

  .roster-list {
    grid-template-columns: repeat(4, minmax(88px, 1fr));
  }

  .pitcher-roster-list {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .culture-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sources {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: 720px;
  }

  .hero img {
    object-position: 38% center;
  }

  .hero-actions a {
    width: 100%;
  }

  .culture-grid {
    grid-template-columns: 1fr;
  }

  .culture-grid article {
    min-height: auto;
  }

  .game-section {
    padding-inline: 0;
  }

  .game-intro {
    padding-inline: 1rem;
  }

  .game-shell {
    border-inline: 0;
    border-radius: 0;
  }

  .matchup-picker {
    grid-template-columns: 1fr;
  }

  .versus {
    display: none;
  }

  .game-hud div {
    flex-direction: column;
    gap: 0;
    min-height: 4.8rem;
  }

  .game-hud {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-hud strong {
    font-size: 1.35rem;
  }

  .game-field {
    height: 520px;
    min-height: 520px;
  }

  .game-field > img {
    object-position: 50% center;
  }

  .batter {
    --batter-scale: 0.74;
    left: 24%;
    transform-origin: bottom center;
  }

  .batter.bats-left {
    left: 68%;
  }

  .pitcher-player {
    top: 46%;
    transform: translate(-50%, -50%) scale(0.62);
  }

  .player-banner {
    top: 0.65rem;
    min-width: 0;
    width: calc(50% - 0.95rem);
    padding: 0.35rem;
  }

  .hitter-banner {
    left: 0.65rem;
  }

  .pitcher-banner {
    right: 0.65rem;
  }

  .player-banner img {
    width: 2.45rem;
    height: 2.45rem;
  }

  .player-banner strong {
    font-size: 0.74rem;
  }

  .player-banner small {
    font-size: 0.75rem;
  }

  .game-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .swing-button {
    width: 100%;
  }

  .roster-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.35rem;
  }

  .roster-player {
    flex: 0 0 96px;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .batter.swinging .bat,
  .pitcher-player.throwing .pitcher-arm,
  .game-hud .streak-live strong,
  .result-call.show {
    animation-duration: 1ms;
  }
}
