@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;0,900;1,800;1,900&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --base: #131412;
  --band: #1a1b18;
  --ink: #f8f7ef;
  --muted: #b7b9ae;
  --acid: #f6df27;
  --line: #3a3c33;
  --display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --body: Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--base); color: var(--ink); font: 400 16px/1.55 var(--body); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--acid); outline-offset: 5px; }
img { max-width: 100%; display: block; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: .95; font-family: var(--display); text-transform: uppercase; }
h2 { font-size: clamp(3rem, 6.1vw, 5.4rem); font-weight: 800; }
h3 { font-size: clamp(1.55rem, 2.6vw, 2.45rem); font-weight: 700; }
.frame { width: min(100% - 96px, 1264px); margin-inline: auto; }
.skip { position: absolute; z-index: 10; top: 8px; left: 8px; padding: 12px; background: var(--base); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: #111210; border-bottom: 1px solid #2d3028; }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.header-inner { min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; line-height: .94; }
.brand-number { color: #151610; background: var(--acid); display: grid; place-content: center; width: 50px; height: 41px; font: italic 900 36px/.9 var(--display); clip-path: polygon(13% 0,100% 0,87% 100%,0 100%); padding-bottom: 4px; }
.brand b { font: italic 900 26px/.8 var(--display); letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .27em; margin-top: 6px; }
nav { display: flex; align-self: stretch; align-items: stretch; gap: clamp(14px, 2.8vw, 38px); }
nav a { position: relative; display: flex; align-items: center; color: var(--muted); font-weight: 700; font-size: .82rem; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--ink); }
nav a[aria-current]::after { content: ''; position: absolute; height: 3px; bottom: 0; left: 0; right: 0; background: var(--acid); }
.header-social { border: 1px solid var(--line); padding: 9px 14px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.header-social:hover { border-color: var(--acid); color: var(--acid); }
.menu { display: none; border: 1px solid var(--line); background: none; padding: 8px 11px; font-size: .85rem; }

.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-height: clamp(590px, 74svh, 740px); overflow: hidden; background: radial-gradient(ellipse at 85% 45%, #373629, #111210 66%); }
.hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: 58% 54%; }
.hero::before { position: absolute; z-index: -1; content: ''; inset: 0; background: linear-gradient(90deg, rgba(13,14,12,.99) 0%, rgba(13,14,12,.91) 25%, rgba(13,14,12,.53) 51%, transparent 75%), linear-gradient(0deg, rgba(13,14,12,.65), transparent 28%); }
.hero-inner { padding-block: 80px 105px; }
.kicker { display: flex; gap: 10px; align-items: center; color: var(--acid); font-size: .73rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 16px; }
.kicker i { width: 19px; height: 3px; background: var(--acid); transform: skewX(-24deg); flex: 0 0 auto; }
.hero h1 { font-size: clamp(5.3rem, 11vw, 10.9rem); font-weight: 900; font-style: italic; line-height: .78; letter-spacing: -.025em; }
.hero h1 span { display: block; color: var(--acid); font-size: .7em; letter-spacing: -.012em; margin-top: .15em; }
.hero-inner > p:not(.kicker) { max-width: 365px; margin-top: 28px; color: #efeee5; font-size: 1rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 17px; min-height: 46px; border: 1px solid transparent; font-weight: 800; font-size: .82rem; transition: background-color .2s, color .2s, border-color .2s; }
.button span { font-size: 1.05rem; }
.primary { background: var(--acid); color: #141511; }
.primary:hover { background: #fff285; }
.outline { border-color: #858777; background: #161712b0; }
.outline:hover { border-color: var(--acid); color: var(--acid); }
.hero-caption { position: absolute; inset: auto 0 16px; text-align: right; color: #f2f2e8; font-size: .72rem; }
.hero-caption a { display: inline-block; background: #111210bb; padding: 3px 9px; }
.hero-caption a:hover { color: var(--acid); }

.season-strip { background: var(--acid); color: #141511; }
.strip-inner { min-height: 94px; display: grid; grid-template-columns: .8fr repeat(3,1fr); align-items: stretch; }
.strip-inner > * { display: flex; align-items: center; gap: 13px; padding: 13px clamp(12px, 2.5vw, 34px); border-left: 1px solid #1d1d1733; }
.strip-inner > :first-child { border: 0; padding-left: 0; }
.strip-inner a:hover { background: #16171113; }
.strip-label { font-size: .74rem; font-weight: 800; letter-spacing: .09em; }
.strip-inner strong { font: italic 900 clamp(2.5rem, 4vw, 4rem)/.9 var(--display); }
.strip-inner a span { max-width: 145px; font-size: .84rem; font-weight: 800; line-height: 1.25; }

.section { padding-block: clamp(52px, 7vw, 100px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--acid); font-size: .83rem; font-weight: 800; padding-bottom: 4px; border-bottom: 1px solid #f6df276f; white-space: nowrap; }
.text-link:hover { border-color: var(--acid); }
.band { background: var(--band); border-block: 1px solid #303229; }
.race-list { border-top: 1px solid var(--line); }
.race { display: grid; grid-template-columns: 66px 125px minmax(0,1fr) auto 42px; align-items: center; gap: 18px; min-height: 94px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.race-no { color: #a9aa99; font: italic 800 1.9rem/1 var(--display); }
.race-date, .result { font-size: .78rem; font-weight: 800; }
.race-date { color: var(--acid); letter-spacing: .055em; }
.race-name p { color: var(--muted); font-size: .86rem; margin-top: 6px; }
.result { color: var(--muted); padding: 5px 10px; border: 1px solid var(--line); }
.podium { color: var(--acid); border-color: #f6df2759; }
.race-link { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); }
.race-link:hover { border-color: var(--acid); color: var(--acid); }
.photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.photo { min-width: 0; background: #1e201a; border: 1px solid var(--line); }
.photo > a { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #25261f; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo > a:hover img { transform: scale(1.04); }
.photo-icon { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--acid); color: #131412; font-weight: 800; font-size: 1.2rem; }
figcaption { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding: 12px 16px; }
figcaption strong { font: 700 1.6rem/1 var(--display); text-transform: uppercase; }
figcaption a, .history a { color: var(--muted); font-size: .74rem; }
figcaption a:hover, .history a:hover { color: var(--acid); }
.shop { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.site-footer { border-top: 1px solid var(--line); background: #10110f; }
.footer-inner { padding-block: 32px; }
.footer-inner p, .footer-links { font-size: .77rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: var(--acid); }

.subhero { background: radial-gradient(ellipse at 82% -25%, #3b3a20, transparent 67%), #191a17; border-bottom: 3px solid var(--acid); padding-block: clamp(60px, 8vw, 108px); }
.subhero h1 { font-size: clamp(3.9rem, 10vw, 9.5rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; }
.intro { max-width: 610px; color: var(--muted); margin-top: 16px; }
.story { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.story .photo-grid { grid-template-columns: 1fr; }
.story p:not(.kicker) { margin-top: 18px; color: var(--muted); max-width: 590px; }
.story .text-link, .season-review .text-link { margin-top: 19px; }
.history { border-top: 1px solid var(--line); margin-top: 25px; }
.history article { display: grid; grid-template-columns: 132px minmax(0,1fr) auto; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); padding-block: 24px; }
.history article > span { font: italic 800 1.9rem/1 var(--display); color: var(--acid); }
.history p { margin-top: 7px; color: var(--muted); }
.history article div:last-child a { display: block; }
.note { margin-top: 18px; color: var(--muted); font-size: .83rem; }
.season-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(30px, 5vw, 80px); }
.season-review h2 { font-size: clamp(2.85rem, 5vw, 4.65rem); }
.social-gallery { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lightbox { width: min(960px, 100% - 28px); max-height: 95dvh; background: #151612; padding: 14px; border: 1px solid var(--line); color: var(--ink); }
.lightbox::backdrop { background: #000d; }
.lightbox img { width: 100%; max-height: 73dvh; object-fit: contain; background: #0e0f0c; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 5px; }
.lightbox-controls p { font-weight: 700; }
.lightbox-controls button { border: 1px solid var(--line); background: transparent; font-size: 1.5rem; width: 42px; min-height: 42px; cursor: pointer; }
.lightbox-controls button:hover { color: var(--acid); border-color: var(--acid); }

@media (max-width: 1000px) {
  .frame { width: calc(100% - 56px); }
  .hero::before { background: linear-gradient(90deg, #0d0e0cf2, #0d0e0c9c 49%, #0d0e0c21 92%), linear-gradient(0deg,#0d0e0c8f,transparent 28%); }
}
@media (max-width: 760px) {
  .frame { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; flex-wrap: wrap; gap: 0; }
  .header-social { display: none; }
  nav { width: 100%; order: 3; flex-wrap: wrap; gap: 0 18px; }
  nav a { min-height: 43px; }
  .js .menu { display: block; }
  .js nav { display: none; flex-direction: column; padding-bottom: 9px; }
  .js .menu[aria-expanded="true"] + nav { display: flex; }
  .js nav a[aria-current]::after { right: auto; width: 32px; }
  .hero { min-height: 660px; justify-content: end; }
  .hero-photo { object-position: 59% top; height: 73%; }
  .hero::before { background: linear-gradient(0deg, #10110f 4%, #10110f 24%, #10110fdc 37%, #10110f27 68%, #10110f00 90%); }
  .hero-inner { padding-block: 235px 64px; }
  .hero h1 { font-size: clamp(4.7rem, 15vw, 7.5rem); }
  .hero-inner > p:not(.kicker) { margin-top: 22px; }
  .hero-actions { margin-top: 22px; }
  .strip-inner { grid-template-columns: repeat(3, 1fr); }
  .strip-inner > :first-child { grid-column: 1 / -1; border-bottom: 1px solid #1d1d1733; padding: 9px 0; }
  .strip-inner a { flex-direction: column; align-items: start; gap: 5px; padding: 13px 9px 15px; }
  .strip-inner a:nth-child(2) { border-left: 0; padding-left: 0; }
  .strip-inner a span { font-size: .7rem; }
  .section-head { flex-wrap: wrap; }
  .race { grid-template-columns: 74px minmax(0,1fr) 38px; gap: 7px 12px; }
  .race-no { display: none; }
  .race-date { grid-row: 1 / span 2; }
  .result { grid-column: 2; justify-self: start; font-size: .71rem; padding: 3px 7px; }
  .race-link { grid-column: 3; grid-row: 1 / span 2; }
  .race-name p { font-size: .78rem; }
  .story, .season-review { grid-template-columns: 1fr; }
  .history article { grid-template-columns: 87px minmax(0,1fr); gap: 8px 13px; }
  .history article > :last-child { grid-column: 2; }
  .history article > span { font-size: 1.55rem; }
  .footer-inner { align-items: start; flex-direction: column; gap: 17px; }
}
@media (max-width: 470px) {
  .hero { min-height: 600px; }
  .hero-photo { height: 67%; }
  .hero-inner { padding-top: 190px; }
  .photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .shop { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
