:root {
  --ink: #071f49;
  --ink-soft: #17315a;
  --green: #3f8d33;
  --green-dark: #2f6f27;
  --line: #d9d4cb;
  --paper: #fffdf9;
  --wash: #f7f2e8;
  --gold: #dca23a;
  --red: #b6251d;
  --shadow: 0 18px 38px rgba(7, 31, 73, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #f4f4f2;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(220, 162, 58, 0.08), transparent 24rem),
    linear-gradient(#fff, #fbfaf6);
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.6rem 0.8rem;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 212, 203, 0.85);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.15rem clamp(1rem, 4vw, 2.2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}

.brand strong {
  color: var(--green);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a {
  padding: 0.4rem 0;
}

.brand:focus-visible,
.site-nav a:focus-visible,
.sport-card-link:focus-visible,
.section-card:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid rgba(63, 141, 51, 0.45);
  outline-offset: 4px;
}

.search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
}

.search-icon {
  position: relative;
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}

.search-icon::before {
  content: "";
  position: absolute;
  top: 0.05rem;
  left: 0.05rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 0.05rem;
  bottom: 0.15rem;
  width: 0.6rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--ink);
}

main {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.2rem) 2rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
  min-height: 31rem;
  border-bottom: 1px solid rgba(217, 212, 203, 0.75);
  overflow: hidden;
}

.hero-copy {
  padding: clamp(2rem, 6vw, 4.2rem) 0 2rem;
  align-self: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(2.9rem, 6vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.sport-copy h1,
.rules-hero h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.hero p,
.sport-copy p,
.rules-hero p {
  max-width: 36rem;
  margin: 1.35rem 0 0;
  color: #172944;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  margin-top: 1.7rem;
  padding: 0.9rem 1.55rem;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 9px 18px rgba(63, 141, 51, 0.24);
  font-weight: 850;
}

.button:hover {
  background: var(--green-dark);
}

.hero-art {
  position: relative;
  min-height: 28rem;
}

.hero-photo-panel {
  display: grid;
  align-items: end;
  justify-items: end;
}

.hero-photo-card {
  position: relative;
  z-index: 2;
  width: min(92%, 35rem);
  margin: 0 0 2.6rem;
  border-radius: 18px 18px 6px 6px;
  overflow: hidden;
  border: 1px solid rgba(217, 212, 203, 0.75);
  box-shadow: 0 22px 40px rgba(7, 31, 73, 0.16);
  transform: rotate(-2.5deg);
}

.hero-photo-card::after,
.sport-photo-hero figure::after,
.rules-hero-art.real-photo figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 31, 73, 0.2));
  pointer-events: none;
}

.hero-photo-card img,
.sport-photo-hero img,
.rules-hero-art.real-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cloud,
.field-splash,
.grass-patch {
  position: absolute;
}

.cloud {
  width: 10rem;
  height: 3.7rem;
  opacity: 0.7;
  background:
    radial-gradient(circle at 22% 63%, #eee4d3 0 28%, transparent 29%),
    radial-gradient(circle at 43% 38%, #eee4d3 0 29%, transparent 30%),
    radial-gradient(circle at 70% 58%, #eee4d3 0 30%, transparent 31%);
}

.cloud-one {
  top: 3.5rem;
  right: 14rem;
}

.cloud-two {
  top: 4.8rem;
  right: 1rem;
  transform: scale(1.2);
}

.field-splash,
.grass-patch {
  left: 4%;
  right: -10%;
  bottom: 0.7rem;
  height: 13rem;
  background:
    linear-gradient(15deg, transparent 45%, rgba(255,255,255,0.72) 46% 47%, transparent 48%),
    linear-gradient(-9deg, transparent 48%, rgba(255,255,255,0.58) 49% 50%, transparent 51%),
    repeating-linear-gradient(100deg, rgba(52,120,49,0.12) 0 0.4rem, rgba(52,120,49,0.22) 0.4rem 0.8rem),
    linear-gradient(110deg, #8cac68, #5f913e 56%, #447d35);
  clip-path: polygon(8% 28%, 100% 3%, 100% 100%, 0 100%);
  opacity: 0.92;
}

.water-bottle {
  position: absolute;
  left: 22%;
  bottom: 4.2rem;
  width: 4rem;
  height: 10.5rem;
  border: 0.45rem solid #0b3158;
  border-radius: 1rem 1rem 1.25rem 1.25rem;
  background: linear-gradient(90deg, rgba(255,255,255,0.82), rgba(171,211,230,0.55));
}

.water-bottle::before {
  content: "";
  position: absolute;
  top: -2.4rem;
  left: 0.85rem;
  width: 1.35rem;
  height: 2rem;
  border: 0.35rem solid #0b3158;
  border-bottom: 0;
  background: #366b8a;
}

.water-bottle::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: -0.45rem;
  right: -0.45rem;
  height: 1.2rem;
  background: #0b3158;
  opacity: 0.88;
}

.duffel-art {
  position: absolute;
  right: 8%;
  bottom: 4rem;
  width: 13rem;
  height: 8rem;
  z-index: 3;
}

.duffel-body {
  position: absolute;
  inset: 2.2rem 0 0;
  border: 0.55rem solid #0b3158;
  border-radius: 4rem 4rem 1.2rem 1.2rem;
  background: linear-gradient(90deg, #e2a73e, #f1bd51);
}

.duffel-body::before,
.duffel-body::after {
  content: "";
  position: absolute;
  top: -0.2rem;
  bottom: -0.2rem;
  width: 0.55rem;
  background: #0b3158;
}

.duffel-body::before {
  left: 3.4rem;
}

.duffel-body::after {
  right: 3.2rem;
}

.duffel-strap {
  position: absolute;
  left: 3.7rem;
  top: 0;
  width: 5.5rem;
  height: 5rem;
  border: 0.55rem solid #0b3158;
  border-bottom: 0;
  border-radius: 5rem 5rem 0 0;
}

.section {
  padding: clamp(1.6rem, 5vw, 2.4rem) 0;
}

.home-sports {
  min-height: calc(100vh - 5.2rem);
  padding: clamp(2.1rem, 5vw, 4rem) 0 clamp(1.8rem, 4vw, 3rem);
  display: grid;
  align-content: center;
  gap: clamp(1.4rem, 3vw, 2rem);
}

.home-intro {
  max-width: 49rem;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-intro p:not(.eyebrow) {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: #31445f;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.6;
}

.section h2,
.game-day h2,
.parent-tips h2,
.inning-basics h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  line-height: 1.05;
}

.sports-section h2 {
  text-align: center;
}

.title-mark {
  width: 4.5rem;
  height: 0.18rem;
  margin: 0.6rem auto 1.25rem;
  background: var(--green);
}

.title-mark.left {
  margin-left: 0;
}

.sport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.sport-grid-featured {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.sport-card {
  position: relative;
  min-width: 0;
}

.sport-card-link {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 0;
  padding: 0.6rem 0.6rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fffdf9);
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(7, 31, 73, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.sport-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 0 0.75rem;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  background: #e8e1d3;
  box-shadow: inset 0 0 0 1px rgba(7, 31, 73, 0.08);
  filter: saturate(0.98) contrast(1.03);
}

.sport-card:nth-child(1) .sport-image {
  object-position: 45% 56%;
}

.sport-card:nth-child(2) .sport-image {
  object-position: 50% 42%;
}

.sport-card:nth-child(3) .sport-image {
  object-position: 42% 50%;
}

.sport-card:nth-child(4) .sport-image {
  object-position: 50% 50%;
}

.sport-card:nth-child(5) .sport-image {
  object-position: 50% 44%;
}

.sport-card:nth-child(6) .sport-image {
  object-position: 63% 50%;
}

.sport-card-link:hover {
  transform: translateY(-3px);
  border-color: rgba(63, 141, 51, 0.55);
  box-shadow: var(--shadow);
}

.sport-icon {
  display: block;
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 0.6rem;
  position: relative;
}

.sport-card-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0 0.15rem;
  text-align: center;
  font-size: clamp(1.12rem, 2.5vw, 1.35rem);
  line-height: 1.1;
}

.baseball-icon,
.softball-icon {
  border: 0.28rem solid #0e2a4d;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fffdf7 0 48%, transparent 49%),
    linear-gradient(45deg, transparent 44%, #c0281c 45% 47%, transparent 48%),
    linear-gradient(-45deg, transparent 44%, #c0281c 45% 47%, transparent 48%),
    #fffdf7;
}

.baseball-icon::before,
.softball-icon::before {
  content: "";
  position: absolute;
  inset: 1.1rem;
  border-left: 0.24rem dashed #c0281c;
  border-right: 0.24rem dashed #c0281c;
  border-radius: 50%;
  transform: rotate(-19deg);
}

.baseball-icon::after {
  content: "";
  position: absolute;
  inset: 4.8rem -1.2rem -0.7rem -1.2rem;
  z-index: -1;
  background: #4d9a46;
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
}

.softball-icon {
  background-color: #f4df39;
}

.basketball-icon {
  border: 0.25rem solid #101c2e;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 50%, #111 51% 54%, transparent 55%),
    linear-gradient(90deg, transparent 47%, #111 48% 51%, transparent 52%),
    linear-gradient(0deg, transparent 47%, #111 48% 51%, transparent 52%),
    #e87822;
}

.soccer-icon {
  border-radius: 50%;
  border: 0.25rem solid #0e2a4d;
  background:
    radial-gradient(circle at 50% 48%, #182943 0 16%, transparent 17%),
    radial-gradient(circle at 22% 30%, #182943 0 11%, transparent 12%),
    radial-gradient(circle at 78% 30%, #182943 0 11%, transparent 12%),
    radial-gradient(circle at 27% 75%, #182943 0 12%, transparent 13%),
    radial-gradient(circle at 73% 75%, #182943 0 12%, transparent 13%),
    #f4f4ef;
}

.football-icon {
  width: 7rem;
  height: 5.5rem;
  margin-top: 0.55rem;
  border: 0.24rem solid #161d2c;
  border-radius: 50% / 40%;
  background: #78452b;
  transform: rotate(-17deg);
}

.football-icon::before {
  content: "";
  position: absolute;
  left: 2.4rem;
  top: 0.9rem;
  width: 0.45rem;
  height: 3.4rem;
  background: #fff;
}

.football-icon::after {
  content: "";
  position: absolute;
  left: 1.8rem;
  top: 2.35rem;
  width: 2rem;
  height: 0.25rem;
  background: repeating-linear-gradient(90deg, #fff 0 0.25rem, transparent 0.25rem 0.55rem);
}

.hockey-icon::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0.3rem;
  width: 1rem;
  height: 5.8rem;
  border-radius: 1rem;
  background: linear-gradient(#e0462f 0 16%, #154875 17% 48%, #e0462f 49% 63%, #154875 64%);
  transform: rotate(12deg);
}

.hockey-icon::after {
  content: "";
  position: absolute;
  left: 2.3rem;
  bottom: 1rem;
  width: 5rem;
  height: 1.1rem;
  border-radius: 0 0 1rem 1rem;
  background: #154875;
  box-shadow: 4rem 1rem 0 -0.25rem #1b2435;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.9rem 0 2rem;
  padding: 1.35rem;
  border: 1px solid rgba(63, 141, 51, 0.48);
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(244,250,240,0.8));
}

.feature-strip article {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  min-width: 0;
}

.feature-strip article + article {
  border-left: 1px solid rgba(63, 141, 51, 0.32);
  padding-left: 1.2rem;
}

.feature-strip h2 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.feature-strip p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.mini-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: inline-block;
  background: var(--green);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.people-icon {
  mask-image: radial-gradient(circle at 25% 35%, #000 0 15%, transparent 16%), radial-gradient(circle at 55% 24%, #000 0 16%, transparent 17%), radial-gradient(circle at 78% 38%, #000 0 14%, transparent 15%), radial-gradient(ellipse at 25% 80%, #000 0 23%, transparent 24%), radial-gradient(ellipse at 55% 82%, #000 0 30%, transparent 31%), radial-gradient(ellipse at 78% 82%, #000 0 22%, transparent 23%);
}

.shield-icon {
  mask-image: polygon(50% 0, 95% 16%, 86% 70%, 50% 100%, 14% 70%, 5% 16%);
}

.calendar-icon {
  mask-image: linear-gradient(#000 0 100%);
  border-radius: 0.35rem;
}

.grass-footer {
  height: 9rem;
  margin-top: -0.5rem;
  background:
    linear-gradient(-8deg, transparent 45%, rgba(255,255,255,0.6) 46% 47%, transparent 48%),
    linear-gradient(10deg, transparent 45%, rgba(255,255,255,0.6) 46% 47%, transparent 48%),
    repeating-linear-gradient(95deg, #76a65f 0 0.4rem, #67964c 0.4rem 0.8rem);
  clip-path: polygon(0 28%, 100% 0, 100% 100%, 0 100%);
}

.site-footer {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2.2rem) 2rem;
  border-top: 1px solid rgba(217, 212, 203, 0.85);
  color: #31445f;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  font-weight: 800;
}

.page-shell {
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.page-shell > p {
  max-width: 42rem;
  margin: 1rem 0 1.5rem;
  color: #31445f;
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-page > p {
  margin-bottom: 1rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1.75rem 0 0.4rem;
  font-size: 0.84rem;
  color: #40516c;
}

.breadcrumbs a {
  color: var(--ink);
}

.sport-hero,
.rules-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.9fr);
  min-height: 15rem;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(217, 212, 203, 0.75);
}

.baseball-equipment,
.rules-hero-art,
.sport-photo-hero {
  position: relative;
  height: 15rem;
}

.sport-photo-hero {
  display: grid;
  align-items: end;
  justify-items: end;
}

.sport-photo-hero figure,
.rules-hero-art.real-photo figure {
  position: relative;
  z-index: 2;
  width: min(94%, 29rem);
  height: 12.5rem;
  margin: 0 0 1.2rem;
  overflow: hidden;
  border-radius: 16px 16px 6px 6px;
  border: 1px solid rgba(217, 212, 203, 0.85);
  box-shadow: 0 18px 32px rgba(7, 31, 73, 0.14);
}

.diamond-lines {
  position: absolute;
  inset: -2rem 0 1rem;
  opacity: 0.28;
  background:
    linear-gradient(35deg, transparent 44%, #c18b4c 45% 46%, transparent 47%),
    linear-gradient(-35deg, transparent 44%, #c18b4c 45% 46%, transparent 47%),
    linear-gradient(0deg, transparent 68%, #c18b4c 69% 70%, transparent 71%);
  transform: rotate(-7deg);
}

.baseball-equipment .grass-patch {
  left: 7%;
  right: -8%;
  bottom: 0;
  height: 4.9rem;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

.helmet {
  position: absolute;
  left: 16%;
  bottom: 2.4rem;
  width: 8.4rem;
  height: 5.9rem;
  border: 0.35rem solid #071f49;
  border-radius: 58% 58% 32% 28%;
  background: linear-gradient(150deg, #24446b, #0f2749 66%);
  transform: rotate(-8deg);
  z-index: 2;
}

.helmet::after {
  content: "";
  position: absolute;
  right: -1.9rem;
  bottom: -0.3rem;
  width: 4.4rem;
  height: 1.35rem;
  border-radius: 0 1rem 1rem 0;
  background: #071f49;
}

.glove {
  position: absolute;
  left: 47%;
  bottom: 3.05rem;
  width: 6.4rem;
  height: 6.2rem;
  border: 0.28rem solid #6b371d;
  border-radius: 45% 35% 45% 50%;
  background:
    linear-gradient(90deg, transparent 28%, rgba(107,55,29,0.45) 29% 32%, transparent 33% 50%, rgba(107,55,29,0.45) 51% 54%, transparent 55%),
    #b9763c;
  transform: rotate(17deg);
  z-index: 4;
}

.baseball-small {
  position: absolute;
  width: 3.2rem;
  height: 3.2rem;
  border: 0.18rem solid #9d2c1f;
  border-radius: 50%;
  background: #fffdf7;
  box-shadow: inset 1.1rem 0 0 rgba(222, 205, 177, 0.36);
  z-index: 5;
}

.baseball-small::before {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-left: 0.15rem dashed #c3281e;
  border-right: 0.15rem dashed #c3281e;
  border-radius: 50%;
  transform: rotate(-20deg);
}

.baseball-equipment .baseball-small {
  left: 58%;
  bottom: 4.4rem;
}

.bat {
  position: absolute;
  left: 51%;
  bottom: 0.8rem;
  width: 13rem;
  height: 1.55rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #b87b3d, #dba35a);
  border: 0.2rem solid #8d5c2d;
  transform: rotate(-15deg);
  z-index: 3;
}

.bat::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: -0.2rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: #dba35a;
  border: 0.2rem solid #8d5c2d;
}

.outline-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 0.16rem solid #0c2c52;
  border-radius: 50%;
  display: inline-block;
}

.clock-outline {
  background: linear-gradient(90deg, transparent 47%, #0c2c52 48% 53%, transparent 54%), linear-gradient(0deg, transparent 58%, #0c2c52 59% 64%, transparent 65%);
}

.section-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.section-card {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) 1rem;
  gap: 1rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(7,31,73,0.04);
}

.section-card.wide {
  grid-column: 1 / -1;
}

.section-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.section-card small {
  color: #31445f;
  line-height: 1.35;
}

.section-card em {
  font-style: normal;
  color: #65748a;
  font-size: 1.5rem;
}

.sport-local-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 1.4rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.sport-local-nav a {
  padding: 0.55rem 0.75rem;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #31445f;
  font-size: 0.88rem;
  font-weight: 850;
}

.sport-local-nav a[aria-current="page"] {
  color: #fff;
  background: var(--green);
}

.sport-local-nav a:focus-visible,
.sport-local-nav a:hover {
  border-color: rgba(63, 141, 51, 0.55);
}

.sport-local-nav a:focus-visible {
  outline: 3px solid rgba(63, 141, 51, 0.45);
  outline-offset: 2px;
}

.section-ill {
  width: 4rem;
  height: 4rem;
  border-radius: 8px;
  position: relative;
}

.clipboard-mini,
.book-mini {
  border: 0.18rem solid #704626;
  background: #fffdf5;
}

.clipboard-mini::before,
.clipboard-mini::after {
  content: "";
  position: absolute;
}

.clipboard-mini::before {
  left: 1.25rem;
  top: -0.45rem;
  width: 1.35rem;
  height: 0.8rem;
  border-radius: 0.4rem 0.4rem 0 0;
  background: #0b3158;
}

.clipboard-mini::after {
  inset: 0.9rem;
  background: repeating-linear-gradient(180deg, #2f7d37 0 0.13rem, transparent 0.13rem 0.62rem);
}

.field-mini {
  border: 0.18rem solid #0b3158;
  border-radius: 50%;
  background: #5fa047;
}

.field-mini::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 0.18rem solid #f9f6e9;
  transform: rotate(45deg);
}

.cap-mini {
  background: linear-gradient(155deg, #1f4b79, #0a284d);
  border-radius: 70% 70% 30% 30%;
  border: 0.18rem solid #071f49;
}

.strategy-mini {
  background:
    radial-gradient(circle at 18% 32%, #071f49 0 6%, transparent 7%),
    radial-gradient(circle at 72% 26%, #071f49 0 6%, transparent 7%),
    radial-gradient(circle at 48% 70%, #071f49 0 6%, transparent 7%),
    linear-gradient(35deg, transparent 48%, #071f49 49% 51%, transparent 52%),
    linear-gradient(-38deg, transparent 48%, #071f49 49% 51%, transparent 52%);
}

.book-mini {
  border-color: #0b3158;
  background: linear-gradient(90deg, #fff 0 48%, #0b3158 49% 51%, #fff 52%);
}

.umpire-mini {
  border-radius: 50%;
  border: 0.18rem solid #071f49;
  background: radial-gradient(circle at 50% 42%, #071f49 0 37%, transparent 38%), #dadfe7;
}

.parent-mini {
  background:
    radial-gradient(circle at 35% 25%, #0b3158 0 14%, transparent 15%),
    radial-gradient(circle at 63% 25%, #0b3158 0 14%, transparent 15%),
    radial-gradient(ellipse at 35% 76%, #0b3158 0 26%, transparent 27%),
    radial-gradient(ellipse at 63% 76%, #0b3158 0 26%, transparent 27%);
}

.game-day {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  gap: 1rem;
  margin: 1.1rem 0 2rem;
  padding: 1.3rem;
  border: 1px solid rgba(63,141,51,0.55);
  border-radius: 9px;
  background: linear-gradient(100deg, #fff, #f3f8ee);
}

.game-day p {
  margin: 0.5rem 0 1rem;
}

.check-grid,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}

.check-grid li,
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.check-grid li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--green);
  border-radius: 50%;
}

.check-grid li::after,
.check-list li::after {
  content: "";
  position: absolute;
  left: 0.43rem;
  top: 0.33rem;
  width: 0.32rem;
  height: 0.62rem;
  border: solid #fff;
  border-width: 0 0.16rem 0.16rem 0;
  transform: rotate(45deg);
}

.chair-art {
  align-self: end;
  min-height: 8rem;
  position: relative;
}

.chair-art::before {
  content: "";
  position: absolute;
  right: 1rem;
  bottom: 1.3rem;
  width: 5.5rem;
  height: 5.5rem;
  border: 0.55rem solid #123a62;
  border-top-width: 2.4rem;
  border-radius: 0.4rem;
  transform: skew(-10deg);
}

.chair-art::after {
  content: "";
  position: absolute;
  right: 0.6rem;
  bottom: 0.4rem;
  width: 4rem;
  height: 0.35rem;
  background: #123a62;
  transform: rotate(-14deg);
  box-shadow: -2.6rem -0.2rem 0 #123a62, -4.7rem 1.2rem 0 -0.08rem #fffdf7, -4.7rem 1.2rem 0 0.15rem #9d2c1f;
}

.rules-hero {
  min-height: 15.5rem;
}

.rules-hero-art .diamond-lines {
  inset: -1rem -2rem 0;
}

.rules-hero-art.real-photo {
  display: grid;
  align-items: end;
  justify-items: end;
}

.rules-hero-art.real-photo figure {
  width: min(92%, 25rem);
  height: 11.8rem;
  margin-bottom: 1rem;
  transform: rotate(2deg);
}

.rules-hero-art .clipboard-tall {
  position: absolute;
  right: 18%;
  top: 1rem;
  width: 7.2rem;
  height: 10rem;
  border: 0.35rem solid #7b4b25;
  border-radius: 0.5rem;
  background: repeating-linear-gradient(180deg, transparent 0 1.05rem, #6b6b58 1.05rem 1.18rem, transparent 1.18rem 1.7rem), #fffdf5;
  box-shadow: 0 12px 18px rgba(7,31,73,0.15);
}

.rules-hero-art .clipboard-tall::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 2.3rem;
  width: 2.1rem;
  height: 1.4rem;
  border-radius: 0.7rem 0.7rem 0.2rem 0.2rem;
  background: #0b3158;
}

.rules-hero-art .baseball-small {
  right: 4.5rem;
  bottom: 1.8rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.rule-card {
  position: relative;
  min-height: 12.3rem;
  padding: 1.25rem 1.2rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.rule-num {
  position: absolute;
  top: 1.05rem;
  left: 1rem;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

.rule-card h2,
.rule-card h3 {
  margin: 0 0 0.85rem 2.7rem;
  font-size: 1.05rem;
}

.rule-card p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.meta-line {
  color: #31445f;
}

.meta-line strong {
  color: var(--ink);
}

.draft-state {
  max-width: 46rem;
  margin: 1.4rem 0 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(220, 162, 58, 0.72);
  border-radius: 8px;
  background: #fff9eb;
}

.draft-state h2 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.draft-state p {
  margin: 0;
  color: #31445f;
  line-height: 1.55;
}

.guide-stack,
.parent-tip-list {
  display: grid;
  gap: 1rem;
}

.guide-card,
.parent-tip,
.info-card,
.signal-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(7,31,73,0.04);
}

.guide-card h2,
.parent-tip h2,
.info-card h2,
.signal-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.18rem;
}

.guide-card p,
.parent-tip p,
.info-card p,
.signal-card p {
  margin: 0 0 0.8rem;
  color: #31445f;
  font-size: 0.92rem;
  line-height: 1.55;
}

.baseball-position-field {
  margin: 1.35rem 0 1.4rem;
  padding: clamp(0.8rem, 2.5vw, 1.2rem);
  border: 1px solid rgba(63, 141, 51, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f7fbf3);
  box-shadow: 0 5px 13px rgba(7,31,73,0.04);
}

.baseball-position-field figcaption {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}

.baseball-position-field svg {
  display: block;
  width: 100%;
  max-width: 58rem;
  height: auto;
  margin: 0 auto;
}

.field-grass {
  fill: #69a854;
  stroke: #17211b;
  stroke-width: 3;
  stroke-linejoin: round;
}

.field-dirt {
  fill: #d8b06f;
}

.field-infield {
  fill: #3f8d33;
}

.field-mound,
.field-home-dirt {
  fill: #d8b06f;
}

.field-lines,
.field-arc {
  fill: none;
  stroke: rgba(255,255,255,0.96);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.field-home,
.field-pitcher-rubber {
  fill: #fffdf9;
}

.field-coach-boxes rect {
  fill: none;
  stroke: #fffdf9;
  stroke-width: 4;
}

.field-base rect {
  fill: #fffdf9;
  stroke: #fffdf9;
  stroke-width: 2;
}

.field-player circle {
  fill: #111;
}

.field-player path {
  fill: none;
  stroke: #111;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.field-label text {
  paint-order: stroke;
  stroke: rgba(7,31,73,0.28);
  stroke-linejoin: round;
  stroke-width: 3;
  fill: #fffdf9;
  font-size: 25px;
  font-weight: 750;
  text-anchor: middle;
}

.field-label .field-line-label {
  font-size: 23px;
  font-weight: 700;
}

.field-label .field-line-label.left {
  transform: rotate(47deg);
  transform-box: fill-box;
  transform-origin: center;
}

.field-label .field-line-label.right {
  transform: rotate(-47deg);
  transform-box: fill-box;
  transform-origin: center;
}

.hockey-position-rink {
  margin: 1.35rem 0 1.4rem;
  padding: clamp(0.8rem, 2.5vw, 1.2rem);
  border: 1px solid rgba(7, 31, 73, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 13px rgba(7,31,73,0.04);
}

.hockey-position-rink figcaption {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 850;
}

.hockey-position-rink svg {
  display: block;
  width: 100%;
  max-width: 64rem;
  height: auto;
  margin: 0 auto;
}

.rink-ice {
  fill: #fff;
}

.rink-outline {
  fill: none;
  stroke: #0c1d2d;
  stroke-width: 4;
}

.rink-goal-line,
.rink-blue-line {
  stroke: #0c1d2d;
  stroke-width: 4;
}

.rink-center-line {
  stroke: #ef233c;
  stroke-dasharray: 5 5;
  stroke-width: 6;
}

.rink-center-circle,
.rink-faceoff circle {
  fill: none;
  stroke: #ef233c;
  stroke-width: 3;
}

.rink-hash-marks path,
.rink-bottom-crease {
  fill: none;
  stroke: #ef233c;
  stroke-linecap: round;
  stroke-width: 3;
}

.rink-goal {
  fill: none;
  stroke: #0c1d2d;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.rink-labels text {
  paint-order: stroke;
  stroke: rgba(255,255,255,0.94);
  stroke-linejoin: round;
  stroke-width: 4;
  fill: #0c1d2d;
  font-size: 22px;
  font-weight: 850;
  text-transform: uppercase;
  text-anchor: middle;
}

.info-card-grid,
.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.signal-card {
  border-color: rgba(63, 141, 51, 0.42);
}

.signal-illustration {
  margin: 0 0 0.9rem;
  border: 1px solid rgba(7, 31, 73, 0.1);
  border-radius: 8px;
  background: #f6fbff;
  overflow: hidden;
}

.signal-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.table-wrap table {
  min-width: 42rem;
  border: 0;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
}

.rule-visual {
  display: block;
  margin: 0.5rem auto 0;
  min-height: 3rem;
}

.diamond-mini {
  width: 5.4rem;
  height: 5.4rem;
  border: 0.22rem solid #7b5d43;
  border-top-color: transparent;
  border-radius: 50% 50% 1rem 1rem;
  transform: rotate(45deg);
}

.x-outs {
  color: var(--red);
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 0.4rem;
  text-align: center;
}

.four-balls,
.strikes {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
}

.four-balls i,
.strikes i {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
}

.four-balls i {
  border: 0.25rem solid var(--green);
}

.strikes i {
  background: #b93221;
  border: 0.18rem solid #8f2519;
}

.glove-mini {
  width: 4.5rem;
  height: 4rem;
  border-radius: 45% 35% 45% 50%;
  border: 0.2rem solid #6b371d;
  background: #b9763c;
}

.bat-line {
  width: 6.5rem;
  height: 3.8rem;
  background:
    linear-gradient(-12deg, transparent 47%, #c9a273 48% 52%, transparent 53%),
    linear-gradient(150deg, transparent 45%, #b87b3d 46% 57%, transparent 58%);
}

.rules-bottom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  margin-top: 0.4rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.86rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: center;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: #fffaf1;
}

.remember-box {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 1.6rem 0 2rem;
  padding: 1.05rem 1.35rem;
  border: 1px solid #e3a12f;
  border-radius: 8px;
  background: #fff9eb;
}

.remember-box p {
  margin: 0;
}

.bulb {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50% 50% 42% 42%;
  background: radial-gradient(circle at 50% 35%, #ffe98a 0 35%, #f2b735 36% 62%, transparent 63%);
  border-bottom: 0.6rem solid #d98e16;
  box-shadow: 0 -1.7rem 0 -1.45rem #f2b735, 1.7rem 0 0 -1.45rem #f2b735, -1.7rem 0 0 -1.45rem #f2b735;
}

@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .hero,
  .sport-hero,
  .rules-hero,
  .game-day,
  .rules-bottom {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    min-height: 21rem;
  }

  .sport-grid,
  .rules-grid,
  .info-card-grid,
  .signal-grid,
  .section-card-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .feature-strip article + article {
    border-left: 0;
    border-top: 1px solid rgba(63, 141, 51, 0.32);
    padding-left: 0;
    padding-top: 1rem;
  }

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

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

@media (max-width: 520px) {
  .header-inner {
    padding: 0.95rem 1rem;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.5rem);
  }

  .hero-copy {
    padding-top: 2rem;
  }

  .hero-art {
    transform: scale(0.82);
    transform-origin: center bottom;
    margin: -2.2rem -2rem -1.5rem;
  }

  .sport-card {
    min-height: 0;
  }

  .sport-card-link {
    min-height: 0;
  }

  .sport-icon {
    width: 4.8rem;
    height: 4.8rem;
  }

  .sport-card-row {
    font-size: 1.18rem;
  }

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

  .baseball-equipment,
  .rules-hero-art {
    height: 11.5rem;
    transform: scale(0.82);
    transform-origin: center bottom;
  }

  .remember-box {
    grid-template-columns: 1fr;
  }

  th,
  td {
    padding: 0.52rem;
    font-size: 0.78rem;
  }
}
