/* Photograph / illustration beneath translucent reading surfaces. */
.hero,.index-landscape{isolation:isolate;position:relative}
.hero::before,.hero::after,.index-landscape::before,.index-landscape::after{content:"";position:absolute;inset:0 calc(-1 * clamp(22px,3.6vw,128px));pointer-events:none}
.hero::before{z-index:-2;background:#101820 url('/assets/andromeda-local-6000.webp') 56% 48% / cover no-repeat}
.hero::after{z-index:-1;background:linear-gradient(90deg,rgba(242,240,233,.93) 0%,rgba(242,240,233,.82) 43%,rgba(242,240,233,.48) 100%),linear-gradient(0deg,var(--paper),transparent 18%,transparent 88%,var(--paper))}
[data-theme=dark] .hero::after{background:linear-gradient(90deg,rgba(12,20,23,.86),rgba(12,20,23,.68) 43%,rgba(12,20,23,.38)),linear-gradient(0deg,var(--paper),transparent 22%,transparent 88%,var(--paper))}
.hero .hero-media-credit{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 12px;padding:8px 0 17px;margin:0;font:11px/1.7 ui-monospace,monospace;color:var(--ink)}
.hero-media-credit a{text-decoration:underline;text-decoration-color:var(--muted);text-underline-offset:3px}
.hero-media-credit a:hover{color:var(--orange)}
.hero .hero-preface,.hero .hero-description{color:#474c48}
[data-theme=dark] .hero .hero-preface,[data-theme=dark] .hero .hero-description{color:#d0d7d2}
.hero .galaxy-controls button{background:color-mix(in srgb,var(--paper) 72%,transparent)}
.index-landscape{padding-bottom:clamp(55px,5vw,120px)}
.index-landscape::before{z-index:-2;background:#152b2c url('/assets/thought-paths.svg') center / cover no-repeat}
.index-landscape::after{z-index:-1;background:linear-gradient(180deg,var(--paper),rgba(242,240,233,.82) 23%,rgba(242,240,233,.76) 72%,var(--paper))}
[data-theme=dark] .index-landscape::after{background:linear-gradient(180deg,var(--paper),rgba(17,23,22,.57) 23%,rgba(17,23,22,.62) 72%,var(--paper))}
/* Clear glass: no theme-colored fill or saturation shift. */
.index-landscape .index-paths{margin-bottom:0;background:linear-gradient(115deg,rgba(255,255,255,.055),transparent 48%,rgba(255,255,255,.015));border:1px solid rgba(255,255,255,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.16);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.index-landscape .index-paths a{background:transparent;transition:background .25s ease,box-shadow .25s ease}
.index-landscape .index-paths a:first-child{padding-left:24px}
.index-landscape .index-paths a:hover,.index-landscape .index-paths a:focus-visible{background:rgba(255,255,255,.045);box-shadow:inset 0 1px 0 rgba(255,255,255,.24)}
.index-landscape .section-heading-wrap p{color:var(--ink)}
@media(max-width:720px){.hero::before{background-image:url('/assets/andromeda-local-2400.webp');background-position:62% center}.hero::after{background:linear-gradient(180deg,rgba(242,240,233,.88),rgba(242,240,233,.72))}[data-theme=dark] .hero::after{background:linear-gradient(180deg,rgba(12,20,23,.82),rgba(12,20,23,.52))}.hero .hero-media-credit{justify-content:flex-start;font-size:10px;padding-bottom:15px}.index-landscape .index-paths a,.index-landscape .index-paths a:first-child{padding-inline:18px}.index-landscape::before{background-position:40% center}}
/* A compact, neutral glass navigation surface pinned above every chapter. */
html{scroll-padding-top:110px}
.site-shell{padding-top:0}
/* Keep text below the floating navigation inside the full-bleed hero. */
.hero{padding-top:137px}
.site-header,.motion-ready .site-header{position:fixed;z-index:100;top:16px;left:50%;transform:translateX(-50%);width:min(88%,1600px);height:72px;padding:0 clamp(18px,2vw,34px);gap:clamp(14px,1.6vw,28px);border:1px solid rgba(128,128,128,.25);border-radius:16px;background:linear-gradient(120deg,rgba(255,255,255,.14),rgba(255,255,255,.035));box-shadow:0 8px 28px rgba(0,0,0,.08),inset 0 1px 0 rgba(255,255,255,.28);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);animation:none}
.skip-link:focus{z-index:101}
@media(max-width:1100px){.site-header .brand-name small{display:none}.site-header .main-nav{gap:18px}.site-header .header-index{display:none}}
@media(max-width:720px){html{scroll-padding-top:90px}.hero{padding-top:108px}.site-header,.motion-ready .site-header{top:10px;width:calc(100% - 24px);height:64px;padding-inline:16px;gap:12px;border-radius:12px}}
