:root {
  color-scheme: light;
  --paper: #f5f0e7;
  --page: #fffaf1;
  --ink: #241e1b;
  --muted: #655b53;
  --rule: #c9beae;
  --accent: #8f302b;
  --accent-dark: #6b221f;
  --navy: #24323b;
  --navy-muted: #e5dac9;
  --brass: #f1c789;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Trebuchet MS", "Gill Sans", Calibri, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.58 var(--sans);
}

a { color: var(--accent-dark); text-underline-offset: .2em; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

img { display: block; inline-size: 100%; block-size: auto; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
code { overflow-wrap: anywhere; }

.wrap {
  width: min(75rem, calc(100% - 2 * clamp(1rem, 5vw, 5rem)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 1rem auto auto 1rem;
  z-index: 2;
  transform: translateY(-200%);
  padding: .6rem 1rem;
  background: var(--page);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem 1.8rem;
  min-height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding-block: .5rem;
  color: var(--ink);
  font: 700 1.1rem/1.2 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}

.frame-mark {
  display: block;
  flex: none;
  width: 1.05rem;
  height: 1.3rem;
  border: 1px solid var(--accent);
  box-shadow: inset 0 0 0 2px var(--paper), inset 0 0 0 3px var(--accent);
  transform: rotate(-7deg);
}

nav ul, .stats, .rubric, .route {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(.7rem, 2.5vw, 1.9rem);
}

nav a {
  display: inline-block;
  padding-block: .65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}

nav a:hover, nav a:focus-visible { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(1.8rem, 4vw, 4.5rem);
  padding-top: clamp(2.25rem, 6.8vw, 6.25rem);
}

.kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.kicker span { margin-inline: .17em; }

h1, h2, h3, .hero-subtitle, .stats strong, .score {
  font-family: var(--serif);
}

h1 {
  max-width: 8ch;
  margin: .25rem 0 .75rem;
  font-size: clamp(4rem, 7.1vw, 7.25rem);
  font-weight: 500;
  line-height: .86;
  letter-spacing: -.076em;
}

h1 i { color: var(--accent); font-weight: inherit; }

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.2;
}

.hero-lede {
  max-width: 42ch;
  margin-top: .9rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 2.75rem;
  padding: .5rem .85rem;
  border: 1px solid var(--accent-dark);
  background: var(--accent-dark);
  color: var(--page);
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
}

.button:hover { background: var(--accent); color: var(--page); }

.button-outline { background: transparent; color: var(--accent-dark); }
.button-outline:hover { background: var(--accent-dark); }

.text-link {
  display: inline-block;
  padding-block: .55rem;
  color: var(--accent-dark);
  font-size: .94rem;
  font-weight: 700;
}

.hero-figure > a {
  display: block;
  padding: clamp(.3rem, .7vw, .55rem);
  border: 1px solid #947d61;
  background: #e4d5bb;
  box-shadow: 0 14px 28px #47352023;
}

.hero-figure img { border: 1px solid #6f5d4d; }

.hero-figure figcaption, .wide-figure figcaption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .2rem .7rem;
  border-bottom: 1px solid var(--rule);
  padding-block: .7rem;
  color: var(--muted);
  font-size: .82rem;
}

.stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}

.stats li + li { border-inline-start: 1px solid var(--rule); }

.stats a {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: .12rem;
  padding: .9rem clamp(.65rem, 1.75vw, 1.5rem);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.stats a:hover { background: var(--page); }
.stats a:focus-visible { outline-offset: -4px; }

.stats strong {
  color: var(--accent);
  font-size: clamp(2.2rem, 4.5vw, 3.65rem);
  line-height: 1.03;
  font-weight: 400;
  font-variant-numeric: lining-nums;
  letter-spacing: -.055em;
}

.stats .denominator { font-size: .7em; }

.section {
  padding-block: clamp(2.6rem, 5.8vw, 5.3rem);
  border-bottom: 1px solid var(--rule);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: end;
  gap: .6rem clamp(1rem, 4vw, 3rem);
  margin-bottom: clamp(1.2rem, 2.7vw, 2rem);
}

.section-heading h2 {
  font-size: clamp(2.75rem, 5.4vw, 5.05rem);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .99;
}

.section-heading p { color: var(--muted); }
h3 { font-size: 1.52rem; line-height: 1.17; }

.next-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
}

.next-feature {
  display: grid;
  gap: .85rem;
  align-content: start;
  padding: clamp(1.35rem, 3.3vw, 2.85rem);
  background: var(--navy);
  color: var(--page);
}

.next-feature .kicker { color: var(--brass); }

.next-feature h3 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 4.85vw, 4.6rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.045em;
}

.next-feature > p:not(.kicker) { max-width: 52ch; color: var(--navy-muted); }

.next-gate {
  padding: clamp(1.3rem, 3.3vw, 2.4rem);
  border: 1px solid var(--rule);
  border-inline-start: 0;
  background: var(--page);
}

.next-gate ul, details ul { padding-inline-start: 1.15rem; }
.next-gate li + li, details li + li { margin-top: .45rem; }
.next-gate > p { color: var(--muted); }

.fight-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  background: var(--navy);
  color: var(--page);
}

.fight-capture { min-width: 0; margin: 0; }
.fight-capture video { display: block; width: 100%; height: auto; background: #111b21; }
.fight-capture figcaption { padding: .75rem 1rem; color: var(--navy-muted); font-size: .83rem; }

.fight-notes { padding: clamp(1.1rem, 2.9vw, 2.1rem); }
.fight-notes ol { padding-inline-start: 1.3rem; }
.fight-notes li + li { margin-top: .7rem; }
.fight-notes .actions { margin-top: 1.15rem; gap: .75rem; }
.fight-notes a { color: var(--brass); }
.fight-notes .button { background: var(--brass); border-color: var(--brass); color: var(--navy); }
.fight-notes .button:hover { background: var(--page); border-color: var(--page); }
.fight-reference { max-width: 82ch; margin-top: 1rem; color: var(--muted); }

.rig-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0 0;
}

.rig-feature h3 { margin: .23rem 0 .4rem; }
.rig-feature p:not(.kicker) { max-width: 65ch; color: var(--muted); }
.rig-feature .button { flex: none; }

.route-start {
  padding: 1rem 1.2rem;
  border-inline-start: 3px solid var(--accent);
  background: var(--page);
}

.route { margin-block: 1.4rem 1.9rem; border-top: 1px solid var(--rule); }

.route li {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.6fr);
  gap: .2rem clamp(.65rem, 3vw, 2.5rem);
  padding: .9rem .5rem;
  border-bottom: 1px solid var(--rule);
}

.route h3 { color: var(--accent-dark); }
.route p + p { color: var(--muted); }

.wide-figure > img { border: 1px solid #7e6957; }

.quality-context { max-width: 77ch; margin-bottom: 1.1rem; color: var(--muted); }

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--rule);
  background: var(--page);
}

.score-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  gap: .62rem;
}

.score-card + .score-card { border-inline-start: 1px solid var(--rule); }

.measure {
  padding-top: .85rem;
  margin-top: auto;
  border-top: 1px solid var(--rule);
  color: var(--muted);
}

.rig-evidence {
  background: var(--navy);
  color: var(--page);
  margin-top: 1.9rem;
}

.rig-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  gap: .65rem;
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.rig-gallery li {
  min-width: 0;
  background: #16242e;
}

.rig-gallery img {
  width: 100%;
  height: auto;
}

.rig-gallery span {
  display: block;
  padding: .55rem .65rem;
  font: 600 1rem/1.2 var(--serif);
}

.rig-evidence figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: .55rem;
  color: var(--navy-muted);
  padding: clamp(1.25rem, 3vw, 2rem) 1.15rem;
}

.rig-evidence figcaption .kicker, .rig-evidence a { color: var(--brass); }

.rig-evidence figcaption strong {
  color: var(--page);
  font: 500 clamp(1.85rem, 4.1vw, 3.7rem)/1.04 var(--serif);
  letter-spacing: -.037em;
}

.rig-evidence a:focus-visible { outline-color: var(--brass); }

.rig-motion {
  margin-top: .9rem;
  border-top: 1px solid var(--rule);
}

.score-card .score-pending {
  font-size: clamp(2.35rem, 4.5vw, 4rem);
}

.rig-motion video {
  display: block;
  width: min(100%, 38.75rem);
  height: auto;
  aspect-ratio: 620 / 530;
  background: var(--navy);
}

.disclosures {
  border-top: 1px solid var(--rule);
}

details { border-bottom: 1px solid var(--rule); }
details:last-child { border-bottom: 0; }

summary {
  display: flex;
  align-items: baseline;
  gap: .2rem .75rem;
  padding: 1rem .65rem;
  cursor: pointer;
  font: 700 1.25rem/1.25 var(--serif);
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::before {
  flex: none;
  content: "+";
  color: var(--accent);
  font: 400 1.25rem/1 var(--sans);
}

details[open] summary::before { content: "−"; }
summary:hover { background: var(--page); }

.detail-count {
  margin-inline-start: auto;
  color: var(--muted);
  text-align: end;
  font: 400 .88rem/1.3 var(--sans);
}

details > p, details > ul {
  max-width: 75ch;
  margin: 0 .65rem .9rem 2.05rem;
  color: var(--muted);
}

details p + p { margin-top: -.35rem; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .3rem 1.2rem;
  padding-block: 1.2rem 2rem;
  color: var(--muted);
  font-size: .9rem;
}

.site-footer p span { margin-inline: .15em; }

@media (max-width: 51rem) {
  html { scroll-padding-top: 1.1rem; }
  .site-header { position: static; }
  .masthead { flex-wrap: wrap; padding-block: .45rem; }
  nav { width: 100%; border-top: 1px solid var(--rule); }
  .hero { grid-template-columns: 1fr; }
  h1 { max-width: none; font-size: clamp(3.65rem, 10.6vw, 6.8rem); }
  .section-heading, .next-grid { grid-template-columns: 1fr; }
  .fight-layout { grid-template-columns: 1fr; }
  .next-gate { border-inline-start: 1px solid var(--rule); border-top: 0; }
}

@media (max-width: 39rem) {
  .masthead { gap: .2rem; }
  nav ul { column-gap: .85rem; }
  nav a { padding-block: .56rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .rig-feature { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .route li { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr; }
  .rig-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .score-card + .score-card { border-inline-start: 0; border-top: 1px solid var(--rule); }
}

@media print {
  body { background: white; }
  .site-header { position: static; }
  .site-header nav, .skip-link, .actions, .site-footer { display: none; }
  .wrap { width: 100%; }
  header, figure, .score-card { break-inside: avoid; }
}
