@font-face {
  font-family: Race;
  src: url("assets/BarlowCondensed-ExtraBoldItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
}
:root {
  --ink: #15221d;
  --forest: #20362c;
  --paper: #f7f3e9;
  --chalk: #fff8e5;
  --amber: #ffb139;
  --muted: #4e5a51;
  --rule: #c4c7ba;
  --race: Race, "Arial Narrow", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.5 system-ui, sans-serif; }
img, video { display: block; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p, figure { margin: 0; }
h2, h3, .brand, .play, .genre, .series-picker label, .count {
  font: italic 800 1.3rem/1 var(--race);
  text-transform: uppercase;
}
h2 { font-size: clamp(2.5rem, 5.2vw, 5rem); letter-spacing: -.025em; }
h3 { font-size: 1.5rem; }
.wrap { width: min(1190px, 91%); margin-inline: auto; }
section[id] { scroll-margin-top: 82px; }
.sr, .choice, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip:focus { position: fixed; z-index: 20; top: 5px; left: 10px; background: white; color: black; padding: 12px; }
:focus-visible, .choice:focus-visible + label {
  outline: 3px solid #168dea; outline-offset: 4px;
}
.mast { position: sticky; top: 0; z-index: 5; color: var(--chalk); background: #15221dfb; border-bottom: 1px solid #45544a; }
.mast-inner, .brand, .mast nav, .langs, .actions, .play, .watch, footer .wrap { display: flex; align-items: center; }
.mast-inner { min-height: 64px; gap: clamp(15px, 2.8vw, 40px); }
.brand { gap: 8px; text-decoration: none; font-size: 1.55rem; white-space: nowrap; }
.brand img { object-fit: contain; }
.mast nav { gap: 26px; margin-left: auto; }
.mast nav a, .langs a, footer a { font-weight: 700; text-decoration: none; font-size: .94rem; }
.mast nav a, .langs a, footer a { display: inline-flex; align-items: center; min-height: 44px; }
.mast nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.langs { gap: 1px; padding-left: 15px; border-left: 1px solid #56625a; }
.langs a { justify-content: center; min-width: 40px; }
.langs [aria-current] { color: var(--amber); text-decoration: underline; text-underline-offset: 5px; }
.play { width: fit-content; justify-content: center; gap: 9px; min-height: 53px; padding: 10px 32px; background: var(--amber); color: #142118; text-decoration: none; font-size: 1.42rem; border: 1px solid #ffc973; border-radius: 3px 9px 3px 3px; box-shadow: 0 3px 0 #925619; }
.play i { width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; }
.play:hover { background: #ffc363; }
.mast .play { font-size: 1.08rem; padding: 7px 19px; min-height: 40px; }
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--chalk); background: #1b2922; }
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art { object-fit: cover; object-position: 54% 0%; z-index: -2; }
.hero::after { content: ""; z-index: -1; background: linear-gradient(90deg,#101c16ed, #14211ad1 26%, #17231c38 54%,transparent 75%), linear-gradient(0deg,#16221dcc,transparent 24%); }
.hero-inner { min-height: clamp(490px, 44.2vw, 680px); display: flex; flex-direction: column; align-items: start; justify-content: center; padding-block: 26px 38px; }
h1 { line-height: 0; }
.logo { width: clamp(205px, 19vw, 278px); height: auto; }
.genre { font-size: clamp(1.35rem,2.4vw,2.3rem); margin-top: 12px; letter-spacing: .055em; }
.pitch { max-width: 36ch; margin: 10px 0 19px; font-size: clamp(1rem,1.3vw,1.19rem); font-weight: 530; text-wrap: pretty; }
.actions { flex-wrap: wrap; gap: 16px; }
.watch { min-height: 46px; gap: 9px; font-weight: 700; text-underline-offset: 4px; }
.watch span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid #fff7dbbc; border-radius: 50%; font: 1rem/1 sans-serif; }
.platform { font-size: .88rem; color: #f2e9d5; margin-top: 14px; }
.overline, .location { color: #536050; font: 750 .83rem/1.3 system-ui,sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.controls { background: var(--ink); color: var(--chalk); border-top: 3px solid var(--amber); padding-block: 28px 20px; }
.control-grid { display: grid; grid-template-columns: .78fr 1fr 1fr; align-items: center; gap: 15px 30px; }
.controls h2 { font-size: clamp(1.9rem,3vw,3rem); }
.controls .overline, .garage .overline { color: #ffbf5d; margin-bottom: 5px; }
.pedal { display: flex; align-items: center; gap: 16px; border-left: 1px solid #59655b; padding-left: 24px; }
kbd { display: grid; place-items: center; flex: none; width: 48px; height: 44px; border: 1px solid #758370; border-bottom: 3px solid #849081; border-radius: 6px; font: italic 800 1.65rem var(--race); color: var(--chalk); }
.pedal p { max-width: 30ch; margin-top: 4px; color: #d7e0d5; }
.input-note { grid-column: 1/-1; padding-top: 12px; border-top: 1px solid #46574a; font-size: .91rem; color: #d5dfd2; }
.courses, .guide { padding-block: clamp(44px,6vw,90px); }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 15px; margin-bottom: 25px; }
.section-heading .overline { margin-bottom: 8px; }
.count { color: var(--muted); font-size: clamp(1.05rem,1.7vw,1.5rem); white-space: nowrap; }
.count b { color: #936024; padding-inline: 4px; }
.series-picker { min-width: 0; display: grid; grid-template-columns: repeat(4,1fr); padding: 0; margin: 0; border: 0; }
.series-picker label { cursor: pointer; min-height: 49px; display: grid; place-items: center; background: #e7e8dd; color: #435247; border-bottom: 3px solid #bbc2b1; font-size: 1.23rem; }
.series-picker label:hover { background: #dce1d3; }
.choice:checked + label { background: var(--forest); color: var(--chalk); border-color: var(--amber); }
.panels { grid-column: 1/-1; border-radius: 0 0 7px 7px; overflow: hidden; background: var(--forest); }
.scene { display: none; position: relative; isolation: isolate; color: var(--chalk); min-height: clamp(285px,30vw,400px); align-items: end; }
#rookie:checked ~ .panels .rookie, #challenger:checked ~ .panels .challenger,
#expert:checked ~ .panels .expert, #legend:checked ~ .panels .legend { display: grid; }
.scene img, .scene::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene img { z-index: -2; object-fit: cover; object-position: 50% 56%; }
.scene::after { content: ""; z-index: -1; background: linear-gradient(75deg,#111e19f5 0%,#16201bbb 28%,transparent 70%), linear-gradient(0deg,#101d1788,transparent 50%); }
.scene-copy { padding: clamp(22px,3.5vw,54px); }
.location { color: #ffca77; }
.scene h3 { font-size: clamp(2rem,4.7vw,4.3rem); margin: 7px 0; }
.scene-copy p:last-child { max-width: 42ch; }
.garage { color: var(--chalk); background: var(--forest); }
.garage-grid { display: grid; grid-template-columns: 1.08fr 1fr; align-items: stretch; gap: clamp(25px,4.2vw,70px); }
.shop-art { min-height: 100%; position: relative; }
.shop-art img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 52% 0%; }
.garage-copy { padding-block: clamp(36px,5vw,68px); }
.garage-copy > p:not(.overline) { max-width: 48ch; color: #e1e8dd; margin-top: 14px; }
.bike-pair { display: flex; gap: 12px; margin-top: 20px; max-width: 440px; }
.bike-pair figure { min-width: 0; flex: 1; }
.bike-pair img { width: 100%; height: auto; border-radius: 3px; }
.bike-pair figcaption { font-weight: 650; font-size: .94rem; margin-top: 5px; }
.guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; }
.guide h2 { margin-bottom: 22px; }
details { border-top: 1px solid var(--rule); }
details:last-child { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; padding: 17px 30px 17px 0; font-weight: 730; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; }
details[open] summary::after { content: "−"; }
details p { margin: 0 24px 16px 0; color: var(--muted); max-width: 65ch; }
footer { background: var(--ink); color: var(--chalk); }
footer .wrap { min-height: 75px; justify-content: space-between; }
footer .brand { font: italic 800 1.3rem var(--race); }
dialog { width: min(900px,94%); max-height: 94dvh; overflow: auto; padding: 18px; background: var(--ink); color: var(--chalk); border: 1px solid #687568; border-radius: 8px; }
dialog::backdrop { background: #08120fec; }
.film-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.film-head h2 { font-size: 1.9rem; }.film-head button { color: var(--chalk); padding: 7px 14px; min-height: 44px; background: transparent; border: 1px solid #859388; border-radius: 3px; cursor: pointer; }
dialog video { width: 100%; height: auto; max-height: 68dvh; background: black; }
dialog > p { margin-top: 12px; }
@media(max-width:820px){
  .mast nav { display: none; }.langs { margin-left: auto; }
  .control-grid { grid-template-columns: 1fr 1fr; gap: 14px 20px; }.control-grid > div:first-child { grid-column: 1/-1; }
  .pedal { padding: 0; border: 0; }
}
@media(max-width:700px){
  .wrap { width: calc(100% - 36px); }
  .mast-inner { min-height: 54px; gap: 10px; }.brand { font-size: 1.16rem; gap: 4px; }.brand img { width: 33px; height: 33px; }
  .langs { border: 0; padding: 0; gap: 0; }.langs a { min-width: 33px; }
  .mast .play { min-height: 42px; box-shadow: none; padding-inline: 12px; }
  .hero-inner { min-height: 0; padding-block: clamp(125px,38vw,220px) 26px; }
  .hero-art { height: clamp(250px,65vw,410px); object-position: 67% 0%; }
  .hero::after { background: linear-gradient(0deg,#1b2922 0%,#1b2922 34%,#1b2922ee 43%,#1b292258 60%,transparent 73%); }
  .logo { width: clamp(117px,32vw,180px); }
  .genre { margin-top: 7px; font-size: 1.45rem; }.pitch { margin: 8px 0 14px; max-width: 38ch; }
  .platform { margin-top: 10px; }.actions { gap: 15px; }.play { padding-inline: 20px; min-height: 49px; font-size: 1.25rem; }
  .control-grid { gap: 14px 12px; }.pedal { align-items: start; gap: 8px; }.pedal h3 { font-size: 1.25rem; }
  kbd { width: 30px; height: 32px; font-size: 1.15rem; }.controls { padding-block: 22px 18px; }.pedal p { font-size: .97rem; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 17px; }
  .series-picker label { font-size: 1.03rem; }.scene { min-height: 300px; }
  .scene::after { background: linear-gradient(0deg,#102018f5 0%,#15221bd4 27%,transparent 78%); }
  .garage-grid { grid-template-columns: 1fr; gap: 0; }.shop-art { aspect-ratio: 2; margin-inline: -18px; }.shop-art img { object-position: 50% 0%; }
  .garage-copy { padding: 27px 0 34px; }.bike-pair { max-width: none; }
  .guide { grid-template-columns: 1fr; gap: 23px; }.guide > div:first-child { display: flex; flex-wrap: wrap; gap: 14px 20px; justify-content: space-between; align-items: center; }.guide h2 { margin: 0; }
}
@media(max-width:365px){.mast-inner{gap:4px}.wrap{width:calc(100% - 28px)}.brand img{width:27px}.mast .play{padding-inline:9px}.series-picker label{font-size:.94rem}.shop-art{margin-inline:-14px}}
@media(max-height:490px) and (orientation:landscape){.mast{position:relative}.hero-inner{padding-block:20px;min-height:310px}.logo{width:100px}.genre{margin-top:4px}.platform{margin-top:5px}.pitch{margin-block:5px 10px}.hero-art{height:100%}.hero::after{background:linear-gradient(90deg,#132119ee,#17221baf 45%,transparent 75%)}}
@media(forced-colors:active){.choice:checked + label{outline:3px solid Highlight;outline-offset:-4px}.play{border:2px solid LinkText}}
.recovery { padding-block: 8vh; display: grid; justify-items: start; gap: 16px; }
.recovery h1 { font: italic 800 3rem/1 var(--race); }
