/* ==========================================================================
   Collaborative Lab Automation Workshop Series
   Palette follows imperial.ac.uk (I-X pages): near-black text and dark
   surfaces, Imperial Blue #0000CD for the logo, links, buttons and rules,
   lavender and light grey panels. Layout echoes the Imperial slide template.
   ========================================================================== */

:root {
  --ink: #161A1D;           /* imperial.ac.uk body/heading colour */
  --ink-2: #3A4148;
  --muted: #5A6673;         /* imperial.ac.uk secondary text */
  --blue: #0000CD;          /* Imperial Blue */
  --blue-dark: #00009A;
  --lavender: #E6E6FA;      /* imperial.ac.uk panels */
  --grey-bg: #F1F2F4;       /* imperial.ac.uk light sections */
  --on-dark: #A3ACFF;       /* accent on near-black surfaces */
  --line: rgba(22, 26, 29, 0.13);
  --line-strong: rgba(22, 26, 29, 0.32);
  --white: #FFFFFF;

  --font-display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --section-y: clamp(72px, 10vw, 136px);
}

/* ---------------------------------------------------------------- Base */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

p { margin: 0; }
figure { margin: 0; }

[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

.icon { width: 1.15em; height: 1.15em; flex: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Small mono labels echo the monospaced IMPERIAL wordmark */
.kicker,
.event-kind,
.panel-label,
.facet-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------------------------------------------------------------- Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 2px solid var(--blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn .arrow { transition: transform 0.15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }

.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--lavender); }

/* ---------------------------------------------------------------- Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(22, 26, 29, 0.5); }

/* Blue rule under the header, as on imperial.ac.uk */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  border-bottom: 2px solid var(--blue);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  color: var(--blue);
  text-decoration: none;
}
.brand-logo { height: 24px; width: auto; flex: none; }
.brand-divider { width: 1px; height: 26px; flex: none; background: var(--line-strong); }
.brand-series {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-list a:hover { color: var(--blue); }
.nav-list a[aria-current="true"] { color: var(--blue); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1.5px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .brand-divider,
  .brand-series { display: none; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 20px; }

  .js .nav-toggle { display: inline-flex; }
  .js .nav-list {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(22, 26, 29, 0.3);
  }
  .js .site-nav.is-open .nav-list { display: flex; }
  .js .nav-list a {
    padding: 14px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--line);
  }
  .js .nav-list a[aria-current="true"] { border-bottom-color: var(--line); font-weight: 700; }

  /* Without JavaScript, show the links in a compact row instead */
  .no-js .header-inner { height: auto; padding-block: 14px; flex-wrap: wrap; }
  .no-js .nav-list { flex-wrap: wrap; }
  .no-js .nav-list a { padding: 6px 10px 6px 0; }
}

/* ---------------------------------------------------------------- Hero */

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(40px, 6vw, 72px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.eyebrow {
  margin-bottom: clamp(20px, 3vw, 28px);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 0.9rem + 5.2vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-title .line { display: block; }

.hero-subtitle {
  margin-top: clamp(14px, 2vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 0.95rem + 2.1vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.hero-lede {
  max-width: 34em;
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

.hero-facts {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 20px 32px;
  margin: clamp(48px, 7vw, 96px) 0 0;
  padding-top: 22px;
  border-top: 2px solid var(--blue);
}
.hero-facts dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-facts dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

/* Closed-loop diagram: AI agents → robots → experiments → AI agents */
.hero-visual { width: 100%; max-width: 500px; justify-self: end; }
.loop { width: 100%; height: auto; overflow: visible; }

.loop-arc { fill: none; stroke: #A9B1BA; stroke-width: 2; transition: stroke 0.35s ease; }
.loop-head { fill: #A9B1BA; transition: fill 0.35s ease; }
.loop-verb {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  fill: var(--muted);
  transition: fill 0.35s ease;
}
.loop-edge.is-active .loop-arc { stroke: var(--blue); }
.loop-edge.is-active .loop-head,
.loop-edge.is-active .loop-verb { fill: var(--blue); }

.loop-disc { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; transition: fill 0.35s ease, stroke 0.35s ease, stroke-width 0.35s ease; }
.loop-icon {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}
.loop-icon .solid { fill: var(--ink); stroke: none; transition: fill 0.35s ease; }
.loop-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-anchor: middle;
  fill: var(--ink);
  transition: fill 0.35s ease;
}
.loop-node.is-active .loop-disc { fill: var(--lavender); stroke: var(--blue); stroke-width: 2.5; }
.loop-node.is-active .loop-icon { stroke: var(--blue); }
.loop-node.is-active .loop-icon .solid,
.loop-node.is-active .loop-name { fill: var(--blue); }

.loop-centre {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-anchor: middle;
  fill: var(--ink);
}
.loop-dot { fill: var(--blue); opacity: 0; transition: opacity 0.2s ease; }
.loop-dot.is-visible { opacity: 1; }

.loop-caption {
  max-width: 30em;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; max-width: 480px; }
}

@media (max-width: 520px) {
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- Statement band */

.band {
  padding-block: clamp(64px, 9vw, 120px);
  background: var(--ink);
  color: var(--white);
}
.band-text {
  max-width: 21em;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 0.9rem + 3.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.band-text .em { color: var(--on-dark); }

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

.section { padding-block: var(--section-y); }
.section--tint { background: var(--grey-bg); }

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-index .num { font-weight: 500; }
.section-index .rule { width: 36px; height: 1.5px; background: var(--blue); }

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.2rem + 3.2vw, 4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

/* Slide-template subtitle: regular weight, in colour */
.section-subtitle {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--blue);
  text-wrap: balance;
}

.section-intro {
  max-width: 34em;
  margin-top: 24px;
  font-size: 1.125rem;
  color: var(--ink-2);
}

/* Slide-template "Agenda" / "Thank you" headline */
.display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 0.8rem + 7vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
}

/* ---------------------------------------------------------------- About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 64px);
}

.prose p { max-width: 62ch; font-size: 1.125rem; line-height: 1.65; }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 600; }

.theme-card { padding: 22px 24px 26px; background: var(--lavender); border-top: 3px solid var(--blue); }
.theme-card + .theme-card { margin-top: 20px; }
.theme-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.theme-card p:last-child { color: var(--ink-2); }

/* Research cycle */
.cycle { margin: clamp(72px, 9vw, 120px) 0 0; }
.cycle-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 36px;
}
.cycle-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.1rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.cycle-head p { color: var(--muted); }

.cycle-track { position: relative; padding-bottom: 64px; }

/* The return path: right edge down, along the bottom, back up into step 01 */
.cycle-track::before {
  content: "";
  position: absolute;
  inset: 0 0 22px 0;
  border: 1.5px dashed var(--muted);
  border-top: 0;
  pointer-events: none;
}
.cycle-track::after {
  content: "";
  position: absolute;
  top: 8px;
  left: -6px;
  border-left: 6.5px solid transparent;
  border-right: 6.5px solid transparent;
  border-bottom: 10px solid var(--muted);
}

.cycle-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.cycle-step {
  position: relative;
  padding: 30px 22px 28px;
  border-top: 2px solid var(--blue);
}
.cycle-step::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  background: var(--blue);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.cycle-step h4 {
  margin: 8px 0 8px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.cycle-step p { font-size: 0.975rem; line-height: 1.55; color: var(--ink-2); }

.cycle-loop {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0 16px;
  background: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.cycle-loop-glyph { color: var(--blue); font-size: 1.1em; }

@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .themes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .theme-card + .theme-card { margin-top: 0; }

  .cycle-track { padding-bottom: 0; }
  .cycle-track::before,
  .cycle-track::after { display: none; }
  .cycle-steps { grid-template-columns: 1fr; }
  .cycle-step {
    padding: 0 0 30px 32px;
    border-top: 0;
    border-left: 2px solid var(--blue);
  }
  .cycle-step::before { top: 2px; left: -7px; }
  .cycle-step h4 { margin-top: 4px; }
  .cycle-loop {
    position: static;
    transform: none;
    padding: 4px 0 0 0;
    background: none;
    white-space: normal;
  }
}

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

/* Topics and applications */
.facets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 6vw, 96px);
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.facet-title { margin: 0; }
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 9px 15px;
  border: 1.5px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.chips--filled li { background: var(--lavender); border-color: transparent; }

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

/* ---------------------------------------------------------------- Programme */

.agenda {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px clamp(40px, 6vw, 96px);
  align-items: start;
}
.agenda-head .display { margin-bottom: 4px; }

.agenda-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}
.agenda-list a {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}
.agenda-list a:hover .t { color: var(--blue); text-decoration: underline; text-underline-offset: 0.2em; }
.agenda-list .n { font-weight: 800; color: var(--blue); }
.agenda-list .s {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
}
.agenda-list .s.is-set { color: var(--ink); text-transform: none; letter-spacing: 0.02em; font-size: 0.8125rem; }
.agenda-list .who {
  display: block;
  margin-top: 2px;
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
}

.programme-note {
  max-width: 46em;
  margin-top: clamp(40px, 5vw, 56px);
  font-size: 1.0625rem;
  color: var(--ink-2);
}

.events {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--blue);
}

.event {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 19rem);
  gap: 20px clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-bottom: 1px solid var(--line-strong);
}

.event-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.event-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.speaker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.speaker + .speaker { margin-top: 14px; }
.speaker-photo {
  width: 64px;
  height: 64px;
  flex: none;
  object-fit: cover;
  background: var(--lavender);
}
.speaker-photo--tba {
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line-strong);
  background: var(--white);
  color: var(--muted);
}
.speaker-photo--tba .icon { width: 30px; height: 30px; }
.speaker-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
}
.speaker-name a { color: var(--blue); text-decoration: none; }
.speaker-name a:hover { text-decoration: underline; }
.speaker-affil { margin-top: 2px; font-size: 0.975rem; color: var(--ink-2); }

/* Slots that are still to be announced */
.event[data-status="tba"] .event-title,
.event[data-status="tba"] .speaker-name,
.event[data-status="tba"] .speaker-affil { color: var(--muted); font-weight: 500; }

.abstract { margin-top: 20px; border-top: 1px solid var(--line); }
.abstract summary {
  padding: 12px 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--blue);
  cursor: pointer;
}
.abstract p { max-width: 64ch; margin-bottom: 1em; color: var(--ink-2); }

.event-meta { display: grid; gap: 10px; align-content: start; margin: 0; font-size: 0.975rem; }
.event-meta div {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--line-strong);
}
.event-meta div:last-child { border-bottom: 0; padding-bottom: 0; }
.event-meta dt {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.event-meta dd { margin: 0; color: var(--ink); }

/* Concluding workshop: the one dark block in the programme */
.event--workshop {
  margin-top: 40px;
  padding: clamp(28px, 4vw, 48px);
  border-bottom: 0;
  background: var(--ink);
  color: var(--white);
}
.event--workshop .event-num { color: var(--white); }
.event--workshop .event-kind,
.event--workshop .panel-label { color: var(--on-dark); }
.event--workshop[data-status] .event-title { color: var(--white); font-weight: 700; }
.event--workshop .event-meta dt { color: rgba(255, 255, 255, 0.66); }
.event--workshop .event-meta dd { color: var(--white); }
.event--workshop .event-meta div { border-bottom-color: rgba(255, 255, 255, 0.22); }

.workshop-lede { max-width: 40em; margin-top: 14px; color: rgba(255, 255, 255, 0.86); }
.workshop-topics {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.workshop-topics li {
  position: relative;
  padding-left: 22px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}
.workshop-topics li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--on-dark);
}

.panel { margin-top: 28px; }
.panel-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.panel-slots li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1.5px dashed rgba(255, 255, 255, 0.38);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.8);
}
.panel-slots strong { display: block; color: var(--white); }
.slot-photo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.66);
}
.slot-photo .icon { width: 22px; height: 22px; }

@media (max-width: 960px) {
  .agenda { grid-template-columns: 1fr; }
  .event { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .event-meta { grid-column: 2; }
}

@media (max-width: 560px) {
  .event { grid-template-columns: 1fr; gap: 14px; }
  .event-meta { grid-column: 1; }
  .event-num { font-size: 2.25rem; }
  .panel-slots { grid-template-columns: 1fr; }
  .agenda-list a { grid-template-columns: 2rem minmax(0, 1fr) auto; font-size: 1.125rem; }
}

/* ---------------------------------------------------------------- For speakers */

.speakers-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: start;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--blue);
}
.info-item { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.info-item:nth-child(even) { padding-left: 28px; padding-right: 0; border-left: 1px solid var(--line); }
.info-item h3 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.info-item p:last-child { color: var(--ink-2); }

.cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(24px, 3.5vw, 36px);
  border-left: 4px solid var(--blue);
  background: var(--lavender);
}
.cta-panel h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.cta-panel p { max-width: 40em; color: var(--ink-2); }

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

@media (max-width: 620px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-item,
  .info-item:nth-child(even) { padding: 24px 0 26px; border-left: 0; }
  .cta-panel .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- Contact */

.section--contact { padding-bottom: clamp(64px, 8vw, 104px); }

.contact-lede {
  max-width: 34em;
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  color: var(--ink-2);
}

.people {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(24px, 4vw, 48px);
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  list-style: none;
}
.person { padding-top: 20px; border-top: 2px solid var(--blue); }
.person h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.person .role { margin: 4px 0 16px; font-size: 0.975rem; color: var(--muted); }
.person a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 205, 0.35);
  padding-bottom: 2px;
  overflow-wrap: anywhere;
}
.person a:hover { border-bottom-color: var(--blue); }

.support {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 8px 32px;
  margin-top: clamp(56px, 7vw, 88px);
  padding: 22px 24px;
  background: var(--grey-bg);
  color: var(--ink-2);
}

@media (max-width: 860px) {
  .people { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Footer (dark, as on imperial.ac.uk) */

.site-footer {
  padding: 28px 0 36px;
  background: var(--ink);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 8px 40px;
}
.footer-inner strong { font-family: var(--font-display); font-weight: 700; color: var(--white); }
.footer-inner a { color: var(--white); text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- Motion & print */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

@media print {
  .site-header, .skip-link, .hero-actions, .cta-panel .btn { display: none !important; }
  .band, .event--workshop, .site-footer { background: none; color: var(--ink); }
  .band-text, .band-text .em, .event--workshop * { color: var(--ink) !important; }
  .section { padding-block: 32px; }
}
