/* ==========================================================================
   Robots in Autistic Family Life · Workshop at HRI 2027
   Type and layout follow labalab.li: Archivo 800 headlines, Inter body,
   black square buttons, hairline rules, illustration blocks on cream paper.
   ========================================================================== */

:root {
  --ink: #13161B;
  --ink-2: #3A3F47;
  --muted: #666C75;
  --line: #E2E2DE;
  --white: #FFFFFF;
  --paper: #F5EFE0;
  --soft: #F7F7F4;
  --orange: #FF9900;
  --blue: #2B4BD6;
  --rust: #A8501F;

  --display: Archivo, "Helvetica Neue", Arial, sans-serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --wrap: 1200px;
  --wrap-wide: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}
html.calm { scroll-behavior: auto; }

body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

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

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

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
h1, h2, h3, h4, .statement, .lead { font-family: var(--display); color: var(--ink); }
h1 {
  font-weight: 800; font-size: clamp(50px, 10.4vw, 164px); line-height: .88; letter-spacing: -.045em;
  text-wrap: balance;
}
h2 { font-weight: 800; font-size: clamp(34px, 5vw, 72px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; }
h3 { font-weight: 800; font-size: 24px; line-height: 1.12; letter-spacing: -.02em; }
h4 { font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -.015em; }

.label {
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--rust); line-height: 1.4;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 26px; border: 0; border-radius: 0;
  font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.btn span { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--orange); color: var(--ink); }
.btn-small { padding: 12px 16px; font-size: 14px; }
.btn-small:hover span { transform: translate(2px, -2px); }

.link-btn {
  background: none; border: 0; padding: 0 0 3px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--orange); transition: border-color .2s, color .2s;
}
.link-btn:hover { border-bottom-color: var(--ink); }
.link-btn-quiet { font-size: 15px; font-weight: 400; border-bottom-width: 1px; align-self: flex-start; }
.link-btn-quiet b { font-weight: 600; }

.more {
  display: inline-block; margin-top: 16px; padding-bottom: 2px; font-size: 14.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid var(--orange); transition: border-color .2s;
}
.more:hover { border-bottom-color: var(--ink); }
.more span { display: inline-block; transition: transform .25s var(--ease); }
.more:hover span { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; min-width: 0; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 16.5px; letter-spacing: -.02em; white-space: nowrap; }
.brand-text span { font-size: 12.5px; color: var(--muted); }

.nav { display: flex; gap: 18px; }
.nav a {
  position: relative; padding: 6px 0; font-size: 14.5px; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; place-items: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2.5px; background: var(--ink); transition: transform .25s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 0; }
.hero-label { margin-bottom: clamp(18px, 2.4vw, 30px); max-width: 60ch; }
.hero-row {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px;
  margin-top: clamp(24px, 3.4vw, 48px);
}
.hero-sub {
  font-family: var(--display); font-weight: 500; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.16; letter-spacing: -.02em;
  color: var(--ink-2); max-width: 24ch; text-wrap: balance;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

/* Desktop: headline on the left, the animated illustration beside it on the right */
@media (min-width: 1021px) {
  .hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(24px, 3.4vw, 56px);
    align-items: center; padding-bottom: clamp(48px, 5vw, 76px);
  }
  .hero-grid h1 { font-size: clamp(50px, 6.4vw, 100px); line-height: .9; }
  .hero-grid .hero-row { flex-direction: column; align-items: flex-start; gap: 28px; margin-top: clamp(22px, 2.6vw, 36px); }
  .hero-grid .hero-sub { font-size: clamp(20px, 2vw, 28px); max-width: 22ch; }
  .hero-grid .hero-stage { margin: 0; }
  .hero-grid .hero-art { max-width: none; }
}

/* The hero illustration has no box: it floats on the page */
.hero-stage { position: relative; margin: clamp(28px, 4vw, 60px) 0 clamp(20px, 3vw, 44px); perspective: 1600px; }
.hero-art {
  position: relative; z-index: 1; max-width: 940px; margin-inline: auto;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-origin: 50% 100%; will-change: transform;
}
.hero-art video { display: block; width: 100%; height: auto; transform: scale(var(--s, 1.06)); transform-origin: 50% 70%; will-change: transform; }
.calm .hero-art video { transform: none; }
/* The film has a painted room behind it, so its edges are feathered into the white page */
.hero-film {
  max-width: 1120px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 15%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 13%, #000 87%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 15%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

/* The robot that peeks over the facts bar */
.peek-rail { position: relative; z-index: 2; height: 132px; margin-top: -132px; overflow: hidden; pointer-events: none; }
.peek {
  position: absolute; right: 3%; bottom: -36px; pointer-events: auto;
  width: clamp(96px, 9.5vw, 132px); cursor: pointer;
  transform: translateY(100%); animation: peek-up 1s var(--ease) 1.1s forwards;
}
.peek svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes peek-up { to { transform: none; } }
.calm .peek { transform: none; }

/* Headline words rise in one after another */
.js h1 .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .12em .04em .14em 0; margin: -.12em -.04em -.14em 0; }
.js h1 .w > span { display: inline-block; transform: translateY(112%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 95ms + 80ms); }
@keyframes rise { to { transform: none; } }
.calm h1 .w > span { transform: none; }
.js .hero-label, .js .hero-row { opacity: 0; animation: fade-in .9s var(--ease) .55s forwards; }
.js .hero-row { animation-delay: .7s; }
@keyframes fade-in { to { opacity: 1; } }
.calm .hero-label, .calm .hero-row { opacity: 1; }
.hero-art img { width: 100%; height: auto; transform: scale(var(--s, 1.06)); transform-origin: 50% 70%; will-change: transform; }

.facts { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts > div { padding: 26px 24px 28px 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--rust); }
.facts dd { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.2; letter-spacing: -.015em; }
.facts dd a { text-decoration: none; border-bottom: 2px solid var(--orange); }
.facts dd a:hover { border-bottom-color: var(--ink); }
.facts-count dd span:first-child { font-variant-numeric: tabular-nums; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 148px) 0; }
.section-rule { border-top: 1px solid var(--line); }
.section-paper { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 72px); max-width: 900px; }
.section-head .label { margin-bottom: 16px; }
.section-intro { margin-top: 24px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }

/* ---------- People portraits ---------- */
.portrait {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  background: var(--soft);
}
.portrait-top { object-position: 50% 18%; }
.portrait-empty, .portrait-initials {
  display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--muted);
  border: 1.5px dashed #C9C9C4; background: none;
}
.portrait-initials { border-style: solid; border-color: var(--line); background: var(--soft); letter-spacing: -.02em; }
.role { margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.bio { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Keynotes ---------- */
.keynotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3.4vw, 52px); align-items: start; }
.keynote .portrait { max-width: 240px; margin-bottom: 26px; transition: transform .5s var(--ease), box-shadow .4s; }
.keynote:hover .portrait:not(.portrait-empty) { transform: scale(1.03); box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--orange); }
.keynote h3 { font-size: clamp(24px, 2.2vw, 30px); }
.keynote .portrait-empty { font-size: 56px; font-weight: 500; color: #C9C9C4; }
.keynote-tba h3 { color: var(--muted); }

/* ---------- About ---------- */
.statement {
  margin-top: 20px; font-weight: 800; font-size: clamp(38px, 7.2vw, 112px); line-height: .94; letter-spacing: -.04em;
  max-width: 14ch; text-wrap: balance;
}
.statement em { font-style: normal; box-shadow: inset 0 -.14em 0 var(--orange); }
/* Words darken one by one as the sentence scrolls through the viewport */
.js .statement .sw { opacity: .13; transition: opacity .45s var(--ease); }
.js .statement .sw.on { opacity: 1; }
.calm .statement .sw { opacity: 1; }

.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 7vw, 104px); border-top: 2px solid var(--ink); }
.split-col { padding: 30px 0 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.split-col:first-child { padding-right: clamp(20px, 4vw, 64px); border-right: 1px solid var(--line); }
.split-col:last-child { padding-left: clamp(20px, 4vw, 64px); }
.split-col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: clamp(22px, 2vw, 28px); }
.split-col p { color: var(--ink-2); }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.dot-blue { background: var(--blue); }
.dot-orange { background: var(--orange); }

.art { margin: clamp(48px, 6vw, 88px) auto 0; max-width: 1040px; }
.art img { width: 100%; }

/* ---------- Exchange: what each community brings across the bridge ---------- */
.exchange {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(12px, 2vw, 28px);
  align-items: end; margin-top: clamp(56px, 7vw, 104px);
}
.ex-side img { display: block; height: clamp(210px, 24vw, 320px); width: auto; max-width: 100%; object-fit: contain; margin-bottom: 22px; transition: transform .6s var(--ease); }
.ex-right { text-align: right; }
.ex-right img { margin-left: auto; }
.ex-side .label { margin-bottom: 8px; }
.ex-side button {
  display: block; width: 100%; padding: 11px 0; background: none; border: 0; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.2; letter-spacing: -.015em;
  text-align: inherit; color: var(--muted); transition: color .3s, padding .4s var(--ease);
}
.ex-side button:hover, .ex-side button[aria-pressed="true"] { color: var(--ink); }
.ex-left button[aria-pressed="true"] { padding-left: 16px; box-shadow: inset 5px 0 0 var(--blue); }
.ex-right button[aria-pressed="true"] { padding-right: 16px; box-shadow: inset -5px 0 0 var(--orange); }
.exchange[data-dir="ltr"] .ex-left img, .exchange[data-dir="rtl"] .ex-right img { transform: translateY(-8px) scale(1.03); }

.ex-bridge { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 6px; }
.ex-bridge svg { display: block; width: 100%; height: auto; overflow: visible; }
.ex-arc { fill: none; stroke: #DAD9D4; stroke-width: 2; stroke-linecap: round; transition: stroke .4s, stroke-width .4s var(--ease); }
.ex-arc.on { stroke-width: 6; }
.ex-arc.arc-ltr.on { stroke: var(--blue); }
.ex-arc.arc-rtl.on { stroke: var(--orange); }
.ex-deck { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ex-dot { fill: var(--blue); opacity: 0; transition: opacity .2s; }
.exchange[data-dir="rtl"] .ex-dot { fill: var(--orange); }
.ex-caption {
  min-height: 3.4em; margin-top: 18px; text-align: center;
  font-family: var(--display); font-weight: 800; font-size: clamp(18px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.025em;
  text-wrap: balance;
}
.exchange[data-dir="ltr"] .ex-caption::after { content: " →"; color: var(--blue); }
.exchange[data-dir="rtl"] .ex-caption::before { content: "← "; color: var(--orange); }

.about-text { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.lead { font-weight: 700; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; }
.about-text p:not(.lead) { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); }

.objectives { margin-top: clamp(64px, 8vw, 120px); }
.objectives ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: 22px; }
.objectives li { border-top: 2px solid var(--ink); padding-top: 18px; }
.objectives span { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--orange); margin-bottom: 14px; }
.objectives p { font-size: 16.5px; line-height: 1.5; }

/* ---------- Who it is for ---------- */
.audience {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  margin-top: clamp(64px, 8vw, 120px); padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--line);
}
.aud-lead {
  margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.04; letter-spacing: -.03em;
  text-wrap: balance;
}
.aud-areas { margin-top: 26px; border-top: 2px solid var(--ink); }
.aud-areas li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.aud-areas span { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--orange); }
.aud-areas p { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; letter-spacing: -.015em; }
.aud-welcome { margin-top: 24px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 58ch; }
.aud-art img { width: 100%; height: auto; }

/* ---------- Four themes: one compact row ---------- */
.theme-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 40px); }
.theme-card { display: flex; flex-direction: column; }
.tc-art { aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 18px; }
.tc-art img { max-width: 100%; max-height: 100%; width: auto; height: auto; transition: transform .7s var(--ease); }
.theme-card:hover .tc-art img { transform: translateY(-8px) scale(1.05); }
.tc-num {
  display: block; padding-top: 14px; border-top: 2px solid var(--ink);
  font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.03em; color: var(--blue);
}
.theme-card h3 { margin-top: 10px; font-size: clamp(19px, 1.65vw, 23px); line-height: 1.12; text-wrap: balance; }
.theme-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
#themes { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
#themes .section-head { margin-bottom: clamp(24px, 3.4vw, 44px); }

/* ---------- Themes (pinned illustration, scrolling text) ---------- */
.themes { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.themes-stage {
  position: sticky; top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 3;
}
.themes-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(.94) translateY(14px); transition: opacity .7s var(--ease), transform 1.1s var(--ease);
}
.themes-stage img.is-active { opacity: 1; transform: none; animation: drift 7s ease-in-out 1.1s infinite alternate; }
@keyframes drift { to { transform: translateY(-10px); } }

.theme {
  min-height: 62vh; display: flex; flex-direction: column; justify-content: center;
  padding: 28px 0; border-top: 1px solid rgba(19, 22, 27, .18);
  opacity: .32; transition: opacity .5s var(--ease);
}
.theme:first-child { border-top: 0; }
.theme.is-active { opacity: 1; }
.theme-num { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; color: var(--blue); }
.theme h3 { margin-top: 18px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.theme p { margin-top: 16px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }
.theme-img { display: none; }

/* ---------- Call ---------- */
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.call-head { position: sticky; top: calc(var(--header-h) + 32px); }
.call-head .label { margin-bottom: 16px; }
.call-facts { margin-top: 30px; border-top: 1px solid var(--line); }
.call-facts li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.call-facts li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 2px; background: var(--orange); }

.categories { border-top: 2px solid var(--ink); }
.categories li {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .4s var(--ease), background-color .3s;
}
.categories li:hover { padding-left: 14px; }
.categories span { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.02em; color: var(--orange); }
.categories h3 { font-size: clamp(22px, 2.1vw, 28px); }
.categories p { margin-top: 6px; font-size: 16.5px; color: var(--ink-2); max-width: 46ch; }

.dates { margin-top: clamp(64px, 8vw, 120px); }
.dates-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: 22px; }
.dates-row li { border-top: 2px solid var(--ink); padding-top: 20px; }
.dates-row li.is-main { border-top: 6px solid var(--orange); padding-top: 16px; }
.date-when { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3.2vw, 46px); line-height: 1; letter-spacing: -.035em; }
.date-what { margin: 10px 0 14px; font-size: 17px; color: var(--ink-2); }
.tag { display: inline-block; padding: 5px 10px; border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag-solid { background: var(--ink); border-color: var(--ink); color: #fff; }
.note { margin-top: 26px; font-size: 15px; color: var(--muted); }

.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 6vw, 88px); padding: clamp(24px, 3.4vw, 44px); background: var(--soft);
}
.contact p { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.15; letter-spacing: -.02em; max-width: 26ch; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* ---------- Programme ---------- */
.daybar { display: flex; height: 64px; gap: 3px; }
.daybar button {
  flex: var(--min) 1 0; min-width: 0; border: 0; padding: 0; background: var(--c); position: relative;
  transform-origin: 50% 100%; transition: transform .35s var(--ease), opacity .3s;
}
.daybar button:hover, .daybar button.is-hot { transform: scaleY(1.22); }
.daybar button.is-dim { opacity: .18; }
.daybar-wrap { position: relative; }
.daybar-cursor {
  position: absolute; top: -12px; left: 0; height: 88px; width: 2px; background: var(--ink); pointer-events: none;
  opacity: 0; transform: translateX(var(--x, 0px)); transition: opacity .2s;
}
.daybar-cursor.on { opacity: 1; }
.daybar-cursor span {
  position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 6px;
  background: var(--ink); color: #fff; padding: 5px 9px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.daybar-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--muted); }

.agenda-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; }
.agenda-filter button {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, background-color .2s, color .2s;
}
.agenda-filter button:hover { border-color: var(--ink); }
.agenda-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sw { width: 11px; height: 11px; flex: none; }
.sw-keynote { background: var(--blue); }
.sw-papers { background: var(--orange); }
.sw-work { background: var(--ink); }
.agenda-filter button[aria-pressed="true"] .sw-work { background: #fff; }
.sw-break { background: #CFCBBD; }

.agenda { border-top: 2px solid var(--ink); }
.agenda li {
  --c: var(--ink);
  display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: baseline;
  padding: 20px 16px 20px 20px; border-bottom: 1px solid var(--line); border-left: 5px solid var(--c);
  transition: opacity .35s var(--ease), background-color .3s;
}
.agenda li[data-type="keynote"] { --c: var(--blue); }
.agenda li[data-type="papers"] { --c: var(--orange); }
.agenda li[data-type="work"] { --c: var(--ink); }
.agenda li[data-type="break"] { --c: #CFCBBD; }
.agenda li.is-hot { background: var(--soft); }
.agenda li.is-dim { opacity: .22; }
.agenda time { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.agenda h3 { font-size: clamp(19px, 1.8vw, 24px); }
.agenda li[data-type="break"] h3 { font-weight: 600; color: var(--muted); }
.agenda p { margin-top: 3px; font-size: 15.5px; color: var(--muted); }
.dur { font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

.how { margin-top: clamp(64px, 8vw, 120px); }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: 22px; }
.how-steps li { border-top: 2px solid var(--ink); padding-top: 18px; }
.how-steps span { display: block; font-family: var(--display); font-weight: 800; font-size: 16px; color: var(--rust); margin-bottom: 26px; }
.how-steps h4 { margin-bottom: 10px; font-size: clamp(20px, 1.9vw, 24px); }
.how-steps p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* ---------- Organisers ---------- */
/* Programme and Organisers are both plain white, so the gap between them is shortened and marked by a rule. */
#programme { padding-bottom: clamp(48px, 6vw, 88px); }
#organisers { padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line); }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px); }
.person .portrait { max-width: 132px; margin-bottom: 20px; transition: transform .5s var(--ease), box-shadow .4s; }
.person:hover .portrait { transform: scale(1.04); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--orange); }
.person .portrait-initials { font-size: 34px; }
.person h3 { font-size: 21px; }
.person .bio { font-size: 14.5px; }

.institutions { margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--line); }
.institutions ul { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(28px, 4.4vw, 60px); margin-top: 28px; }
.institutions img { height: 44px; width: auto; max-width: 190px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s; }
.institutions li:hover img { filter: none; opacity: 1; }
.institutions img[src*="gwu"], .institutions img[src*="mit-media-lab"], .institutions img[src*="ancan"] { height: 58px; }

/* ---------- Sub-pages: submission and registration ---------- */
.call-more { margin-top: 28px; }
.page-hero { padding: clamp(36px, 5vw, 72px) 0 0; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-hero h1 { font-size: clamp(48px, 9vw, 136px); }
.page-hero .hero-sub { margin-top: clamp(18px, 2.4vw, 30px); max-width: 22ch; }
.page-hero-art img { width: 100%; max-width: 420px; height: auto; margin-left: auto; }
.facts-4 { grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 4vw, 56px); }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

.doc { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.doc-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 16px; }
.status-card { border: 1.5px solid var(--ink); padding: 24px; }
.status-card .label { margin-bottom: 10px; }
.status-title { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.status-card p:not(.label):not(.status-title) { font-size: 15.5px; color: var(--ink-2); }
.status-card .btn { margin-top: 20px; width: 100%; justify-content: center; }
.status-plain { border: 1px solid var(--line); }
.status-plain .more { margin-top: 0; }
.btn-disabled { background: #ECECE8; color: #8B8F96; cursor: not-allowed; }

.doc-block { border-top: 2px solid var(--ink); padding-top: 22px; margin-bottom: clamp(44px, 5vw, 72px); }
.doc-main h2 { font-size: clamp(26px, 3vw, 40px); letter-spacing: -.03em; margin-bottom: 18px; }
.doc-lead { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.1vw, 28px); line-height: 1.14; letter-spacing: -.02em; margin-bottom: 14px; text-wrap: balance; }
.doc-block > p:not(.doc-lead):not(.note) { font-size: clamp(16.5px, 1.4vw, 18px); color: var(--ink-2); max-width: 66ch; }
.doc-block .categories { margin-top: 20px; border-top: 1px solid var(--line); }
.doc-list { border-top: 1px solid var(--line); }
.doc-list li { position: relative; padding: 15px 0 15px 26px; border-bottom: 1px solid var(--line); font-size: clamp(16.5px, 1.4vw, 18px); color: var(--ink-2); }
.doc-list li::before { content: ""; position: absolute; left: 0; top: 26px; width: 10px; height: 2px; background: var(--orange); }
.inline-link { text-decoration: none; border-bottom: 2px solid var(--orange); color: var(--ink); }
.inline-link:hover { border-bottom-color: var(--ink); }
.doc-main .contact { margin-top: 0; }

/* Method card builder */
.mc-builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.mc-form { display: grid; gap: 22px; }
.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 0; margin-bottom: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.field .optional, .field .count { font-weight: 400; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.field input[type="text"], .field textarea {
  display: block; width: 100%; padding: 13px 14px; border: 1px solid #C9C9C4; border-radius: 0; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input[type="text"]:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: block; padding: 10px 14px; border: 1px solid #C9C9C4; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s; }
.choices label:hover span { border-color: var(--ink); }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choices input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.mc-side { position: sticky; top: calc(var(--header-h) + 28px); }
.mcard {
  --stripe-a: var(--blue); --stripe-b: var(--blue);
  position: relative; display: flex; flex-direction: column; min-height: 400px;
  border: 1.5px solid var(--ink); padding: 28px 28px 24px 40px; background: #fff;
  box-shadow: 12px 12px 0 var(--soft);
}
.mcard::before, .mcard::after { content: ""; position: absolute; left: 0; width: 12px; transition: background-color .35s; }
.mcard::before { top: 0; height: 50%; background: var(--stripe-a); }
.mcard::after { bottom: 0; height: 50%; background: var(--stripe-b); }
.mcard[data-tradition="Robots in family life"] { --stripe-a: var(--orange); --stripe-b: var(--orange); }
.mcard[data-tradition="Both"] { --stripe-a: var(--blue); --stripe-b: var(--orange); }
.mcard[data-tradition="Another field"] { --stripe-a: var(--ink); --stripe-b: var(--ink); }
.mcard-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--rust); }
.mcard-head span:last-child { color: var(--ink); text-align: right; }
.mcard h3 { margin-top: 22px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.04; letter-spacing: -.03em; overflow-wrap: anywhere; }
.mcard-desc { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; overflow-wrap: anywhere; }
.mcard-ref { margin-top: 12px; font-size: 13.5px; color: var(--muted); overflow-wrap: anywhere; }
.mcard-foot { margin-top: auto; padding-top: 18px; }
.mcard-foot p { font-size: 14.5px; line-height: 1.4; }
.mcard-foot p:first-child { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.015em; }
.mcard-trad { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.mcard-trad i { width: 10px; height: 10px; border-radius: 50%; background: var(--stripe-a); box-shadow: 6px 0 0 -1px var(--stripe-b); margin-right: 4px; }
.mcard .is-empty { color: #B9B9B4; }
.mc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.mc-actions .btn { cursor: pointer; }
.mc-actions .btn:disabled { opacity: .5; cursor: progress; }
.mc-side .note { margin-top: 16px; }
.mc-side .note.is-error { color: var(--rust); font-weight: 500; }
.mc-side .note.is-ok { color: var(--ink); font-weight: 600; }
.mcard.is-sent { box-shadow: 12px 12px 0 var(--orange); }
.field input[type="email"] {
  display: block; width: 100%; padding: 13px 14px; border: 1px solid #C9C9C4; border-radius: 0; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input[type="email"]:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

@media (max-width: 1020px) {
  .doc { grid-template-columns: 1fr; }
  .doc-side { position: static; grid-template-columns: 1fr 1fr; }
  .mc-builder { grid-template-columns: 1fr; }
  .mc-side { position: static; }
  .facts-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-art img { max-width: 300px; margin-left: 0; }
  .doc-side { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .facts-4 { grid-template-columns: 1fr; }
}

/* ---------- Guided forms: submission and registration ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.preview-note { margin-bottom: 36px; padding: 14px 18px; border: 1.5px dashed var(--rust); background: #FFF9F0; font-size: 15.5px; }
.wizard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 6vw, 88px); align-items: start; }

.wz-steps { display: flex; margin-bottom: 4px; }
.wz-steps[hidden], .wz-bar[hidden] { display: none; }
.wz-steps li { flex: 1; min-width: 0; }
.wz-steps button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 8px 14px 0; background: none; border: 0;
  font-size: 14px; font-weight: 600; color: var(--muted); text-align: left; white-space: nowrap;
}
.wz-steps i {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #C9C9C4; background: #fff;
  font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--muted);
  transition: background-color .35s, border-color .35s, color .35s, transform .35s var(--ease);
}
.wz-steps button.is-current { color: var(--ink); }
.wz-steps button.is-current i { background: var(--ink); border-color: var(--ink); color: #fff; transform: scale(1.1); }
.wz-steps button.is-done i { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.wz-steps button:disabled { cursor: default; opacity: .6; }
.wz-bar { height: 3px; background: var(--line); margin-bottom: clamp(28px, 4vw, 48px); }
.wz-bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease); }

.wz-panel { display: grid; gap: 22px; animation: panel-in .5s var(--ease) both; }
.wz-panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(16px); } }
.wz-panel > h3 { font-size: clamp(26px, 3.1vw, 42px); line-height: 1.02; letter-spacing: -.03em; outline: none; text-wrap: balance; }
.wz-help { margin-top: -8px; font-size: 16px; color: var(--ink-2); max-width: 62ch; }
.wz-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.wz-foot .btn { cursor: pointer; }
.wz-foot .btn:disabled { opacity: .5; cursor: progress; }
.send-state { min-height: 1.5em; font-size: 15px; color: var(--ink-2); }

.field select {
  display: block; width: 100%; padding: 13px 40px 13px 14px; border: 1px solid #C9C9C4; border-radius: 0; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2313161B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
.field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field-error { margin-top: 8px; font-size: 14px; font-weight: 500; color: #B3261E; }
.has-error input[type="text"], .has-error input[type="email"], .has-error textarea, .has-error select, .has-error .dropzone { border-color: #B3261E; }
.count.is-over { color: #B3261E; font-weight: 600; }

.choice-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-cards label { position: relative; cursor: pointer; }
.choice-cards label:last-child { grid-column: 1 / -1; }
.choice-cards input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-cards label > span {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px 8px; height: 100%; padding: 18px 20px 20px; border: 1px solid #C9C9C4; background: #fff;
  transition: border-color .25s, box-shadow .35s var(--ease), transform .35s var(--ease);
}
.choice-cards b { grid-row: span 2; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--orange); }
.choice-cards strong { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.choice-cards em { grid-column: 2; font-style: normal; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.choice-cards label:hover > span { border-color: var(--ink); }
.choice-cards input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink), 8px 8px 0 var(--orange); transform: translate(-3px, -3px); }
.choice-cards input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.authors { display: grid; gap: 4px; }
.author { display: grid; grid-template-columns: 1fr 1fr 1fr 48px; gap: 12px; align-items: end; padding: 16px 0 18px; border-top: 1px solid var(--line); }
.author-n { grid-column: 1 / -1; font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--rust); }
.author .field-error { position: static; }
.author-x { height: 49px; border: 1px solid #C9C9C4; background: #fff; font-size: 22px; line-height: 1; color: var(--muted); transition: border-color .2s, color .2s; }
.author-x:hover { border-color: var(--ink); color: var(--ink); }

.field > label.dropzone {
  position: relative; display: grid; justify-content: center; justify-items: center; gap: 6px; margin: 0; padding: 46px 20px;
  border: 2px dashed #B9B9B4; background: #fff; font-weight: 400; text-align: center; cursor: pointer;
  transition: border-color .25s, background-color .25s;
}
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dz-main { font-size: 18px; color: var(--ink); }
.dz-main b { font-family: var(--display); font-weight: 800; letter-spacing: -.01em; }
.dz-hint { font-size: 14px; color: var(--muted); }
.dropzone:hover, .dropzone.is-over { border-color: var(--ink); background: var(--soft); }
.dropzone.has-file { border-style: solid; border-color: var(--ink); padding: 22px 20px; }
.dropzone:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.file-chip { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: var(--soft); font-size: 15px; }
.file-chip b { font-weight: 600; overflow-wrap: anywhere; }
.file-chip span { color: var(--muted); white-space: nowrap; }
.file-chip button { margin-left: auto; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--muted); }
.file-chip button:hover { color: var(--ink); }

.field > label.tick { display: flex; justify-content: flex-start; align-items: flex-start; gap: 12px; margin: 0; font-size: 15.5px; font-weight: 400; cursor: pointer; }
.tick input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.confirm { display: grid; gap: 14px; }

.review { border-top: 2px solid var(--ink); }
.review > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.review dt { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.review dd { font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.review em { font-style: normal; color: var(--muted); }

.wz-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; justify-items: start; }
.wz-aside .mcard { width: 100%; }
.summary { width: 100%; border: 1.5px solid var(--ink); padding: 24px; box-shadow: 12px 12px 0 var(--soft); }
.summary dl > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dl > div:first-child { padding-top: 16px; }
.summary dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary dd { margin-top: 3px; font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: anywhere; }
.summary dd.is-empty { color: #B9B9B4; }
.summary-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.wz-aside > .summary-note { margin-top: 0; }

.wz-done { display: grid; gap: 16px; justify-items: start; padding: clamp(28px, 4vw, 52px); border: 1.5px solid var(--ink); box-shadow: 12px 12px 0 var(--orange); outline: none; animation: panel-in .6s var(--ease) both; }
.wz-done[hidden] { display: none; }
.wz-done h3 { font-size: clamp(28px, 3.6vw, 48px); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.done-id { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: -.04em; color: var(--orange); }
.done-lead { font-size: 18px; color: var(--ink-2); max-width: 54ch; }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 96px); }
.guide-grid .doc-block h3 { margin-bottom: 14px; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.025em; }
.guide-grid .doc-block .more { margin-top: 18px; }

.card-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
.gcard { min-height: 320px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); animation: panel-in .6s var(--ease) both; }
.gcard:hover { transform: translate(-4px, -6px) rotate(-.6deg); box-shadow: 16px 18px 0 var(--soft); }
.gcard h3 { font-size: 24px; }
.wall-empty { grid-column: 1 / -1; padding: 48px 24px; border: 1.5px dashed #C9C9C4; text-align: center; color: var(--muted); }
#cardCount { font-weight: 600; color: var(--ink); }

@media (max-width: 1020px) {
  .wizard-grid { grid-template-columns: 1fr; }
  .wz-aside { position: static; }
  .card-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wz-steps button span { display: none; }
  .wz-steps button.is-current span { display: inline; }
  .choice-cards { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr 48px; }
  .author .field { grid-column: 1; }
  .author .author-x { grid-column: 2; grid-row: 2; }
  .card-wall { grid-template-columns: 1fr; }
  .review > div { grid-template-columns: 1fr; gap: 2px; }
  .wz-foot { flex-wrap: wrap; }
}

.handoff-note { margin-top: -6px; padding: 14px 16px; border-left: 5px solid var(--orange); background: var(--soft); font-size: 15px; color: var(--ink-2); }
.wall-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.wall-head .agenda-filter { margin: 0; }
.wall-count { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
#cards .contact { margin-top: clamp(40px, 5vw, 64px); }

/* With nine menu items the menu folds into the button a little earlier. */
@media (max-width: 1320px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0;
    padding: 4px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 15px 0; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand img { width: 72px; height: 72px; flex: none; }
.footer-title { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.025em; color: var(--ink); line-height: 1.1; margin-bottom: 6px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col .label { margin-bottom: 6px; }
.footer-col a { align-self: flex-start; text-decoration: none; border-bottom: 1px solid var(--orange); }
.footer-col a:hover { border-bottom-color: var(--ink); }
.footer-note { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 20px; font-size: 14.5px; font-weight: 500;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.theme-cards .reveal:nth-child(2), .aud-areas .reveal:nth-child(2) { --d: .08s; }
.theme-cards .reveal:nth-child(3), .aud-areas .reveal:nth-child(3) { --d: .16s; }
.theme-cards .reveal:nth-child(4) { --d: .24s; }
.keynotes .reveal:nth-child(2), .people .reveal:nth-child(4n + 2), .objectives li:nth-child(2), .how-steps li:nth-child(2), .split .reveal:nth-child(2) { --d: .08s; }
.keynotes .reveal:nth-child(3), .people .reveal:nth-child(4n + 3), .objectives li:nth-child(3), .how-steps li:nth-child(3) { --d: .16s; }
.keynotes .reveal:nth-child(4), .people .reveal:nth-child(4n + 4), .objectives li:nth-child(4), .how-steps li:nth-child(4) { --d: .24s; }

/* Calm mode: everything still, everything visible */
.calm *, .calm *::before, .calm *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
.calm .reveal { opacity: 1 !important; transform: none !important; }
.calm .hero-art img { transform: none !important; }
.calm .theme { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .nav a { font-size: 14px; }
  .brand-text span { display: none; }
}

@media (max-width: 1020px) {
  .nav-toggle { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; gap: 0;
    padding: 4px var(--gutter) 20px; background: #fff; border-bottom: 1px solid var(--line);
  }
  .nav-open .nav { display: flex; }
  .nav a { padding: 15px 0; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav a:last-child { border-bottom: 0; }

  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div, .facts > div + div { padding: 20px 16px 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .facts > div:nth-child(-n + 2) { border-top: 0; }
  .facts-count { grid-column: 1 / -1; }

  .keynotes { grid-template-columns: repeat(2, 1fr); }
  .theme-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .audience { grid-template-columns: 1fr; }
  .aud-art { max-width: 560px; }
  .objectives ol, .how-steps { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(3, 1fr); }
  .about-text { grid-template-columns: 1fr; }
  .call-grid { grid-template-columns: 1fr; }
  .call-head { position: static; }

  .themes { grid-template-columns: 1fr; }
  .themes-stage { display: none; }
  .theme { min-height: 0; opacity: 1; padding: 36px 0; }
  .theme-img { display: block; margin-top: 24px; max-width: 520px; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .header-inner { gap: 12px; }
  .brand-text strong { font-size: 14.5px; white-space: normal; line-height: 1.08; }
  .btn-small { display: none; }
  .hero-stage { margin-bottom: 96px; }
  .peek-rail { height: 112px; margin-top: -112px; }
  .peek { right: 6%; width: 92px; bottom: -30px; }
  .daybar-cursor { height: 72px; }
  .hero-actions { width: 100%; }
  .exchange { grid-template-columns: 1fr 1fr; align-items: start; }
  .ex-bridge { grid-column: 1 / -1; grid-row: 1; }
  .ex-side img { height: 170px; }
  .split { grid-template-columns: 1fr; }
  .split-col:first-child { padding-right: 0; border-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .split-col:last-child { padding-left: 0; }
  .dates-row { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(2, 1fr); }
  .agenda li { grid-template-columns: 76px 1fr; padding-left: 14px; }
  .agenda time { font-size: 20px; }
  .dur { display: none; }
  .daybar { height: 48px; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .institutions img { height: 34px; max-width: 140px; }
  .institutions img[src*="gwu"], .institutions img[src*="mit-media-lab"] { height: 44px; }
}

@media (max-width: 460px) {
  .keynotes, .objectives ol, .how-steps, .theme-cards { grid-template-columns: 1fr; }
  .keynote .portrait { max-width: 180px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div:nth-child(2) { border-top: 1px solid var(--line); }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media print {
  .site-header, .toast, .agenda-filter, .daybar-wrap { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .theme { opacity: 1; min-height: 0; }
}
