:root {
  --ink: #0a0a0a;
  --ink-2: #151513;
  --paper: #f3efe4;
  --mute: #a39f94;
  --rule: #34322d;
  --hot: #ff4127;
  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --gutter: 16px;
}
@media (min-width: 720px) {
  :root { --gutter: 32px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }

/* The display voice: wide, heavy, capitals. */
h1, h2, h3, .wordmark, .nav a, .kicker, .btn, .sec-head a, .fight-date, .fight-sport, .fight-watch, .count, .viewer button {
  font-family: var(--display);
  font-stretch: 125%;
  text-transform: uppercase;
}
h1, h2, h3 { font-weight: 800; line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance; }

/* Masthead */
.mast { border-bottom: 4px solid var(--paper); }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.wordmark { font-weight: 900; font-size: 22px; letter-spacing: 0.01em; text-decoration: none; }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 700; font-size: 13px; letter-spacing: 0.07em; text-decoration: none; padding-block: 6px; white-space: nowrap; }
.nav a:hover { color: var(--hot); }
.nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--hot); }
@media (max-width: 860px) {
  .mast-in { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 14px 0; }
  .nav { width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 22px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
  .nav::-webkit-scrollbar { display: none; }
}

/* Home: opening statement, used until there is a gallery to lead with */
.statement { padding-block: clamp(48px, 9vw, 120px) clamp(40px, 7vw, 88px); }
.statement h1 { font-size: clamp(34px, 8.8vw, 128px); font-weight: 900; max-width: 12ch; }
.statement p { margin-top: clamp(18px, 2.4vw, 30px); font-size: clamp(18px, 1.7vw, 23px); max-width: 34ch; color: var(--mute); letter-spacing: 0.02em; }

/* Home: lead gallery */
.lead-img img { width: 100%; max-height: 82vh; object-fit: cover; }
.lead-text { padding-block: 22px 8px; }
.lead-text h1 { font-size: clamp(30px, 6vw, 84px); margin-block: 8px 10px; }
.lead-text h1 a { text-decoration: none; }
.lead-text h1 a:hover { color: var(--hot); }

/* Sections */
.sec { padding-block: clamp(28px, 4vw, 52px); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-top: 4px solid var(--paper); padding-top: 14px; margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(20px, 2.4vw, 30px); }
.sec-head a { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; color: var(--mute); white-space: nowrap; }
.sec-head a:hover { color: var(--hot); }

.kicker { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; color: var(--hot); }
.when { font-size: 15px; color: var(--mute); letter-spacing: 0.02em; }
.dek { font-size: 19px; color: #d9d5ca; }

/* Fight rows: one tight line per card */
.fxs { border-top: 1px solid var(--rule); }
.fx { display: grid; grid-template-columns: 92px 1fr minmax(0, 300px); gap: 20px; align-items: center; padding-block: 13px; border-bottom: 1px solid var(--rule); }
.fx[hidden] { display: none; }
.fx-date { display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: baseline; font-family: var(--display); font-stretch: 125%; text-transform: uppercase; }
.fx-date b { font-size: 26px; font-weight: 900; line-height: 1; grid-row: span 2; }
.fx-date span { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; line-height: 1.1; }
.fx-date small { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--mute); line-height: 1.1; }
.fx h3 { font-size: clamp(17px, 1.75vw, 22px); font-weight: 800; line-height: 1.1; letter-spacing: 0; }
.fx h3 i { font-style: normal; font-size: 0.6em; font-weight: 700; letter-spacing: 0.06em; color: var(--mute); margin-inline: 0.3em; vertical-align: 0.12em; }
.fx-sub { margin-top: 5px; font-size: 15px; line-height: 1.3; color: var(--mute); }
.fx-tag { font-family: var(--display); font-stretch: 125%; text-transform: uppercase; font-size: 10.5px; font-weight: 800; letter-spacing: 0.1em; margin-right: 10px; color: var(--paper); }
.fx[data-sport='boxing'] .fx-tag { color: var(--hot); }
.fx-where { text-align: right; font-size: 15px; line-height: 1.3; color: var(--mute); }
.fx-watch { font-family: var(--display); font-stretch: 125%; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--paper); margin-top: 4px; }
@media (max-width: 760px) {
  .fx { grid-template-columns: 62px 1fr; gap: 4px 14px; align-items: start; }
  .fx-date { grid-template-columns: 1fr; grid-row: span 2; }
  .fx-date b { grid-row: auto; font-size: 24px; margin-bottom: 3px; }
  .fx-where { grid-column: 2; text-align: left; font-size: 14px; }
  .fx-watch { display: inline-block; margin-top: 3px; }
}

.month { margin-top: 34px; }
.month h2 { font-size: clamp(20px, 2.4vw, 30px); border-top: 4px solid var(--paper); padding-block: 14px 12px; }
.month h2 span { color: var(--mute); }
.month[hidden] { display: none; }
.past .fx h3, .past .fx-date b { color: var(--mute); }
.filter { display: flex; gap: 0; }
.filter button { font-family: var(--display); font-stretch: 125%; text-transform: uppercase; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; padding: 11px 18px; background: transparent; color: var(--paper); border: 2px solid var(--paper); margin-right: -2px; cursor: pointer; }
.filter button[aria-pressed='true'] { background: var(--paper); color: var(--ink); }
.sched-note { margin-top: 28px; max-width: 70ch; }
.sched-note a { color: var(--paper); }

/* Story list */
.story { padding-block: 24px; border-bottom: 1px solid var(--rule); }
.story.has-img { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
.story-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story h3 { font-size: clamp(24px, 3.2vw, 40px); margin-block: 8px 10px; }
.story h3 a { text-decoration: none; }
.story h3 a:hover { color: var(--hot); }
.story .dek { max-width: 56ch; margin-bottom: 10px; }
@media (max-width: 800px) {
  .story.has-img { grid-template-columns: 1fr; gap: 14px; }
}

/* Gallery cards */
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; padding-top: 18px; }
.gcard a { text-decoration: none; display: block; }
.gcard-img { background: var(--ink-2); }
.gcard-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gcard h3 { font-size: clamp(19px, 1.9vw, 26px); margin-block: 14px 6px; }
.gcard a:hover h3 { color: var(--hot); }
.count { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; margin-top: 6px; }
@media (max-width: 900px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gcards { grid-template-columns: 1fr; } }

/* Wire */
.wire-item { display: grid; grid-template-columns: 150px 1fr; gap: 28px; padding-block: 20px; border-bottom: 1px solid var(--rule); }
.wire-item h3 { font-size: clamp(18px, 1.8vw, 23px); line-height: 1.08; }
.wire-item h3 a { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--hot); }
.wire-take { margin-top: 8px; max-width: 64ch; }
.wire-take p + p { margin-top: 8px; }
.wire-src { margin-top: 6px; font-size: 15px; color: var(--mute); }
@media (max-width: 700px) { .wire-item { grid-template-columns: 1fr; gap: 6px; } }

/* Buttons: square blocks */
.btn { display: inline-block; background: var(--paper); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; text-decoration: none; padding: 14px 20px; }
.btn:hover { background: var(--hot); color: var(--ink); }
.about-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 4px solid var(--paper); padding-top: 26px; }
.about-strip p { max-width: 46ch; font-size: 20px; }
@media (max-width: 700px) { .about-strip { flex-direction: column; align-items: flex-start; } }

/* Page heads and long text */
.page-head { padding-block: clamp(36px, 6vw, 80px) clamp(20px, 3vw, 36px); }
.page-head h1 { font-size: clamp(38px, 8vw, 104px); font-weight: 900; }
.page-head > p:not(.kicker):not(.when) { margin-top: 16px; font-size: 20px; color: var(--mute); max-width: 44ch; }
.page-head .kicker { margin-bottom: 12px; }
.page-head .when { margin-top: 14px; }
.page-head .prose { margin-top: 18px; max-width: 62ch; }
.empty { padding-block: 28px 80px; font-size: 20px; color: var(--mute); max-width: 44ch; border-top: 1px solid var(--rule); }
.empty a { color: var(--paper); }
.sub { font-size: 20px; margin-top: 56px; padding-top: 14px; border-top: 4px solid var(--paper); }

.article header { padding-block: clamp(36px, 6vw, 80px) 28px; }
.article h1 { font-size: clamp(36px, 6.4vw, 80px); font-weight: 900; margin-block: 12px 18px; }
.article .dek { font-size: clamp(20px, 2vw, 25px); margin-bottom: 16px; }
.article-img { margin: 0 auto 32px; }
.article-img figcaption { font-size: 14px; color: var(--mute); margin-top: 8px; }
.prose { font-size: 20px; line-height: 1.62; padding-bottom: 72px; }
.prose p + p, .prose p + h2, .prose h2 + p, .prose ul, .prose ol { margin-top: 1.05em; }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose a { text-decoration-color: var(--hot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.2em; list-style: revert; }
.prose img { margin-block: 1.4em; }
.big-mail { font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: clamp(19px, 3.4vw, 34px); overflow-wrap: anywhere; }
.page-head .prose { padding-bottom: 0; }

/* Gallery frames: rows justify themselves from each photograph's shape */
.frames { display: flex; flex-wrap: wrap; gap: 6px; padding-inline: 6px; }
.frames::after { content: ''; flex-grow: 100; }
.frame { flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * 340px); background: var(--ink-2); cursor: zoom-in; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame:first-child { flex-basis: 100%; }
.frame:first-child img { max-height: 86vh; }
@media (max-width: 700px) {
  .frame { flex-basis: 100%; }
}
.gallery > .fine { padding-block: 26px 72px; }
.fine { font-size: 14px; color: var(--mute); }

.viewer { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #000; color: var(--paper); }
.viewer::backdrop { background: #000; }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.viewer img { max-width: 100vw; max-height: calc(100dvh - 56px); object-fit: contain; grid-row: 1; grid-column: 1; }
.viewer-cap { grid-row: 2; padding: 10px 16px 16px; font-size: 15px; color: var(--mute); text-align: center; min-height: 56px; }
.viewer button { position: absolute; z-index: 2; background: var(--paper); color: var(--ink); border: 0; font-weight: 800; font-size: 12px; letter-spacing: 0.08em; padding: 12px 14px; cursor: pointer; }
.viewer button:hover { background: var(--hot); }
.viewer-close { top: 12px; right: 12px; }
.viewer-prev { left: 12px; top: 50%; }
.viewer-next { right: 12px; top: 50%; }

/* Footer */
.foot { border-top: 4px solid var(--paper); margin-top: clamp(40px, 6vw, 88px); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; padding-block: 36px 44px; }
.foot p { color: var(--mute); font-size: 16px; margin-top: 10px; max-width: 40ch; }
.foot-links { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; font-size: 16px; }
.foot-links a { text-decoration-color: var(--rule); text-underline-offset: 4px; }
.foot-links a:hover { color: var(--hot); }
.foot .fine { grid-column: 1 / -1; font-size: 14px; max-width: none; margin: 0; }
@media (max-width: 700px) {
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { align-items: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  a, .btn { transition: color 0.12s, background-color 0.12s; }
}

/* Scorecard */
.card-wrap { max-width: 980px; margin-bottom: 40px; }
.card { border-top: 4px solid var(--paper); border-bottom: 4px solid var(--paper); padding-block: 20px 22px; }
.card header h2 { font-size: clamp(22px, 3vw, 34px); margin-block: 8px 6px; }
.card header h2 i { font-style: normal; font-size: 0.5em; font-weight: 700; letter-spacing: 0.06em; color: var(--mute); margin-inline: 0.3em; vertical-align: 0.2em; }
.card table { width: 100%; border-collapse: collapse; margin-top: 18px; font-family: var(--display); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.card th, .card td { padding: 10px 4px; text-align: center; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 600; color: var(--mute); }
.card thead th { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-stretch: 125%; border-bottom: 2px solid var(--paper); color: var(--paper); }
.card tbody th { text-align: left; text-transform: uppercase; font-stretch: 125%; font-weight: 800; font-size: 14px; letter-spacing: 0.03em; color: var(--paper); white-space: nowrap; padding-right: 14px; }
.card thead th:first-child { text-align: left; }
.card td.won { color: var(--paper); font-weight: 900; }
.card td.tot { font-size: 22px; font-weight: 900; border-left: 2px solid var(--paper); padding-left: 12px; }
.card td.tot.won { color: var(--hot); }
.card thead th:last-child { border-left: 2px solid var(--paper); }
.card-tall { display: none; }
.card-tall thead th, .card-tall td { width: 38%; }
.card-tall thead th:first-child, .card-tall tbody th { width: 24%; }
.card-tall td.tot { border-left: 0; padding-left: 4px; }
.card-tall thead th:last-child { border-left: 0; }
.card-tall .tot-row th, .card-tall .tot-row td { border-top: 2px solid var(--paper); border-bottom: 0; }
.card-sum { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 22px 0 0; }
.card-sum dt { font-family: var(--display); font-stretch: 125%; text-transform: uppercase; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; color: var(--mute); }
.card-sum dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 18px; line-height: 1.35; }
@media (max-width: 720px) {
  .card-wide { display: none; }
  .card-tall { display: table; }
}
