/* ==========================================================================
   Indus Conclave · site styles
   Montserrat · teal, orange, rust and olive on cream · the illustrated Indus
   blocks · speckled headlines · flat, hard-edged blocks. Monsoon Salons keeps
   its own identity (navy, bone, Maroni, Kateka, Founders Grotesk) wherever it
   appears. Motion uses transform and opacity only.
   ========================================================================== */
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Maroni"; src: url("../fonts/Maroni-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Kateka"; src: url("../fonts/Kateka-Regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Founders Grotesk"; src: url("../fonts/FoundersGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Founders Grotesk"; src: url("../fonts/FoundersGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --teal-900: #02313B; --teal-700: #00626F; --teal-500: #0E8E92;
  --orange-500: #FE8F02; --orange-300: #FBBB6E;
  --rust-600: #B32802; --olive-600: #6B6B22; --olive-500: #85852F;
  --cream-100: #F7F5E8; --cream-200: #EFEAD6;
  --muted: #5E5A4E;
  /* Monsoon Salons */
  --bone: #eee6d5; --abyss: #001c4c; --madder: #a06160;

  --header-h: 64px;
  --band-h: 48px;                        /* set by the hero, so whole blocks fit above the bands */
  --tab-h: min(var(--band-h), 48px);     /* how much of each band shows once they stack under the header */
  --bands: 4;
  --gutter: clamp(16px, 3.4vw, 56px);
  --io: cubic-bezier(0.65, 0, 0.35, 1);
  --io4: cubic-bezier(0.76, 0, 0.24, 1);
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --distress: url("../img/distress-mask.png");
}
*, *::before, *::after { box-sizing: border-box; }
[hidden]:not([hidden="until-found"]) { display: none !important; }   /* filtered-out recordings, empty link lists and the like */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream-100); color: var(--teal-900);
  font-family: Montserrat, "Segoe UI", Arial, sans-serif; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure, address { margin: 0; }
ul, ol { list-style: none; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.arrow { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.speckle { -webkit-mask-image: var(--distress); mask-image: var(--distress); -webkit-mask-size: 420px 420px; mask-size: 420px 420px; }
/* the rounded, worn lettering of the Indus posts, for bylines: a heavy geometric face,
   its corners softened by a filter (#rough-l, #rough-s in the page) and worn by a print mask */
.rough {
  font-family: Poppins, Montserrat, "Segoe UI", sans-serif; font-weight: 700; letter-spacing: 0.02em;
  filter: url(#rough-l);
  -webkit-mask-image: url("../img/grit-mask.png"); mask-image: url("../img/grit-mask.png");
  -webkit-mask-size: 720px 720px; mask-size: 720px 720px;
}

.skip { position: absolute; z-index: 200; left: 12px; top: -60px; padding: 12px 16px; background: var(--teal-900); color: var(--cream-100); font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Header ------------------------------------------------------------------ */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; height: var(--header-h); background: var(--cream-100); border-bottom: 3px solid var(--teal-900); }
.hdr__in { height: 100%; display: flex; align-items: stretch; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.hdr__logo { display: flex; align-items: center; }
.hdr__logo img { width: 124px; height: auto; }
.nav { display: flex; align-items: stretch; }
.nav__list { display: flex; align-items: stretch; gap: 4px; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list > li > a, .nav__grp > button, .menu-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px;
  border: 0; background: none; color: inherit; cursor: pointer; text-decoration: none;
  font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.nav__list > li > a:hover, .nav__grp > button:hover, .nav__grp.open > button { color: var(--rust-600); }
.nav__list > li > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }
.nav__grp > button svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform 200ms var(--io); }
.nav__grp.open > button svg { transform: rotate(180deg); }
.nav__menu {
  position: absolute; top: 100%; left: 0; min-width: 232px; padding: 6px 0;
  background: var(--cream-100); border: 3px solid var(--teal-900);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms var(--io), transform 220ms var(--io), visibility 0s linear 220ms;
}
.nav__grp:nth-last-child(-n+2) .nav__menu { left: auto; right: 0; }
.nav__grp.open .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 760px) {
  .nav__grp:hover .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__grp:hover > button { color: var(--rust-600); }
}
.nav__menu a { display: flex; align-items: center; min-height: 42px; padding: 0 18px; white-space: nowrap; font-size: 15px; font-weight: 700; text-decoration: none; }
.nav__menu a:hover { background: var(--teal-900); color: var(--cream-100); }
.nav__menu a[aria-current="page"] { color: var(--rust-600); }
.menu-btn { display: none; padding-right: 0; }

/* ==========================================================================
   HERO · the blocks part
   One field of blocks on one grid: illustrated blocks alternate with solid
   colour blocks; the text box and the Now block sit on the same grid.
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - var(--header-h)); min-height: 520px;
  background: var(--cream-100); container-type: inline-size;
  --cols: 9;
  --bc: 1; --br: 0; --bw: 5; --bh: 2;          /* the text box, in grid cells */
  --nc: 6; --nr: 2; --nw: 3; --nh: 1;          /* the Now block */
}
.hero__in { position: absolute; inset: 0; --pc: calc(100vw / var(--cols)); }
@supports (width: 1cqw) { .hero__in { --pc: calc(100cqw / var(--cols)); } }
.field { position: absolute; inset: 0; z-index: 12; animation: fade-in 0.9s var(--io) both; }
.hero__in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--last, 99) * var(--pc)); background: var(--teal-900); }
.hero[data-state~="up"] .field { z-index: auto; }
.cell { position: absolute; left: 0; top: 0; width: var(--pc); height: var(--pc); }
.cube { position: absolute; inset: 0; will-change: transform; }   /* moved by hero.js, always to whole screen pixels */
.cell.away { visibility: hidden; }
.face { position: absolute; inset: 0; overflow: hidden; }
.face img { width: 100%; height: 100%; max-width: none; }
.face.s img, .face.blank img { visibility: hidden; }

.hero__box {
  position: absolute; z-index: 10;
  left: calc(var(--bc) * var(--pc)); top: calc(var(--br) * var(--pc));
  width: calc(var(--bw) * var(--pc)); height: calc(var(--bh) * var(--pc));
  display: flex; flex-direction: column; justify-content: center; gap: calc(var(--pc) * 0.13);
  padding: 0 calc(var(--pc) * 0.26);
  background: var(--cream-100);
}
.hero__title { font-size: calc(var(--pc) * 0.68); font-weight: 800; line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase; }
.hero__title .ln { display: block; overflow: hidden; padding-bottom: 0.05em; margin-bottom: -0.05em; }
.hero__title .ln > span { display: block; animation: rise 1.3s var(--out) both 1.55s; }
.hero__title .ln + .ln > span { animation-delay: 1.68s; }
/* Punjab Group presents */
.hero__pre { display: flex; align-items: center; gap: calc(var(--pc) * 0.065); animation: fade-in 1.2s var(--io) both 1.25s; }
.hero__pre img { width: auto; height: calc(var(--pc) * 0.26); translate: 0 calc(var(--pc) * -0.032); }   /* small (17 November); "presents" lines up with the Punjab Group wordmark */
.hero__pre span { font-size: max(10.5px, calc(var(--pc) * 0.068)); font-weight: 700; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; }
.hero.settled .hero__title .ln > span, .hero.settled .hero__pre { animation: none; }
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fade-in { from { opacity: 0; } }

/* Now: the one block in Monsoon Salons' own colours, a door to its section */
.hero__now {
  position: absolute; z-index: 11;
  left: calc(var(--nc) * var(--pc)); top: calc(var(--nr) * var(--pc));
  width: calc(var(--nw) * var(--pc)); height: calc(var(--nh) * var(--pc));
  display: grid; grid-template-columns: auto 1fr; align-content: center; gap: 0 calc(var(--pc) * 0.1);
  padding: calc(var(--pc) * 0.12);
  background: var(--abyss); color: var(--bone); text-decoration: none;
  font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif;
}
.hero__now img { grid-row: 1 / span 3; width: calc(var(--pc) * 0.42); height: auto; align-self: center; }
.hero__now small { font-size: max(11px, calc(var(--pc) * 0.065)); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.hero__now strong { font-family: Maroni, "Arial Narrow", sans-serif; font-weight: 400; font-size: calc(var(--pc) * 0.19); line-height: 0.92; letter-spacing: 0.01em; text-transform: uppercase; }
.hero__now span { display: flex; align-items: center; gap: 8px; margin-top: calc(var(--pc) * 0.05); font-size: max(13px, calc(var(--pc) * 0.083)); font-weight: 500; }
.hero__now .arrow { stroke-width: 2; transition: transform 200ms var(--io); }
.hero__now:hover .arrow { transform: translateX(4px); }
.hero__now:hover strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.hero__now:focus-visible { outline-color: var(--orange-500); outline-offset: -6px; }

/* ==========================================================================
   Chapter bands: the page index. On arrival all three wait at the foot of the
   screen; as you read, they lift and stack under the header.
   ========================================================================== */
.chapters { position: relative; }   /* no overflow or transform here: the bands are sticky */
.anchor { display: block; height: 0; scroll-margin-top: calc(var(--header-h) + var(--i) * var(--tab-h)); }
.band {
  position: sticky; z-index: calc(40 + var(--i));
  top: calc(var(--header-h) + var(--i) * var(--tab-h));
  bottom: calc((var(--bands) - 1 - var(--i)) * var(--band-h));
  height: var(--band-h); background: var(--bb); color: var(--bt);
}
.band.b0 { --bb: var(--teal-900); --bt: var(--cream-100); }
.band.b1 { --bb: var(--rust-600); --bt: var(--cream-100); }
.band.b2 { --bb: var(--orange-500); --bt: var(--teal-900); }
.band.b3 { --bb: var(--teal-700); --bt: var(--cream-100); }
.band a {
  /* the label sits centred in the band, but always inside the part that shows once the bands stack */
  display: flex; align-items: center; height: min(var(--band-h), calc(var(--tab-h) * 2 - 20px)); padding-inline: var(--gutter);
  text-decoration: none; font-size: 16px; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
}
.band a:hover span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.band a:focus-visible { outline-color: var(--bt); outline-offset: -5px; }
/* Programmes: two bands, which work as the homepage's do: they wait at the foot of
   the screen until you reach them, then stack under the header */
.prog-page { --bands: 2; }
.prog-page .psec { padding-top: clamp(40px, 5vw, 80px); }

/* ==========================================================================
   Mission statement
   ========================================================================== */
.mission { position: relative; padding-block: clamp(56px, 8vw, 120px) clamp(64px, 9vw, 136px); }
.mission__grid { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(36px, 4.4vw, 64px) 24px; }
.mission__lede {
  grid-column: 1 / span 11;
  font-size: clamp(36px, 5.2vw, 86px); line-height: 1.06;
  text-wrap: balance;
}
/* a line drawing from the Indus set beside the statement; it scrolls with the text */
.mission__art { grid-column: 1 / span 3; align-self: start; }
.mission__art { padding-right: clamp(20px, 2.8vw, 44px); }
.mission__art img { width: 100%; height: auto; }
.mission__body { grid-column: 4 / span 7; max-width: 68ch; }
.mission__body p { font-size: clamp(17px, 1.45vw, 21px); font-weight: 500; line-height: 1.62; text-wrap: pretty; }
.mission__body p + p { margin-top: 1.1em; }

/* ==========================================================================
   Spotlight: Monsoon Salons (its own identity)
   ========================================================================== */
.ms { position: relative; overflow: hidden; background: var(--abyss); color: var(--bone); font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif; }
.ms :focus-visible { outline-color: var(--bone); }
.ms__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; padding-block: clamp(48px, 6vw, 88px); }
.ms__head { grid-column: 1 / span 7; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; container-type: inline-size; }
.ms__art { grid-column: 8 / -1; grid-row: 1; margin-right: calc(var(--gutter) * -1); margin-block: calc(clamp(48px, 6vw, 88px) * -1); min-height: 560px; }
.ms__art picture, .ms__art img { width: 100%; height: 100%; }
.ms__art img { object-fit: cover; object-position: 62% 40%; }
/* Monsoon Salons, then a clear space, then who presents it; Black Cat Café at the far end, beside the art */
/* the two credit labels share one line; the Monsoon Salons and Indus Conclave logos lead, Black Cat Café a little smaller */
.ms__lockup { align-self: stretch; display: flex; align-items: flex-start; gap: clamp(40px, 5.5cqi, 72px); margin-bottom: clamp(14px, 2cqi, 30px); }
.ms__mark { width: 116px; height: auto; flex: none; }
.ms__credit { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 6px; }
.ms__credit img { width: 146px; height: auto; }
.ms__credit--bc { margin-left: auto; margin-right: clamp(16px, 4cqi, 44px); }
.ms__credit--bc img { width: 80px; }
.ms__label { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.ms__title { font-family: Maroni, "Arial Narrow", sans-serif; font-weight: 400; font-size: clamp(44px, 15.6cqi, 132px); line-height: 0.9; letter-spacing: 0.01em; text-transform: uppercase; }
.ms__title span { display: block; }
.ms__date { font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.ms__body { font-size: 18px; line-height: 1.5; max-width: 50ch; }
.ms__btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; background: var(--bone); color: var(--abyss); border: 1px solid var(--bone); text-decoration: none; font-size: 15px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: background 160ms var(--io), color 160ms var(--io); }
.ms__btn:hover { background: transparent; color: var(--bone); }
.ms__btn .arrow { translate: 0 -3px; }   /* centred on the capitals, not the line */
/* the whole spotlight block is the link to the Monsoon Salons page */
.ms__btn--block::after { content: ""; position: absolute; z-index: 1; inset: 0; }
.ms:has(.ms__btn--block):hover .ms__btn { background: transparent; color: var(--bone); }

/* ==========================================================================
   Programmes
   ========================================================================== */
.sec { padding-block: clamp(56px, 8vw, 120px); }
.sec__lede { max-width: 40ch; font-size: clamp(24px, 2.8vw, 44px); line-height: 1.18; text-wrap: balance; filter: url(#rough-s); -webkit-mask-size: 520px 520px; mask-size: 520px 520px; }
.progs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); }
.prog { position: relative; display: flex; flex-direction: column; gap: 16px; min-height: clamp(420px, 38vw, 560px); padding: clamp(20px, 2.4vw, 36px); text-decoration: none; }
.prog--ws { background: var(--orange-500); color: var(--teal-900); }
.prog--wf { background: var(--teal-700); color: var(--cream-100); }
.prog--ms { background: var(--abyss); color: var(--bone); }
.prog__tile { align-self: flex-end; width: 34%; aspect-ratio: 1; margin: calc(clamp(20px, 2.4vw, 36px) * -1) calc(clamp(20px, 2.4vw, 36px) * -1) 0 0; }
.prog__tile img { width: 100%; height: 100%; }
.prog--ms .prog__tile { padding: 4%; }
.prog--ms .prog__tile img { height: auto; }
.prog h3 { font-size: clamp(30px, 3.4vw, 56px); font-weight: 800; line-height: 0.92; letter-spacing: -0.03em; text-transform: uppercase; }
.prog p { max-width: 34ch; margin-top: auto; font-size: 16px; font-weight: 600; line-height: 1.45; }
.prog .go { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.prog .go .arrow { transition: transform 160ms var(--io); }
.prog:hover .go .arrow { transform: translateX(6px); }
.prog:hover h3 { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }

/* The homepage's programmes: an index, one row each, like a catalogue */
.pidx { margin-top: clamp(40px, 5vw, 72px); border-top: 3px solid var(--teal-900); }
.pidx__row {
  display: grid; grid-template-columns: minmax(150px, 2.3fr) minmax(0, 7.4fr) auto; align-items: center;
  gap: 0 clamp(16px, 2.4vw, 40px); padding: clamp(14px, 1.5vw, 22px) 0; border-bottom: 3px solid var(--teal-900); text-decoration: none;
}
.pidx__meta { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: 0.1em; text-transform: uppercase; }
.pidx__meta span + span { color: var(--muted); }
.pidx__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pidx__title { font-size: clamp(26px, 3.6vw, 56px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.pidx__sub { font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.pidx__row > .arrow { width: 32px; height: 32px; transition: transform 200ms var(--io); }
.pidx__row:hover .pidx__title { color: var(--rust-600); }
.pidx__row:hover > .arrow { transform: translateX(6px); }
/* the navy row reaches a little past the others, so its words line up with theirs */
.pidx__row--ms { --msp: clamp(14px, 1.6vw, 24px); margin: -3px calc(var(--msp) * -1) 0; padding-inline: var(--msp); background: var(--abyss); color: var(--bone); border-bottom-color: var(--abyss); font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif; }
.pidx__row--ms .pidx__title { font-family: Maroni, "Arial Narrow", sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.pidx__row--ms .pidx__meta { font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif; font-weight: 500; letter-spacing: 0.16em; }
.pidx__row--ms .pidx__meta span + span, .pidx__row--ms .pidx__sub { color: rgba(238, 230, 213, 0.78); }
.pidx__row--ms .pidx__sub { font-size: 17px; font-weight: 400; }
.pidx__row--ms:hover .pidx__title { color: var(--bone); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.pidx__row--ms:focus-visible { outline-color: var(--orange-500); outline-offset: -6px; }
.pidx__all { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 18px; font-size: 14px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.pidx__all:hover { color: var(--rust-600); }
.pidx__all .arrow { transition: transform 200ms var(--io); }
.pidx__all:hover .arrow { transform: translateX(6px); }

/* ==========================================================================
   Archive · recordings and the channel player (homepage and archive page)
   Posters are the site's own (an illustrated block on a colour); nothing
   loads from YouTube until play is pressed (js/watch.js).
   ========================================================================== */
.rec { position: relative; display: grid; align-content: start; gap: 10px; }
.rec__poster { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--pb, var(--teal-900)); color: var(--pt, var(--cream-100)); container-type: inline-size; }
.rec__poster > img:first-child { position: absolute; top: 0; right: 0; width: auto; height: 100%; aspect-ratio: 1; max-width: none; }
.rec__year { position: absolute; left: 6%; top: 8%; font-size: 13cqi; font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; }
.rec__play { position: absolute; left: 6%; bottom: 9%; display: grid; place-items: center; width: 15cqi; aspect-ratio: 1; background: var(--cream-100); color: var(--teal-900); transition: transform 200ms var(--io); }
.rec__play svg { width: 46%; height: 46%; fill: currentColor; }
.rec__poster .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rec__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.rec__meta span + span { color: var(--muted); }
.rec__title { font-size: clamp(20px, 1.65vw, 26px); font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.rec__title button { all: unset; display: inline; cursor: pointer; }
.rec__title button::after { content: ""; position: absolute; inset: 0; }   /* the whole card plays */
.rec__title button:focus-visible { outline: none; }
.rec:focus-within { outline: 3px solid var(--orange-500); outline-offset: 6px; }
.rec__who { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--muted); }
.rec:hover .rec__title { color: var(--rust-600); }
.rec:hover .rec__play { transform: scale(1.08); }
.rec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.6vw, 56px) 24px; }
.rec--row { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); gap: 4px 18px; padding-block: 18px; border-top: 1px solid rgba(2, 49, 59, 0.28); }
.rec--row .rec__poster { grid-row: 1 / span 3; align-self: start; }
.rec--row .rec__title { font-size: clamp(18px, 1.4vw, 22px); }
.rec--row .rec__who { font-size: 14px; }

/* the channel: one player for all its uploads */
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--teal-900); }
.yt iframe, .watch__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.yt__play { all: unset; display: block; width: 100%; height: 100%; cursor: pointer; }
.yt__play:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 4px; }
.yt__poster { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: var(--cream-100); container-type: inline-size; }
.yt__poster > img { position: absolute; top: 0; right: 0; height: 100%; width: auto; aspect-ratio: 1; max-width: none; }
.yt__words { position: absolute; left: 5%; top: 9%; display: flex; flex-direction: column; gap: 2.2cqi; max-width: 40%; }
.yt__words small { font-size: max(11px, 1.6cqi); font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.yt__words b { font-size: 5.6cqi; font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.yt__words span { font-size: max(13px, 2cqi); font-weight: 700; line-height: 1.3; }
.yt .rec__play { left: 5%; bottom: 9%; width: 10cqi; }
.yt__play:hover .rec__play { transform: scale(1.08); }
.arc-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.arc-cap a, .arc-out { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.arc-cap a:hover, .arc-out:hover { color: var(--rust-600); }

/* homepage */
/* two parts, each under a ruled heading: Past editions (pictures, then the channel and three
   recordings) and Past speakers (eight portraits) */
.arc-sub { margin-top: clamp(40px, 5vw, 72px); }
.arc-sub + .arc-sub { margin-top: clamp(48px, 5.6vw, 80px); }
.arc-sub__head { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 64px; margin-bottom: clamp(14px, 1.6vw, 22px); border-top: 3px solid var(--teal-900); }
.arc-sub__head h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 800; line-height: 1; letter-spacing: -0.015em; text-transform: uppercase; }

/* pictures from past editions: one row that scrolls sideways, edge to edge; a click enlarges */
.shots {
  --shot-h: clamp(200px, 23vw, 336px);
  display: flex; gap: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: none; scroll-snap-align: start; }
.shot { display: block; height: var(--shot-h); padding: 0; border: 0; background: var(--cream-200); cursor: zoom-in; overflow: hidden; }
.shot img { display: block; width: auto; height: 100%; max-width: none; transition: transform 600ms var(--out); }
.shot:hover img { transform: scale(1.03); }
.shot:focus-visible { outline-offset: -3px; }
.shots__nav { display: flex; gap: 6px; }
.shots__nav button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 2px solid var(--teal-900); background: none; color: var(--teal-900); cursor: pointer; }
.shots__nav button .arrow { width: 18px; height: 18px; }
.shots__nav button:first-child .arrow { transform: scaleX(-1); }
.shots__nav button:hover:not(:disabled) { background: var(--teal-900); color: var(--cream-100); }
.shots__nav button:disabled { opacity: 0.3; cursor: default; }
/* a picture, larger: the player window, holding a picture */
.watch--photo { width: min(1120px, calc(100vw - 32px)); }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; max-height: calc(100vh - 220px); max-height: calc(100svh - 220px); object-fit: contain; background: #011d23; }
.photo figcaption { padding: 14px 18px 0; font-size: 15px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }
.photo__nav { display: flex; gap: 8px; padding: 14px 18px 18px; }
.photo__nav button { min-height: 40px; padding: 0 14px; border: 2px solid var(--cream-100); background: none; color: inherit; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.photo__nav button:hover { background: var(--cream-100); color: var(--teal-900); }

.arc-home__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; margin-top: clamp(28px, 3.4vw, 48px); align-items: start; }
.arc-home__main { grid-column: 1 / span 7; }
.arc-home__side { grid-column: 8 / -1; border-bottom: 1px solid rgba(2, 49, 59, 0.28); }
.arc-home__side .rec--row:first-child { padding-top: 0; border-top: 0; }
.arc-home .arc-sub > .pidx__all { margin-top: 20px; }

/* past speakers: eight portraits in a row, each a link to the speaker's bio */
.arc-spk { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px clamp(10px, 1.2vw, 18px); }
.arc-spk .spk__pic { margin-bottom: 4px; }
.arc-spk .spk__ini { font-size: clamp(30px, 3.8vw, 56px); }
.arc-spk .spk__name { font-size: clamp(14px, 1.15vw, 17px); letter-spacing: -0.015em; }
.arc-spk .spk__role { font-size: 12.5px; line-height: 1.3; }

/* archive page */
.arc-channel { padding-block: clamp(56px, 7vw, 104px); }
.arc-channel__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px 24px; align-items: center; }
.arc-channel__text { grid-column: 1 / span 4; display: grid; gap: 18px; justify-items: start; }
.arc-channel__text h2 { font-size: clamp(34px, 3.6vw, 58px); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; }
.arc-channel__text > p:not(.psec__meta) { font-size: 18px; font-weight: 500; line-height: 1.55; max-width: 32ch; }
.arc-out { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.arc-channel .yt { grid-column: 5 / -1; }
.arc-list { padding-block: 0 clamp(64px, 8vw, 120px); }
.arc-list__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.arc-list__head h2 { font-size: clamp(38px, 5.4vw, 88px); font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; }
.arc-count { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.arc-find { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; padding: 16px 0; border-block: 3px solid var(--teal-900); }
.arc-find__q { display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 380px; border-bottom: 2px solid var(--teal-900); }
.arc-find__q svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.arc-find__q input { width: 100%; min-height: 44px; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; font-weight: 600; outline: none; }
.arc-find__q:focus-within { border-bottom-color: var(--orange-500); }
.arc-find__set { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.arc-find__set > span { margin-right: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.arc-find__set button { min-height: 36px; padding: 0 12px; border: 2px solid var(--teal-900); background: none; color: var(--teal-900); cursor: pointer; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.arc-find__set button:hover { background: var(--cream-200); }
.arc-find__set button[aria-pressed="true"] { background: var(--teal-900); color: var(--cream-100); }
.arc-ed { padding-top: clamp(40px, 5vw, 72px); scroll-margin-top: calc(var(--header-h) + 8px); }
.arc-ed__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: clamp(24px, 3vw, 40px); }
.arc-ed__head h3 { font-size: clamp(64px, 9vw, 150px); font-weight: 800; line-height: 0.8; letter-spacing: -0.04em; }
.arc-none { padding: 40px 0; font-size: 18px; font-weight: 600; }
.arc-none button, .arc-none a { margin-left: 8px; border: 0; background: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.arc-none a { display: inline-flex; align-items: center; gap: 8px; margin-left: 18px; }
.arc-none button:hover, .arc-none a:hover { color: var(--rust-600); }
.arc-note { margin-top: clamp(48px, 5vw, 72px); font-size: 14px; font-weight: 600; color: var(--muted); }

/* the player window */
.watch { width: min(1080px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; background: var(--teal-900); color: var(--cream-100); overflow: auto; }
.watch::backdrop { background: rgba(2, 49, 59, 0.86); }
.watch__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 18px; }
.watch__meta { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.watch__close { min-height: 40px; padding: 0 14px; border: 2px solid var(--cream-100); background: none; color: inherit; font: inherit; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.watch__close:hover { background: var(--cream-100); color: var(--teal-900); }
.watch__frame { aspect-ratio: 16 / 9; background: #000; }
.watch__text { display: grid; gap: 8px; padding: 18px 18px 22px; }
.watch__text h2 { font-size: clamp(22px, 2.2vw, 32px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.watch__who { font-size: 16px; font-weight: 600; opacity: 0.85; }
.watch__yt { justify-self: start; margin-top: 4px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.watch :focus-visible { outline-color: var(--orange-500); }
html.watching { overflow: hidden; }

/* ==========================================================================
   Programmes page
   ========================================================================== */
.plede-wrap { padding-block: clamp(48px, 6vw, 96px); }
.plede { max-width: 40ch; font-size: clamp(24px, 2.8vw, 44px); line-height: 1.18; text-wrap: pretty; }
.plede.rough { filter: url(#rough-s); -webkit-mask-size: 520px 520px; mask-size: 520px 520px; }
.pnow__label { font-size: 12px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.pnow .ms__grid { padding-block: clamp(48px, 6vw, 88px); }
.pnow .ms__art { grid-row: 1; min-height: 520px; margin-bottom: calc(clamp(48px, 6vw, 88px) * -1); }
.psec { padding-block: clamp(64px, 8vw, 120px) clamp(32px, 4vw, 56px); scroll-margin-top: var(--header-h); }
.psec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 3.4vw, 52px); }
.psec h2 { font-size: clamp(38px, 5.4vw, 88px); font-weight: 800; line-height: 0.9; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.psec__head h2 { max-width: 12ch; }
.psec__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.psec__meta span + span { color: var(--muted); letter-spacing: 0.04em; text-transform: none; font-size: 16px; font-weight: 600; }
.pentry {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start;
  padding-block: clamp(28px, 3vw, 44px); border-top: 3px solid var(--teal-900); scroll-margin-top: calc(var(--header-h) + var(--bands) * var(--tab-h) + 16px);
}
.pentry:last-child { border-bottom: 3px solid var(--teal-900); }
.pentry__meta { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 14px; margin: 0; }
.pentry__meta dt { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust-600); }
.pentry__meta dd { margin: 2px 0 0; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pentry__body { grid-column: 5 / -1; max-width: 66ch; }
.pentry h3 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; text-wrap: balance; }
.pentry__sub { display: block; margin-top: 0.4em; font-size: 0.42em; font-weight: 700; line-height: 1.2; letter-spacing: -0.005em; text-transform: none; color: var(--teal-700); }
.pentry p { margin-top: 18px; font-size: clamp(17px, 1.3vw, 19px); font-weight: 500; line-height: 1.62; text-wrap: pretty; }
.pentry p + p { margin-top: 0.9em; }
.psec--wf { background: var(--teal-700); color: var(--cream-100); padding-block: 0; }
.pmore { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px 40px; padding-block: clamp(48px, 6vw, 88px); }
.pmore ul { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.pmore a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: clamp(20px, 2vw, 28px); font-weight: 800; letter-spacing: -0.015em; text-transform: uppercase; text-decoration: none; }
.pmore a:hover { color: var(--rust-600); }

/* ==========================================================================
   Footer, kept small (17 November): one teal row with the logo and line, the
   site map, contact and the social links; then the partner logos in a single
   line on cream, and the copyright
   ========================================================================== */
.ftr__panel { background: var(--teal-900); color: var(--cream-100); }
.ftr__grid {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center;
  gap: 16px clamp(24px, 3.4vw, 56px); padding-block: 20px;
}
.ftr__brand { display: flex; align-items: center; gap: 16px; }
.ftr__brand a { display: block; flex: none; }
.ftr__brand img { width: 108px; height: auto; }
.ftr__by { max-width: 15em; font-size: 14px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.ftr__nav { display: flex; justify-content: center; gap: clamp(24px, 3.4vw, 56px); }
.ftr h2 { margin-bottom: 2px; font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-500); }
.ftr__nav a { display: inline-flex; align-items: center; min-height: 26px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ftr__nav a:hover, .ftr__contact a:hover, .ftr__social a:hover { color: var(--orange-500); }
.ftr__contact ul { display: flex; flex-direction: column; }
.ftr__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; font-size: 14px; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ftr__contact svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ftr__social { display: flex; margin-right: -9px; }
.ftr__social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--cream-100); }
.ftr__social svg { width: 20px; height: 20px; }

.ftr__partners { padding-block: 14px 0; background: var(--cream-100); }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; }
.logos li { flex: 0 1 auto; display: grid; place-items: center; min-width: 0; min-height: 44px; }
.logos img { width: calc(var(--w) * 0.66); height: auto; max-width: 100%; }
.ftr__copy { padding-block: 8px 12px; text-align: center; font-size: 12px; font-weight: 600; }

/* ==========================================================================
   Speakers
   ========================================================================== */
.pg-head { position: relative; overflow: hidden; background: var(--cream-100); container-type: inline-size; }
.pg-head__field { display: grid; grid-template-columns: repeat(var(--pcols, 9), minmax(0, 1fr)); }
.pg-head__blocks { display: contents; }
.pg-head__blocks > * { display: block; aspect-ratio: 1; width: 100%; height: auto; }
.pg-head__box {
  grid-column: 2 / span 4; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: center; gap: 0.6em;
  padding: 0 clamp(16px, 2.2vw, 36px); background: var(--cream-100);
}
.pg-head__box h1 { font-size: clamp(44px, 6.4cqw, 104px); font-weight: 800; line-height: 0.86; letter-spacing: -0.035em; text-transform: uppercase; }
.pg-head__box p { max-width: 30ch; font-size: clamp(15px, 1.25vw, 19px); font-weight: 700; line-height: 1.3; }
.pg-head--long .pg-head__box h1 { font-size: clamp(38px, 5.1cqw, 82px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rust-600); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--muted); }

.finder { position: sticky; top: var(--header-h); z-index: 50; background: var(--teal-900); color: var(--cream-100); }
.finder__in { display: flex; align-items: center; gap: 16px 24px; min-height: 64px; padding-block: 10px; }
.finder label { display: flex; align-items: center; gap: 10px; flex: 0 1 340px; }
.finder label svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; }
.finder input {
  width: 100%; min-height: 44px; padding: 0 12px; border: 2px solid var(--cream-100); border-radius: 0;
  background: transparent; color: var(--cream-100); font: inherit; font-size: 16px; font-weight: 600;
}
.finder input::placeholder { color: rgba(247, 245, 232, 0.7); }
.finder input:focus-visible { outline-offset: 2px; }
.az { display: flex; flex-wrap: wrap; gap: 2px; }
.az a, .az span { display: grid; place-items: center; min-width: 30px; height: 36px; font-size: 14px; font-weight: 800; text-decoration: none; }
.az a:hover { background: var(--orange-500); color: var(--teal-900); }
.az span { color: rgba(247, 245, 232, 0.35); }
.finder__count { margin-left: auto; font-size: 13px; font-weight: 700; white-space: nowrap; }

.roster { container-type: inline-size; padding-block: clamp(40px, 5vw, 72px) clamp(64px, 8vw, 112px); }
.letter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 11fr); gap: 0 24px; scroll-margin-top: calc(var(--header-h) + 84px); }
.letter + .letter { margin-top: clamp(28px, 3vw, 44px); }
.letter__mark {
  position: sticky; top: calc(var(--header-h) + 64px + 16px); align-self: start;
  display: grid; place-items: center; aspect-ratio: 1; background: var(--lb); color: var(--lt);
  font-size: clamp(34px, 4.4vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
}
.letter__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 2.6vw, 40px) 24px; }
.spk a { display: flex; flex-direction: column; gap: 6px; height: 100%; text-decoration: none; }
/* the portrait: a square on the block grid. Until a photo is added, the block carries the initials. */
.spk__pic { position: relative; display: block; aspect-ratio: 1; max-width: 100%; margin-bottom: 8px; overflow: hidden; background: var(--pb); color: var(--pt); }
.spk__ini { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(44px, 5cqw, 84px); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.spk__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; animation: fade-in 500ms var(--io) both; transition: transform 600ms var(--out); }
.spk a:hover .spk__pic img { transform: scale(1.04); }
.spk__name { font-size: clamp(18px, 1.45vw, 22px); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.spk__name small { font-size: 0.64em; font-weight: 700; letter-spacing: 0.02em; color: var(--muted); }
.spk__role { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--muted); }
.spk a:hover .spk__name { color: var(--rust-600); }
.spk a:focus-visible { outline-offset: 6px; }
.roster__none { padding: 40px 0; font-size: 20px; font-weight: 700; }
.letter[hidden], .spk[hidden] { display: none; }
/* Monsoon Salons 2026 contributors: a tag in the list, and a filter in the finder */
.spk__tag { align-self: flex-start; margin-top: 4px; padding: 4px 8px 3px; background: var(--abyss); color: var(--bone); font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif; font-size: 11px; font-weight: 500; line-height: 1.2; letter-spacing: 0.14em; text-transform: uppercase; }
.finder__ms {
  display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 12px 0 8px;
  border: 2px solid var(--cream-100); background: transparent; color: var(--cream-100); cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; white-space: nowrap;
}
.finder__ms img { width: 26px; height: auto; }
.finder__ms span { font-weight: 600; opacity: 0.75; }
.finder__ms:hover { background: rgba(247, 245, 232, 0.12); }
.finder__ms[aria-pressed="true"] { background: var(--bone); border-color: var(--bone); color: var(--abyss); }
/* with the filter in the bar: one line on wide screens (the letters narrow a little,
   the count goes below 1280px); on tablets the letters take a second line */
@media (min-width: 760px) {
  .finder__in { gap: 12px 18px; }
  .finder label { flex: 0 1 230px; min-width: 180px; }
  .az { flex-wrap: nowrap; }
  .az a, .az span { flex: none; min-width: clamp(20px, 1.85vw, 30px); }
}
@media (min-width: 760px) and (max-width: 1359px) { .finder__count { display: none; } }
@media (min-width: 760px) and (max-width: 1099px) {
  .finder__in { flex-wrap: wrap; padding-block: 10px 4px; }
  .az { order: 3; flex: 1 1 100%; justify-content: space-between; }
  .letter__mark { top: calc(var(--header-h) + 124px); }
  .letter { scroll-margin-top: calc(var(--header-h) + 128px); }
}

/* ==========================================================================
   A speaker's bio, over the list: the portrait (or its placeholder block) on
   the left, the bio on the right; previous, next and close along the foot
   ========================================================================== */
html.bio-open { overflow: hidden; }
.bio { width: min(1080px, calc(100vw - 2 * var(--gutter))); max-width: none; max-height: calc(100svh - 48px); padding: 0; border: 3px solid var(--teal-900); background: var(--cream-100); color: var(--teal-900); overflow: hidden; }
.bio::backdrop { background: rgba(2, 49, 59, 0.82); }
.bio[open] { animation: bio-in 360ms var(--out) both; }
@keyframes bio-in { from { opacity: 0; transform: translateY(18px); } }
.bio__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: minmax(0, 1fr) auto; max-height: calc(100svh - 54px); }
.bio__pic { position: relative; overflow: hidden; background: var(--pb); color: var(--pt); min-height: 100%; }
.bio__pic .spk__ini { font-size: clamp(96px, 14vw, 200px); }
.bio__pic img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 22%; }
.bio__text { overflow-y: auto; padding: clamp(24px, 3.4vw, 48px) clamp(24px, 3.4vw, 52px) 32px; overscroll-behavior: contain; }
.bio__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.bio__tag { padding: 5px 9px 4px; background: var(--teal-900); color: var(--cream-100); font-size: 11px; font-weight: 800; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; }
.bio__tag--ms { background: var(--abyss); color: var(--bone); font-family: "Founders Grotesk", "Helvetica Neue", Arial, sans-serif; font-weight: 500; letter-spacing: 0.14em; }
.bio__from { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bio__name { margin-top: 18px; font-size: clamp(34px, 4.2vw, 64px); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; text-transform: uppercase; text-wrap: balance; }
.bio__name small { display: block; margin-bottom: 6px; font-size: 0.34em; letter-spacing: 0.02em; color: var(--muted); }
.bio__role { margin-top: 14px; color: var(--teal-700); font-size: clamp(18px, 1.5vw, 22px); font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.bio__body { margin-top: 22px; max-width: 62ch; }
.bio__body p { font-size: 17px; font-weight: 500; line-height: 1.62; text-wrap: pretty; }
.bio__body p + p { margin-top: 1em; }
.bio__links { display: flex; flex-direction: column; margin-top: 26px; border-top: 3px solid var(--teal-900); }
.bio__links a { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-height: 52px; padding-block: 10px; border-bottom: 1px solid rgba(2, 49, 59, 0.25); font-size: 17px; font-weight: 800; text-decoration: none; }
.bio__links a small { flex-basis: 100%; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bio__links a:hover { color: var(--rust-600); }
.bio__links .arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.bio__bar { grid-column: 1 / -1; display: flex; gap: 0; border-top: 3px solid var(--teal-900); background: var(--teal-900); }
.bio__bar button { min-height: 52px; padding: 0 22px; border: 0; background: var(--teal-900); color: var(--cream-100); cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.bio__bar button + button { border-left: 1px solid rgba(247, 245, 232, 0.25); }
.bio__bar button:hover { background: var(--orange-500); color: var(--teal-900); }
.bio__bar .bio__close { margin-left: auto; border-left: 1px solid rgba(247, 245, 232, 0.25); }
.bio :focus-visible { outline: 3px solid var(--orange-500); outline-offset: -3px; }

/* prototype only: a note for links to pages that are not built yet */
.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); max-width: calc(100vw - 32px); padding: 14px 20px; background: var(--teal-900); color: var(--cream-100); font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 200ms var(--io), transform 260ms var(--out); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   Motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ==========================================================================
   Tablets
   ========================================================================== */
/* a narrow laptop: the footer's one row, drawn a little tighter */
@media (min-width: 1100px) and (max-width: 1259px) {
  .ftr__grid { column-gap: 22px; }
  .ftr__brand { gap: 12px; }
  .ftr__brand img { width: 92px; }
  .ftr__by { max-width: 11em; font-size: 13px; }
  .ftr__nav { gap: 22px; }
  .ftr__social a { width: 34px; }
}
@media (min-width: 760px) and (max-width: 1099px) {
  .ftr__grid { grid-template-columns: minmax(0, 1fr) auto; }
  .ftr__brand { grid-area: 1 / 1; }
  .ftr__social { grid-area: 1 / 2; justify-self: end; }
  .ftr__nav { grid-area: 2 / 1; justify-content: flex-start; }
  .ftr__contact { grid-area: 2 / 2; }
  .logos { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px 12px; }
  .letter__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mission__body { grid-column: 4 / -1; }
  .ms__head { grid-column: 1 / span 7; }
  .pidx__row { grid-template-columns: minmax(130px, 1.3fr) minmax(0, 3.4fr) auto; }
  .rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arc-home__main, .arc-home__side { grid-column: 1 / -1; }
  .arc-spk { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .arc-spk .spk__ini { font-size: 52px; }
  .arc-spk .spk__name { font-size: 17px; }
  .arc-channel__text { grid-column: 1 / -1; }
  .arc-channel .yt { grid-column: 1 / -1; }
  .az a, .az span { min-width: 26px; }
  .pentry__meta { grid-column: 1 / span 4; }
  .pentry__body { grid-column: 5 / -1; }
}

/* ==========================================================================
   Phones
   ========================================================================== */
@media (max-width: 759px) {
  :root { --header-h: 56px; --gutter: 16px; }
  body { font-size: 16px; }
  .hdr__logo img { width: 100px; }
  .menu-btn { display: inline-flex; }
  .nav__list {
    position: fixed; z-index: 99; top: var(--header-h); left: 0; right: 0; bottom: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto;
    padding: 8px 16px 40px; background: var(--cream-100);
  }
  .hdr.menu-open .nav__list { display: flex; }
  .nav__list > li { display: block; border-bottom: 3px solid var(--teal-900); }
  .nav__list > li > a, .nav__grp > button { width: 100%; justify-content: space-between; min-height: 64px; padding: 0; font-size: 22px; letter-spacing: 0.02em; }
  .nav__grp > button svg { width: 14px; height: 14px; }
  .nav__menu { position: static; display: none; min-width: 0; padding: 0 0 14px; border: 0; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav__grp.open .nav__menu { display: block; }
  .nav__menu a { min-height: 48px; padding: 0; font-size: 18px; }
  .nav__menu a:hover { background: none; color: var(--rust-600); }
  .nav__list > li > a[aria-current="page"] { text-decoration: none; color: var(--rust-600); }

  .hero { --cols: 4; --bc: 0; --br: 1; --bw: 4; --bh: 2; --nc: 1; --nr: 3; --nw: 3; --nh: 1; min-height: 480px; }
  .hero__box { padding: 0 calc(var(--pc) * 0.2); gap: calc(var(--pc) * 0.12); }
  .hero__title { font-size: calc(var(--pc) * 0.54); }
  .hero__pre { gap: calc(var(--pc) * 0.08); }
  .hero__pre img { height: calc(var(--pc) * 0.31); translate: 0 calc(var(--pc) * -0.038); }
  .hero__pre span { font-size: 10px; }
  .hero__now { padding: 10px 14px; }
  .hero__now img { width: 44px; }
  .hero__now strong { font-size: 22px; }
  .hero__now small { font-size: 10px; }
  .hero__now span { font-size: 13px; margin-top: 3px; }

  .band { top: var(--header-h); }
  .band a { font-size: 14px; }
  .anchor { scroll-margin-top: var(--header-h); }

  .mission__lede, .mission__body { grid-column: 1 / -1; }
  .mission__art { position: static; grid-column: 1 / -1; grid-row: 3; justify-self: center; width: 64%; margin-top: 8px; }
  .mission__lede { filter: url(#rough-s); }

  .ms__head { grid-column: 1 / -1; }
  .ms__lockup { gap: 18px; margin-bottom: 10px; }
  .ms__mark { width: 78px; }
  .ms__credit { gap: 7px; padding-top: 3px; }
  .ms__credit img { width: 104px; }
  .ms__credit--bc { margin-right: 0; align-items: flex-end; }   /* the logo sits under the end of its label */
  .ms__credit--bc img { width: 52px; }
  .ms__label { font-size: 9.5px; letter-spacing: 0.12em; white-space: nowrap; }
  .ms__art { grid-column: 1 / -1; grid-row: 1; margin: calc(clamp(48px, 6vw, 88px) * -1) calc(var(--gutter) * -1) 0; min-height: 0; aspect-ratio: 1280 / 582; }
  .pidx__row { grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
  .rec-grid { grid-template-columns: minmax(0, 1fr); }
  .arc-home__main, .arc-home__side, .arc-channel__text, .arc-channel .yt { grid-column: 1 / -1; }
  .arc-home__main { margin-inline: calc(var(--gutter) * -1); }
  .arc-home__main .arc-cap { padding-inline: var(--gutter); }
  .arc-sub__head { min-height: 56px; }
  .shots { --shot-h: 210px; gap: 6px; }
  .shots__nav { display: none; }   /* a phone swipes */
  .photo img { max-height: calc(100svh - 250px); }
  /* the portraits become a row that swipes, like the pictures */
  .arc-spk { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .arc-spk::-webkit-scrollbar { display: none; }
  .arc-spk .spk { flex: none; width: 132px; scroll-snap-align: start; }
  .arc-spk .spk__ini { font-size: 44px; }
  .arc-spk .spk__name { font-size: 15px; }
  .rec--row { grid-template-columns: minmax(0, 40fr) minmax(0, 60fr); gap: 4px 14px; }
  .rec--row .rec__title { font-size: 17px; }
  .yt__words span { display: none; }
  .yt__words b { font-size: 6.2cqi; }
  .arc-find { gap: 12px; }
  .arc-find__q { flex-basis: 100%; max-width: none; }
  .watch { width: 100vw; max-height: 100vh; }
  .pidx__meta { flex-direction: row; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; }
  .pidx__text { grid-column: 1; }
  .pidx__title { font-size: 26px; }
  .pidx__sub { font-size: 14px; }
  .pidx__row > .arrow { display: none; }
  .pentry { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pentry__meta { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .pentry__body { grid-column: 1; }
  .pentry h3 { font-size: 30px; }
  .pentry__sub { font-size: 15px; }
  .pnow .ms__art { grid-row: 1; min-height: 0; margin: calc(clamp(48px, 6vw, 88px) * -1) calc(var(--gutter) * -1) 0; }

  .ftr__grid { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px; padding-block: 16px 14px; }
  .ftr__brand { display: contents; }   /* the logo and the line sit on the footer's own grid: logo beside the social links, the line under both */
  .ftr__brand a { grid-area: 1 / 1; justify-self: start; }
  .ftr__brand img { width: 92px; }
  .ftr__by { grid-area: 2 / 1 / auto / -1; max-width: none; font-size: 13px; text-wrap: wrap; }
  .ftr__social { grid-area: 1 / 2; align-self: center; margin-right: -9px; }
  .ftr__social a { width: 38px; }
  .ftr__nav { grid-area: 3 / 1 / auto / -1; justify-content: flex-start; gap: 40px; margin-top: 4px; }
  .ftr__nav a { min-height: 30px; }
  .ftr__contact { grid-area: 4 / 1 / auto / -1; }
  .ftr__contact a { min-height: 30px; }
  .logos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 10px; }
  .logos li { min-height: 38px; }
  .logos img { width: calc(var(--w) * 0.58); }

  .pg-head__field { --pcols: 4; }
  .pg-head__box { grid-column: 1 / span 4; grid-row: 2 / span 2; padding: 0 16px; min-height: 50vw; }
  .pg-head__blocks .d { display: none; }
  .pg-head__box h1 { font-size: 52px; }
  .pg-head--long .pg-head__box h1 { font-size: 42px; }
  .finder__in { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px 6px; }
  .finder label { flex: 1 1 100%; }
  .finder__count { display: none; }
  .az { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; }
  .az::-webkit-scrollbar { display: none; }
  .az a, .az span { min-width: 32px; height: 40px; flex: none; }
  .letter { grid-template-columns: 1fr; gap: 16px; scroll-margin-top: calc(var(--header-h) + 120px); }
  .letter__mark { position: static; width: 56px; font-size: 30px; }
  .letter__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .spk__ini { font-size: 48px; }
  .spk__name { font-size: 17px; }
  .spk__role { font-size: 13px; }
  .finder__ms { order: 3; }
  .bio { width: 100vw; max-height: 100svh; height: 100svh; margin: 0; border: 0; }
  .bio__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; height: 100svh; max-height: none; }
  .bio__pic { min-height: 0; aspect-ratio: 16 / 9; }
  .bio__pic .spk__ini { font-size: 96px; }
  .bio__text { padding: 22px 16px 28px; }
  .bio__bar button { flex: 1 1 0; padding: 0 10px; font-size: 12px; }
}
