@font-face{font-family:"Fraunces";font-style:normal;font-weight:300 800;font-display:swap;src:url("fonts/fraunces-normal-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces";font-style:normal;font-weight:300 800;font-display:swap;src:url("fonts/fraunces-normal-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Fraunces";font-style:italic;font-weight:300 800;font-display:swap;src:url("fonts/fraunces-italic-az.woff2") format("woff2");unicode-range:U+0041-005A,U+0061-007A,U+00C2,U+00CE,U+00E2,U+00EE}
@font-face{font-family:"Fraunces";font-style:italic;font-weight:300 800;font-display:swap;src:url("fonts/fraunces-italic-ro.woff2") format("woff2");unicode-range:U+0102-0103,U+0218-021B}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:300 700;font-display:swap;src:url("fonts/IBMPlexSans-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:300 700;font-display:swap;src:url("fonts/IBMPlexSans-latin-ext.woff2") format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* a register book: ink-blue night, ruled paper by day; the colour belongs to the names */
:root{
  color-scheme:dark;
  --bg:#0b1020;--bg-2:#101832;--surface:#131b33;--surface-2:#1b2544;
  --ink:#f4f1e8;--ink-2:#dcd8cc;--muted:#b3b6c2;--line:#2c3759;--rule:#222c4b;
  --accent:#ffc66b;--accent-ink:#1c1303;--hot:#ff9d5c;--cool:#8ccbe6;--band-ink:#150d07;
  --serif:"Fraunces","Iowan Old Style",Georgia,serif;--sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --topbar:52px;--stage-h:40svh;
}
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#f5f0e4;--bg-2:#efe8d8;--surface:#fbf8f0;--surface-2:#ebe3d0;
  --ink:#171a26;--ink-2:#2d3142;--muted:#44485a;--line:#cdc3ab;--rule:#ddd4be;
  --accent:#7a330f;--accent-ink:#fff8ee;--hot:#8a3209;--cool:#17506c;--band-ink:#1a1008;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
svg[hidden]{display:none}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--topbar) + 14px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.58;-webkit-font-smoothing:antialiased;overflow-x:clip}
a{color:inherit;text-decoration-color:var(--accent);text-underline-offset:.18em;text-decoration-thickness:1.5px}
a:hover{color:var(--accent)}
:focus-visible{outline:2.5px solid var(--accent);outline-offset:3px;border-radius:4px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--accent);color:var(--accent-ink);padding:10px 14px;border-radius:8px;font-weight:600}
.skip-link:focus{top:10px}
.num{font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
main:focus{outline:none}

.topbar{position:fixed;inset:0 0 auto 0;height:var(--topbar);z-index:40;display:flex;align-items:center;gap:6px;padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));background:var(--bg);font-size:14px;border-bottom:1px solid transparent}
.topbar.solid{border-bottom-color:var(--line)}
.brand{display:flex;align-items:center;gap:9px;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.brand-mark{flex:none;width:18px;height:18px;border-radius:4px;background:linear-gradient(180deg,transparent 0 30%,#e9a23b 30% 52%,#c2452f 52% 76%,#7c2f5e 76%);border:1px solid var(--line)}
.topnav{display:none;gap:2px;margin-left:14px}
.topnav a{padding:6px 9px;border-radius:999px;text-decoration:none;color:var(--ink-2);white-space:nowrap}
.topnav a:hover,.topnav a[aria-current="true"]{color:var(--ink);background:var(--surface-2)}
@media (min-width:1180px){.topnav{display:flex}}
.spacer{flex:1}
.chip{padding:5px 10px;border-radius:999px;text-decoration:none;font-weight:600;font-size:13px;border:1px solid var(--line);color:var(--ink-2)}
.chip[aria-current="page"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.icon-btn{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}
.icon-btn:hover{background:var(--surface-2)}
.progress{position:fixed;inset:0 0 auto 0;height:2px;z-index:45;pointer-events:none}
.progress span{display:block;height:100%;background:linear-gradient(90deg,#e9a23b,#c2452f,#7c2f5e);transform-origin:0 50%;transform:scaleX(0)}
@supports (animation-timeline:scroll()){.progress span{animation:grow linear both;animation-timeline:scroll(root)}@keyframes grow{to{transform:scaleX(1)}}}

.rail{position:fixed;right:10px;top:50%;transform:translateY(-50%);z-index:30;display:none;flex-direction:column;gap:1px}
@media (min-width:1180px){.rail{display:flex}}
.rail a{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:4px;text-decoration:none;font-size:12.5px;color:var(--ink-2)}
.rail .dot{width:8px;height:8px;border-radius:50%;border:1.5px solid var(--muted);flex:none}
.rail a[aria-current="true"] .dot{background:var(--accent);border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 25%,transparent)}
.rail .rail-label{opacity:0;transform:translateX(6px);transition:opacity .2s,transform .2s;background:var(--surface);padding:2px 8px;border-radius:6px;border:1px solid var(--line);white-space:nowrap}
.rail a:hover .rail-label,.rail a:focus-visible .rail-label{opacity:1;transform:none}

/* ---------- story: the picture keeps its place, the text passes */
.story{position:relative;padding-top:var(--topbar)}
.stage{position:sticky;top:var(--topbar);z-index:5;height:var(--stage-h);background:var(--bg);border-bottom:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.stage svg{flex:1;min-height:0;width:100%;display:block;opacity:0;transition:opacity .5s}
.stage-ready .stage svg{opacity:1}
.stage .still{display:none;width:100%;height:100%;object-fit:contain}
.no-data .stage svg{display:none}.no-data .stage .still{display:block}
.stage-cap{margin:2px 14px 7px;font-size:12.5px;line-height:1.35;color:var(--muted);height:2.7em;flex:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.col{position:relative;padding:0 18px;max-width:40rem;margin:0 auto}
.hero{padding:22px 0 30px}
.kicker{margin:0 0 8px;font-size:12.5px;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);font-weight:600}
h1{font-family:var(--serif);font-weight:560;font-size:clamp(1.9rem,6.4vw,3.1rem);line-height:1.08;margin:0 0 14px;letter-spacing:-.012em;text-wrap:balance}
.deck{font-size:1.06rem;color:var(--ink-2);margin:0 0 20px}
.deck strong{color:var(--ink)}
.lookup label{display:block;font-weight:600;font-size:15px;margin-bottom:6px}
.combo{position:relative;display:flex;gap:8px}
.combo input{flex:1;min-width:0;font:inherit;font-family:var(--serif);font-size:1.15rem;padding:10px 14px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink)}
.combo input::placeholder{color:var(--muted);font-style:italic}
.btn{font:inherit;font-weight:600;font-size:15px;padding:10px 16px;border-radius:10px;border:1.5px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer}
.btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.btn:hover{filter:brightness(1.07)}
.suggest{position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:20;background:var(--surface);border:1.5px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.35)}
.suggest button{display:block;width:100%;text-align:left;font:inherit;font-family:var(--serif);font-size:1.05rem;padding:11px 14px;border:0;background:transparent;color:var(--ink);cursor:pointer}
.suggest button:hover,.suggest button:focus-visible{background:var(--surface-2);outline:none}
.tries{margin:10px 0 0;font-size:14px;color:var(--muted);display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.try{font:inherit;font-size:14px;padding:5px 11px;border-radius:999px;border:1px solid var(--line);background:transparent;color:var(--ink-2);cursor:pointer;min-height:32px}
.try:hover{border-color:var(--accent);color:var(--ink)}
.try.clear{border-color:var(--accent);color:var(--ink);font-weight:600}
.result{margin:16px 0 0;padding:14px 16px 6px;border-radius:12px;background:var(--surface);border:1px solid var(--line);border-left:4px solid var(--accent)}
.result h3{font-family:var(--serif);font-style:italic;font-weight:560;font-size:1.7rem;margin:0 0 6px;line-height:1.1}
.result p{margin:0 0 10px;font-size:15.5px;color:var(--ink-2)}
.result strong{color:var(--ink)}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px}
.share-label{font-size:14px;color:var(--muted)}
.share-row{display:flex;gap:6px}
.sbtn{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;text-decoration:none}
@media (pointer:coarse){.sbtn{width:44px;height:44px}.try{min-height:40px}}
.sbtn:hover,.sbtn:focus-visible{border-color:var(--accent);color:var(--accent)}
.status{font-size:13.5px;color:var(--muted);flex-basis:100%;min-height:1.2em}
.scroll-hint{margin:14px 0 0;font-size:14px;color:var(--muted)}
.step{min-height:72svh;display:flex;align-items:flex-start;padding:8svh 0 6svh}
.step .card{width:100%;border-top:2px solid var(--line);padding-top:16px;transition:border-color .3s}
.step.on .card{border-top-color:var(--accent)}
.step h2{font-family:var(--serif);font-weight:560;font-size:clamp(1.45rem,4.6vw,2rem);line-height:1.14;margin:0 0 12px;text-wrap:balance}
.step p{margin:0 0 14px;color:var(--ink-2)}
.step:last-child{min-height:60svh}

@media (min-width:900px){
  :root{--stage-h:calc(100svh - var(--topbar))}
  .story{display:grid;grid-template-columns:minmax(0,27rem) minmax(0,1fr);gap:0 clamp(18px,3vw,48px);padding-left:clamp(20px,4vw,64px);padding-right:clamp(36px,4vw,64px);max-width:1680px;margin:0 auto}
  .stage{grid-column:2;grid-row:1;border-bottom:0;padding:18px 0 10px}
  .col{grid-column:1;grid-row:1;padding:0;margin:0;max-width:none}
  .hero{min-height:calc(100svh - var(--topbar));padding:6svh 0 5svh;display:flex;flex-direction:column;justify-content:center}
  .step{min-height:92svh;align-items:center;padding:0}
  .stage-cap{font-size:14px;margin:8px 120px 0 54px;height:4.2em;-webkit-line-clamp:3}
}

/* ---------- the picture */
.stage svg text{font-family:var(--sans);fill:var(--muted);font-size:12px}
.stage svg .ax{font-variant-numeric:tabular-nums}
.stage svg .unit{font-size:11.5px;fill:var(--muted)}
.stage svg .grid{stroke:var(--rule);stroke-width:1}
.stage svg .base{stroke:var(--muted);stroke-width:1}
.stage svg .tick{stroke:var(--muted);stroke-width:1}
.stage svg .band{stroke:var(--bg);stroke-width:.8;transition:opacity .3s}
.stage svg .band.dim{opacity:.22}
.stage svg .bandname{font-family:var(--serif);font-style:italic;font-weight:560;pointer-events:none}
.stage svg .bandname.big{fill:var(--ink)}
.stage svg .note{font-size:12.5px;fill:var(--ink-2)}
.stage svg .strong{font-weight:700;fill:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}
.stage svg .dot{fill:var(--ink);stroke:var(--bg);stroke-width:1.5}
.stage svg .brace{stroke:var(--muted);stroke-width:1;stroke-dasharray:2 3}
.stage svg .expect{fill:none;stroke:var(--ink);stroke-width:2;stroke-dasharray:6 5}
.stage svg .ln{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.stage svg .ln.hot,.stage svg .ln.f{stroke:var(--hot)}.stage svg .dot.hot{fill:var(--hot)}.stage svg text.hot{fill:var(--hot)}
.stage svg .ln.cool,.stage svg .ln.m{stroke:var(--cool)}.stage svg .dot.cool{fill:var(--cool)}.stage svg text.cool{fill:var(--cool)}
.stage svg .ln.ink{stroke:var(--ink)}.stage svg text.ink{fill:var(--ink)}
.stage svg .ln.muted{stroke:var(--muted);stroke-dasharray:2 5}.stage svg .dot.muted{fill:var(--muted)}
.stage svg .ln.own{stroke-width:3.5}
.stage svg .endlabel{font-size:12.5px}
.stage svg .endlabel .strong{font-size:15px}
.stage svg .tiny{font-size:10.5px}
.stage svg .between{fill:var(--cool);opacity:.13}
.stage svg .refline{stroke:var(--ink);stroke-width:1;stroke-dasharray:3 4}
.stage svg .rowname{font-family:var(--serif);font-style:italic;fill:var(--ink)}
.stage svg .bar{stroke:var(--cool);stroke-linecap:butt;opacity:.85}
.stage svg .pt{stroke:var(--ink);stroke-width:1.4}
.stage svg .pt.early{fill:var(--bg)}.stage svg .pt.late{fill:var(--ink)}
.stage svg .val{fill:var(--ink-2)}
.stage svg .colbar{fill:var(--hot)}

/* ---------- after the story */
.after{position:relative;z-index:6;background:var(--bg);max-width:52rem;margin:0 auto;padding:40px 18px 30px}
.after h2{font-family:var(--serif);font-weight:560;font-size:clamp(1.5rem,4.4vw,2rem);line-height:1.15;margin:48px 0 12px}
.after h2:first-child{margin-top:0}
.after h3{font-size:1.02rem;margin:26px 0 6px}
.after p,.after li{color:var(--ink-2);max-width:44rem}
.tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px;margin:14px 0}
table{border-collapse:collapse;width:100%;font-size:14.5px;min-width:560px}
th,td{padding:8px 12px;text-align:right;border-bottom:1px solid var(--rule)}
thead th{font-size:12.5px;font-weight:600;color:var(--muted);vertical-align:bottom;background:var(--surface)}
th[scope="row"],thead th:first-child{text-align:left}
tbody th{font-family:var(--serif);font-style:italic;font-weight:560;font-size:1.05rem;color:var(--ink)}
tr.sig th[scope="row"]{box-shadow:inset 4px 0 0 var(--hot)}
.sx{font-family:var(--sans);font-style:normal;font-size:12px;color:var(--muted)}
.sources{padding-left:1.1em}
.sources li{margin-bottom:8px}
.licence{font-size:14px;color:var(--muted)}
.site-footer{margin-top:48px;padding-top:18px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px 22px;font-size:14px;color:var(--muted)}
.back-top{position:fixed;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));z-index:35;min-width:46px;height:46px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);display:flex;align-items:center;gap:6px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.25)}
@media (min-width:1180px){.back-top{right:44px}}

.has-own .hero .deck,.has-own .hero .scroll-hint{display:none}
.has-own .hero h1{font-size:1.25rem;margin-bottom:12px}
@media (min-width:900px){.has-own .hero{justify-content:flex-start;padding-top:5svh}}
