/* deck.css - layout for every slide kind on the 1280x720 canvas, plus scroll-view, print, picker and runsheet.
 *
 * Uses only the contract custom properties from the theme:
 *   --bg --fg --muted --accent --accent-2 --band-bg --band-fg --rule --font-head --font-body --font-mono --radius
 * (error markers use var(--danger, ...) and the photo letterbox var(--surface, transparent), each with a fallback,
 * so they work under any theme).
 *
 * Two layers:
 *  1. LAYOUT (normal specificity): sizes, grids, flex, padding. The theme does not set these.
 *  2. DEFAULTS (zero specificity via :where()): colours, fonts, type sizes. Any theme rule overrides them.
 * Sizes are canvas pixels: body text >= 20 px, titles >= 32 px.
 */

/* ======================================================================= 1. LAYOUT */

.reveal .slides { text-align: left; }

.reveal .slides > section.slide {
  box-sizing: border-box;
  width: 1280px;
  height: 720px;
  padding: 0;
  top: 0;
  left: 0;
  flex-direction: column;
  overflow: hidden;
}
.reveal .slides > section.slide * { box-sizing: border-box; }
/* reveal.css forces display:block!important on sections in the PDF and scroll views; these selectors are one
   class more specific, so the column layout (band, body, footer at the bottom) and the clipping survive there. */
html.reveal-print .reveal .slides section.slide,
.reveal-viewport.reveal-scroll .scroll-page section.slide {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
}

.reveal section.slide .band { flex: 0 0 auto; padding: 28px 64px 20px; }
.reveal section.slide .band h2 { margin: 0; }
.reveal section.slide .band .eyebrow + h2 { margin-top: 6px; }

.reveal section.slide .body {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: safe center;   /* safe: content too tall runs down (where the checker sees it), never up under the band */
  gap: 24px;
  padding: 28px 64px 24px;
}
.reveal section.slide .foot {
  flex: 0 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 10px 150px 14px 64px;   /* right: room for reveal's arrow controls */
  white-space: nowrap;
}
.reveal-viewport.reveal-scroll .reveal section.slide .foot,
html.print-pdf .reveal section.slide .foot { padding-right: 64px; }
.reveal section.slide .foot .mode { flex: 1 1 auto; text-align: center; overflow: hidden; text-overflow: ellipsis; }
/* a mode with shortCase: 'keep' (2026-10-30, Team WCP: "#TeamWCP") shows its footer name as written, not in capitals */
.reveal section.slide .foot .mode.keep-case { text-transform: none; }

.reveal section.slide p { margin: 0; }
.reveal section.slide figure { margin: 0; min-height: 0; min-width: 0; display: flex; flex-direction: column; }
.reveal section.slide figure img { display: block; width: 100%; height: 100%; min-height: 0; flex: 1 1 auto; object-fit: cover; margin: 0; max-width: none; max-height: none; }
.reveal section.slide figcaption { flex: 0 0 auto; padding-top: 6px; }

/* A single photo beside text (bullets, statement) or inside a split column is shown whole: contain, letterboxed on
   the card colour (--surface, a theme extra; transparent where a theme has none). Gallery tiles and the video
   poster keep cover (16:9 sources in 16:9-ish boxes). */
.reveal section.slide .body.has-media > figure img,
.reveal section.slide .split .col figure img { object-fit: contain; background: var(--surface, transparent); }
/* PH2: a photo under a split column fills its box (cover), at least 150 px tall */
.reveal section.slide .split .col figure img { object-fit: cover; }
.reveal section.slide .split .col.has-media figure { min-height: 110px; flex: 1 1 210px; }

/* lists */
.reveal section.slide ul.items { margin: 0; padding: 0 0 0 1.1em; list-style: square outside; }
.reveal section.slide ul.items li { margin: 0; padding-left: 0.2em; }
.reveal section.slide ul.items li + li { margin-top: 0.45em; }
/* a heading item ({ heading }) groups the bullets under it: no marker, set flush with the list's left edge */
.reveal section.slide ul.items li.item-head { list-style: none; margin-left: -1.1em; padding-left: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); }
.reveal section.slide ul.items li + li.item-head { margin-top: 0.9em; }
.reveal section.slide ul.items li.item-head + li { margin-top: 0.2em; }

/* text + one picture: two columns */
.reveal section.slide .body.has-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 500px;
  grid-auto-rows: min-content;
  align-content: safe center;
  column-gap: 48px;
  row-gap: 24px;
}
.reveal section.slide .body.has-media > :not(figure) { grid-column: 1; }
.reveal section.slide .body.has-media > figure { grid-column: 2; grid-row: 1 / span 4; height: 460px; align-self: center; }

/* title */
.reveal section.k-title .body { padding: 56px 72px 40px; }
.reveal section.k-title .title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 56px;
  row-gap: 20px;
  align-items: center;
  align-content: center;
}
.reveal section.k-title .title > :not(.logo) { grid-column: 1; }
.reveal section.k-title .title > .logo { grid-column: 2; grid-row: 1 / span 4; width: 340px; height: 340px; }
.reveal section.k-title .title > .logo img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }

.reveal section.k-title .title.no-logo { grid-template-columns: minmax(0, 1fr); }   /* logo withheld */

/* section */
.reveal section.k-section .body { padding: 56px 88px 40px; }
.reveal section.k-section .section { display: flex; flex-direction: column; gap: 20px; }

/* statement */
.reveal section.k-statement .body:not(.has-media) { padding-left: 96px; padding-right: 96px; }

/* split */
.reveal section.slide .split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; min-height: 0; flex: 1 1 auto; align-content: center; }
.reveal section.slide .split .col { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding: 24px; }
.reveal section.slide .split .col figure { flex: 1 1 auto; max-height: 240px; }

/* stats */
.reveal section.slide .stats { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 32px; }
.reveal section.slide .stats.n-2 { --n: 2; }
.reveal section.slide .stats.n-3 { --n: 3; }
.reveal section.slide .stats.n-4 { --n: 4; }
/* six numbers (2026-10-30, Team WCP season slide): two wide boxes over four, a little more compact to fit two rows */
.reveal section.slide .stats.n-6 { --n: 4; gap: 20px 32px; }
.reveal section.slide .stats.n-6 .stat:nth-child(-n+2) { grid-column: span 2; }
.reveal section.slide .stats.n-6 .stat { padding: 14px 24px 18px; gap: 6px; }
.reveal section.slide .stats.n-6 .n { font-size: 72px; }
.reveal section.slide .stats .stat { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px; min-width: 0; }
.reveal section.slide .stats .n { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; }
/* (deck.js fitStats() then shrinks every number on a slide to the same size when the widest is wider than its card) */

/* steps */
.reveal section.slide ol.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0 0 0 1.4em; list-style: decimal outside; }
.reveal section.slide ol.steps.n-3 { --n: 3; }
.reveal section.slide ol.steps.n-4 { --n: 4; }
.reveal section.slide ol.steps.n-5 { --n: 5; gap: 24px; }
/* six steps (P14: the Google Classroom first, then the five Register-page steps): two rows of three */
.reveal section.slide ol.steps.n-6 { --n: 3; gap: 12px 32px; }
.reveal section.slide ol.steps.n-6 li { padding: 8px 16px; }
.reveal section.slide ol.steps li { display: list-item; margin: 0 0 0 0.6em; min-width: 0; padding: 14px 16px; }
.reveal section.slide ol.steps .t { margin-bottom: 8px; }

/* timeline */
.reveal section.slide .timeline { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 24px; }
.reveal section.slide .timeline.n-3 { --n: 3; }
.reveal section.slide .timeline.n-4 { --n: 4; }
.reveal section.slide .timeline.n-5 { --n: 5; }
.reveal section.slide .timeline.n-6 { --n: 3; row-gap: 32px; }
.reveal section.slide .timeline .ev { padding: 8px 0 8px 18px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* gallery */
.reveal section.k-gallery .body { padding-top: 24px; padding-bottom: 20px; }
.reveal section.slide .gallery { flex: 1 1 auto; min-height: 0; display: grid; gap: 16px; grid-template-columns: repeat(var(--c, 3), minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); }
.reveal section.slide .gallery.n-1 { --c: 1; }
/* collage (2026-10-30, Team WCP season slide): a dense 6 x 4 grid of cover-cropped photos, no captions */
.reveal section.slide .gallery.collage { gap: 8px; grid-template-rows: repeat(var(--r, 4), minmax(0, 1fr)); grid-auto-flow: dense; }
.reveal section.slide .gallery.collage figure { margin: 0; min-height: 0; overflow: hidden; border-radius: var(--radius, 0); }
.reveal section.slide .gallery.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.reveal section.slide .gallery.collage figure.span-wide { grid-column: span 2; }
.reveal section.slide .gallery.collage figure { position: relative; }
.reveal section.slide .gallery.collage .collage-n { position: absolute; top: 4px; left: 4px; min-width: 26px; padding: 1px 6px; border-radius: 6px; background: #FDB71C; color: #000; font: 700 22px/1.2 var(--font-head); text-align: center; }
.reveal section.slide .gallery.collage figure.span-big { grid-column: span 2; grid-row: span 2; }
.reveal section.slide .gallery.collage figure.span-banner { grid-column: span 4; }
/* mediaFit: 'contain' (2026-10-30): a logo shows whole, straight on the slide (Rich: "without the black background") */
.reveal section.slide .body.has-media > figure.fit-contain,
.reveal section.slide .body.has-media > figure.fit-contain img { background: transparent; box-shadow: none; border: 0; }
.reveal section.slide .body.has-media > figure.fit-contain img { object-fit: contain; padding: 28px; box-sizing: border-box; }
.reveal section.slide .gallery.n-2 { --c: 2; }
.reveal section.slide .gallery.n-3 { --c: 3; }
.reveal section.slide .gallery.n-4 { --c: 2; }
.reveal section.slide .gallery.n-5,
.reveal section.slide .gallery.n-6 { --c: 3; }
.reveal section.slide .gallery.n-7,
.reveal section.slide .gallery.n-8 { --c: 4; }
/* 9-10 tiles (P12, the projects wall): a 5x2 wall, tighter gap, smaller label and credit (still legible) */
.reveal section.slide .gallery.n-9,
.reveal section.slide .gallery.n-10 { --c: 5; gap: 12px; }
.reveal section.slide .gallery.n-9 figcaption .label,
.reveal section.slide .gallery.n-10 figcaption .label { font-size: 17px; }
.reveal section.slide .gallery.n-9 figcaption .credit,
.reveal section.slide .gallery.n-10 figcaption .credit { font-size: 11px; overflow-wrap: anywhere; }
.reveal section.slide .gallery figure { height: 100%; overflow: hidden; }

/* video: 16:9 poster, play button centred; iframe replaces it after a click or V */
.reveal section.k-video .body { padding-top: 24px; padding-bottom: 20px; align-items: center; }
.reveal section.slide .video { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.reveal section.slide .video .poster { position: relative; flex: 1 1 auto; min-height: 0; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.reveal section.slide .video .poster.plain { width: auto; height: 100%; max-height: none; }   /* poster withheld: a plain 16:9 play card */
/* the video's title inside a plain card, so the card (and the speaker preview and phone view, where Play is hidden)
   is never an empty box */
.reveal section.slide .video .poster .vtitle {
  position: absolute; left: 0; right: 0; bottom: 10%; margin: 0; padding: 0 32px; text-align: center;
  font-size: 28px; line-height: 1.25; color: var(--muted);
}
.reveal section.slide .video.playing .poster .vtitle { visibility: hidden; }
.reveal section.slide .video .poster img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.reveal section.slide .video button.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 18px 36px; min-width: 200px; line-height: 1.1;
}
.reveal section.slide .video .player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reveal section.slide .video.playing button.play,
.reveal section.slide .video.playing .poster img { visibility: hidden; }
.reveal section.slide .video .print-text { display: none; text-align: center; }
/* presenter clicker: a transparent shield over the player, so a click never puts the keyboard focus inside the
   cross-origin YouTube frame (where the clicker's Page Down would be lost); click it to pause or play */
.reveal section.slide .video .player-shield { position: absolute; inset: 0; z-index: 2; background: transparent; cursor: pointer; }
/* the speaker view's preview frames never play a video */
html.receiver .reveal section.slide .video button.play { display: none; }
html:not(.deck-page) body:focus { outline: none; }   /* the focus safety net focuses <body> (tabindex -1) */

/* people (adults only) */
.reveal section.slide .people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.reveal section.slide .people .person { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; min-width: 0; }
.reveal section.slide .people .person figure { width: 140px; height: 140px; margin-bottom: 8px; }
.reveal section.slide .people .person figure img { border-radius: 50%; }
/* P17 list cards (person.card 'retired' | 'memoriam'): a 12-column grid; active people four to a row (span 3), the first
   three span 4 when nine people make 3 + 4 + the two cards; "Retired mentors" spans 7 and "In memoriam" 5. The memoriam card
   is quiet: no accent colour, a small letter-spaced label, the names in the body colour. */
.reveal section.slide .people.has-cards { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 24px; }
.reveal section.slide .people.has-cards .person { grid-column: span 3; }
.reveal section.slide .people.has-cards.n-9 .person:nth-child(-n+3) { grid-column: span 4; }
.reveal section.slide .people.has-cards .person.c-retired { grid-column: span 7; }
.reveal section.slide .people.has-cards .person.c-memoriam { grid-column: span 5; }
.reveal section.slide .people .person .role .nm { white-space: nowrap; }
.reveal section.slide .people .person.c-memoriam { background: transparent; border: 1px solid var(--rule); border-left: 6px solid var(--rule); }
.reveal section.slide .people .person.c-memoriam .name { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.reveal section.slide .people .person.c-memoriam .role { font-size: 24px; line-height: 1.35; color: var(--fg); }
/* P18 aside (person.aside, Rich 2026-10-10 "for retired mentors, make that the right most column the full height, then
   have all the others to the left"): the people block fills the body; the aside is a full-height column on the right
   with a muted letter-spaced label and one name per line (fixed width, so the scroll view lays out the same; past ten
   names the list gets tighter, room for fourteen); the others sit in a 3-column
   grid on the left whose rows share the height (3 + 3 + the last person and a two-column memoriam card for 7 + 1) */
.reveal section.slide .people.has-aside { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px 24px; align-items: stretch; }
.reveal section.slide .people.has-aside > .people-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 18px 20px; min-width: 0; min-height: 0; }
.reveal section.slide .people.has-aside > .people-main > .person { grid-column: auto; padding-left: 18px; padding-right: 18px; }
.reveal section.slide .people.has-aside > .people-main > .person.c-memoriam,
.reveal section.slide .people.has-aside > .people-main > .person.c-retired { grid-column: span 2; }
.reveal section.slide .people.has-aside > .people-main.n-9 > .person.c-memoriam:last-child,
.reveal section.slide .people.has-aside > .people-main.n-6 > .person.c-memoriam:last-child { grid-column: 1 / -1; }
.reveal section.slide .people .person.is-aside { justify-content: flex-start; gap: 14px; padding: 22px 20px; }
.reveal section.slide .people .person.is-aside .name { font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.reveal section.slide .people .person.is-aside .role { font-size: 24px; line-height: 1.5; color: var(--fg); }
.reveal section.slide .people .person.is-aside .role .nm { display: block; }
.reveal section.slide .people .person.is-aside .role .sep { display: none; }
.reveal section.slide .people .person.is-aside.many .role { font-size: 20px; line-height: 1.3; }

/* P18 photo strip (bullets with 4-6 media, Rich 2026-10-10 "maybe add photos of our team throughout the years of people
   having fun"): the list on the left, the photos in a 2-column grid on the right (2 x 2 or 2 x 3), cover-cropped */
.reveal section.slide .body.has-strip { display: grid; grid-template-columns: minmax(0, 1fr) 540px; grid-auto-rows: min-content; align-content: safe center; align-items: center; column-gap: 40px; row-gap: 24px; }
.reveal section.slide .body.has-strip ul.items li { font-size: 26px; line-height: 1.3; }
.reveal section.slide .body.has-strip ul.items li + li { margin-top: 0.4em; }
.reveal section.slide .body.has-strip > :not(.strip) { grid-column: 1; }
.reveal section.slide .body.has-strip > .strip { grid-column: 2; grid-row: 1; align-self: center; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
/* stripLabel (2026-10-30, Team WCP Vessey slide): the photos sit in an accent box headed by a short label */
.reveal section.slide .body.has-strip > .strip.has-label { border: 2px solid var(--accent); border-radius: 10px; padding: 8px 10px 10px; }
.reveal section.slide .body.has-strip > .strip > .strip-label { grid-column: 1 / -1; font-family: var(--font-head); font-weight: 600; font-size: 20px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
/* with a lead (2026-10-30, Team WCP Vessey slide) the strip spans the lead's row and the bullets' row */
.reveal section.slide .body.has-strip:has(> .lead) > .strip { grid-row: 1 / span 2; }
.reveal section.slide .body.has-strip:has(> .lead):not(.strip-large) { grid-template-columns: minmax(0, 1fr) 460px; }   /* more room for the text */
.reveal section.slide .body.has-strip > .strip figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius, 0); }
.reveal section.slide .body.has-strip > .strip figure img { object-fit: cover; }

/* PH2 (Rich 2026-10-10: "we should probably put more photos throughout the slides, this program is very visual to
   understand, and students tend to like visuals more than text"): four photo layouts. */
/* (a) section divider with a backdrop: the photo fills the slide, dimmed, under a layer of the section's own colour
   (inherited, so it follows the look) that is strongest on the left where the text sits; the text and the footer
   stay above it. Contrast is measured on the rendered slides (PROGRESS PH2). */
.reveal section.k-section .body.has-backdrop { background-color: inherit; }
.reveal section.slide figure.backdrop { position: absolute; inset: 0; z-index: 0; margin: 0; background-color: inherit; pointer-events: none; overflow: hidden; }
.reveal section.slide figure.backdrop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: brightness(0.65) saturate(0.85); }
.reveal section.slide figure.backdrop::after { content: ''; position: absolute; inset: 0; background-color: inherit;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 0.42) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.8) 45%, rgba(0, 0, 0, 0.42) 100%); }
.reveal section.slide figure.backdrop figcaption { position: absolute; right: 24px; bottom: 56px; z-index: 1; padding: 0; }
.reveal section.k-section .body.has-backdrop > .section,
.reveal section.k-section .body.has-backdrop ~ .foot { position: relative; z-index: 1; }
/* (b) stats with a photo band: compact numbers, then one wide cover-cropped photo filling the rest of the body */
.reveal section.slide.k-stats .body.has-photo { justify-content: flex-start; gap: 16px; padding-top: 22px; padding-bottom: 18px; }
.reveal section.slide.k-stats .body.has-photo .stats { gap: 24px; }
.reveal section.slide.k-stats .body.has-photo .stats .stat { padding: 12px 20px 14px; gap: 6px; }
.reveal section.slide.k-stats .body.has-photo .stats .n { font-size: 68px; }
.reveal section.slide.k-stats .body.has-photo .stats .l { font-size: 22px; line-height: 1.25; }
.reveal section.slide .body.has-photo > figure.photo-band { flex: 1 1 auto; min-height: 120px; overflow: hidden; border-radius: var(--radius, 0); }
.reveal section.slide .body.has-photo > figure.photo-band img { object-fit: cover; object-position: center 45%; }
/* ... a squarish photo (under 1.4:1) sits beside the numbers instead (photo-side; four stats then two by two) */
.reveal section.slide.k-stats .body.has-photo.photo-side { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-auto-rows: min-content; align-content: safe center; column-gap: 36px; row-gap: 18px; }
.reveal section.slide.k-stats .body.has-photo.photo-side > :not(figure) { grid-column: 1; }
.reveal section.slide.k-stats .body.has-photo.photo-side > figure.photo-band { grid-column: 2; grid-row: 1 / span 3; height: 440px; align-self: center; }
.reveal section.slide.k-stats .body.has-photo.photo-side .stats.n-4 { --n: 2; gap: 18px 24px; }
.reveal section.slide.k-stats .body.has-photo.photo-side > figure.photo-band img { object-fit: contain; background: var(--surface, transparent); }
/* P18 strip with five or six photos (PH2): five = two large over three small (a 6-column grid); six = three by two,
   square tiles, in a wider strip */
.reveal section.slide .body.has-strip > .strip.n-5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.reveal section.slide .body.has-strip > .strip.n-5 figure { grid-column: span 2; }
.reveal section.slide .body.has-strip > .strip.n-5 figure:nth-child(-n+2) { grid-column: span 3; }
.reveal section.slide .body.has-strip:has(> .strip.n-6) { grid-template-columns: minmax(0, 1fr) 600px; }
.reveal section.slide .body.has-strip > .strip.n-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reveal section.slide .body.has-strip > .strip.n-6 figure { aspect-ratio: 1 / 1; }
/* strip: 'large' (2026-10-30, Team WCP mode, Rich: "there seems to be some blank space we can take up"): a short bullet
   list beside a wide strip whose rows share the body's full height; tiles are cover-cropped, rows and columns sized to the
   pictures' shapes so little is cut */
.reveal section.slide .body.has-strip.strip-large,
.reveal section.slide .body.has-strip.strip-large:has(> .strip.n-6) { grid-template-columns: minmax(0, 1fr) 700px; grid-template-rows: minmax(0, 1fr); align-content: stretch; }
.reveal section.slide .body.has-strip.strip-large > .strip { align-self: stretch; grid-auto-rows: minmax(0, 1fr); min-height: 0; }
.reveal section.slide .body.has-strip.strip-large > .strip figure { aspect-ratio: auto; min-height: 0; }
.reveal section.slide .body.has-strip.strip-large > .strip figure img { width: 100%; height: 100%; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-5 { grid-template-rows: 3fr 2fr; }   /* rows follow the tile widths: little crop */
/* the strip's own shape follows its 3:2 / 4:3 pictures (centred, not stretched), so a narrower strip does not crop more */
.reveal section.slide .body.has-strip.strip-large > .strip.n-4:not(:has(> figure.tall)) { align-self: center; aspect-ratio: 3 / 2; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-5 { align-self: center; aspect-ratio: 9 / 5; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-6 { align-self: center; aspect-ratio: 9 / 5; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-6 { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 2fr 1fr; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-6 figure { grid-column: span 3; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-6 figure:nth-child(-n+2) { grid-column: span 6; }
/* four pictures with portrait ones first: each portrait takes a full-height column, the others stack on the right */
.reveal section.slide .body.has-strip.strip-large:has(> .strip.n-4 > figure.tall) { grid-template-columns: minmax(0, 1fr) 860px; }
.reveal section.slide .body.has-strip.strip-large > .strip.n-4:has(> figure.tall) { grid-template-columns: 1.2fr 1.2fr 1fr; }
.reveal section.slide .body.has-strip.strip-large > .strip figure.tall { grid-row: span 2; }
/* (c) timeline with a photo row: 2-4 cover-cropped tiles under the events; six events run in one row of six */
.reveal section.slide.k-timeline .body.has-row { gap: 18px; padding-top: 22px; padding-bottom: 18px; }
.reveal section.slide .body.has-row .timeline.n-6 { --n: 6; gap: 16px; }
.reveal section.slide .body.has-row .timeline.n-6 .ev { padding-left: 12px; }
.reveal section.slide .body.has-row .timeline.n-6 .when { font-size: 28px; }
.reveal section.slide .body.has-row .timeline.n-6 .what { font-size: 21px; line-height: 1.3; }
.reveal section.slide .body.has-row .photo-row { flex: 1 1 auto; min-height: 120px; max-height: 260px; display: grid; grid-template-columns: repeat(var(--c, 4), minmax(0, 1fr)); gap: 12px; }
.reveal section.slide .body.has-row .photo-row.n-2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.reveal section.slide .body.has-row .photo-row.n-3 { grid-template-columns: repeat(3, minmax(0, 340px)); }
.reveal section.slide .body.has-row .photo-row figure { height: 100%; overflow: hidden; border-radius: var(--radius, 0); }
.reveal section.slide .body.has-row .photo-row figure img { object-fit: cover; }
/* a long text column beside a photo (deck.js fitMedia adds fit-1..3 while the body overflows) */
.reveal section.slide .body.has-media.fit-1 { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 40px; }
.reveal section.slide .body.has-media.fit-1 > figure { height: 420px; }
.reveal section.slide .body.has-media.fit-1 ul.items li { font-size: 26px; line-height: 1.3; }
.reveal section.slide .body.has-media.fit-2 { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 36px; padding-top: 22px; padding-bottom: 18px; row-gap: 18px; }
.reveal section.slide .body.has-media.fit-2 > figure { height: 380px; }
.reveal section.slide .body.has-media.fit-2 ul.items li { font-size: 24px; line-height: 1.3; }
.reveal section.slide .body.has-media.fit-2 ul.items li + li { margin-top: 0.35em; }
.reveal section.slide .body.has-media.fit-2 .lead { font-size: 26px; }
.reveal section.slide .body.has-media.fit-3 { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; padding-top: 18px; padding-bottom: 14px; row-gap: 14px; }
.reveal section.slide .body.has-media.fit-3 > figure { height: 340px; }
.reveal section.slide .body.has-media.fit-3 ul.items li { font-size: 22px; line-height: 1.28; }
.reveal section.slide .body.has-media.fit-3 ul.items li + li { margin-top: 0.3em; }
.reveal section.slide .body.has-media.fit-3 .lead { font-size: 24px; }
/* (d) steps beside a photo: the steps run in one column on the left */
.reveal section.slide.k-steps .body.has-media ol.steps { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.reveal section.slide.k-steps .body.has-media ol.steps li { padding: 6px 12px; }
.reveal section.slide.k-steps .body.has-media ol.steps .t { font-size: 28px; margin-bottom: 2px; }
.reveal section.slide.k-steps .body.has-media ol.steps .x { font-size: 22px; }
/* the credit line under a credited band, row or strip photo (print and scroll view only) sits over the picture */
.reveal section.slide figure.photo-band.has-credit figcaption,
.reveal section.slide .photo-row figure.has-credit figcaption,
.reveal section.slide .strip figure.has-credit figcaption { position: absolute; right: 8px; bottom: 6px; padding: 0 6px; background: rgba(0, 0, 0, 0.55); border-radius: 4px; }
.reveal section.slide figure.photo-band.has-credit figcaption .credit,
.reveal section.slide .photo-row figure.has-credit figcaption .credit,
.reveal section.slide .strip figure.has-credit figcaption .credit { color: #FFFFFF; margin: 0; }

/* call to action */
.reveal section.slide .cta { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.reveal section.slide .cta.has-qr { grid-template-columns: minmax(0, 1fr) auto; }
.reveal section.slide .cta .lines { display: flex; flex-direction: column; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
/* P14 (Rich 2026-10-09 "all that bold white text is hard to read"): lines read as typed; a "Label: value" line shows
   its label above the value; a new group (web, contact, social) gets space above it */
.reveal section.slide .cta .line { margin: 0; }
.reveal section.slide .cta .line.group-start { margin-top: 18px; }
.reveal section.slide .cta .line.g-contact + .line.g-contact { margin-top: 8px; }
.reveal section.slide .cta .line .lab { display: block; }
.reveal section.slide .cta .qr { width: 300px; height: 300px; }
.reveal section.slide .cta .qr img { width: 100%; height: 100%; object-fit: contain; display: block; margin: 0; }

/* pause */
.reveal section.slide .pause { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; text-align: center; flex: 1 1 auto; }
.reveal section.slide .pause .countdown { cursor: pointer; user-select: none; }

/* the name BS-STEAM never breaks at its hyphen (deck.js text() wraps it) */
.nobr { white-space: nowrap; }

/* error markers and the gate placeholder (draft only) */
.reveal section.slide .gate-placeholder { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.reveal section.slide figure.media-missing { align-items: center; justify-content: center; min-height: 120px; }

/* ======================================================================= 2. DEFAULTS (any theme rule wins) */

:where(.reveal-viewport) { background: var(--bg); color: var(--fg); }
:where(.reveal) { font-family: var(--font-body); font-size: 26px; line-height: 1.4; color: var(--fg); }
:where(.reveal .slides > section.slide) { background: var(--bg); color: var(--fg); }
:where(.reveal) :where(h1, h2, h3) { font-family: var(--font-head); color: inherit; margin: 0; text-transform: none; }
:where(.reveal) :where(h1) { font-size: 80px; line-height: 1.0; font-weight: 800; }
:where(.reveal) :where(h2) { font-size: 52px; line-height: 1.05; font-weight: 800; }
:where(.reveal) :where(h3) { font-size: 34px; line-height: 1.1; font-weight: 700; }
:where(.reveal) :where(strong) { font-weight: 700; }
:where(.reveal) :where(a) { color: var(--accent); }

:where(.reveal .band) { background: var(--band-bg); color: var(--band-fg); border-bottom: 6px solid var(--accent); }
:where(.reveal .eyebrow) { font-family: var(--font-head); font-size: 22px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
:where(.reveal .lead) { font-size: 30px; line-height: 1.35; color: var(--muted); }
:where(.reveal .k-statement .lead) { font-size: 42px; line-height: 1.25; color: var(--fg); }
:where(.reveal ul.items li) { font-size: 28px; line-height: 1.35; }
:where(.reveal ul.items li)::marker { color: var(--accent); }
:where(.reveal .split .col li) { font-size: 24px; }
:where(.reveal figcaption) { font-size: 20px; color: var(--muted); }
:where(.reveal figure img) { border-radius: var(--radius); }

:where(.reveal .stats .stat) { border-top: 6px solid var(--accent); border-radius: var(--radius); }
:where(.reveal .stats .n) { font-family: var(--font-head); font-size: 88px; line-height: 1; font-weight: 800; color: var(--accent); }
:where(.reveal .stats .l) { font-size: 24px; color: var(--muted); }

:where(.reveal ol.steps li)::marker { font-family: var(--font-head); font-weight: 800; color: var(--accent); }
:where(.reveal ol.steps .t) { font-family: var(--font-head); font-size: 32px; font-weight: 700; }
:where(.reveal ol.steps .x) { font-size: 24px; line-height: 1.35; color: var(--muted); }

:where(.reveal .timeline .ev) { border-left: 6px solid var(--accent); }
:where(.reveal .timeline .when) { font-family: var(--font-head); font-size: 32px; font-weight: 700; color: var(--accent); }
:where(.reveal .timeline .what) { font-size: 24px; line-height: 1.35; }

:where(.reveal .video .poster) { background: var(--band-bg); border-radius: var(--radius); }
:where(.reveal .video button.play) { font-family: var(--font-head); font-size: 28px; font-weight: 700; background: var(--accent); color: var(--bg); border: 0; border-radius: 999px; cursor: pointer; }
:where(.reveal .video .print-text) { font-size: 24px; color: var(--muted); }

:where(.reveal .people .person) { border-left: 6px solid var(--accent); border-radius: var(--radius); }
:where(.reveal .people .name) { font-family: var(--font-head); font-size: 32px; font-weight: 700; }
:where(.reveal .people .role) { font-size: 22px; color: var(--muted); }

:where(.reveal .cta .lines) { font-family: var(--font-body); font-size: 30px; line-height: 1.5; font-weight: 400; }
:where(.reveal .cta .line.primary) { font-size: 40px; font-weight: 600; color: var(--accent); }
:where(.reveal .cta .line .lab) { font-family: var(--font-head); font-size: 22px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
:where(.reveal .cta .qr) { border-radius: var(--radius); }

:where(.reveal .pause .prompt) { font-family: var(--font-head); font-size: 56px; line-height: 1.1; font-weight: 700; }
:where(.reveal .pause .countdown) { font-family: var(--font-mono); font-size: 140px; line-height: 1; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
:where(.reveal .pause .countdown.done) { color: var(--muted); }
:where(.reveal .pause .countdown.held) { opacity: 0.6; }

:where(.reveal .foot) { font-family: var(--font-head); font-size: 20px; color: var(--muted); border-top: 1px solid var(--rule); }
:where(.reveal .foot .brand) { color: var(--accent); }

/* error markers: always visible, never themed away */
.reveal .deck-error, .deck-page .deck-error { color: var(--danger, #e0201b); font-weight: 700; }
.reveal section.slide .gate-placeholder,
.reveal section.slide figure.media-missing { border: 4px dashed var(--danger, #e0201b); border-radius: var(--radius); font-size: 28px; }
/* placeholder: true (draft/local only; the live deck drops the slide): a red band across the top and a red frame
   (a fixed dark red in every look: white on it is 6.5:1; brand's --danger is a light red) */
.reveal section.slide.placeholder { box-shadow: inset 0 0 0 6px #b3261e; }
.reveal section.slide .placeholder-band { position: absolute; top: 0; left: 0; right: 0; z-index: 5; pointer-events: none;
  background: #b3261e; color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 700;
  line-height: 1; padding: 6px 16px; text-align: center; letter-spacing: 0.04em; text-transform: uppercase; }
.deck-runsheet tr.placeholder .t::before { content: 'Placeholder: '; color: var(--danger, #e0201b); font-weight: 700; }

/* ======================================================================= 3. SCROLL VIEW (phones, ?view=scroll) */

.reveal-viewport.reveal-scroll .reveal .video button.play { display: none; }
.reveal-viewport.reveal-scroll .reveal .video .print-text { display: block; }
.reveal-viewport.reveal-scroll .reveal .video .player { display: none; }
.reveal-viewport.reveal-scroll .reveal .video.playing .poster img { visibility: visible; }
.reveal-viewport.reveal-scroll .reveal .pause .countdown { cursor: default; }

/* ======================================================================= 4. PRINT (?print-pdf) */

html.print-pdf .reveal .video button.play,
html.print-pdf .reveal .video .player { display: none; }
html.print-pdf .reveal .video .print-text { display: block; }
html.print-pdf .reveal .video.playing .poster img { visibility: visible; }
html.print-pdf .reveal .slides > .pdf-page > section.slide { height: 720px; }
@media print {
  .reveal .video button.play, .reveal .video .player { display: none; }
  .reveal .video .print-text { display: block; }
}

/* ======================================================================= 5. PICKER AND RUNSHEET (no reveal) */

html.deck-page, html.deck-page body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); }
html.deck-page body { font-size: 18px; line-height: 1.5; }
.deck-page main { box-sizing: border-box; max-width: 1080px; margin: 0 auto; padding: 32px 16px 64px; }
.deck-page main * { box-sizing: border-box; }
.deck-page h1 { font-family: var(--font-head); font-size: 44px; line-height: 1.05; margin: 4px 0 12px; }
.deck-page .eyebrow { font-family: var(--font-head); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.deck-page .lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.deck-page a { color: var(--accent); }

.deck-picker .switches { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; margin: 0 0 16px; }
.deck-picker .theme-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
/* presenter intro: "Include my intro slide (Who I am)"; the picker adds "+1:15" to each length while it is on */
.deck-picker .opt-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 16px; cursor: pointer; }
.deck-picker .opt-switch input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); cursor: pointer; flex: none; }
.deck-picker .local-field { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 16px; }
.deck-picker .local-field label { display: inline-flex; align-items: center; gap: 10px; }
.deck-picker .local-field .label { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.deck-picker .local-field input { font: inherit; font-size: 16px; min-height: 40px; width: 9em; padding: 4px 10px; border: 2px solid var(--rule); border-radius: 8px; background: transparent; color: var(--fg); font-family: var(--font-mono); }
.deck-picker .local-field input:focus { border-color: var(--accent); outline: none; }
.deck-picker .local-field input[aria-invalid="true"] { border-color: var(--danger, #C73D3D); }
.deck-picker .local-field .local-clear { font: inherit; font-size: 16px; min-height: 40px; padding: 0 4px; border: 0; background: transparent; color: var(--accent); text-decoration: underline; cursor: pointer; }
.deck-picker .local-field .local-status { color: var(--muted); font-size: 14px; }
.deck-picker .mode-card .len .intro-len { color: var(--accent); font-weight: 700; }
.deck-picker .theme-switch .label { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.deck-picker .theme-switch button { font: inherit; font-size: 16px; min-height: 40px; padding: 6px 18px; border-radius: 999px; border: 2px solid var(--accent); background: transparent; color: var(--fg); cursor: pointer; }
.deck-picker .theme-switch button[aria-pressed="true"] { background: var(--accent); color: var(--bg); font-weight: 700; }
.deck-picker ul.modes { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.deck-picker .mode-card { border: 1px solid var(--rule); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.deck-picker .mode-card a.go { text-decoration: none; color: var(--fg); display: flex; flex-direction: column; min-width: 0; }
.deck-picker .mode-card .t { font-family: var(--font-head); font-size: 26px; font-weight: 700; line-height: 1.15; }
.deck-picker .mode-card .len { color: var(--muted); font-size: 16px; }
.deck-picker .mode-card .alt { display: flex; gap: 16px; font-size: 16px; }

.deck-runsheet .meta { color: var(--muted); margin: 0 0 12px; }
.deck-runsheet .no-print { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin: 0 0 20px; }
.deck-runsheet button { font: inherit; padding: 4px 14px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--band-bg); color: var(--band-fg); cursor: pointer; }
.deck-runsheet table { width: 100%; border-collapse: collapse; font-size: 16px; }
.deck-runsheet th, .deck-runsheet td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.deck-runsheet th { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.deck-runsheet td.i, .deck-runsheet td.start, .deck-runsheet td.sec { white-space: nowrap; font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.deck-runsheet td.slide .t { display: block; font-weight: 700; }
.deck-runsheet td.slide .k { display: block; color: var(--muted); font-size: 13px; }
.deck-runsheet td.notes p { margin: 0 0 6px; }
.deck-runsheet td.who { white-space: nowrap; font-weight: 700; }
@media (max-width: 640px) { .deck-runsheet td.who:not(:empty)::before { content: "Presenter: "; font-weight: 400; color: var(--muted); } }
.reveal aside.notes .presenter, .speaker-controls-notes .presenter { font-weight: 700; }
.deck-runsheet tr.is-pause td { background: var(--band-bg); color: var(--band-fg); }
.deck-runsheet tr.is-intro td.slide .k::after { content: " \00b7  intro slide"; }
@media (max-width: 640px) {
  .deck-runsheet table, .deck-runsheet tbody, .deck-runsheet tr, .deck-runsheet td { display: block; }
  .deck-runsheet thead { display: none; }
  .deck-runsheet td { border: 0; padding: 2px 0; }
  .deck-runsheet tr { border-bottom: 1px solid var(--rule); padding: 8px 0; }
}
@media print {
  html.deck-page, html.deck-page body { background: #fff; color: #000; }
  .deck-page .no-print { display: none; }
  .deck-page main { max-width: none; padding: 0; }
  .deck-runsheet table { font-size: 10.5pt; }
  .deck-runsheet tr { break-inside: avoid; }
  .deck-runsheet tr.is-pause td { background: none; color: #000; font-style: italic; }
  .deck-page .eyebrow, .deck-page a, .deck-runsheet th, .deck-runsheet .meta, .deck-runsheet td.slide .k { color: #000; }
}
/* picker: "More presentations" (the unlisted modes, added to the page when pressed) */
.deck-picker .more-modes { margin: 24px 0 0; display: grid; gap: 16px; }
.deck-picker .more-toggle { justify-self: start; font: inherit; font-size: 16px; min-height: 40px; padding: 6px 18px; border-radius: 999px; border: 2px solid var(--rule); background: transparent; color: var(--fg); cursor: pointer; }
.deck-picker .more-toggle[aria-expanded="true"] { border-color: var(--accent); }
/* split with a lead line above the two columns */
.reveal section.slide.k-split .body > .lead { flex: none; margin: 0 0 8px; }
/* gallery tile label and picture credit (P11); a labelled tile with no picture */
.reveal section.slide figcaption .label { display: block; font-size: 20px; font-weight: 700; color: var(--fg); line-height: 1.2; }
.reveal section.slide figcaption .credit { display: block; font-size: 12px; line-height: 1.3; color: var(--muted); margin-top: 2px; }
.reveal section.slide .gallery figure.tile-label .blank { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px; border: 2px dashed var(--rule); border-radius: var(--radius); }
.reveal section.slide .gallery figure.tile-label .blank .t { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1.15; }
/* "Who I am" (P12, Rich 2026-10-09): without the projects line the two columns have room, so this one slide's text is
   larger; other split slides keep the theme size */
.reveal section.slide[data-id="who-i-am"] .split .col li { font-size: 30px; }
/* stats with bullets under the numbers and a footnote line (P15, "Beyond the official record"): smaller numbers and
   cards so four stats, up to four bullets and a two-line footnote fit the canvas; the footnote sits at the foot */
.reveal section.slide.k-stats .body.has-items { justify-content: flex-start; gap: 18px; padding-top: 22px; padding-bottom: 14px; }
.reveal section.slide.k-stats .body.has-items .stats { gap: 24px; }
.reveal section.slide.k-stats .body.has-items .stats .stat { padding: 12px 18px 14px; gap: 6px; }
.reveal section.slide.k-stats .body.has-items .stats .n { font-size: 60px; }
.reveal section.slide.k-stats .body.has-items .stats .l { font-size: 21px; line-height: 1.25; }
.reveal section.slide.k-stats .body.has-items ul.items li { font-size: 25px; line-height: 1.3; }
.reveal section.slide.k-stats .body.has-items ul.items li + li { margin-top: 0.3em; }
.reveal section.slide.k-stats .body .footnote { margin-top: auto; font-size: 20px; line-height: 1.35; color: var(--muted); border-top: 2px solid var(--rule); padding-top: 8px; }

/* P17 photo credits (Rich 2026-10-10): live view: no credit line under the tiles; the credit is a tooltip (hover, focus
   or tap) and a "Photo credits" overlay opened from the slide foot. Print and the scroll view keep the credits inline. */
.reveal section.slide figure.has-credit:not(.backdrop) { position: relative; cursor: help; }
html:not(.print-pdf) .reveal-viewport:not(.reveal-scroll) .reveal figure.has-credit figcaption .credit { display: none; }
html:not(.print-pdf) .reveal-viewport:not(.reveal-scroll) .reveal .gallery.n-9 figcaption .label,
html:not(.print-pdf) .reveal-viewport:not(.reveal-scroll) .reveal .gallery.n-10 figcaption .label { font-size: 20px; }
html:not(.print-pdf) .reveal-viewport:not(.reveal-scroll) .reveal figure.has-credit:not(.backdrop):hover::after,
html:not(.print-pdf) .reveal-viewport:not(.reveal-scroll) .reveal figure.has-credit:not(.backdrop).tip-open::after {
  content: attr(data-credit); position: absolute; left: 6px; right: 6px; top: 6px; z-index: 3; padding: 6px 8px;
  font-family: var(--font-body); font-size: 14px; line-height: 1.3; color: var(--band-fg); background: var(--band-bg);
  border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); pointer-events: none; }
.reveal section.slide .foot .credits-link { flex: none;
  font: inherit; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: transparent;
  border: 0; border-bottom: 1px dotted var(--muted); padding: 0 0 1px; cursor: pointer; opacity: 0.8; }
.reveal section.slide .foot .credits-link:hover, .reveal section.slide .foot .credits-link[aria-expanded="true"] { opacity: 1; color: var(--fg); }
.reveal section.slide .credits-overlay { position: absolute; left: 48px; right: 48px; bottom: 72px; z-index: 5; padding: 16px 22px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); }
.reveal section.slide .credits-overlay[hidden] { display: none; }
.reveal section.slide .credits-overlay .credits-title { font-family: var(--font-head); font-size: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.reveal section.slide .credits-overlay ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; font-size: 16px; line-height: 1.35; }
.reveal section.slide .credits-overlay li { break-inside: avoid; margin: 0 0 6px; }
.reveal section.slide .credits-overlay b { color: var(--fg); }
.reveal-viewport.reveal-scroll .reveal .foot .credits-link, .reveal-viewport.reveal-scroll .reveal .credits-overlay,
html.print-pdf .reveal .foot .credits-link, html.print-pdf .reveal .credits-overlay { display: none !important; }

/* Esc home (Rich 2026-10-15): the "All presentations" link in the window's top-left corner and the "press Esc again"
   hint. Outside the slides (not scaled, never on the canvas the checker measures); hidden in full screen (the room
   sees a clean slide; Esc, Esc still goes home), in the speaker preview frames and in print. */
.deck-home { position: fixed; top: 6px; left: 8px; z-index: 40; padding: 3px 8px 2px; border-radius: 6px;
  font-family: var(--font-head); font-size: 13px; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); background: var(--bg); text-decoration: none; opacity: 0.7; }
.deck-home::before { content: "\2190\00a0"; }
.deck-home:hover, .deck-home:focus-visible { opacity: 1; color: var(--fg); text-decoration: underline; }
.deck-home-hint { position: fixed; left: 50%; bottom: 28px; z-index: 41; transform: translateX(-50%); max-width: calc(100vw - 32px);
  padding: 10px 18px; border-radius: 8px; font-family: var(--font-head); font-size: 18px; line-height: 1.25; text-align: center;
  color: var(--band-fg); background: var(--band-bg); border: 1px solid var(--rule); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: none; }
.deck-home-hint:not(.on) { display: none; }
:root:fullscreen .deck-home, :root:-webkit-full-screen .deck-home,
html.receiver .deck-home, html.receiver .deck-home-hint,
html.print-pdf .deck-home, html.print-pdf .deck-home-hint { display: none !important; }
@media print { .deck-home, .deck-home-hint { display: none !important; } }
