:root {
  --ink: #121212;
  --muted: #67615a;
  --paper: #f7f4ec;
  --font-display: Impact, "Arial Narrow", sans-serif;
  --surface: #ffffff;
  --line: #ded9cf;
  --gold: #f4b02a;
  --green: #2f6f4e;
  --red: #9f3d34;
  --black: #050505;
  --shadow: 0 10px 24px rgba(18, 18, 18, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: white;
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}
.brand img { border-radius: 4px; }
.brand span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}
.site-nav a {
  padding: 8px 11px;
  border-radius: 6px;
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { background: var(--gold); color: var(--black); }
main { min-height: 70vh; }
.home-hero { background: var(--black); }
.home-hero img { width: 100%; max-height: 460px; object-fit: cover; }
.content-section {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.page-title {
  background: var(--gold);
  color: var(--black);
  padding: clamp(34px, 5vw, 58px) 0 clamp(26px, 4vw, 44px);
  border-bottom: 4px solid var(--black);
}
.page-title h1,
.content-section h1,
.content-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}
.page-title h1,
.content-section h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.content-section h2 { font-size: clamp(2rem, 5vw, 4rem); }
.page-title p { max-width: 72ch; margin: 12px 0 0; color: rgba(5,5,5,0.78); font-weight: 700; font-size: 1.05rem; }
.content-section { padding: clamp(38px, 6vw, 72px) 0; }
.intro-band {
  background: var(--gold);
  color: var(--black);
  text-align: center;
  padding: 16px clamp(18px, 4vw, 52px);
  border-bottom: 4px solid var(--black);
}
.intro-band h1 {
  margin: 0 auto;
  max-width: 48rem;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}
.trophy-band {
  padding: clamp(26px, 4.5vw, 46px) 18px;
  color: #fff;
  background: #111;
  text-align: center;
}
.trophy-band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}
.trophy-band p {
  margin: 10px 0 0;
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}
.division-prime .trophy-band { background: #f72585; }
.division-comp .trophy-band { background: #087e8b; }
.division-one .trophy-band { background: #050505; }
.division-one .trophy-band h2 { color: var(--gold); }
.trophy-body { padding: clamp(26px, 4vw, 44px) 0 clamp(34px, 5vw, 60px); }
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.entry-card,
.manager-card,
.principle,
.season-block,
.link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.entry-card { padding: 16px; border-left: 6px solid var(--gold); }
.entry-year { color: var(--muted); font-weight: 900; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.entry-card h3 {
  margin: 4px 0 2px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--green);
}
.entry-card p { margin: 0; color: var(--muted); }
.principle-list { display: grid; gap: 14px; }
.principle { padding: 22px; }
.principle h3 { margin: 0 0 8px; font-size: 1.18rem; }
.principle p { margin: 0; color: #34302c; }
.legend { font-size: 0.94rem; }
.manager-section + .manager-section { border-top: 1px solid var(--line); }
.manager-grid { display: grid; gap: 16px; }
.manager-card { padding: 20px; border-left: 6px solid var(--gold); }
.manager-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--green);
}
.badges { color: var(--gold); }
.manager-full { margin: 4px 0 0; color: var(--muted); }
.manager-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.manager-meta span {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 6px;
  background: #f0ede6;
  color: #38332d;
  font-size: 0.9rem;
}
.manager-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-top: 16px;
}
.manager-columns h4,
.standing-division h3 { margin: 0 0 8px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--green); }
ul, ol { margin-top: 0; padding-left: 1.25rem; }
.manager-columns li,
.standing-division li { margin: 3px 0; }
.quick-years {
  width: min(1120px, calc(100% - 36px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.quick-years a {
  text-align: center;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  background: #fffaf0;
  color: var(--black);
  font-weight: 900;
  text-transform: uppercase;
  border: 2px solid #050505;
  box-shadow: 0 3px 0 #050505;
}
.quick-years a:hover { background: #050505; color: var(--gold); }
.standings-section h2 { margin-bottom: 22px; }
.season-block { padding: 22px; margin: 18px 0; overflow-x: auto; border-left: 8px solid var(--gold); }
.season-block h2 { margin: 0 0 16px; font-size: 2.2rem; }
.division-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  min-width: min(100%, 560px);
}
.standing-division ol { margin-bottom: 0; }
.standing-division li::marker { font-weight: 800; }
.link-card-list { display: grid; gap: 16px; max-width: 680px; }
.link-card {
  display: block;
  padding: 22px;
  text-decoration: none;
  background: #fffaf0;
  border: 2px solid #050505;
  box-shadow: 0 4px 0 #050505;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-card:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #050505; }
.link-card span { display: block; color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.link-card strong {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--green);
}
.not-found { text-align: center; }
.button-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--black);
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.site-footer {
  padding: 28px 18px;
  color: rgba(255,255,255,0.72);
  background: var(--black);
  text-align: center;
}
.site-footer p { margin: 0; }
@media (max-width: 760px) {
  body { font-size: 16px; overflow-x: clip; }
  .site-header { position: static; align-items: flex-start; flex-direction: column; gap: 10px; padding: 12px 14px; overflow-x: clip; }
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; width: 100%; gap: 6px; }
  .site-nav a { min-width: 0; padding: 7px 8px; font-size: 0.88rem; text-align: center; overflow-wrap: anywhere; }
  .home-hero img { max-height: none; object-fit: contain; }
  .content-section, .quick-years { width: min(100% - 28px, 1120px); }
  .intro-band h1, .page-title h1, .content-section h2 { overflow-wrap: anywhere; }
  .page-title p { max-width: 100%; overflow-wrap: anywhere; }
  .trophy-band { text-align: left; padding-left: 14px; padding-right: 14px; }
  .manager-columns { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: 1fr; }
  .division-grid { min-width: 0; grid-template-columns: 1fr; }
}
@media print {
  body { background: white; color: black; }
  .site-header, .site-footer, .quick-years { display: none; }
  .entry-card, .manager-card, .principle, .season-block, .link-card { box-shadow: none; border-color: #aaa; }
  .page-title, .content-section { width: 100%; }
}
.season-block-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.season-block-header h2 { margin-bottom: 0; }
.season-link,
.season-switcher a,
.season-title a {
  color: var(--green);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.season-nav {
  width: min(1120px, calc(100% - 36px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.season-nav a {
  text-align: center;
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 900;
}
.season-nav a[aria-current="page"],
.season-nav a:hover { background: var(--gold); color: var(--black); }
.season-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.recap-stream {
  display: grid;
  gap: 14px;
  max-width: 86ch;
}
.recap-stream > p,
.stat-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.recap-heading {
  margin: 28px 0 2px;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}
.stat-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}
.stat-card p { margin: 8px 0 0; }
.stat-winner {
  color: var(--green);
  font-weight: 900;
  font-size: 1.08rem;
}
@media (max-width: 760px) {
  .season-nav { width: min(100% - 28px, 1120px); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .season-block-header { align-items: flex-start; flex-direction: column; }
}

/* Season record-book redesign */
.record-shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}
.season-page main { background: #f7f4ec; }
.record-book-hero {
  color: #fff;
  background: #050505;
  text-align: center;
  padding: clamp(58px, 9vw, 118px) 0 clamp(66px, 10vw, 128px);
}
.record-book-hero p { margin: 0 0 18px; }
.record-book-hero a {
  color: rgba(255,255,255,0.72);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.record-book-hero h1 {
  display: inline-block;
  margin: 0;
  padding: 0 0 18px;
  border-bottom: 12px solid var(--gold);
  color: #fff;
  font-family: Impact, "Arial Narrow", var(--font-condensed, sans-serif);
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}
.season-title-band {
  color: #050505;
  background: var(--gold);
  text-align: center;
  padding: clamp(34px, 5vw, 54px) 0 clamp(28px, 4vw, 42px);
  border-bottom: 4px solid #050505;
}
.season-title-band h1 {
  margin: 0;
  font-family: Impact, "Arial Narrow", var(--font-condensed, sans-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}
.season-title-band p {
  max-width: 62ch;
  margin: 12px auto 0;
  color: rgba(5,5,5,0.78);
  font-weight: 700;
}
.season-page .season-nav {
  margin: 0 auto;
  padding: 18px 0;
  width: min(1120px, calc(100% - 36px));
}
.season-page .season-nav a {
  border: 2px solid #050505;
  background: #fffaf0;
  box-shadow: 0 3px 0 #050505;
  text-transform: uppercase;
}
.season-page .season-nav a[aria-current="page"],
.season-page .season-nav a:hover {
  background: #050505;
  color: var(--gold);
}
.season-page .season-detail {
  width: 100%;
  padding: 0 0 clamp(42px, 7vw, 82px);
}
.season-page .season-switcher {
  width: min(1120px, calc(100% - 36px));
  margin: 18px auto 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(5,5,5,0.16);
}
.season-page .season-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: #1f5e42;
  font-size: 0.94rem;
  text-decoration: none;
}
.redesigned-record-book {
  display: block;
  max-width: none;
}
.season-front-matter {
  background: var(--gold);
  color: #050505;
  padding: clamp(26px, 5vw, 58px) 0 clamp(34px, 6vw, 68px);
}
.front-group + .front-group {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(22px, 3vw, 34px);
  border-top: 4px solid rgba(5,5,5,0.82);
}
.front-heading,
.division-heading,
.award-section-title,
.highlight-panel h3 {
  font-family: Impact, "Arial Narrow", var(--font-condensed, sans-serif);
  letter-spacing: 0;
  text-transform: uppercase;
}
.front-heading {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
}
.front-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(18px, 5vw, 52px);
  align-items: start;
}
.front-group-notes-only .front-grid { grid-template-columns: 1fr; }
.front-awards {
  display: grid;
  gap: 14px;
}
.front-notes {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}
.note-list,
.highlight-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.note-list li,
.highlight-list li {
  position: relative;
  margin: 0;
  padding-left: 22px;
}
.note-list li + li,
.highlight-list li + li { margin-top: 12px; }
.note-list li::before,
.highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: currentColor;
}
.note-list strong,
.highlight-list strong { font-weight: 900; }
.division-section { background: #f7f4ec; }
.division-heading {
  margin: 0;
  padding: clamp(30px, 5vw, 54px) 18px;
  color: #fff;
  background: #111;
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
}
.division-prime .division-heading { background: #f72585; }
.division-comp .division-heading { background: #087e8b; }
.division-one .division-heading { background: #050505; color: var(--gold); }
.division-league .division-heading { background: #050505; color: #fff; }
.division-body {
  padding: clamp(34px, 6vw, 74px) 0;
}
.highlight-panel {
  margin: 0 0 clamp(28px, 5vw, 48px);
  padding: clamp(20px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 8px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.highlight-panel h3 {
  margin: 0 0 18px;
  color: #050505;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}
.highlight-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px clamp(18px, 4vw, 34px);
}
.highlight-list li + li { margin-top: 0; }
.award-section-title {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}
.award-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.season-page .stat-card {
  margin: 0;
  padding: 18px 18px 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(18, 18, 18, 0.07);
}
.front-awards .stat-card {
  background: rgba(255,255,255,0.28);
  border-color: rgba(5,5,5,0.18);
  border-left-color: #050505;
  box-shadow: none;
}
.award-grid .stat-card:nth-child(1) {
  background: #050505;
  border-color: #050505;
  border-left-color: var(--gold);
  color: #fff;
}
.award-grid .stat-card:nth-child(1) .stat-winner { color: var(--gold); }
.season-page .stat-card h3 {
  margin: 0 0 8px;
  color: inherit;
  font-size: 1rem;
  line-height: 1.22;
}
.season-page .stat-card p { margin: 7px 0 0; }
.season-page .stat-winner {
  color: var(--green);
  font-family: Impact, "Arial Narrow", var(--font-condensed, sans-serif);
  font-size: clamp(1.55rem, 2.7vw, 2.15rem);
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .record-shell,
  .season-page .season-nav,
  .season-page .season-switcher { width: min(100% - 28px, 1120px); }
  .record-book-hero { padding: 42px 0 54px; }
  .record-book-hero h1 { border-bottom-width: 8px; font-size: clamp(2.8rem, 16vw, 4rem); }
  .season-title-band { text-align: left; }
  .season-title-band h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .season-page .season-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-grid,
  .highlight-list { grid-template-columns: 1fr; }
  .division-heading { text-align: left; padding-left: 14px; padding-right: 14px; }
  .award-grid { grid-template-columns: 1fr; }
}

/* 2025 standings table images */
.season-standings-chart {
  margin: 0 0 clamp(28px, 5vw, 48px);
  padding: 0;
}
.season-standings-chart figcaption {
  margin: 0 0 10px;
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.standings-chart-scroll {
  overflow-x: auto;
  padding: clamp(12px, 2vw, 18px);
  background: #050505;
  border: 1px solid rgba(5,5,5,0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.standings-chart-scroll img {
  width: 100%;
  min-width: min(760px, 100%);
  max-width: none;
  margin: 0 auto;
  border-radius: 8px;
}
@media (max-width: 760px) {
  .season-standings-chart figcaption { padding-left: 2px; }
  .standings-chart-scroll { margin-left: -14px; margin-right: -14px; border-radius: 0; }
  .standings-chart-scroll img { width: auto; height: auto; max-height: 58vh; }
}

/* Managers page redesign */
.league-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.league-legend span:last-child { flex-basis: 100%; margin-top: 4px; color: rgba(5,5,5,0.78); }
.league-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.chip-prime { background: #f72585; }
.chip-comp { background: #087e8b; }
.chip-one { background: #050505; color: var(--gold); }
.career-table .league-chip { font-size: 0.64rem; padding: 2px 7px; }
.manager-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.manager-filters button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
  cursor: pointer;
}
.manager-filters button[aria-pressed="true"] { background: var(--black); color: #fff; border-color: var(--black); }
#active-managers .manager-grid { display: block; column-count: 2; column-gap: 16px; }
#active-managers .manager-card { display: inline-block; width: 100%; break-inside: avoid; margin: 0 0 16px; }
.manager-grid .manager-card { min-width: 0; }
.manager-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.current-leagues { display: flex; gap: 6px; flex-shrink: 0; padding-top: 4px; }
.career-table-scroll { overflow-x: auto; margin-top: 14px; -webkit-overflow-scrolling: touch; }
.career-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 0.92rem; }
.career-table th {
  padding: 6px 8px;
  text-align: left;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line);
}
.career-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.career-table tbody tr:last-child td { border-bottom: none; }
.career-table tr.row-win { background: rgba(244, 176, 42, 0.16); }
.career-table tr.row-baluser { background: rgba(159, 61, 52, 0.08); }
.career-table .team-carried { color: var(--muted); font-style: italic; }
.row-money { color: var(--green); }
.other-names, .card-notes { margin: 10px 0 0; font-size: 0.88rem; color: var(--muted); }
.other-names strong { color: var(--ink); }
@media (max-width: 760px) {
  #active-managers .manager-grid { column-count: 1; }
  .career-table { font-size: 0.86rem; }
  .career-table th, .career-table td { padding: 5px 6px; }
  .manager-head { flex-direction: column; }
}
