/* Outwalked, the home page: a street poster with the day's race running through it. */

.home { overflow-x: clip; }

/* ---------------------------------------------------------------- the run: hero, then the race, one stage */

.run { position: relative; }

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  z-index: 2;
  pointer-events: none;
}
.stage-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--tarmac);
  clip-path: var(--clip, none);
}
.stage-poster,
.track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Until the script opens the arch, the stage shows nothing over the poster of the hero. */
.motion .stage-clip { clip-path: polygon(0 100%, 0 100%, 0 100%); }
/* The poster stands where the race will be drawn: centred on the arch, at the scale the 3D draws it, so the
   moving picture fades in over its own still. */
.stage-poster {
  left: calc(73.5% - 50vh);
  left: calc(73.5% - 50lvh);
  top: -12.5vh;
  top: -12.5lvh;
  width: 100vh;
  width: 100lvh;
  height: 125vh;
  height: 125lvh;
  object-fit: cover;
}
@media (max-aspect-ratio: 1/1) {
  .stage-poster {
    left: calc(73.5% - 40vh);
    left: calc(73.5% - 40lvh);
    top: 0;
    width: 80vh;
    width: 80lvh;
    height: 100vh;
    height: 100lvh;
  }
}
@media (max-width: 760px) {
  .stage-poster { left: calc(80% - 40vh); left: calc(80% - 40lvh); }
}
.track { opacity: 0; transition: opacity 500ms var(--in); }
.track.on { opacity: 1; }

/* The hero is a poster: a volt field, a tarmac band, a two-line shout. */
.hero {
  position: relative;
  z-index: 1;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  margin-top: -100vh;
  margin-top: -100lvh;
  display: grid;
  grid-template-rows: 82fr 18fr;
  --focus: var(--ink);
}
.hero-field {
  position: relative;
  background: var(--volt);
  color: var(--ink);
  /* The arch bleeds off the right edge on a phone. The body's own clip goes to the viewport and clips nothing in the
     page, so the field cuts it here, or the page grows wider than the phone. Below the seam the band covers it anyway. */
  overflow: hidden;
  overflow: clip;
}
.top {
  position: absolute;
  inset: 0 var(--m) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  z-index: 3;
}
.top .lockup { font-size: 28px; }
.top-links { display: flex; gap: 4px 22px; }
.top-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
}
.top-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--base) var(--in);
}
.top-links a:hover::after { transform: scaleX(1); }

.shout {
  position: absolute;
  left: var(--m);
  top: 15%;
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--s5);
  line-height: 0.84;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  white-space: nowrap;
}
.shout .ln { display: block; }
.shout .ch { display: inline-block; }

/* Where the race shows through: a tall arch stuck on the poster, tilted, straddling the seam. */
.arch-slot,
.arch-still {
  position: absolute;
  left: 60%;
  width: 27%;
  top: 11%;
  height: 99%;
  transform: rotate(5deg);
  transform-origin: 50% 100%;
  pointer-events: none;
}
.arch-still {
  display: none;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  background: var(--tarmac);
  z-index: 2;
}
.arch-still img { width: 100%; height: 100%; object-fit: cover; }

.hero-band {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 3vw, 44px);
  padding: 0 var(--m);
  background: var(--tarmac);
  color: var(--night-ink);
  --focus: var(--volt);
}
.lede {
  max-width: min(40ch, 33vw);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.4;
  font-weight: 600;
}
.hero-band .cta-main { max-width: 7.6em; }

/* One button shape for the whole page: a chunky rectangle. Until the beta link exists it says what is coming. */
.cta { flex: none; }
.cta-soon, .cta-go {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  padding: 10px 22px 12px;
  background: var(--volt);
  color: var(--ink);
  text-decoration: none;
}
.cta-main {
  font-family: var(--display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cta-sub { margin-top: 4px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.nw { white-space: nowrap; }
.cta-go { transition: transform var(--fast) var(--in); }
.cta-go:hover { transform: translateY(-3px); }
.cta-go:active { transform: translateY(1px) scale(0.98); }

/* --------------------------------------------------------------------------------- the race, scrolled */

.race {
  position: relative;
  z-index: 3;
  height: 640vh;
  height: 640lvh;
  color: var(--night-ink);
  --focus: var(--volt);
}
.run { --odo: clamp(60px, 7vw, 112px); }
.beat {
  position: absolute;
  top: calc(var(--at) * (100% - 100lvh) + 50lvh);
  width: min(36rem, 38vw);
  transform: translateY(-50%);
}
/* The broadcast keeps the bottom left corner: the left slabs start past it. */
.b-left { left: calc(var(--m) + 2.7 * var(--odo) + 56px); }
.b-right { right: var(--m); }
.beat-still { display: none; }
.slab {
  padding: clamp(20px, 2.4vw, 34px);
  background: var(--tarmac);
  color: var(--night-ink);
}
.slab h3 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 0.88;
  text-transform: uppercase;
}
/* While the volt flash crosses the window, the slabs step aside. */
.js-reveal .race.hush .slab.reveal { opacity: 0; transition: opacity 160ms var(--out); }
.slab p { margin-top: 16px; max-width: 40ch; font-size: var(--s2); line-height: 1.5; }
.slab-volt { background: var(--volt); color: var(--ink); }
.slab-chalk { background: var(--chalk); color: var(--ink); }

/* The broadcast: hour, count, place. Drawn over the track, never under the status bar. */
/* The broadcast: a tarmac panel, so it reads over the volt line and over a plate alike. */
.hud {
  position: absolute;
  left: var(--m);
  bottom: max(28px, 5vh);
  width: calc(2.7 * var(--odo) + 32px);
  padding: 12px 16px 14px;
  background: var(--tarmac);
  color: var(--night-ink);
  opacity: 0;
  font-family: var(--display);
  text-transform: uppercase;
}
.hud-top { display: flex; align-items: center; gap: 10px; min-height: 26px; }
.hud-clock {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--volt);
}
.hud-place {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 7px 3px;
  color: var(--ink);
  background: var(--volt);
}
.hud-place:empty { display: none; }
.odo {
  height: 0.86em;
  overflow: hidden;
  font-weight: 900;
  font-size: var(--odo);
  line-height: 1;
  margin: 4px 0 8px;
}
.odo-n { display: flex; align-items: flex-end; height: 0.86em; }
.odo .col { display: block; flex: none; position: relative; width: 0.5em; height: 1em; overflow: hidden; }
.odo .col .strip { position: absolute; left: 0; top: 0; width: 100%; display: flex; flex-direction: column; will-change: transform; }
.odo .col .strip span { display: block; height: 1em; text-align: center; }
.odo .sep { display: block; flex: none; width: 0.2em; height: 1em; line-height: 1; }
.odo .gone { display: none; }
.hud-line { font-weight: 800; font-size: 22px; letter-spacing: 0.06em; white-space: nowrap; }
.hud-wait {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: var(--night-ink);
  background: var(--tarmac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M-3 3 3-3M0 12 12 0M9 15 15 9' stroke='%233a3c35' stroke-width='4'/%3E%3C/svg%3E");
  opacity: 0;
}

.tags { position: absolute; inset: 0; }
.tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 7px 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
  background: var(--c);
  opacity: 0;
  will-change: transform, opacity;
}
.tag.light { color: #fff; }

.flash {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--volt);
  color: var(--ink);
  visibility: hidden;
  clip-path: inset(0 0 0 0);
}
.flash span {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(88px, 17vw, 300px);
  line-height: 0.84;
  text-align: center;
  text-transform: uppercase;
  max-width: 6ch;
}

/* ------------------------------------------------------------------------------------- taunts, in type */

main { display: block; position: relative; z-index: 4; }

.taunts {
  position: relative;
  background: var(--chalk);
  color: var(--ink);
  padding: clamp(72px, 10vw, 150px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
  --focus: var(--ink);
}
.taunts-head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: end;
  gap: 24px 40px;
  padding: 0 var(--m);
}
.taunts h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--s4);
  line-height: 0.88;
  text-transform: uppercase;
}
.taunts-head p { max-width: 46ch; font-size: var(--s3); line-height: 1.35; font-weight: 600; }

.marquee { margin-top: clamp(40px, 6vw, 88px); }
.row {
  display: flex;
  width: max-content;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 11vw, 176px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.row li { display: flex; align-items: center; padding: 0.06em 0; }
.row li::after {
  content: '';
  width: 0.62em;
  height: 0.19em;
  margin: 0 0.34em;
  background: currentColor;
  clip-path: polygon(0 50%, 100% 0, 90% 100%);
}
.r1 { color: var(--ink); }
.r2 { background: var(--ink); color: var(--volt); }
.marquee .row { will-change: transform; }

.notif {
  position: relative;
  width: min(30rem, calc(100% - 2 * var(--m)));
  margin: clamp(40px, 6vw, 72px) var(--m) 0 auto;
  margin-right: max(var(--m), 8vw);
  transform: rotate(-3deg);
}
.notif-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 26px;
  background: var(--raised);
  color: var(--night-ink);
}
.notif-plate {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #FF5A3C;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  border: 3px solid #A9DEFA;
}
.notif-app { font-size: 14px; font-weight: 600; color: var(--night-soft); display: flex; justify-content: space-between; }
.notif-text { font-size: 17px; line-height: 1.35; }
.notif-act {
  display: flex;
  justify-content: center;
  margin-top: 6px;
  padding: 14px;
  border-radius: 20px;
  background: var(--raised);
  color: var(--volt);
  font-weight: 700;
  font-size: 16px;
}

/* ------------------------------------------------------------------------------------ the plate, yours */

.plate-sec {
  position: relative;
  min-height: 92svh;
  overflow: hidden;
  background: var(--pc, #3D69FF);
  color: var(--pt, #FFFFFF);
  isolation: isolate;
  --focus: var(--pt, #fff);
}
.plate-wipe {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--wipe);
  clip-path: circle(0 at var(--wx, 0) var(--wy, 0));
}
.plate-wipe.go { animation: wipe 520ms var(--in) forwards; }
@keyframes wipe { to { clip-path: circle(150% at var(--wx, 0) var(--wy, 0)); } }

.plate-copy {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 7vw, 96px) var(--m) 0;
  max-width: 34rem;
}
.plate-copy h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 3.4vw, 52px);
  line-height: 0.92;
  text-transform: uppercase;
}
.cw { display: inline-block; }
.cw.roll { animation: roll 380ms var(--in); }
@keyframes roll { from { transform: translateY(0.6em); opacity: 0; } to { transform: none; opacity: 1; } }
.plate-copy p { margin-top: 14px; font-size: 18px; line-height: 1.45; font-weight: 600; max-width: 34ch; }

.plate-ctl { position: static; }
.swatches {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 52px);
  gap: 10px;
  margin: 28px 0 0;
  padding: 0 var(--m);
  border: 0;
}
.sw {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  background: var(--c);
  cursor: pointer;
  border-radius: 14px;
  border: 3px solid rgba(17, 18, 15, 0.3);
  transition: transform var(--fast) var(--in), border-width var(--fast) var(--in);
}
.sw input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sw:hover { transform: translateY(-3px); }
.sw:active { transform: scale(0.94); }
.sw:has(input:checked) { border: 6px solid var(--pt, #fff); transform: translateY(-6px); }
.sw:has(input:focus-visible) { outline: 3px solid var(--pt, #fff); outline-offset: 6px; }

.plate-big {
  position: absolute;
  z-index: 1;
  right: -9vw;
  bottom: -9vh;
  display: block;
  width: min(78vw, 112vh);
  aspect-ratio: 4 / 3;
  font-size: min(78vw, 112vh);
  cursor: text;
}
.plate-big::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.11em;
  border: 0.034em solid;
  border-color: #FFE07A #C48A12 #C48A12 #FFE07A;
  background: var(--pc);
}
.plate-big input {
  position: absolute;
  inset: 0.05em;
  width: calc(100% - 0.1em);
  height: calc(100% - 0.1em);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--pt, #fff);
  caret-color: var(--pt, #fff);
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.42em;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  outline: none;
}
.plate-big:focus-within::before { border-color: #FFF4CC #F2B92E #F2B92E #FFF4CC; }
.plate-big.bump { animation: bump 380ms var(--in); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.035) rotate(-0.6deg); } 100% { transform: none; } }

/* --------------------------------------------------------------------------------------------- leagues */

.leagues {
  display: grid;
  grid-template-columns: minmax(0, 37rem) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 112px);
  padding: clamp(72px, 9vw, 136px) var(--m);
  background: var(--tarmac);
  color: var(--night-ink);
  --focus: var(--volt);
}
.lg-col { container-type: inline-size; }
.giant {
  font-family: var(--display);
  font-weight: 900;
  font-size: 30.6cqw;
  line-height: 0.8;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin-left: -0.03em;
}
.lg-lede { margin-top: 24px; font-size: var(--s2); line-height: 1.5; max-width: 44ch; }
.lg-list { display: grid; gap: 6px; margin-top: 28px; }
.lg-list details { background: var(--m-mid); color: var(--m-text, var(--ink)); }
.lg-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: padding var(--base) var(--in);
}
.lg-list summary::-webkit-details-marker { display: none; }
.lg-list summary:hover { padding-left: 24px; }
.lg-list summary i, .faq summary i {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
}
.lg-list summary i::before, .lg-list summary i::after, .faq summary i::before, .faq summary i::after {
  content: '';
  position: absolute;
  left: 0;
  top: 6.5px;
  width: 16px;
  height: 3px;
  background: currentColor;
  transition: transform var(--base) var(--in);
}
.lg-list summary i::after, .faq summary i::after { transform: rotate(90deg); }
.lg-list details[open] summary i::after, .faq details[open] summary i::after { transform: rotate(0deg); }
.lg-in { padding: 0 18px 18px; font-size: 17px; line-height: 1.45; }
.lg-in p + p { margin-top: 4px; }
.lg-in b { font-family: var(--display); font-weight: 900; font-size: 28px; letter-spacing: 0.02em; text-transform: uppercase; }
.lg-note { margin-top: 14px; font-size: var(--s1); color: var(--night-soft); }

[data-league="bronze"] { --m-hi: #D99A66; --m-mid: #B87440; --m-deep: #8F5427; --m-line: #4A2810; }
[data-league="silver"] { --m-hi: #F1F3F5; --m-mid: #C3C9D0; --m-deep: #959DA7; --m-line: #474D55; }
[data-league="gold"] { --m-hi: #FFE07A; --m-mid: #F2B92E; --m-deep: #C48A12; --m-line: #5E4103; }
[data-league="platinum"] { --m-hi: #C4F4E8; --m-mid: #6FD1BA; --m-deep: #3A9C86; --m-line: #154A3F; }
[data-league="diamond"] { --m-hi: #F2FBFF; --m-mid: #A9DEFA; --m-deep: #5EB2E6; --m-line: #1B4F78; }
[data-league="master"] { --m-hi: #CDB0FF; --m-mid: #9A67F0; --m-deep: #6A3BC4; --m-line: #2A1157; }
[data-league="champion"] { --m-hi: #FF9A8C; --m-mid: #E0384A; --m-deep: #A81C2F; --m-line: #4A0812; }
[data-league="legend"] { --m-hi: #4A4A52; --m-mid: #2C2C32; --m-deep: #18181C; --m-line: #F2B92E; --m-text: #F3F1EA; }

.lg-show {
  position: relative;
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 18px;
  padding-top: clamp(24px, 6vw, 96px);
  container-type: inline-size;
}
/* The frame's type is set to its own width, so the plate and its letters keep their proportions in any column. */
.frame {
  width: min(100%, 34rem);
  aspect-ratio: 4 / 3;
  font-size: min(34rem, 100cqw);
  border-radius: 0.13em;
  border: 0.06em solid;
  border-color: var(--m-hi) var(--m-deep) var(--m-deep) var(--m-hi);
  background: var(--m-mid);
  padding: 0.035em;
  transition: border-color var(--slow) var(--in), background-color var(--slow) var(--in);
}
.frame.flip { animation: flip 520ms var(--in); }
@keyframes flip { 0% { transform: perspective(900px) rotateY(0); } 45% { transform: perspective(900px) rotateY(80deg) scale(0.96); } 100% { transform: perspective(900px) rotateY(0); } }
.frame-plate {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: 0.08em;
  background: var(--pc, #3D69FF);
  color: var(--pt, #fff);
  font-family: var(--display);
  font-weight: 900;
  font-size: 0.4em;
  line-height: 1;
  text-transform: uppercase;
}
.lg-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 112px);
  line-height: 0.85;
  text-transform: uppercase;
  color: var(--m-mid, var(--night-ink));
}
.lg-show[data-league="legend"] .lg-name { color: var(--m-line); }

.season {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px 40px;
  align-items: end;
  margin-top: clamp(32px, 5vw, 72px);
  padding: clamp(24px, 3vw, 40px);
  background: var(--raised);
}
.season-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--volt);
}
.season p:not(.season-big) { font-size: var(--s2); line-height: 1.5; max-width: 44ch; }

/* ------------------------------------------------------------------------------------------- the plans */

.plans {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  padding: clamp(72px, 9vw, 136px) var(--m);
  background: var(--chalk);
  color: var(--ink);
  --focus: var(--ink);
}
.plans h2 {
  grid-column: 1 / span 8;
  grid-row: 1;
  align-self: start;
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--s4);
  line-height: 0.88;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.plan-row {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
  padding-top: clamp(150px, 15vw, 230px);
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 0;
  overflow: hidden;
}
.p-free { min-height: 380px; background: var(--paper); }
.p-unl { min-height: 500px; background: var(--volt); }
.p-fam { min-height: 620px; background: var(--ink); color: var(--chalk); }
.plan h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.plan-big {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 4.6vw, 76px);
  line-height: 0.9;
  text-transform: uppercase;
}
.p-fam .plan-big { color: var(--volt); }
.plan ul { margin: 22px 0 28px; display: grid; gap: 9px; }
.plan li { font-size: 17px; line-height: 1.35; padding-left: 22px; position: relative; }
.plan li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 12px;
  height: 5px;
  background: currentColor;
  clip-path: polygon(0 50%, 100% 0, 90% 100%);
}
.plan-strip {
  margin: auto -28px 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.p-free .plan-strip { background: var(--chalk-sunk); }
.p-unl .plan-strip { background: var(--volt-deep); }
.p-fam .plan-strip { background: #2A2C26; }
.plans-note {
  grid-column: 1 / span 8;
  margin-top: 20px;
  font-size: var(--s2);
  line-height: 1.5;
  max-width: 60ch;
}

/* ------------------------------------------------------------------------------------------ the board */

.board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 104px;
  gap: 8px;
  padding: 10px;
  background: var(--tarmac);
  color: var(--ink);
  --focus: var(--volt);
}
.tile {
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--tile, var(--chalk));
  color: var(--tile-ink, var(--ink));
}
.tile h3 {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.tile p { position: relative; z-index: 1; font-size: 15px; line-height: 1.35; max-width: 30ch; }
.tile .ui { position: absolute; z-index: 0; }
.t-head { grid-column: span 6; grid-row: span 2; --tile: var(--volt); justify-content: flex-start; }
.t-head h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 0.88;
  text-transform: uppercase;
}
.t-duel { grid-column: span 3; grid-row: span 2; --tile: var(--raised); --tile-ink: var(--night-ink); }
.t-widget { grid-column: span 3; grid-row: span 2; --tile: #4CB8FF; }
.t-crown { grid-column: span 6; grid-row: span 4; --tile: #F2B92E; }
.t-streak { grid-column: span 3; grid-row: span 4; --tile: #FF5A3C; }
.t-crew { grid-column: span 3; grid-row: span 4; --tile: var(--chalk); }
.t-studio { grid-column: span 6; grid-row: span 2; --tile: var(--raised); --tile-ink: var(--night-ink); }
.t-recap { grid-column: span 3; grid-row: span 2; --tile: #3FE0B0; }
.t-cheer { grid-column: span 3; grid-row: span 2; --tile: var(--chalk); }

.duel { top: 14px; right: 18px; font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 0.9; text-align: right; display: grid; }
.duel .d-vs { font-size: 22px; color: var(--night-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.duel .d-you { color: var(--volt); }
.duel .d-them { color: var(--night-soft); }

.widget { top: 16px; right: -28px; width: 210px; padding: 16px 18px; border-radius: 26px; background: var(--ink); color: var(--chalk); }
.widget .w-n { display: block; font-family: var(--display); font-weight: 900; font-size: 54px; line-height: 0.9; }
.widget .w-bar { display: block; margin-top: 10px; height: 10px; background: #2A2C26; }
.widget .w-bar i { display: block; width: 84%; height: 100%; background: var(--volt); }

.crownui { top: -6%; right: -4%; width: 62%; }
.crown-svg { width: 100%; height: auto; }
.crown-svg .c-mid { fill: #FFE07A; }
.crown-svg .c-hi { fill: #FFF4CC; }
.crown-svg .c-deep { fill: #C48A12; }
.crown-plate {
  display: grid;
  place-items: center;
  width: 64%;
  margin: -2% auto 0;
  aspect-ratio: 4 / 3;
  border-radius: 14%;
  background: #FF5A3C;
  border: 10px solid;
  border-color: #F2FBFF #5EB2E6 #5EB2E6 #F2FBFF;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(56px, 7vw, 120px);
  line-height: 1;
}
.t-crown .crown-svg { width: 70%; margin: 0 auto; }

.streakui { top: 8px; left: 16px; right: 16px; display: grid; }
.streakui .s-n { font-family: var(--display); font-weight: 900; font-size: clamp(120px, 14vw, 230px); line-height: 0.82; }
.streakui .s-l { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.06em; text-transform: uppercase; }

.crew { top: 22px; left: 20px; right: -40px; padding: 18px; background: var(--paper); border-radius: 22px; }
.crew .crew-name { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; }
.crew .crew-bar { display: block; margin-top: 14px; height: 18px; background: var(--chalk-sunk); }
.crew .crew-bar i { display: block; width: 71%; height: 100%; background: var(--ink); }
.crew .crew-n { margin-top: 10px; font-family: var(--display); font-weight: 900; font-size: 28px; }
.crew .crew-n span { font-size: 18px; color: var(--ink-muted); }

.studio { top: 14px; right: 12px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; max-width: 70%; }
.st-sticker { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: 1; padding: 8px 12px 6px; border-radius: 10px; }
.st-a { font-size: 44px; background: var(--volt); color: var(--ink); transform: rotate(-4deg); }
.st-b { font-size: 26px; background: var(--chalk); color: var(--ink); transform: rotate(3deg); align-self: center; }
.st-c { font-size: 26px; background: #3D69FF; color: #fff; transform: rotate(-2deg); }

.recap { top: 14px; right: 18px; display: grid; justify-items: end; }
.recap .r-l { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; }
.recap .r-n { font-family: var(--display); font-weight: 900; font-size: 58px; line-height: 0.9; }

.cheer { top: 18px; right: -8px; }
.cheer .ch-b { display: block; padding: 10px 26px 8px; border-radius: 999px; background: var(--ink); color: var(--volt); font-family: var(--display); font-weight: 900; font-size: 46px; text-transform: uppercase; line-height: 1; transform: rotate(-5deg); }

.tile.reveal .ui { transition: transform 700ms var(--in); }
.js-reveal .tile.reveal:not(.in) .ui { transform: translateY(28px) scale(0.96); }

/* --------------------------------------------------------------------------------------- the promise */

.promise {
  padding: clamp(80px, 10vw, 150px) var(--m);
  background: var(--volt);
  color: var(--ink);
  --focus: var(--ink);
}
.promise h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(76px, 12.6vw, 210px);
  line-height: 0.84;
  text-transform: uppercase;
  max-width: 7.4em;
}
.promise-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(40px, 5vw, 72px);
}
.promise-list li {
  padding: clamp(20px, 2.4vw, 32px);
  background: var(--ink);
  color: var(--chalk);
  font-size: var(--s3);
  line-height: 1.3;
  font-weight: 600;
}
.promise-more { margin-top: 28px; font-size: var(--s3); font-weight: 700; }
.promise-more a { display: inline-flex; min-height: 44px; align-items: center; }

/* --------------------------------------------------------------------------------------------- the faq */

.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px 8px;
  padding: clamp(72px, 9vw, 136px) var(--m);
  background: var(--chalk);
  color: var(--ink);
  --focus: var(--ink);
}
.faq h2 {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 96px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(48px, 4.6vw, 80px);
  line-height: 0.88;
  text-transform: uppercase;
}
.faq-list { grid-column: 5 / -1; display: grid; gap: 8px; }
.faq details { background: var(--chalk-sunk); transition: background-color var(--base) var(--in); }
.faq details[open] { background: var(--volt); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px 24px;
  cursor: pointer;
  list-style: none;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .a { padding: 0 24px 24px; }
.faq .a p { max-width: 52ch; font-size: 17px; line-height: 1.55; }

/* ---------------------------------------------------------------------------------- the close, inverted */

.close {
  position: relative;
  min-height: 90svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(80px, 10vw, 150px) var(--m) 40px;
  background: var(--tarmac);
  color: var(--volt);
  --focus: var(--volt);
}
.close h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(76px, 10.4vw, 180px);
  line-height: 0.88;
  text-transform: uppercase;
  max-width: 8.6em;
}
.close-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.close-foot > p { max-width: 40ch; color: var(--night-ink); font-size: 20px; line-height: 1.45; font-weight: 600; }

/* The day's plates going by, each with its own gait, four sets end to end so the loop never shows a gap. */
.parade {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  margin: 0 calc(-1 * var(--m));
  padding: 18px 0;
  overflow: hidden;
  border-bottom: 3px solid var(--night-line);
}
.parade-track {
  display: flex;
  width: max-content;
  animation: parade 11s linear infinite;
}
.parade:not(.in) .parade-track,
.parade:not(.in) .pp { animation-play-state: paused; }
.parade-set { display: flex; gap: clamp(26px, 4vw, 64px); padding-right: clamp(26px, 4vw, 64px); }
.pp {
  display: grid;
  place-items: center;
  width: clamp(96px, 11vw, 170px);
  aspect-ratio: 4 / 3;
  border-radius: 18% / 24%;
  border: clamp(6px, 0.8vw, 11px) solid;
  border-color: var(--hi) var(--lo) var(--lo) var(--hi);
  background: var(--c);
  color: var(--t, var(--ink));
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(38px, 4.6vw, 72px);
  line-height: 1;
  animation: gait 560ms cubic-bezier(0.3, 0, 0.5, 1) infinite alternate;
  animation-delay: calc(var(--k, 0) * -190ms);
}
.pp-mc { --c: var(--tomato); --hi: var(--diamond-hi); --lo: var(--diamond-lo); }
.pp-you { --c: var(--cobalt); --t: var(--paper); --hi: var(--gold-hi); --lo: var(--gold-lo); }
.pp-lm { --c: var(--sky); --hi: var(--gold-hi); --lo: var(--gold-lo); }
.pp-km { --c: var(--amber); --hi: var(--platinum-hi); --lo: var(--platinum-lo); }
.pp-at { --c: var(--pink); --hi: var(--gold-hi); --lo: var(--gold-lo); }
@keyframes parade {
  from { transform: translateX(-25%); }
  to { transform: translateX(0); }
}
@keyframes gait {
  from { transform: translateY(0) rotate(-4deg); }
  to { transform: translateY(-16px) rotate(3deg); }
}

/* ---------------------------------------------------------------------------------------- the footer */

.foot {
  position: relative;
  z-index: 4;
  padding: 40px var(--m) 32px;
  background: var(--volt);
  color: var(--ink);
  --focus: var(--ink);
}
.blocks {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34svh;
  min-height: 200px;
}
.blocks span {
  flex: 1 1 0;
  height: calc(var(--h) * 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--c);
  color: var(--t, var(--ink));
  font-family: var(--display);
  font-weight: 900;
  font-size: min(11.6vw, 30svh);
  line-height: 0.8;
  text-transform: uppercase;
  overflow: hidden;
  transform-origin: 50% 100%;
}
.js-reveal .blocks:not(.in) span { transform: scaleY(0); }
.blocks.in span { transition: transform 600ms var(--in); transition-delay: calc(var(--k, 0) * 40ms); }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px 8px;
  margin-top: 56px;
}
.foot-cols ul { grid-column: span 2; display: grid; align-content: start; }
.foot-cols ul:nth-child(3) { grid-column: span 4; }
.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.foot-cols a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.foot-contact { grid-column: 9 / -1; }
.foot-contact p:first-child { font-size: 15px; font-weight: 700; }
.foot-contact a { font-family: var(--text); font-weight: 700; font-size: 20px; letter-spacing: 0; text-transform: none; text-decoration: underline; }
.foot-last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; font-size: 15px; font-weight: 600; }
.foot-last .up {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--volt);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------------------------------------- motion */

.js-reveal .reveal { transition: opacity 640ms var(--in), transform 640ms var(--in); }
.js-reveal .reveal:not(.in) { opacity: 0; transform: translateY(24px); }

.motion .shout .ch { animation: slam 760ms var(--in) both; }
.motion .shout .ln:first-child .ch:nth-child(1) { animation-delay: 80ms; }
.motion .shout .ln:first-child .ch:nth-child(2) { animation-delay: 120ms; }
.motion .shout .ln:first-child .ch:nth-child(3) { animation-delay: 160ms; }
.motion .shout .ln:first-child .ch:nth-child(4) { animation-delay: 200ms; }
.motion .shout .ln:first-child .ch:nth-child(5) { animation-delay: 240ms; }
.motion .shout .ln:first-child .ch:nth-child(6) { animation-delay: 280ms; }
.motion .shout .ln:first-child .ch:nth-child(7) { animation-delay: 320ms; }
.motion .shout .ln:last-child .ch:nth-child(1) { animation-delay: 300ms; }
.motion .shout .ln:last-child .ch:nth-child(2) { animation-delay: 340ms; }
.motion .shout .ln:last-child .ch:nth-child(3) { animation-delay: 380ms; }
.motion .shout .ln:last-child .ch:nth-child(4) { animation-delay: 420ms; }
.motion .shout .ln:last-child .ch:nth-child(5) { animation-delay: 460ms; }
@keyframes slam {
  0% { transform: translateX(-0.9em) skewX(-14deg); opacity: 0; }
  60% { transform: translateX(0.04em) skewX(3deg); opacity: 1; }
  100% { transform: none; opacity: 1; }
}
.motion .hero-band > * { animation: band 700ms var(--in) 420ms both; }
.motion .hero-band > .cta { animation-delay: 500ms; }
@keyframes band { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ------------------------------------------------------------------------- the still race (no motion) */

.still .stage, .no-js .stage { display: none; }
.still .hero, .no-js .hero { margin-top: 0; }
.still .arch-still, .no-js .arch-still { display: block; }
.still .race, .no-js .race { height: auto; padding: clamp(56px, 8vw, 120px) var(--m); display: grid; gap: clamp(40px, 6vw, 88px); background: var(--tarmac); }
.still .beat, .no-js .beat {
  position: relative;
  top: auto; left: auto; right: auto;
  width: auto;
  transform: none;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
}
.still .b-right, .no-js .b-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.still .b-right .beat-still, .no-js .b-right .beat-still { order: 2; }
.still .beat-still, .no-js .beat-still { display: block; }
.still .beat-still img, .no-js .beat-still img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.still .slab, .no-js .slab { margin-left: -4vw; position: relative; }
.still .b-right .slab, .no-js .b-right .slab { margin: 0 -4vw 0 0; }
.still .row, .no-js .row { flex-wrap: wrap; width: auto; white-space: normal; padding: 0 var(--m); }
.still .r2, .no-js .r2 { display: none; }

/* ------------------------------------------------------------------------------------ narrow screens */

@media (min-width: 761px) and (max-width: 1180px) {
  .hero { grid-template-rows: 74fr 26fr; }
  .hero-band { flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
  .lede { max-width: 46%; }
  .hero-band .cta-main { max-width: none; }
  /* A tablet: wider slabs with smaller titles, the leagues in two equal columns, the board's fragments smaller. */
  .beat { width: min(36rem, 46vw); }
  .slab h3 { font-size: clamp(32px, 4.2vw, 46px); }
  .leagues { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .board { grid-auto-rows: 120px; }
  .duel { font-size: 34px; }
  .duel .d-vs { font-size: 18px; }
  .widget { width: 160px; padding: 12px 14px; right: -20px; border-radius: 20px; }
  .widget .w-n { font-size: 40px; }
  .crew { padding: 12px; right: -24px; }
  .crew .crew-name { font-size: 24px; }
  .crew .crew-n { font-size: 20px; }
  .recap .r-n { font-size: 42px; }
}

/* ------------------------------------------------------------------------------------------- phones */

@media (max-width: 760px) {
  .hero { grid-template-rows: 76fr 24fr; }
  .top .lockup { font-size: 24px; }
  .top-links { display: none; }
  .shout { top: 12%; font-size: 19.5vw; }
  .arch-slot, .arch-still {
    left: auto;
    right: -12%;
    width: 64%;
    top: 31%;
    height: 69%;
  }
  .hero-band { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; padding-top: 14px; padding-bottom: 16px; }
  .lede { font-size: 17px; max-width: 30ch; }
  .cta-soon, .cta-go { display: flex; width: 100%; min-height: 60px; }
  .cta-main { font-size: 26px; }

  .race { height: 700lvh; }
  .beat { width: auto; left: var(--m); right: var(--m); }
  .slab h3 { font-size: 11.2vw; }
  .run { --odo: 17vw; }
  .hud { top: 58px; bottom: auto; padding: 10px 12px 12px; width: calc(2.7 * var(--odo) + 24px); }
  .hud-line { font-size: 17px; }
  .hud-clock { font-size: 18px; }
  .hud-place { font-size: 15px; }

  .taunts-head { grid-template-columns: 1fr; }
  .taunts h2 { font-size: 13vw; }
  .row { font-size: 17vw; }
  .notif { margin-right: auto; margin-left: var(--m); transform: rotate(-2deg); }

  .plate-sec { min-height: 86svh; }
  .plate-copy h2 { font-size: 26px; }
  .plate-copy p { font-size: 16px; }
  .swatches { grid-template-columns: repeat(4, 56px); gap: 12px; }
  .sw { width: 56px; height: 56px; }
  .plate-big { left: -6vw; right: auto; bottom: -6svh; width: 128vw; font-size: 128vw; }

  .leagues { grid-template-columns: 1fr; }
  .lg-show { grid-row: 2; padding-top: 0; }
  .frame { font-size: 80vw; width: 80vw; }
  .season { grid-template-columns: 1fr; }

  .plans { display: block; }
  .plans h2 { font-size: 13vw; }
  .plan-row { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .plan { min-height: 0 !important; }
  .plan-big { font-size: 44px; }

  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 28vw; gap: 6px; padding: 6px; }
  .t-head, .t-crown, .t-studio { grid-column: span 2; }
  .t-head { grid-row: span 2; }
  .t-head h2 { font-size: 13vw; }
  .t-crown { grid-row: span 3; }
  .t-duel, .t-widget, .t-streak, .t-crew, .t-recap, .t-cheer { grid-column: span 1; grid-row: span 2; }
  .t-streak, .t-crew { grid-row: span 3; }
  .tile { padding: 14px; }
  .tile h3 { font-size: 20px; }
  .tile p { font-size: 14px; }
  .duel { font-size: 30px; }
  .widget { width: 150px; padding: 12px; }
  .widget .w-n { font-size: 38px; }
  .streakui .s-n { font-size: 34vw; }
  .crew { padding: 12px; right: -60px; }
  .crew .crew-name { font-size: 24px; }
  .crew .crew-n { font-size: 20px; }
  .recap .r-n { font-size: 38px; }
  .cheer .ch-b { font-size: 30px; }
  .st-a { font-size: 34px; }
  .crown-plate { border-width: 7px; }

  .promise h2 { font-size: 17vw; }
  .promise-list { grid-template-columns: 1fr; }

  .faq { display: block; }
  .faq h2 { position: static; font-size: 12vw; margin-bottom: 24px; }
  .faq-list { gap: 6px; }
  .faq summary { font-size: 18px; min-height: 64px; padding: 12px 20px; }
  .faq .a { padding: 0 20px 20px; }
  .faq .a p { font-size: 16px; }

  .close { min-height: 80svh; }
  .close h2 { font-size: 15vw; }
  .close-foot { flex-direction: column; align-items: stretch; }
  .close-foot > p { font-size: 17px; }
  .parade { padding: 10px 0; }

  .blocks { height: 22svh; min-height: 140px; }
  .blocks span { font-size: 10.6vw; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-cols ul, .foot-cols ul:nth-child(3) { grid-column: span 1; }
  .foot-contact { grid-column: 1 / -1; }
  .foot-cols a { font-size: 20px; }

  .still .beat, .no-js .beat, .still .b-right, .no-js .b-right { grid-template-columns: 1fr; }
  .still .b-right .beat-still, .no-js .b-right .beat-still { order: 0; }
  .still .slab, .no-js .slab, .still .b-right .slab, .no-js .b-right .slab { margin: -24px 12px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal:not(.in), .js-reveal .tile.reveal:not(.in) .ui, .js-reveal .blocks:not(.in) span { opacity: 1; transform: none; }
}
