/* AGI-26 speakers — matches the dark palette of the agi26-* thinker rooms. */
:root {
  --bg: #0b0f14;
  --panel: #121821;
  --panel-2: #16202b;
  --line: #22303f;
  --ink: #e8eef5;
  --muted: #93a4b8;
  --accent: #6fd3c7;
  --accent-dim: #2b5f5a;
  --warn: #e0b356;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--accent); }

/* ---- nav ---- */
.topnav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,15,20,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1060px; margin: 0 auto; padding: .85rem 1.25rem;
  display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
}
.nav-home {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .82rem; letter-spacing: .02em;
  text-decoration: none; color: var(--accent);
  padding: .4rem .6rem; margin: -.4rem -.6rem; border-radius: 8px;
  min-height: 44px; display: inline-flex; align-items: center;
}
.nav-home:hover { background: var(--panel-2); }
.nav-here { color: var(--muted); }
.nav-current {
  font-size: .82rem; color: var(--muted);
  padding-left: .85rem; border-left: 1px solid var(--line);
}

/* ---- shared ---- */
main { max-width: 1060px; margin: 0 auto; padding: 2.5rem 1.25rem 3rem; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .35rem; }
h2 { font-size: 1.75rem; margin: 2.5rem 0 .75rem; }
.muted { color: var(--muted); }

/* ---- index ---- */
.hero { padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9rem;
}
.tagline { color: var(--muted); font-size: 1.1rem; max-width: 54ch; margin: .4rem 0 0; }
.stats { display: flex; flex-wrap: wrap; gap: 2.25rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column; }
.stats strong { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; line-height: 1; }
.stats span { color: var(--muted); font-size: .85rem; margin-top: .25rem; }
.lede { color: var(--muted); max-width: 62ch; margin: 0 0 1.5rem; }
.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem;
        grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
        display: flex; flex-direction: column; overflow: hidden; }
.card-main { display: flex; gap: .9rem; padding: 1rem; text-decoration: none; color: inherit;
             align-items: flex-start; flex: 1; min-height: 44px; }
.card-main:hover { background: var(--panel-2); }
.card-glyph {
  flex: 0 0 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); color: var(--ink);
  display: grid; place-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: .9rem; letter-spacing: .04em;
}
.card-body { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.card-name { font-weight: 600; font-size: 1.02rem; }
.card-affil { color: var(--muted); font-size: .85rem; }
.card-meta { display: flex; align-items: center; gap: .5rem; margin-top: .35rem; flex-wrap: wrap; }
.badge {
  font-family: "IBM Plex Mono", monospace; font-size: .68rem; letter-spacing: .04em;
  text-transform: uppercase; padding: .18rem .45rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
}
.badge.live { color: var(--accent); border-color: var(--accent-dim); }
.count { color: var(--muted); font-size: .76rem; }
.card-room {
  display: block; padding: .6rem 1rem; border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace; font-size: .76rem; text-decoration: none;
  background: var(--panel-2);
}
.card-room:hover { color: var(--ink); }

/* ---- speaker page ---- */
.sp-head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.glyph {
  flex: 0 0 62px; height: 62px; border-radius: 14px; background: var(--accent-dim);
  display: grid; place-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: 1.15rem; letter-spacing: .04em;
}
.affil { color: var(--muted); margin: 0; }
.role { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-size: .8rem; margin: .35rem 0 0; }
.bio { font-size: 1.08rem; max-width: 64ch; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 1.5rem; }
.chip {
  font-size: .76rem; padding: .25rem .6rem; border-radius: 999px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
}
.disambig {
  background: var(--panel); border: 1px solid var(--warn); border-left-width: 3px;
  border-radius: 10px; padding: .85rem 1rem; margin: 1.25rem 0;
  font-size: .9rem; color: var(--ink);
}
.disambig strong { color: var(--warn); }
.room-card {
  display: flex; flex-direction: column; gap: .3rem;
  background: var(--panel); border: 1px solid var(--accent-dim); border-radius: var(--radius);
  padding: 1.15rem; margin: 1.5rem 0; text-decoration: none; color: inherit;
}
a.room-card:hover { background: var(--panel-2); }
.room-none { border-color: var(--line); opacity: .8; }
.room-eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.room-title { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; color: var(--accent); }
.room-none .room-title { color: var(--muted); }
.room-note { color: var(--muted); font-size: .88rem; max-width: 62ch; }
.kind {
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
  margin: 1.4rem 0 .4rem; padding-bottom: .3rem; border-bottom: 1px solid var(--line);
}
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: .45rem 0; }
.links a { text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.links a:hover { border-bottom-color: var(--accent); }
.note { color: var(--muted); font-size: .82rem; display: block; }
.empty { color: var(--muted); font-style: italic; max-width: 60ch; }
.prov { color: var(--muted); font-size: .82rem; margin-top: 2rem;
        padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---- footer ---- */
.foot-back { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }
.foot-back a { font-family: "IBM Plex Mono", monospace; font-size: .82rem; text-decoration: none; }
.site-foot {
  max-width: 1060px; margin: 2.5rem auto 0; padding: 1.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem;
}
.site-foot p { margin: .4rem 0; max-width: 70ch; }

@media (max-width: 600px) {
  main { padding: 1.75rem 1rem 2.5rem; }
  .stats { gap: 1.5rem; }
  .grid { grid-template-columns: 1fr; }
}

/* ---- programme groups ---- */
.group { margin-top: 2.75rem; }
.group h2 { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .35rem; }
.gcount {
  font-family: "IBM Plex Mono", monospace; font-size: .8rem; font-weight: 400;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .5rem;
}
.group .lede { margin-bottom: 1.1rem; }
.prog-line { margin: .5rem 0 0; }
.badge.prog-keynote { color: var(--accent); border-color: var(--accent-dim); }
.badge.prog-adjacent { color: var(--warn); border-color: var(--warn); }
#adjacent .lede { color: var(--warn); opacity: .95; }

/* ---- talks ---- */
.talks h2 { margin-top: 2rem; }
.talklist { list-style: none; padding: 0; margin: 0; }
.talklist li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: .2rem 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.talk-day {
  font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--accent);
  grid-row: span 2; padding-top: .15rem;
}
.talk-title { font-weight: 500; }
.talk-sess { color: var(--muted); font-size: .8rem; }
@media (max-width: 600px) {
  .talklist li { grid-template-columns: 1fr; }
  .talk-day { grid-row: auto; }
}

/* ---- concept dictionary ---- */
.dict .hero { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.jump { display: flex; flex-wrap: wrap; gap: .3rem; margin: 1.1rem 0 0; }
.jump a {
  font-family: "IBM Plex Mono", monospace; font-size: .8rem; text-decoration: none;
  min-width: 34px; min-height: 34px; display: inline-grid; place-items: center;
  border: 1px solid var(--line); border-radius: 8px;
}
.jump a:hover { border-color: var(--accent); background: var(--panel); }
.tletter {
  font-size: 2.1rem; color: var(--accent); margin: 2.75rem 0 .5rem;
  padding-bottom: .25rem; border-bottom: 1px solid var(--line);
}
.term {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.25rem; margin: .9rem 0;
}
.term:target { border-color: var(--accent); }
.tterm {
  font-size: 1.4rem; margin: 0 0 .15rem;
  display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap;
}
.tsub { color: var(--muted); font-style: italic; margin: 0 0 .7rem; font-size: .93rem; }
.tbody { max-width: 68ch; }
.tbody strong { color: var(--accent); }
.trelated { font-size: .85rem; color: var(--muted); margin: .9rem 0 .2rem; }
.trelated a { text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.tprov {
  font-size: .8rem; color: var(--muted); margin: .9rem 0 0;
  padding-top: .7rem; border-top: 1px solid var(--line);
}
.tsource { text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.badge.coin-coined { color: var(--accent); border-color: var(--accent-dim); }
.badge.coin-central { color: var(--muted); }
.badge.coin-borrowed { color: var(--warn); border-color: var(--warn); opacity: .8; }
.dict-card { border-color: var(--accent-dim); }
.stats a { text-decoration: none; }
