:root {
  color-scheme: dark;
  --ink: #07111d;
  --line: #ffffff26;
  --muted: #afc2d6;
  --yellow: #ffe433;
  --white: #f7fbff;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--white);
  background: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: linear-gradient(180deg, #03102270, #030a16ee 1300px), url('/jungle-blue-background.jpg') center top / 100% auto no-repeat, var(--ink);
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
a:hover { color: var(--yellow); }
header, main, footer { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 54px; height: 54px; object-fit: contain; }
.brand span { font-size: 24px; font-weight: 700; }
.brand small { display: block; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
nav { display: flex; gap: 12px; font-size: 14px; }
nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 14px; text-decoration: none; border-radius: 8px; }
nav a:hover { background: #ffffff0c; }
.season-chip, .pill { border: 1px solid var(--line); padding: 10px 14px; border-radius: 30px; font-size: 11px; background: #07111dc9; }
.season-chip { color: var(--yellow); }
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; padding: 48px 0 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 11px; color: var(--yellow); font-weight: 700; margin: 0 0 16px; line-height: 1.6; }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; margin: 0; }
h1 { font-size: clamp(54px, 7.5vw, 92px); line-height: .95; letter-spacing: -2px; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; }
.intro > p { border-left: 3px solid var(--yellow); padding-left: 22px; color: #d3dfeb; line-height: 1.8; font-size: 15px; margin: 0; }
section { padding: 32px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-copy { max-width: 840px; color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0 0 26px; }
/* Each outer box is a matchup; its two inset panels are the opponents. */
.hierarchy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.hierarchy-matchup { --accent: #77b9ff; border: 2px solid #5485b7; border-top: 5px solid var(--accent); border-radius: 18px; background: #0b2035; overflow: hidden; box-shadow: 0 12px 28px #00000045; }
.crown-matchup { --accent: var(--yellow); border-color: #b6a43e; border-top-color: var(--yellow); }
.hierarchy-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 16px 20px; background: #183d61; border-bottom: 1px solid #5485b7; }
.crown-matchup .hierarchy-heading { background: #38391c; border-color: #b6a43e; }
.hierarchy-heading h3 { display: flex; align-items: center; gap: 12px; font-size: 28px; }
.matchup-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; font: 700 18px 'Space Grotesk', sans-serif; color: #07111d; background: var(--accent); }
.hierarchy-heading > span { color: #e0edfa; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.crown-matchup .hierarchy-heading > span { color: var(--yellow); }
.hierarchy-pair { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: stretch; padding: 16px; gap: 8px; }
.ladder-team { min-width: 0; padding: 20px; border: 1px solid #35506b; border-radius: 12px; background: #071727; }
.ladder-team-heading { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ladder-seed { font-size: 12px; color: var(--muted); }
.crown-badge { font-size: 11px; color: var(--yellow); }
.playoff-status { margin-left: auto; font-size: 11px; color: var(--muted); line-height: 1.5; }
.ladder-team h4 { font-family: 'Barlow Condensed', sans-serif; font-size: 30px; font-weight: 700; line-height: 1.15; margin: 0 0 18px; text-transform: uppercase; overflow-wrap: anywhere; }
.ladder-team h4 a { display: inline-block; padding-block: 5px; text-decoration: none; }
.ladder-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.ladder-stats dt { font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.ladder-stats dd { font-size: 19px; margin: 0; font-variant-numeric: tabular-nums; }
.versus { align-self: center; justify-self: center; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #5485b7; border-radius: 50%; background: #183d61; font-size: 11px; font-weight: 700; color: #e0edfa; }
.playoff-cutoff { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-block: 2px solid #ffe43380; font-size: 12px; line-height: 1.6; color: var(--muted); }
.playoff-cutoff b { text-transform: uppercase; letter-spacing: 1px; color: var(--yellow); }
.wildcard-team { background: #10352d; border: 2px solid #75e4b5; }
.wildcard-badge { display: inline-block; border-radius: 5px; padding: 6px 8px; background: #75e4b51a; color: #a7f8d5; font-size: 11px; font-weight: 600; }
.wildcard-callout { padding: 22px 24px; margin-top: 24px; border: 1px solid #75e4b580; border-radius: 14px; background: #0a241e; }
.wildcard-callout > b { display: block; margin-top: 12px; font-size: 21px; }
.wildcard-callout p { color: #c6d5e4; font-size: 14px; line-height: 1.8; margin: 10px 0 0; }
.source-note { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 16px 0 22px; }
.rule-note { padding: 23px 26px; border-left: 3px solid var(--yellow); background: #ffe43309; border-radius: 0 12px 12px 0; }
.rule-note > b { color: var(--yellow); font-size: 15px; }
.rule-note p { color: #cad6e2; font-size: 14px; line-height: 1.8; margin: 10px 0 0; }
.reviews-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.team-review { min-width: 0; border: 1px solid #35506b; background: linear-gradient(135deg, #10263b, #081522); border-radius: 18px; padding: 28px; scroll-margin-top: 20px; }
.review-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--yellow); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
h3 { font-size: 34px; line-height: 1.1; overflow-wrap: anywhere; }
.review-title { font-size: 15px; color: #d2dfec; margin: 10px 0 22px; }
.week-scores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 0; border-block: 1px solid var(--line); }
.week-scores span { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.week-scores b { display: block; font-size: 23px; font-weight: 500; margin: 7px 0; }
.week-scores small { font-size: 12px; line-height: 1.6; color: var(--muted); display: block; overflow-wrap: anywhere; }
.team-review > p:not(.review-title), .outlook p { font-size: 15px; line-height: 1.85; color: #c6d5e4; }
.team-review > p:not(.review-title) { margin: 22px 0; }
.outlook { border-top: 1px solid var(--line); padding-top: 18px; }
.outlook h4 { color: var(--yellow); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; margin: 0; }
.outlook p { margin: 8px 0 0; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 30px 0; margin-top: 30px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
footer img { width: 38px; }
footer a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px; background: var(--yellow); color: var(--ink); z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 900px) {
  header { gap: 12px; }
  nav { order: 3; flex-basis: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 12px; }
  .intro { gap: 28px; }
  .hierarchy-pair { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ladder-team { padding: 18px; }
  .reviews-grid { grid-template-columns: minmax(0, 1fr); }
  .versus { width: 32px; height: 32px; }
}
@media (max-width: 600px) {
  header, main, footer { width: calc(100% - 28px); }
  body { background-image: linear-gradient(180deg, #03102260, #030a16ee 850px), url('/jungle-blue-background-mobile.jpg'); }
  header { padding: 16px 0 12px; }
  .brand { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 21px; }
  .brand small { font-size: 9px; letter-spacing: 1px; }
  .season-chip { font-size: 10px; padding: 8px 10px; }
  nav { gap: 8px; padding-top: 10px; }
  nav a { flex: 1; border: 1px solid var(--line); background: #0b2035; }
  .intro { grid-template-columns: minmax(0, 1fr); padding: 28px 0 20px; gap: 20px; }
  .intro > p { font-size: 14px; padding-left: 16px; }
  .eyebrow { font-size: 10px; letter-spacing: 1.3px; }
  section { padding: 24px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .section-copy { font-size: 14px; }
  .hierarchy-list { gap: 24px; }
  .hierarchy-heading { padding: 12px; }
  .hierarchy-heading h3 { font-size: 25px; gap: 10px; }
  .hierarchy-heading > span { font-size: 10px; letter-spacing: .5px; }
  .matchup-number { width: 34px; height: 34px; font-size: 16px; }
  .hierarchy-pair { padding: 10px; gap: 8px; }
  .ladder-team { padding: 14px; }
  .ladder-team-heading { gap: 6px 10px; }
  .playoff-status { margin-left: 0; flex-basis: 100%; }
  .wildcard-badge { flex-basis: auto; }
  .ladder-team h4 { font-size: 28px; margin-bottom: 12px; }
  .ladder-stats { gap: 8px; padding-top: 12px; }
  .ladder-stats dd { font-size: 18px; }
  .playoff-cutoff { align-items: start; flex-direction: column; gap: 4px; }
  .wildcard-callout, .rule-note { padding: 18px; }
  .team-review { padding: 20px 16px; }
  .week-scores { gap: 10px; }
  .week-scores b { font-size: 21px; }
  h3 { font-size: 30px; }
  footer { gap: 10px; }
  footer p { flex: 1; line-height: 1.7; }
  footer a { margin-left: 48px; }
}
@media (max-width: 360px) {
  .season-chip { margin-left: 48px; }
  .hierarchy-heading > span { flex-basis: 100%; padding-left: 44px; }
  .week-scores { grid-template-columns: minmax(0, 1fr); }
  .week-scores > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 8px 0; }
  .week-scores b { margin: 0; }
  .week-scores small { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
