@font-face {
  font-family: League Gothic;
  src: url(league-gothic.ttf) format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #f5f2e9;
  --quiet: #bdc7ba;
  --dark: #111711;
  --panel: #171f18;
  --rule: #435047;
  --accent: #ddf582;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: League Gothic, Impact, "Arial Narrow", sans-serif;
  --gutter: clamp(18px, 3.8vw, 64px);
  font: 17px/1.55 var(--body);
  color: var(--ink);
  background: var(--dark);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, select { font: inherit; }
button, summary { cursor: pointer; }
a, a:hover, a:focus, a * { text-decoration: none !important; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), 1440px); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 3;
  inset: 12px auto auto 12px;
  padding: 7px 12px;
  color: var(--dark);
  background: var(--accent);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.masthead, .masthead nav, .footer, .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.masthead {
  justify-content: space-between;
  gap: 12px;
  padding-block: 17px;
  border-bottom: 1px solid var(--rule);
}
.masthead nav { gap: 8px clamp(16px, 3vw, 38px); }
.masthead nav a { font-size: .9rem; font-weight: 650; text-decoration-thickness: 1px; }
.monogram {
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: -.05em;
  text-decoration: none;
}
.monogram span { color: var(--accent); }
.label {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.cover {
  display: grid;
  grid-template-columns: minmax(0, .77fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(400px, 43vw, 570px);
  border-bottom: 1px solid var(--rule);
}
.cover-copy {
  align-self: center;
  padding: clamp(28px, 4.4vw, 70px) clamp(14px, 4vw, 56px) clamp(28px, 4.4vw, 70px) 0;
}
.cover-photo {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-left: 1px solid var(--rule);
  background: #253d29;
}
.cover-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 54%;
  filter: saturate(.85) brightness(.85);
}
.cover-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #0d180b65, transparent 48%);
  pointer-events: none;
}
.cover h1 { margin-block: 14px 19px; }
.cover-title {
  display: block;
  font: 400 clamp(5.2rem, 9.6vw, 9.75rem)/.79 var(--display);
  letter-spacing: -.008em;
  text-transform: uppercase;
}
.cover-source {
  display: block;
  margin-top: .67em;
  color: var(--accent);
  font-size: clamp(1.15rem, 2vw, 1.68rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 700;
}
.cover-copy > p:not(.label) {
  max-width: 36ch;
  color: var(--quiet);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.5;
}
.cover-actions, .links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 20px;
}
.cover-actions { margin-top: 23px; }
.action, .secondary, .source-links a {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 700;
}
.action {
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 3px;
  color: var(--dark);
  background: var(--accent);
  text-decoration: none;
  transition: background-color .16s, border-color .16s;
}
.action:hover { color: var(--dark); background: #edffba; border-color: #edffba; }

.scope {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}
.scope div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 5px 14px;
  align-items: baseline;
  padding: clamp(12px, 1.8vw, 24px) clamp(10px, 2.5vw, 37px);
}
.scope div:first-child { padding-left: 0; }
.scope div + div { border-left: 1px solid var(--rule); }
.scope dt { color: var(--quiet); font-size: .93rem; line-height: 1.35; }
.scope dd {
  order: -1;
  color: var(--ink);
  font: 400 clamp(2.45rem, 4.5vw, 4.1rem)/1 var(--display);
  font-variant-numeric: tabular-nums;
}

.chapter {
  padding-block: clamp(36px, 5.3vw, 77px);
  scroll-margin-top: 12px;
  border-bottom: 1px solid var(--rule);
}
.chapter-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 11px 30px;
  margin-bottom: clamp(19px, 3vw, 33px);
}
.chapter h2 {
  font: 400 clamp(3rem, 6vw, 5.75rem)/.88 var(--display);
  text-transform: uppercase;
}
.chapter-head p { max-width: 38ch; color: var(--quiet); font-size: 1rem; line-height: 1.45; }
.chapter h3 { line-height: 1.24; }

.explorer {
  border: 1px solid var(--rule);
  background: var(--panel);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-bottom: 1px solid var(--rule);
}
.tabs button {
  min-height: 57px;
  padding: 10px clamp(10px, 2.15vw, 30px);
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--quiet);
  background: transparent;
  font-size: clamp(.88rem, 1.35vw, 1.08rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  transition: color .15s, background .15s;
}
.tabs button + button { border-left: 1px solid var(--rule); }
.tabs button:hover { color: var(--ink); background: #303a2b; }
.tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color: var(--dark);
  background: var(--accent);
}
.tabs button:focus-visible { position: relative; outline: 2px solid currentColor; outline-offset: -6px; }
.explorer-body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(255px, 1fr);
}
.chart-main { min-width: 0; padding: clamp(16px, 2.7vw, 38px); }
.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 13px 23px;
}
.chart-main h3 {
  font-size: clamp(1.43rem, 2.42vw, 2.12rem);
  line-height: 1.12;
  letter-spacing: -.043em;
  font-weight: 750;
}
.chart-description { margin-top: 7px; color: var(--quiet); font-size: .95rem; }
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 14px; }
.filter {
  display: grid;
  align-items: center;
  gap: 3px;
  color: var(--quiet);
  font-size: .86rem;
  line-height: 1.3;
}
.filter select {
  min-height: 43px;
  max-width: 100%;
  padding: 6px 9px;
  border: 1px solid #586959;
  border-radius: 3px;
  color: var(--ink);
  background: #263328;
  font-size: .94rem;
}

.plot { margin-top: 17px; min-width: 0; }
.plot svg { display: block; width: 100%; overflow: hidden; }
.plot svg text { fill: #c3cfc3; font: 13px var(--body); font-variant-numeric: tabular-nums; }
.plot svg .grid { stroke: #4c5c50; stroke-width: 1; }
.plot svg .cursor { stroke: #bfd0c0; stroke-width: 1; stroke-dasharray: 3 4; }
.plot svg .series-mark { stroke: var(--panel); stroke-width: 1.8; }
.plot svg .selected-mark { stroke: var(--ink); stroke-width: 1.5; }
.plot svg .plot-target { cursor: crosshair; }
.plot .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 19px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: .87rem;
}
.plot .legend li { display: flex; align-items: center; gap: 7px; }
.plot .legend i { width: 12px; height: 3px; background: var(--swatch); }
.scrubber {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 14px;
  align-items: center;
  margin-top: 16px;
  font-size: .87rem;
}
.scrubber input { width: 100%; accent-color: var(--accent); }
.scrubber label { color: var(--quiet); }
.scrubber output {
  grid-column: 1 / -1;
  min-height: 1.55em;
  color: var(--ink);
  font-size: .9rem;
  font-variant-numeric: tabular-nums;
}
.chart-rows { margin-top: 16px; border-top: 1px solid var(--rule); font-size: .9rem; }
.chart-rows summary { padding-block: 10px; color: #dde6d9; }
.chart-rows [role=region] { overflow: auto; }
.chart-rows table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
.chart-rows th, .chart-rows td { padding: 7px 8px; border-bottom: 1px solid #3c4e41; white-space: nowrap; }
.chart-rows th { color: var(--accent); }

.bar-list { display: grid; gap: 10px; margin-block: 22px 18px; padding: 0; list-style: none; }
.bar-list li {
  display: grid;
  grid-template-columns: minmax(108px, 1fr) minmax(35px, 1.7fr) 4.6ch;
  align-items: center;
  gap: 9px;
  font-size: .94rem;
}
.bar-track { height: 10px; background: #334739; }
.bar-track i { display: block; height: 100%; background: var(--accent); }
.bar-list strong { text-align: right; font-variant-numeric: tabular-nums; }
.venue-list { display: grid; gap: 14px; margin: 17px 0; padding: 0; list-style: none; }
.venue-list li > div:first-child { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; }
.venue-list li > div:first-child span { color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.venue-marks { display: grid; gap: 3px; margin-top: 4px; }
.venue-marks span {
  display: block;
  padding: 1px 7px;
  color: var(--ink);
  font-size: .74rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(to right, var(--bar) var(--share), #303f32 var(--share));
}
.venue-marks .home-mark { --bar: #506738; }
.venue-marks .away-mark { --bar: #3d5a48; }
.venue-sample { margin-top: 4px; color: var(--quiet); font-size: .8rem; }
.study-period { margin: 18px 0 0; max-width: 95ch; color: var(--quiet); font-size: .95rem; }
.chart-source { color: var(--accent); font-size: .9rem; }
.case-note {
  min-width: 0;
  border-left: 1px solid var(--rule);
  padding: clamp(19px, 2.75vw, 39px);
  background: #253423;
}
.note-stat {
  margin: 15px 0 11px;
  color: var(--accent);
  font: 400 clamp(4.15rem, 6.1vw, 6.4rem)/.86 var(--display);
  letter-spacing: -.015em;
}
.case-note h3 { font-size: clamp(1.15rem, 1.7vw, 1.48rem); line-height: 1.13; letter-spacing: -.024em; }
.note-text { margin-top: 10px; color: #dce8db; font-size: .93rem; line-height: 1.48; }
.note-chart { display: grid; gap: 6px; margin-top: 18px; color: #dce8db; font-size: .84rem; }
.note-chart:empty { display: none; }
.note-month {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.note-month dl {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 12px;
  color: var(--ink);
}
.note-month dt { font-size: .95rem; font-weight: 700; }
.note-month dd { font: 400 2.15rem/1 var(--display); white-space: nowrap; }
.note-month p { margin-top: 5px; }
.outcome-row {
  display: grid;
  gap: 5px;
  width: 100%;
  min-height: 45px;
  border: 1px solid transparent;
  padding: 5px 0;
  color: inherit;
  background: transparent;
  text-align: left;
}
.outcome-row:hover { color: var(--accent); }
.outcome-header { display: flex; justify-content: space-between; gap: 7px; }
.outcome-header strong { font-variant-numeric: tabular-nums; }
.outcome-bar { display: flex; height: 9px; overflow: hidden; border-radius: 2px; background: #4d5f51; }
.outcome-bar i { height: 100%; background: var(--accent); }
.outcome-bar i + i { border-left: 1px solid #203326; }

.tableau-frame { border: 1px solid var(--rule); background: var(--panel); overflow: hidden; }
.tableau-frame iframe { display: block; width: 100%; border: 0; }
.tableau-link { margin-top: 12px; color: var(--accent); font-weight: 650; }
.tableau-preview { max-width: 100%; }
.workbook-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.workbook-tabs button {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: var(--panel);
}
.workbook-tabs button[aria-selected="true"] {
  color: var(--dark);
  background: var(--accent);
  border-color: var(--accent);
}
.tableau-preview-scroll { overflow-x: auto; }
.tableau-preview a { display: block; }
.tableau-preview img { display: block; width: 100%; min-width: 1000px; height: auto; border: 1px solid var(--rule); }
.tableau-preview figcaption { margin-top: 8px; color: var(--quiet); font-size: .88rem; }
.tableau-preview-hint { display: none; }
@media (max-width: 670px) {
  .tableau-preview-hint { display: inline; }
}

.pipeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 34px; }
.pipeline div { padding-block: 18px; border-top: 1px solid var(--rule); }
.pipeline dt { font-size: 1.12rem; font-weight: 750; }
.pipeline dd { margin-top: 6px; max-width: 48ch; color: var(--quiet); font-size: 1rem; }
.source-links { margin-top: 10px; }
.source-links a { color: var(--accent); }
.pipeline a, .report a { color: var(--accent); }
.application { margin-top: 24px; border-left: 3px solid var(--accent); padding-left: 16px; max-width: 64ch; }
.application p { margin-top: 6px; color: var(--quiet); }
.report { max-width: 930px; padding-block: 30px 80px; }
.report nav { display: flex; flex-wrap: wrap; gap: 12px 24px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.report article h1 { margin-block: 30px 18px; font: 400 clamp(2.8rem, 7vw, 5.2rem)/.92 var(--display); }
.report article h2 { margin-top: 36px; border-top: 1px solid var(--rule); padding-top: 15px; }
.report article h3 { margin-top: 22px; }
.report article :is(p, ul, ol, pre, table) { margin-block: 12px; }
.report article :is(p, li, td) { color: var(--quiet); }
.report article table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; text-align: left; }
.report article :is(th, td) { padding: 7px 10px; border-bottom: 1px solid var(--rule); }
.report article pre { overflow: auto; padding: 11px; background: var(--panel); }

.footer {
  align-items: start;
  justify-content: space-between;
  gap: 12px 25px;
  padding-block: 22px 32px;
  color: var(--quiet);
  font-size: .86rem;
}
.footer-links { gap: 5px 17px; }

@media (max-width: 1450px) {
  .tableau-frame { display: none; }
}

@media (max-width: 960px) {
  .cover { grid-template-columns: minmax(0, .93fr) minmax(0, 1fr); }
  .scope div { grid-template-columns: 1fr; }
  .explorer-body { grid-template-columns: 1fr; }
  .case-note { border-left: 0; border-top: 1px solid var(--rule); }
  .note-stat { font-size: 5.5rem; }
}

@media (max-width: 670px) {
  .cover { grid-template-columns: 1fr; min-height: 0; }
  .cover-copy { padding: 27px 0 21px; }
  .cover-title { font-size: clamp(4.3rem, 11.35vw, 6.15rem); }
  .cover-source { margin-top: .55em; }
  .cover-photo { min-height: 0; aspect-ratio: 2 / 1; border: 1px solid var(--rule); border-bottom: 0; }
  .cover-photo img { object-position: 60% 57%; }
  .cover-actions { margin-top: 15px; }
  .scope dd { font-size: clamp(2rem, 7vw, 3.1rem); }
  .scope dt { font-size: .78rem; }
  .chapter h2 { font-size: clamp(2.8rem, 8vw, 3.75rem); }
  .plot svg text { font-size: 12px; }
  .pipeline { column-gap: 20px; }
}

@media (max-width: 450px) {
  .masthead { padding-block: 11px; }
  .masthead nav a { font-size: .84rem; }
  .cover-photo { aspect-ratio: 1.85; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs button { min-height: 46px; padding: 8px 12px; }
  .tabs button:nth-child(odd) { border-left: 0; }
  .tabs button:nth-child(-n+4) { box-shadow: inset 0 -1px var(--rule); }
  .tabs button:last-child { grid-column: 1 / -1; }
  .filter select { font-size: .88rem; }
  .bar-list li { grid-template-columns: minmax(104px, 1.35fr) minmax(20px, 1fr) 4.3ch; gap: 6px; font-size: .87rem; }
  .note-stat { font-size: 4.9rem; }
  .pipeline { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
