/* Notebook palette taken from joshagarwal.com. Simulation controls retain a dark surface. */
:root{--bg:#f6f9ff;--panel:#fff;--text:#0f172a;--muted:#475569;--line:#cbd5e1;--accent:#2563eb}
body{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(ellipse at top left,#e5edff,transparent 45%),#f6f9ff}
.nav{position:relative;background:#f6f9ffdd;height:76px;border-color:#dce5f2}.nav nav{color:#475569}.nav .brand{font-size:23px;letter-spacing:-.04em}.nav .brand>span{letter-spacing:.12em}.small-btn{border-radius:8px}.article-header{max-width:760px;padding:72px 28px 48px;margin:auto}.article-header .eyebrow{color:#2563eb;font-size:11px}.article-header h1{font-size:clamp(40px,5.2vw,66px);line-height:1.08;font-weight:600;letter-spacing:-.045em;margin:24px 0}.article-deck{font-size:19px;line-height:1.6;color:#475569}.byline{font-size:12px;color:#64748b;margin:24px 0 36px}.article-prose{max-width:704px;margin:auto;font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.85;color:#334155}.article-prose p{margin:0 0 22px}.article-prose h2{font-family:ui-sans-serif,system-ui,sans-serif;font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-.025em;color:#0f172a;margin:0 0 24px}.article-prose a{color:#1d4ed8;text-decoration:underline;text-underline-offset:4px}.article-section{padding:64px 28px}.article-jump{display:inline-block;color:#2563eb;font-size:13px;margin:8px 0 0}.signal-section,.hero-copy,.hero-shade{display:none!important}.hero,.animal-section,.owl-banner,dialog{--text:#e2e8f0;--muted:#a7b5cc;--line:#ffffff25;--accent:#93c5fd;color:var(--text)}
.hero{height:760px;min-height:0;max-width:1240px;margin:0 auto;background:#080d10;border-radius:20px;border:1px solid #cbd5e1;box-shadow:0 24px 70px -45px #1e3a8a88}.hero .city-canvas,.hero.exploring .city-canvas{inset:0 0 150px}.hero .scene-heading,.hero.exploring .scene-heading{top:26px;left:4%;right:auto;background:#080d1088;padding:8px;text-align:left}.hero .scene-tools,.hero.exploring .scene-tools{top:130px}.hero .scene-heading p,.hero .scene-heading .tiny{display:block}.hero .drag-hint,.hero.exploring .drag-hint{bottom:252px}.hero #tour-caption{top:145px}.sensor-dock{background:#0f172aee}.sensor-tabs button.selected{background:#2563eb16}.icon-btn.active{border-color:#93c5fd77}.live-dot{box-shadow:0 0 12px #93c5fd55}.owl-banner{max-width:1240px;margin:auto;height:400px;border-radius:20px;overflow:hidden}.owl-copy{padding-top:90px}.owl-copy h2{font-size:52px}.owl-banner em{color:#bfdbfe}.animal-section{max-width:1240px;margin:32px auto 0;padding:42px;background:#0b1120;border-radius:20px}.animal-head h2{font-size:36px;line-height:1.1}.animal-head{gap:24px}.animal-head>p:last-child{color:#a7b5cc}.animal-tabs button.selected{background:#2563eb14}.animal-detail p{font-size:13px}.animal-controls p{font-size:12px!important}.animal-detail a{font-size:12px}.nature-viewport{border-radius:12px}.text-link{font-family:ui-sans-serif,system-ui,sans-serif;color:#2563eb;font-size:13px}.owl-banner .text-link{color:#bfdbfe}dialog{background:#0f172a}dialog em{color:#93c5fd}footer{font-size:12px;background:#eef4ff}footer>span,footer button{font-size:11px}
html[data-embed] body{background:#0b1120}html[data-embed] .nav,html[data-embed] .skip,html[data-embed] footer,html[data-embed] main>*,html[data-embed] .animal-head{display:none!important}html[data-embed="city"] #observatory{display:block!important;margin:0;border:0;border-radius:0;width:100%;height:740px}html[data-embed="animals"] #perception-lab{display:block!important;margin:0;border:0;border-radius:0;padding:24px;width:100%}html[data-embed] #tour{display:none}html[data-embed] .animal-detail{padding-bottom:0;border:0}html[data-embed] #observatory:fullscreen{height:100vh}
@media(max-width:700px){.nav nav{gap:12px}.article-header{padding:42px 24px 32px}.article-header h1{font-size:43px}.article-deck{font-size:17px}.article-prose{font-size:18px;line-height:1.8}.article-section{padding:42px 24px}.article-prose h2{font-size:27px}.hero{height:730px;border-radius:0;border-left:0;border-right:0}.hero .city-canvas,.hero.exploring .city-canvas{inset:0 -10% 180px}.hero .scene-heading,.hero.exploring .scene-heading{top:20px;max-width:240px}.hero .scene-tools,.hero.exploring .scene-tools{top:125px}.hero .drag-hint,.hero.exploring .drag-hint{bottom:280px}.hero #tour-caption{top:125px}.owl-banner{border-radius:0;height:400px}.owl-copy{padding:110px 6% 0}.owl-copy h2{font-size:43px}.animal-section{border-radius:0;padding:32px 20px}.animal-head h2{font-size:30px}.animal-detail{gap:24px}.animal-tabs button{min-height:75px}.animal-tabs small{font-size:8px}.nature-footnote{font-size:6px}.nature-label{font-size:7px}html[data-embed="animals"] #perception-lab{padding:16px}html[data-embed="city"] #observatory{height:730px}.animal-controls .small-btn{min-height:40px}footer{gap:14px}}

.article-cover{margin:32px -30px 40px}.article-cover img{width:100%;display:block;border-radius:16px}.article-cover figcaption{font-size:11px;color:#64748b;text-align:center;margin-top:10px}.article-header .article-prose h2{margin-top:36px}.article-header h1{max-width:640px}@media(max-width:700px){.article-cover{margin:28px -12px 32px}}
