/* burnhamdash.co.uk. The game's two looks, one against the other (Web/README.md, The look): the HUD's salmon paper
   and near-black ink for everything said (HudKit.Paper, HudKit.Ink, HudKit.Ivory, HubPubHud.NameColour), lettered as
   the HUD is, Proza Libre Bold for what is pressed and Baskervville for what is said, square-cornered, and the run's
   fog, night and old television breaking in over it. Downing Street at sunset is the one warm band. No eyebrows or
   labels over headings. */

@font-face { font-family: "Proza Libre"; font-weight: 700; font-display: swap; src: url("/media/fonts/proza-libre-bold.woff?v=5b593af80b") format("woff"); }
@font-face { font-family: "Baskervville"; font-weight: 600; font-display: swap; src: url("/media/fonts/baskervville-semibold.woff?v=29087c0c71") format("woff"); }
@font-face { font-family: "Baskervville"; font-weight: 700; font-display: swap; src: url("/media/fonts/baskervville-bold.woff?v=58fae2f434") format("woff"); }
@font-face { font-family: "VT323"; font-weight: 400; font-display: block; src: url("/media/fonts/vt323.woff?v=7d23c5b115") format("woff"); }

:root {
  --paper: #FFE8D8;
  --paper-deep: #FFCFAE;
  --ink: #211F1F;
  --ink-soft: #574B46;
  --rule: rgba(33, 31, 31, .22);
  --claret: #8E3330;
  --ivory: #F0E8DA;
  --yellow: #F2CB45;
  --night: #131315;
  --night-2: #1C1C20;
  --fog: #A9A8AC;
  --amber: #FFB01F;
  --serif: "Baskervville", Baskerville, "Times New Roman", serif;
  --sans: "Proza Libre", "Helvetica Neue", Arial, sans-serif;
  --wide: 1240px;
  --gutter: clamp(18px, 4.5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 600 1.3rem/1.5 var(--serif); font-feature-settings: "kern", "liga", "onum";
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--claret); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--ivory); padding: .5em 1em; font: 700 .8rem var(--sans); }
.skip:focus { left: 8px; }

/* Headings that are pressed: Proza Libre capitals, spaced as the HUD's keys are. */
.caps, .bar a, .btn, .road h2, .road h3, .sunset h2, .press h2, .faq h2, .facts dt, .foot nav {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}

/* The bar: nothing but the way round, over the film. */
.bar { position: absolute; inset: 0 0 auto; z-index: 10; padding: 18px var(--gutter); }
.bar nav { display: flex; justify-content: flex-end; gap: clamp(14px, 3vw, 34px); max-width: var(--wide); margin: 0 auto; }
.bar a { color: var(--ivory); font-size: .72rem; text-decoration: none; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); white-space: nowrap; }
/* The links on one line of a phone; on the narrowest, closer together. */
@media (max-width: 460px) {
  .bar nav { justify-content: space-between; gap: 8px; }
  .bar a { font-size: .6rem; letter-spacing: .1em; }
}
@media (max-width: 380px) {
  .bar nav { gap: 4px; }
  .bar a { font-size: .54rem; letter-spacing: .04em; }
}
.bar a:hover { color: var(--yellow); }

/* The hero: the chase key art in the fog, the title logo in its empty sky, the fog rolling over its foot onto the paper.
   Landscape screens lay the words over the header's composition, left of the chase; phones held upright stack them in
   the sky of the App Store phone's composition, the chase below. */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--ivory); background: #363B45;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 84px 0 clamp(150px, 24vh, 250px);
}
.hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 38%; z-index: -3; }
.hero-shade {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: linear-gradient(90deg, rgba(30, 32, 38, .55) 0%, rgba(30, 32, 38, .2) 34%, transparent 52%);
}
.hero-words { position: relative; width: 100%; }
.title { margin: 0; line-height: 0; }
.logo { width: clamp(250px, 34vw, 500px); height: auto; filter: drop-shadow(0 6px 26px rgba(20, 22, 28, .45)); }
.hero-line { max-width: 34ch; margin: 1em 0 1.3em; font-size: clamp(1.2rem, 1.7vw, 1.5rem); line-height: 1.3; text-shadow: 0 1px 14px rgba(20, 22, 28, .8); }
@media (orientation: portrait) {
  .hero { min-height: 0; justify-content: flex-start; padding: 64px 0 0; background: linear-gradient(#363B45 55%, #323335 80%); text-align: center; }
  .hero-words { display: contents; }
  .title, .cta, .release { padding: 0 var(--gutter); }
  .title { order: 1; }
  .cta { order: 2; justify-content: center; margin-top: 18px; }
  .release { order: 3; justify-content: center; margin-top: 18px; }
  .hero-art { order: 4; display: block; position: relative; z-index: -3; margin-top: -100vw; }
  .hero-art img {
    position: static; width: 100%; height: auto;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 97%, transparent);
    mask-image: linear-gradient(transparent, #000 14%, #000 97%, transparent);
  }
  .hero-line { order: 5; margin: -3vw auto 0; padding: 0 var(--gutter) 32vw; max-width: 26ch; position: relative; z-index: 1; }
  .hero-shade { display: none; }
  .logo { width: min(78vw, 440px); margin: 0 auto; }
  .hero .stores { justify-content: center; }
  .hero .stores { flex-direction: column; }
  .hero .badge img { height: 62px; }
  .blind span { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .fog { height: 30vw; }
}

/* The release date as a Bee Network bus's destination blind: amber dots on black. */
.release { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.blind {
  display: inline-flex; gap: 6px; padding: 6px; background: #070707; border-radius: 7px;
  box-shadow: 0 0 0 3px #2B2B2E, 0 14px 34px rgba(0, 0, 0, .5);
}
.blind span {
  position: relative; display: block; padding: .14em .42em .04em; background: #110B03; border-radius: 3px;
  font: 400 clamp(2.2rem, 6vw, 3.3rem)/1 "VT323", ui-monospace, monospace; letter-spacing: .08em;
  color: var(--amber); text-shadow: 0 0 4px rgba(255, 150, 20, .9), 0 0 14px rgba(255, 140, 10, .45);
}
.blind span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle, transparent 0 46%, rgba(7, 5, 2, .62) 58%) 0 0 / 4px 4px;
}
.blind-route { min-width: 2.2ch; text-align: center; }
.blind-route:empty { display: none; }
.release { margin-top: 26px; }

/* The stores' keys: each store's own badge, Apple's artwork unaltered (at least 40 pixels high, with a quarter of its
   height clear around it); those still to come, a line beside them. */
.cta { display: flex; align-items: center; gap: 22px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; transition: transform .12s, filter .12s; }
.badge img { height: 58px; width: auto; }
a.badge:hover { transform: translateY(-2px); filter: brightness(1.25); }
.store { display: inline-block; padding: 14px 20px; font: 700 .95rem/1.1 var(--sans); text-decoration: none; background: var(--ink); color: var(--ivory); border: 2px solid var(--ivory); border-radius: 9px; }
a.store:hover { color: var(--yellow); }
.store-soon { font-size: 1.1rem; line-height: 1.25; text-shadow: 0 1px 10px rgba(20, 22, 28, .8); }
.qr { display: none; margin: 0; align-items: center; gap: 12px; }
.qr img { border-radius: 6px; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); }
.qr figcaption { max-width: 9em; font-size: 1rem; line-height: 1.25; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
@media (hover: hover) and (pointer: fine) and (min-width: 1000px) { .qr { display: flex; } }

/* The fog: the run's mist lying over the foot of the film and thinning into paper. */
.fog {
  position: absolute; inset: auto 0 0; height: clamp(170px, 30vh, 300px); z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(169, 168, 172, 0) 0%, rgba(176, 172, 172, .72) 45%, rgba(236, 214, 200, .96) 78%, var(--paper) 100%);
}
.fog i {
  position: absolute; left: -30%; width: 160%; height: 130%; bottom: -10%; border-radius: 50%; opacity: .55;
  background: radial-gradient(50% 50% at 50% 50%, rgba(214, 208, 206, .9), rgba(214, 208, 206, 0) 70%);
  filter: blur(18px); animation: drift 38s ease-in-out infinite alternate;
}
.fog i:nth-child(2) { bottom: 6%; left: -55%; opacity: .4; animation-duration: 53s; animation-delay: -20s; }
.fog i:nth-child(3) { bottom: -30%; left: -10%; opacity: .6; animation-duration: 71s; animation-direction: alternate-reverse; }
@keyframes drift { to { transform: translateX(22%); } }

/* Breaking News: the game's notification, glass over the film, dropping in once. */
.notice {
  position: absolute; z-index: 5; top: 64px; left: 50%; width: min(92vw, 400px); display: flex; gap: 11px; align-items: flex-start; text-align: left;
  padding: 12px 14px; border-radius: 22px; color: #fff; transform: translate(-50%, -160%); opacity: 0;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28);
  -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35); cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.15), opacity .4s;
}
.notice.in { transform: translate(-50%, 0); opacity: 1; }
.notice img { border-radius: 9px; flex: none; }
.notice p { margin: 0; font-size: .9rem; line-height: 1.3; letter-spacing: -.01em; }
.notice-head { display: flex; justify-content: space-between; }
.notice-head span { opacity: .7; font-size: .8rem; }

/* Andy on the red BusBall, running on the spot where the fog meets the paper (the loading animation's drawings). */
.story { position: relative; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px); }
.runner {
  position: absolute; right: clamp(18px, 9vw, 140px); top: -204px; display: block; width: 124px; height: 210px; padding: 0; border: 0;
  background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.sprite {
  display: block; width: 124px; height: 210px; image-rendering: pixelated; image-rendering: crisp-edges;
  background: url("/media/busball.png?v=337d2ad07e") 0 0 / 1984px 630px no-repeat;
  animation: run .667s steps(8) infinite;
}
.runner.flip .sprite { background-position-y: -210px; animation: flip 1.333s steps(16) 1; }
.runner.teeter .sprite { background-position-y: -420px; animation: teeter 1.167s steps(14) infinite; }
@keyframes run { from { background-position-x: 0; } to { background-position-x: -992px; } }
@keyframes flip { from { background-position-x: 0; } to { background-position-x: -1984px; } }
@keyframes teeter { from { background-position-x: 0; } to { background-position-x: -1736px; } }

/* The story: a broadsheet's page. */
.lede {
  max-width: 21ch; padding-top: 22px; border-top: 4px solid var(--ink);
  font: 600 clamp(2.1rem, 4.8vw, 3.9rem)/1.06 var(--serif); letter-spacing: -.01em;
}
.columns { margin-top: clamp(28px, 4vw, 48px); padding-top: 18px; border-top: 1px solid var(--rule); }
.columns p { break-inside: avoid-column; hyphens: auto; }
.columns p:first-child::first-letter {
  float: left; margin: .06em .1em -.1em 0; font: 700 4.4em/.8 var(--serif); color: var(--claret);
}
@media (min-width: 760px) { .columns { column-count: 2; column-gap: 44px; column-rule: 1px solid var(--rule); } }
@media (min-width: 1120px) { .columns { column-count: 3; } }

/* The road: the run's night. The game in play in a phone, its features on the App Store's screenshots, and the rest of
   those screenshots in a row to swipe through. */
.road { background: var(--night); color: var(--ivory); padding: clamp(60px, 9vw, 120px) 0; }
.shot { position: relative; margin: 0; overflow: hidden; background: #000; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.road-lead { display: grid; gap: 36px 72px; align-items: center; justify-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.road-words { justify-self: stretch; }
.road-lead h2 { font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.1; color: var(--yellow); margin-bottom: .6em; }
.road-lead p { font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.35; max-width: 26ch; }
.road-lead .stores { margin-top: 1.4em; }
@media (min-width: 760px) { .road-lead { grid-template-columns: auto 1fr; justify-items: start; } }
.phone {
  position: relative; width: min(74vw, 320px); padding: 10px; background: #050506; border-radius: 44px;
  box-shadow: 0 0 0 2px #2C2C31, 0 30px 80px rgba(0, 0, 0, .6);
}
.film { width: 100%; height: auto; aspect-ratio: 480 / 1040; border-radius: 34px; background: #222; object-fit: cover; }
.sound {
  position: absolute; right: 22px; bottom: 22px; width: 44px; height: 44px; padding: 10px; border: 0;
  background: rgba(19, 19, 21, .7); color: var(--ivory); cursor: pointer;
}
.sound svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; }
.sound .on { display: none; }
.sound[aria-pressed="true"] .on { display: inline; }
.sound[aria-pressed="true"] .off { display: none; }
.sound:hover { color: var(--yellow); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; }
@media (min-width: 760px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 759px) { .tiles .shot { max-width: 420px; } }
.tiles h3 { margin: 22px 0 10px; font-size: .86rem; line-height: 1.4; }
.tiles h3::before { content: ""; display: block; width: 36px; height: 4px; margin-bottom: 14px; background: var(--yellow); }
.tiles p { font-size: 1.18rem; line-height: 1.42; color: rgba(240, 232, 218, .86); }
.gallery { position: relative; margin-top: clamp(56px, 8vw, 96px); }
.screens {
  list-style: none; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 18px; display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: thin;
  scrollbar-color: #4A4A50 transparent; -webkit-overflow-scrolling: touch;
}
.screens li { flex: none; width: min(62vw, 260px); scroll-snap-align: start; }
.screens img { width: 100%; background: #000; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 10px; margin: 14px 0 0; }
.gallery-nav button {
  display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ivory);
  background: none; color: var(--ivory); cursor: pointer;
}
.gallery-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-nav button:hover { color: var(--yellow); border-color: var(--yellow); }
.gallery-nav button:disabled { opacity: .3; cursor: default; }
@media (max-width: 759px) { .gallery-nav { display: none; } }
@media (min-width: 760px) { .screens { scroll-snap-type: none; } }

/* Downing Street at sunset: the one warm place, its words on a card of the HUD's paper. */
.sunset { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(92vh, 860px); padding: clamp(28px, 6vw, 72px) var(--gutter); }
.sunset > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.sunset::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(120, 50, 10, .45), rgba(255, 170, 60, 0) 55%); }
.card {
  max-width: 560px; padding: clamp(24px, 3.6vw, 40px); background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink);
}
.card h2 { font-size: clamp(1.1rem, 2.2vw, 1.5rem); line-height: 1.25; margin-bottom: .9em; color: var(--claret); }
.card p { font-size: 1.2rem; line-height: 1.45; }
.card p:last-of-type { margin-bottom: 0; }
.card .stores { margin-top: 1.4em; }
.card .store { border-color: var(--ink); }
@media (min-width: 1000px) { .sunset { padding-left: max(var(--gutter), calc((100vw - var(--wide)) / 2 + var(--gutter))); } }

/* Press: for the people who write about it. */
.press { padding: clamp(64px, 9vw, 120px) 0; border-bottom: 1px solid var(--rule); }
.press-grid { display: grid; gap: 48px 72px; }
@media (min-width: 960px) { .press-grid { grid-template-columns: 1fr 1.1fr; } }
.press h2, .faq h2 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); padding-top: 18px; border-top: 4px solid var(--ink); margin-bottom: .8em; }
.press-words > p { max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0; }
.btn {
  display: inline-flex; align-items: baseline; gap: .7em; padding: 15px 22px; font-size: .74rem; text-decoration: none;
  background: var(--ink); color: var(--ivory); border: 2px solid var(--ink); transition: transform .12s, box-shadow .12s;
}
.btn:hover { color: var(--yellow); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--claret); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { color: var(--claret); }
.btn small { font-size: .62rem; letter-spacing: .1em; opacity: .7; white-space: nowrap; }
@media (min-width: 480px) { .btn { white-space: nowrap; } }
.press-mail { font-size: 1.15rem; }
.facts { margin: 0; border-top: 1px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .64rem; padding-top: .55em; color: var(--ink-soft); }
.facts dd { margin: 0; font-size: 1.12rem; line-height: 1.35; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* The studio: who made it, in the broadsheet's standfirst. */
.studio { padding: clamp(56px, 8vw, 104px) 0; background: var(--paper-deep); }
.studio-grid { display: grid; gap: 18px 72px; align-items: start; }
@media (min-width: 960px) { .studio-grid { grid-template-columns: 1fr 1.6fr; } }
.studio h2 { font: 700 clamp(1.5rem, 3.2vw, 2.4rem)/1.15 var(--sans); text-transform: uppercase; letter-spacing: .14em; padding-top: 18px; border-top: 4px solid var(--ink); }
.studio p { margin: 0; padding-top: 18px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; max-width: 34ch; }

/* Questions. */
.faq { padding: clamp(64px, 9vw, 120px) 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0;
  font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 1.3rem/1 var(--sans); color: var(--claret); transition: transform .2s; padding-top: .15em; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 60ch; padding-bottom: 8px; color: var(--ink-soft); }

/* Footer: ink. */
.foot { background: var(--ink); color: var(--ivory); padding: 56px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 1.05rem; }
.foot .wrap { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot .wrap { grid-template-columns: auto 1fr auto; align-items: start; } }
.foot img { border-radius: 14px; }
.foot p { max-width: 52ch; margin-bottom: .5em; }
.foot .small { font-size: .95rem; opacity: .7; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .68rem; }
.foot nav a { text-decoration: none; }
.foot a:hover { color: var(--yellow); }

/* Plain pages: privacy, and the page that went into the fog. */
.plain { padding: 120px 0 90px; min-height: 70vh; }
.plain h1 { font: 600 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--serif); padding-top: 18px; border-top: 4px solid var(--ink); margin-bottom: .7em; }
.plain h2 { font: 700 .82rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .14em; margin: 2em 0 .8em; }
.plain p, .plain li { max-width: 62ch; }
.plain .bar { position: static; padding: 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2em 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.6em 3.4rem; margin-bottom: 1.6em; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -.15em; font: 600 2.6rem/1 var(--serif); color: var(--claret); }
.steps h2 { margin-top: 0; }
.plain-bar { background: var(--ink); }
.plain-bar .bar { position: static; }
/* The cast: a card for each with a page of their own, the street's people as the Home Office's board of passport
   photographs, and a page each for the best known. */
.cast-lede { font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.25; color: var(--claret); margin-top: -.3em; }
.cast-figure { margin: 1.4em 0 1.6em; }
.cast-figure img { width: 100%; background: var(--night); }
.cast-figure.tall { max-width: 420px; }
.cast-figure.photo { max-width: 200px; }
.cast-figure.photo img, .cast-grid img { background: #fff; box-shadow: 0 0 0 1px var(--rule); }
.cast-cards, .cast-grid { list-style: none; padding: 0; }
.plain .cast-cards li, .plain .cast-grid li { max-width: none; }
.cast-cards { display: grid; gap: 26px 18px; margin: 1.6em 0 2.2em; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
@media (min-width: 760px) { .cast-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
.cast-cards a { display: block; height: 100%; text-decoration: none; border-top: 4px solid var(--ink); padding-top: 10px; }
.cast-cards .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); margin-bottom: 10px; }
.cast-cards .thumb img { width: 100%; height: 100%; object-fit: cover; }
/* A passport photograph (or a portrait from Number 10's wall) whole, at its own shape. */
.cast-cards .thumb.photo { aspect-ratio: 25 / 32; }
.cast-cards .thumb.tall img { object-position: 50% 30%; }
.cast-cards b, .cast-grid b { display: block; line-height: 1.15; }
.cast-cards b { font-size: 1.3rem; }
.cast-cards span:not(.thumb) { display: block; font-size: 1.02rem; line-height: 1.3; color: var(--ink-soft); margin-top: .25em; }
.cast-cards a:hover b, .cast-grid a:hover b { color: var(--claret); }
.cast-grid { display: grid; gap: 22px 14px; margin: 1.4em 0 2.6em; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
@media (min-width: 760px) { .cast-grid { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); } }
.cast-grid a { display: block; text-decoration: none; }
.cast-grid img { width: 100%; margin-bottom: 8px; }
.cast-grid b { font-size: 1.02rem; }
.cast-grid span { display: block; font-size: .86rem; line-height: 1.25; color: var(--ink-soft); margin-top: .2em; }
/* The Prime Ministers' portraits carry their own mount. */
.cast-grid.portraits img { background: none; box-shadow: none; }
.satire { font-size: 1.05rem; color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: 1em; margin-top: 2.2em; }

.lost { position: relative; text-align: left; }
.lost .runner { position: relative; top: auto; right: auto; margin: 0 0 20px; }

/* The bar at the foot of the screen, once the hero's keys have gone by (main.js). */
.sticky {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px;
  padding: 10px max(var(--gutter), env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom));
  background: rgba(19, 19, 21, .94); color: var(--ivory); border-top: 1px solid #2C2C31;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky.up { transform: none; }
.sticky img { border-radius: 10px; flex: none; }
.sticky p { margin: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky b { font: 700 .8rem var(--sans); text-transform: uppercase; letter-spacing: .1em; }
.sticky span { font-size: 1rem; opacity: .75; }
.sticky .badge img { height: 44px; }
.sticky .store { padding: 10px 14px; }
@media (min-width: 900px) { .sticky { display: none; } }
@media (max-width: 899px) { .has-sticky .foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog i, .sprite { animation: none !important; }
  .notice { display: none; }
  .sticky { transition: none; }
}
