:root {
  color-scheme: light;
  --plum: #32182a;
  --deep-plum: #26121f;
  --berry: #b82450;
  --berry-ink: #8c1e40;
  --pink: #f689ae;
  --cream: #fff0ed;
  --paper: #fff8f5;
  --muted: #654651;
  --rule: #e4ced2;
  --display: "Bahnschrift", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  font: 100%/1.6 "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 4.75rem; }
body { margin: 0; background: var(--paper); color: var(--plum); }
a { color: var(--berry-ink); text-underline-offset: .22em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 4px; }
.top :focus-visible, .hero :focus-visible, .site-footer :focus-visible {
  outline-color: var(--pink);
}
.wrap { width: min(79rem, calc(100% - 4rem)); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.top, .site-footer { background: var(--deep-plum); color: var(--cream); }
.top { border-bottom: 1px solid #fff0ed2e; }
.top .wrap, .site-footer .wrap {
  display: flex;
  min-height: 4.625rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark, .footer-brand {
  color: inherit;
  font: italic 600 1.8rem/1 "Franklin Gothic Medium", "Segoe UI", sans-serif;
  letter-spacing: -.028em;
  white-space: nowrap;
}
.wordmark { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid;
  width: 2.125rem;
  height: 1.875rem;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  flex: none;
  --bar: var(--cream);
}
.brand-mark i { background: linear-gradient(var(--bar) 20%, transparent 20% 44%, var(--bar) 44% 62%, transparent 62% 82%, var(--bar) 82%); }
.brand-mark i:nth-child(1) { background: linear-gradient(transparent 18%, var(--bar) 18% 52%, transparent 52% 82%, var(--bar) 82%); }
.brand-mark i:nth-child(2) { background: linear-gradient(transparent 5%, var(--bar) 5% 60%, transparent 60% 82%, var(--bar) 82%); }
.brand-mark i:nth-child(4) { --bar: var(--pink); }
.brand-mark i:nth-child(6) { background: linear-gradient(var(--bar) 20%, transparent 20% 44%, var(--bar) 44% 92%, transparent 92%); }
.brand-mark i:nth-child(7) { background: linear-gradient(var(--bar) 20%, transparent 20% 52%, var(--bar) 52% 83%, transparent 83%); }
.site-label { margin-inline-start: auto; color: #f0ceda; font-size: .88rem; font-weight: 650; }
.language { display: flex; gap: .25rem; }
.language button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .375rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 650 .88rem/1 "Segoe UI", system-ui, sans-serif;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.language button[aria-pressed="true"] { background: var(--pink); color: var(--deep-plum); }
.language button[aria-pressed="false"]:hover { background: var(--plum); border-color: #fff0ed55; }
.language button:active { box-shadow: inset 0 2px 3px #26121f66; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--plum); color: var(--cream); }
.hero .wrap { position: relative; z-index: 1; display: flex; min-height: 31rem; align-items: center; padding-block: 3rem; }
.hero-copy { width: min(65%, 51rem); }
.eyebrow, .facts dt {
  font: 700 .875rem/1.35 var(--display);
  letter-spacing: .105em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .7rem; margin: 0 0 1rem; color: var(--pink); }
.edition { padding-inline-start: .7rem; border-inline-start: 1px solid currentColor; }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.045em; }
h1 { margin: 0; font-size: clamp(3rem, 6.12vw, 5.6rem); line-height: .93; font-variation-settings: "wght" 700, "wdth" 88; }
.title-line { display: block; overflow-wrap: anywhere; }
.lead { max-width: 49ch; margin: 1.5rem 0; color: #f5dbe2; font-size: 1.1rem; line-height: 1.53; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; }

.action {
  display: inline-flex;
  min-height: 2.875rem;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  background: var(--berry);
  color: var(--cream);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.action.secondary { background: transparent; color: var(--berry-ink); border-color: #c88c9d; }
.hero .action { background: var(--pink); color: var(--deep-plum); }
.hero .action.secondary, .site-footer .action.secondary { background: transparent; color: var(--cream); border-color: #fff0ed80; }
@media (hover: hover) {
  .action:hover { transform: translateY(-2px); background: var(--berry-ink); box-shadow: 0 4px 0 #32182a33; }
  .action.secondary:hover { background: var(--cream); border-color: var(--berry); }
  .hero .action:hover { background: #ffacc8; }
  .hero .action.secondary:hover, .site-footer .action.secondary:hover { background: #fff0ed18; border-color: var(--pink); }
}
.action:active { transform: translateY(1px); box-shadow: inset 0 2px 3px #26121f44; }

.hero-art {
  position: absolute;
  inset: 0 0 0 44%;
  overflow: hidden;
  clip-path: polygon(23% 0, 100% 0, 100% 100%, 0 100%);
  background: #8e254c;
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 49% 57%; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: .86; }
.finish-stripes, .finish-stripes::before, .finish-stripes::after { position: absolute; inset: 0; pointer-events: none; }
.finish-stripes { background: var(--berry); clip-path: polygon(22% 0, 32% 0, 9% 100%, 0 100%); }
.finish-stripes::before, .finish-stripes::after { content: ""; }
.finish-stripes::before { background: var(--pink); clip-path: polygon(28% 0, 29.75% 0, 6.75% 100%, 5% 100%); }
.finish-stripes::after { background: var(--cream); opacity: .72; clip-path: polygon(31% 0, 31.5% 0, 8.5% 100%, 8% 100%); }

.facts-band { background: var(--berry); color: var(--cream); }
.facts { display: grid; grid-template-columns: 1fr 1.09fr 1.23fr; margin-block: 0; }
.facts div { min-width: 0; padding: 1.15rem 1.5rem; border-inline-end: 1px solid #fff0ed55; }
.facts div:first-child { padding-inline-start: 0; }
.facts div:last-child { border: 0; }
.facts dt { color: #ffe2e9; }
.facts dd { margin: .25rem 0 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.35; }
.section-nav { position: sticky; z-index: 2; top: 0; background: var(--cream); border-bottom: 1px solid var(--rule); }
.section-nav .wrap { display: flex; gap: .15rem clamp(.6rem, 2.3vw, 1.75rem); flex-wrap: wrap; }
.section-nav a {
  display: flex;
  align-items: center;
  min-height: 3.625rem;
  padding: .5rem .15rem .4rem;
  border-block-end: 3px solid transparent;
  color: var(--plum);
  font-size: .9375rem;
  font-weight: 650;
  text-decoration: none;
}
.section-nav a:hover, .section-nav a:focus-visible { border-block-end-color: var(--berry); color: var(--berry-ink); }
.section-nav a:focus-visible { outline-offset: -2px; }

.block { padding-block: clamp(2rem, 4.5vw, 4rem); border-top: 1px solid var(--rule); }
.results { border-top: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: .875rem 1.5rem; margin-bottom: .6rem; }
.section-heading h2 { margin: 0; }
.section-heading .action { flex: 0 0 auto; }
h2 { margin: 0 0 .85rem; font-size: clamp(2rem, 3.4vw, 3.15rem); line-height: 1.04; }
h3 { margin: 0 0 .4rem; font-size: 1.18rem; line-height: 1.25; }
p { margin: 0 0 .85rem; }
.section-note { max-width: 75ch; margin-bottom: 1.4rem; color: var(--muted); }

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--plum);
  background: #755062;
  color: var(--cream);
}
.result { position: relative; padding: clamp(1.1rem, 2.2vw, 1.65rem); background: var(--plum); }
.result:first-child { background: var(--berry); }
.result h3 { margin: 0 0 .7rem; color: #ffe3eb; font: 650 .875rem/1.35 var(--display); letter-spacing: .065em; text-transform: uppercase; }
.mark { display: block; font: 700 clamp(2.7rem, 4vw, 3.6rem)/.97 var(--display); font-variant-numeric: tabular-nums; font-variation-settings: "wght" 700, "wdth" 91; letter-spacing: -.04em; }
.athlete { display: block; margin: .45rem 0 .3rem; font-size: 1.05rem; font-weight: 750; }
.result p { margin: 0; color: #ffeef0; font-size: .9375rem; line-height: 1.5; }
.result:target { outline: 3px solid var(--pink); outline-offset: -3px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .95fr); align-items: start; gap: clamp(1.5rem, 5.5vw, 4.75rem); }
.story p { max-width: 68ch; color: var(--muted); }
.story h3 { margin-top: 1.5rem; }
.story p:last-child { margin-bottom: 0; }
.venue { padding: clamp(1.15rem, 2vw, 1.65rem); border-top: 5px solid var(--berry); background: #fbdde6; }
.venue h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.venue address { margin-bottom: .5rem; font-style: normal; }
.venue p { color: var(--muted); }
.venue-link { border-block-start: 1px solid #bb8195; margin-block-start: 1.1rem; padding-block-start: 1.1rem; }
.venue-link a { margin-top: .15rem; }

.program { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 1.25rem; }
.program details { border: 1px solid var(--rule); background: var(--paper); }
.program summary {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 1rem;
  background: var(--cream);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.program summary::-webkit-details-marker { display: none; }
.program summary::after {
  content: "";
  flex: 0 0 .8rem;
  height: .8rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
              linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  color: var(--berry-ink);
}
.program details[open] summary::after { background-size: 100% 2px, 0 0; }
.program summary:hover { background: #fbdde6; }
.program table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.program th, .program td { padding: .55rem 1rem; border-top: 1px solid var(--rule); text-align: left; vertical-align: top; }
.program thead { color: var(--muted); background: #fff0ed7a; }
.program tbody th { font-weight: 650; }
.program tbody tr:target { background: #fbdde6; }

.sources-section { padding-block: clamp(2rem, 4.5vw, 3.5rem); border-top: 1px solid var(--rule); background: var(--cream); }
.source-group + .source-group { margin-top: 1.75rem; }
.sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem; padding: 0; margin: .75rem 0 0; list-style: none; }
.sources li { min-width: 0; padding: .85rem 1rem; border-top: 2px solid var(--berry); background: var(--paper); }
.sources a { font-weight: 720; }
.sources a:not(.action) { overflow-wrap: anywhere; }
.sources small { display: block; margin-top: .35rem; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.date-note, .image-credit { max-width: 82ch; margin: 1.25rem 0 0; color: var(--muted); font-size: .875rem; }
.image-credit { margin-top: .65rem; }
.site-footer .wrap { min-height: 4.875rem; }
.footer-brand { font-size: 1.25rem; }
.site-footer .action { font-size: .875rem; }

@media (max-width: 62rem) {
  .hero-copy { width: 65%; }
  .hero .wrap { min-height: 28rem; }
  .hero-art { left: 48%; }
  .lead { max-width: 41ch; }
  .facts div { padding-inline: 1rem; }
}

@media (max-width: 48rem) {
  html { scroll-padding-top: 1rem; }
  .wrap { width: calc(100% - 2.5rem); }
  .top .wrap { min-height: 4rem; }
  .hero .wrap { min-height: auto; padding-block: 2.35rem 2rem; }
  .hero-copy { width: 100%; }
  h1 { font-size: clamp(1.9rem, 9.5vw, 4.5rem); }
  .lead { max-width: 51ch; margin-block: 1rem 1.25rem; font-size: 1rem; }
  .hero-art { position: relative; inset: auto; height: clamp(9rem, 33vw, 15rem); clip-path: none; }
  .hero-art img { object-position: 50% 60%; }
  .finish-stripes { width: min(24rem, 55%); }
  .facts div { padding: .85rem .8rem; }
  .facts dt { font-size: .8125rem; }
  .facts dd { font-size: .9375rem; }
  .section-nav { position: static; }
  .section-nav .wrap { padding-block: .15rem; gap: 0 .75rem; }
  .section-nav a { min-height: 2.75rem; padding-inline: .1rem; font-size: .875rem; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .program { grid-template-columns: 1fr; }
}

@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .wordmark { font-size: 1.45rem; gap: .45rem; }
  .brand-mark { width: 1.75rem; height: 1.5rem; }
  .site-label { display: none; }
  .facts { grid-template-columns: 1fr; padding-block: .25rem; }
  .facts div { display: grid; grid-template-columns: 6.75rem minmax(0, 1fr); gap: .25rem .55rem; align-items: baseline; padding: .65rem 0; border: 0; border-bottom: 1px solid #fff0ed55; }
  .facts dd { margin-top: 0; }
  .section-heading { flex-direction: column; align-items: flex-start; margin-bottom: .75rem; }
  .sources { grid-template-columns: 1fr; }
  .program th, .program td { padding-inline: .65rem; }
}

@media (max-width: 28rem) {
  .highlights { grid-template-columns: 1fr; }
  .result { padding-block: .95rem 1rem; }
  .mark { font-size: 2.7rem; }
}

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

@media (prefers-reduced-motion: reduce) {
  .action, .language button { transition: none; }
  .action:hover, .action:active { transform: none; }
}

@media print {
  .section-nav, .language, .hero-art, .hero-actions { display: none; }
  .top, .hero, .facts-band, .result, .result:first-child, .site-footer { background: white; color: var(--plum); }
  .hero .wrap { padding-block: 1rem; min-height: 0; }
  .hero-copy { width: 100%; }
  .eyebrow, .hero .lead, .facts dt, .result h3, .result p, .site-label { color: var(--plum); }
  .result, .sources li { break-inside: avoid; }
}
