/* ==========================================================================
   BLACK LDN — Black, White & Gold
   White pages, solid black banner and bands, gold accents. Condensed display
   type, square corners, big black-and-white photography.
   ========================================================================== */

@font-face {
  font-family: "Oswald";
  src: url("/fonts/oswald-latin-wght.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --paper: #ffffff;
  --ink: #000000;
  --header-h: 0px; /* the banner scrolls away, so nothing sticks under it */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-input: 999px;
  --radius-pill: 999px;
  --f-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --gold-fill: #d4af37;
  --gold-fill-bright: #f0d47a;
}

/* White pages */
:root,
html [data-ground="paper"] {
  color-scheme: light;
  --ground: #ffffff;
  --ground-raised: #ffffff;
  --surface: #ffffff;
  --surface-hover: #f6f6f6;
  --surface-sunk: #f2f2f2;
  --text: #0a0a0a;
  --text-2: #262626;
  --text-3: #4d4d4d;
  --text-meta: #4d4d4d;
  --gold: #8c6d12;
  --gold-bright: #6f560c;
  --gold-deep: #b8922a;
  --ember: #0a0a0a;
  --ember-soft: #0a0a0a;
  --signal: #8c6d12;
  --signal-deep: #8c6d12;
  --k-blue: #0a0a0a;
  --rule-gold: rgba(184, 146, 42, 0.6);
  --rule-soft: rgba(0, 0, 0, 0.2);
  --rule-hair: rgba(0, 0, 0, 0.1);
  --wash-gold: rgba(212, 175, 55, 0.12);
  --wash-ember: rgba(0, 0, 0, 0.05);
  --wash-signal: rgba(212, 175, 55, 0.12);
  --media-scrim: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.18) 100%);
  --chip-bg: rgba(255, 255, 255, 0.92);
  --phead-veil: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.82) 34%, rgba(255, 255, 255, 0.1) 100%);
  --veil-1: rgba(0, 0, 0, 0.03);
  --veil-2: rgba(0, 0, 0, 0.06);
  --veil-3: rgba(0, 0, 0, 0.1);
  --lift-1: 0 1px 2px rgba(0, 0, 0, 0.06), 0 6px 16px rgba(0, 0, 0, 0.05);
  --lift-2: 0 2px 4px rgba(0, 0, 0, 0.06), 0 22px 44px rgba(0, 0, 0, 0.14);
  --glow-gold: 0 0 0 2px var(--gold-fill);
  --glow-ember: 0 0 0 2px #0a0a0a;
  --glow-signal: 0 0 0 2px var(--gold-fill);
  --focus: #8c6d12;
  --accent: var(--gold);
}

/* Black banner, bands and footer */
html [data-ground="ink"],
.footer {
  color-scheme: dark;
  --ground: #000000;
  --ground-raised: #0b0b0b;
  --surface: #111111;
  --surface-hover: #1a1a1a;
  --surface-sunk: #070707;
  --text: #ffffff;
  --text-2: #ededed;
  --text-3: #c4c4c4;
  --text-meta: #c4c4c4;
  --gold: #d4af37;
  --gold-bright: #f0d47a;
  --gold-deep: #b8922a;
  --ember: #ffffff;
  --ember-soft: #ffffff;
  --signal: #d4af37;
  --signal-deep: #d4af37;
  --k-blue: #ffffff;
  --rule-gold: rgba(212, 175, 55, 0.55);
  --rule-soft: rgba(255, 255, 255, 0.24);
  --rule-hair: rgba(255, 255, 255, 0.12);
  --wash-gold: rgba(212, 175, 55, 0.14);
  --wash-ember: rgba(255, 255, 255, 0.08);
  --wash-signal: rgba(212, 175, 55, 0.14);
  --media-scrim: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  --chip-bg: rgba(0, 0, 0, 0.75);
  --phead-veil: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.82) 40%, rgba(0, 0, 0, 0.45) 100%);
  --veil-1: rgba(255, 255, 255, 0.04);
  --veil-2: rgba(255, 255, 255, 0.1);
  --veil-3: rgba(255, 255, 255, 0.16);
  --lift-1: 0 0 0 1px rgba(255, 255, 255, 0.08);
  --lift-2: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 26px 60px rgba(0, 0, 0, 0.6);
  --glow-gold: 0 0 0 1px rgba(212, 175, 55, 0.6), 0 0 24px rgba(212, 175, 55, 0.25);
  --focus: #f0d47a;
  --accent: var(--gold);
}

/* One accent everywhere: gold */
html[data-section] [data-ground] {
  --accent: var(--gold);
}

/* --------------------------------------------------------------------------
   Foundations
   -------------------------------------------------------------------------- */
html {
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--gold-fill);
  color: #000;
}

.grain {
  display: none !important;
}

/* Condensed display type */
.h1, .h2, .h3, .hero-type, .wire__title, .dg-mast__title, .card__title {
  font-family: var(--f-display) !important;
  letter-spacing: 0.005em !important;
}

.h1, .h2, .hero-type, .wire__title, .dg-mast__title {
  font-weight: 700 !important;
  text-transform: uppercase;
  line-height: 1 !important;
}

.h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem) !important;
}

.h2 {
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
}

.h3 {
  font-weight: 600 !important;
  text-transform: uppercase;
}

.card__title {
  font-weight: 600 !important;
  font-size: 1.35rem !important;
  line-height: 1.15 !important;
}

.wire__strap {
  font-family: var(--f-ui) !important;
  font-style: normal !important;
}

/* Gold half of two-tone headings */
.gilt {
  color: var(--gold) !important;
}

[data-ground="ink"] .gilt,
.footer .gilt {
  background: linear-gradient(105deg, #b39226 0%, #f0d47a 45%, #d4af37 70%, #b39226 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Banner: huge logo top-left, every section listed underneath
   -------------------------------------------------------------------------- */
.masthead {
  position: relative !important;
  background: #000 !important;
  backdrop-filter: none !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5) !important;
}

.masthead__bar {
  height: auto !important;
  flex-wrap: wrap;
  row-gap: 0 !important;
  padding-top: clamp(14px, 2vw, 24px);
}

.masthead__bar > .wordmark {
  order: 1;
}

.masthead__end {
  order: 2;
  margin-left: auto;
}

.masthead__bar > .nav {
  order: 3;
  flex-basis: 100%;
  display: flex !important;
  gap: clamp(14px, 2.4vw, 40px) !important;
  margin: clamp(10px, 1.4vw, 18px) 0 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  overflow-x: auto;
  scrollbar-width: none;
}

.masthead__bar > .nav::-webkit-scrollbar {
  display: none;
}

.masthead__bar > .nav .nav__link {
  font-family: var(--f-display) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  color: #ffffff !important;
  padding: 14px 0 !important;
  white-space: nowrap;
}

.masthead__bar > .nav .nav__link::after {
  background: var(--gold-fill) !important;
  height: 3px !important;
  bottom: 0 !important;
}

.masthead__bar > .nav .nav__link:hover,
.masthead__bar > .nav .nav__link[aria-current="page"] {
  color: var(--gold-fill-bright) !important;
}

/* Every section is always in the banner, so the menu button isn't needed */
.masthead .menu-toggle,
.masthead__nav-panel {
  display: none !important;
}

.masthead .btn {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}

.masthead .btn:hover {
  border-color: var(--gold-fill) !important;
  color: var(--gold-fill-bright) !important;
  background: transparent !important;
}

/* Wordmark: chrome + gold, extruded 3D, with a slow glint sweeping across */
.wordmark {
  font-family: var(--f-display) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none;
}

.masthead .wordmark {
  font-size: clamp(2.4rem, 5.2vw, 4.6rem) !important;
  display: inline-grid !important;
  grid-template-columns: max-content 1fr;
  justify-content: start;
  align-content: center;
  column-gap: 0.18em;
  row-gap: 4px;
  line-height: 0.95 !important;
}

.wordmark .plated,
.wordmark .gilt {
  font-weight: 700 !important;
  background-size: 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  animation: wordmark-glint 7s ease-in-out infinite;
}

.wordmark .plated {
  background-image: linear-gradient(105deg, #c9c9cf 0%, #ffffff 22%, #f5f5f7 34%, #ffffff 42%, #9d9da5 50%, #ffffff 58%, #e4e4ea 75%, #c9c9cf 100%) !important;
  filter: drop-shadow(0 1px 0 #6b6b72) drop-shadow(0 1px 0 #45454b) drop-shadow(0 1px 0 #2a2a2f) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.7));
}

.wordmark .gilt {
  background-image: linear-gradient(105deg, #b39226 0%, #ebd591 22%, #d4af37 34%, #fff6d2 42%, #b8932a 50%, #f5e4ab 58%, #d4af37 75%, #b39226 100%) !important;
  filter: drop-shadow(0 1px 0 #8f7324) drop-shadow(0 1px 0 #6b5518) drop-shadow(0 1px 0 #3d300b) drop-shadow(0 6px 12px rgba(212, 175, 55, 0.3));
}

@keyframes wordmark-glint {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0% 0; }
}

/* Headline tag under the wordmark */
.masthead .wordmark::after {
  content: "The latest on Black London";
  grid-column: 1 / -1;
  font-family: var(--f-ui);
  font-size: clamp(0.5rem, 0.75vw, 0.66rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--gold-fill);
}

/* Footer wordmark sits on black too */
.footer .wordmark {
  font-size: 2rem !important;
}

/* --------------------------------------------------------------------------
   Front-page slider: full-screen black-and-white photo, headline centred
   -------------------------------------------------------------------------- */
.rn-hero {
  position: relative;
  height: clamp(520px, 88vh, 900px);
  background: #000;
  color: #fff;
  overflow: hidden;
}

.rn-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}

.rn-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}

.rn-slide picture {
  position: absolute;
  inset: 0;
}

.rn-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.05) brightness(0.72);
  transform: scale(1.06);
  transition: transform 8s ease-out;
}

.rn-slide.is-active img {
  transform: scale(1);
}

.rn-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.rn-slide__body {
  position: relative;
  z-index: 2;
  max-width: min(980px, calc(100% - 140px));
  text-align: center;
  padding-inline: 16px;
}

.rn-slide__kicker {
  font-family: var(--f-ui);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-fill-bright);
  margin: 0 0 18px;
}

.rn-slide__title {
  font-family: var(--f-display);
  font-size: clamp(2.3rem, 5.4vw, 5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
  margin: 0;
}

.rn-slide__title .gilt {
  color: var(--gold-fill) !important;
  -webkit-text-fill-color: var(--gold-fill);
  background: none;
}

.rn-slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 10px 0;
  font-family: var(--f-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid var(--gold-fill);
}

.rn-slide__cta svg {
  color: var(--gold-fill);
  transition: transform 0.2s ease;
}

.rn-slide__cta:hover {
  color: var(--gold-fill-bright);
}

.rn-slide__cta:hover svg {
  transform: translateX(4px);
}

.rn-slide__credit {
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 14px;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

.rn-slide__credit a {
  color: inherit;
}

.rn-hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rn-hero__arrow:hover {
  color: var(--gold-fill);
}

.rn-hero__arrow--prev { left: clamp(4px, 2vw, 28px); }
.rn-hero__arrow--next { right: clamp(4px, 2vw, 28px); }

.rn-hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.rn-hero__dots button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.rn-hero__dots button::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid #fff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.rn-hero__dots button[aria-current="true"]::before {
  background: var(--gold-fill);
  border-color: var(--gold-fill);
  transform: scale(1.15);
}

.rn-hero :focus-visible {
  outline: 2px solid var(--gold-fill-bright);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .wordmark .plated,
  .wordmark .gilt {
    animation: none;
  }
  .rn-slide,
  .rn-slide.is-active,
  .rn-slide img {
    transition: none;
  }
  .rn-slide img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Strip under the slider and the Live Feed band
   -------------------------------------------------------------------------- */
.discovery-strip {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px clamp(18px, 3vw, 44px) !important;
  background: #000 !important;
  border-top: 1px solid rgba(212, 175, 55, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px var(--gutter) !important;
}

.discovery-strip > span {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-fill);
  margin-right: auto;
}

.discovery-strip a {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.discovery-strip a:hover {
  color: var(--gold-fill-bright);
  border-bottom-color: var(--gold-fill);
}

.wire {
  background: #000 !important;
}

.wire__item {
  --wire-tone: var(--gold-fill) !important;
}

/* No timeline line or dots: just the list */
.wire__spine,
.wire__item::before {
  display: none !important;
}

.wire__items {
  padding-top: 0 !important;
}

.wire__kind {
  border-radius: 999px !important;
  color: #000 !important;
}

.wire__name {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.wire__item:hover .wire__name {
  color: var(--gold-fill-bright);
}

/* --------------------------------------------------------------------------
   Turntable: a direct-drive deck. Black plinth, silver platter with strobe
   dots, grooved vinyl at 33⅓ rpm, gimballed tonearm with counterweight,
   start/stop, speed buttons and pitch fader. Sized in container units.
   -------------------------------------------------------------------------- */
.tt__platter {
  container-type: inline-size;
  aspect-ratio: 1.28 !important;
  display: block !important;
  max-width: 560px !important;
  border-radius: 12px !important;
  border: 1px solid #2b2b2b !important;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #222 0%, #111 48%, #0a0a0a 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -3px 0 rgba(0, 0, 0, 0.6),
    0 34px 60px -30px rgba(0, 0, 0, 0.65) !important;
}

.tt--compact .tt__platter {
  max-width: 500px !important;
}

/* Platter: silver rim with strobe dots, rotating with the record */
.tt__spin {
  position: absolute !important;
  left: 5cqw;
  top: 50%;
  width: 64cqw !important;
  margin-top: -32cqw;
  z-index: 2;
  animation-duration: 1.8s !important; /* 33⅓ rpm */
}

.tt__spin::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, #1a1a1a 0 93.5%, rgba(0, 0, 0, 0.5) 94% 94.6%, transparent 95%),
    repeating-conic-gradient(#e6e6e6 0 1deg, #5c5c5c 1deg 2.4deg);
  box-shadow:
    0 0 0 0.5cqw #9a9a9a,
    0 0 0 0.8cqw #3a3a3a,
    0 1.4cqw 2.6cqw rgba(0, 0, 0, 0.7);
}

/* Vinyl: fine grooves, run-out area and a lead-in ring */
.tt__disc {
  inset: 2.4cqw !important;
  background:
    radial-gradient(circle, transparent 0 34%, #050505 34% 37%, transparent 37% 95%, #1c1c1c 95% 96%, transparent 96%),
    repeating-radial-gradient(circle, #0b0b0b 0 0.18cqw, #161616 0.18cqw 0.32cqw),
    #0b0b0b !important;
  box-shadow: inset 0 0 0 0.3cqw #050505 !important;
}

.tt__label {
  width: 33% !important;
  z-index: 1;
}

/* Light falling on the record: stays still while the record turns */
.tt__platter::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 7.4cqw;
  top: 50%;
  width: 59.2cqw;
  aspect-ratio: 1;
  margin-top: -29.6cqw;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from 20deg,
    transparent 0deg,
    rgba(255, 255, 255, 0.09) 18deg,
    transparent 40deg,
    transparent 180deg,
    rgba(255, 255, 255, 0.06) 200deg,
    transparent 222deg
  );
  mask: radial-gradient(circle, transparent 0 18%, #000 19%);
}

/* Tonearm: base at the top right, needle on the outer grooves */
.tt__arm {
  z-index: 4;
  top: 14cqw !important;
  right: auto !important;
  left: 80cqw;
  width: 1.3cqw !important;
  height: 52cqw !important;
  margin-left: -0.65cqw;
  rotate: 31deg !important; /* needle on the outer grooves */
}

.tt__arm[data-lifted] {
  rotate: 9deg !important;
}

/* Counterweight behind the pivot */
.tt__arm::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12cqw;
  width: 5.6cqw;
  height: 8cqw;
  translate: -50% 0;
  border-radius: 0.8cqw;
  background: linear-gradient(90deg, #6d6d6d, #f2f2f2 35%, #bdbdbd 60%, #6d6d6d);
  box-shadow: 0 0.6cqw 1.2cqw rgba(0, 0, 0, 0.6);
}

/* Gimbal base */
.tt__pivot {
  width: 11cqw !important;
  translate: -50% -50% !important;
  background:
    radial-gradient(circle, #e9e9e9 0 22%, #555 23% 27%, #c9c9c9 28% 52%, #2a2a2a 53% 58%, #8f8f8f 59% 100%) !important;
  box-shadow: 0 0.8cqw 1.8cqw rgba(0, 0, 0, 0.7) !important;
}

/* Silver arm tube */
.tt__rod {
  top: 0 !important;
  height: 92% !important;
  border-radius: 0.6cqw !important;
  background: linear-gradient(90deg, #7a7a7a, #f5f5f5 45%, #a9a9a9 70%, #6a6a6a) !important;
  box-shadow: 0.6cqw 0.8cqw 1.2cqw rgba(0, 0, 0, 0.55);
}

/* Headshell with cartridge, set at an offset angle */
.tt__head {
  width: 4.4cqw !important;
  height: 7.6cqw !important;
  bottom: -2cqw !important;
  border-radius: 0.5cqw !important;
  rotate: -22deg;
  background: linear-gradient(180deg, #d9d9d9 0 30%, #1a1a1a 30% 100%) !important;
  box-shadow: inset 0 0 0 0.25cqw #8a8a8a, 0 0.6cqw 1cqw rgba(0, 0, 0, 0.6) !important;
}

.tt__head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.9cqw;
  width: 1.6cqw;
  height: 1.6cqw;
  translate: -50% 0;
  background: var(--gold-fill);
  border-radius: 0.2cqw;
}

/* Fixed hardware on the plinth */
.tt__decor > * {
  position: absolute;
  z-index: 1;
}

.tt__brand {
  left: 4cqw;
  top: 3cqw;
  font-family: var(--f-display);
  font-size: 2.4cqw;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #9a9a9a;
}

.tt__start {
  left: 4cqw;
  bottom: 3.6cqw;
  width: 11cqw;
  height: 6.4cqw;
  display: grid;
  place-items: center;
  border-radius: 0.6cqw;
  background: linear-gradient(180deg, #3a3a3a, #1b1b1b);
  box-shadow: inset 0 0.2cqw 0 rgba(255, 255, 255, 0.14), 0 0.4cqw 0.8cqw rgba(0, 0, 0, 0.7);
  font-family: var(--f-ui);
  font-size: 1.15cqw;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #cfcfcf;
  z-index: 3;
}

.tt__speed {
  left: 16.6cqw;
  bottom: 3.6cqw;
  display: flex;
  gap: 1cqw;
  z-index: 3;
}

.tt__speed i {
  width: 5.2cqw;
  height: 3.2cqw;
  display: grid;
  place-items: center;
  border-radius: 0.4cqw;
  background: linear-gradient(180deg, #333, #1a1a1a);
  box-shadow: inset 0 0.2cqw 0 rgba(255, 255, 255, 0.12);
  font-family: var(--f-ui);
  font-style: normal;
  font-size: 1.3cqw;
  font-weight: 800;
  color: #cfcfcf;
}

.tt__speed i:first-child {
  color: var(--gold-fill);
  box-shadow: inset 0 0.2cqw 0 rgba(255, 255, 255, 0.12), 0 0 1.2cqw rgba(212, 175, 55, 0.45);
}

/* Pitch fader */
.tt__pitch {
  right: 5cqw;
  bottom: 5cqw;
  width: 2cqw;
  height: 26cqw;
  border-radius: 1cqw;
  background:
    repeating-linear-gradient(180deg, transparent 0 1.9cqw, rgba(255, 255, 255, 0.25) 1.9cqw 2.05cqw),
    linear-gradient(90deg, #050505, #1a1a1a);
  box-shadow: inset 0 0 0 0.2cqw #000;
}

.tt__pitch i {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 5.4cqw;
  height: 3cqw;
  translate: -50% 0;
  border-radius: 0.4cqw;
  background: linear-gradient(180deg, #f0f0f0, #8d8d8d);
  box-shadow: inset 0 -0.3cqw 0 rgba(0, 0, 0, 0.3), 0 0.5cqw 0.8cqw rgba(0, 0, 0, 0.7);
}

/* Arm rest */
.tt__rest {
  left: 74.6cqw;
  top: 33cqw;
  width: 3cqw;
  height: 3cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #d0d0d0, #4a4a4a);
  box-shadow: 0 0.5cqw 0.8cqw rgba(0, 0, 0, 0.7);
}

.tt__artist {
  font-family: var(--f-display) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
}

.tt__chip {
  border-radius: 999px !important;
}

/* --------------------------------------------------------------------------
   Sections on white
   -------------------------------------------------------------------------- */
html[data-section="home"] main > .section {
  padding-block: clamp(48px, 6vw, 88px) !important;
  border-bottom: 1px solid var(--rule-hair);
}

/* Section labels: black plaques with gold lettering, 3D treatment further down */
.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: #000 !important;
  color: var(--gold-fill) !important;
  border: 1px solid #000 !important;
  border-radius: 999px !important;
  padding: 9px 16px !important;
  font-family: var(--f-ui) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  margin-bottom: 16px !important;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  background: var(--gold-fill);
}

.eyebrow::after {
  display: none !important;
}

[data-ground="ink"] .eyebrow {
  background: transparent !important;
  border-color: var(--gold-fill) !important;
}

/* Section "Collapse" toggle */
.sec-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #000 !important;
  border-radius: 999px !important;
  background: #fff !important;
  padding: 8px 16px !important;
  font-family: var(--f-ui) !important;
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000 !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease !important;
}

.sec-toggle:hover {
  background: #000 !important;
  color: var(--gold-fill) !important;
}

.sec-toggle svg {
  transition: transform 0.3s ease;
  stroke: currentColor;
}

.sec-toggle[aria-expanded="false"] svg {
  transform: rotate(-90deg);
}

html[data-section="home"] main > .section.is-collapsed .grid,
html[data-section="home"] main > .section.is-collapsed .digest-grid,
html[data-section="home"] main > .section.is-collapsed ul,
html[data-section="home"] main > .section.is-collapsed .home-deck {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Buttons: pills. Black on white, gold on black.
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 999px !important;
  font-family: var(--f-ui) !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
}

.btn--primary {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

.btn--primary:hover {
  background: var(--gold-fill) !important;
  border-color: var(--gold-fill) !important;
  color: #000 !important;
  box-shadow: none !important;
}

[data-ground="ink"] .btn--primary,
.footer .btn--primary {
  background: var(--gold-fill) !important;
  border-color: var(--gold-fill) !important;
  color: #000 !important;
}

[data-ground="ink"] .btn--primary:hover,
.footer .btn--primary:hover {
  background: #fff !important;
  border-color: #fff !important;
}

.btn--ghost {
  --btn-bd: #000;
  background: transparent !important;
  color: var(--text) !important;
}

[data-ground="ink"] .btn--ghost,
.footer .btn--ghost {
  --btn-bd: rgba(255, 255, 255, 0.4);
}

.btn--ghost:hover {
  background: #000 !important;
  color: var(--gold-fill) !important;
  border-color: #000 !important;
}

[data-ground="ink"] .btn--ghost:hover,
.footer .btn--ghost:hover {
  background: transparent !important;
  border-color: var(--gold-fill) !important;
}

.btn--saved,
.btn[aria-pressed="true"] {
  --btn-bd: var(--gold-fill) !important;
  background: var(--wash-gold) !important;
  color: var(--gold) !important;
}

.btn__disc {
  border-radius: 999px !important;
}

/* Tags and stamps */
.tag {
  border-radius: 999px !important;
  border-color: var(--rule-soft) !important;
  font-weight: 700 !important;
}

.tag--gold,
.tag--signal {
  color: var(--gold) !important;
  border-color: var(--rule-gold) !important;
  background: var(--wash-gold) !important;
}

.tag--ember {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
}

.card__stamp {
  border-radius: 999px !important;
  background: #000 !important;
  border-color: #000 !important;
  color: var(--gold-fill) !important;
  font-weight: 700 !important;
}

.mono--gold,
.mono--accent {
  color: var(--gold) !important;
  font-weight: 700 !important;
}

/* People: initials plaque and photo frame */
.person__media {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #000 !important;
  min-height: 140px !important;
}

.person__media > picture {
  display: block;
  align-self: stretch;
  flex: 1;
}

.person__mono {
  font-family: var(--f-display) !important;
  font-size: 2.6rem !important;
  font-weight: 700 !important;
  color: var(--gold-fill) !important;
  background: transparent !important;
  width: 92px !important;
  height: 92px !important;
  inset: 50% auto auto 50% !important;
  transform: translate(-50%, -50%);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  border: 2px solid var(--gold-fill) !important;
}

/* Panels and inputs */
.panel,
.home-deck {
  border-radius: 22px !important;
}

.input {
  border-radius: 999px !important;
  border: 1px solid #000 !important;
}

.input:focus {
  outline: 2px solid var(--gold-fill) !important;
  outline-offset: 1px;
}

/* --------------------------------------------------------------------------
   Footer: black
   -------------------------------------------------------------------------- */
.footer {
  background: #000 !important;
  color: var(--text-2) !important;
  margin-top: 0 !important;
  border-top: 3px solid var(--gold-fill) !important;
}

.footer h2 {
  font-family: var(--f-display) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: var(--gold-fill) !important;
}

.footer a:hover {
  color: var(--gold-fill-bright) !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .rn-hero__arrow {
    display: none;
  }
  .rn-slide__body {
    max-width: 100%;
    padding-inline: 20px;
  }
  .masthead .wordmark::after {
    letter-spacing: 0.12em;
  }
}

/* --------------------------------------------------------------------------
   Section grounds: calm, alternating white and warm ivory
   -------------------------------------------------------------------------- */
body[data-ground="paper"] {
  background: #fff !important;
}

main > section:is(.section, .section--tight):not(.section--flush) {
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

/* 1. Soft champagne */
main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(4n + 1) {
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(212, 175, 55, 0.16), transparent 70%),
    linear-gradient(180deg, #fdfaf2 0%, #f7efdc 100%);
}

/* 2 and 4. Plain white */
main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(2n) {
  background: #fff;
}

/* 3. Ivory with a faint pinstripe */
main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(4n + 3) {
  background:
    repeating-linear-gradient(135deg, rgba(140, 109, 18, 0.035) 0 1px, transparent 1px 18px),
    #fcf8ef;
}

/* --------------------------------------------------------------------------
   Cards: rounded, white, lifted, full-colour photos
   -------------------------------------------------------------------------- */
.grid {
  gap: clamp(18px, 2vw, 28px) !important;
}

.card {
  border-radius: 22px !important;
  border: 1px solid rgba(140, 109, 18, 0.18) !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(60, 40, 0, 0.06), 0 12px 30px -12px rgba(60, 40, 0, 0.28) !important;
  transition: opacity 0.52s ease, filter 0.42s ease, transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.card::before {
  display: none !important;
}

.card:hover {
  transform: translateY(-6px) !important;
  border-color: var(--gold-fill) !important;
  box-shadow: 0 0 0 2px var(--gold-fill), 0 24px 44px -16px rgba(60, 40, 0, 0.45) !important;
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 35%, transparent 70%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.card:hover .card__media img {
  transform: scale(1.07) !important;
}

.card__stamp {
  background: rgba(0, 0, 0, 0.82) !important;
  border: 1px solid var(--gold-fill) !important;
  color: var(--gold-fill-bright) !important;
  letter-spacing: 0.12em !important;
}

.card__body {
  padding: 20px 22px 22px !important;
  gap: 11px !important;
}

.card__eyebrow .mono {
  color: #5c4708 !important;
  font-weight: 700 !important;
}

.card__open {
  opacity: 1 !important;
  font-weight: 800 !important;
  color: var(--gold) !important;
}

.card__title {
  font-size: clamp(1.45rem, 1.9vw, 1.75rem) !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  line-height: 1.08 !important;
  color: #000 !important;
}

.card__title a {
  color: inherit !important;
}

.card:hover .card__title a {
  color: var(--gold) !important;
}

.card .small {
  color: #2a2a2a !important;
  font-size: 0.97rem !important;
  line-height: 1.55 !important;
}

.card__foot {
  border-top: 1px solid rgba(140, 109, 18, 0.2) !important;
}

.card__foot .mono--gold {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: #000;
  color: var(--gold-fill-bright) !important;
  min-width: 0;
}

.card__foot .mono:not(.mono--gold) {
  color: #000 !important;
  font-weight: 700 !important;
}

.panel {
  background: #fff !important;
  border: 1px solid rgba(140, 109, 18, 0.18) !important;
  box-shadow: 0 12px 30px -14px rgba(60, 40, 0, 0.25) !important;
}

/* --------------------------------------------------------------------------
   Signage: 3D gold-rimmed plaques and extruded, gilded headings
   -------------------------------------------------------------------------- */
.mono.eyebrow {
  position: relative;
  overflow: hidden;
  padding: 10px 20px 10px 16px !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.24em !important;
  color: var(--gold-fill-bright) !important;
  text-shadow: 0 1px 0 #000, 0 0 12px rgba(240, 212, 122, 0.45);
  border: 1.5px solid transparent !important;
  background:
    linear-gradient(180deg, #2e2e2e 0%, #050505 55%, #111 100%) padding-box,
    linear-gradient(135deg, #fff2b0 0%, #d4af37 30%, #8c6d12 55%, #f0d47a 80%, #8c6d12 100%) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -2px 0 rgba(0, 0, 0, 0.7),
    0 4px 0 #6b520c,
    0 5px 0 #3d2f05,
    0 14px 22px -8px rgba(0, 0, 0, 0.5);
  transform: perspective(500px) rotateX(8deg);
  transform-origin: 50% 100%;
}

/* Gold diamond marker with a slow pulse */
.mono.eyebrow::before {
  width: 8px !important;
  height: 8px !important;
  transform: rotate(45deg);
  background: linear-gradient(135deg, #fff2b0, #d4af37 50%, #8c6d12) !important;
  box-shadow: 0 0 8px rgba(240, 212, 122, 0.8);
  animation: sign-pulse 2.4s ease-in-out infinite;
}

/* Light sweeping across the plaque */
.mono.eyebrow::after {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 190, 0.45) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: sign-sheen 5s ease-in-out infinite;
  pointer-events: none;
}

/* Plaque swings up into place when its section scrolls in */
[data-rise].in .mono.eyebrow {
  animation: sign-in 0.9s cubic-bezier(.2, .9, .3, 1.25) both;
}

/* Section headings: black letters standing on a gold extrusion */
.h1 .plated,
.h2 .plated {
  text-shadow:
    1px 1px 0 #e0bd52,
    2px 2px 0 #c9a227,
    3px 3px 0 #a9861c,
    4px 4px 0 #8c6d12,
    5px 5px 0 #6b520c,
    8px 10px 16px rgba(0, 0, 0, 0.28);
}

[data-ground="ink"] :is(.h1, .h2) .plated {
  text-shadow:
    1px 1px 0 #8c6d12,
    2px 2px 0 #6b520c,
    3px 3px 0 #4d3a08,
    6px 8px 14px rgba(0, 0, 0, 0.6);
}

/* Gilded half: polished gold that catches the light */
:is(.h1, .h2, .rn-slide__title) .gilt {
  background: linear-gradient(100deg, #6b520c 0%, #8c6d12 25%, #b8901f 38%, #e2bf52 45%, #b8901f 52%, #8c6d12 70%, #6b520c 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  filter: drop-shadow(1px 1px 0 #5c4708) drop-shadow(2px 2px 0 #3d2f05) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
  animation: gilt-shine 7s linear infinite;
}

.section .row--between .h2 {
  font-size: clamp(2.4rem, 5vw, 4.2rem) !important;
}

@keyframes sign-in {
  0% { opacity: 0; transform: perspective(500px) rotateX(-90deg) translateY(10px); }
  100% { opacity: 1; transform: perspective(500px) rotateX(8deg); }
}

@keyframes sign-sheen {
  0%, 55% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}

@keyframes sign-pulse {
  0%, 100% { box-shadow: 0 0 4px rgba(240, 212, 122, 0.5); }
  50% { box-shadow: 0 0 12px rgba(255, 230, 150, 1); }
}

@keyframes gilt-shine {
  from { background-position: 100% 0; }
  to { background-position: -150% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .card:hover,
  .card:hover .card__media img {
    transform: none !important;
  }
  .mono.eyebrow::before,
  .mono.eyebrow::after,
  [data-rise].in .mono.eyebrow,
  :is(.h1, .h2, .rn-slide__title) .gilt {
    animation: none !important;
  }
}

/* On black, the gilt shines brighter */
[data-ground="ink"] :is(.h1, .h2) .gilt,
.rn-slide__title .gilt {
  background-image: linear-gradient(100deg, #b8901f 0%, #d4af37 25%, #f6dd86 38%, #fff6c8 45%, #f0d47a 52%, #d4af37 70%, #b8901f 100%);
}

/* --------------------------------------------------------------------------
   Newspaper serif for story headlines (Source Serif 4, SIL OFL)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --f-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.card__title,
.feature .h3,
.ev-row__title,
.opp-line__card .h3,
.trend__link,
.wire__name,
.longform h2,
.longform h3 {
  font-family: var(--f-serif) !important;
  font-weight: 800 !important;
  text-transform: none !important;
  letter-spacing: -0.01em !important;
}

.card__title {
  font-size: clamp(1.35rem, 1.7vw, 1.6rem) !important;
  line-height: 1.15 !important;
}

.feature .h3 {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem) !important;
  line-height: 1.08 !important;
}

.wire__strap,
.lede {
  font-family: var(--f-serif) !important;
  font-style: italic !important;
}

/* --------------------------------------------------------------------------
   Banner: bolder, 3D lettering
   -------------------------------------------------------------------------- */
.masthead {
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.09) 0%, transparent 40%),
    linear-gradient(180deg, #161616 0%, #000 100%) !important;
  border-bottom: 2px solid var(--gold-fill) !important;
  box-shadow: 0 1px 0 rgba(255, 240, 190, 0.25), 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}

.masthead .wordmark {
  font-size: clamp(2.8rem, 6vw, 5.4rem) !important;
}

.masthead .wordmark::after {
  font-size: clamp(0.56rem, 0.85vw, 0.76rem);
  color: var(--gold-fill-bright);
  text-shadow: 0 1px 0 #000, 0 0 10px rgba(240, 212, 122, 0.35);
}

.masthead__bar > .nav .nav__link {
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.07em !important;
  text-shadow:
    0 1px 0 #b8901f,
    0 2px 0 #8c6d12,
    0 3px 0 #5c4708,
    0 5px 8px rgba(0, 0, 0, 0.7);
  transition: transform 0.2s ease, color 0.2s ease !important;
}

.masthead__bar > .nav .nav__link:hover {
  transform: translateY(-2px);
}

.masthead .btn {
  border-radius: 999px !important;
  background: linear-gradient(180deg, #262626, #0a0a0a) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 3px 0 #000;
}

/* --------------------------------------------------------------------------
   Front-page slider: shorter so the strip shows on arrival;
   photos turn to colour on hover or touch
   -------------------------------------------------------------------------- */
.rn-hero {
  height: clamp(340px, calc(100svh - 330px), 620px);
}

.rn-slide img {
  transition: transform 8s ease-out, filter 0.8s ease;
}

.rn-hero:hover .rn-slide img,
.rn-hero:focus-within .rn-slide img,
.rn-hero.is-touched .rn-slide img {
  filter: grayscale(0) saturate(1.15) contrast(1.05) brightness(0.72);
}

.rn-slide__title {
  font-weight: 700;
  text-shadow:
    0 1px 0 #d9d9d9,
    0 2px 0 #bdbdbd,
    0 3px 0 #9e9e9e,
    0 4px 0 #7a7a7a,
    0 6px 1px rgba(0, 0, 0, 0.3),
    0 10px 28px rgba(0, 0, 0, 0.7);
}

.rn-slide__kicker {
  font-size: 0.82rem;
  text-shadow: 0 1px 0 #000, 0 0 14px rgba(0, 0, 0, 0.8);
}

.rn-slide__cta {
  padding: 12px 24px;
  border: 1.5px solid var(--gold-fill);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.rn-slide__cta:hover {
  background: var(--gold-fill);
  color: #000;
}

.rn-slide__cta:hover svg {
  color: #000;
}

.rn-hero__arrow {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rn-hero__arrow svg {
  height: 22px;
}

.rn-hero__arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: var(--gold-fill);
  transform: translateY(-50%) scale(1.08);
}

.rn-hero__dots {
  bottom: 22px;
}

.rn-hero__dots button::before {
  border-radius: 999px;
  transition: width 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.rn-hero__dots button[aria-current="true"]::before {
  width: 26px;
  transform: none;
}

.rn-hero__dots button {
  width: auto;
  min-width: 28px;
}

/* --------------------------------------------------------------------------
   News: rounded, premium feature and running-order box
   -------------------------------------------------------------------------- */
.feature {
  border-radius: 26px !important;
  border: 1px solid rgba(140, 109, 18, 0.25) !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(60, 40, 0, 0.06), 0 18px 40px -18px rgba(60, 40, 0, 0.35) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px var(--gold-fill), 0 26px 48px -18px rgba(60, 40, 0, 0.45) !important;
}

.feature__media img {
  transition: transform 0.8s ease;
}

.feature:hover .feature__media img {
  transform: scale(1.05);
}

.trend {
  background: #fff;
  border: 1px solid rgba(140, 109, 18, 0.25);
  border-radius: 22px;
  padding: 20px 20px 22px;
  box-shadow: 0 18px 40px -20px rgba(60, 40, 0, 0.35);
}

.trend__no {
  border-radius: 50% !important;
  background: #000 !important;
  color: var(--gold-fill-bright) !important;
  border-color: var(--gold-fill) !important;
}

/* --------------------------------------------------------------------------
   The stroller (walker.js): walks the foot of the screen; drag, throw, tap
   -------------------------------------------------------------------------- */
.walker {
  --face: 1;
  --tilt: 0deg;
  position: fixed;
  z-index: 60;
  left: 0;
  top: 0;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.walker.is-held {
  cursor: grabbing;
}

.walker__body {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--face));
  transition: transform 0.15s ease;
}

.walker__body svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform-origin: 50% 0;
  transform: rotate(var(--tilt));
  transition: transform 0.12s ease-out;
}

.walker__shadow {
  fill: #000;
  opacity: 0.22;
}

.walker .leg,
.walker .shin,
.walker .arm,
.walker .head,
.walker .bob {
  transform-box: view-box;
}

.walker .leg { transform-origin: 31px 64px; }
.walker .shin { transform-origin: 31px 86px; }
.walker .arm { transform-origin: 31px 34px; }
.walker .head { transform-origin: 32px 28px; }

/* Walking */
.walker.is-walking .bob { animation: walker-bob 0.45s ease-in-out infinite alternate; }
.walker.is-walking .leg,
.walker.is-walking .arm { animation: walker-swing 0.9s ease-in-out infinite alternate; }
.walker.is-walking .shin { animation: walker-bend 0.9s ease-in-out infinite alternate; }
.walker.is-walking .head { animation: walker-nod 0.45s ease-in-out infinite alternate; }
.walker.is-walking .leg.back,
.walker.is-walking .shin.back,
.walker.is-walking .arm.front { animation-direction: alternate-reverse; }

/* Held up: arms up, legs dangling, little wriggle */
.walker.is-held .arm { transform: rotate(-168deg); }
.walker.is-held .arm.back { transform: rotate(-152deg); }
.walker.is-held .leg { animation: walker-dangle 0.5s ease-in-out infinite alternate; }
.walker.is-held .leg.back { animation-direction: alternate-reverse; }
.walker.is-held .shin { transform: rotate(14deg); }
.walker.is-held .walker__shadow,
.walker.is-falling .walker__shadow { opacity: 0; }

/* In the air: legs tucked, arms out */
.walker.is-falling .arm { transform: rotate(-110deg); }
.walker.is-falling .arm.back { transform: rotate(-70deg); }
.walker.is-falling .leg.front { transform: rotate(-24deg); }
.walker.is-falling .leg.back { transform: rotate(16deg); }
.walker.is-falling .shin { transform: rotate(30deg); }

/* Wave after a tap */
.walker.is-waving .arm.front { animation: walker-wave 0.32s ease-in-out infinite alternate !important; }

/* Landing squash and dizzy head */
.walker.is-squash .walker__body svg { transform: scale(1.12, 0.86); transform-origin: 50% 100%; }
.walker.is-dizzy .head { animation: walker-dizzy 0.35s ease-in-out infinite alternate !important; }

/* Speech bubble */
.walker__say {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) scale(0.6);
  opacity: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: #000;
  color: var(--gold-fill-bright);
  border: 1.5px solid var(--gold-fill);
  font-family: var(--f-ui);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(.2, .9, .3, 1.4);
}

.walker.is-talking .walker__say {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

@keyframes walker-swing { from { transform: rotate(-20deg); } to { transform: rotate(20deg); } }
@keyframes walker-bend { from { transform: rotate(2deg); } to { transform: rotate(22deg); } }
@keyframes walker-bob { from { transform: translateY(0); } to { transform: translateY(-2.5px); } }
@keyframes walker-nod { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
@keyframes walker-dangle { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }
@keyframes walker-wave { from { transform: rotate(-150deg); } to { transform: rotate(-180deg); } }
@keyframes walker-dizzy { from { transform: rotate(-12deg); } to { transform: rotate(12deg); } }

@media (prefers-reduced-motion: reduce) {
  .walker {
    display: none;
  }
  .wire__item,
  .wire__thumb,
  .feature,
  .feature__media img,
  .rn-hero__arrow {
    transition: none !important;
  }
  .wire__item:hover,
  .wire__item:hover .wire__thumb,
  .feature:hover,
  .feature:hover .feature__media img {
    transform: none !important;
  }
}

/* Gold word in the slide title: its own 3D via drop-shadow, so no inherited text-shadow */
.rn-slide__title .gilt {
  text-shadow: none;
}

/* --------------------------------------------------------------------------
   Latest updates: clean white band of photo cards with calendar dates
   -------------------------------------------------------------------------- */
.wire {
  background: #fff !important;
  border-top: 1px solid rgba(212, 175, 55, 0.5) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.5) !important;
}

.wire__title .plated {
  color: #0a0a0a !important;
}

.wire__strap {
  color: #3a3a3a !important;
}

.wire__legend {
  color: #5c4708 !important;
  font-weight: 600 !important;
}

.wire__track {
  border-left: 0 !important;
  padding-left: 0 !important;
}

.wire__items {
  grid-auto-flow: column !important;
  grid-auto-columns: 256px !important;
  gap: 18px !important;
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  padding: 6px 4px 22px !important;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-fill) transparent;
}

.wire__item {
  display: flex !important;
  flex-direction: column;
  position: relative;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(140, 109, 18, 0.2);
  box-shadow: 0 1px 2px rgba(60, 40, 0, 0.06), 0 12px 26px -14px rgba(60, 40, 0, 0.3);
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.wire__item:hover,
.wire__item:focus-visible {
  transform: translateY(-6px);
  border-color: var(--gold-fill);
  box-shadow: 0 0 0 2px var(--gold-fill), 0 22px 36px -16px rgba(60, 40, 0, 0.45);
}

.wire__thumb {
  display: block;
  width: 100% !important;
  height: 150px !important;
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: #111 !important;
  overflow: hidden;
}

.wire__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.wire__item:hover .wire__thumb img {
  transform: scale(1.07);
}

/* Calendar badge pinned over the photo */
.wire__date {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 54px;
  padding: 6px 8px 7px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  text-align: center;
  line-height: 1;
}

.wire__month {
  display: block;
  font-family: var(--f-ui);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border-radius: 6px;
  padding: 3px 6px;
  margin-bottom: 4px;
}

.wire__day {
  display: block;
  font-family: var(--f-serif);
  font-size: 1.6rem;
  font-weight: 800;
  color: #000;
  white-space: nowrap;
}

.wire__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 18px;
}

.wire__meta {
  gap: 8px !important;
}

.wire__kind {
  background: #000 !important;
  color: var(--gold-fill-bright) !important;
  font-weight: 800 !important;
}

.wire__when {
  color: #000 !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
}

.wire__name {
  margin-top: 2px !important;
  color: #000 !important;
  font-size: 1.18rem !important;
  line-height: 1.2 !important;
}

.wire__item:hover .wire__name {
  color: var(--gold) !important;
}

.wire__note {
  margin-top: 0 !important;
  color: #3a3a3a !important;
  font-size: 0.9rem !important;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .wire__items {
    grid-auto-columns: 78% !important;
  }
}

/* --------------------------------------------------------------------------
   "What's on" sparkles: glittering gold lettering with twinkling stars
   -------------------------------------------------------------------------- */
.sparkle-head {
  position: relative;
}

.sparkle-head .plated {
  position: relative;
  display: inline-block;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  text-shadow: none !important;
  background:
    radial-gradient(circle, #fff 0 1px, transparent 1.6px) 0 0 / 11px 9px,
    radial-gradient(circle, #fff6c8 0 0.9px, transparent 1.4px) 5px 4px / 7px 13px,
    linear-gradient(100deg, #8c6d12 0%, #c9a227 22%, #f6dd86 38%, #fffbe6 45%, #e2bf52 52%, #a9861c 75%, #8c6d12 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(1px 1px 0 #5c4708) drop-shadow(2px 2px 0 #3d2f05) drop-shadow(0 6px 8px rgba(0, 0, 0, 0.25));
  animation: glitter 6s linear infinite;
}

.sparkle-head .plated::after {
  content: "";
  position: absolute;
  inset: -22% -6% -10% -4%;
  background: url("/img/sparkles.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* The other half of the heading goes black so the sparkle leads */
.sparkle-head .gilt {
  background: none !important;
  color: #0a0a0a !important;
  -webkit-text-fill-color: #0a0a0a;
  filter: none !important;
  animation: none !important;
  text-shadow:
    1px 1px 0 #e0bd52,
    2px 2px 0 #c9a227,
    3px 3px 0 #a9861c,
    4px 4px 0 #8c6d12,
    5px 5px 0 #6b520c,
    8px 10px 16px rgba(0, 0, 0, 0.28);
}

@keyframes glitter {
  0% { background-position: 0 0, 5px 4px, 100% 0; }
  50% { background-position: 11px 9px, -2px 17px, 0% 0; }
  100% { background-position: 22px 18px, -9px 30px, -150% 0; }
}

/* --------------------------------------------------------------------------
   Easier reading: small print in a clean sans, darker and larger
   -------------------------------------------------------------------------- */
.mono {
  font-family: var(--f-ui) !important;
  letter-spacing: 0.06em !important;
  font-weight: 600;
}

.card__eyebrow .mono {
  font-size: 0.8rem !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  line-height: 1.4;
  color: #6b520c !important;
}

.card .small {
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
  color: #1c1c1c !important;
}

.card__foot .mono {
  font-size: 0.8rem !important;
  letter-spacing: 0.03em !important;
}

.card__stamp {
  font-family: var(--f-ui) !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

@media (prefers-reduced-motion: reduce) {
  .sparkle-head .plated {
    animation: none;
  }
  .sparkle-head .plated::after {
    display: none;
  }
  .wire__item,
  .wire__thumb img {
    transition: none !important;
  }
  .wire__item:hover,
  .wire__item:hover .wire__thumb img {
    transform: none !important;
  }
}

/* Notices for listings that have passed */
.ended-note,
.tonight-stale {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #000;
  color: #fff;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 0.95rem;
}

.ended-note a,
.tonight-stale a {
  color: var(--gold-fill-bright);
  font-weight: 800;
}

/* Listings hidden once their date has passed (freshness.js) */
.wire__item[hidden],
.card[hidden],
.ev-row[hidden],
section[hidden] {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Turntable in 3D (deck.js): tilted plinth with real thickness, brushed
   metal top, album art on the label, strobe lamp, needle light, cueing
   tonearm, spin-up/spin-down, record warp and a live equaliser.
   -------------------------------------------------------------------------- */
.tt__deck {
  perspective: 1300px;
  perspective-origin: 50% 20%;
  padding-block: 2cqw 4%;
}

.tt__platter {
  --rx: 22deg;
  --ry: 0deg;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-3deg);
  transition: transform 0.7s cubic-bezier(.2, .8, .2, 1);
  background:
    radial-gradient(120% 70% at 30% 0%, rgba(255, 255, 255, 0.09), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #2a2a2a 0%, #151515 50%, #0b0b0b 100%) !important;
  border: 1px solid #3a3a3a !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 2px rgba(0, 0, 0, 0.5),
    0 1px 0 #2d2d2d, 0 2px 0 #2a2a2a, 0 3px 0 #262626, 0 4px 0 #232323,
    0 5px 0 #202020, 0 6px 0 #1d1d1d, 0 7px 0 #1a1a1a, 0 8px 0 #171717,
    0 9px 0 #141414, 0 10px 0 #111, 0 11px 0 #0e0e0e,
    0 12px 0 1px rgba(212, 175, 55, 0.35),
    0 40px 60px -18px rgba(0, 0, 0, 0.75),
    0 70px 90px -40px rgba(0, 0, 0, 0.5) !important;
}

/* The record sits proud of the plinth */
.tt__spin {
  transform: translateZ(14px);
  transform-style: flat;
}

.tt.is-playing .tt__disc {
  animation: tt-warp 1.8s ease-in-out infinite;
}

/* Platter mat shadow under the record */
.tt__spin::after {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 50%;
  box-shadow: 0 2.6cqw 4cqw rgba(0, 0, 0, 0.85);
  z-index: -1;
}

/* Vinyl: deeper grooves and a rainbow sheen where the light catches them */
.tt__disc {
  background:
    radial-gradient(circle, transparent 0 34%, #050505 34% 37%, transparent 37% 95%, #1c1c1c 95% 96%, transparent 96%),
    conic-gradient(from 30deg, transparent 0 20deg, rgba(120, 160, 255, 0.07) 30deg, rgba(255, 210, 120, 0.09) 40deg, transparent 55deg 200deg, rgba(255, 140, 200, 0.06) 215deg, transparent 235deg),
    repeating-radial-gradient(circle, #0a0a0a 0 0.16cqw, #191919 0.16cqw 0.3cqw),
    #0b0b0b !important;
}

/* Album art on the centre label */
.tt__label.has-cover {
  background: var(--cover) center / cover no-repeat !important;
  box-shadow: 0 0 0 0.5cqw #0b0b0b, inset 0 0 0 1px rgba(255, 255, 255, 0.2), inset 0 0 2cqw rgba(0, 0, 0, 0.35) !important;
}

.tt__label.has-cover .tt__labeltext {
  display: none;
}

.tt__label.has-cover .tt__spindle {
  fill: #e6e6e6;
  stroke: #555;
  stroke-width: 1.2;
}

/* Changing records: lift off, drop back on */
.tt.is-swapping .tt__spin {
  animation: tt-rotate 1.8s linear infinite, tt-swap 0.7s cubic-bezier(.3, 1.4, .5, 1);
}

/* Tonearm: cues in on load, swings out to its rest when stopped */
.tt__arm {
  transition: rotate 1.1s cubic-bezier(.35, .1, .15, 1) !important;
  transform: translateZ(26px);
  filter: drop-shadow(1.2cqw 2.4cqw 1.6cqw rgba(0, 0, 0, 0.7));
}

.tt__arm[data-parked] {
  rotate: 0deg !important;
}

.tt__arm[data-lifted] {
  transition-duration: 0.42s !important;
}

/* Needle glows gold while playing */
.tt.is-playing .tt__head::after {
  box-shadow: 0 0 1.6cqw 0.4cqw rgba(240, 212, 122, 0.8);
}

/* Fixed hardware added by deck.js */
.tt__fx > * {
  position: absolute;
  pointer-events: none;
}

/* Strobe illuminator: glowing lamp at the front left of the platter */
.tt__lamp {
  left: 3.4cqw;
  top: 62cqw;
  width: 3.4cqw;
  height: 3.4cqw;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #fff2c2, #f08a24 45%, #7a2a00 80%);
  box-shadow: 0 0 1.6cqw 0.4cqw rgba(255, 150, 40, 0.75);
  transform: translateZ(4px);
}

.tt.is-playing .tt__lamp {
  animation: tt-strobe 0.12s steps(2) infinite;
}

.tt.is-stopped .tt__lamp {
  filter: grayscale(0.8) brightness(0.45);
  box-shadow: none;
}

/* Pop-up target light by the arm base, shining onto the record */
.tt__beam {
  left: 52cqw;
  top: 6cqw;
  width: 30cqw;
  height: 30cqw;
  background: radial-gradient(ellipse at 100% 0%, rgba(255, 244, 210, 0.22), transparent 62%);
  mix-blend-mode: screen;
  transform: translateZ(20px);
  transition: opacity 0.6s ease;
}

.tt.is-stopped .tt__beam {
  opacity: 0;
}

/* Dust-cover hinges on the back edge */
.tt__hinge {
  top: -1.2cqw;
  width: 9cqw;
  height: 2.4cqw;
  border-radius: 0.6cqw;
  background: linear-gradient(180deg, #5a5a5a, #1d1d1d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0.5cqw 0.8cqw rgba(0, 0, 0, 0.6);
}

.tt__hinge--l { left: 14cqw; }
.tt__hinge--r { right: 14cqw; }

/* Start/stop on the plinth is a real control now */
.tt__start {
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.12s ease, box-shadow 0.2s ease;
}

.tt__start:active {
  transform: translateY(0.3cqw);
}

.tt.is-playing .tt__start {
  color: var(--gold-fill-bright);
  box-shadow: inset 0 0.2cqw 0 rgba(255, 255, 255, 0.14), 0 0 1.4cqw rgba(212, 175, 55, 0.55);
}

.tt__decor {
  pointer-events: none;
}

/* Panel: start/stop button and the equaliser */
.tt__power {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-fill);
  background: #000;
  color: var(--gold-fill-bright);
  font-family: var(--f-ui);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.tt__power:hover {
  transform: translateY(-2px);
}

.tt__power-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 8px #3ddc84;
}

.tt.is-stopped .tt__power-dot {
  background: #ff5b4a;
  box-shadow: 0 0 8px #ff5b4a;
}

.tt__eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
  margin-left: 10px;
}

.tt__eq i {
  width: 4px;
  height: 30%;
  border-radius: 2px;
  background: var(--gold-fill);
}

.tt.is-playing .tt__eq i { animation: tt-eq 0.9s ease-in-out infinite alternate; }
.tt.is-playing .tt__eq i:nth-child(2) { animation-duration: 0.6s; }
.tt.is-playing .tt__eq i:nth-child(3) { animation-duration: 1.1s; }
.tt.is-playing .tt__eq i:nth-child(4) { animation-duration: 0.7s; }
.tt.is-playing .tt__eq i:nth-child(5) { animation-duration: 0.95s; }
.tt.is-stopped .tt__led { animation: none; opacity: 0.35; }

@keyframes tt-warp {
  0%, 100% { transform: rotateX(0.5deg) rotateY(-0.3deg); }
  50% { transform: rotateX(-0.5deg) rotateY(0.3deg); }
}

@keyframes tt-swap {
  0% { scale: 1; translate: 0 0; }
  35% { scale: 1.06; translate: 0 -2.4cqw; opacity: 0.7; }
  100% { scale: 1; translate: 0 0; opacity: 1; }
}

@keyframes tt-strobe {
  50% { filter: brightness(1.35); }
}

@keyframes tt-eq {
  from { height: 20%; }
  to { height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tt__platter { transform: rotateX(18deg) rotateZ(-3deg); transition: none; }
  .tt.is-playing .tt__disc,
  .tt.is-playing .tt__lamp,
  .tt.is-playing .tt__eq i,
  .tt.is-swapping .tt__spin { animation: none !important; }
}

/* --------------------------------------------------------------------------
   Music list: cover art previews that open Spotify
   -------------------------------------------------------------------------- */
.mu-row--art {
  grid-template-columns: 132px minmax(0, 1fr) minmax(0, 2fr) auto !important;
  align-items: center !important;
  gap: 22px !important;
}

.mu-row__cover {
  position: relative;
  display: block;
  width: 132px;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1.3), box-shadow 0.3s ease;
}

.mu-row__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mu-row__play {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1ed760;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mu-row__play::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 11px;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #000;
}

.mu-row__cover:hover,
.mu-row__cover:focus-visible {
  transform: translateY(-4px) rotate(-1.5deg);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gold-fill);
}

.mu-row__cover:hover img {
  transform: scale(1.06);
}

.mu-row__cover:hover .mu-row__play,
.mu-row__cover:focus-visible .mu-row__play {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  .mu-row--art {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }
  .mu-row__cover {
    width: 96px;
    grid-row: span 2;
  }
  .mu-row--art .mu-row__body,
  .mu-row--art .mu-row__go {
    grid-column: 2;
  }
}

/* Home: cover strip under the deck, each opening Spotify */
.mu-covers {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 150px;
  gap: 16px;
  margin-top: 22px;
  padding: 6px 4px 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-fill) transparent;
}

.mu-cover {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  scroll-snap-align: start;
}

.mu-cover__art {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 8px;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1.3), box-shadow 0.3s ease;
}

.mu-cover__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mu-cover__artist {
  font-family: var(--f-serif);
  font-weight: 800;
  font-size: 1rem;
  color: #000;
}

.mu-cover__title {
  font-family: var(--f-ui);
  font-size: 0.8rem;
  color: #5c4708;
}

.mu-cover:hover .mu-cover__art,
.mu-cover:focus-visible .mu-cover__art {
  transform: translateY(-5px) rotate(-1.5deg);
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gold-fill);
}

.mu-cover:hover .mu-row__play,
.mu-cover:focus-visible .mu-row__play {
  opacity: 1;
  transform: none;
}

html[data-section="home"] main > .section.is-collapsed .mu-covers {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Wordmark: a curvy, bold, extruded "Black" and a "LDN" that shines
   (Shrikhand, SIL OFL)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Shrikhand";
  src: url("/fonts/shrikhand-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

.masthead .wordmark {
  font-size: clamp(2.6rem, 5.4vw, 5rem) !important;
  column-gap: 0.12em;
  line-height: 1.05 !important;
}

.wordmark .plated,
.wordmark .gilt {
  font-family: "Shrikhand", var(--f-display) !important;
  font-weight: 400 !important;
  letter-spacing: 0.005em !important;
  text-transform: none !important;
  padding: 0 0.06em 0.08em 0;
}

/* Chrome letters standing on a deep, stepped edge */
.wordmark .plated {
  filter:
    drop-shadow(1px 1px 0 #8a8a92)
    drop-shadow(1px 1px 0 #6b6b72)
    drop-shadow(1px 1px 0 #4d4d53)
    drop-shadow(1px 1px 0 #333338)
    drop-shadow(1px 1px 0 #1d1d20)
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.75)) !important;
}

/* Gold that catches the light: a bright band sweeps across, sparkles twinkle */
.wordmark .gilt {
  position: relative;
  background-image: linear-gradient(105deg, #a67c1a 0%, #e9cf7a 18%, #c9a227 30%, #fffbe8 40%, #ffe9a0 44%, #c9a227 54%, #f5e4ab 66%, #b8901f 82%, #a67c1a 100%) !important;
  background-size: 260% 100% !important;
  animation: ldn-shine 3.6s ease-in-out infinite !important;
  filter:
    drop-shadow(1px 1px 0 #a17f1d)
    drop-shadow(1px 1px 0 #7d6214)
    drop-shadow(1px 1px 0 #5c4708)
    drop-shadow(1px 1px 0 #3d2f05)
    drop-shadow(0 0 14px rgba(240, 212, 122, 0.45))
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.6)) !important;
}

.masthead .wordmark .gilt::after {
  content: "";
  position: absolute;
  inset: -30% -18% -10% -10%;
  background: url("/img/sparkles.svg") center / 100% 100% no-repeat;
  pointer-events: none;
}

@keyframes ldn-shine {
  0% { background-position: 110% 0; }
  60%, 100% { background-position: -40% 0; }
}

/* --------------------------------------------------------------------------
   Banner backdrop: London faces and places behind the logo, drifting slowly
   -------------------------------------------------------------------------- */
.masthead {
  z-index: 50;
  isolation: isolate;
}

.masthead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.8) 28%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.62) 100%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.55) 38%, transparent 70%),
    image-set(url("/media/masthead-collage.webp") type("image/webp"), url("/media/masthead-collage.jpg") type("image/jpeg")) 0 18% / auto 135% repeat-x;
  animation: masthead-drift 120s linear infinite;
}

@keyframes masthead-drift {
  from { background-position: 0 0, 0 0, 0 18%; }
  to { background-position: 0 0, 0 0, -2880px 18%; }
}

/* --------------------------------------------------------------------------
   Menu: dividers between sections and a short description on hover
   -------------------------------------------------------------------------- */
.masthead__bar > .nav {
  gap: 0 !important;
}

.masthead__bar > .nav .nav__link {
  position: relative;
  padding: 14px clamp(12px, 1.5vw, 22px) !important;
  background: linear-gradient(rgba(212, 175, 55, 0.55), rgba(212, 175, 55, 0.55)) left center / 1px 44% no-repeat;
}

.masthead__bar > .nav .nav__link:first-child {
  padding-left: 0 !important;
  background: none;
}

.nav__link[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  max-width: 230px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid var(--gold-fill);
  color: #111;
  font: 600 0.82rem/1.4 var(--f-ui);
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;
  white-space: normal;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translate(-50%, 6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.masthead__bar > .nav .nav__link:first-child::before {
  left: 0;
  transform: translate(0, 6px);
}

.nav__link[data-tip]:hover::before,
.nav__link[data-tip]:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

.masthead__bar > .nav .nav__link:first-child:hover::before,
.masthead__bar > .nav .nav__link:first-child:focus-visible::before {
  transform: none;
}

/* Wide screens: let the hover boxes hang below the bar */
@media (min-width: 1000px) {
  .masthead__bar > .nav {
    overflow: visible !important;
  }
}

/* Touch screens scroll the menu sideways, so no hover boxes there */
@media (hover: none) {
  .nav__link[data-tip]::before {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Strip under the slider: clear titles with a line under each
   -------------------------------------------------------------------------- */
.discovery-strip {
  gap: 0 !important;
  padding: 16px var(--gutter) !important;
}

.discovery-strip > span {
  font-size: 1.1rem !important;
  padding-right: 22px;
}

.discovery-strip a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px clamp(14px, 2vw, 26px) !important;
  border-bottom: 0 !important;
  border-left: 1px solid rgba(212, 175, 55, 0.5);
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.discovery-strip a b {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.discovery-strip a b span {
  color: var(--gold-fill);
  margin-left: 2px;
}

.discovery-strip a small {
  font-family: var(--f-ui);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

.discovery-strip a:hover b {
  color: var(--gold-fill-bright);
}

@media (max-width: 760px) {
  .discovery-strip a {
    border-left: 0;
    padding: 8px 0 !important;
    flex-basis: 50%;
  }
}

/* --------------------------------------------------------------------------
   Slider labels: bold gold badges that catch the eye
   -------------------------------------------------------------------------- */
.rn-slide__kicker {
  display: inline-block;
  padding: 9px 18px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6dd86, #d4af37 60%, #b8901f);
  color: #000 !important;
  font-size: clamp(0.78rem, 1.1vw, 0.95rem) !important;
  font-weight: 900 !important;
  letter-spacing: 0.16em !important;
  text-shadow: none !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.rn-slide.is-active .rn-slide__kicker {
  animation: kicker-pop 0.7s cubic-bezier(.2, .9, .3, 1.4) both;
}

@keyframes kicker-pop {
  from { opacity: 0; transform: translateY(10px) scale(0.85); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Section grounds: white and a cool light grey, no cream
   -------------------------------------------------------------------------- */
main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(4n + 1),
main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(4n + 3) {
  background: #f3f4f6 !important;
}

main > section:is(.section, .section--tight):not(.section--flush):nth-of-type(2n) {
  background: #fff !important;
}

main > section:is(.section, .section--tight):not(.section--flush) {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* --------------------------------------------------------------------------
   Home careers: a tidy grid, black and white, no gold lettering
   -------------------------------------------------------------------------- */
.section--careers .gilt {
  background: none !important;
  -webkit-text-fill-color: #0a0a0a !important;
  color: #0a0a0a !important;
  filter: none !important;
  animation: none !important;
  text-shadow: 1px 1px 0 #bdbdbd, 2px 2px 0 #9e9e9e, 3px 3px 0 #7a7a7a, 6px 8px 14px rgba(0, 0, 0, 0.22);
}

.section--careers .h2 .plated {
  text-shadow: 1px 1px 0 #bdbdbd, 2px 2px 0 #9e9e9e, 3px 3px 0 #7a7a7a, 6px 8px 14px rgba(0, 0, 0, 0.22);
}

.opp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 960px) {
  .opp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .opp-grid { grid-template-columns: minmax(0, 1fr); }
}

.opp-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 12px 28px -14px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s cubic-bezier(.2, .8, .2, 1), box-shadow 0.3s ease, opacity 0.5s ease, filter 0.4s ease !important;
}

.opp-card:hover,
.opp-card:focus-visible {
  transform: translateY(-6px) !important;
  box-shadow: 0 0 0 2px #000, 0 22px 40px -16px rgba(0, 0, 0, 0.45);
}

.opp-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  background: #000;
  color: #fff;
}

.opp-card__date {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.opp-card__date b {
  font: 800 2rem/1 var(--f-serif);
}

.opp-card__date i {
  font: normal 800 0.8rem/1 var(--f-ui);
  letter-spacing: 0.14em;
}

.opp-card__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: 800 0.7rem/1 var(--f-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opp-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1fa463;
}

.opp-card__status--soon::before {
  background: #e5484d;
}

.opp-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 16px 18px 6px;
}

.opp-card__field {
  font: 700 0.74rem/1.3 var(--f-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a5a;
}

.opp-card__title {
  font: 800 1.3rem/1.15 var(--f-serif);
  color: #000;
}

.opp-card__org {
  font: 500 0.95rem/1.4 var(--f-ui);
  color: #333;
}

.opp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.opp-card__tags span {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d6d6d6;
  font: 600 0.74rem/1.2 var(--f-ui);
  color: #222;
}

.opp-card__go {
  padding: 14px 18px 18px;
  font: 800 0.78rem/1 var(--f-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
}

.opp-card--all {
  justify-content: space-between;
  gap: 10px;
  padding: 24px 22px;
  background: #000;
  color: #fff;
}

.opp-card--all .opp-card__big {
  font: 800 4rem/1 var(--f-serif);
}

.opp-card--all .opp-card__title {
  color: #fff;
  font-size: 1.5rem;
}

.opp-card--all .opp-card__org {
  color: rgba(255, 255, 255, 0.75);
}

.opp-card--all .opp-card__go {
  padding: 0;
  color: #fff;
}

.opp-card[hidden] {
  display: none !important;
}

html[data-section="home"] main > .section.is-collapsed .opp-grid {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .masthead::before,
  .wordmark .gilt,
  .rn-slide.is-active .rn-slide__kicker {
    animation: none !important;
  }
  .masthead .wordmark .gilt::after {
    display: none;
  }
}

/* Strip: the line and four even columns */
.discovery-strip {
  display: grid !important;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
}

.discovery-strip > span {
  margin-right: 0 !important;
}

@media (max-width: 1100px) {
  .discovery-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .discovery-strip > span {
    grid-column: 1 / -1;
    padding: 0 0 10px;
  }
  .discovery-strip a:nth-of-type(1) {
    border-left: 0;
    padding-left: 0 !important;
  }
}

@media (max-width: 760px) {
  .discovery-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.discovery-strip > span {
  font-size: 1rem !important;
  white-space: nowrap;
}

.discovery-strip a b {
  font-size: 0.98rem;
  white-space: nowrap;
}

.discovery-strip a small {
  font-size: 0.78rem;
}

@media (max-width: 760px) {
  .discovery-strip a b {
    white-space: normal;
  }
}

/* ==========================================================================
   News headlines in blue, Libre Franklin for reading, no gold-tinted fills,
   and a "Don't miss" column in the space beside the content
   ========================================================================== */
@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libre Franklin";
  src: url("/fonts/libre-franklin-latin-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --f-ui: "Libre Franklin", "Inter Variable", Arial, "Helvetica Neue", sans-serif;
  --f-news: "Libre Franklin", Arial, "Helvetica Neue", sans-serif;
  --news-blue: #004db3;
  --news-blue-deep: #003580;
  --dm-red: #d0021b;
}

:root,
html [data-ground="paper"] {
  --wash-gold: #eef1f5;
  --wash-signal: #eef1f5;
}

/* Story headlines: bold sans in news blue */
.card__title,
.feature .h3,
.ev-row__title,
.opp-line__card .h3,
.trend__link,
.wire__name,
.opp-card__title {
  font-family: var(--f-news) !important;
  font-weight: 800 !important;
  letter-spacing: -0.012em !important;
}

.card__title,
.card__title a,
.feature .h3 a,
a.ev-row__title,
.opp-line__card .h3,
.opp-line__card .h3 a,
.trend__link,
.wire__name,
.opp-card:not(.opp-card--all) .opp-card__title {
  color: var(--news-blue) !important;
}

.card:hover .card__title a,
.card__title a:hover,
.feature .h3 a:hover,
a.ev-row__title:hover,
.trend__link:hover,
.wire__item:hover .wire__name,
.opp-card:not(.opp-card--all):hover .opp-card__title {
  color: var(--news-blue-deep) !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

.card__title {
  font-size: clamp(1.18rem, 1.4vw, 1.4rem) !important;
  line-height: 1.2 !important;
}

.feature .h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.25rem) !important;
  line-height: 1.12 !important;
}

.wire__name {
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
}

.trend__link {
  font-size: 0.95rem !important;
  line-height: 1.3 !important;
}

.opp-card__title {
  font-size: 1.18rem;
  line-height: 1.2;
}

/* Reading text: Libre Franklin, near-black, a touch larger */
.card .small {
  font-size: 0.98rem !important;
  line-height: 1.55 !important;
  color: #1a1a1a !important;
}

.longform {
  color: #161616 !important;
  font-size: clamp(1.08rem, 1.1vw, 1.18rem) !important;
  line-height: 1.7 !important;
}

/* No cream: tags, chips and the sample newsletter */
.tag--gold {
  color: #fff !important;
  background: #000 !important;
  border-color: #000 !important;
}

.tag--signal {
  color: #0a0a0a !important;
  background: #fff !important;
  border-color: #cfd4da !important;
}

/* Black on light backgrounds, white on dark ones */
.chip[aria-pressed="true"],
.chip[aria-current="true"] {
  color: color-mix(in srgb, #000 calc(var(--ink, 0) * 100%), #fff) !important;
  background: color-mix(in srgb, #fff calc(var(--ink, 0) * 100%), #000) !important;
  border-color: color-mix(in srgb, #fff calc(var(--ink, 0) * 100%), #000) !important;
  box-shadow: none !important;
}

.issue {
  background: #f4f5f7 !important;
}

/* --------------------------------------------------------------------------
   "Don't miss"
   -------------------------------------------------------------------------- */
.dm__head {
  margin: 0;
  padding: 11px 16px 9px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(180deg, #ea1c36 0%, var(--dm-red) 100%);
  color: #fff;
  font: 700 1.6rem/1 var(--f-display);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
}

.dm__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 8px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 14px 34px -20px rgba(0, 0, 0, 0.4);
}

.dm__list > li {
  margin: 0;
  padding: 0;
}

.dm__list > li[hidden] {
  display: none !important;
}

.dm__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  align-items: start;
  height: 100%;
  padding: 10px;
  border-radius: 12px;
  background: #eef0f3;
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dm__item:hover {
  background: #e3e8ef;
  transform: translateY(-1px);
}

.dm__item:focus-visible {
  outline: 3px solid var(--news-blue);
  outline-offset: 2px;
}

.dm__kicker {
  display: block;
  margin-bottom: 6px;
  font: 800 0.68rem/1 var(--f-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dm-red);
}

.dm__title {
  display: block;
  font: 800 0.95rem/1.25 var(--f-news);
  letter-spacing: -0.01em;
  color: var(--news-blue);
}

.dm__title::before {
  content: "";
  display: inline-block;
  margin-right: 6px;
  border-left: 7px solid var(--news-blue);
  border-block: 5px solid transparent;
  vertical-align: 1px;
}

.dm__item:hover .dm__title {
  color: var(--news-blue-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.dm__pic {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #d9dde3;
}

.dm__pic picture {
  display: contents;
}

.dm__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.dm__item:hover .dm__pic img {
  transform: scale(1.06);
}

/* In the flow on phones, tablets and smaller laptops */
main > .dm--home {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--gutter);
}

.dm--art {
  max-width: calc(var(--shell-text) + var(--gutter) * 2);
  margin: clamp(32px, 4vw, 48px) auto;
  padding-inline: var(--gutter);
}

/* Home, wide screens: the column runs down the right of every section */
@media (min-width: 1280px) {
  main.has-dm {
    position: relative;
    --dm-w: clamp(300px, 22vw, 340px);
    --dm-gap: 32px;
  }

  main.has-dm > section > .shell,
  main.has-dm .wire > .shell {
    padding-right: calc(var(--gutter) + var(--dm-w) + var(--dm-gap));
  }

  main > .dm--home {
    position: absolute;
    top: var(--dm-top, 720px);
    bottom: 0;
    right: calc(max(0px, (100% - var(--shell)) / 2) + var(--gutter));
    z-index: 2;
    width: var(--dm-w);
    max-width: none;
    margin: 0;
    padding: 0 0 clamp(32px, 4vw, 64px);
  }

  .dm--home .dm__list {
    grid-template-columns: minmax(0, 1fr);
  }

  /* News & briefings: "On the slate" goes under the stories until there is room for both */
  main.has-dm .digest-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  main.has-dm .trend.rail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  main.has-dm .trend ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }

  main.has-dm .trend ol li:nth-last-child(-n + 3) {
    border-bottom: 0;
  }
}

@media (min-width: 1700px) {
  main.has-dm .digest-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  main.has-dm .trend.rail {
    position: sticky;
  }

  main.has-dm .trend ol {
    grid-template-columns: minmax(0, 1fr);
  }

  main.has-dm .trend ol li:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--rule-hair);
  }

  main.has-dm .trend ol li:last-child {
    border-bottom: 0;
  }
}

/* Long reads, wide screens: the column sits in the space to the right of the text */
@media (min-width: 1400px) {
  .dm-host {
    position: relative;
  }

  .dm--art {
    position: absolute;
    top: 0;
    bottom: 0;
    right: calc(max(0px, (100% - var(--shell)) / 2) + var(--gutter));
    width: clamp(270px, 50vw - 450px, 340px);
    max-width: none;
    margin: 0;
    padding: 0;
    padding-top: inherit;
    padding-bottom: inherit;
  }

  .dm--art .dm__list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 1400px) and (max-width: 1599px) {
  .dm--art .dm__item {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
  }

  .dm--art .dm__title {
    font-size: 0.9rem;
  }
}

/* Wide screens: the panel follows you down the page */
@media (min-width: 1280px) {
  .dm--home .dm__inner {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border-radius: 16px;
  }
}

@media (min-width: 1400px) {
  .dm--art .dm__inner {
    position: sticky;
    top: 16px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    border-radius: 16px;
  }
}

/* Strip: on very wide screens keep the four links within the page width, lined up with the logo */
.discovery-strip {
  padding-inline: max(var(--gutter), calc((100% - var(--shell)) / 2 + var(--gutter))) !important;
}

/* ==========================================================================
   Controlled maximalism: one easing, soft depth instead of hard offset
   shadows, a colour per section, banner tiles that explain themselves,
   cinematic photo layers with parallax, and a slim sticky bar
   ========================================================================== */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bar-h: 56px;
  --tone: #0a0a0a;
  --tone-hi: #e2bf52;
  --tone-accent: #0a0a0a;
  --tone-text: #fff;
}

/* 1 on black grounds, 0 on white; the closest ground wins */
:root,
[data-ground="paper"] {
  --ink: 0;
}

[data-ground="ink"] {
  --ink: 1;
}

[data-tone="ink"] {
  --tab-on-ink: #fff;
  --tab-on-ink-text: #000;
}

[data-tone="red"],
[data-tone="blue"],
[data-tone="gold"] {
  --tab-on-ink: initial;
  --tab-on-ink-text: initial;
}

[data-tone="red"] {
  --tone: #d0021b;
  --tone-hi: #ff6b7a;
  --tone-accent: #d0021b;
  --tone-text: #fff;
}

[data-tone="blue"] {
  --tone: #004db3;
  --tone-hi: #7fb2ff;
  --tone-accent: #004db3;
  --tone-text: #fff;
}

[data-tone="gold"] {
  --tone: #d4af37;
  --tone-hi: #f6dd86;
  --tone-accent: #0a0a0a;
  --tone-text: #000;
}

[data-tone="ink"] {
  --tone: #0a0a0a;
  --tone-hi: #e2bf52;
  --tone-accent: #0a0a0a;
  --tone-text: #fff;
}

/* --------------------------------------------------------------------------
   Section labels: a solid colour tab, like the "Don't miss" header
   -------------------------------------------------------------------------- */
.mono.eyebrow {
  display: inline-flex !important;
  align-items: center;
  overflow: visible;
  padding: 7px 13px 6px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: color-mix(in srgb, var(--tab-on-ink, var(--tone)) calc(var(--ink, 0) * 100%), var(--tone)) !important;
  color: color-mix(in srgb, var(--tab-on-ink-text, var(--tone-text)) calc(var(--ink, 0) * 100%), var(--tone-text)) !important;
  font-family: var(--f-display) !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
  box-shadow: 0 10px 22px -14px var(--tone) !important;
  transform: none;
  width: fit-content !important;
  max-width: 100%;
}

.mono.eyebrow::before,
.mono.eyebrow::after {
  display: none !important;
  animation: none !important;
}

[data-rise].in .mono.eyebrow {
  animation: tab-in 0.7s var(--ease) both !important;
}

@keyframes tab-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Headings: flat, confident type. No extrusions or stepped shadows.
   The second half takes the section colour and catches the light once.
   -------------------------------------------------------------------------- */
:is(.h1, .h2, .wire__title, .dg-mast__title, .hero-type) .plated {
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

:is(.h1, .h2, .wire__title, .dg-mast__title, .hero-type) .gilt {
  --ga: color-mix(in srgb, var(--tone-hi) calc(var(--ink, 0) * 100%), var(--tone-accent));
  --gb: color-mix(in srgb, #fff calc(var(--ink, 0) * 100%), var(--tone-hi));
  background: linear-gradient(100deg, var(--ga) 0 42%, var(--gb) 50%, var(--ga) 58% 100%) 0 0 / 250% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: var(--ga) !important;
  text-shadow: none !important;
  filter: none !important;
  animation: none !important;
}

[data-rise].in :is(.h1, .h2) .gilt {
  animation: tone-shine 1.6s var(--ease) 0.25s 1 both !important;
}

@keyframes tone-shine {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

/* "What's on": the glitter and twinkles retire for a clean, bold title */
.sparkle-head .plated {
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  color: inherit !important;
}

.sparkle-head .plated::after {
  display: none !important;
}

.section .row--between .h2 {
  font-size: clamp(2.1rem, 3.9vw, 3.5rem) !important;
  line-height: 1 !important;
}

.sec-deck {
  max-width: 58ch;
  margin: 12px 0 0;
  font: 500 clamp(0.98rem, 1.05vw, 1.08rem)/1.5 var(--f-ui);
  color: #3a3a3a;
}

/* Banner menu and buttons: soft depth only */
.masthead__bar > .nav .nav__link {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7) !important;
  transition: transform 0.3s var(--ease), color 0.2s ease !important;
}

.masthead .btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px -10px rgba(0, 0, 0, 0.9) !important;
}

.section--careers .gilt,
.section--careers .h2 .plated {
  text-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Cards and panels: cool, soft shadows and one easing
   -------------------------------------------------------------------------- */
.card {
  border-color: #e3e6ea !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 16px 36px -24px rgba(15, 23, 42, 0.5) !important;
  transition: opacity 0.6s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease !important;
}

.card:hover {
  transform: translateY(-4px) !important;
  border-color: #cdd3db !important;
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06), 0 30px 54px -26px rgba(15, 23, 42, 0.6) !important;
}

.card__media img {
  transition: transform 0.9s var(--ease), filter 0.6s ease !important;
}

.card:hover .card__media img {
  transform: scale(1.05) !important;
}

.panel {
  border-color: #e3e6ea !important;
  box-shadow: 0 16px 36px -24px rgba(15, 23, 42, 0.45) !important;
}

/* Scroll reveal: a gentle rise, no blur, no overshoot */
[data-rise] {
  --rise-b: 0px;
  --rise-s: 1;
  --rise-y: 22px;
}

[data-rise].in {
  transition-property: opacity, transform !important;
  transition-duration: 0.7s, 0.9s !important;
  transition-timing-function: var(--ease), var(--ease) !important;
}

/* Home: three lines of summary per card keeps more stories on screen */
main.has-dm .card__body > p.small:last-of-type {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Hero: spacious and cinematic. Slow push-in, deeper grade, soft title
   shadow, and the photo drifts slower than the page.
   -------------------------------------------------------------------------- */
.rn-hero {
  height: clamp(340px, calc(100svh - 385px), 620px) !important;
}

.rn-slide picture {
  inset: -10% 0 !important;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.rn-slide img {
  transform: scale(1) !important;
  transition: transform 14s linear, filter 0.8s var(--ease) !important;
}

.rn-slide.is-active img {
  transform: scale(1.08) !important;
}

.rn-slide::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 58%, rgba(0, 0, 0, 0.7) 100%),
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
}

.rn-slide__title {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 18px 48px rgba(0, 0, 0, 0.6) !important;
}

.rn-slide__title .gilt {
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.5)) !important;
  animation: none !important;
}

.rn-slide__kicker {
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.8) !important;
}

/* --------------------------------------------------------------------------
   Strip: four photo tiles that say what is inside
   -------------------------------------------------------------------------- */
.discovery-strip {
  gap: 12px !important;
  padding-block: 14px !important;
  background: linear-gradient(180deg, #0b0b0b, #000) !important;
}

.discovery-strip > span {
  align-self: center;
  padding-right: 10px !important;
  font-size: 1.15rem !important;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.discovery-strip a.ds {
  align-self: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  min-height: 116px;
  padding: 40px 16px 13px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px;
  background: #141414;
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}

.ds__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
  filter: saturate(0.9) brightness(0.92);
}

.ds__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.62) 45%, rgba(0, 0, 0, 0.92) 100%);
}

.ds--events .ds__bg {
  background-image: url("/media/wire-fatoumata-diawara-640.jpg");
  background-image: image-set(url("/media/wire-fatoumata-diawara-640.webp") type("image/webp"), url("/media/wire-fatoumata-diawara-640.jpg") type("image/jpeg"));
  background-position: 50% 30%;
}

.ds--places .ds__bg {
  background-image: url("/media/soul-food-1-640.jpg");
  background-image: image-set(url("/media/soul-food-1-640.webp") type("image/webp"), url("/media/soul-food-1-640.jpg") type("image/jpeg"));
}

.ds--jobs .ds__bg {
  background-image: url("/media/wire-bridging-the-bar-640.jpg");
  background-image: image-set(url("/media/wire-bridging-the-bar-640.webp") type("image/webp"), url("/media/wire-bridging-the-bar-640.jpg") type("image/jpeg"));
}

.ds--history .ds__bg {
  background-image: url("/media/brixton-market-electric-avenue-geograph-org-uk-8198713-640.jpg");
  background-image: image-set(url("/media/brixton-market-electric-avenue-geograph-org-uk-8198713-640.webp") type("image/webp"), url("/media/brixton-market-electric-avenue-geograph-org-uk-8198713-640.jpg") type("image/jpeg"));
}

.ds__count {
  position: absolute;
  top: 11px;
  left: 14px;
  padding: 5px 9px 4px;
  border-radius: 999px;
  background: var(--dm-red);
  color: #fff;
  font: 800 0.64rem/1 var(--f-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px -6px rgba(208, 2, 27, 0.9);
}

.discovery-strip a.ds b {
  font: 700 clamp(1.12rem, 1.3vw, 1.38rem)/1.05 var(--f-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: normal;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.discovery-strip a.ds b span {
  display: inline-block;
  margin-left: 4px;
  color: var(--gold-fill-bright);
  transition: transform 0.35s var(--ease);
}

.discovery-strip a.ds small {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font: 500 0.8rem/1.38 var(--f-ui);
  color: rgba(255, 255, 255, 0.88);
}

.discovery-strip a.ds:hover,
.discovery-strip a.ds:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 212, 122, 0.7) !important;
  box-shadow: 0 22px 40px -20px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 212, 122, 0.35);
}

.discovery-strip a.ds:hover .ds__bg {
  transform: scale(1.1);
  filter: saturate(1.1) brightness(1);
}

.discovery-strip a.ds:hover b {
  color: #fff;
}

.discovery-strip a.ds:hover b span {
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .discovery-strip a.ds,
  .discovery-strip a.ds:nth-of-type(1) {
    padding: 40px 14px 12px !important;
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
  }
}

@media (max-width: 760px) {
  .discovery-strip a.ds {
    min-height: 150px;
  }
}

/* --------------------------------------------------------------------------
   Photo band: a full-width cinematic moment between sections
   -------------------------------------------------------------------------- */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(72px, 10vw, 140px);
  background: #000;
  color: #fff;
}

.band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.band__bg picture {
  position: absolute;
  inset: -10% 0;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.band__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05) brightness(0.6);
}

.band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
}

.band__label {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 13px 6px;
  border-radius: 9px;
  background: var(--dm-red);
  color: #fff;
  font: 700 0.92rem/1 var(--f-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.band__stat {
  max-width: 19ch;
  margin: 0;
  font: 800 clamp(1.7rem, 3.4vw, 3rem)/1.1 var(--f-news);
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.band__big {
  display: block;
  margin-bottom: 6px;
  font: 700 clamp(4.6rem, 11vw, 9.5rem)/0.88 var(--f-display);
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.band__then {
  color: var(--gold-fill-bright);
}

.band__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: 800 0.8rem/1 var(--f-ui);
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.band__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.9);
}

.band__credit {
  margin: 30px 0 0;
  font: 500 0.7rem/1.4 var(--f-ui);
  color: rgba(255, 255, 255, 0.6);
}

.band__credit a {
  color: inherit;
}

@media (min-width: 1280px) {
  main.has-dm > .band > .shell {
    padding-right: calc(var(--gutter) + var(--dm-w) + var(--dm-gap));
  }
}

/* Event and history pages: the top photo drifts too */
.detail-hero__media picture {
  position: absolute;
  inset: -10% 0;
  transform: translate3d(0, var(--py, 0px), 0);
}

.detail-hero__media picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Slim sticky bar: slides in once the banner has scrolled away
   -------------------------------------------------------------------------- */
.minibar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--bar-h);
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.9);
  transform: translateY(-110%);
  transition: transform 0.5s var(--ease);
}

.minibar.is-on {
  transform: none;
}

.minibar__in {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  height: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.minibar__logo {
  flex: none;
  font: 400 1.5rem/1 "Shrikhand", var(--f-display);
  text-decoration: none;
  white-space: nowrap;
}

.minibar__logo b {
  font-weight: 400;
  color: #fff;
}

.minibar__logo i {
  margin-left: 0.12em;
  font-style: normal;
  color: var(--gold-fill-bright);
}

.minibar__nav {
  flex: 1;
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
  mask-image: linear-gradient(90deg, #000 92%, transparent);
}

.minibar__nav::-webkit-scrollbar {
  display: none;
}

.minibar__nav a {
  flex: none;
  padding: 4px 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  font: 600 0.86rem/1 var(--f-display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.minibar__nav a:first-child {
  border-left: 0;
  padding-left: 0;
}

.minibar__nav a:hover,
.minibar__nav a[aria-current="page"] {
  color: var(--gold-fill-bright);
}

.minibar__search {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 800 0.7rem/1 var(--f-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.minibar__search:hover {
  border-color: var(--gold-fill);
  color: var(--gold-fill-bright);
}

@media (max-width: 560px) {
  .minibar__logo {
    font-size: 1.25rem;
  }
  .minibar__search {
    padding: 8px 10px;
    font-size: 0;
    gap: 0;
  }
}

/* Anything that sticks sits under the bar */
html {
  scroll-padding-top: calc(var(--bar-h) + 16px) !important;
}

.filterbar {
  top: var(--bar-h) !important;
}

@media (min-width: 1024px) {
  .rail {
    top: calc(var(--bar-h) + 20px) !important;
    max-height: calc(100vh - var(--bar-h) - 40px) !important;
  }
  .ev-side,
  .pl-map {
    top: calc(var(--bar-h) + 76px) !important;
  }
}

@media (min-width: 1280px) and (max-width: 1699px) {
  main.has-dm .trend.rail {
    max-height: none !important;
  }
}

@media (min-width: 1280px) {
  .dm--home .dm__inner {
    top: calc(var(--bar-h) + 16px);
    max-height: calc(100vh - var(--bar-h) - 32px);
  }
}

@media (min-width: 1400px) {
  .dm--art .dm__inner {
    top: calc(var(--bar-h) + 16px);
    max-height: calc(100vh - var(--bar-h) - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .minibar,
  .discovery-strip a.ds,
  .ds__bg,
  .band__cta {
    transition: none !important;
  }
  .rn-slide img,
  .rn-slide.is-active img {
    transform: none !important;
    transition: none !important;
  }
  [data-rise].in .mono.eyebrow,
  [data-rise].in :is(.h1, .h2) .gilt {
    animation: none !important;
  }
}

/* Strip: the lead line stacks so the four tiles get the room */
@media (min-width: 1101px) {
  .discovery-strip > span {
    max-width: 6.6em;
    white-space: normal !important;
  }
}

.discovery-strip a.ds small {
  -webkit-line-clamp: 4;
}

/* News & briefings on the home page: the same label tab as every other section, in its colour */
main.has-dm .dg-mast__title::before {
  content: "News" / "";
  display: block;
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 13px 6px;
  border-radius: 9px;
  background: var(--tone);
  color: var(--tone-text);
  font: 700 0.92rem/1 var(--f-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 22px -14px var(--tone);
}

.dg-mast .mono--gold {
  color: var(--tone) !important;
}

.dg-mast__div {
  background: var(--tone) !important;
  opacity: 0.35;
}

/* Phones: show each tile's whole description, slightly smaller titles */
@media (max-width: 760px) {
  .discovery-strip a.ds small {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .discovery-strip a.ds b {
    font-size: 1.02rem;
  }
}

/* Walker: turns to the screen to talk; bubble wraps and stays on screen */
.walker.is-facing .walker__body {
  transform: scaleX(calc(var(--face) * 0.62));
}

.walker.is-facing .head {
  animation: walker-nod 0.5s ease-in-out infinite alternate;
}

.walker__say {
  width: max-content;
  max-width: min(250px, 72vw);
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  border-radius: 16px;
  transform: translateX(calc(-50% + var(--sx, 0px))) scale(0.6);
}

.walker.is-talking .walker__say {
  transform: translateX(calc(-50% + var(--sx, 0px))) scale(1);
}

/* --------------------------------------------------------------------------
   Spin London: the globe on the places page (globe.js)
   -------------------------------------------------------------------------- */
.lg-sec {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 90px);
  background:
    radial-gradient(ellipse 60% 70% at 28% 50%, rgba(36, 64, 110, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(208, 2, 27, 0.18) 0%, transparent 70%),
    #050608;
  color: #fff;
}

.lg {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.lg__canvas {
  display: block;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1;
  margin-inline: auto;
  cursor: grab;
  touch-action: none;
  border-radius: 50%;
}

.lg__canvas:active {
  cursor: grabbing;
}

.lg__canvas:focus-visible {
  outline: 2px solid #f6d66f;
  outline-offset: 4px;
}

.lg__hint {
  margin-top: 6px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font: 600 0.74rem/1.4 var(--f-ui);
  letter-spacing: 0.04em;
}

.lg__panel .sec-deck {
  color: rgba(255, 255, 255, 0.82) !important;
}

.lg__spin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6dd86, #d4af37);
  color: #000;
  font: 800 0.84rem/1 var(--f-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(226, 191, 82, 0.95);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.lg__spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(226, 191, 82, 1);
}

.lg.is-spinning .lg__spin svg {
  animation: lg-turn 0.7s linear infinite;
}

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

.lg__result {
  min-height: 300px;
  margin-top: 28px;
}

.lg__landed {
  font: 700 1.35rem/1.1 var(--f-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lg__landed b {
  color: #ff6b7a;
}

.lg__list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.lg__list a {
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 12px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s var(--ease), background 0.3s ease, border-color 0.3s ease;
}

.lg__list a:hover,
.lg__list a:focus-visible {
  transform: translateX(4px);
  border-color: rgba(240, 212, 122, 0.6);
  background: rgba(255, 255, 255, 0.11);
}

.lg__list i {
  grid-row: span 2;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.lg__list b {
  font: 700 1rem/1.25 var(--f-ui);
}

.lg__list span {
  color: rgba(255, 255, 255, 0.72);
  font: 500 0.82rem/1.35 var(--f-ui);
}

.lg.is-spinning .lg__result {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

@media (max-width: 860px) {
  .lg {
    grid-template-columns: 1fr;
  }
  .lg__result {
    min-height: 0;
  }
}

.lg__key {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  font: 700 0.72rem/1 var(--f-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lg__key li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lg__key i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   Opportunities: corporate glass. A night-blue banner ruled like a curtain
   wall, a glass quiz panel, photo cards with the organisation's name.
   -------------------------------------------------------------------------- */
.is-corporate {
  --glass-line: rgba(255, 255, 255, 0.07);
  --steel: #0b1a30;
  --steel-2: #13294a;
}

.is-corporate .phead {
  background: linear-gradient(120deg, #050b16 0%, var(--steel) 55%, var(--steel-2) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 110px) clamp(36px, 4vw, 60px) !important;
}

.is-corporate .phead::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, var(--glass-line) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, var(--glass-line) 0 1px, transparent 1px 48px);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%);
  pointer-events: none;
}

.is-corporate .phead__media {
  width: min(62%, 980px) !important;
  opacity: 1 !important;
}

.is-corporate .phead__media::after {
  background:
    linear-gradient(90deg, #07101e 0%, rgba(7, 16, 30, 0.82) 22%, rgba(7, 16, 30, 0.25) 60%, rgba(7, 16, 30, 0.1) 100%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.2) 0%, transparent 40%, rgba(7, 16, 30, 0.75) 100%) !important;
}

.is-corporate .phead .lede {
  color: rgba(255, 255, 255, 0.86) !important;
}

.is-corporate .phead .tag {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  backdrop-filter: blur(8px);
}

/* Quiz */
.rq-sec {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px);
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(0, 77, 179, 0.35), transparent 70%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(208, 2, 27, 0.16), transparent 70%),
    linear-gradient(180deg, #0a1628, #0d1d36);
  color: #fff;
  overflow: hidden;
}

.rq-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 72px);
  pointer-events: none;
}

.rq {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.rq .h2 .plated {
  color: #fff;
}

.rq .sec-deck {
  color: rgba(255, 255, 255, 0.8) !important;
}

.rq__panel {
  position: relative;
  min-height: 300px;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.rq__bar {
  height: 4px;
  margin-bottom: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.rq__bar i {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  background: linear-gradient(90deg, #7fb2ff, #f6dd86);
  transition: width 0.5s var(--ease);
}

.rq__q {
  margin: 0;
  padding: 0;
  border: 0;
  animation: rq-in 0.45s var(--ease) both;
}

@keyframes rq-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.rq__q legend {
  display: block;
  margin-bottom: 16px;
  font: 700 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--f-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.rq__q legend span {
  display: block;
  margin-bottom: 6px;
  color: #7fb2ff;
  font: 800 0.72rem/1 var(--f-ui);
  letter-spacing: 0.14em;
}

.rq__opts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rq__opt {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: 700 0.95rem/1.25 var(--f-ui);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease;
}

.rq__opt:hover,
.rq__opt:focus-visible {
  transform: translateY(-2px);
  border-color: #f6dd86;
  background: rgba(255, 255, 255, 0.14);
}

.rq__opt[aria-pressed="true"] {
  border-color: #f6dd86;
  background: #f6dd86;
  color: #000;
}

.rq__back,
.rq__again {
  margin-top: 14px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.75);
  font: 700 0.82rem/1 var(--f-ui);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rq__result {
  animation: rq-in 0.45s var(--ease) both;
}

.rq__lead {
  margin-bottom: 12px;
  font: 700 1.3rem/1.1 var(--f-display);
  text-transform: uppercase;
}

.rq__none {
  color: rgba(255, 255, 255, 0.8);
}

.rq__picks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rq__picks a {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.rq__picks a:hover,
.rq__picks a:focus-visible {
  transform: translateX(4px);
  border-color: #f6dd86;
}

.rq__brand {
  color: #7fb2ff;
  font: 800 0.72rem/1 var(--f-ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rq__picks b {
  font: 800 1.05rem/1.25 var(--f-ui);
}

.rq__why {
  color: rgba(255, 255, 255, 0.72);
  font: 500 0.82rem/1.35 var(--f-ui);
}

.rq__when {
  color: #f6dd86;
  font: 600 0.82rem/1.35 var(--f-ui);
}

/* Cards */
.oc-sec {
  background:
    repeating-linear-gradient(90deg, rgba(11, 26, 48, 0.035) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, #eef2f7, #f7f9fc 40%, #fff);
}

.oc-grid__label {
  margin-bottom: 14px !important;
}

.oc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.oc-grid > li[hidden] {
  display: none;
}

.oc__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #dde3ec;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 26, 48, 0.06), 0 18px 36px -24px rgba(11, 26, 48, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.oc__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(11, 26, 48, 0.06), 0 28px 50px -26px rgba(11, 26, 48, 0.5);
}

.oc__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: linear-gradient(135deg, #0b1a30, #1d3a66);
}

.oc__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.oc__card:hover .oc__media img {
  transform: scale(1.05);
}

.oc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 11, 22, 0) 35%, rgba(5, 11, 22, 0.78) 100%);
  pointer-events: none;
}

.oc__brand {
  position: absolute;
  z-index: 1;
  left: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.5);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 700 clamp(1rem, 1.3vw, 1.2rem)/1.05 var(--f-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.oc__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
}

.oc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.oc__kind {
  color: var(--dm-red);
  font: 800 0.7rem/1.2 var(--f-ui);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oc__when {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  background: #eef2f7;
  color: #33415a;
  font: 700 0.72rem/1 var(--f-ui);
}

.oc__when b {
  padding: 4px 7px;
  border-radius: 999px;
  background: #0b1a30;
  color: #fff;
  font: 700 0.74rem/1 var(--f-display);
  letter-spacing: 0.06em;
}

.oc__when.is-closing { background: #ffe8ea; color: #a1001a; }
.oc__when.is-closing b { background: var(--dm-red); }
.oc__when.is-open { background: #e5f6ea; color: #116b2e; }
.oc__when.is-open b { background: #15803d; }
.oc__when.is-closed { background: #f1f2f4; color: #6b7280; }
.oc__when.is-closed b { background: #9ca3af; }

.oc__title {
  margin: 2px 0 0;
  font: 800 clamp(1.12rem, 1.35vw, 1.32rem)/1.2 var(--f-news);
}

.oc__title a {
  color: var(--news-blue);
  text-decoration: none;
}

.oc__title a:hover {
  text-decoration: underline;
}

.oc__org {
  margin: 0;
  color: #4b5563;
  font: 500 0.88rem/1.4 var(--f-ui);
}

.oc__for {
  margin: 2px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--news-blue);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, #e9f1fd, #f5f8fd);
  color: #0b1a30;
  font: 600 0.9rem/1.4 var(--f-ui);
}

.oc__for-k {
  display: block;
  margin-bottom: 2px;
  color: var(--news-blue);
  font: 800 0.66rem/1 var(--f-ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.oc__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.oc__note {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  color: #4b5563;
  font: 500 0.84rem/1.45 var(--f-ui);
}

.oc__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf0f4;
}

.oc__go {
  color: #0b1a30;
  font: 800 0.8rem/1 var(--f-ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.oc__go span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.oc__go:hover span {
  transform: translateX(4px);
}

/* Application-ready check */
.ready {
  margin-top: 16px;
  border: 1px solid #dde3ec !important;
  background: linear-gradient(160deg, #f5f8fd, #fff) !important;
}

.ready__meter {
  height: 8px;
  margin-top: 12px;
  border-radius: 8px;
  background: #e5e9f0;
  overflow: hidden;
}

.ready__meter i {
  display: block;
  width: var(--p, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--dm-red), #f6c343 60%, #15803d);
  transition: width 0.5s var(--ease);
}

.ready__score {
  margin: 8px 0 6px;
  font: 600 0.86rem/1 var(--f-ui);
}

.ready__score b {
  font: 700 1.3rem/1 var(--f-display);
}

.ready__list,
.ready__tips {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ready__list label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font: 500 0.86rem/1.4 var(--f-ui);
  cursor: pointer;
}

.ready__list input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #15803d;
}

.ready__tips {
  margin-top: 12px;
}

.ready__tips li {
  padding: 9px 11px;
  border-radius: 10px;
  background: #fff6db;
  color: #5b4500;
  font: 500 0.82rem/1.4 var(--f-ui);
}

.credits {
  margin-top: 18px;
  color: #4b5563;
  font: 500 0.8rem/1.5 var(--f-ui);
}

.credits summary {
  font-weight: 800;
  cursor: pointer;
}

.credits ul {
  display: grid;
  gap: 4px;
  margin: 10px 0 0;
  padding-left: 18px;
}

@media (max-width: 1100px) {
  .oc-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .rq {
    grid-template-columns: 1fr;
  }
  .rq__opts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rq__q,
  .rq__result {
    animation: none;
  }
}

/* --------------------------------------------------------------------------
   Health and AI guides: a colour for every topic (data-topic, set per page
   and per card). Cards carry a colour cap, articles a colour band and photo.
   -------------------------------------------------------------------------- */
[data-topic="brain"] { --topic: #0d9488; --topic-2: #5eead4; --topic-soft: #e6fbf7; }
[data-topic="development"] { --topic: #ea580c; --topic-2: #fdba74; --topic-soft: #fff1e6; }
[data-topic="racism-health"] { --topic: #9333ea; --topic-2: #d8b4fe; --topic-soft: #f5ecff; }
[data-topic="motivation"] { --topic: #16a34a; --topic-2: #86efac; --topic-soft: #eafbf0; }
[data-topic="resilience"] { --topic: #db2777; --topic-2: #f9a8d4; --topic-soft: #fdeef6; }
[data-topic="performance"] { --topic: #2563eb; --topic-2: #93c5fd; --topic-soft: #ebf2ff; }
[data-topic="evidence"] { --topic: #b45309; --topic-2: #fcd34d; --topic-soft: #fff7e0; }
[data-topic="foundations"] { --topic: #7c3aed; --topic-2: #c4b5fd; --topic-soft: #f3efff; }
[data-topic="prompting"] { --topic: #0891b2; --topic-2: #67e8f9; --topic-soft: #e7fbff; }
[data-topic="context"] { --topic: #d97706; --topic-2: #fcd34d; --topic-soft: #fff6e0; }
[data-topic="tools"] { --topic: #2563eb; --topic-2: #93c5fd; --topic-soft: #ebf2ff; }
[data-topic="everyday"] { --topic: #059669; --topic-2: #6ee7b7; --topic-soft: #e8fbf3; }
[data-topic="build"] { --topic: #db2777; --topic-2: #f9a8d4; --topic-soft: #fdeef6; }
[data-topic="responsible"] { --topic: #dc2626; --topic-2: #fca5a5; --topic-soft: #fff0f0; }
[data-topic="labs"] { --topic: #65a30d; --topic-2: #bef264; --topic-soft: #f4fde6; }
[data-topic="briefing"] { --topic: #475569; --topic-2: #cbd5e1; --topic-soft: #f1f5f9; }

/* Cards */
.card[data-topic] {
  border-top: 5px solid var(--topic) !important;
  background: linear-gradient(180deg, var(--topic-soft) 0%, #fff 60%) !important;
}

.card[data-topic]:hover {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 26px 46px -28px var(--topic) !important;
}

.card[data-topic] .card__body > .row:first-child .mono:first-child,
.card[data-topic] .mono--accent,
.card[data-topic] .topic-card__station {
  color: var(--topic) !important;
}

.card[data-topic] .card__foot.mono,
.card[data-topic] .mono--gold {
  color: var(--topic) !important;
}

/* Route markers and the line between them */
.station[data-topic] {
  color: var(--topic) !important;
}

.station[data-topic] .station__ring {
  color: var(--topic);
  stroke-width: 4px;
}

.station[data-topic] .station__core {
  opacity: 0.85;
}

.station[data-topic] .lroute__halo {
  fill: var(--topic);
  opacity: 0.18;
}

.station[data-topic] .lroute__label,
.station[data-topic] .station__label {
  fill: var(--topic) !important;
  font-weight: 700;
}

#im-grad stop:nth-child(1), #pl-grad stop:nth-child(1) { stop-color: #0d9488; }
#im-grad stop:nth-child(2), #pl-grad stop:nth-child(2) { stop-color: #ea580c; }
#im-grad stop:nth-child(3), #pl-grad stop:nth-child(3) { stop-color: #9333ea; }
#im-grad stop:nth-child(4), #pl-grad stop:nth-child(4) { stop-color: #16a34a; }
#im-grad stop:nth-child(5), #pl-grad stop:nth-child(5) { stop-color: #db2777; }
#im-grad stop:nth-child(6), #pl-grad stop:nth-child(6) { stop-color: #2563eb; }
#ad-grad stop:nth-child(1), #pw-grad stop:nth-child(1) { stop-color: #7c3aed; }
#ad-grad stop:nth-child(2), #pw-grad stop:nth-child(2) { stop-color: #0891b2; }
#ad-grad stop:nth-child(3), #pw-grad stop:nth-child(3) { stop-color: #d97706; }
#ad-grad stop:nth-child(4), #pw-grad stop:nth-child(4) { stop-color: #db2777; }
#ad-grad stop:nth-child(5), #pw-grad stop:nth-child(5) { stop-color: #059669; }

.lroute__line {
  stroke-width: 5px;
}

/* Hub banners: the coloured word runs through the topic colours */
.im-hero .gilt,
.ad-hero .gilt {
  background: linear-gradient(90deg, #2dd4bf, #a78bfa 45%, #f472b6 75%, #fbbf24) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

.ad-hero .gilt {
  background: linear-gradient(90deg, #22d3ee, #a78bfa 45%, #f472b6 75%, #a3e635) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

/* Topic and article pages: a colour band behind the heading */
main[data-topic] > section:first-child,
main[data-topic] .guide > section:first-child {
  position: relative;
  border-top: 6px solid var(--topic);
  background:
    radial-gradient(ellipse 50% 90% at 100% 0%, color-mix(in srgb, var(--topic-2) 55%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 70% at 0% 100%, color-mix(in srgb, var(--topic-2) 30%, transparent) 0%, transparent 70%),
    linear-gradient(180deg, var(--topic-soft), #fff) !important;
}

main[data-topic] .crumbs a {
  color: var(--topic) !important;
}

main[data-topic] h1.h1::after {
  content: "";
  display: block;
  width: 96px;
  height: 7px;
  margin-top: 16px;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--topic), var(--topic-2));
}

main[data-topic] h1.h1 .plated {
  color: inherit;
}

main[data-topic] .eyebrow {
  --tone: var(--topic);
}

main[data-topic] > section:first-child .tag,
main[data-topic] .guide > section:first-child .tag {
  border-color: color-mix(in srgb, var(--topic) 45%, transparent) !important;
  background: #fff !important;
}

main[data-topic] .longform h2 {
  color: var(--topic);
}

main[data-topic] .longform h2::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 4px;
  background: var(--topic-2);
}

main[data-topic] .panel--gold {
  border-color: color-mix(in srgb, var(--topic) 35%, transparent) !important;
  background: var(--topic-soft) !important;
}

main[data-topic] .panel--gold .mono--gold {
  color: var(--topic) !important;
}

/* Section photo under the heading */
.topic-photo {
  position: relative;
  margin: 26px 0 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 21 / 8;
  box-shadow: 0 24px 50px -30px var(--topic);
}

.topic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.topic-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.topic-photo figcaption {
  position: absolute;
  z-index: 1;
  right: 12px;
  bottom: 10px;
  left: 12px;
  color: rgba(255, 255, 255, 0.92);
  font: 500 0.72rem/1.3 var(--f-ui);
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.topic-photo figcaption a {
  color: inherit;
}

/* Hub topic cards get their section photo on top */
.card[data-topic] .tc-pic {
  display: block;
  margin: -1px -1px 0;
  aspect-ratio: 16 / 7;
  overflow: hidden;
}

.card[data-topic] .tc-pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.card[data-topic]:hover .tc-pic img {
  transform: scale(1.05);
}

@media (max-width: 760px) {
  .topic-photo {
    aspect-ratio: 16 / 9;
  }
}

/* Topic colour on progress rows, banner links and the featured guide */
.im-path__list a[data-topic] {
  --t: var(--topic) !important;
}

.im-path__list a[data-topic] .im-path__name {
  color: var(--topic) !important;
  font-weight: 700;
}

.ad-hero__pillars a[data-topic] .mono,
.im-hero a[data-topic] .mono {
  color: var(--topic-2) !important;
}

article.panel[data-topic] {
  border-top: 5px solid var(--topic) !important;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, color-mix(in srgb, var(--topic-2) 40%, transparent), transparent 70%),
    linear-gradient(180deg, var(--topic-soft), #fff 70%) !important;
}

article.panel[data-topic] .mono--gold,
article.panel[data-topic] .mono:first-child {
  color: var(--topic) !important;
}

/* Programme pages: the organisation's photo behind the heading */
.opp-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 96px) clamp(44px, 4vw, 64px) !important;
  background: #07101e;
  color: #fff;
}

.opp-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.opp-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 72px),
    linear-gradient(90deg, rgba(7, 16, 30, 0.95) 0%, rgba(7, 16, 30, 0.82) 45%, rgba(7, 16, 30, 0.4) 100%),
    linear-gradient(180deg, rgba(7, 16, 30, 0.3), rgba(7, 16, 30, 0.7));
}

.opp-hero__brand {
  display: inline-block;
  margin: 0 0 2px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.45);
  backdrop-filter: blur(10px);
  color: #fff;
  font: 700 clamp(1rem, 1.4vw, 1.25rem)/1.05 var(--f-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.opp-hero .crumbs {
  margin-bottom: 16px;
}

.opp-hero .crumbs a,
.opp-hero .crumbs span {
  color: rgba(255, 255, 255, 0.8) !important;
}

.opp-hero .lede {
  color: rgba(255, 255, 255, 0.88) !important;
}

.opp-hero .tag {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
}

.opp-hero__for {
  max-width: 62ch;
  margin-top: 16px !important;
  border-left-color: #7fb2ff !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  backdrop-filter: blur(8px);
}

.opp-hero__for .oc__for-k {
  color: #9cc4ff;
}

.opp-hero__credit {
  position: absolute;
  right: 16px;
  bottom: 10px;
  left: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font: 500 0.7rem/1.35 var(--f-ui);
  text-align: right;
}

.opp-hero__credit a {
  color: inherit;
}

/* "Also in" lists: photos with the organisation's name */
.opp-line__media.has-photo {
  position: relative;
  overflow: hidden;
}

.opp-line__media.has-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.opp-line__media.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 11, 22, 0.75));
}

.opp-line__brand {
  position: absolute;
  z-index: 1;
  left: 8px;
  right: 8px;
  bottom: 8px;
  color: #fff;
  font: 700 0.8rem/1.1 var(--f-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .opp-hero__credit {
    position: static;
    margin-top: 18px;
    text-align: left;
  }
}

.opp-line__media.has-photo picture {
  position: absolute;
  inset: 0;
}

/* Sharp corners: every card, panel, tile and photo is square-cornered, magazine style.
   Pill buttons, tags and round elements (avatars, dots, monograms) keep their shape. */
:root {
  --radius: 0px;
  --radius-lg: 0px;
}

.card,
.panel,
.home-deck,
.feature,
.trend,
.stats,
.empty,
.pblock,
.ev-row,
.ev-row__thumb,
.ev-feature,
.wire__item,
.wire__thumb,
.wire__date,
.wire__month,
.ended-note,
.tonight-stale,
.discovery-strip a.ds,
.mu-row__cover,
.mu-cover__art,
.opp-card,
.dm__head,
.dm__list,
.dm__item,
.dm__pic,
.dm--home .dm__inner,
.dm--art .dm__inner,
.mono.eyebrow,
.band__label,
main.has-dm .dg-mast__title::before,
.lg__list a,
.rq__panel,
.rq__opt,
.rq__picks a,
.oc__card,
.oc__brand,
.oc__for,
.ready__tips li,
.topic-photo,
.tc-pic,
.opp-hero__brand,
.longform figure img,
.card__media,
.card__media img,
.feature img,
.trend img {
  border-radius: 0 !important;
}

/* Wiki-style people profiles: contents box, sections, quote, fact box, highlights, further reading */
.wk-tags a.tag{text-decoration:none}
.wk-toc{margin-top:28px;border:1px solid var(--rule-soft);background:var(--surface);padding:16px 22px}
.wk-toc p{font-family:var(--f-mono);font-size:var(--t-micro);letter-spacing:.18em;text-transform:uppercase;color:var(--text-3);margin:0 0 8px}
.wk-toc ol{margin:0;padding-left:20px;columns:2;column-gap:32px}
.wk-toc li{font-size:.95rem;line-height:1.75;break-inside:avoid}
.wk-toc a{color:var(--text);text-decoration:none;border-bottom:1px solid var(--rule-gold)}
.wk-sec{margin-top:38px;scroll-margin-top:96px}
.wk-sec h2{font-family:var(--f-display);font-weight:800;font-size:clamp(1.45rem,2.1vw,1.95rem);line-height:1.15;padding-bottom:10px;border-bottom:1px solid var(--rule-soft)}
.wk-body p{font-size:1.04rem;line-height:1.75;color:var(--text);margin:14px 0 0;max-width:72ch}
.wk-body a,.wk-info a,.wk-hl a,.wk-further a{color:var(--gold);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.wk-quote{margin:36px 0 0;padding:4px 0 4px 24px;border-left:3px solid var(--gold);max-width:62ch}
.wk-quote p{font-family:var(--f-display);font-style:italic;font-size:clamp(1.25rem,1.8vw,1.6rem);line-height:1.4;color:var(--text);margin:0}
.wk-quote cite{display:block;margin-top:10px;font-style:normal;font-size:.85rem}
.wk-quote cite a{color:var(--text-3)}
.wk-info{margin-top:18px}
.wk-info table{width:100%;border-collapse:collapse;font-size:.9rem;line-height:1.45}
.wk-info th,.wk-info td{text-align:left;vertical-align:top;padding:9px 0;border-top:1px solid var(--rule-soft)}
.wk-info th{width:36%;padding-right:12px;font-family:var(--f-mono);font-size:var(--t-micro);letter-spacing:.12em;text-transform:uppercase;color:var(--text-3);font-weight:500}
.wk-hl .tl__item p{margin-top:4px}
.wk-further{margin:14px 0 0;padding-left:20px}
.wk-further li{line-height:1.85}
/* On phones and tablets the fact box follows the introduction instead of sitting above the name */
.wk-info--m{display:none}
@media (width<=1023px){.split--intro .wk-info:not(.wk-info--m){display:none}.wk-info--m{display:block;margin-top:24px}}
