/* EINHAR / REFINED SYSTEM
   Black is the canvas, not a tint. Controls become part of the typography. */
:root { --black:#000000; --paper:#000000; --text:#eeeeec; --body:#bcbfbc; --soft:#999b98; --dim:#737673; }
html,body,body main, .site-header,.header-shell,.nav-stage,.site-footer { background:#000000!important; background-color:#000000!important; }
body::after { display:none!important; }
body.nav-is-open { overflow:visible!important; }
body { color:var(--text); }
button { -webkit-appearance:none;appearance:none; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible { outline:2px solid #c9c9c9;outline-offset:4px; }
/* The identity stays solitary on the left; every decision is on the right. */
.site-header {position:sticky!important;top:0;left:0;height:66px!important;padding:0!important;width:100%;background:#000000!important;z-index:600!important;isolation:isolate;overflow:visible;}
.header-shell {height:66px!important;max-width:none!important;padding:0 clamp(20px,4.2vw,72px)!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;position:relative;z-index:3;background:#000000!important;}
.header-shell .wordmark {color:#f5f5f5;display:inline-flex;align-items:center;line-height:1;font-size:20px;font-weight:570;letter-spacing:-.074em;text-decoration:none;}
.header-actions {display:flex!important;align-items:center;justify-content:flex-end!important;margin-left:auto!important;gap:clamp(18px,2.4vw,34px)!important;}
.site-nav {display:flex!important;align-items:center;justify-content:flex-end!important;width:auto!important;gap:clamp(16px,2.2vw,34px)!important;}
.site-nav .nav-select {display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:11px 0!important;margin:0;line-height:1.15;color:#a8a8a8;font-size:12.4px;letter-spacing:-.012em;font-weight:460;text-decoration:none;background:none!important;border:none!important;border-radius:0;cursor:pointer;position:relative;transition:color .18s ease;}
.site-nav .nav-select:hover,.site-nav .nav-select.is-current {color:#f6f6f6;}
.site-nav .nav-select::after {display:none!important;}
.nav-symbol {width:11px;height:11px;display:inline-block;position:relative;flex-shrink:0;opacity:.78;transition:transform .24s cubic-bezier(.2,.7,.2,1),opacity .2s ease;}
.nav-symbol::before,.nav-symbol::after {content:"";position:absolute;background:currentColor;border-radius:.5px;}
.nav-symbol::before {left:5px;top:1px;width:1px;height:9px;}
.nav-symbol::after {left:1px;top:5px;width:9px;height:1px;}
.nav-select.is-current .nav-symbol,.menu-mobile-toggle[aria-expanded="true"] .nav-symbol {transform:rotate(45deg);opacity:1;}
.sign-in-trigger,.sign-in-trigger:hover {appearance:none;flex:none;height:30px;min-width:68px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:#232323;color:#f5f5f5;border:0!important;box-shadow:none!important;border-radius:4px!important;font-size:11.5px;font-weight:500;line-height:1;letter-spacing:-.005em;cursor:pointer;transition:background-color .18s ease;}
.sign-in-trigger:hover {background:#393939;}
.menu-mobile-toggle {display:none!important;align-items:center;justify-content:center;gap:10px;padding:9px 0;border:0!important;background:none!important;color:#ddd;font-size:12px;font-weight:500;line-height:1.3;cursor:pointer;}
/* A compact editorial drawer under the top rail. It never consumes the viewport. */
.nav-stage {position:absolute!important;inset:auto 0 auto 0!important;top:100%!important;left:0!important;right:0!important;bottom:auto!important;z-index:2!important;display:block!important;width:100%!important;height:auto!important;max-height:min(64vh,430px)!important;overflow-y:auto!important;overscroll-behavior:contain;padding:0!important;background:#000000!important;border-bottom:1px solid #1d1d1d;box-shadow:0 24px 44px rgba(0,0,0,.84);opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(-8px)!important;transition:opacity .2s ease,transform .24s cubic-bezier(.2,.7,.2,1),visibility .2s ease!important;}
.site-header.menu-open .nav-stage {opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;}
.nav-stage-inner {box-sizing:border-box;width:min(540px,calc(100% - 48px))!important;min-height:0!important;max-width:none!important;margin:0 clamp(20px,4.2vw,72px) 0 auto!important;padding:30px 0 40px!important;display:block!important;}
.nav-pane,.nav-pane.is-visible {margin:0!important;padding:0!important;max-width:none!important;width:100%!important;flex:none!important;}
.nav-pane {display:none!important;}
.nav-pane.is-visible {display:block!important;animation:menuRise .22s ease both;}
@keyframes menuRise {from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.pane-primary {display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:14px!important;padding:0!important;}
.pane-primary a {display:inline-flex!important;align-items:center!important;gap:13px!important;font-size:clamp(16px,1.55vw,21px)!important;font-weight:450!important;line-height:1.35!important;letter-spacing:-.037em!important;color:#ececec!important;text-decoration:none!important;transition:color .16s ease!important;}
.pane-primary a:hover {color:#9d9d9d!important;}
.pane-primary .arrow-link {width:13px!important;height:13px!important;opacity:.55;}
.pane-primary a:hover .arrow-link {opacity:1;transform:translate(2px,-2px);}
.pane-secondary {padding:0!important;margin-top:22px!important;gap:9px!important;}
.pane-secondary:empty {display:none!important;}
.pane-product-list .menu-product {font-size:13px!important;color:#c1c1c1!important;}
.pane-product-list .menu-product .menu-product-mark {display:none;}
.mobile-direct {display:none!important;}
/* No decorative panel around the typography-based expansions. */
.timeframe-note,.evidence-note {background:#000000!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#d5d5d5!important;margin:0!important;padding:15px 0 7px!important;width:100%;}
.timeframe-head {display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:10px 12px!important;margin-bottom:15px;}
#timeframe-label {font-size:12.5px;font-weight:500;line-height:1.5;color:#e3e3e3;}
.timeframe-stepper,.evidence-tabs {display:inline-flex!important;align-items:center!important;flex-wrap:wrap;gap:3px!important;padding:0!important;margin:0!important;}
.timeframe-stepper button,.evidence-tab {appearance:none!important;background:transparent!important;color:#929292!important;border:0!important;border-radius:3px!important;box-shadow:none!important;padding:7px 9px!important;font-family:inherit!important;font-size:10.8px!important;line-height:1.25!important;font-weight:450!important;letter-spacing:0!important;white-space:nowrap;cursor:pointer!important;transition:background .18s ease,color .18s ease;}
.timeframe-stepper button:hover,.evidence-tab:hover {color:#efefef!important;background:#171717!important;}
.timeframe-stepper button.is-active,.evidence-tab.is-active {color:#fafafa!important;background:#242424!important;border:0!important;}
.timeframe-note p,.evidence-note p {font-size:13px!important;line-height:1.8!important;color:#b9b9b9!important;max-width:390px;margin:0!important;}
.evidence-note small {display:block;margin-top:17px;color:#737373;font-size:10.5px;line-height:1.6;}
.evidence-tabs {margin-bottom:17px!important;}
.globe-text {width:100%;max-width:392px;}
.globe-passage {min-height:475px;}
.globe-art {display:block;min-height:250px;position:relative;overflow:visible;}
.globe-art .globe-poster {opacity:1;filter:brightness(.78) contrast(1.08);transition:opacity .5s ease;}
.globe-art.has-dragged .globe-poster {opacity:1;}
.globe-art.earth-rendering .globe-poster,.globe-art.earth-rendering.has-dragged .globe-poster {opacity:0;}
.globe-art canvas {filter:brightness(1.15);}
.globe-hint {margin-top:22px;color:#808080;letter-spacing:0;}
/* All document backgrounds stay exactly black. Insets may carry images, never gray page sections. */
.opening,.essay,.paired-passage,.globe-passage,.research-outro,.products-lead,.products-public,.research-intro,.research-browser,.article-header,.article-content {background:#000000!important;}
.diagram-plate {background:#000000!important;}
.diagram-ambient {background:none!important;}
.diagram-origin,.diagram-destination {background:#151515!important;}
.unfold-content .unfold-inner {min-width:0;}
/* Footer fades from uninterrupted black into particles. */
.site-footer {background:#000000!important;}
.footer-arrival {background:#000000!important;height:clamp(150px,24vw,320px);}
.footer-arrival::after {background:radial-gradient(ellipse at 55% 92%,rgba(130,142,142,.07),transparent 63%);}
/* A quieter authentication preview that shares the same corners as the button. */
.signin-dialog {background:#080808!important;border:1px solid #303030!important;border-radius:7px!important;}
.signin-dismiss {border:0!important;border-radius:4px!important;}
@media(max-width:760px){
 .site-header,.header-shell {height:60px!important;}
 .header-shell {padding:0 20px!important;gap:10px!important;}
 .header-actions {gap:20px!important;}
 .header-shell .wordmark {font-size:19px;}
 .site-nav {display:none!important;}
 .menu-mobile-toggle {display:inline-flex!important;}
 .sign-in-trigger {height:29px!important;min-width:65px!important;font-size:11px!important;padding:0 12px!important;border-radius:4px!important;}
 .nav-stage {top:100%!important;padding:0!important;height:auto!important;max-height:calc(100dvh - 60px)!important;}
 .nav-stage-inner {width:calc(100% - 40px)!important;min-height:0!important;padding:18px 0 28px!important;margin:0 20px!important;}
 .nav-pane,.nav-pane.is-visible {display:none!important;}
 .mobile-direct {display:flex!important;flex-direction:column!important;gap:5px!important;align-items:stretch!important;}
 .mobile-direct a {display:flex!important;justify-content:space-between;align-items:center;color:#e3e3e3;font-size:17.5px!important;line-height:1.3!important;letter-spacing:-.035em!important;padding:10px 1px!important;text-decoration:none;}
 .mobile-direct .arrow-link {width:14px!important;height:14px!important;opacity:.6;}
 .globe-passage {min-height:unset!important;gap:12px!important;}
 .globe-art {width:min(92vw,430px)!important;min-height:0!important;}
 .globe-text {max-width:100%!important;}
 .globe-hint {display:none!important;}
 .timeframe-head {display:flex!important;gap:10px!important;}
 .timeframe-stepper button,.evidence-tab {font-size:11px!important;}
 .footer-arrival {height:135px!important;}
}
@media(max-width:370px){
 .header-actions {gap:12px!important;}
 .nav-stage-inner {width:calc(100% - 36px)!important;margin:0 18px!important;}
 .header-shell {padding:0 18px!important;}
}
@media(prefers-reduced-motion:reduce){.nav-stage,.nav-symbol,.nav-pane,.globe-art .globe-poster {transition:none!important;animation:none!important;}}
