/* ---- spiral ---- */

#st{position:relative;overflow:hidden;width:100%;height:100vh;min-height:640px;max-height:1000px;color:var(--ink);font-family:var(--body);background:radial-gradient(70% 80% at 62% 52%,#FBE3D6 0%,#F6C1CF 38%,#D9C3E2 72%,#9DB3DE 100%)}
#st canvas{position:absolute;inset:0;width:100%;height:100%}
#st .hd{position:absolute;left:56px;top:48px;z-index:5;pointer-events:none;max-width:420px}
#st .hd h2{font:500 40px/1.15 var(--head);margin:0;color:var(--ink);letter-spacing:-.01em}
#st .hd h2 em{font:italic 1.12em var(--math);color:#B0285F}
#st .cap{position:absolute;left:56px;bottom:44px;z-index:5;pointer-events:none;max-width:400px}
#st .cap b{display:block;font:600 20px var(--head);color:#B0285F}#st .cap span{display:block;font-size:17px;color:#2D4A78;margin-top:4px}
#st .cap p{font-size:16px;color:#2D4A78;margin:14px 0 0}
#st .key{position:absolute;left:56px;top:250px;z-index:5;list-style:none;margin:0;padding:0;display:grid;gap:8px;pointer-events:none}
#st .key li{font:600 14px var(--head);letter-spacing:.06em;text-transform:uppercase;display:flex;align-items:center;gap:10px}#st .key i{width:22px;height:7px;border-radius:4px;display:inline-block}
#st .pt{position:absolute;left:0;top:0;z-index:6;background:none;border:0;padding:6px 8px;margin:0;cursor:pointer;font:500 16px var(--body);color:var(--ink);white-space:nowrap;border-radius:8px;transition:opacity .6s,color .3s,background .3s;opacity:0;will-change:transform}
#st .pt.on{opacity:1}#st .pt.hl{font-weight:600;color:#B0285F}
#st .pt:hover,#st .pt:focus-visible,#st .pt.act{background:rgba(255,255,255,.35);outline:none;color:#B0285F}
#st .pt:focus-visible{box-shadow:0 0 0 2px #B0285F}
#st .pt.on.dim{opacity:.28}
#st .tip{position:absolute;z-index:8;pointer-events:none;background:rgba(15,59,102,.9);color:#fff;padding:10px 14px;border-radius:10px;font-size:14px;line-height:1.4;max-width:280px;opacity:0;transition:opacity .25s}
#st .tip b{display:block;font:600 16px var(--head)}#st .tip span{color:#F6C1CF}
#sh{position:fixed;inset:0;z-index:20;background:rgba(45,74,120,.28);backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .35s}
#sh.open{opacity:1;pointer-events:auto}
#pn{position:fixed;z-index:21;top:0;right:0;bottom:0;width:min(440px,100%);background:linear-gradient(180deg,#F9D9DF,#E9D3E8 60%,#D3D9EF);box-shadow:-30px 0 60px -30px rgba(15,59,102,.45);transform:translateX(104%);transition:transform .45s var(--ease);display:flex;flex-direction:column;visibility:hidden}
#pn.open{transform:none;visibility:visible}
#pn header{display:flex;align-items:flex-start;justify-content:space-between;padding:22px 22px 10px;gap:12px}
#pn h2{font:600 22px var(--head);margin:0;color:var(--ink)}#pn header p{margin:4px 0 0;font-size:15px;color:#3E5A78}
#x{border:0;background:rgba(255,255,255,.5);width:44px;height:44px;border-radius:50%;font-size:22px;cursor:pointer;color:var(--ink);flex:none}
#ch{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 12px}
#ch button{font:500 15px var(--body);border:1px solid rgba(15,59,102,.25);background:rgba(255,255,255,.35);color:var(--ink);border-radius:999px;padding:8px 14px;cursor:pointer;min-height:44px}
#ch button[aria-pressed=true]{background:#0F3B66;color:#fff;border-color:#0F3B66}
#cards{overflow:auto;padding:0 22px 26px;flex:1}

@media (max-width:700px){
 #st .hd{left:20px;right:20px;top:24px;max-width:none;text-align:center}#st .hd h2{font-size:26px}
 #st .key{left:20px;right:20px;top:auto;bottom:96px;grid-template-columns:1fr 1fr;gap:6px 14px}#st .key li{font-size:11px;letter-spacing:.03em}
 #st .cap{left:20px;right:20px;bottom:18px;text-align:center;max-width:none}#st .cap b{font-size:17px}#st .cap span{font-size:15px}#st .cap p{display:none}
 #st .pt{font-size:15px;padding:9px 8px;min-height:40px}
 #pn{top:auto;left:0;width:100%;height:82%;border-radius:20px 20px 0 0;transform:translateY(104%)}
}
#st .hit{position:absolute;left:0;top:0;z-index:7;border:0;border-radius:50%;background:transparent;cursor:pointer;padding:0;margin:0}
#st .hit:focus-visible{outline:2px solid #B0285F;outline-offset:-4px}
#st .lb{position:absolute;left:0;top:0;z-index:6;pointer-events:none;font:500 16px var(--body);color:var(--ink);white-space:nowrap;padding:2px 4px;opacity:0;transition:opacity .6s}
#st .lb.on{opacity:1}#st .lb.work{font-weight:600;color:#B0285F}#st .lb.on.dim{opacity:.25}

@media (max-width:700px){#st .hd h2{font-size:22px}#st .key{display:none}#st .cap{bottom:22px}#st .cap b{font-size:16px}#st .cap span{font-size:14px}#st .lb{font-size:15px}}
#st .replay{position:absolute;right:20px;bottom:16px;z-index:8;font:500 13px var(--body);color:#2D4A78;opacity:.6;background:none;border:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#st .replay:hover,#st .replay:focus-visible{opacity:1}
/* site: the fixed nav (76px, 64px on phones) sits over the top of this full-height section.
   A transparent top border keeps everything below it: the layout reads clientHeight, which excludes the border. */
#st{--navh:76px;box-sizing:border-box;border-top:var(--navh) solid transparent;background-origin:border-box;
 height:calc(100vh + var(--navh));min-height:calc(640px + var(--navh));max-height:calc(1000px + var(--navh))} /* the drawing area stays a full screen tall, as designed */
@media (max-width:700px){#st{--navh:64px}}
/* site.css styles the Work section as .work (sand background); work labels and hit areas share that class */
#st .work{background:none}
/* section tag: the site's .eyebrow, in brand pink here (designer, Oct 30) */
#st .hd .eyebrow{color:#B0285F;margin-bottom:22px}
@media (max-width:700px){#st .hd .eyebrow{margin-bottom:12px}}

/* ---- timeline scrubber ---- */
#st .tl{position:absolute;left:40%;right:56px;bottom:40px;z-index:9;display:flex;align-items:center;gap:14px}
#st .tlb{flex:none;width:44px;height:44px;border-radius:50%;border:1px solid rgba(15,59,102,.25);background:rgba(255,255,255,.4);color:var(--ink);font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center}
#st .tlb:hover,#st .tlb:focus-visible{background:rgba(255,255,255,.7);outline:2px solid #B0285F;outline-offset:2px}
#st .tlr{position:relative;flex:1;height:44px}
#st .tle{position:absolute;left:10px;right:10px;top:20px;height:4px;border-radius:2px;display:flex;overflow:hidden;opacity:.85}
#st .tle i{display:block;height:100%}
/* tick markers: one per year, taller at milestone years, era-tinted; positioned on the thumb's travel (11px = half thumb) */
#st .tlt{position:absolute;left:11px;right:11px;top:27px;height:9px;pointer-events:none}
#st .tlt i{position:absolute;top:0;width:1px;height:4px;margin-left:-.5px;opacity:.55}
#st .tlt i.m{width:2px;height:8px;margin-left:-1px;opacity:.9}
#st .tlr input{position:absolute;inset:0;width:100%;height:44px;margin:0;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
#st .tlr input::-webkit-slider-runnable-track{height:44px;background:transparent}
#st .tlr input::-moz-range-track{height:44px;background:transparent}
#st .tlr input::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;margin-top:11px;border-radius:50%;background:#B0285F;border:3px solid #fff;box-shadow:0 2px 8px rgba(15,59,102,.35)}
#st .tlr input::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#B0285F;border:3px solid #fff}
#st .tlr input:focus-visible{outline:2px solid #B0285F;outline-offset:2px;border-radius:22px}
@media (max-width:700px){#st .tl{left:16px;right:16px;bottom:72px;gap:10px}#st .replay{display:none}}
/* site: the scrubber runs from 1999 to Now (end labels under the ticks) */
#st .tly{position:absolute;top:38px;left:0;font:600 11px/1 var(--body);letter-spacing:.08em;color:#2D4A78;opacity:.75;pointer-events:none}
#st .tly.now{left:auto;right:0;color:#B0285F;opacity:1;text-transform:uppercase}
#st .replay{bottom:10px}
@media (max-width:700px){#st .tl{bottom:84px}}
