/* =====================================================================
   Art and Pedagogy of the Video Essay — event page
   Breakpoints: ≥1024 desktop · 768–1023 tablet · ≤767 mobile
   Reference width: 1440px
   ===================================================================== */

:root {
  --black: #000;
  --ink: #f4efe8;               /* warm credit white */
  --muted: #8d8580;
  --magenta: #c264bb;
  --cyan: #36c9ee;
  --red: #d8262c;

  --serif: 'Besley', 'Clarendon', Georgia, serif;
  --sans: 'News Cycle', 'News Gothic', 'Arial Narrow', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1440px;                               /* layout never grows past this */
  --pad: clamp(20px, 8.33vw, 120px);           /* side padding: 120px at 1440 */
  --pad-y: clamp(64px, 8.33vw, 120px);         /* section top/bottom */
  --content: 1200px;                           /* 1440 − 2 × 120 */

  /* schedule (Premiere-style panel) */
  --section: #1e1e1e;
  --section-line: #2e2e2e;
  --panel: #0b0b0b;
  --panel-2: #121212;
  --rule: #2a2a2a;
  --floor: #2c2c2c;
  --label-width: 64px;
  --timeline-width: 2880px;                    /* 09:00–19:00 → 288px per hour */
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--black); color: var(--ink); }
body { font-family: var(--sans); min-width: 320px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

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

/* ---------------------------------------------------------------------
   Back to COMD
   --------------------------------------------------------------------- */
.back-link {
  position: fixed; z-index: 40; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 10px;
  background: rgba(0, 0, 0, .78); color: var(--ink);
  border: 1px solid rgba(244, 239, 232, .55);
  font: 700 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background 160ms ease, border-color 160ms ease;
}
.back-link:hover { background: #000; border-color: var(--ink); }
.back-link span { font-size: 15px; letter-spacing: 0; transform: translateY(-1px); }

/* ---------------------------------------------------------------------
   Buttons — quiet until hovered
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-width: 220px; padding: 17px 36px 16px;
  border: 1px solid currentColor; background: transparent; color: var(--ink);
  font: 700 15px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  opacity: .5;
  transition: opacity 220ms ease, background 220ms ease;
}
.btn:hover, .btn:focus-visible { opacity: 1; background: rgba(0, 0, 0, .25); }
.btn::after { content: '→'; letter-spacing: 0; transition: transform 220ms ease; }
.btn:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  --hero-h: clamp(560px, 55.56vw, 1000px);  /* the eye image's own 1440:800 ratio */
  width: 100%;
  height: var(--hero-h);
  align-items: flex-start;
  background: #5e0806;
}
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 52%;
}
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: calc(var(--hero-h) * .35) var(--pad) 0; text-align: center;
}
.hero h1 { margin: 0; display: flex; flex-direction: column; align-items: center; }
.hero-title { width: min(66.8vw, 1060px); height: auto; }          /* 962px at 1440 */
.hero-subtitle { width: min(45.8vw, 730px); height: auto; margin-top: clamp(18px, 3.2vw, 46px); }
.hero .btn { margin-top: clamp(32px, 5.6vw, 80px); }

/* ---------------------------------------------------------------------
   Speakers
   --------------------------------------------------------------------- */
.speaker { position: relative; background: var(--black); overflow: hidden; }
.speaker-inner {
  position: relative;
  max-width: var(--max); margin: 0 auto;
  padding: var(--pad-y) var(--pad);
  display: flex; flex-direction: column; justify-content: center;
}
.speaker-spiral { position: absolute; aspect-ratio: 1 / 1; }
.speaker-text { position: relative; z-index: 1; }

.speaker-label {
  display: block; margin: 0 0 6px;
  font: 400 clamp(20px, 2.2vw, 32px)/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase;
}
.speaker-name {
  margin: 0; font-family: var(--serif); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 4.45vw, 64px); line-height: 1.12; letter-spacing: .01em;
}
.speaker-name span { display: block; white-space: nowrap; }
.bio {
  margin: clamp(28px, 3.6vw, 52px) 0 0;
  padding: clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 30px);
  color: #0a0a0a;
  font: 400 clamp(15px, 1.12vw, 16.5px)/1.62 var(--sans);
}
.bio p { margin: 0; }

/* --- 1 · Binotto: spiral left, text right --- */
.speaker--1 .speaker-inner { min-height: min(59.7vw, 860px); align-items: flex-end; }
.speaker--1 .speaker-spiral {
  left: 1.5%; top: 50%; width: 54%; transform: translateY(-50%);
}
.speaker--1 .speaker-text { width: max(41%, 440px); }
.speaker--1 .speaker-heading { display: flex; flex-direction: column; align-items: flex-end; }
.speaker--1 .speaker-heading > div { display: inline-block; }
.speaker--1 .speaker-name { text-align: right; }
.speaker--1 .bio { background: var(--magenta); }

/* --- 2 · Arslan: text left, spiral right, cropped at the bio's bottom edge --- */
.speaker--2 { padding-bottom: var(--pad-y); }
.speaker--2 .speaker-inner { padding-bottom: 0; overflow: hidden; }
.speaker--2 .speaker-spiral { left: 35%; top: 30px; width: 63%; }
.speaker--2 .speaker-text { width: max(42.5%, 440px); }
.speaker--2 .speaker-heading { display: flex; align-items: baseline; gap: 10px; }   /* AND sits on the baseline of the first name line */
.speaker--2 .speaker-label { margin: 0; }
.speaker--2 .bio { background: var(--cyan); }

/* ---------------------------------------------------------------------
   About + register
   --------------------------------------------------------------------- */
.about { background: var(--black); }
.about-inner {
  max-width: var(--max); margin: 0 auto;
  padding: var(--pad-y) var(--pad) calc(var(--pad-y) * .5);
  display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: end;
}
.about-text p {
  margin: 0 0 1.4em;
  font: 400 clamp(17px, 1.35vw, 19px)/1.6 var(--sans);
}
.about-text p:last-child { margin-bottom: 0; }
.about-cta { display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-bottom: .4em; }
.about-cta p {
  max-width: 300px; margin: 0 0 24px;
  font: 400 clamp(17px, 1.35vw, 19px)/1.35 var(--sans);
}

/* =====================================================================
   Tablet 768–1023
   ===================================================================== */
@media (max-width: 1023px) {
  .speaker--1 .speaker-spiral { width: 48%; left: 0; }
  .speaker--1 .speaker-text { width: 52%; }
  .speaker--2 .speaker-spiral { width: 56%; left: 46%; top: 50px; }
  .speaker--2 .speaker-text { width: 52%; }
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
}

/* =====================================================================
   Mobile ≤767 — spirals shrink and sit above their text
   ===================================================================== */
@media (max-width: 767px) {
  .back-link { top: 12px; left: 12px; padding: 9px 12px 8px; font-size: 11px; }

  .hero { height: 74svh; min-height: 520px; }
  .hero-content { padding: calc(max(74svh, 520px) * .43) var(--pad) 48px; }   /* title + subtitle sit on the pupil */
  .hero-bg { object-position: 52% 50%; }
  .hero-title { width: 92%; }
  .hero-subtitle { width: 72%; margin-top: 20px; }
  .hero .btn { margin-top: 40px; }

  .speaker-inner { padding-top: 32px; padding-bottom: 48px; }
  /* big enough to bleed off one edge; the other edge lines up with the text */
  .speaker .speaker-spiral { position: relative; inset: auto; transform: none; width: 56vw; max-width: none; margin: -8px 0 -4px; }
  .speaker--1 .speaker-inner { min-height: 0; align-items: stretch; }
  .speaker--1 .speaker-spiral { align-self: flex-start; margin-left: calc(var(--pad) * -1 - 14vw); }   /* bleeds off the left edge */
  .speaker--1 .speaker-heading { align-items: flex-start; }
  .speaker--1 .speaker-name { text-align: left; }
  .speaker--2 { padding-bottom: 0; }
  .speaker--2 .speaker-inner { padding-bottom: 56px; }
  .speaker--2 .speaker-spiral { order: -1; align-self: flex-end; margin-right: calc(var(--pad) * -1 - 14vw); margin-bottom: -20px; }   /* bleeds off the right edge */
  .speaker .speaker-text { width: 100%; }
  .speaker-name { font-size: clamp(26px, 8.4vw, 44px); }
  .bio { margin-top: 24px; }

  .about-inner { padding-top: 64px; padding-bottom: 80px; gap: 44px; }
  .about-cta { align-items: flex-start; text-align: left; }
  .btn { width: 100%; }
}

/* ============================================================
   Schedule (from the timeline prototype)
   ============================================================ */

  /* ============================================================
     Section
     ============================================================ */
  .schedule-section {
    background: var(--section);
    padding: var(--pad-y) var(--pad);
    border-top: 1px solid var(--section-line);
    border-bottom: 1px solid var(--section-line);
  }
  .schedule-inner { width: 100%; max-width: var(--content); margin: 0 auto; }

  .section-header {
    display: flex; align-items: end; justify-content: space-between; gap: 32px;
    margin-bottom: 44px;
  }
  .eyebrow {
    margin: 0 0 14px; color: var(--magenta);
    font: 600 11px/1 var(--mono); letter-spacing: .15em; text-transform: uppercase;
  }
  .schedule-title {
    margin: 0; font-family: var(--sans); font-weight: 700; text-transform: uppercase;
    font-size: clamp(58px, 8vw, 116px); letter-spacing: -.02em; line-height: .82;
  }
  .section-intro { width: min(380px, 100%); margin: 0; color: #c9bfb7; font-size: 16px; line-height: 1.5; }
  .section-intro strong { color: var(--ink); }

  /* ---------- day tabs ---------- */
  .day-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--rule); border-bottom: 0; }
  .day-tab {
    position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center;
    gap: 4px 24px; min-height: 92px; padding: 16px 22px; overflow: hidden;
    border: 0; border-right: 1px solid var(--rule);
    background: #262626; color: var(--muted); text-align: left;
    transition: color 160ms ease, background 160ms ease;
  }
  .day-tab:last-child { border-right: 0; }
  .day-tab:hover { color: var(--ink); }
  .day-tab .tab-num { grid-row: 1 / 3; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
  .day-tab { grid-template-columns: auto 1fr; }
  .day-tab strong { grid-row: 1 / 3; font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: inherit; }
  .day-tab .tab-sub { font-size: 15px; }
  .day-tab em { display: none; }
  .day-tab .tab-short { display: none; }
  .day-tab::after {
    content: ''; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -4px;
    border-radius: 50%; background: currentColor; opacity: .3;
  }
  .day-tab.is-active { background: var(--cyan); color: #04161c; }
  .day-tab.is-active[data-day="1"] { background: var(--magenta); color: #1c0619; }
  .day-tab.is-active::after { opacity: 1; }

  /* ---------- timeline panel ---------- */
  .timeline-panel { border: 1px solid var(--rule); background: var(--panel); }
  .timeline-toolbar {
    display: flex; align-items: center; gap: 22px; height: 44px; padding: 0 16px;
    border-bottom: 1px solid var(--rule); color: var(--muted);
    font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  }
  .toolbar-title { color: #d8d2cc; }
  .toolbar-status { display: flex; align-items: center; gap: 8px; }
  .toolbar-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(216,38,44,.18); }
  .toolbar-hint { color: #5d5752; }
  .toolbar-code { margin-left: auto; color: var(--cyan); font-variant-numeric: tabular-nums; }

  .timeline-scroll {
    max-width: 100%; overflow-x: auto; cursor: grab;
    scrollbar-color: #4a4a4a #151515; scrollbar-width: thin;
  }
  .timeline-scroll.is-dragging { cursor: grabbing; user-select: none; }
  .timeline-scroll.is-dragging .clip { pointer-events: none; }
  .timeline-grid {
    display: grid; grid-template-columns: var(--label-width) var(--timeline-width);
    width: calc(var(--label-width) + var(--timeline-width));
  }

  .ruler-corner {
    position: sticky; z-index: 8; left: 0; display: flex; align-items: end; height: 72px;
    padding: 0 10px 14px; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    background: var(--panel); color: #5d5752; font: 500 9px/1 var(--mono); letter-spacing: .14em;
  }
  .ruler { position: relative; height: 72px; border-bottom: 1px solid var(--rule); background: var(--panel); }
  .ruler::after {
    content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 26px;
    background: repeating-linear-gradient(to right, transparent 0, transparent calc(2.5% - 1px), #2f2f2f calc(2.5% - 1px), #2f2f2f 2.5%);
  }
  .ruler-mark { position: absolute; bottom: 0; z-index: 1; height: 12px; border-left: 1px solid #555; }
  .ruler-mark.is-major { height: 22px; border-color: #8d8580; }
  .ruler-mark span {
    position: absolute; bottom: 30px; left: 0; color: #b3aba5; font: 500 10px/1 var(--mono);
    transform: translateX(-50%);
  }
  .ruler-mark:first-child span { transform: none; }

  .playhead-marker {
    position: absolute; z-index: 4; bottom: -1px; width: 18px; height: 23px; border-radius: 2px 2px 0 0;
    background: var(--red); pointer-events: none;
  }
  .playhead-marker::after {
    content: ''; position: absolute; bottom: -6px; left: 4px;
    border-top: 7px solid var(--red); border-right: 5px solid transparent; border-left: 5px solid transparent;
  }
  .playhead-marker span { position: absolute; top: 6px; left: 8px; width: 2px; height: 8px; background: #3a0507; }

  .track-row { display: contents; }
  .track-label {
    position: sticky; z-index: 7; left: 0; display: flex; align-items: center; gap: 10px;
    justify-content: center; height: 124px; padding: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    background: var(--panel-2);
  }
  .track-label span {
    display: grid; width: 28px; height: 22px; place-items: center; flex: none;
    border: 1px solid #3a3a3a; border-radius: 3px; color: #77706b; font: 500 9px/1 var(--mono);
  }
  .track-label strong {
    padding: 7px 11px; border-radius: 999px; background: #000; color: var(--ink);
    font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  }
  .track-row.is-floor .track-label, .track-row.is-floor .track-content { height: 64px; }
  .track-content { position: relative; height: 124px; overflow: hidden; border-bottom: 1px solid var(--rule); background: #070707; }
  .track-grid {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(to right, transparent 0, transparent calc(5% - 1px), rgba(255,255,255,.05) calc(5% - 1px), rgba(255,255,255,.05) 5%);
  }

  /* ---------- clips ---------- */
  .clip {
    position: absolute; top: 12px; z-index: 2; height: 100px; min-width: 0; overflow: hidden;
    padding: 12px 12px; border: 1px solid #000; border-radius: 2px; color: #0a0a0a; text-align: left;
    transition: filter 120ms ease, outline 120ms ease;
  }
  button.clip:hover { z-index: 5; outline: 2px solid var(--ink); outline-offset: -2px; filter: brightness(1.07); }
  .clip--magenta { background: var(--magenta); }
  .clip--cyan    { background: var(--cyan); }
  .clip--red     { background: var(--red); color: #fff3f0; }
  .clip--floor   { top: 8px; height: 48px; padding: 8px 10px; background: var(--floor); color: #cfc8c2; cursor: default; }
  .clip--floor.clip--narrow .clip-time { display: none; }
  .clip--floor.clip--narrow { padding: 6px 5px; display: flex; align-items: center; overflow: visible; }
  .clip--floor.clip--narrow .clip-title { font-size: 10px; line-height: 1.15; letter-spacing: .02em; white-space: normal; overflow: visible; text-overflow: clip; word-break: keep-all; }
  .clip--floor .clip-title { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .clip--floor .clip-time { margin-top: 3px; }

  .clip-title, .clip-time, .clip-tag {
    position: relative; z-index: 2; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .clip-title { font-size: 15px; font-weight: 700; line-height: 1.15; }
  button.clip .clip-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
  .clip--span2 { height: 224px; padding: 20px 16px; }
  .clip--span2 .clip-title { font-size: 19px; line-height: 1.15; -webkit-line-clamp: 6; }
  .clip--span2 .clip-time { font-size: 11px; margin-top: 10px; }
  .track-content.has-span { overflow: visible; }
  .clip-time { margin-top: 5px; font: 500 10px/1 var(--mono); }
  .clip-tag { margin-top: 8px; font: 600 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
  .clip--narrow .clip-title { font-size: 12px; }

  /* film-strip sprockets on screening clips */
  .clip--screening::before, .clip--screening::after {
    content: ''; position: absolute; left: 0; right: 0; height: 6px; z-index: 1; opacity: .35;
    background: repeating-linear-gradient(to right, #000 0 6px, transparent 6px 12px);
  }
  .clip--screening::before { top: 3px; }
  .clip--screening::after { bottom: 3px; }

  /* waveform on floor clips (breaks, lunch…) */
  .waveform {
    position: absolute; z-index: 1; right: 6px; bottom: 6px; left: 62%;
    display: flex; align-items: end; gap: 2px; height: 22px; overflow: hidden; opacity: .28;
  }
  .waveform i { flex: 1 1 auto; min-width: 1px; background: #cfc8c2; }

  .playhead-line {
    position: absolute; z-index: 3; top: 0; bottom: 0; width: 2px; margin-left: 8px; background: var(--red);
    pointer-events: none;
  }

  /* ---------- mobile list ---------- */
  .mobile-schedule { display: none; }

  /* ---------- dialog ---------- */
  .dialog-backdrop {
    position: fixed; z-index: 50; inset: 0; display: grid; padding: 20px; place-items: center;
    background: rgba(0,0,0,.78); backdrop-filter: blur(5px);
  }
  .dialog-backdrop[hidden] { display: none; }
  .event-dialog {
    position: relative; width: min(540px, 100%); max-height: calc(100vh - 40px); overflow: auto;
    padding: 50px; border: 1px solid #2a2a2a; background: #0b0b0b; color: var(--ink);
  }
  .dialog-color { position: absolute; top: 0; right: 0; left: 0; height: 8px; }
  .dialog-close {
    position: absolute; top: 22px; right: 24px; display: grid; width: 34px; height: 34px; padding: 0;
    place-items: center; border: 1px solid #4a4542; border-radius: 50%; background: transparent; color: var(--ink);
    font-family: Arial, sans-serif; font-size: 24px; font-weight: 300; line-height: 1;
  }
  .dialog-close:hover { border-color: var(--ink); }
  .dialog-kicker { display: block; margin-bottom: 16px; color: var(--muted); font: 600 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
  .event-dialog h2 {
    max-width: 420px; margin: 0 0 18px; font-size: clamp(30px, 5vw, 44px); font-weight: 700;
    text-transform: uppercase; letter-spacing: -.005em; line-height: .98;
  }
  .dialog-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
  .dialog-meta span { padding: 7px 10px; border-radius: 999px; background: #1e1e1e; color: var(--ink); font: 500 10px/1 var(--mono); }
  .dialog-meta span.is-accent { background: var(--red); color: #fff; }
  .event-dialog p { margin: 0 0 22px; color: #c9bfb7; font-size: 17px; line-height: 1.5; }
  .dialog-people { margin: 0 0 30px; padding: 0; list-style: none; border-top: 1px solid #262626; }
  .dialog-people li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #262626; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
  .dialog-people li em { color: var(--muted); font: 500 10px/1.6 var(--mono); font-style: normal; letter-spacing: .06em; text-align: right; }
  .dialog-action { min-height: 44px; padding: 0 18px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
  .dialog-action:hover { background: var(--ink); color: #000; }

  /* ============================================================
     Mobile (matches the Figma Make breakpoint)
     ============================================================ */
  @media (max-width: 760px) {
    .schedule-section { padding: 56px var(--pad) 64px; }
    .section-header { display: block; margin-bottom: 28px; }
    .schedule-title { font-size: clamp(48px, 17vw, 88px); }
    .section-intro { margin-top: 22px; font-size: 15px; }

    .day-tab { display: flex; min-height: 70px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 12px; }
    .day-tab .tab-num { grid-row: auto; font-size: 10px; }
    .day-tab strong { font-size: 17px; }
    .day-tab .tab-long { display: none; }
    .day-tab .tab-short { display: inline; }
    .day-tab::after { right: 12px; top: 16px; margin: 0; width: 6px; height: 6px; }

    .timeline-toolbar { gap: 14px; padding: 0 12px; }
    .timeline-toolbar { display: none; }
    .desktop-timeline { display: none; }

    .mobile-schedule { display: block; padding: 12px; }
    .mobile-day-label {
      display: flex; align-items: center; justify-content: space-between; padding: 5px 2px 14px;
      color: #8d8580; font: 500 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
    }
    .mobile-day-label strong { color: var(--cyan); font-weight: 500; }
    .mobile-list { display: grid; gap: 6px; }

    .clip.clip--mobile {
      position: relative; top: auto; display: grid; grid-template-columns: 1fr auto; align-items: end;
      width: 100%; height: auto; min-height: 84px; padding: 16px 14px 13px;
    }
    .clip--mobile.clip--floor { min-height: 0; padding: 12px 14px; grid-template-columns: 1fr auto; align-items: center; }
    .clip--mobile.clip--floor .mobile-track { display: none; }
    .clip--mobile .mobile-track {
      position: absolute; z-index: 2; top: 10px; left: 10px; padding: 4px 8px; border-radius: 999px;
      background: #000; color: var(--ink); font: 500 8px/1 var(--mono); letter-spacing: .05em; text-transform: uppercase;
    }
    .clip--mobile .clip-title { white-space: normal; font-size: 17px; line-height: 1.1; padding-right: 10px; }
    .clip--mobile.clip--floor .clip-title { font-size: 13px; }
    .clip--mobile .clip-time { margin: 0; font-size: 10px; text-align: right; }
    .clip--mobile .clip-tag { grid-column: 1 / -1; margin-top: 8px; }
    .clip--mobile .waveform { left: 58%; right: 96px; bottom: 50%; transform: translateY(50%); height: 18px; opacity: .2; }

    .event-dialog { padding: 44px 22px 26px; }
    .dialog-close { top: 18px; right: 18px; }
  }

  @media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  }

/* ============================================================
   Recent publications — slider over the red/yellow spiral
   ============================================================ */
.pubs { position: relative; overflow: hidden; background: var(--black); }
.pubs-bg {
  position: absolute; z-index: 0; pointer-events: none;
  /* spiral top-right, pupil behind the right column; left and bottom edges fade to black */
  width: 92%; max-width: 1500px; height: auto;
  right: -22%; top: -8%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 25%), linear-gradient(to bottom, transparent 4%, #000 24%, #000 68%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(to right, transparent 0%, #000 25%), linear-gradient(to bottom, transparent 4%, #000 24%, #000 68%, transparent 100%);
}
.pubs-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--pad-y) * .55) var(--pad) var(--pad-y);
}
.pubs-title {
  margin: 0 0 clamp(36px, 4.4vw, 64px);
  font-family: var(--serif); font-weight: 900; text-transform: uppercase;
  font-size: clamp(32px, 3.9vw, 56px); line-height: 1.02; letter-spacing: .005em;
}
.pubs-title span { display: block; }

/* slider: track lives in the content column, arrows in the side padding */
.slider { position: relative; margin-inline: calc(clamp(24px, 2.2vw, 32px) * -1); }
.slider-track {
  --per-view: 2;
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
  --gap: 24px; column-gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track:focus-visible { outline: 1px solid rgba(244,239,232,.4); outline-offset: 6px; }

.pub-card {
  --card-pad: clamp(24px, 2.2vw, 32px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  padding: calc(var(--card-pad) * .8) var(--card-pad);
  background: rgba(0, 0, 0, .4);
}
.pub-title { margin: 0; font: 700 clamp(19px, 1.5vw, 22px)/1.2 var(--sans); }
.pub-by { margin: 6px 0 0; font: 400 clamp(15px, 1.12vw, 16px)/1.35 var(--sans); }
.pub-date {
  margin: 8px 0 0; color: #8a8580;
  font: 700 clamp(13px, 1vw, 14px)/1 var(--sans); letter-spacing: .02em; text-transform: uppercase;
}
.pub-text { margin: 18px 0 22px; font: 400 clamp(14px, 1.02vw, 15px)/1.55 var(--sans); }
.pub-text:has(+ .pub-text--cont) { margin-bottom: 0; }
.pub-text--cont { margin-top: 1em; }
.pub-more { color: var(--ink); white-space: nowrap; text-underline-offset: 3px; }
.pub-more:hover { color: #fff; }
.pub-link {
  align-self: flex-start; margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px 10px; border: 1px solid currentColor; color: var(--ink);
  font: 700 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  opacity: .55; transition: opacity 200ms ease, background 200ms ease;
}
.pub-link::after { content: '↗'; letter-spacing: 0; }
.pub-link:hover, .pub-link:focus-visible { opacity: 1; background: rgba(0,0,0,.4); }

.slider-arrow {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center;
  width: 52px; height: 52px; padding: 0;
  border: 1.5px solid rgba(244,239,232,.55); border-radius: 50%;
  background: transparent; color: var(--ink);
  transform: translateY(-50%);
  transition: opacity 200ms ease, border-color 200ms ease, background 200ms ease;
}
.slider-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slider-arrow:hover:not(:disabled) { border-color: var(--ink); background: rgba(0,0,0,.5); }
.slider-arrow:disabled { opacity: .25; cursor: default; }
/* centred in the side padding (120px at 1440) */
.slider-arrow--prev { left: calc(var(--pad) / -2 + clamp(24px, 2.2vw, 32px) - 26px); }
.slider-arrow--next { right: calc(var(--pad) / -2 + clamp(24px, 2.2vw, 32px) - 26px); }

@media (max-width: 1023px) {
  .slider-track { --per-view: 1; }
  .pubs-bg { width: 140%; right: -60%; top: 0; }
  /* gutter is too narrow for the arrows: put them under the cards, left & right */
  .slider { padding-bottom: 76px; }
  .slider-arrow { top: auto; bottom: 0; transform: none; margin: 0; }
  .slider-arrow--prev { left: clamp(24px, 2.2vw, 32px); }
  .slider-arrow--next { right: clamp(24px, 2.2vw, 32px); }
}
@media (max-width: 767px) {
  .pubs-bg { width: 190%; right: -95%; top: 24px; }
  .pubs-title { margin-bottom: 40vw; font-size: clamp(28px, 8.2vw, 38px); }
  .slider-track { --gap: 12px; }
  .pub-card { padding: 22px 20px; }
  .slider { margin-inline: -20px; }   /* card text lines up with the title */
  .slider-arrow--prev { left: 20px; }
  .slider-arrow--next { right: 20px; }
  .slider-arrow { width: 46px; height: 46px; }
}

/* ============================================================
   In collaboration with — logos
   ============================================================ */
.partners { background: var(--black); }
.partners-inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(48px, 5.5vw, 80px) var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.partners-label {
  margin: 0; font: 400 clamp(18px, 1.6vw, 23px)/1 var(--sans);
  letter-spacing: -.01em; text-transform: uppercase; white-space: nowrap;
}
.partners-logos { display: flex; align-items: center; gap: clamp(28px, 3vw, 44px); }
.logo-geect { width: clamp(220px, 21vw, 300px); height: auto; }
.logo-comd { width: clamp(120px, 10vw, 140px); height: auto; }
.partners-rule { flex: none; align-self: stretch; width: 1px; min-height: 80px; background: #e2287a; }

@media (max-width: 767px) {
  .partners-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .partners-logos { width: 100%; gap: 20px; }
  .logo-geect { width: 100%; }
  .partners-logos > a:last-child { flex: 0 0 28%; }
  .partners-logos > a:first-child { flex: 0 0 60%; }
  .logo-comd { width: 100%; }
  .partners-rule { min-height: 56px; }
}

.partners-logos a { display: block; transition: opacity 200ms ease; }
.partners-logos a:hover { opacity: .75; }
