/* Road to Superintelligence: shared stylesheet for the generated pages (night atlas look) */
:root{
  --night:#070A12;--night-2:#0D1220;--text:#E8ECF5;--muted:#9AA3B5;--rule:rgba(216,183,122,.28);
  --gold:#D8B77A;--ivory:#F1E8D2;--dawn:#FFC98A;--glow:#9FE7FF;--card:rgba(255,255,255,.035);
  --serif:"EB Garamond",Georgia,"Times New Roman",serif;
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --bd-fact-bg:#0F3D31;--bd-fact-ink:#7DF0CB;
  --bd-experts-bg:#12305F;--bd-experts-ink:#A9CBFF;
  --bd-lean-bg:#2C1F63;--bd-lean-ink:#CDBFFF;
  --bd-claimed-bg:#4A3300;--bd-claimed-ink:#FFD27A;
  --bd-disputed-bg:#5A1612;--bd-disputed-ink:#FFB4AC;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;background:var(--night);color:var(--text);font-family:var(--sans);font-size:16px;line-height:1.6;overflow-x:hidden}
img{max-width:100%;height:auto}
a{color:var(--glow);text-underline-offset:3px;text-decoration-thickness:1px}
a:hover{color:var(--dawn)}
:focus-visible{outline:3px solid var(--glow);outline-offset:2px;border-radius:3px}
h1,h2,h3,p,ul,ol,dl,dd,blockquote,figure{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{font-family:var(--serif);font-weight:500;color:var(--ivory);line-height:1.15}
h1{font-size:clamp(32px,7vw,46px);margin-bottom:10px}
h2{font-size:clamp(25px,5vw,32px);margin:44px 0 14px}
h3{font-size:22px}
.wrap{max-width:760px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:#000;padding:10px 14px;z-index:20}
.skip:focus{left:8px;top:8px}

/* header */
header.site{background:var(--night-2);border-bottom:1px solid var(--rule)}
header.site .wrap{max-width:980px;padding-top:12px}
.brand{white-space:nowrap;display:inline-flex;align-items:center;min-height:44px;font-family:var(--serif);font-size:22px;font-weight:600;color:var(--gold);text-decoration:none;letter-spacing:.01em}
.menu{display:flex;gap:2px;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -16px;padding:0 12px}
.menu::-webkit-scrollbar{display:none}
.menu a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--muted);text-decoration:none;font-size:15px;white-space:nowrap;border-bottom:2px solid transparent}
.menu a:hover{color:var(--ivory)}
.menu a[aria-current]{color:var(--gold);border-bottom-color:var(--gold)}
@media (min-width:900px){
  header.site .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:0}
  .menu{margin:0;padding:0;overflow:visible}
}

/* crumbs */
.crumbs{padding:14px 0 6px;font-size:14px;color:var(--muted)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:2px 0}
.crumbs li{display:inline-flex;align-items:center}
.crumbs li+li::before{content:"/";margin:0 8px;color:var(--rule)}
.crumbs a{color:var(--muted);display:inline-flex;align-items:center;min-height:44px}
.crumbs a:hover{color:var(--gold)}
.crumbs li[aria-current]{color:var(--text)}
main{padding-bottom:40px}

/* page head */
.head{display:flex;gap:18px;align-items:center;margin:8px 0 14px}
.portrait{width:112px;height:112px;object-fit:cover;object-position:top;border-radius:50%;border:2px solid var(--rule);flex:0 0 auto;background:var(--night-2)}
.portrait.ini,.thumb.ini{display:inline-flex;align-items:center;justify-content:center;font-family:var(--serif);color:var(--gold);font-size:34px}
.logo.lg{width:auto;height:auto;max-width:150px;max-height:80px;background:#fff;border-radius:10px;padding:8px;flex:0 0 auto;object-fit:contain}
.short{color:var(--dawn);font-size:18px;font-family:var(--serif)}
.lede{font-size:18px;color:var(--text);margin:6px 0 16px}
.credit{font-size:13px;color:var(--muted);margin:-4px 0 14px}
.roles{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.roles li,.pills li{border:1px solid var(--rule);border-radius:999px;padding:4px 12px;font-size:14px;color:var(--ivory)}
.pills{display:flex;flex-wrap:wrap;gap:8px}
.pills a{display:inline-flex;align-items:center;min-height:36px;color:var(--ivory);text-decoration:none}
.pills li:hover{border-color:var(--gold)}
.counts{color:var(--muted);font-size:14px;margin:6px 0 0}
.actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--gold);color:#1a1405;font-weight:600;font-size:15px;text-decoration:none}
.btn:hover{background:var(--dawn);color:#1a1405}
.btn.ghost{background:transparent;color:var(--gold);border:1px solid var(--gold)}
.btn.ghost:hover{background:rgba(216,183,122,.12);color:var(--dawn)}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:14px 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule);padding:14px 0}
.facts dt{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.facts dd{margin:2px 0 0;color:var(--ivory)}

/* chips (era jump row) */
.chips{display:flex;gap:8px;overflow-x:auto;margin:18px -16px 4px;padding:0 16px 6px;scrollbar-width:thin}
.chips a{flex:0 0 auto;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--rule);border-radius:999px;color:var(--ivory);text-decoration:none;font-size:14px;white-space:nowrap}
.chips a:hover{border-color:var(--gold);color:var(--gold)}

/* eras and events */
.era{margin-top:12px}
.era-head{margin:44px 0 6px;padding-top:22px;border-top:1px solid var(--rule)}
.era-head .yrs{color:var(--gold);font-size:13px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.era-head h2{margin:4px 0 6px}
.era-head .sum{color:var(--muted)}
.ev{padding:20px 0 20px 16px;border-left:2px solid var(--rule);margin-left:2px;position:relative}
.ev::before{content:"";position:absolute;left:-6px;top:26px;width:10px;height:10px;border-radius:50%;background:var(--night);border:2px solid var(--gold)}
.ev+.ev{margin-top:4px}
.ev-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:14px;color:var(--gold);font-weight:600}
.ev-title{margin:4px 0 8px;font-size:25px}
.ev-title a{color:var(--ivory);text-decoration:none}
.ev-title a:hover{color:var(--dawn);text-decoration:underline}
.ev-blurb{color:var(--text)}
.ev-why{margin-top:8px;color:var(--text)}
.ev-why strong{color:var(--dawn);font-weight:600}
.ev-tags{margin-top:12px;display:grid;gap:6px;font-size:14px;color:var(--muted)}
.ev-tags .k{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:1px}
.ev-tags a{display:inline-block;padding:7px 0}

/* quotes */
blockquote{margin:14px 0}
.ev-quote,.q{border-left:3px solid var(--gold);padding:2px 0 2px 16px}
.ev-quote p,.q p{font-family:var(--serif);font-size:21px;line-height:1.4;color:var(--ivory);font-style:italic}
blockquote cite{display:block;margin-top:6px;font-style:normal;font-size:14px;color:var(--muted)}

/* badges */
.bdg{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.5}
.bdg-fact{background:var(--bd-fact-bg);color:var(--bd-fact-ink)}
.bdg-experts{background:var(--bd-experts-bg);color:var(--bd-experts-ink)}
.bdg-lean{background:var(--bd-lean-bg);color:var(--bd-lean-ink)}
.bdg-claimed{background:var(--bd-claimed-bg);color:var(--bd-claimed-ink)}
.bdg-disputed{background:var(--bd-disputed-bg);color:var(--bd-disputed-ink)}
.vd{display:inline-flex;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;background:var(--card);border:1px solid var(--rule);color:var(--ivory)}
.vd-right{color:var(--bd-fact-ink);background:var(--bd-fact-bg);border-color:transparent}
.vd-too-early,.vd-too-late{color:var(--bd-claimed-ink);background:var(--bd-claimed-bg);border-color:transparent}

/* generic lists on person and lab pages */
.list{display:grid;gap:14px}
.item{padding:14px 16px;border:1px solid var(--rule);border-radius:12px;background:var(--card)}
.item .k{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);font-weight:600}
.item .attr{color:var(--ivory);font-weight:600;margin-top:2px}
.item .claim{margin-top:6px;color:var(--text)}
.item .note,.note{color:var(--muted);font-size:15px;margin-top:6px}
.item .q{margin:10px 0 4px}
.item .q p{font-size:19px}
.scale{display:flex;flex-wrap:wrap;gap:6px 18px;margin-top:8px;font-size:14px;color:var(--text)}
.scale em{font-style:normal;color:var(--muted);margin-right:6px;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.meta-row{margin-top:10px;font-size:14px;color:var(--muted)}
.meta-row a{display:inline-block;padding:6px 0}
.list.plain .item{background:transparent}

/* index cards */
.cards{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
@media (min-width:640px){.cards{grid-template-columns:1fr 1fr}}
.card{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 14px;border:1px solid var(--rule);border-radius:12px;background:var(--card);color:var(--text);text-decoration:none;height:100%}
.card:hover{border-color:var(--gold);background:rgba(216,183,122,.07)}
.thumb{width:56px;height:56px;object-fit:cover;object-position:top;border-radius:50%;flex:0 0 auto;border:1px solid var(--rule);background:var(--night-2)}
.thumb.ini{font-size:20px}
.logo-thumb{object-fit:contain;background:#fff;border-radius:10px;padding:5px}
.card .txt{display:flex;flex-direction:column;min-width:0}
.card .nm{font-family:var(--serif);font-size:20px;color:var(--ivory);line-height:1.2}
.card .sh{font-size:14px;color:var(--muted);line-height:1.35}
.card .ct{font-size:13px;color:var(--gold);margin-top:2px}

/* footer */
footer.site{background:var(--night-2);border-top:1px solid var(--rule);padding:8px 0 40px;color:var(--muted);font-size:14px}
footer.site h2{font-size:24px;margin:28px 0 12px}
.trust{display:grid;gap:10px}
.trust li{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;color:var(--text)}
.closing{margin:18px 0;font-family:var(--serif);font-size:20px;color:var(--ivory);font-style:italic}
.credits h2{font-size:20px;margin-top:22px}
.credits li{margin:6px 0}
.credits a,footer.site .small a{display:inline-block;padding:6px 0}
footer.site .small{margin-top:10px}

@media (max-width:480px){
  .head{align-items:flex-start}
  .portrait{width:88px;height:88px}
  .ev-quote p,.q p{font-size:19px}
}

/* event pictures (the road's own drawings, img/v/<id>.svg) and people photos in the event block */
.ev-pic{display:block;width:100%;max-width:400px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin:2px 0 12px;background:var(--night-2);border:1px solid var(--rule)}
.ev-tags .who{display:inline-flex;align-items:center;gap:6px;vertical-align:middle}
.av{width:24px;height:24px;border-radius:50%;object-fit:cover;object-position:50% 20%;flex:0 0 auto;border:1px solid var(--rule);background:var(--night-2)}
@media (max-width:640px){.ev-pic{max-width:none}}

/* AI timeline: "Building the AI" (assets/timeline-build.js). Decorative; it only shows when JavaScript runs
   (html.tlb-js, set in the timeline's head). >= 1100px: a sticky panel beside the reading column; below: a corner orb. */
.tlb-panel,.tlb-orb{display:none}
.tlb-cv{display:block;width:100%;height:100%}
@media (min-width:1100px){
  .tlb-js header.site .wrap,.tlb-js .wrap.tlb-wrap,.tlb-js footer.site .wrap{max-width:1240px}
  .tlb-js footer.site .wrap>*{max-width:728px}
  .tlb-js .tlb-grid{display:grid;grid-template-columns:minmax(0,728px) clamp(380px,31vw,440px);justify-content:space-between;column-gap:40px}
  .tlb-js .tlb-text{min-width:0}
  .tlb-js .tlb-panel{display:block;position:relative;pointer-events:none;-webkit-user-select:none;user-select:none}
  .tlb-stick{position:sticky;top:12px;height:calc(100vh - 24px);display:flex;flex-direction:column;justify-content:center}
  .tlb-view{position:relative;width:100%;aspect-ratio:5/6;max-height:calc(100vh - 160px);background:radial-gradient(closest-side,rgba(159,231,255,.055),rgba(159,231,255,0) 75%)}
  .tlb-view .tlb-cv{position:absolute;left:0;top:0}
  .tlb-cap{text-align:center;padding:4px 10px 0;min-height:118px}
  .tlb-cap>p{transition:opacity .2s ease}
  .tlb-cap.is-swap>p:not(.tlb-ticks){opacity:0}
  .tlb-k{font-size:12px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
  .tlb-era{font-family:var(--serif);font-size:27px;line-height:1.15;color:var(--ivory);margin-top:6px}
  .tlb-yrs{font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--gold);margin-top:5px;min-height:20px}
  .tlb-ticks{display:flex;justify-content:center;gap:5px;margin-top:12px}
  .tlb-ticks i{display:block;width:16px;height:2px;border-radius:2px;background:rgba(154,163,181,.28);transition:background-color .3s ease}
  .tlb-ticks i.d{background:rgba(216,183,122,.8)}
  .tlb-ticks i.c{background:var(--dawn)}
}
@media (max-width:1099.98px){
  .tlb-js .tlb-orb{display:block;position:fixed;z-index:30;right:max(14px,env(safe-area-inset-right,0px));bottom:max(16px,env(safe-area-inset-bottom,0px));width:84px;height:84px;border-radius:50%;pointer-events:none;background:radial-gradient(circle at 50% 42%,#111A2E 0%,#0A0F1C 62%,#070A12 100%);box-shadow:0 8px 24px rgba(0,0,0,.55)}
  .tlb-js footer.site{padding-bottom:128px}
}
@media (max-width:480px){.tlb-js .tlb-orb{width:72px;height:72px}}
@media (prefers-reduced-motion:reduce){.tlb-cap>p,.tlb-ticks i{transition:none}}
@media print{.tlb-panel,.tlb-orb{display:none!important}}
@media print{header.site,.chips,.actions,.skip{display:none}body{background:#fff;color:#000}}
