:root {
  --navy: #17365d;
  --ink: #16243a;
  --ivory: #f6f2e7;
  --paper: #fffdf7;
  --blue: #315985;
  --muted: #667083;
  --line: #d9d3c6;
  --gold: #c69842;
  --green: #2f6b53;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 242, 231, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { text-decoration: none; color: var(--navy); }
.brand strong { display: block; font: 700 1.5rem/1 Georgia, 'Times New Roman', serif; }
.brand span { display: block; margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
nav { display: flex; gap: 22px; font-size: .87rem; font-weight: 700; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus { text-decoration: underline; text-underline-offset: 5px; }

.masthead { padding: 68px 0 38px; }
.eyebrow { color: var(--navy); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; }
h1 { max-width: 900px; margin: 18px 0 20px; font-size: clamp(2.7rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.045em; }
.deck { max-width: 760px; margin: 0; color: #39465a; font: 1.22rem/1.55 Georgia, 'Times New Roman', serif; }
.issue-line { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; color: var(--muted); font-size: .86rem; }
.pill { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 11px; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 800; }

.scoreboard { background: var(--navy); color: white; }
.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.score { min-height: 170px; padding: 30px 26px; border-right: 1px solid rgba(255,255,255,.22); }
.score:last-child { border-right: 0; }
.score .label { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; opacity: .85; }
.score strong { display: block; margin: 13px 0 2px; font: 700 2.55rem/1 Georgia, 'Times New Roman', serif; }
.score small { color: #e8edf5; font-size: .88rem; }
.score { color: white; text-decoration: none; }
.score:hover, .score:focus-visible { background: rgba(255,255,255,.07); }
.score-context { display: block; margin-top: 14px; font-size: .82rem; color: #e8edf5; }
.method-intro { max-width: 780px; margin-bottom: 30px; }
.method-intro h3 { font-size: 1.55rem; margin-bottom: 10px; }
.method-intro p { color: var(--muted); }
.note h3 a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-table { overflow-x: auto; }
.review-table { overflow-x: auto; }
.review-table table { min-width: 720px; }
.leader-panel { overflow-x: auto; }
.article .data-date { color: var(--muted); font: .88rem/1.5 Arial, sans-serif; }

section { padding: 68px 0; }
.section-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -.025em; }
.section-head p { max-width: 580px; margin: 0; color: var(--muted); }
.paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.story-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 34px; }
.lead-story { padding-right: 34px; border-right: 1px solid var(--line); }
.lead-story h2 { margin: 12px 0 16px; font-size: clamp(2.1rem, 4vw, 3.7rem); line-height: 1.04; letter-spacing: -.03em; }
.lead-story p { max-width: 700px; font: 1.08rem/1.7 Georgia, 'Times New Roman', serif; }
.button { display: inline-flex; margin-top: 12px; padding: 12px 17px; background: var(--navy); color: white; text-decoration: none; font-weight: 800; }
.notes { display: grid; gap: 24px; }
.note { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.note:last-child { border-bottom: 0; }
.note h3 { margin: 7px 0; font-size: 1.36rem; }
.note p { margin: 0; color: var(--muted); font-size: .95rem; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab {
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  min-height: 42px;
  padding: 8px 16px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.tab[aria-selected="true"] { background: var(--navy); color: white; }
.leader-panel[hidden] { display: none; }
.leader-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.leader-table th { padding: 13px 16px; border-bottom: 2px solid var(--navy); color: var(--navy); font-size: .76rem; letter-spacing: .09em; text-align: left; text-transform: uppercase; }
.leader-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); }
.leader-table tr:last-child td { border-bottom: 0; }
.rank { width: 52px; color: var(--muted); font-weight: 800; }
.athlete strong { color: var(--navy); font: 700 1.13rem Georgia, 'Times New Roman', serif; }
.time { color: var(--navy); font: 700 1.45rem Georgia, 'Times New Roman', serif; text-align: right; }
.fine-print { margin-top: 14px; color: var(--muted); font-size: .83rem; }

.watch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.watch-card { padding: 24px; background: var(--paper); border-top: 5px solid var(--navy); }
.watch-card .tag { color: var(--blue); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.watch-card h3 { margin: 10px 0 8px; font-size: 1.55rem; }
.watch-card .number { display: block; margin: 20px 0 5px; color: var(--navy); font: 700 2.3rem Georgia, 'Times New Roman', serif; }
.watch-card p { margin: 0; color: var(--muted); }
.confidence { display: inline-block; margin-top: 18px; color: var(--green); font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.method-step { min-height: 210px; padding: 22px; background: var(--paper); }
.method-step b { display: block; color: var(--gold); font: 700 2rem Georgia, 'Times New Roman', serif; }
.method-step h3 { margin: 18px 0 8px; font-size: 1.15rem; }
.method-step p { margin: 0; color: var(--muted); font-size: .9rem; }

.target-note { margin-bottom: 22px; padding: 18px 20px; background: var(--ivory); border-left: 5px solid var(--gold); }
.qualifier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.qualifier-card { padding: 22px; background: var(--ivory); border-top: 4px solid var(--navy); }
.qualifier-card h3 { margin: 14px 0 2px; font: 700 1rem Arial, Helvetica, sans-serif; }
.qualifier-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.qualifier-card p strong { color: var(--navy); }
.target-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--paper); }
.target-table { width: 100%; min-width: 820px; border-collapse: collapse; }
.target-table th { padding: 12px 14px; background: var(--navy); color: white; font-size: .72rem; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.target-table td { padding: 14px; border-bottom: 1px solid var(--line); }
.target-table tr:last-child td { border-bottom: 0; }
.target-table td:first-child strong { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; }
.target-table td small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; }
.target-time { color: var(--navy); font-weight: 800; white-space: nowrap; }
.confidence-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.confidence-dot::before { width: 8px; height: 8px; border-radius: 50%; content: ''; }
.confidence-dot.moderate::before { background: var(--gold); }
.confidence-dot.low::before { background: #a65d52; }
.target-foot { margin-top: 18px; color: var(--muted); font-size: .84rem; }
.target-foot p { margin: 8px 0; }
.projection-value { display: block; margin: 7px 0; font: 700 1.8rem/1.15 Georgia, 'Times New Roman', serif; }
.projection-range { display: block; font-size: .9rem; }
.qualifier-card h3:not(:first-child) { margin-top: 22px; }
.current-target-table th { font-size: .875rem; letter-spacing: .04em; }
.current-target-table td small { font-size: .875rem; }
.current-target-table .target-time { white-space: normal; }
.article .current-target-table th { color: white; }
.article.forecast-article h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; }
.forecast-article .qualifier-grid { grid-template-columns: 1fr; }
.forecast-article .qualifier-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.forecast-article .qualifier-card .eyebrow { grid-column: 1 / -1; }
.forecast-article .qualifier-card h3 { margin: 8px 0 0; grid-row: 2; }
.forecast-article .qualifier-card p { font: 1rem/1.5 Arial, sans-serif; grid-row: 3; }
.field-evidence { border-top: 1px solid var(--line); padding: 20px 0; }
.field-evidence summary { cursor: pointer; color: var(--navy); font: 700 1.15rem/1.4 Georgia, serif; }
.field-evidence h2 { font-size: 1.5rem; }
.field-evidence h3 { margin-top: 28px; }
.field-evidence .review-table table { min-width: 560px; }
.target-sources a { color: var(--navy); font-weight: 700; text-underline-offset: 3px; }

.school-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter { padding: 7px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 700; cursor: pointer; }
.filter.active { border-color: var(--navy); background: var(--navy); color: white; }
.school-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.school { padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.school h3 { margin: 0 0 5px; font-size: 1.22rem; }
.school p { margin: 0; color: var(--muted); font-size: .9rem; }
.status { display: inline-block; margin-top: 16px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.archive-list { border-top: 2px solid var(--navy); }
.archive-item { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.archive-item time { color: var(--muted); font-weight: 700; }
.archive-item h3 { margin: 0 0 5px; font-size: 1.35rem; }
.archive-item p { margin: 0; color: var(--muted); }
.archive-item a { color: var(--navy); font-weight: 800; text-underline-offset: 4px; }

.site-footer { padding: 38px 0 50px; background: var(--navy); color: #edf2f8; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.site-footer strong { font: 700 1.25rem Georgia, 'Times New Roman', serif; }
.site-footer p { max-width: 640px; color: #cdd8e8; font-size: .88rem; }
.source-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: start; justify-content: end; }
.source-links a { font-size: .88rem; }

.article-shell { display: grid; grid-template-columns: minmax(0, 740px) 260px; gap: 70px; align-items: start; }
.article { background: var(--paper); padding: 48px; border-top: 5px solid var(--navy); }
.article h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
.article h2 { margin-top: 48px; font-size: 2rem; }
.article p, .article li { font: 1.08rem/1.78 Georgia, 'Times New Roman', serif; }
.article .callout { margin: 34px 0; padding: 25px; background: var(--ivory); border-left: 5px solid var(--gold); }
.article .callout p { margin: 0; }
.article table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article th, .article td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.article th { color: var(--navy); }
.article-aside { position: sticky; top: 100px; }
.article-aside h3 { margin-top: 0; }
.article-aside a { display: block; padding: 9px 0; color: var(--navy); font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 900px) {
  nav { display: none; }
  .score-grid { grid-template-columns: repeat(2, 1fr); }
  .score:nth-child(2) { border-right: 0; }
  .score:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.22); }
  .story-grid, .article-shell { grid-template-columns: 1fr; }
  .lead-story { padding: 0 0 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .watch-grid, .school-grid, .qualifier-grid { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; }
  .method-step { min-height: auto; }
  .article-aside { display: none; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .masthead { padding-top: 46px; }
  .score-grid, .watch-grid, .school-grid, .footer-grid, .qualifier-grid { grid-template-columns: 1fr; }
  .score { min-height: 135px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .section-head { align-items: start; flex-direction: column; }
  .leader-panel .leader-table th:nth-child(4), .leader-panel .leader-table td:nth-child(4) { display: none; }
  .leader-table td { padding: 15px 8px; }
  .time { font-size: 1.2rem; }
  .archive-item { grid-template-columns: 1fr; gap: 5px; }
  .source-links { justify-content: start; }
  .article { padding: 28px 22px; }
  .current-target-table { min-width: 0; }
  .current-target-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .current-target-table tbody, .current-target-table tr { display: block; }
  .current-target-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px; border-bottom: 1px solid var(--line); }
  .current-target-table tr:last-child { border-bottom: 0; }
  .current-target-table td { padding: 6px 0; border: 0; }
  .current-target-table .school-name { grid-column: 1 / -1; }
  .current-target-table .division-cell { display: none; }
  .current-target-table .target-time { padding-right: 10px; }
  .current-target-table .target-time::before { content: attr(data-label); display: block; margin-bottom: 5px; color: var(--muted); font-size: .875rem; font-weight: 400; }
  .forecast-article .qualifier-card { display: block; }
  .forecast-article .qualifier-card h3 { margin-top: 18px; }
}
