
.page-content { padding-bottom: 40px; }

h6 {
  margin-top: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 300;
}

.loading-screen {
  position: fixed; top: 0; left: 0; bottom: 0; right: 0;
  background-color: #f2f2f2; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.loading-screen.fade-out { opacity: 0; pointer-events: none; }

.cta-wrap {
  position: fixed;
  left: 50%; top: 80%; /* centred in the middle of the lower third of the screen */
  transform: translate(-50%, -50%);
  width: 300px; height: auto;
  background-color: color-mix(in srgb, var(--menu-color, #54AFD4), transparent 20%);
  border-radius: 3px;
  display: flex; flex-direction: column; align-items: center;
  gap: 26px;
  padding: 26px 24px 32px; box-sizing: border-box;
  font: var(--ui-font); color: #000; z-index: 1000;
  backdrop-filter: blur(2.50px);
  cursor: grab;
}
.cta-wrap.is-dragging { cursor: grabbing; }

/* Grip handle signalling the menu can be dragged (desktop only). Sits in the
   bottom-right corner, clear of the buttons (which are excluded from dragging). */
.cta-drag {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  color: rgba(0, 0, 0, 0.4);
  cursor: grab;
}
.cta-drag:hover { color: rgba(0, 0, 0, 0.65); }
.cta-wrap.is-dragging .cta-drag { cursor: grabbing; }
.cta-drag svg { display: block; pointer-events: none; }

/* Top bar: OFF / − / + (+ hamburger toggle on mobile) */
.cta-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.cta-toggle {
  display: none; /* desktop: always-open, no hamburger */
  background: none; border: none; cursor: pointer;
  width: 40px; height: 37px; padding: 0;
  align-items: center; justify-content: center;
  margin-left: 8px;
}
.cta-burger, .cta-burger::before, .cta-burger::after {
  display: block; width: 26px; height: 3px; background: #000; border-radius: 2px;
  transition: transform 0.2s ease, top 0.2s ease, background 0.1s ease;
}
.cta-burger { position: relative; }
.cta-burger::before { content: ''; position: absolute; left: 0; top: -8px; }
.cta-burger::after  { content: ''; position: absolute; left: 0; top: 8px; }
.cta-wrap.is-open .cta-burger { background: transparent; }
.cta-wrap.is-open .cta-burger::before { top: 0; transform: rotate(45deg); }
.cta-wrap.is-open .cta-burger::after  { top: 0; transform: rotate(-45deg); }

/* Mobile: fixed bottom bar that expands the nav when opened */
@media (max-width: 725px) {
  .cta-wrap {
    left: 0; right: 0; top: auto; bottom: 0;
    transform: none !important;
    width: 100%; max-width: none;
    border-radius: 0;
    gap: 0;
    padding: 8px 12px;
    cursor: default;
  }
  /* Compressed bar: smaller controls so it takes far less room. */
  .cta-bar { gap: 6px; }
  .pill { width: 56px; height: 32px; line-height: 32px; font-size: 12px; }
  .rand-control { gap: 6px; }
  .rand-btn { width: 46px; height: 32px; font-size: 18px; }
  .rand-off-btn { min-width: 50px; height: 32px; padding: 0 10px; font-size: 12px; }
  .cta-toggle { display: flex; width: 34px; height: 32px; margin-left: 4px; }
  .cta-burger, .cta-burger::before, .cta-burger::after { width: 22px; height: 2.5px; }
  .cta-burger::before { top: -7px; }
  .cta-burger::after { top: 7px; }
  /* Higher specificity than the desktop `.cta-nav{display:flex}` that follows
     later in the file, so the nav actually stays collapsed until opened. */
  .cta-wrap .cta-nav { display: none; padding-top: 12px; gap: 9px; }
  .cta-wrap.is-open .cta-nav { display: flex; }
  .cta-drag { display: none; } /* bottom bar isn't draggable on mobile */
}
.pill {
  text-transform: uppercase; background: white; border-radius: 3px;
  width: 70px; height: 37px; line-height: 37px; text-decoration: none;
  color: #000;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; user-select: none; transition: background-color 0.15s ease;
}
.pill:hover { background: var(--col-1); color: inherit !important; }
.pill:active { background: var(--col-1); }

/* Randomization +/- (two separate white buttons) */
.rand-control { display: flex; align-items: center; gap: 8px; }
.rand-btn {
  background: white; border: none; cursor: pointer;
  font: var(--ui-font); font-size: 20px; font-weight: normal; color: #000;
  width: 64px; height: 37px; border-radius: 3px; line-height: 1;
  transition: background-color 0.15s ease;
}
.rand-btn:not(:disabled):hover { background: var(--col-1); }
.rand-btn:disabled { opacity: 0.35; cursor: default; }

/* OFF button — sits in the top bar with − / +, turns everything 100% clean */
.rand-off-btn {
  background: white; border: none; cursor: pointer;
  font: var(--ui-font); font-size: 14px; font-weight: normal; color: #000;
  min-width: 64px; height: 37px; padding: 0 14px; border-radius: 3px; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-left: auto; /* push OFF to the right of the bar */
  transition: background-color 0.15s ease, color 0.15s ease;
}
.rand-off-btn:hover { background: var(--col-1); }
/* When OFF is the active state, grey it out so it reads as "already off". */
.rand-off-btn.is-on {
  background: #d8d8d8;
  color: #888;
  cursor: default;
}
.rand-off-btn.is-on:hover { background: #d8d8d8; }

/* Section navigation */
.cta-nav {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px; width: 100%;
}
.cta-nav-link {
  font: var(--ui-font);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff !important; /* override the theme's global a{color:#000!important} */
  text-decoration: none !important;
  user-select: none;
  transition: opacity 0.15s ease;
}
.cta-nav-link:hover { color: #fff !important; opacity: 0.6; }
.cta-nav-link.active { color: #fff !important; text-decoration: underline !important; }

/* Secondary utilities row */
.cta-utils { display: flex; align-items: center; justify-content: center; gap: 5px; flex-wrap: wrap; }

#flow {
  align-self: stretch; color: var(--text-color); font-size: 1rem;
  font-family: "CMU Serif", serif; font-weight: 500;
  line-height: var(--flow-leading); word-break: keep-all;
  overflow-wrap: break-word; margin-top: 0; padding-bottom: 99px; text-align: left;
}
#flow .plain-head { display: block; color: var(--muted); font-weight: 400; margin: 0; }
#flow p { margin: 0 0 0.92em 0; }
.ch { display: inline-block; position: relative; vertical-align: baseline; user-select: text; }
.hi { font-family: 'Arial Narrow', sans-serif !important; font-size: var(--arial-size); }
.stroke-chunk { position: relative; display: inline; color: var(--text-color); text-decoration: none; }
.stroke-chunk::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(calc(-50% + var(--stroke-offset, 0em)));
  height: 0; border-top: var(--stroke-thickness, 0.035em) solid var(--stroke-color, currentColor);
  pointer-events: none;
}
.color-chunk { color: var(--chunk-color); }
.para-rect {
  display: inline-block; inline-size: 0.75cap; block-size: 0.5cap;
  background: currentColor; clip-path: polygon(100% 50%, 0 0%, 0 100%);
  vertical-align: baseline; transform: translateY(-0.5em);
}
.no-break { white-space: nowrap; display: inline-block; }
.word-arial { font-family: 'Arial Narrow', sans-serif !important; font-size: var(--arial-size); white-space: nowrap; }
.cmu-tight { margin-right: var(--tight-track); }

.section-block {
  padding: 0 0 var(--gap-lg) 0;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
}
.section-title {
  font-family: "CMU Serif", serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
  margin: 0 0 40px 0;
  padding-top: var(--headline-gap);
}

.speakers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .speakers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .speakers-grid { grid-template-columns: 1fr; } }

.speaker-card {
  cursor: grab;
  transition: box-shadow 0.2s, transform 0.2s;
}
.speaker-card:active { cursor: grabbing; }
.speaker-card.dragging { opacity: 0.5; transform: scale(0.97); }

.speaker-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  position: relative;
  overflow: hidden;
}
.speaker-img-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "CMU Serif", serif; font-size: 32px; color: #aaa;
  z-index: 0;
}
.speaker-info { padding: 10px 0; }
.speaker-info h3 {
  font-family: "CMU Serif", serif;
  font-size: clamp(20px, 2vw, 26px); font-weight: 400; line-height: 1.05; margin: 0 0 8px 0;
}
.speaker-role {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.05em; margin: 0 0 8px 0; color: #666;
}
.speaker-bio {
  font-size: 16px; line-height: 1.45; margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.speaker-bio p { margin: 0 0 0.6em; }
.speaker-bio p:last-child { margin-bottom: 0; }
/* Keynote + track "Read more" reuse the abstract button look, without the indent. */
.speaker-readmore, .track-readmore { margin-left: 0; }

.program-instruction {
  font-size: 16px;
  margin: -30px 0 30px 0;
  color: #666;
  font-style: italic;
}

.day-accordion {
  border-top: 2px solid #000;
  margin-bottom: 0;
}
.day-accordion:last-of-type {
  border-bottom: 2px solid #000;
}
.day-summary {
  font-family: "CMU Serif", serif;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 400;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.day-summary::-webkit-details-marker { display: none; }
.day-arrow {
  display: inline-block;
  font-size: 0.6em;
  transition: transform 0.25s ease;
}
details[open] > .day-summary .day-arrow {
  transform: rotate(90deg);
}
.day-content {
  padding: 0 0 30px 0;
  overflow-x: auto;
}

/* ===== Programme grid: flex "table" that stacks per-track on mobile ===== */
.prog-grid { width: 100%; font-size: 14px; line-height: 1.35; }
.prog-block {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #ddd;
}
.prog-time {
  flex: 0 0 96px;
  padding: 12px 14px 12px 0;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 16px; line-height: 1.3; letter-spacing: -0.02em;
  color: #777; white-space: nowrap; vertical-align: top;
}
.prog-body { flex: 1 1 auto; min-width: 0; padding: 12px 0; }
.prog-cols { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; }
.prog-col {
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 14px;
  border-left: 1px solid #ececec;
}
.prog-col:first-child { border-left: none; }
.prog-col-head {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000;
}
.prog-col-head.is-repeat { display: none; } /* desktop: track titles only on the first session */
.prog-cell { padding: 6px 0; }
.prog-round { font-size: 14px; color: #555; padding-top: 8px; }
.prog-round-label {
  display: block;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #999;
}
/* Full-width keynote / logistics rows */
.prog-keynote, .prog-logistics { background: #f1f1f1; }
.prog-keynote .prog-body, .prog-logistics .prog-body {
  text-align: center; font-size: 16px; line-height: 1.4; letter-spacing: -0.02em;
}
.prog-keynote .prog-body { font-weight: 700; }
.th-track {
  display: block;
  font-family: "CMU Serif", serif;
  font-size: clamp(21px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: none;
  letter-spacing: 0;
}
/* MORE INFO toggle inside a track header */
.track-info { margin-top: 10px; }
.track-info > summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}
.track-info > summary::-webkit-details-marker { display: none; }
.track-info > summary::before { content: "\25B6\FE0E"; font-size: 8px; margin-right: 5px; }
.track-info[open] > summary::before { content: "\25BC\FE0E"; }
.track-desc {
  margin-top: 8px;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
}
.row-label {
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #999;
}
.panel-title { font-weight: 700; }

/* A selected panel column gets a darker "on"-colour wash. */
.prog-cell.is-col-selected {
  background: color-mix(in srgb, var(--menu-color, #54AFD4), #000 26%);
  color: #fff;
}
.prog-cell.is-col-selected .pres-name,
.prog-cell.is-col-selected .pres-title,
.prog-cell.is-col-selected .pres-affil,
.prog-cell.is-col-selected .panel-title {
  color: #fff;
}
.prog-cell.is-col-selected .checkmark {
  border-color: #fff;
}
.prog-cell.is-col-selected .pres-abstract-btn {
  color: #fff;
  border-color: #fff;
}

/* Subtle, transient conflict notice. */
.program-toast {
  position: fixed;
  left: 50%;
  bottom: 88px;
  transform: translate(-50%, 12px);
  max-width: min(90vw, 420px);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  font: var(--ui-font);
  font-size: 13px;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.program-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.program-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  padding: 2px 0;
}
.program-check input[type="checkbox"] {
  display: none;
}
.checkmark {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #000;
  border-radius: 2px;
  margin-top: 6px; /* drop the box onto the first text line (24px/30px) instead of sitting above it */
  position: relative;
  transition: background 0.15s, border-color 0.15s;
}
.program-check input:checked ~ .checkmark {
  background: var(--menu-color, #54AFD4);
  border-color: #000;
}
.program-check input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 5px; height: 9px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.pres-text { flex: 1; }
.pres-name { display: block; font-weight: 700; }
.pres-title { display: block; }
/* ABSTRACT toggle under a presentation */
.pres-abstract { margin: 4px 0 0 24px; }
.pres-abstract > summary {
  list-style: none;
  cursor: pointer;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
}
.pres-abstract > summary::-webkit-details-marker { display: none; }
.pres-abstract > summary::before { content: "\25B6\FE0E"; font-size: 7px; margin-right: 4px; }
.pres-abstract[open] > summary::before { content: "\25BC\FE0E"; }
.pres-abstract-body { margin-top: 4px; font-size: 14px; color: #666; line-height: 1.4; }

.keynote-banner {
  margin-top: 20px;
  padding: 14px 18px;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.keynote-name { font-weight: 700; }

.download-full-program {
  display: inline-block;
  margin-top: 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000;
  text-decoration: none;
}
.download-full-program:hover { text-decoration: underline; }

.postit {
  position: fixed;
  bottom: 240px;
  right: 30px;
  width: 360px;
  max-height: 60vh;
  background: var(--menu-color, #54AFD4);
  border: none;
  box-shadow: 4px 4px 18px rgba(0,0,0,0.18);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  border-radius: 3px; /* match the menu's border-radius */
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 13px;
  color: #fff;
  cursor: default;
  transition: box-shadow 0.2s;
}
.postit.minimized .postit-body,
.postit.minimized .postit-footer {
  display: none;
}
.postit.minimized {
  max-height: none;
  height: auto;
}
.postit-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 14px;
  cursor: grab;
  user-select: none;
}
.postit-header:active { cursor: grabbing; }
.postit-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.postit-count { font-weight: 400; letter-spacing: 0.04em; opacity: 0.85; }
.postit-minimize {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 0 2px;
  color: #fff;
  opacity: 0.7;
}
.postit-minimize:hover { opacity: 1; }
.postit-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 18px 8px;
  min-height: 60px;
  max-height: 42vh;
}
#postit-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
#postit-list li.postit-day-head {
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 14px 0 6px;
}
#postit-list li.postit-entry {
  padding: 4px 26px 16px 0;
  position: relative;
  line-height: 1.3;
  font-size: 16px;
}
.postit-entry-name { display: block; }
.postit-entry-title { display: block; }
#postit-list li .postit-remove {
  position: absolute;
  right: 0;
  top: 2px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  line-height: 1;
  padding: 0 4px;
  opacity: 0.7;
}
#postit-list li .postit-remove:hover { opacity: 1; }
.postit-disclaimer {
  margin: 6px 0 2px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
}
.postit-empty {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 24px 8px;
  font-size: 16px;
  line-height: 1.35;
}
.postit-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid rgba(255,255,255,0.35);
}
.postit-btn {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: #000;
  color: #fff;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s, opacity 0.15s;
}
.postit-btn:not(:disabled):hover { background: #333; }
.postit-btn:disabled { background: #6f6f6f; cursor: default; }
.postit-clear-btn { background: #000; }

.email-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.email-modal {
  background: #fff;
  padding: 40px;
  max-width: 420px;
  width: 90%;
  position: relative;
  border-radius: 2px;
  font-family: 'Arial Narrow', Arial, sans-serif;
}
.email-modal h3 {
  font-family: "CMU Serif", serif;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 12px 0;
}
.email-modal p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0 0 16px 0;
}
.email-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  font-size: 28px; cursor: pointer;
  line-height: 1; color: #666;
}
.email-modal-close:hover { color: #000; }
.email-input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #000;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
  outline: none;
}
.email-input:focus { border-color: var(--chunk-color, #DDD53C); }
.postit-send-btn {
  width: 100%;
  padding: 12px;
  background: #000;
  color: #fff;
  border: none;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-bottom: 12px;
}
.postit-send-btn:hover { background: #333; }
.email-disclaimer {
  font-size: 11px !important;
  color: #999 !important;
  font-style: italic;
  text-align: center;
  border-top: 1px solid #eee;
  padding-top: 12px !important;
  margin-top: 4px !important;
}
.email-status {
  font-size: 12px;
  text-align: center;
  padding: 8px 0;
  min-height: 20px;
}
.email-status.success { color: #2a7d2a; }
.email-status.error { color: #c00; }

.campus-download { margin: 0 0 28px 0; }
.campus-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) { .campus-layout { grid-template-columns: 1fr; } }
.campus-map {
  aspect-ratio: 4/3;
  background-color: var(--menu-color, #54AFD4); /* follows the colour changes */
  cursor: grab;
}
.campus-map:active { cursor: grabbing; }
.campus-map-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: "CMU Serif", serif; font-size: 28px; color: #aaa;
}
.campus-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}
.campus-legend li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  line-height: 1.25;
}
.campus-legend li::before {
  content: "\25B6\FE0E";
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1.6;
  color: #000;
}
.legend-num {
  flex: 0 0 20px;
  font-weight: 700;
  font-family: 'Arial Narrow', Arial, sans-serif;
}
.legend-text { display: block; }
.legend-addr {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #999;
}

.register-section {
  text-align: left;
  padding-bottom: 60px;
}
.register-intro {
  font-family: "CMU Serif", serif;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.35;
  margin: 0 0 24px 0;
  max-width: none;
}
.register-subhead {
  font-weight: 400;
  text-transform: none;
  margin: 30px 0 10px 0; /* clear gap between the Registration Form link and the fees */
}
.register-fees { list-style: none; padding: 0; margin: 0 0 24px 0; max-width: none; }
.register-fees li {
  padding: 2px 0;
  font-size: 16px;
  line-height: 1.4;
  white-space: nowrap; /* keep each fee + its price on one line */
}
.register-fees .fee { white-space: nowrap; }
.register-fees li strong { font-weight: 400; margin-right: 6px; }
.register-note {
  font-size: 16px;
  margin: 0 0 28px 0;
  max-width: none;
}
.register-note a { color: #000; }
/* Matches the "Read more" / "Abstract" triggers: Arial Black 900 / 13px / -5%. */
.register-btn {
  display: inline-block;
  margin: 8px 0 0 0;
  padding: 0;
  background: none;
  border: none;
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.register-btn:hover { text-decoration: underline; }

.sponsors-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin: 0 0 18px 0;
}
.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}
.sponsor-logo {
  display: inline-flex;
  align-items: center;
  cursor: grab;
}
.sponsor-logo:active { cursor: grabbing; }
/* Size logos by height so wide/short marks match the height of tall ones. */
.sponsor-img { height: clamp(90px, 13vw, 150px); width: auto; max-width: none; display: block; }
.sponsor-name {
  font-family: "CMU Serif", serif;
  font-size: 28px;
  color: #2b327a;
  line-height: 1.1;
}

.moveable {
  position: relative;
  cursor: grab;
  user-select: none;
  transition: box-shadow 0.2s, transform 0.15s;
  z-index: 1;
}
.moveable:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.moveable.is-moving {
  cursor: grabbing;
  z-index: 999;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transform: scale(1.02);
  transition: box-shadow 0.1s, transform 0.1s;
}

.reset-btn {
  background: #000 !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  font: var(--ui-font);
}
.reset-btn:hover {
  background: #333 !important;
}

@media (max-width: 900px) {
  .prog-grid { font-size: 13px; }
  .prog-col { padding: 10px 8px; }
}
@media (max-width: 700px) {
  /* Stack everything per-track: each track shows its title, panel and talks
     together, instead of flattening the 4 columns row-by-row. */
  .prog-block { display: block; border-bottom: 2px solid #000; padding-bottom: 8px; }
  .prog-time { flex: none; padding: 8px 0 2px; }
  .prog-cols { display: block; }
  .prog-col { border-left: none; border-top: 1px solid #ccc; padding: 12px 0; }
  .prog-col:first-child { border-top: none; }
  .prog-col-head { border-bottom: none; margin-bottom: 8px; padding-bottom: 0; }
  .prog-col-head.is-repeat { display: block; } /* show the track title for every session */
  /* Track titles read large/dominant on phones (CMU Serif has a small x-height,
     so the px value runs bigger than the 24px sans body next to it). */
  .th-track { font-size: clamp(32px, 10vw, 42px); line-height: 1.05; }
  .prog-keynote .prog-body, .prog-logistics .prog-body { text-align: left; }
  .row-label { width: auto; margin-bottom: 4px; display: block; }
  /* Programme box: full-width bar docked right below the top header, collapsible. */
  .postit {
    left: 0;
    right: 0;
    top: 100px;
    bottom: auto;
    width: 100%;
    max-width: none;
    max-height: 60vh;
    border-radius: 0;
  }
  .postit.minimized { width: 100%; min-width: 0; }

  /* Keep registration fees on the screen (no horizontal slide on phones). */
  .register-fees li { white-space: normal; }
}

/* Hero/intro text on phones — Figma: CMU Serif 500 / 32px / 30px line-height.
   (#flow uses 1rem, and its 0.92 leading gives ~30px at 32px.) */
@media (max-width: 725px) {
  :root { font-size: 32px; }
  /* Randomized letters bleed past the viewport edge; clip the horizontal
     overflow so the page can't be scrolled sideways into empty space. */
  .colloquium-page { overflow-x: hidden; }
  #flow { overflow-x: clip; }
}

/* ============================================================
   Global content type system
   - Serif font (display): intro + all headers = 54px
   - Everything else (body): 24px / 30px line-height / -5% tracking
   (Menu / post-it / email UI keep their own sizing.)
   ============================================================ */
#flow,
.section-title,
.speaker-info h3,
.th-track,
.day-summary,
.sponsor-name {
  font-size: 54px;
  line-height: 1.05;
  letter-spacing: normal;
}
#flow { line-height: var(--flow-leading); }

/* Mobile: size the display serif relative to the viewport so it always fits
   the screen instead of overflowing at a fixed 54px. */
@media (max-width: 725px) {
  #flow            { font-size: clamp(20px, 8vw, 34px); }
  .section-title   { font-size: clamp(22px, 7.5vw, 36px); }
  .day-summary     { font-size: clamp(17px, 5.5vw, 26px); }
  .speaker-info h3 { font-size: clamp(18px, 6vw, 28px); }
  .th-track        { font-size: clamp(12px, 4vw, 18px); }
  .sponsor-name    { font-size: clamp(18px, 6vw, 28px); }
}

.section-block {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.05em;
}
/* Registration text per Figma: Arial Narrow 400 / 24px / 30px / -5%. */
.register-intro, .register-subhead, .register-fees li, .register-note {
  font-family: 'Arial Narrow', Arial, sans-serif;
}

.speaker-role, .speaker-bio, .speaker-bio p, .speaker-link,
.program-instruction,
.prog-grid,
.track-info > summary, .track-desc,
.row-label, .panel-title, .prog-round,
.pres-abstract > summary, .pres-abstract-body,
.campus-legend li, .legend-num, .legend-addr,
.register-intro, .register-subhead, .register-fees li, .register-note,
.sponsors-label {
  font-size: 24px;
  line-height: 30px;
  letter-spacing: -0.05em;
}

/* ===== Presentation affiliation + abstract trigger ===== */
.pres-affil { display: block; }
.pres-abstract-btn {
  display: inline-block;
  margin: 6px 0 0 24px;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: #000;
}
.pres-abstract-btn:hover { text-decoration: underline; }

/* ===== Abstract slide-in drawer ===== */
.abstract-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  z-index: 3000; opacity: 0; transition: opacity 0.3s ease;
}
.abstract-overlay:not([hidden]) { opacity: 1; }
.abstract-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 50vw; max-width: 720px;
  background: #fff; color: #000; z-index: 3001;
  box-shadow: -8px 0 30px rgba(0,0,0,0.2);
  transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto; box-sizing: border-box;
  padding: 70px 56px 56px;
}
.abstract-drawer.is-open { transform: translateX(0); }
.abstract-drawer-close {
  position: absolute; top: 18px; right: 26px;
  background: none; border: none; cursor: pointer;
  font-size: 34px; line-height: 1; color: #000; padding: 0;
}
.abstract-drawer-title {
  font-family: "CMU Serif", serif; font-weight: 400;
  font-size: 40px; line-height: 1.08; margin: 0 0 28px;
}
.abstract-drawer-body {
  font-family: 'Arial Narrow', Arial, sans-serif;
  font-size: 24px; line-height: 30px; letter-spacing: -0.05em;
}
.abstract-drawer-body p { margin: 0 0 0.8em; }
@media (max-width: 725px) {
  .abstract-drawer { width: 100vw; max-width: none; padding: 60px 20px 40px; }
  .abstract-drawer-title { font-size: 30px; }
}

/* ===== Programme: time column + full-width logistics / keynote rows ===== */

/* ===== MORE INFO + ABSTRACT toggles: Arial Black 900 / 13px / 15px / -5% ===== */
.track-info > summary,
.pres-abstract-btn {
  font-family: 'Arial Black', Arial, sans-serif;
  font-weight: 900;
  font-style: normal;
  font-size: 13px;
  line-height: 15px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}
