@font-face {
  font-family: "Instrument Serif"; src: url("assets/instrument-serif.woff") format("woff");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif"; src: url("assets/instrument-serif-italic.woff") format("woff");
  font-style: italic; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "DM Sans"; src: url("assets/dm-sans.woff") format("woff");
  font-style: normal; font-weight: 100 900; font-display: swap;
}
:root {
  --paper: #f7f3ea; --paper-light: #fdfaf3; --ink: #1b322c; --red: #a7422a;
  --muted: #555e53; --rule: #c7c4b6; --ink-light: #d5dfd1;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background-color: var(--paper); font: 16px/1.55 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; }
h1, h2, p, figure { margin: 0; }
button, summary, a { -webkit-tap-highlight-color: rgba(167,66,42,.15); }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #ab4c23; outline-offset: 5px; }
.race-archive :focus-visible, footer :focus-visible { outline-color: #f1bb87; }
.shell { width: min(1330px, 89%); margin: 0 auto; }
.skip { position: absolute; left: .75rem; top: -6rem; padding: .7rem 1rem; z-index: 15; background: white; color: var(--ink); }
.skip:focus { top: .75rem; }
.masthead { border-top: 5px solid var(--ink); border-bottom: 1px solid var(--rule); }
.navline { min-height: 77px; display: flex; align-items: center; gap: 3.4%; position: relative; }
.brand, .footer-brand { text-decoration: none; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; font: 31px/.95 var(--display); letter-spacing: -.025em; }
.brand img { border-radius: 3px; }
.desktop-nav { margin-left: auto; display: flex; gap: clamp(22px, 2.8vw, 46px); }
.desktop-nav a, .profile-link, .mobile-nav, .back { font-size: 13px; font-weight: 650; text-decoration: none; }
.desktop-nav a { padding: 12px 0; }
.desktop-nav a:hover, .profile-link:hover, .back:hover, .mobile-nav a:hover { color: var(--red); }
.profile-link { padding: 4px 0 4px clamp(18px, 2.6vw, 40px); border-left: 1px solid var(--rule); }
.profile-link span { margin-left: 4px; color: var(--red); font-size: 16px; }
.mobile-nav { display: none; }
.section-anchor { scroll-margin-top: 18px; }
.hero { display: grid; grid-template-columns: minmax(0,.81fr) minmax(0,1.19fr); align-items: center; gap: clamp(24px, 4.6vw, 80px); padding-block: clamp(48px,5.1vw,84px) clamp(41px,4.4vw,70px); }
.byline, .section-kicker, .plate-heading, .source, .race-year, .press-year, .result-line, .photo-credit {
  font-family: var(--sans); font-size: 11px; line-height: 1.4; font-weight: 690; text-transform: uppercase; letter-spacing: .14em;
}
.byline { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .2em; color: var(--red); }
.byline span { width: 30px; height: 2px; background: var(--red); }
h1, h2, .stat, .race-name, .press-title, .footer-brand { font-family: var(--display); font-weight: 400; }
h1 { font-size: clamp(88px,8.6vw,143px); line-height: .85; letter-spacing: -.051em; margin: 25px 0 27px; }
h1 em { font-weight: 400; }
h1 b { font-weight: 400; color: var(--red); }
.hero-intro { max-width: 36ch; font-size: clamp(16px,1.2vw,20px); line-height: 1.58; color: #3d4b40; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px clamp(20px,2.2vw,34px); margin-top: 27px; }
.button, .text-link, .replay, .race-links a { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font-size: 13px; font-weight: 720; }
.button { min-height: 46px; padding: 0 20px; background: var(--ink); color: var(--paper-light); border: 1px solid var(--ink); }
.button:hover { background: #304e40; }
.button span, .text-link span { font-size: 17px; line-height: 1; }
.text-link { min-height: 42px; border-bottom: 1px solid var(--red); }
.text-link span { color: var(--red); }
.text-link:hover, .race-links a:hover { color: var(--red); }
.hero-figure { min-width: 0; position: relative; }
.plate { position: relative; padding: 9px 10px 0; background: #faf7ee; border: 1px solid #aea993; box-shadow: 5px 5px 0 #dfdacb; }
.plate-heading { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; padding: 2px 3px 9px; font-size: 9px; color: var(--muted); }
.plate-heading span:first-child { color: var(--red); }
.race-image { overflow: hidden; background: #e6dfcf; }
.race-image img { width: 100%; height: auto; }
.plate-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 11px 4px 12px; }
.plate-caption strong { font: 27px/1 var(--display); display: block; }
.plate-caption small { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; }
.replay { min-height: 42px; gap: 8px; }
.play { width: 27px; height: 27px; border: 1px solid #9f9c8c; border-radius: 50%; display: grid; place-items: center; }
.play:after { content: ""; border-style: solid; border-width: 4px 0 4px 7px; border-color: transparent transparent transparent var(--red); margin-left: 2px; }
.replay:hover .play { border-color: var(--red); background: #f3e2cd; }
.photo-credit { margin: 10px 1px 0; font-size: 9px; line-height: 1.5; color: var(--muted); text-align: right; letter-spacing: .04em; text-transform: none; font-weight: 450; }
.milestones { background: #eae8da; border-block: 1px solid #c6c5b2; }
.milestone-grid { display: grid; grid-template-columns: repeat(3,1fr); padding-block: clamp(19px,2.2vw,34px); }
.milestone-grid > div { display: flex; align-items: center; justify-content: center; gap: clamp(12px,2.05vw,37px); padding: 1px clamp(12px,1vw,17px); }
.milestone-grid > div + div { border-left: 1px solid #b8bba8; }
.milestone-grid > div:first-child { justify-content: flex-start; padding-left: 0; }
.milestone-grid > div:last-child { justify-content: flex-end; padding-right: 0; }
.stat { font-size: clamp(43px,4.55vw,69px); line-height: 1; letter-spacing: -.05em; }
.stat + span { font-size: clamp(11px,.97vw,15px); line-height: 1.45; font-weight: 560; }
.story { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); gap: clamp(44px,9vw,140px); align-items: center; padding-block: clamp(55px,6.8vw,108px); }
.section-kicker { color: var(--red); margin: 0 0 15px; }
h2 { font-size: clamp(53px,5.45vw,88px); line-height: .99; letter-spacing: -.04em; }
h2 em, .footer-brand em { font-weight: 400; }
.story-copy p:not(.section-kicker) { font-size: 16px; line-height: 1.7; max-width: 62ch; margin-top: 16px; color: #3d4b40; }
.story-copy h2 + p { margin-top: 23px; }
.story-source { margin-top: 12px; }
.history-figure { align-self: center; border-top: 2px solid var(--ink); padding-top: 9px; }
.history-figure img { width: 100%; height: auto; }
.history-figure figcaption { padding-top: 10px; }
.history-figure strong { display: block; font: 22px/1.1 var(--display); }
.history-figure figcaption span { display: block; color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 4px; }
.race-archive { background: var(--ink); color: var(--paper-light); }
.archive-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(36px,6.8vw,105px); padding-block: clamp(55px,6.3vw,100px); }
.archive-intro .section-kicker { color: #efaf86; }
.archive-intro h2 { max-width: 7.2ch; }
.archive-intro > p:last-child { color: var(--ink-light); max-width: 32ch; margin-top: 23px; }
.race-list { border-top: 1px solid #718476; }
.race-entry { border-bottom: 1px solid #64796c; }
.race-entry summary { padding: 19px 0; display: grid; grid-template-columns: 55px 1fr 28px; align-items: baseline; gap: 12px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.race-year { font-size: 11px; color: #efaf86; }
.race-name { font-size: clamp(29px,2.5vw,41px); line-height: 1; letter-spacing: -.01em; }
.race-name small { display: block; font: 12px/1.4 var(--sans); color: var(--ink-light); margin-top: 7px; }
.expander { position: relative; width: 26px; height: 26px; align-self: center; border: 1px solid #7e9286; border-radius: 50%; }
.expander:before, .expander:after { content: ""; position: absolute; top: 50%; left: 50%; height: 1px; width: 10px; background-color: var(--paper); transform: translate(-50%,-50%); }
.expander:after { transform: translate(-50%,-50%) rotate(90deg); }
.race-entry[open] .expander:after { display: none; }
.race-entry summary:hover .race-name { color: #efc5a8; }
.race-body { padding: 0 25px 22px 67px; color: #dce2d5; font-size: 14px; line-height: 1.65; }
.result-line { display: flex; gap: 8px 13px; flex-wrap: wrap; color: #efc6a8; font-size: 10px; letter-spacing: .08em; margin-top: 14px; }
.result-line span + span { border-left: 1px solid #76887a; padding-left: 13px; }
.race-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.race-links a { color: white; border-bottom: 1px solid #91a393; padding: 6px 0 2px; font-size: 12px; }
.race-links a:hover { color: #efc6a8; }
.press { padding-block: clamp(55px,6.5vw,102px); }
.press-head { display: flex; align-items: flex-end; justify-content: space-between; flex-direction: row-reverse; margin-bottom: 28px; gap: 10px; }
.press-head .section-kicker { margin: 0 0 7px; }
.press-list { border-top: 2px solid var(--ink); }
.press-list a { display: grid; grid-template-columns: minmax(140px,.55fr) minmax(180px,1.45fr) auto 30px; align-items: center; gap: 20px; padding: 22px 0; text-decoration: none; border-bottom: 1px solid var(--rule); }
.press-list a:hover .press-title { text-decoration: underline; text-decoration-thickness: 1px; }
.source { color: var(--red); font-size: 10px; letter-spacing: .1em; }
.press-title { font-size: clamp(25px,2.4vw,38px); line-height: 1.1; }
.press-year { color: var(--muted); font-size: 10px; }
.link-arrow { font-size: 21px; color: var(--red); justify-self: end; }
footer { background: #162b24; color: var(--paper-light); }
.footer-inner { display: flex; align-items: center; gap: 25px; padding-block: 28px; }
.footer-brand { font-size: clamp(25px,3.1vw,43px); line-height: 1; }
.footer-inner p { color: #cad3c6; font-size: 11px; }
.footer-inner p span { color: #d1a086; margin: 0 5px; }
.back { margin-left: auto; }
.back:hover { color: #efbb9a; }
.back span { margin-left: 4px; }
@media (min-width: 1500px) { .hero { gap: 85px; } }
@media (max-width: 950px) {
  .shell { width: 91%; }
  .navline { min-height: 66px; }
  .brand { font-size: 28px; }
  .hero { gap: 24px; padding-block: 43px 35px; }
  h1 { font-size: clamp(73px,9vw,95px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { gap: 14px; margin-top: 20px; }
  .button { padding-inline: 14px; }
  .plate-caption { min-height: 60px; }
  .plate-caption strong { font-size: 24px; }
  .story { gap: 36px; }
  .archive-layout { gap: 34px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 40px); }
  .masthead { border-top-width: 4px; }
  .navline { min-height: 59px; }
  .brand { font-size: 26px; gap: 9px; }
  .brand img { width: 29px; height: 29px; }
  .desktop-nav, .profile-link { display: none; }
  .mobile-nav { display: block; margin-left: auto; }
  .mobile-nav summary { display: flex; align-items: center; gap: 10px; list-style: none; min-height: 44px; padding-left: 12px; }
  .menu-bars { width: 16px; height: 8px; border-block: 1px solid var(--ink); }
  .mobile-nav nav { position: absolute; z-index: 3; right: 0; top: calc(100% - 2px); display: grid; min-width: 190px; background: var(--paper-light); border: 1px solid var(--rule); box-shadow: 4px 4px 0 #ded9ca; }
  .mobile-nav:not([open]) nav { display: none; }
  .mobile-nav a { border-bottom: 1px solid #d8d4c7; padding: 13px 17px; text-decoration: none; }
  .mobile-nav a:last-child { border: 0; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-block: 33px 26px; }
  .hero-copy { max-width: 560px; }
  .byline { font-size: 10px; gap: 9px; }
  .byline span { width: 24px; }
  h1 { font-size: clamp(79px,13.5vw,100px); line-height: .85; margin: 18px 0 20px; }
  .hero-intro { max-width: 47ch; }
  .hero-actions { margin-top: 18px; gap: 22px; }
  .plate { box-shadow: 3px 3px 0 #dfdacb; padding: 7px 7px 0; }
  .plate-heading { font-size: 8.5px; padding: 1px 2px 7px; }
  .plate-caption { padding: 10px 2px; min-height: 52px; }
  .plate-caption strong { font-size: 24px; }
  .plate-caption small { margin-top: 2px; }
  .photo-credit { margin-top: 6px; }
  .milestone-grid { padding-block: 16px; }
  .milestone-grid > div, .milestone-grid > div:first-child, .milestone-grid > div:last-child { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding: 0 13px; }
  .milestone-grid > div:first-child { padding-left: 0; }
  .milestone-grid > div:last-child { padding-right: 0; }
  .stat { font-size: clamp(35px,7.3vw,50px); }
  .stat + span { font-size: 10.5px; line-height: 1.45; }
  .story, .archive-layout { grid-template-columns: 1fr; gap: 28px; padding-block: 45px; }
  h2 { font-size: clamp(51px,9vw,66px); }
  .section-kicker { font-size: 10px; margin-bottom: 10px; }
  .story-copy p:not(.section-kicker) { font-size: 15px; margin-top: 13px; }
  .history-figure { max-width: 540px; }
  .archive-intro h2 { max-width: none; }
  .archive-intro > p:last-child { margin-top: 13px; max-width: 40ch; font-size: 15px; }
  .race-entry summary { grid-template-columns: 40px 1fr 26px; gap: 8px; padding: 16px 0; }
  .race-body { padding: 0 3px 20px 48px; }
  .race-name { font-size: 29px; }
  .press { padding-block: 45px; }
  .press-head { display: block; margin-bottom: 18px; }
  .press-head .section-kicker { margin-bottom: 10px; }
  .press-list a { grid-template-columns: 1fr auto; gap: 6px 12px; padding-block: 16px; }
  .press-title { grid-row: 2; grid-column: 1; }
  .press-year { grid-row: 1; grid-column: 2; text-align: right; }
  .link-arrow { grid-row: 2; grid-column: 2; }
  .footer-inner { flex-wrap: wrap; gap: 7px 15px; position: relative; padding-block: 22px; }
  .footer-brand { font-size: 29px; }
  .footer-inner p { width: 100%; }
  .back { position: absolute; top: 26px; right: 0; }
}
@media (max-width: 350px) {
  .shell { width: calc(100% - 28px); }
  .hero-actions { gap: 13px; }
  .button, .text-link, .replay { font-size: 12px; }
  .plate-caption strong { font-size: 21px; }
  .race-entry summary { grid-template-columns: 34px 1fr 24px; }
  .race-body { padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
