/* Shared navigation and footer for the Brain and Publisher experiences. */
@font-face{font-family:Manrope;src:url('fonts/manrope-latin.woff2') format('woff2');font-style:normal;font-weight:200 800;font-display:swap}
.audience-switch{display:inline-flex;align-items:center;gap:4px;padding:4px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 22%,transparent);border-radius:99px;font-size:11px;line-height:1.4;letter-spacing:.01em}
.audience-switch a{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 17px;border-radius:99px;transition:background .35s,color .35s;text-decoration:none}
.audience-switch a:hover{background:color-mix(in srgb,currentColor 10%,transparent)}
.audience-switch a[aria-current=page]{background:color-mix(in srgb,currentColor 12%,transparent)}
.hero-copy>.audience-switch{color:#F7F8F1;margin-bottom:26px}
.site-footer{position:relative;isolation:isolate;overflow:clip;background:var(--paper);color:var(--ink);padding:88px max(28px,calc((100vw - 1360px)/2)) 0;margin-top:32px;font-family:Manrope,Inter,sans-serif}
.footer-directory{display:grid;grid-template-columns:1.75fr repeat(4,1fr);gap:40px;position:relative;z-index:2;padding-bottom:64px}
.footer-identity .brand{width:145px;min-height:54px}.footer-identity>p{font-size:13px;line-height:1.8;max-width:24ch;margin-top:23px;color:var(--muted)}
.footer-email{display:inline-flex;min-height:44px;align-items:center;font-size:11px;margin-top:15px;gap:18px}.footer-email span{font-size:16px;color:var(--teal)}
.footer-column h2{font:600 11px/1.5 Manrope,Inter,sans-serif;letter-spacing:.01em;margin:10px 0 19px}
.footer-column ul{list-style:none;margin:0;padding:0;display:grid;gap:3px}.footer-column a{font-size:12px;line-height:1.6;color:var(--muted);min-height:32px;display:inline-flex;align-items:center;padding-block:6px;transition:color .25s}.footer-column a:hover{color:var(--ink)}
.footer-baseline{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid color-mix(in srgb,var(--ink) 17%,transparent);padding-block:23px;font-size:10px;color:var(--muted)}
.footer-baseline a{display:inline-flex;gap:18px;align-items:center;min-height:32px;color:var(--ink)}
.footer-landscape{position:relative;height:220px;margin-inline:calc(-1 * max(28px,calc((100vw - 1360px)/2)));pointer-events:none;z-index:0;background:radial-gradient(ellipse at 50% 100%,#1B817A24,transparent 70%)}
.footer-landscape svg{position:absolute;bottom:-2px;left:-3%;width:106%;height:100%;filter:blur(1px)}
.footer-landscape::after{display:none}
.footer-mobile-break{display:none}
.footer-landscape::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(var(--paper),transparent 65%)}
.footer-ridge-back{fill:url(#footer-back)}.footer-ridge-front{fill:url(#footer-front)}
:root[data-theme=dark] .site-footer{--muted:#BCC4D8}
:root[data-theme=dark] .footer-landscape{opacity:.78}
@media(max-width:900px){.footer-directory{grid-template-columns:1.4fr 1fr 1fr;gap:36px}.footer-identity{grid-row:span 2}.site-footer{padding-top:62px}}
@media(max-width:600px){.site-footer{padding-top:54px}.footer-directory{grid-template-columns:1fr 1fr;gap:28px 30px;padding-bottom:36px}.footer-identity{grid-row:auto;grid-column:1/-1;margin-bottom:8px}.footer-identity>p{max-width:30ch;margin-top:15px}.footer-email{margin-top:6px}.footer-column h2{margin:0 0 10px}.footer-column a{min-height:40px}.footer-baseline{align-items:flex-start;font-size:9px;gap:20px}.footer-baseline p{max-width:24ch;line-height:1.7}.footer-landscape{height:160px}.audience-switch{font-size:10px}.audience-switch a{padding-inline:14px;min-height:34px}}
@media(prefers-reduced-motion:reduce){.audience-switch a,.footer-column a{transition:none}}
@media(max-width:600px){.footer-mobile-break{display:block}}

/* Brain opens through its own moving mark, without a scroll-arrow button. */
.luminous-home .hero .brain-entry{gap:18px;padding:6px 21px 6px 7px;height:58px;background:#F6F5F0F5;border-color:#FFFFFF80;box-shadow:0 4px 26px #0A193C20}
.brain-entry .brain-entry-label{font-size:12px;font-weight:500;letter-spacing:.005em}
.brain-entry-orbit{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #16225E1C;border-radius:50%;background:#16225E05}
.brain-entry-orbit img{width:24px;height:24px;object-fit:contain;transition:transform .55s cubic-bezier(.22,1,.36,1)}
.brain-entry-orbit>i{position:absolute;inset:-1px;border-radius:50%;border:1px solid transparent;border-top-color:#13968488;transform:rotate(-30deg);transition:transform 1.1s cubic-bezier(.22,1,.36,1)}
.brain-entry:hover .brain-entry-orbit>i,.brain-entry:focus-visible .brain-entry-orbit>i{transform:rotate(290deg)}.brain-entry:hover .brain-entry-orbit img{transform:scale(1.09)}
.brain-entry-trail{display:flex;gap:3px;align-items:center;margin-left:2px}.brain-entry-trail i{width:2px;height:7px;border-radius:4px;background:#139684;opacity:.4;transition:height .5s,opacity .5s}.brain-entry-trail i:nth-child(2){height:13px;opacity:.7;transition-delay:.06s}.brain-entry-trail i:nth-child(3){height:9px;transition-delay:.12s}.brain-entry:hover .brain-entry-trail i{height:15px;opacity:1}.brain-entry:hover .brain-entry-trail i:nth-child(2){height:8px}
@media(prefers-reduced-motion:reduce){.brain-entry *{transition:none!important}}

/* A real panoramic engraving replaces the generated gradient terrain. */
.footer-photo{height:clamp(280px,30vw,570px);background:var(--paper);overflow:clip}
.footer-photo::before{background:linear-gradient(var(--paper),transparent 33%);z-index:2}
.footer-photo .footer-coast{display:block;position:absolute;inset:0 -2% -2%;animation:footer-coast-drift 28s ease-in-out infinite alternate;animation-play-state:paused;transform-origin:50% 70%}
.footer-coast img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.footer-horizon-light{position:absolute;inset:35% 0 0;background:radial-gradient(ellipse at 24% 65%,#DAF4EC20,transparent 53%);mix-blend-mode:screen;pointer-events:none;opacity:.55;animation:footer-sea-light 12s ease-in-out infinite alternate;animation-play-state:paused}
.site-footer[data-running=true] .footer-coast,.site-footer[data-running=true] .footer-horizon-light{animation-play-state:running}
:root[data-theme=dark] .footer-photo{opacity:1}.footer-photo .theme-photo-veil{object-position:center bottom}
@keyframes footer-coast-drift{from{transform:translate3d(-.6%,0,0)}to{transform:translate3d(.6%,0,0)}}
@keyframes footer-sea-light{from{opacity:.2;transform:translateX(-2%)}to{opacity:.55;transform:translateX(2%)}}
@media(max-width:600px){.footer-photo{height:245px}.footer-coast img{object-position:70% bottom}.footer-photo .theme-photo-veil{object-position:70% bottom}}
@media(prefers-reduced-motion:reduce){.site-footer .footer-coast,.site-footer .footer-horizon-light{animation:none!important}}
.footer-in-view .chapter-nav{opacity:0!important;visibility:hidden!important;pointer-events:none!important}

/* Mobile chapter navigation makes room for reading while scrolling down. */
@media(max-width:760px){
 .chapter-nav-hidden .chapter-nav{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translate(-50%,-10px)!important}
}
