/* Meeting a Different Mind — tokens from the book cover */
:root {
  --ink: #050C1E;        /* the dark centre of the cover */
  --navy: #0B1834;       /* cover field */
  --navy-2: #12224A;
  --paper: #E8ECF5;      /* type on the cover */
  --mist: #98A4C0;
  --line: rgba(152, 164, 192, 0.2);
  --cyan: #5FD3E6;
  --violet: #8A73F5;
  --magenta: #E0559A;
  --serif: "Literata", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --measure: 66ch;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: var(--paper);
  font-family: var(--serif); font-size: clamp(17px, 1.05vw + 12px, 20px); line-height: 1.65;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--paper); color: var(--ink); padding: 8px 12px; }

/* Header */
.site-header {
  position: absolute; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter);
}
.page .site-header { position: relative; border-bottom: 1px solid var(--line); }
.brand { color: var(--paper); text-decoration: none; font-size: 1rem; letter-spacing: 0.01em; display: flex; align-items: center; gap: 10px; }
.brand svg { width: 26px; height: 26px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 0.86rem; }
.nav a { color: var(--mist); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--cyan); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--paper); font: inherit; font-size: 0.9rem; padding: 6px 14px; border-radius: 99px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 0.72em 1.25em; border-radius: 99px; font-size: 0.92rem; line-height: 1.2;
  border: 1px solid var(--line); color: var(--paper); background: transparent;
  transition: border-color .2s, background-color .2s;
}
.btn:hover { border-color: var(--cyan); color: var(--paper); }
.btn--solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.btn small { font-family: var(--mono); font-size: 0.72rem; opacity: 0.7; }
.nav .btn { color: var(--paper); padding: 0.5em 1.05em; }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: radial-gradient(120% 90% at 62% 50%, var(--navy-2) 0%, var(--navy) 45%, var(--ink) 100%); }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__copy {
  position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--gutter) clamp(48px, 9vh, 96px); max-width: 980px; pointer-events: none;
}
.hero__copy a, .hero__copy button { pointer-events: auto; }
.hero h1 {
  font-weight: 300; font-size: clamp(2.9rem, 7.4vw, 7.2rem); line-height: 0.98; letter-spacing: -0.025em; margin: 0 0 0.35em;
  font-variation-settings: "opsz" 72;
}
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--mist); max-width: 34ch; margin: 0 0 1.6em; line-height: 1.45; }
.hero__authors { font-family: var(--mono); font-size: 0.78rem; color: var(--mist); margin: 0 0 2em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: clamp(80px, 14vh, 160px) var(--gutter); position: relative; }
.section--deep { background: var(--ink); }
.wrap { max-width: 1240px; margin: 0 auto; }
.lede {
  font-weight: 300; font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.22; letter-spacing: -0.012em;
  max-width: 24ch; margin: 0; font-variation-settings: "opsz" 48;
}
.lede + p { max-width: 46ch; color: var(--mist); margin-top: 1.5em; }
.h2 { font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.7em; }
.muted { color: var(--mist); }

/* Protocol — the record of the assessment, in the machine voice */
.protocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.protocol dl { margin: 0; font-family: var(--mono); font-size: 0.84rem; line-height: 1.55; border-top: 1px solid var(--line); }
.protocol dl div { display: grid; grid-template-columns: 13em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.protocol dt { color: var(--mist); }
.protocol dd { margin: 0; color: var(--paper); }

/* Jackie */
.jackie { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.jackie figure { margin: 0; }
.jackie img { border-radius: 4px; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; }
.jackie figcaption { font-family: var(--mono); font-size: 0.74rem; color: var(--mist); margin-top: 10px; }

/* Quote */
.quote { margin: 0; max-width: 1000px; }
.quote p { max-width: 22ch; font-weight: 300; font-style: italic; font-size: clamp(1.8rem, 4vw, 3.6rem); line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.quote cite { display: block; margin-top: 1.4em; font-style: normal; font-family: var(--mono); font-size: 0.78rem; color: var(--mist); }

/* Contents */
.parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); margin-top: 48px; }
.part h3 { font-weight: 400; font-size: 1.3rem; line-height: 1.3; margin: 0 0 1em; }
.part h3 span { display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--cyan); margin-bottom: 0.6em; }
.part ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.part li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--mist); display: grid; grid-template-columns: 2.4em 1fr; }
.part li b { font-family: var(--mono); font-weight: 400; font-size: 0.78rem; color: var(--paper); padding-top: 0.2em; }

/* Authors */
.authors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; }
.author img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 4px; filter: grayscale(0.35); }
.author h3 { font-weight: 400; font-size: 1.15rem; margin: 18px 0 6px; }
.author p { margin: 0; color: var(--mist); font-size: 0.9rem; line-height: 1.5; }

/* Presented at */
.talks { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.talks li { display: grid; grid-template-columns: 9em 1fr auto; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.talks .when { font-family: var(--mono); font-size: 0.78rem; color: var(--mist); }
.talks a { color: var(--paper); text-decoration: none; }
.talks a:hover { color: var(--cyan); }
.talks .go { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); white-space: nowrap; }

/* Order */
.order { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.order img { max-width: 420px; margin: 0 auto; filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.order .actions { margin-top: 28px; }

/* Inner pages */
.page main { position: relative; }
.page canvas.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.page .content { position: relative; z-index: 1; padding: clamp(56px, 10vh, 120px) var(--gutter) 80px; }
.page-title { font-weight: 300; font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1.02; letter-spacing: -0.022em; margin: 0 0 0.5em; max-width: 16ch; font-variation-settings: "opsz" 72; }
.page-intro { font-size: clamp(1.15rem, 1.7vw, 1.4rem); color: var(--mist); max-width: 42ch; margin: 0 0 3em; line-height: 1.5; }
.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.15em; }
.prose h2 { font-weight: 400; font-size: 1.6rem; line-height: 1.25; margin: 2.2em 0 0.7em; }
.prose h3 { font-weight: 500; font-size: 1.12rem; line-height: 1.35; margin: 2em 0 0.5em; }
.prose h3 .num { font-family: var(--mono); font-weight: 400; font-size: 0.8rem; color: var(--cyan); margin-right: 0.8em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 0.4em; }
.prose figure { margin: 2.4em 0; }
.prose figcaption { font-family: var(--mono); font-size: 0.74rem; color: var(--mist); margin-top: 10px; }
.bio { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: 48px 0; border-top: 1px solid var(--line); max-width: 1080px; }
.bio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.bio h2 { margin-top: 0 !important; }
.pager { display: flex; justify-content: space-between; gap: 24px; max-width: var(--measure); margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.pager a { text-decoration: none; color: var(--paper); }
.pager span { display: block; font-family: var(--mono); font-size: 0.72rem; color: var(--mist); }
.pager .next { text-align: right; margin-left: auto; }
.cta-band { margin-top: 72px; padding: 32px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; max-width: var(--measure); }
.cta-band p { margin: 0; flex: 1 1 18ch; }

/* Footer */
.site-footer { position: relative; z-index: 1; background: var(--ink); padding: 64px var(--gutter) 40px; font-size: 0.88rem; color: var(--mist); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .f-title { font-weight: 400; font-size: 1.1rem; color: var(--paper); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--paper); }
.site-footer .fine { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 20px; font-family: var(--mono); font-size: 0.72rem; }

/* Responsive */
@media (max-width: 900px) {
  .menu-btn { display: inline-block; position: relative; z-index: 31; }
  .nav { position: fixed; inset: 0; z-index: 30; background: var(--ink); flex-direction: column; justify-content: center; font-size: 1.4rem; gap: 22px; display: none; }
  .nav.is-open { display: flex; }
  body.menu-open { overflow: hidden; }
  .protocol, .jackie, .order, .parts { grid-template-columns: 1fr; }
  .authors { grid-template-columns: 1fr 1fr; }
  .talks li { grid-template-columns: 1fr; gap: 6px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio img { max-width: 240px; }
  .hero__copy { justify-content: flex-end; }
}
@media (max-width: 560px) {
  .authors { grid-template-columns: 1fr; }
  .protocol dl div { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- v2: reading layouts ---------- */
.hero__tag { font-family: var(--mono); font-size: 0.78rem; color: var(--cyan); margin: 0 0 0.6em; }
@media (max-width: 900px) {
  .hero::after { content: ""; position: absolute; inset: 35% 0 0 0; z-index: 1; pointer-events: none;
    background: linear-gradient(to bottom, rgba(5,12,30,0) 0%, rgba(5,12,30,0.78) 45%, rgba(5,12,30,0.92) 100%); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 40; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta)); }

.page-head { margin-bottom: clamp(40px, 7vh, 72px); }
.page-head .page-intro { margin-bottom: 0.8em; }
.page-meta { font-family: var(--mono); font-size: 0.76rem; color: var(--mist); margin: 0; }

/* readable surface over the moving field */
.prose, .wide { position: relative; }
.prose { font-size: 1.04em; line-height: 1.72; }
.prose p { hyphens: auto; }
.emph { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.45; font-weight: 300; color: var(--paper); margin: 0 0 1.4em; }
.block { margin-bottom: 3em; }
.block h2 { margin-top: 0 !important; }
.block--danger { border-left: 2px solid var(--magenta); padding-left: clamp(18px, 3vw, 32px); }
.block--danger .emph { margin: 0; }
.prose strong { font-weight: 500; color: var(--paper); }

/* Prologue as a book page */
.book { max-width: 62ch; }
.book > p:first-child::first-letter { float: left; font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; font-weight: 300; color: var(--cyan); }
.book p { text-indent: 1.6em; margin: 0 0 0.5em; }
.book > p:first-child, .book .turn, .book .turn + p { text-indent: 0; }
.book .turn { font-size: 1.22em; line-height: 1.5; font-style: italic; font-weight: 300; margin: 1.6em 0; padding-left: 1.2em; border-left: 1px solid var(--violet); }

/* Summary: sticky table of contents */
.with-toc { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.toc { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; font-size: 0.82rem; line-height: 1.35; padding-right: 8px; scrollbar-width: thin; }
.toc__title { font-family: var(--mono); font-size: 0.72rem; color: var(--mist); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--mist); text-decoration: none; }
.toc li a:hover { color: var(--paper); }
.toc li a.is-active { color: var(--paper); border-left-color: var(--cyan); }
.toc__part a { font-family: var(--mono); font-size: 0.72rem; color: var(--cyan) !important; padding-top: 14px !important; }
.toc__sub a { padding-left: 28px !important; font-size: 0.78rem; }
.prose h2.part { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 300; line-height: 1.2; margin: 1.6em 0 0.5em; padding-top: 1.2em; border-top: 1px solid var(--line); }
.prose h2.part:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h2.part .num, .toc-part h2 .num { display: block; font-family: var(--mono); font-size: 0.42em; color: var(--cyan); margin-bottom: 0.6em; }
.part-intro { font-size: 1.15em; color: var(--paper); font-weight: 300; }
.prose h3 { font-size: 1.3rem; font-weight: 400; margin-top: 2.4em; }
.prose h4 { font-size: 1.05rem; font-weight: 500; line-height: 1.4; margin: 2em 0 0.5em; }
.prose h3 .num, .prose h4 .num { font-family: var(--mono); font-weight: 400; font-size: 0.74rem; color: var(--cyan); margin-right: 0.9em; }
.prose [id] { scroll-margin-top: 24px; }
.signs { padding-left: 1.2em; }
.signs li::marker { color: var(--cyan); }

/* Contents */
.toc-part { margin-top: 56px; max-width: 900px; }
.toc-part h2 { font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.2; margin: 0 0 20px; }
.toc-list { list-style: none; padding: 0; margin: 0; max-width: 900px; border-top: 1px solid var(--line); }
.toc-list li { border-bottom: 1px solid var(--line); }
.toc-list a { display: grid; grid-template-columns: 4.5em 1fr; gap: 12px; padding: 13px 0; color: var(--paper); text-decoration: none; transition: color .15s; }
.toc-list a:hover { color: var(--cyan); }
.toc-list .n { font-family: var(--mono); font-size: 0.76rem; color: var(--mist); padding-top: 0.25em; }
.tl-sub a { padding-left: 2.5em; color: var(--mist); font-size: 0.94rem; }
.tl-ch a { font-size: 1.05rem; }
.tl-prologue a { font-size: 1.05rem; }

/* Disclaimer */
.statements { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.statements li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.08em; }

/* Meet Jackie */
.jackie-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1180px; }
.jp-fig { margin: 0; }
.jp-fig img { border-radius: 4px; filter: grayscale(1) contrast(1.05); }
.jp-fig figcaption { font-family: var(--mono); font-size: 0.74rem; color: var(--mist); margin-top: 10px; }
.jp-fig--b { order: 4; }
.jp-text { font-size: 1.08em; }
.jp-text p:first-child { margin-top: 0; }

/* Authors */
.author-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; max-width: 1080px; }
.author-index a { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--paper); text-decoration: none; font-size: 0.95rem; line-height: 1.3; }
.author-index a:hover { border-color: var(--cyan); }
.author-index img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 32%; flex: none; }
.author-index small { display: block; color: var(--mist); font-size: 0.78rem; margin-top: 3px; }
.bio { scroll-margin-top: 24px; }
.bio-photo { position: sticky; top: 32px; align-self: start; }
.bio-text { max-width: var(--measure); }
.bio-text h2 { font-weight: 300; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.15; margin: 0 0 0.6em; }
.bio-lead { font-size: 1.12em; color: var(--paper); }
.bio-text ul { padding-left: 1.1em; }
.bio-text li::marker { color: var(--cyan); }
.talk-note { margin-top: 28px; color: var(--mist); font-size: 0.92rem; max-width: 70ch; }

@media (max-width: 1000px) {
  .with-toc { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin-bottom: 24px; }
  .toc details { display: block; }
}
@media (max-width: 900px) {
  .jackie-page { grid-template-columns: 1fr; }
  .jp-fig--b { order: 0; }
  .author-index { grid-template-columns: 1fr; }
  .bio-photo { position: static; }
  .toc-list a { grid-template-columns: 3.4em 1fr; }
  .tl-sub a { padding-left: 1.4em; }
}
.prose h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.25; margin: 2.6em 0 0.6em; }
.prose h3 .num { display: block; margin: 0 0 0.6em; }
.bio-cred { font-family: var(--mono); font-size: 0.8rem; color: var(--cyan); margin-top: -0.4em; }
.toc summary { list-style: none; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
@media (max-width: 1000px) {
  .toc summary { cursor: pointer; margin: 0; color: var(--paper); font-size: 0.8rem; }
  .toc summary::after { content: " +"; color: var(--cyan); }
  .toc details[open] summary::after { content: " −"; }
  .toc details[open] summary { margin-bottom: 12px; }
}
/* Articles: visible, labelled links */
.talks--full { margin-top: 0; max-width: 1000px; }
.talks--full li.talk { grid-template-columns: 9em 1fr; padding: 28px 0; align-items: start; }
.talk-venue { font-weight: 400; font-size: 1.2rem; line-height: 1.3; margin: 0 0 6px; }
.talk-sub { color: var(--mist); font-size: 0.95rem; margin: 0 0 14px; max-width: 62ch; }
.talk-links { display: flex; flex-wrap: wrap; gap: 10px; }
.talk-link { display: inline-flex; flex-direction: column; gap: 2px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--paper); text-decoration: none; font-size: 0.92rem; line-height: 1.25; }
.talk-link:hover { border-color: var(--cyan); color: var(--paper); }
.talk-link small { font-family: var(--mono); font-size: 0.7rem; color: var(--cyan); }
@media (max-width: 900px) { .talks--full li.talk { grid-template-columns: 1fr; gap: 8px; } }
.btn small { font-size: 0.68rem; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px; border: 1px solid currentColor; opacity: 0.6; }
.site-footer .lang { font-family: var(--mono); font-size: 0.7rem; opacity: 0.7; margin-left: 4px; }

/* ---------- v5: responsive fixes ---------- */
.order img { max-width: min(420px, 100%); }
.nav a:not(.btn) { padding: 10px 2px; }
@media (max-width: 380px) {
  .brand { font-size: 0.86rem; gap: 8px; }
  .brand svg { width: 22px; height: 22px; }
  .site-header { gap: 12px; }
}
/* very wide screens: keep one column of composition, slightly larger type */
@media (min-width: 1800px) {
  html { font-size: 112.5%; }
  .wrap { max-width: 1440px; }
  .site-header, .hero__copy { padding-left: max(var(--gutter), calc((100vw - 1560px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1560px) / 2)); }
  .hero__copy { max-width: none; }
  .hero__copy > * { max-width: 980px; }
  .site-footer { padding-left: max(var(--gutter), calc((100vw - 1560px) / 2)); padding-right: max(var(--gutter), calc((100vw - 1560px) / 2)); }
  .site-footer .wrap { max-width: none; }
}

/* FAQ */
.faq { max-width: 860px; margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--cyan); font-size: 1.2rem; flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { margin: 0; font-weight: 400; font-size: 1.15rem; line-height: 1.4; color: var(--paper); }
.faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.faq details p { margin: 0 0 22px; color: var(--mist); max-width: 68ch; line-height: 1.65; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Presentations timeline */
.timeline { list-style: none; margin: 8px 0 0; padding: 0 0 0 36px; position: relative; max-width: 980px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--cyan), rgba(138,115,245,.6) 60%, rgba(224,85,154,.25)); }
.tl-item { position: relative; padding-bottom: 64px; }
.tl-item:last-child { padding-bottom: 8px; }
.tl-dot { position: absolute; left: -36px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--ink, #050C1E); border: 1px solid var(--cyan); box-shadow: 0 0 0 4px rgba(95,211,230,.12); }
.tl-item:first-child .tl-dot { background: var(--cyan); }
.tl-when { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; color: var(--cyan); margin: 0 0 8px; }
.tl-title { font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.3; margin: 0 0 8px; color: var(--paper); max-width: 40ch; }
.tl-place, .tl-theme { margin: 0 0 4px; color: var(--mist); font-size: .95rem; }
.tl-theme { font-style: italic; }
.tl-text { margin: 12px 0 0; max-width: 64ch; line-height: 1.65; }
.tl-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.tl-photo { display: block; overflow: hidden; border-radius: 4px; background: rgba(152,164,192,.08); aspect-ratio: 4 / 3; }
.tl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.tl-photo:hover img { transform: scale(1.03); }
.tl-photo:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.tl-photo--lead { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tl-item .talk-links { margin-top: 16px; }
@media (max-width: 640px) { .timeline { padding-left: 28px; } .tl-dot { left: -28px; } .timeline::before { left: 7px; } .tl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .tl-photo img { transition: none; } }

/* Slideshow */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(3, 8, 20, .98); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.lb-img { max-width: min(1400px, 100%); max-height: calc(100vh - 150px); object-fit: contain; border-radius: 4px; user-select: none; }
.lb-cap { color: var(--mist); font-size: .9rem; text-align: center; max-width: 70ch; }
.lb button { position: absolute; background: rgba(152,164,192,.12); color: var(--paper); border: 1px solid var(--line); border-radius: 50%; width: 52px; height: 52px; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb button:hover { border-color: var(--cyan); }
.lb button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 16px; right: 16px; width: 44px !important; height: 44px !important; font-size: 1.5rem !important; }
@media (max-width: 640px) { .lb { padding: 64px 8px 24px; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-img { max-height: calc(100vh - 190px); } }
