/* ==========================================================
   Qiskit Fall Fest - EMSI Casablanca  ::  v2, showcase
   ----------------------------------------------------------
   Shape borrowed from the Slam Dunk 3D product page: near-black
   ground, one hot accent, enormous condensed display type, a
   spec-sheet rhythm, and one WebGL object carried by scroll.

   Accent is Carbon magenta rather than that site's orange, so
   the page still reads as Qiskit.

   Scroll is normal document scroll. The reference locks the body
   and runs its own scroller, which costs you the scrollbar,
   keyboard paging and find-on-page. Not worth copying.
   ========================================================== */

:root {
  --bg:      #080808;
  --bg-2:    #050505;
  --ink:     #ffffff;
  --muted:   #8a8a90;
  --line:    rgb(255 255 255 / .12);
  --accent:  #ee5396;   /* Carbon magenta 50 */
  --accent-2:#ff7eb6;   /* magenta 40, for glow */

  --display: "Anton", "Arial Narrow", system-ui, sans-serif;
  --sans:    "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, monospace;
  --ease:    cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #000; padding: 12px 18px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

[data-lang="en"] [lang="fr"], [data-lang="fr"] [lang="en"] { display: none; }

/* ---------- The WebGL stage, fixed behind everything ---------- */

#stage {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
}
#stage canvas { display: block; width: 100%; height: 100%; }

/* Content rides above the stage. */
.nav, main, .foot { position: relative; z-index: 2; }

/* ---------- Nav ---------- */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  padding: 18px clamp(18px, 4vw, 44px);
  mix-blend-mode: difference;              /* stays legible over the sphere */
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1.1rem; letter-spacing: .04em;
}
.brand__mark {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.brand__sub { color: var(--muted); margin-left: 8px; font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; }

.nav__links { margin-left: auto; display: flex; gap: 26px; }
.nav__links a {
  font-family: var(--mono); font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
}
.nav__links a:hover { color: var(--accent); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.ghost-btn {
  background: none; border: 1px solid var(--line); color: var(--ink);
  font: 500 .7rem/1 var(--mono); letter-spacing: .12em;
  padding: 9px 11px; cursor: pointer;
}
.ghost-btn:hover { border-color: var(--accent); color: var(--accent); }

.seats {
  display: inline-flex; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); color: var(--ink);
  font: 500 .7rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 12px; cursor: pointer;
}
.seats__count {
  min-width: 1.4em; text-align: center;
  background: var(--accent); color: #000; padding: 2px 5px; font-weight: 700;
}
.seats.is-hit { animation: seathit .5s var(--ease); }
@keyframes seathit { 40% { transform: scale(1.16); } }

.nav__burger { display: none; }

@media (max-width: 860px) {
  .nav { mix-blend-mode: normal; background: rgb(8 8 8 / .82); backdrop-filter: blur(10px); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 6px 22px 20px;
    background: var(--bg); border-bottom: 1px solid var(--line); display: none;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__burger { display: inline-flex; }
  .seats__label { display: none; }
}

/* ---------- Sections ---------- */

.sect {
  min-height: 100vh; min-height: 100dvh;
  padding: clamp(90px, 12vh, 150px) clamp(18px, 5vw, 72px) clamp(60px, 9vh, 110px);
  display: flex; flex-direction: column; justify-content: center;
  max-width: 1440px; margin-inline: auto;
}
.sect--right { align-items: flex-end; text-align: right; }
.sect--right .note, .sect--right .specs { margin-left: auto; }

/* ---------- Display type ---------- */

.mega {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(4.2rem, 1.5rem + 15vw, 16rem);
  line-height: .82; letter-spacing: -.02em; text-transform: uppercase;
  margin: 0 0 clamp(20px, 3vw, 36px);
}
.mega__b { color: var(--accent); }
.mega--center { text-align: center; }

.big {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.8rem, 1rem + 8.5vw, 8rem);
  line-height: .86; letter-spacing: -.015em; text-transform: uppercase;
  margin: 0 0 clamp(22px, 3vw, 40px);
}
.big__b { color: var(--accent); }
.big--center { text-align: center; }

.eyebrow, .kicker {
  font-family: var(--mono); font-size: .7rem;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 clamp(16px, 2vw, 26px);
}
/* The kicker is 11px magenta, and the qubit is magenta. Wherever the sphere's
   path crosses a kicker during scroll it measured as low as 1.5:1. An opaque
   ground the colour of the page is invisible on black and gives the text a
   6:1 backing when the sphere passes behind. */
.kicker { color: var(--accent); background: var(--bg); padding: 4px 0; width: fit-content; }

.note {
  font-size: clamp(.95rem, .9rem + .3vw, 1.08rem);
  color: var(--muted); max-width: 46ch; margin: clamp(24px, 3vw, 38px) 0 0;
}

/* The letter fan in the hero */
.fan {
  display: flex; gap: clamp(4px, .8vw, 12px);
  font-family: var(--mono); font-size: .7rem; letter-spacing: .2em;
  color: var(--muted); margin: 0 0 14px;
}
.fan span { display: inline-block; }

/* ---------- Hero ticket card ---------- */

.sect--hero { position: relative; }

.ticket {
  position: absolute; right: clamp(18px, 5vw, 72px); bottom: clamp(70px, 12vh, 130px);
  width: min(300px, 78vw);
  border: 1px solid var(--line);
  background: rgb(8 8 8 / .72);
  backdrop-filter: blur(12px);
  padding: 20px;
}
.ticket__row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; }
.ticket__k, .ticket__v { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.ticket__k { color: var(--muted); }
.ticket__price {
  font-family: var(--display); font-size: 3.2rem; line-height: 1;
  margin: 12px 0 16px; color: var(--accent);
}

.claim {
  display: block; width: 100%; cursor: pointer;
  text-align: center;                    /* it is an <a> now, not a <button> */
  background: var(--accent); color: #000; border: 0;
  font: 700 .8rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
  padding: 16px 18px; margin-top: 6px;
  /* No transform here: GSAP animates this element's transform on reveal, and
     a CSS transition on the same property fights it and can leave the button
     stranded below its slot, on top of the fineprint. */
  transition: background-color .15s var(--ease);
}
.claim:hover { background: var(--accent-2); }
.claim:active { transform: translateY(1px); }
.claim--lg {
  width: auto; display: inline-block; text-align: center;
  padding: 20px 44px; font-size: .92rem; margin: 8px auto 0;
}

.scrollhint {
  position: absolute; left: clamp(18px, 5vw, 72px); bottom: clamp(28px, 5vh, 48px);
  font-family: var(--mono); font-size: .64rem; letter-spacing: .28em; color: var(--muted);
  margin: 0;
}
.scrollhint::after { content: " ↓"; }

@media (max-width: 860px) {
  .ticket { position: static; width: 100%; margin-top: 32px; }
  .scrollhint { display: none; }
}

/* ---------- Spec sheet ---------- */

.specs {
  margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  max-width: 780px;
}
.specs--tight { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 580px; }
.specs > div { background: var(--bg); padding: 20px 18px; }
.specs dt {
  font-family: var(--display); font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  line-height: 1; color: var(--accent);
}
.specs .unit { font-size: .45em; margin-left: .1em; }
.specs dd {
  margin: 10px 0 0; font-family: var(--mono);
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

@media (max-width: 720px) {
  .specs, .specs--tight { grid-template-columns: 1fr 1fr; }
}

/* ---------- Tiers ---------- */

.sect--tiers { align-items: center; text-align: center; }
.tiers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  width: 100%; max-width: 1000px; margin-top: 12px;
}
.tier { background: var(--bg); padding: clamp(24px, 3vw, 40px); text-align: left; }
.tier--mid { background: var(--bg-2); }
.tier__rank {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em;
  color: var(--accent); margin: 0 0 16px;
}
.tier h3 { font-family: var(--display); font-size: 1.7rem; font-weight: 400; margin: 0 0 12px; text-transform: uppercase; }
.tier p { margin: 0; color: var(--muted); font-size: .92rem; }

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

/* ---------- CTA + footer ---------- */

/* The last two sections centre their copy, and the qubit sits centred behind
   them (keyframes 0.571 and 1.000). Small text measured 1.03:1 against the
   lit sphere and the magenta kicker 1.0:1, both invisible. A scrim gives the
   copy its own dark ground without moving the sphere off the centre, which
   is where the closing beat wants it. */
.sect--cta, .sect--tiers { position: relative; }
.sect--cta::before, .sect--tiers::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  /* Sized to the copy, which was measured at x 10-90%, y 20-83% of the section.
     An earlier pass faded out at 48% and left the kicker on bare sphere. */
  background: radial-gradient(64% 52% at 50% 52%,
              rgb(8 8 8 / .92) 0%, rgb(8 8 8 / .90) 62%,
              rgb(8 8 8 / .55) 84%, rgb(8 8 8 / 0) 100%);
}

.sect--cta { align-items: center; text-align: center; }

/* Brighter than --muted: over the scrim this reads 11.4:1 rather than 5.5:1,
   and it is the smallest text on the page. */
.fineprint {
  color: #c9c9d0; font-size: .95rem; line-height: 1.5;
  margin: 30px auto 0; max-width: 46ch;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 36px clamp(18px, 5vw, 72px);
  display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between;
}
.foot p { margin: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- The flying seat ---------- */

.flyer {
  position: fixed; z-index: 90; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--accent-2), var(--accent) 58%, #7a1246);
  box-shadow: 0 0 24px -4px var(--accent);
  pointer-events: none; opacity: 0;
  will-change: transform;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed; z-index: 95; left: 50%; bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--accent); color: #000;
  font: 700 .72rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  padding: 14px 22px; opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-up { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reduced motion ----------
   The sphere still renders, it just stops being scroll-choreographed
   and the fan/flyer animations collapse. */
@media (prefers-reduced-motion: reduce) {
  .seats.is-hit { animation: none; }
  .toast { transition: none; }
}

/* ---------- |0> and |1> pole labels ----------
   DOM, positioned by projecting the sphere's poles every frame. */

/* z-index 1: above the canvas (#stage, 0), below the page (main, 2). The
   labels belong to the sphere, so they hide behind the same opaque blocks it
   does (photo, schedule, speaker cards). At 3 they floated over all of them. */
.ket {
  position: fixed; left: 0; top: 0; z-index: 1;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  color: var(--accent-2); opacity: 0;
  pointer-events: none; will-change: transform;
}

/* ---------- The flock ----------
   Copy on the left, the IBM artwork on the right. hero-flock carries its own
   pale sky, so on this near-black ground it is masked into a soft-edged
   window rather than sitting as a hard bright rectangle. */

.sect--flock {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
  position: relative; overflow: hidden;
}
.flock__copy { max-width: 44ch; }
.flock__copy .specs { margin-top: clamp(24px, 3vw, 36px); }

.flock__art { position: relative; height: min(62vh, 520px); }

.flock__band {
  position: absolute; inset: 0; margin: auto;
  width: 100%; height: 68%; object-fit: cover;
  border: 1px solid var(--line);
  -webkit-mask-image: radial-gradient(115% 100% at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(115% 100% at 50% 50%, #000 52%, transparent 100%);
}

.flock__bird {
  position: absolute; width: clamp(88px, 12vw, 148px); height: auto;
  border-radius: 50%;
  box-shadow: 0 18px 50px -12px rgb(0 0 0 / .9);
}
.flock__bird--a { left: -6%; top: 4%; }
.flock__bird--b { right: -4%; bottom: 6%; }

.flock__big {
  position: absolute; right: -14%; top: 30%;
  width: clamp(150px, 22vw, 300px); height: auto;
  filter: drop-shadow(0 20px 40px rgb(0 0 0 / .8));
}

@media (max-width: 880px) {
  .sect--flock { grid-template-columns: 1fr; }
  .flock__art { height: 46vh; order: -1; }
  .flock__bird--a { left: -2%; }
  .flock__bird--b { right: -2%; }
  .flock__big { right: -10%; width: 150px; }
}


/* The host institution, on a plate so the dark mark survives the black. */
.foot__logo {
  box-sizing: content-box;
  height: 40px; width: auto;
  padding: 8px 12px;
  background: #fff;
}
/* EMSI and its research lab (LPRI), side by side; the group takes the left */
.foot__logos { display: flex; gap: 10px; align-items: center; margin-right: auto; }



/* ---------- Before you arrive ---------- */

.setup__grid {
  display: grid; grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(28px, 4vw, 48px);
  align-items: start;
}
/* Grid items default to min-width:auto, so the <pre> would stop the column
   shrinking below its longest line. */
.setup__grid > *, .steps > li { min-width: 0; }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: clamp(22px, 3vw, 34px); }
.steps li { counter-increment: step; padding-left: 58px; position: relative; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px;
  font-family: var(--display); font-size: 1.5rem; color: var(--accent);
}
.steps h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--muted); font-size: .93rem; max-width: 52ch; }

code {
  font-family: var(--mono); font-size: .88em;
  background: rgb(255 255 255 / .08); padding: .12em .4em;
}
pre {
  margin: 14px 0 0; padding: 16px 18px;
  background: var(--bg-2); border: 1px solid var(--line);
  overflow-x: auto;
}
pre code { background: none; padding: 0; font-size: .82rem; line-height: 1.8; white-space: pre; }

.res { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.res__head {
  margin: 0; padding: 14px 18px; background: var(--bg);
  font-family: var(--mono); font-size: .66rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 400;
}
.res__item { display: grid; gap: 3px; padding: 16px 18px; background: var(--bg); }
.res__item:hover { background: var(--bg-2); }
.res__item strong { font-size: .93rem; font-weight: 600; }
.res__item > span { color: var(--muted); font-size: .82rem; }

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

/* ---------- Where ---------- */

.venue {
  display: grid; grid-template-columns: 1.35fr 1fr;
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
}
.venue__shot { margin: 0; overflow: hidden; }
.venue__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* The photo is portrait and the slot is landscape, so cover crops it to a
   band. 72% keeps the EMSI sign in that band rather than the facade slats.
   A definite height on the figure, or the portrait image sets the row height
   itself (868px at 1536 wide) and the block outgrows the screen. */
.venue__shot { height: clamp(420px, 60vh, 560px); }
.venue__shot img { object-position: 36% 70%; }

.venue__meta {
  display: flex; flex-direction: column; justify-content: center;
  gap: 8px; padding: clamp(24px, 3vw, 44px);
  background: var(--accent); color: #000;
}
.venue__meta p { margin: 0; font-size: .96rem; }
.venue__name { font-family: var(--display); font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; }
.venue__map {
  margin-top: 14px; align-self: flex-start;
  font: 700 .74rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase;
  color: #000; border-bottom: 2px solid #000; padding-bottom: 6px;
}
.venue__map::after { content: " \2197"; }
.venue__map:hover { color: var(--bg); border-bottom-color: var(--bg); }

@media (max-width: 820px) {
  .venue { grid-template-columns: 1fr; }
  .venue__shot { height: auto; aspect-ratio: 4 / 3; }
}

/* Bloch annotation labels, all projected from 3D by app.js. */
.ket--axis { font-style: italic; color: #fff; }
.ket--psi  { color: var(--accent); font-weight: 600; }
.ket--ang  { color: #fff; font-size: .82rem; }

/* ── The schedule ────────────────────────────────────────────────────────
   Three day columns, hour rows inside each. The columns are top-aligned and
   day 3 is short, so the bottom right of this section stays empty; that is
   where the qubit keyframe parks it. min-width:0 on the columns because grid
   items default to min-width:auto, which stops a long entry from shrinking. */
/* Centred, like the two other centre-aligned sections. The day columns keep
   their own left alignment: a timetable read down a centred axis is unreadable. */
.sect--sched { align-items: center; text-align: center; }

.sched {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  width: 100%; max-width: 1100px; margin: 22px auto 0;
}
.sched__day { background: var(--bg); padding: clamp(20px, 2.2vw, 32px); min-width: 0; text-align: left; }
.sched__day:nth-child(2) { background: var(--bg-2); }

.sched__head { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 4px; }
.sched__n {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em;
  color: var(--accent); margin: 0 0 10px;
}
.sched__day h3 {
  font-family: var(--display); font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 400;
  margin: 0 0 8px; text-transform: uppercase; line-height: 1.1;
}
.sched__date { margin: 0; font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; color: var(--muted); }

.sched__list { list-style: none; margin: 0; padding: 0; }
.sched__row {
  display: grid; grid-template-columns: 7.4em 1fr auto; gap: 14px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--line);
}
.sched__row:last-child { border-bottom: 0; }
.sched__t { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.sched__t--tba { color: var(--line); }
.sched__e { font-size: .92rem; line-height: 1.35; min-width: 0; }

/* breaks and meals are structure, not programme: they recede */
.sched__row--soft .sched__e { color: var(--muted); }
.sched__row--soft .sched__t { color: var(--muted); }
/* an entry with no confirmed speaker yet */
.sched__row--tba .sched__e::after {
  content: "TBA"; font-family: var(--mono); font-size: .58rem; letter-spacing: .14em;
  color: var(--muted); border: 1px solid var(--line); border-radius: 2px;
  padding: 2px 5px; margin-left: 9px; vertical-align: 2px; white-space: nowrap;
}
/* the one hard deadline on the page */
.sched__row--mark .sched__e { color: var(--accent-2); }
.sched__row--mark .sched__t { color: var(--accent-2); }

.sched__note {
  margin: 16px 0 0; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .1em; color: var(--muted); text-transform: uppercase;
}

@media (max-width: 900px) {
  .sched { grid-template-columns: 1fr; max-width: 560px; }
}

/* ── Speakers ────────────────────────────────────────────────────────────
   Seven cards, three across. Each card paints an opaque --bg, so the qubit
   never sits under a name or a title. Flex-wrap rather than grid: seven in
   threes leaves one card on the last row, and grid would pin it to the left
   of a centred section. justify-content centres it. */
.sect--speakers { align-items: center; text-align: center; }

.spk {
  list-style: none; margin: 22px auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  width: 100%; max-width: 1100px; text-align: left;
}
.spk__card {
  flex: 0 1 calc((100% - 28px) / 3);
  background: var(--bg); border: 1px solid var(--line); min-width: 0;
  padding: clamp(20px, 2vw, 28px); display: flex; flex-direction: column; gap: 18px;
}
.spk__id { display: flex; gap: 16px; align-items: flex-start; }
.spk__ini {
  flex: 0 0 56px; height: 56px; display: grid; place-items: center;
  font-family: var(--display); font-size: 1.35rem; letter-spacing: .04em;
  color: var(--bg); background: var(--accent);
}
.spk__name {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: 1.3rem; line-height: 1.1; margin: 2px 0 6px;
}
.spk__aff { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.4; }

.spk__body { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.spk__kind {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 8px;
}
.spk__talk { margin: 0; font-size: .98rem; line-height: 1.4; }
.spk__talk--tba { color: var(--muted); }
.spk__ini--photo { display: block; width: 56px; object-fit: cover; background: var(--bg-2); }
.spk__tags { margin: 12px 0 0; }
.spk__tag {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 2px; padding: 3px 6px;
}
@media (max-width: 900px) { .spk__card { flex-basis: 100%; } }

.spk__list { margin: 0; padding-left: 1.1em; font-size: .98rem; line-height: 1.4; }
.spk__list li + li { margin-top: 6px; }

/* Organising committee: the speaker card without its talk, four across. */
.spk__group {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: .02em;
  margin: clamp(48px, 6vw, 72px) 0 0;
}
/* three across, like the speaker cards: at four across a name had 135 px and
   wrapped. Names stay on one line. */
.spk--org .spk__card { flex-basis: calc((100% - 28px) / 3); }
.spk--org .spk__name { white-space: nowrap; }
@media (max-width: 1100px) { .spk--org .spk__card { flex-basis: calc((100% - 14px) / 2); } }
@media (max-width: 600px)  { .spk--org .spk__card { flex-basis: 100%; } }

/* official programme rows: speaker over title, online chip on the right */
.sched__e b { display: block; font-weight: 600; }
.sched__e small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.35; margin-top: 3px; }
.sched__row--ws .sched__e b { color: var(--accent-2); }
.sched__on { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); border: 1px solid var(--line); padding: 3px 6px; white-space: nowrap; align-self: center; }

/* link to the phone-first programme page (/programme/) */
.sched__mobile { margin-top: 14px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.sched__mobile::after { content: " 92"; }
