/* ==========================================================================
   /london/ — the one page on this site that's allowed to be loud.

   Loaded after site.css and scoped to body.london. Borrows the Underground's
   visual language: the roundel, line-diagram maps, and the amber dot-matrix
   departure boards. Everything animates, and everything still works with
   JavaScript off or motion reduced.
   ========================================================================== */

body.london {
  --page: 46rem;

  /* Backstop against horizontal scroll from decorative elements */
  overflow-x: clip;

  --lon-red:   #dc241f;   /* roundel / Central line red */
  --lon-red-2: #b31d19;
  --lon-blue:  #10069f;   /* roundel blue */
  --lon-ink-on-red: #ffffff;

  --board-bg:  #191512;   /* departure board */
  --board-amber: #ffb43a;

  --card:      #ffffff;
  --card-edge: #e3dfd4;
}

@media (prefers-color-scheme: dark) {
  body.london {
    --lon-red:   #e2574b;
    --lon-red-2: #ef7d73;
    --lon-blue:  #4d5bd8;

    --card:      #211f1c;
    --card-edge: #383530;
  }
}

/* Motion is decorative everywhere on this page. */
@media (prefers-reduced-motion: reduce) {
  body.london *,
  body.london *::before,
  body.london *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* --- Jump nav (sticky, with scroll spy) ------------------------------------ */

.jumpnav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  margin-top: 1rem;
}

.jumpnav__inner {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding-block: 0.55rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.jumpnav a {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.jumpnav a:hover { color: var(--lon-red); }

.jumpnav a.is-current {
  color: var(--ink);
  border-bottom-color: var(--lon-red);
}

.jumpnav a.jumpnav__donate,
.jumpnav a.jumpnav__donate.is-current {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: var(--lon-red);
  color: var(--lon-ink-on-red);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-weight: 600;
  border-bottom: 0;
}

/* The arrow says this one leaves the page for the donation form. */
.jumpnav a.jumpnav__donate span { font-size: 0.9em; }

.jumpnav a.jumpnav__donate:hover { background: var(--lon-red-2); color: var(--lon-ink-on-red); }

/* Anchor targets land below the sticky bar. The extra room covers the bar
   itself plus the 1.2rem the reveal animation lifts a section by once it
   settles — at 4rem the kicker ended up half under the bar. */
body.london section[id] { scroll-margin-top: 5.5rem; }

/* --- Hero ----------------------------------------------------------------- */

.lon-hero { text-align: center; padding-top: 1rem; }

.lon-hero .roundel {
  width: clamp(7rem, 22vw, 9.5rem);
  margin: 0 auto 1.5rem;
  animation: roundel-drop 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

@keyframes roundel-drop {
  from { opacity: 0; transform: translateY(-1.5rem) rotate(-8deg); }
  to   { opacity: 1; transform: none; }
}

.lon-hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.4em;
}

.lon-hero h1 .rise {
  display: inline-block;
  animation: word-rise 0.7s cubic-bezier(0.2, 1, 0.3, 1) both;
}
.lon-hero h1 .rise:nth-child(2) { animation-delay: 0.12s; }
.lon-hero h1 .rise:nth-child(3) { animation-delay: 0.24s; }

@keyframes word-rise {
  from { opacity: 0; transform: translateY(0.6em); }
  to   { opacity: 1; transform: none; }
}

.lon-hero .lede { max-width: 34rem; margin-inline: auto; }

/* The donate button lives in the hero too, so nobody has to scroll to find it. */
.lon-hero__cta { justify-content: center; margin-top: 1.5rem; }

.lon-hero__cta-alt {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 3px;
  padding: 0.4rem 0.2rem;
}

.lon-hero__cta-alt:hover { color: var(--ink); text-decoration-color: currentColor; }

/* Small phones: shave the hero so the donate button clears the fold on a
   screen that also has to hold a browser toolbar. */
@media (max-width: 26rem) {
  .lon-hero { padding-top: 0.25rem; }
  .lon-hero .roundel { width: 5rem; margin-bottom: 0.8rem; }
  .lon-hero h1 { font-size: clamp(1.9rem, 8.5vw, 3.4rem); }
  .lon-hero__cta { margin-top: 1.1rem; }
}

/* Countdown chips */
.countdown {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.countdown__cell {
  min-width: 4.6rem;
  padding: 0.7rem 0.6rem 0.6rem;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-bottom: 3px solid var(--lon-red);
  border-radius: 6px;
}

.countdown__num {
  font-family: var(--sans);
  font-size: 1.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}

.countdown__label {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-3);
  margin-top: 0.35rem;
}

/* --- Departure board marquee ---------------------------------------------- */

.board {
  margin: 2.5rem calc(-1 * var(--gutter)) 0;
  background: var(--board-bg);
  overflow: hidden;
  padding: 0.55rem 0;
  border-block: 2px solid #000;
}

.board__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: board-scroll 28s linear infinite;
}

.board:hover .board__track { animation-play-state: paused; }

.board__items {
  display: flex;
  flex: none;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--board-amber);
  text-shadow: 0 0 8px rgb(255 180 58 / 45%);
}

.board__items span { padding-inline: 1.4rem; }
.board__items span::after { content: "•"; padding-left: 2.8rem; opacity: 0.5; }

@keyframes board-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- Cards ----------------------------------------------------------------- */

.lon-card {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
  padding: clamp(1.25rem, 4vw, 2rem);
}

/* Every section gets the same air above it, including the ones that follow a
   non-section sibling like the departure board — `section + section` skipped
   those, so their kicker ended up welded to the element above. */
body.london main > section { border-top: 0; padding-top: 0; margin-top: 3.5rem; }
body.london main > section:first-child { margin-top: 0; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lon-red);
  margin-bottom: 0.35rem;
}

/* A kicker is an eyebrow on the heading below it, not a paragraph before it:
   drop the heading's own top margin so the two read as one block. */
.kicker + h2,
.kicker + h3 { margin-top: 0; }

/* Headings sit closer to what they introduce than to what came before. */
body.london section > h2 { margin-bottom: 0.7rem; }

/* Cards and the postcard supply their own padding — the first thing inside
   one never needs a top margin on top of it. */
body.london .lon-card > :first-child,
body.london .postcard__inner > :first-child { margin-top: 0; }

/* --- Donation tracker: a tube line from Greenwich to Westminster ----------- */

.tracker__amounts {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.4rem;
}

.tracker__raised {
  font-family: var(--sans);
  font-size: clamp(2.1rem, 6vw, 3rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tracker__raised small {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
}

.tracker__pct {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lon-red);
  font-variant-numeric: tabular-nums;
}

/* The line itself */
.tubeline { position: relative; margin: 2.4rem 0 0.4rem; }

.tubeline__rail {
  height: 8px;
  border-radius: 4px;
  background: var(--rule);
}

.tubeline__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;                      /* set from data-raised/data-goal by JS */
  min-width: 8px;
  border-radius: 4px;
  background: var(--lon-red);
  transition: width 1.6s cubic-bezier(0.25, 1, 0.3, 1);
}

.tubeline__marker {
  position: absolute;
  left: 0%;                       /* follows the fill */
  top: 50%;
  transform: translate(-50%, -50%);
  transition: left 1.6s cubic-bezier(0.25, 1, 0.3, 1);
  width: 1.65rem;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 25%));
}

/* Stations along the route: % of goal mapped to the actual course */
.tubeline__stations {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  position: relative;
  /* The labels are absolutely positioned, so this height is what reserves room
     for them. 3.6rem left about 1.8rem of dead space under the last line. */
  height: 1.9rem;
}

.tubeline__stations li {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--ink-3);
  line-height: 1.25;
}
.tubeline__stations li:first-child { transform: none; text-align: left; }
.tubeline__stations li:last-child  { transform: translateX(-100%); text-align: right; }

.tubeline__stations li::before {
  content: "";
  display: block;
  width: 3px;
  height: 0.85rem;
  margin: -1.7rem auto 0.85rem;
  background: var(--card);
  border: 1px solid var(--ink-3);
  border-radius: 2px;
}
.tubeline__stations li:first-child::before { margin-left: 0.35rem; }
.tubeline__stations li:last-child::before  { margin-right: 0.35rem; margin-left: auto; }

.tubeline__stations b {
  display: block;
  font-weight: 600;
  color: var(--ink-2);
}

@media (max-width: 30rem) {
  .tubeline__stations li:nth-child(even) { display: none; }
}

/* Passport shelf: one little booklet per $179 raised */
.passbooks {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.passbooks span {
  width: 1.7rem;
  height: 2.25rem;
  border: 2px solid var(--ink-3);
  border-radius: 3px 7px 7px 3px;   /* booklet: flat spine, rounded fore-edge */
  opacity: 0.4;
  position: relative;
}

/* The little globe on the cover */
.passbooks span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 0.65rem;
  height: 0.65rem;
  transform: translate(-50%, -50%);
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--ink-3);
}

.passbooks span.is-funded {
  background: var(--lon-red);
  border-color: var(--lon-red);
  opacity: 1;
  animation: book-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
.passbooks span.is-funded::after { color: var(--paper); }

.passbooks span.is-next {
  border-style: dashed;
  border-color: var(--lon-red);
  opacity: 0.75;
}
.passbooks span.is-next::after { color: var(--lon-red); }

.passbooks span:nth-child(2)  { animation-delay: 0.06s; }
.passbooks span:nth-child(3)  { animation-delay: 0.12s; }
.passbooks span:nth-child(4)  { animation-delay: 0.18s; }
.passbooks span:nth-child(5)  { animation-delay: 0.24s; }
.passbooks span:nth-child(6)  { animation-delay: 0.3s; }
.passbooks span:nth-child(7)  { animation-delay: 0.36s; }
.passbooks span:nth-child(8)  { animation-delay: 0.42s; }
.passbooks span:nth-child(9)  { animation-delay: 0.48s; }
.passbooks span:nth-child(10) { animation-delay: 0.54s; }

@keyframes book-pop {
  from { transform: scale(0.4) rotate(-8deg); }
  to   { transform: none; }
}

.passbooks__caption {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-2);
  margin: 0.7rem 0 0;
}

.passbooks__caption b { color: var(--lon-red); font-variant-numeric: tabular-nums; }

/* Donate button — big, red, unmissable */
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  background: var(--lon-red);
  color: var(--lon-ink-on-red);
  text-decoration: none;
  border: 1px solid var(--lon-red);
  box-shadow: 0 6px 18px rgb(220 36 31 / 28%);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-donate:hover {
  background: var(--lon-red-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(220 36 31 / 33%);
}

.btn-donate svg { flex: none; }

/* --- Stat tiles ------------------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.6rem, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.stat {
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 8px;
  padding: 1rem 1.1rem 0.9rem;
}

.stat__num {
  font-family: var(--sans);
  font-size: 1.55rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.stat__num small { font-size: 0.6em; font-weight: 500; color: var(--ink-2); }

.stat__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 0.3rem;
  line-height: 1.35;
}

/* --- Weekly mileage chart --------------------------------------------------- */

.chart { margin-top: 1.6rem; }

.chart__plot {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 11rem;
  padding-top: 1.4rem;               /* room for the peak label */
  border-bottom: 1px solid var(--rule);
  position: relative;
}

/* Recessive gridlines at 4 and 8 miles (scale max = 12) */
.chart__plot::before,
.chart__plot::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  border-top: 1px dashed var(--rule);
  pointer-events: none;
}
.chart__plot::before { bottom: calc(100% / 3); }        /* 4 mi */
.chart__plot::after  { bottom: calc(200% / 3); }        /* 8 mi */

.chart__bar {
  flex: 1 1 0;
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  cursor: default;
}

.chart__bar i {
  display: block;
  width: 100%;
  height: calc(var(--v) / 12 * 100%);   /* --v = miles, scale max 12 */
  min-height: 2px;
  background: var(--lon-red);
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

.chart__bar:nth-child(2) i  { transition-delay: 0.05s; }
.chart__bar:nth-child(3) i  { transition-delay: 0.1s; }
.chart__bar:nth-child(4) i  { transition-delay: 0.15s; }
.chart__bar:nth-child(5) i  { transition-delay: 0.2s; }
.chart__bar:nth-child(6) i  { transition-delay: 0.25s; }
.chart__bar:nth-child(7) i  { transition-delay: 0.3s; }
.chart__bar:nth-child(8) i  { transition-delay: 0.35s; }
.chart__bar:nth-child(9) i  { transition-delay: 0.4s; }
.chart__bar:nth-child(10) i { transition-delay: 0.45s; }
.chart__bar:nth-child(11) i { transition-delay: 0.5s; }

.chart--in .chart__bar i,
.no-js .chart__bar i { transform: scaleY(1); }

.chart__bar i.is-zero { background: var(--ink-3); opacity: 0.55; border-radius: 2px; }

/* Direct label on the peak week only; everything else is hover/focus */
.chart__peak {
  position: absolute;
  bottom: calc(var(--v) / 12 * 100% + 0.3rem);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}

/* Tooltip */
.chart__bar::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(var(--v) / 12 * 100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(0.25rem);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  padding: 0.35rem 0.55rem;
  border-radius: 5px;
  white-space: pre;
  /* display:none, not just opacity 0 — a hidden tooltip hanging past the
     last bar still widens the page and causes horizontal scroll on mobile */
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, transform 0.12s ease;
  z-index: 2;
}

.chart__bar:hover::after,
.chart__bar:focus-visible::after {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chart__bar:hover i { background: var(--lon-red-2); }

.chart__labels {
  display: flex;
  gap: 6px;
  margin-top: 0.4rem;
}

.chart__labels span {
  flex: 1 1 0;
  min-width: 0;   /* let labels shrink below their text width on small screens */
  text-align: center;
  font-family: var(--sans);
  font-size: 0.68rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 34rem) {
  .chart__labels span:nth-child(even) { visibility: hidden; }
}

.chart__note {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-3);
  margin-top: 0.9rem;
}

/* --- Training plan as a line diagram ---------------------------------------- */

.stations { list-style: none; margin: 1.6rem 0 0; padding: 0; position: relative; }

.stations::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 8px;
  border-radius: 4px;
  background: var(--lon-red);
}

.stations li {
  position: relative;
  padding: 0 0 1.5rem 2.4rem;
}
.stations li:last-child { padding-bottom: 0; }

.stations li::before {
  content: "";
  position: absolute;
  left: 0.28rem;
  top: 0.28rem;
  width: 0.62rem;
  height: 0.62rem;
  background: var(--card);
  border: 3px solid var(--lon-blue);
  border-radius: 50%;
}

.stations li.is-now::before {
  border-color: var(--lon-red);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgb(220 36 31 / 45%); }
  70%  { box-shadow: 0 0 0 9px rgb(220 36 31 / 0%); }
  100% { box-shadow: 0 0 0 0 rgb(220 36 31 / 0%); }
}

.stations b {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
}

.stations .when {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.stations p { font-size: 0.95rem; color: var(--ink-2); margin: 0.15rem 0 0; }

/* --- Charity fact chips ------------------------------------------------------ */

.chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.chip {
  border: 1px dashed var(--card-edge);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-2);
  background: var(--card);
}

.chip b {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

/* --- Postcard (the personal bit) --------------------------------------------- */

.postcard {
  position: relative;
  background: var(--card);
  border: 1px solid var(--card-edge);
  border-radius: 10px;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: 0 10px 30px rgb(0 0 0 / 7%);
  transform: rotate(-0.6deg);
}

.postcard__inner { transform: rotate(0.6deg); }

/* Airmail edge stripes */
.postcard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 8px;
  border-radius: 10px 10px 0 0;
  background: repeating-linear-gradient(
    -45deg,
    var(--lon-red) 0 14px,
    var(--card) 14px 28px,
    var(--lon-blue) 28px 42px,
    var(--card) 42px 56px
  );
}

/* Rubber passport stamp */
.postcard__stamp {
  position: absolute;
  top: 1.4rem;
  right: 1.2rem;
  width: 5.2rem;
  height: 5.2rem;
  border: 3px double var(--lon-red);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--lon-red);
  transform: rotate(12deg);
  opacity: 0.75;
  pointer-events: none;
}

.postcard h2 { padding-right: 5rem; }

.postcard .copy p:first-of-type::first-letter {
  font-size: 2.6em;
  float: left;
  line-height: 0.85;
  padding: 0.08em 0.12em 0 0;
  color: var(--lon-red);
  font-weight: 600;
}

.postcard .big-count {
  font-weight: 600;
  color: var(--lon-red);
  font-variant-numeric: tabular-nums;
}

.postcard__sign {
  margin-top: 1.4rem;
  font-style: italic;
  color: var(--ink-2);
}

/* --- Scroll-in reveals -------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(1.2rem); }

.reveal.reveal--in,
.no-js .reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* --- Skyline finale ------------------------------------------------------------ */

/* No negative side margins here: the skyline sits outside .wrap, so they'd
   push past the viewport and cause horizontal scrolling. */
.skyline {
  margin: 4rem 0 -1rem;
  position: relative;
  overflow: hidden;
}

.skyline svg { display: block; width: 100%; height: auto; color: var(--ink); }

.skyline .eye {
  transform-origin: 84px 54px;      /* hub of the wheel, in viewBox units */
  animation: eye-turn 60s linear infinite;
}

@keyframes eye-turn {
  to { transform: rotate(360deg); }
}

.skyline__runner {
  position: absolute;
  bottom: 0.1rem;
  left: -3rem;
  font-size: 1.3rem;
  transform: scaleX(-1);            /* 🏃 faces left by default; flip to run east */
  animation: run-across 24s linear infinite;
}

@keyframes run-across {
  from { left: -3rem; }
  to   { left: 103%; }
}

@media (prefers-reduced-motion: reduce) {
  .skyline__runner { display: none; }
}
