/* Fonts, served from this site so text appears sooner: Eczar (headings) and Forum (text), both
   under the SIL Open Font License 1.1 (copyright and license are in each font file). Latin and Latin
   Extended only; other scripts use the fallbacks. */
@font-face {
  font-family: "Eczar";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/eczar-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Eczar";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("assets/fonts/eczar-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/forum-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/forum-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Georgia resized to Eczar's and Forum's proportions, so text doesn't jump when the fonts arrive */
@font-face {
  font-family: "Eczar Fallback";
  src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia");
  font-weight: 400 800;
  size-adjust: 96%;
  ascent-override: 119.1%;
  descent-override: 66%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Forum Fallback";
  src: local("Georgia");
  size-adjust: 91.6%;
  ascent-override: 93.5%;
  descent-override: 27.1%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --ink: #12100c;
  --ink-2: #1c1914;
  --gold: #d49e36;
  --gold-light: #e8c682;
  --paper: #f5f2ea;
  --paper-2: #ece6d8;
  --text: #1a1712;
  --muted: #645c4e;
  --on-ink: #f1ece0;
  --on-ink-muted: rgba(241, 236, 224, 0.7);
  --on-ink-faint: rgba(241, 236, 224, 0.45);
  --display: "Eczar", "Eczar Fallback", Georgia, "Times New Roman", serif;
  --body: "Forum", "Forum Fallback", Georgia, "Times New Roman", serif;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Dark like the header and footer, so a bounce at either end of the page shows no pale strip */
  background: var(--ink);
}

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.25rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

/* On short pages the content grows, so the footer (or the 404 hero) reaches the bottom of the window */
main,
body > .hero:last-child {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nowrap {
  white-space: nowrap;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.5rem 0.875rem;
  background: var(--gold);
  color: var(--ink);
}

.skip-link:focus {
  top: 0.75rem;
}

section {
  padding: 6rem 0;
}

h2 {
  font-weight: 700;
  font-size: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  letter-spacing: -0.01em;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 2px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-line {
  color: var(--on-ink);
  border: 1px solid rgba(241, 236, 224, 0.45);
}

.btn-line:hover {
  border-color: var(--on-ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
}

.btn-ink:hover {
  background: var(--ink-2);
  color: var(--gold-light);
}

/* Hero: festival footage under a warm dark wash */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(94vh, 58rem);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--on-ink);
}

/* Hero reel: festival clips wrapped around a large turning drum behind the hero */

.reel {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  perspective: 1600px;
  perspective-origin: 62% 50%;
  background: var(--ink);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.drum {
  position: absolute;
  left: 66%;
  top: 52%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  /* Tilted toward the viewer and to the side, so the rings run diagonally past the headline.
     The rings spin around the tilted axis. */
  transform: translateZ(var(--depth, -900px)) rotateX(-13deg) rotateZ(-20deg) rotateY(var(--spin, 0deg));
}

/* The drum is built just after the page loads and fades in. The fade is on the reel, which is
   flat, because fading the 3D drum itself would flatten it. */
.reel:not(.is-built) {
  opacity: 0;
}

.reel.is-built {
  opacity: 1;
  transition: opacity 1.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .reel.is-built {
    transition: none;
  }
}

.ring {
  position: absolute;
  left: 0;
  transform-style: preserve-3d;
}

.reel-tile {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  border-radius: 3px;
  background-color: var(--ink-2);
  background-size: cover;
  background-position: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 0 0 1px rgba(212, 158, 54, 0.18), 0 10px 30px rgba(0, 0, 0, 0.45);
}

.reel-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  pointer-events: none;
}

.reel-frame.front {
  z-index: 2;
}

.reel-frame.on {
  opacity: 1;
}

/* The playing videos, out of sight: their pictures are drawn onto the tiles' canvases */
.reel-sources {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.reel-sources video {
  display: block;
  width: 1px;
  height: 1px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(0deg, var(--ink) 0%, rgba(18, 16, 12, 0) 38%),
    linear-gradient(90deg, rgba(18, 16, 12, 0.94) 0%, rgba(18, 16, 12, 0.8) 40%, rgba(18, 16, 12, 0.5) 100%),
    var(--grain);
}

.bar {
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  width: 168px;
}

.bar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
}

.bar nav a {
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--on-ink-muted);
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.bar nav a:hover {
  color: var(--on-ink);
  border-bottom-color: var(--gold);
}

/* The text is centred in the space under the header, with the gaps between its parts
   growing on taller screens instead of one large gap above it. */
.hero-copy {
  flex: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.5rem, 4.2vh, 3rem);
}


.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
  line-height: 1.45;
  color: var(--on-ink-muted);
}

.hero h1 {
  overflow-wrap: normal;
  font-weight: 800;
  font-size: clamp(3rem, 1.6rem + 6.4vw, 6.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 13ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.accent {
  color: var(--gold);
}

.hero-sub {
  max-width: 32rem;
  font-size: 1.15rem;
  color: var(--on-ink-muted);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(212, 158, 54, 0.45);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* About */

.about {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
}

/* A brass bell at the left edge, seen from the side, with gold sound waves rolling out of it
   behind the heading. Very faint, like the Boléro staff behind Our Work. */
.about-bell {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: -9rem;
  width: 47.5rem;
  height: auto;
  transform: translateY(-50%);
  overflow: visible;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
  /* Very faint, so it never competes with the heading */
  opacity: 0.2;
}

.bell-body {
  stroke: var(--gold);
  stroke-width: 2.6;
  opacity: 0.6;
}

.bell-body .fine {
  stroke-width: 1.2;
  opacity: 0.6;
}

.bell-body .glow {
  stroke: none;
}

.bell-waves path {
  stroke: var(--gold);
  stroke-width: 2;
  opacity: calc(0.5 - var(--i) * 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .bell-waves path {
    animation: bell-wave 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.45s);
  }
}

/* Each wave swells and fades in turn, so the sound seems to roll outward */
@keyframes bell-wave {
  0%, 100% {
    opacity: calc(0.18 - var(--i) * 0.025);
  }
  25% {
    opacity: calc(0.6 - var(--i) * 0.09);
  }
}

.about .wrap {
  position: relative;
  isolation: isolate;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem 4.5rem;
  align-items: start;
}

.split p {
  font-size: 1.35rem;
  line-height: 1.55;
  padding-top: 0.4rem;
}

/* By the Numbers */

.numbers {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--ink);
  background-image: var(--grain);
  color: var(--on-ink);
}

.numbers .wrap {
  position: relative;
}

.ticker {
  margin-top: 3rem;
  padding: 2.5rem 0 2.75rem;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(241, 236, 224, 0.14);
  display: grid;
  grid-template-columns: minmax(0, 32rem) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: center;
}

.ticker-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem);
  line-height: 1.1;
  color: var(--gold-light);
}

.ticker-note {
  margin-top: 0.9rem;
  font-size: 1.2rem;
  color: var(--on-ink-muted);
}

/* The counter sits in the metronome's window. Sizes follow the device's width. */
.ticker-device {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
}

.ticker-value {
  position: absolute;
  left: 13.46%;
  top: 61.15%;
  width: 73.08%;
  height: 23.85%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.6rem);
  font-size: 11.8cqi;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Without the script, the plain number shows; with it, the counter does. */
.odometer {
  display: none;
}

.ticker.is-live .odometer {
  display: inline-flex;
  align-items: center;
  gap: 0.07em;
}

.ticker.is-live .ticker-count {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Each digit is a wheel in a dark window, shaded top and bottom like a drum. */
.odo-digit {
  position: relative;
  display: inline-block;
  width: 0.74em;
  height: 1.15em;
  overflow: hidden;
  border-radius: 0.09em;
  background: linear-gradient(180deg, #0b0a07, #221e17 50%, #0b0a07);
  box-shadow: inset 0 0 0 1px rgba(212, 158, 54, 0.3), 0 0.06em 0.18em rgba(0, 0, 0, 0.5);
}

.odo-digit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}

.odo-strip {
  display: block;
}

.odo-strip span {
  display: block;
  height: 1.15em;
  line-height: 1.15em;
  text-align: center;
}

.odo-sep {
  width: 0.24em;
  align-self: flex-end;
  color: var(--gold);
}

/* Metronome: the arm swings once a second; a new lesson lands on every 360th beat. */
.metronome {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.metronome-case {
  fill: #1f1b15;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linejoin: round;
}

.metronome-face {
  fill: #2b251c;
}

.metronome-window {
  fill: #0b0a07;
  stroke: rgba(212, 158, 54, 0.55);
  stroke-width: 2;
}

.metronome-plinth {
  fill: #2a241b;
  stroke: var(--gold);
  stroke-width: 2;
}

.metronome-rod {
  stroke: var(--gold-light);
  stroke-width: 5;
  stroke-linecap: round;
}

.metronome-weight,
.metronome-pivot {
  fill: var(--gold);
}

.metronome-notch {
  stroke: #1f1b15;
  stroke-width: 2;
}

.metronome-arm {
  transform-box: view-box;
  transform-origin: 260px 300px;
  animation: swing 2s ease-in-out infinite;
}

@keyframes swing {
  0%,
  100% {
    transform: rotate(-20deg);
  }
  50% {
    transform: rotate(20deg);
  }
}

.metronome.tick .metronome-weight {
  animation: weight-flash 1.4s ease-out;
}

@keyframes weight-flash {
  0% {
    fill: #fff3d6;
  }
  100% {
    fill: var(--gold);
  }
}

@media (prefers-reduced-motion: reduce) {
  .metronome-arm {
    animation: none;
    transform: rotate(-12deg);
  }
}

.figures {
  display: grid;
  /* The first figure ($5,000,000+) is the longest, so it gets the widest column. */
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem 2rem;
  margin: 2.75rem 0 0;
}

.figures div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  /* Each figure keeps to its column; main.js shrinks a figure that doesn't fit */
  min-width: 0;
  padding-top: 1.1rem;
  border-top: 2px solid var(--gold);
}

.figures dd {
  position: relative;
  margin: 0;
  padding-top: 1.35rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.9rem + 2.2vw, 3.9rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.figures small {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--gold-light);
}

.figures dt {
  margin-top: 0.6rem;
  color: var(--on-ink-muted);
  font-size: 1.1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.reach {
  margin-top: 5.5rem;
}

.reach h3 {
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  letter-spacing: -0.01em;
}

.flag-belts {
  margin-top: 2rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.flag-belts-bottom {
  margin-top: 1.25rem;
}

.belt-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: belt 70s linear infinite;
}

.belt-bottom .belt-track {
  animation-direction: reverse;
  animation-duration: 64s;
}

.belt-track img {
  display: block;
  width: 40px;
  height: 30px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(241, 236, 224, 0.18);
}

@keyframes belt {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 6px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .belt-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }

  .belt-track .dup {
    display: none;
  }
}

.world-map {
  margin-top: 1.25rem;
  aspect-ratio: 1200 / 453;
}

.world {
  display: block;
  width: 100%;
  height: auto;
}

.world .dots path {
  fill: none;
  stroke: rgba(241, 236, 224, 0.2);
  stroke-width: 3.8;
  stroke-linecap: round;
  transition: stroke 0.3s;
}

.world .glow {
  fill: var(--gold);
  opacity: 0.12;
}

.world .metro {
  fill: var(--gold);
}

.world .hub,
.legend .hub {
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
}

.world .hq-ring,
.legend .hq-ring {
  fill: rgba(232, 198, 130, 0.12);
  stroke: var(--gold-light);
  stroke-width: 2.2;
}

.world .hq-dot,
.legend .hq-dot {
  fill: var(--gold-light);
}

.legend .glow {
  fill: var(--gold);
  opacity: 0.16;
}

.legend .metro {
  fill: var(--gold);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
  color: var(--on-ink-muted);
  font-size: 1.05rem;
}

.reach-note {
  max-width: 40rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(241, 236, 224, 0.14);
  font-size: 1.2rem;
  color: var(--on-ink-muted);
}

.reach-note a {
  display: block;
  width: fit-content;
  margin-top: 0.35rem;
  color: var(--gold-light);
}

.legend li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.legend svg {
  width: 1.4rem;
  height: 1.4rem;
  flex: none;
}

/* Work: printed staff texture behind the heading */

.work {
  position: relative;
  overflow: hidden;
  background-color: var(--paper-2);
  container-type: inline-size;
}

.work::before {
  content: "";
  position: absolute;
  top: 3.5rem;
  left: 0;
  right: 0;
  /* The four Boléro bars (1600 x 150) are centered and shrink to fit any screen narrower than them,
     so they're never cut off; the staff's five lines run the full width behind them */
  height: min(150px, 9.375vw);
  height: min(150px, 9.375cqw);
  background:
    url("assets/staff.svg") center / auto 100% no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='150' viewBox='0 0 16 150'%3E%3Cpath d='M0 40H16M0 56H16M0 72H16M0 88H16M0 104H16' stroke='%2312100c' stroke-width='1.2'/%3E%3C/svg%3E") left center / auto 100% repeat-x;
  opacity: 0.08;
  pointer-events: none;
}

.work .wrap {
  position: relative;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.trio article {
  border-top: 1px solid rgba(18, 16, 12, 0.18);
  padding-top: 1.25rem;
}

.trio h3 {
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.trio p,
.initiatives {
  color: #3a352c;
}

.initiatives li {
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(18, 16, 12, 0.1);
}

.initiatives li:last-child {
  border-bottom: 0;
}

.initiatives li::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 0.7rem 0.15rem 0;
  border-radius: 50%;
  background: var(--gold);
}

/* Watch */

.watch {
  background-color: var(--ink);
  background-image: var(--grain);
  color: var(--on-ink);
}

.watch-head,
.sponsor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 4.5rem;
  align-items: end;
}

.watch-head p {
  color: var(--on-ink-muted);
  font-size: 1.2rem;
}

.videos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  margin-top: 3rem;
}

.video,
.videos iframe {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--ink-2);
}

.video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
  opacity: 0.88;
}

.video:hover img {
  opacity: 1;
}

.play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  border-radius: 50%;
  background: rgba(18, 16, 12, 0.72);
  border: 1px solid rgba(212, 158, 54, 0.8);
  transition: background-color 0.2s;
}

.play::after {
  content: "";
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 0.5rem 0 0.5rem 0.8rem;
  border-color: transparent transparent transparent var(--gold);
}

.video:hover .play {
  background: rgba(18, 16, 12, 0.9);
}

.videos h3 {
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-top: 0.85rem;
}

.videos p {
  font-size: 1rem;
  color: var(--on-ink-faint);
  margin-top: 0.15rem;
}

.podcast {
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(241, 236, 224, 0.14);
}

.podcast-title {
  font-weight: 700;
  font-size: 1.6rem;
}

.guests {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.75rem 1.5rem;
  margin-top: 1.75rem;
}

.guests a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.guests img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 3px;
  filter: grayscale(0.35) sepia(0.2);
  opacity: 0.9;
  transition: filter 0.3s, opacity 0.3s;
}

.guests a:hover img {
  filter: none;
  opacity: 1;
}

.guest {
  margin-top: 0.75rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
}

.ep {
  font-size: 0.95rem;
  color: var(--on-ink-faint);
}

.channel {
  margin-top: 3.5rem;
  font-size: 1.1rem;
}

.channel a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 158, 54, 0.5);
}

.channel a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

/* Sponsors */

.logo-wall {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}

.logo-wall a {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--muted);
  transition: color 0.2s;
}

.logo-wall a:hover {
  color: var(--ink);
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  min-height: 0;
  overflow: hidden;
  padding: 0.9rem;
  background: #fff;
  border: 1px solid rgba(18, 16, 12, 0.1);
  border-radius: 3px;
  transition: border-color 0.2s;
}

.logo-wall a:hover .tile {
  border-color: var(--gold);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sponsor-name {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--muted);
}

.tile-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #1f1b16;
}

.tile-word-small {
  font-size: 1.15rem;
  line-height: 1.15;
  text-align: center;
}

.tile img.logo-dark {
  filter: brightness(0);
  opacity: 0.85;
}

.tile img.logo-invert {
  filter: invert(1);
}

/* Join */

.join {
  background-color: var(--gold);
  background-image: var(--grain);
  color: var(--ink);
  padding: 4.5rem 0;
}

.join-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem 4.5rem;
  align-items: center;
}

.join h2 {
  margin-bottom: 0.75rem;
}

.join p {
  font-size: 1.25rem;
}

.join-actions {
  justify-self: end;
  text-align: right;
}

.join-note {
  margin-top: 0.9rem;
  font-size: 1rem !important;
}

/* Contact */

.contact {
  background-color: var(--ink);
  background-image: var(--grain);
  color: var(--on-ink);
  padding: 6rem 0 2.5rem;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1.25rem;
}

.email {
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
}

.email a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 158, 54, 0.5);
  transition: border-color 0.2s, color 0.2s;
}

.email a:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold-light);
}

.hubs-title {
  margin-top: 2.75rem;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.hq + .hubs-title {
  margin-top: 1.75rem;
}

.hq {
  margin-top: 0.6rem;
  font-size: 1.3rem;
  color: var(--on-ink);
}

.places {
  margin: 0.75rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  max-width: 48rem;
  color: var(--on-ink-muted);
  font-size: 1.1rem;
}

.places li + li::before {
  content: "\00B7";
  margin: 0 0.75rem;
  color: var(--gold);
}

.social {
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
  font-size: 1.05rem;
}

.social a {
  color: var(--on-ink-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.social a:hover {
  color: var(--on-ink);
  border-bottom-color: var(--gold);
}

.contact-slim {
  padding: 3.5rem 0 2rem;
}

.contact-slim .fine {
  margin-top: 1.5rem !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bar nav {
  align-items: center;
}

.bar nav a.nav-donate {
  padding: 0.3rem 0.95rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold-light);
}

.bar nav a.nav-donate:hover {
  background: var(--gold);
  color: var(--ink);
  border-bottom-color: var(--gold);
}

.lang {
  position: relative;
}

.lang summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(241, 236, 224, 0.3);
  border-radius: 2px;
  color: var(--on-ink-muted);
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary::after {
  content: "";
  margin-left: 0.15rem;
  border-style: solid;
  border-width: 5px 4px 0;
  border-color: var(--gold-light) transparent transparent;
}

.lang summary:hover,
.lang[open] summary {
  border-color: var(--gold);
  color: var(--on-ink);
}

.lang img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lang-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.4rem);
  z-index: 40;
  width: 15rem;
  max-height: min(60vh, 26rem);
  overflow-y: auto;
  padding: 0.35rem;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

/* Google's website translator: hide its toolbar, hover popups and highlight. */

body {
  top: 0 !important;
}

body > .skiptranslate,
#google-translate,
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.lang-list .lang-head {
  padding: 0.75rem 0.6rem 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-list a,
.bar nav .lang-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.6rem;
  border: 0;
  border-radius: 3px;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
}

.lang-list a:hover,
.lang-list a:focus-visible,
.lang-list a[aria-current],
.bar nav .lang-list a:hover {
  background: var(--paper-2);
  color: var(--text);
}

.join-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.btn-ink-line {
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-ink-line:hover {
  background: var(--ink);
  color: var(--gold-light);
}

/* Shop page */

.shop {
  padding-top: 4rem;
}

.shop-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 1.5rem 4.5rem;
  align-items: end;
}

.shop h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
}

.shop-head p {
  color: var(--muted);
  font-size: 1.2rem;
}

.price {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: #8a5f0f;
}

.size {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: var(--muted);
}

.size select {
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(18, 16, 12, 0.25);
  border-radius: 2px;
  background: #fff;
  font-family: var(--body);
  font-size: 1rem;
}

.size-note {
  font-size: 1rem;
  color: var(--muted);
}

.shop-note {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(18, 16, 12, 0.14);
  color: var(--muted);
  font-size: 1.1rem;
}

.shop-note a {
  color: #8a5f0f;
}

/* Archive page */

.page-head {
  background-color: var(--ink);
  background-image: var(--grain);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(241, 236, 224, 0.12);
}

.page-archive .watch h1 {
  font-weight: 800;
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
}

.archive-title {
  margin-top: 3.5rem;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.archive-title + .videos {
  margin-top: 1.75rem;
}

.fine {
  margin-top: 4.5rem;
  font-size: 0.95rem;
  color: var(--on-ink-faint);
}

/* Responsive */

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

  .figures div:first-child {
    grid-column: 1 / -1;
  }

  .guests {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

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

  .ticker-device {
    max-width: 26rem;
  }

  .split,
  .shop-head,
  .watch-head,
  .sponsor-head,
  .join-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .trio {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .join-actions {
    justify-self: start;
    text-align: left;
  }

  .join-buttons {
    justify-content: flex-start;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 1.15rem;
  }

  .wrap {
    padding: 0 1.25rem;
  }

  section {
    padding: 4.25rem 0;
  }

  .bar {
    padding: 1.25rem 1.25rem 0;
  }

  .logo img {
    width: 132px;
  }

  .bar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.15rem;
  }

  .bar nav a {
    font-size: 1.05rem;
  }

  .hero {
    min-height: 0;
  }

  .drum {
    left: 50%;
    top: 50%;
  }

  .reel {
    perspective-origin: 50% 45%;
  }

  .hero::before {
    background:
      linear-gradient(0deg, var(--ink) 0%, rgba(18, 16, 12, 0) 45%),
      linear-gradient(rgba(18, 16, 12, 0.8), rgba(18, 16, 12, 0.8)),
      var(--grain);
  }

  .hero-copy {
    padding: 3.5rem 1.25rem 4.5rem;
  }

  .actions {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .actions .btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 0.7rem 0.75rem;
    font-size: 1rem;
  }

  .about {
    padding: 4rem 0;
  }

  .about-bell {
    top: -2.5rem;
    left: -2.5rem;
    width: 22rem;
    transform: none;
  }

  .split p {
    font-size: 1.2rem;
  }

  .ticker {
    margin-top: 2.25rem;
    padding: 1.75rem 0 2rem;
  }

  .ticker-label {
    font-size: 1.6rem;
  }

  .ticker-note {
    font-size: 1.05rem;
  }

  .figures {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    margin-top: 2.25rem;
  }

  .figures dd {
    font-size: 2.4rem;
  }

  .figures small {
    font-size: 0.9rem;
  }

  .figures dt {
    font-size: 0.98rem;
  }

  .reach {
    margin-top: 3.5rem;
  }

  .world-map {
    margin: 1.5rem -0.5rem 0;
  }

  .videos {
    gap: 1.5rem 1rem;
    margin-top: 2.25rem;
  }

  .play {
    width: 2.5rem;
    height: 2.5rem;
    margin: -1.25rem 0 0 -1.25rem;
  }

  .play::after {
    border-width: 0.4rem 0 0.4rem 0.65rem;
  }

  .videos h3 {
    font-size: 1rem;
    margin-top: 0.6rem;
  }

  .videos p {
    font-size: 0.9rem;
  }

  .guests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }

  .work::before {
    top: 2.25rem;
    height: 110px;
  }

  .logo-wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 0.75rem;
  }

  .logo-wall a {
    font-size: 0.85rem;
  }

  .tile {
    padding: 0.5rem;
  }

  .join {
    padding: 3.75rem 0;
  }

  .contact {
    padding-top: 4.5rem;
  }

  .places {
    display: grid;
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 0.3rem 1.75rem;
  }

  .places li + li::before {
    content: none;
  }

  .places li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .fine {
    margin-top: 3.5rem;
  }
}
