/* ── Tokens ──────────────────────────────────────────────────────────────
   Palette sampled straight from the Season 4 logo artwork. */
:root {
  --purple:      #47297B;
  --purple-deep: #331D5C;
  --purple-tint: #EFEAF7;
  --yellow:      #F5BD1F;
  --yellow-deep: #D9A413;
  --ink:         #111111;
  --muted:       #6B6478;
  --line:        #E6E2EE;
  --bg:          #F4F2F7;
  --surface:     #FFFFFF;
  --danger:      #C22A3E;
  --success:     #0D6B3D;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --shadow: 0 10px 34px rgba(17, 17, 17, .09);
  --shadow-sm: 0 3px 12px rgba(17, 17, 17, .07);
}

* { box-sizing: border-box; }

/* A class that sets `display` outranks the browser's rule for the `hidden`
   attribute, which left the step pips showing on the sold-out screen. */
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: Archivo, system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Purple wash behind the top of the page. */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto 0;
  height: 380px;
  background: linear-gradient(170deg, var(--purple) 0%, var(--purple-deep) 100%);
  z-index: -1;
}

h1, h2 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 900; }
h2 { font-size: 1.4rem; font-weight: 800; }

/* ── Header ──────────────────────────────────────────────────────────── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(16px, 4vw, 40px);
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.brand img { display: block; height: auto; }

.header-note {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  backdrop-filter: blur(6px);
}
.header-note.low { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }

/* ── Layout ──────────────────────────────────────────────────────────── */
.layout {
  flex: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px clamp(16px, 4vw, 40px) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(18px, 2.5vw, 30px);
  align-items: start;
}
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; }
  /* Keep the booking form within reach instead of a screen of artwork. */
  .event-image img { max-height: 210px; object-fit: contain; }
}

/* ── Event card ──────────────────────────────────────────────────────── */
.event-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.event-image { background: #fff; line-height: 0; }
.event-image img { width: 100%; height: auto; display: block; }

.event-body { padding: clamp(20px, 3vw, 30px); }

.eyebrow {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.event-meta {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  border-top: 1px solid var(--line);
}
.event-meta > div { padding: 15px 0; border-bottom: 1px solid var(--line); padding-right: 14px; }
.event-meta dt {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-meta dd { margin: 5px 0 0; font-size: .96rem; font-weight: 600; }
@media (max-width: 480px) { .event-meta { grid-template-columns: 1fr; } }

.price-row {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.price { font-size: 2rem; font-weight: 900; letter-spacing: -.03em; }
.price-unit { color: var(--muted); font-weight: 600; font-size: .92rem; margin-left: 4px; }

.capacity {
  background: var(--purple-tint);
  color: var(--purple);
  font-weight: 800;
  font-size: .84rem;
  padding: 9px 15px;
  border-radius: 99px;
}
.capacity.low { background: #FDF0D2; color: #8A5D00; }
.capacity.out { background: #FBE4E7; color: var(--danger); }

/* ── Panel ───────────────────────────────────────────────────────────── */
.panel {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 32px);
  position: sticky;
  top: 20px;
}
@media (max-width: 900px) { .panel { position: static; } }

.steps {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: .76rem;
  font-weight: 700;
  color: var(--muted);
  flex-wrap: wrap;
}
.steps li { display: flex; align-items: center; gap: 7px; }
.steps li + li::before { content: ''; width: 14px; height: 2px; background: var(--line); border-radius: 2px; margin-right: 7px; }
.steps span {
  width: 21px; height: 21px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
}
.steps li.on { color: var(--ink); }
.steps li.on span { background: var(--yellow); color: var(--ink); }
.steps li.done span { background: var(--purple); color: #fff; }

.lede { color: var(--muted); margin: 8px 0 22px; line-height: 1.55; font-weight: 500; }
.lede b { color: var(--ink); }

/* ── Form ────────────────────────────────────────────────────────────── */
.field { margin-bottom: 17px; }
/* Direct child only — the slot and tick options are labels too, and they
   must not inherit the shouty field-label treatment. */
.field > label {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

input[type='text'], input[type='email'], input[type='tel'] {
  width: 100%;
  font: inherit;
  font-weight: 600;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: #FCFBFD;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus {
  outline: none;
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(71, 41, 123, .12);
}
input::placeholder { color: #B4AEC0; font-weight: 500; }
input.invalid { border-color: var(--danger); background: #FFF9FA; }

.hint { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }

.error { margin: 6px 0 0; font-size: .82rem; font-weight: 600; color: var(--danger); }
.error:empty { display: none; }
.error-block {
  background: #FBE4E7;
  border-radius: var(--r-sm);
  padding: 11px 14px;
  margin: 0 0 14px;
  line-height: 1.45;
}

/* Stepper */
.stepper {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #FCFBFD;
}
.stepper button {
  width: 46px; height: 46px;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  transition: background .15s;
}
.stepper button:hover:not(:disabled) { background: var(--purple-tint); }
.stepper button:disabled { color: #C9C3D4; cursor: not-allowed; }
.stepper output {
  min-width: 52px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0 20px;
  margin-top: 4px;
  border-top: 2px dashed var(--line);
  font-weight: 700;
}
.total-line b { font-size: 1.5rem; font-weight: 900; letter-spacing: -.02em; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  font: inherit;
  font-weight: 800;
  padding: 15px 20px;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-decoration: none;
  transition: transform .12s, box-shadow .15s, background .15s;
}
.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-deep); }
.btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 5px 0 var(--yellow-deep); }
.btn-primary:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 2px 0 var(--yellow-deep); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; box-shadow: 0 4px 0 var(--yellow-deep); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 2px solid var(--line);
  margin-top: 12px;
  font-weight: 700;
}
.btn-ghost:hover { background: var(--bg); color: var(--ink); }

.btn.loading span { opacity: .5; }

.smallprint { margin: 14px 0 0; font-size: .8rem; color: var(--muted); text-align: center; line-height: 1.5; }

/* ── Timer ───────────────────────────────────────────────────────────── */
.timer {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--purple-tint);
  border-radius: var(--r-md);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.timer strong { display: block; font-size: 1rem; font-weight: 800; }
.timer span { color: var(--muted); font-size: .86rem; font-weight: 500; }
.timer.urgent { background: #FDF0D2; }
.timer.urgent .ring-fg { stroke: var(--danger); }

.timer-ring { position: relative; width: 62px; height: 62px; flex: 0 0 62px; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-ring circle { fill: none; stroke-width: 4; }
.ring-bg { stroke: rgba(71, 41, 123, .16); }
.ring-fg {
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-dasharray: 119.4;
  transition: stroke-dashoffset 1s linear, stroke .3s;
}
.timer-ring b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* ── Summary ─────────────────────────────────────────────────────────── */
.summary {
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 16px;
  margin-bottom: 20px;
}
/* Question labels can be a full sentence. When a label and its answer won't
   share a line, the answer drops onto its own line and stays right-aligned,
   rather than being squeezed into a one-character column. */
.summary div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 14px;
  padding: 11px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--line);
}
.summary div:last-child { border-bottom: 0; }
.summary dt, .summary .k { color: var(--muted); font-weight: 600; min-width: 0; }
.summary .v {
  font-weight: 700;
  text-align: right;
  margin-left: auto;
  min-width: 0;
  overflow-wrap: break-word;
}
.summary .total { font-size: 1.05rem; }
.summary .total .v { font-weight: 900; }

/* ── Mock payment ────────────────────────────────────────────────────── */
.mock-note {
  background: #FDF0D2;
  border: 2px dashed var(--yellow-deep);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: .85rem;
  line-height: 1.5;
  color: #6B5200;
}
.mock-note b { display: block; margin-bottom: 4px; color: #4A3900; }

/* Shown while PayPal has the screen, so the panel behind it isn't just blank. */
.pay-waiting {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--purple-tint);
  color: var(--purple-deep);
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.45;
}
.pay-waiting::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2.5px solid rgba(71, 41, 123, .25);
  border-top-color: var(--purple);
  animation: pay-spin .8s linear infinite;
}
@keyframes pay-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pay-waiting::before { animation: none; } }

/* ── Confirmation ────────────────────────────────────────────────────── */
.tick-icon { width: 62px; height: 62px; margin: 0 0 16px; }
.tick-icon svg { width: 100%; height: 100%; }
.tick-icon circle { fill: none; stroke: var(--success); stroke-width: 3; opacity: .25; }
.tick-icon path {
  fill: none;
  stroke: var(--success);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: draw .45s .1s ease-out forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.ref-card {
  background: var(--yellow);
  border-radius: var(--r-md);
  padding: 17px;
  text-align: center;
  margin: 0 0 20px;
}
.ref-card span {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .7;
}
.ref-card b {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: .05em;
  font-family: ui-monospace, Menlo, Consolas, monospace;
}

/* ── Screening list (event card) ─────────────────────────────────────── */
.screenings { margin-top: 20px; display: grid; gap: 8px; }
.screening-date, .slot-date {
  margin: 0 0 2px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.screening-label { font-weight: 600; color: var(--muted); font-size: .84rem; margin-left: 6px; }
.screening {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--purple-tint);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: .92rem;
}
.screening b { font-weight: 800; }
.screening span { color: var(--muted); font-weight: 600; font-size: .84rem; }
.screening.out { opacity: .55; }
.screening.out span { color: var(--danger); }

/* ── Slot picker (form) ──────────────────────────────────────────────── */
.slot-field { border: 0; padding: 0; margin: 0 0 20px; }
.slot-field legend {
  padding: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.slot-list { display: grid; gap: 9px; }

.slot-option { position: relative; display: block; cursor: pointer; }
.slot-option input { position: absolute; opacity: 0; pointer-events: none; }

.slot-card {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  background: #FCFBFD;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.slot-option:hover .slot-card { border-color: #CFC7DF; }
.slot-option input:checked + .slot-card {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(71, 41, 123, .12);
}
.slot-option input:focus-visible + .slot-card { outline: 3px solid var(--yellow); outline-offset: 2px; }

.slot-radio {
  width: 21px; height: 21px;
  flex: 0 0 21px;
  border: 2px solid #C9C3D4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color .15s;
}
.slot-radio::after {
  content: '';
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--purple);
  transform: scale(0);
  transition: transform .15s;
}
.slot-option input:checked + .slot-card .slot-radio { border-color: var(--purple); }
.slot-option input:checked + .slot-card .slot-radio::after { transform: scale(1); }

.slot-text { flex: 1; min-width: 0; }
.slot-time { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.slot-sub { color: var(--muted); font-size: .82rem; font-weight: 600; margin-top: 2px; }
.slot-left {
  font-size: .76rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--purple-tint);
  color: var(--purple);
  white-space: nowrap;
}
.slot-left.low { background: #FDF0D2; color: #8A5D00; }

.slot-option.sold-out { cursor: not-allowed; }
.slot-option.sold-out .slot-card { opacity: .5; background: var(--bg); }
.slot-option.sold-out .slot-left { background: #FBE4E7; color: var(--danger); }

/* The way out of a screening you cannot buy. */
.slot-waitlist { margin: 10px 0 0; font-size: .85rem; }
.slot-waitlist a { color: var(--purple); font-weight: 700; }

/* Single screening: show it as a plain statement, not a choice of one. */
.slot-solo {
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 13px 15px;
  background: #FCFBFD;
}

/* ── Questions ───────────────────────────────────────────────────────── */
.question { margin-bottom: 18px; }
.question > legend, .question > .q-label {
  display: block;
  padding: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
fieldset.question { border: 0; padding: 0; margin: 0 0 18px; }
.question .req { color: var(--danger); margin-left: 3px; }

select {
  width: 100%;
  font: inherit;
  font-weight: 600;
  padding: 13px 40px 13px 15px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: #FCFBFD url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%236B6478' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center/12px;
  appearance: none;
  cursor: pointer;
}
select:focus {
  outline: none;
  border-color: var(--purple);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(71, 41, 123, .12);
}
select.invalid { border-color: var(--danger); background-color: #FFF9FA; }

.tick-list { display: grid; gap: 7px; }
.tick {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  background: #FCFBFD;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.4;
  transition: border-color .15s, background .15s;
}
.tick:hover { border-color: #CFC7DF; }
.tick input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.tick-box {
  width: 21px; height: 21px;
  flex: 0 0 21px;
  border: 2px solid #C9C3D4;
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: background .15s, border-color .15s;
}
.tick-box::after {
  content: '';
  width: 11px; height: 6px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  margin-top: -3px;
  transition: transform .15s;
}
.tick input:checked ~ .tick-box { background: var(--purple); border-color: var(--purple); }
.tick input:checked ~ .tick-box::after { transform: rotate(-45deg) scale(1); }
.tick:has(input:checked) { border-color: var(--purple); background: #fff; }
.tick:has(input:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tick.invalid { border-color: var(--danger); background: #FFF9FA; }
.tick-consent { font-weight: 600; }

/* ── Payment overlay: Lewis vs the monorail ──────────────────────────── */
.race {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(170deg, var(--purple) 0%, var(--purple-deep) 100%);
  animation: race-fade .3s ease-out;
}
.race[hidden] { display: none; }
@keyframes race-fade { from { opacity: 0; } to { opacity: 1; } }

.race-inner { width: min(760px, 100%); text-align: center; }

.race-status {
  color: #fff;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.race-status::after {
  content: '';
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: dots 1.2s steps(4) infinite;
}
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.race.settled .race-status::after { content: ''; animation: none; }

.race-scene { width: 100%; height: auto; display: block; }

.race-caption {
  position: relative;
  height: 3.2em;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  font-weight: 600;
}
.race-caption .cap {
  position: absolute;
  inset: 0;
  opacity: 0;
  padding: 0 8px;
}

/* One 10s timeline drives the whole race, so the beats stay in step. */
.race.running .cap1 { animation: cap1 10s linear forwards; }
.race.running .cap2 { animation: cap2 10s linear forwards; }
.race.running .cap3 { animation: cap3 10s linear forwards; }
@keyframes cap1 { 0%, 26% { opacity: 1; } 31%, 100% { opacity: 0; } }
@keyframes cap2 { 0%, 30% { opacity: 0; } 35%, 68% { opacity: 1; } 73%, 100% { opacity: 0; } }
@keyframes cap3 { 0%, 72% { opacity: 0; } 78%, 100% { opacity: 1; } }

.cap-done { opacity: 0; transition: opacity .3s; }
.race.settled .cap-done { opacity: 1; }
.race.settled .cap1, .race.settled .cap2, .race.settled .cap3 { opacity: 0; animation: none; }

.race.running .monorail { animation: rail-run 10s cubic-bezier(.5, 0, .6, 1) forwards; }
.race.running .runner   { animation: lewis-run 10s cubic-bezier(.2, .6, .5, 1) forwards; }
.race.running .bob      { animation: bob .26s ease-in-out infinite alternate; }
.race.running .leg.front { animation: stride .26s ease-in-out infinite alternate; }
.race.running .leg.back  { animation: stride .26s ease-in-out infinite alternate-reverse; }
.race.running .arm.front { animation: swing .26s ease-in-out infinite alternate-reverse; }
.race.running .arm.back  { animation: swing .26s ease-in-out infinite alternate; }
.race.running .speedlines { animation: speed .3s linear infinite; }
.race.running .tag-lewis { animation: tag-run 10s cubic-bezier(.2, .6, .5, 1) forwards; }

.monorail { transform: translateX(-280px); }
@keyframes rail-run {
  0%   { transform: translateX(-280px); }
  16%  { transform: translateX(-90px); }
  46%  { transform: translateX(170px); }
  76%  { transform: translateX(470px); }   /* nose crosses the line */
  100% { transform: translateX(760px); }
}

/* Lewis leads early, then fades. The easing does the storytelling. */
.runner { transform: translate(60px, 256px) scale(1.45); }
@keyframes lewis-run {
  0%   { transform: translate(60px, 256px)  scale(1.45); }
  18%  { transform: translate(228px, 256px) scale(1.45); }
  46%  { transform: translate(340px, 256px) scale(1.45); }
  76%  { transform: translate(410px, 256px) scale(1.45); }
  100% { transform: translate(452px, 256px) scale(1.45); }
}

.tag-lewis {
  fill: #fff;
  opacity: .8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  transform: translate(60px, 278px);
}
@keyframes tag-run {
  0%   { transform: translate(60px, 278px); }
  18%  { transform: translate(228px, 278px); }
  46%  { transform: translate(340px, 278px); }
  76%  { transform: translate(410px, 278px); }
  100% { transform: translate(452px, 278px); }
}

.leg, .arm { transform-box: fill-box; transform-origin: top center; }
@keyframes stride { from { transform: rotate(34deg); } to { transform: rotate(-34deg); } }
@keyframes swing  { from { transform: rotate(28deg); } to { transform: rotate(-28deg); } }
@keyframes bob    { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes speed  { from { opacity: .25; transform: translateX(6px); } to { opacity: .8; transform: translateX(-10px); } }

/* Once payment lands, everything settles where it stands. */
.race.settled .monorail,
.race.settled .runner,
.race.settled .tag-lewis,
.race.settled .bob,
.race.settled .leg,
.race.settled .arm,
.race.settled .speedlines { animation-play-state: paused; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  text-align: center;
  padding: 26px 20px 34px;
  color: var(--muted);
  font-size: .84rem;
}
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
