*{box-sizing:border-box}html{color-scheme:dark;scroll-padding-top:3.3rem}body{margin:0;background:#17221d;color:#fff7e9;font:16px/1.45 "Segoe UI",Arial,sans-serif}button,a{font:inherit;color:inherit}button{cursor:pointer}a{text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #ffd38d;outline-offset:3px}.sr,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:10;top:1rem;left:1rem;background:#17221d;padding:.6rem}
header{height:3.3rem;display:flex;align-items:center;gap:1rem;position:sticky;top:0;z-index:5;background:#18231f;padding:0 clamp(1rem,5vw,5rem);border-bottom:1px solid #667566}.brand{text-decoration:none;font:1.35rem Georgia,serif}.brand::after{content:"";display:inline-block;height:1rem;border-right:1px solid #798175;margin-left:1rem}header #where{font-size:.82rem;letter-spacing:.025em}header button{margin-left:auto;border:0;background:transparent;min-height:44px}#moments:focus,.moment:focus{outline:none}.moment{position:relative;min-height:113svh;background:#19231e;isolation:isolate;scroll-margin-top:0}.moment .visual{position:sticky;top:3.3rem;height:calc(100svh - 3.3rem);overflow:hidden;z-index:-1}.visual img{width:100%;height:100%;object-fit:cover;object-position:var(--pos,50% 50%);display:block}.visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#101a16f5 0%,#101a16bd 20%,#0c120c30 59%,transparent 80%),linear-gradient(90deg,#171f1952,transparent 65%)}.moment.contain .visual{background:#e1d8c1}.contain .visual img{object-fit:contain}.moment .story{margin-top:calc(-100svh + 3.3rem);min-height:calc(100svh - 3.3rem);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;padding:clamp(1.1rem,6vh,5rem) clamp(1rem,6vw,6rem);position:relative;pointer-events:none}.story>*{pointer-events:auto}.eyebrow{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;font-weight:650;color:#f1d2a0;margin:0 0 .5rem}.story h2,footer h2{font:normal clamp(2.7rem,6vw,6rem)/.99 Georgia,serif;letter-spacing:-.045em;text-wrap:balance;max-width:16ch;margin:0}.deck{font:normal clamp(1rem,1.35vw,1.25rem)/1.45 Georgia,serif;max-width:47ch;margin:.75rem 0 1rem;text-shadow:0 1px 2px #121c16}.actions{display:flex;gap:.6rem 1rem;align-items:center;flex-wrap:wrap}.actions button{background:transparent;border:0;padding:.45rem 0;min-height:44px;font-size:.87rem}.actions .turn{display:inline-flex;align-items:center;gap:.55rem;border:1px solid #c8c7aa80;border-radius:2px;padding:.2rem .65rem .2rem .2rem;background:#18231fee}.turn img{width:3rem;height:2.3rem;object-fit:cover}.actions .source{text-decoration:underline;text-underline-offset:4px}.continue{display:flex;align-items:center;gap:.5rem;margin-top:.9rem;font-size:.77rem;color:#eee7d6;text-decoration:none}.continue::before{content:'↓';font-size:1rem}.rail{position:absolute;inset:0 auto 0 0;width:4px;background:#faf4db33;pointer-events:none}.rail i{display:block;width:100%;height:var(--read,0%);background:#d7b574}.moment.branch .rail i{background:#98c5b4}footer{padding:12vh clamp(1.3rem,6vw,6rem);background:#ece5d5;color:#1d2d25}footer .eyebrow{color:#69421e}footer h2{margin:.3rem 0 1.2rem}footer a{display:inline-block;margin:.4rem 1.1rem .4rem 0}.quiet{font-size:.85rem}dialog{padding:1.2rem;color:#19261f;background:#f2eddf;border:1px solid #c4bdac;max-height:82svh;width:min(29rem,92vw);box-shadow:0 20px 60px #0005}dialog::backdrop{background:#122019b8}.map-head{display:flex;align-items:center;justify-content:space-between}.map-head h2{font:2rem/1.1 Georgia,serif;margin:0}.map-head button{font:1.7rem Arial,sans-serif;min-width:44px;min-height:44px;background:transparent;color:inherit;border:0}dialog ol{padding:0;list-style:none}dialog li+li{border-top:1px solid #cec8b7}dialog li button,dialog li a{background:none;border:0;text-align:left;padding:.6rem .1rem;display:block;min-height:44px;color:inherit}dialog li button{width:100%}dialog li button[aria-current=true]{font-weight:700;color:#794824}dialog small{color:#575c50;font-size:.78rem}dialog svg{width:100%;height:auto;background:#e6e3d5;margin-top:.5rem}.route-note{font-size:.85rem;margin:.6rem 0}.route-note a{white-space:nowrap}
@media(max-width:640px){header{gap:.3rem}header #where{font-size:.73rem}.brand{font-size:1.1rem}.brand::after{margin-left:.6rem;margin-right:.4rem}.moment{min-height:109svh}.moment .story{padding-bottom:1.35rem}.visual::after{background:linear-gradient(0deg,#101a16 0%,#101a16ed 19%,#101a16b8 37%,#0c120c25 63%,transparent 80%)}.moment.contain .visual img{height:78%;object-position:center 30%}.story h2{font-size:clamp(2.25rem,10vw,3.9rem)}.deck{max-width:42ch;margin:.55rem 0}.continue{margin-top:.35rem}}
@media(max-height:550px){.moment{min-height:0}.moment .visual{position:relative;top:0;height:45vh}.moment .story{min-height:0;margin:0;padding:1.25rem}.visual::after{background:none}.story h2{font-size:2.2rem}}
@media(prefers-reduced-motion:reduce){.moment{min-height:0}.moment .visual{position:relative;top:0}.rail{display:none}}
.actions .notebook{color:inherit;font-size:.87rem;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
@media(prefers-reduced-motion:no-preference){.moment:not(.contain) .visual img{transform:scale(var(--zoom,1));transform-origin:var(--pos,50% 50%)}}
/* Archive plates stay fully visible. Captions follow the image in the same scroll. */
.moment.contain{min-height:0;padding-top:1.5rem;scroll-margin-top:3.3rem}
.moment.contain .visual{position:relative;top:0;height:auto;min-height:16rem;background:#19231e;z-index:auto}
.moment.contain .visual img{height:auto;max-height:78svh;object-fit:contain;width:100%}
.moment.contain .visual::after{display:none}
.moment.contain .story{margin-top:0;min-height:0;padding-top:1.5rem;padding-bottom:3rem}
.moment.contain .story h2{font-size:clamp(2.2rem,4.5vw,4.5rem);max-width:25ch}
.photo-credit{display:block;font-size:.72rem;color:#d0c8b6;margin-top:.85rem;max-width:65ch}
@media(min-width:1000px){.moment.contain .visual{padding:0 5vw}}
