/* NullMeridian inner pages in the homepage world (preview, Nov 20).
   One layer for both page shells (body.space): the void, two drifting star layers, one point of white light,
   and a black hole with its photon ring, lensed disk and cold-blue glow. Long-form text sits on calm,
   near-opaque surfaces. The backdrop is CSS only: painted once, moved on the compositor, still under
   prefers-reduced-motion. Desktop and mobile have separate compositions (767.98px split, as on the homepage). */
@font-face{font-family:"Archivo Expanded";src:url(/assets/home/fonts/archivo-expanded-300.woff2) format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"NM Geist";src:url(/assets/home/fonts/geist-wght.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(/assets/home/fonts/geist-mono-400.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(/assets/home/fonts/geist-mono-500.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}

:root{
  --sp-void:#05060A; --sp-cold:#6E8BFF; --sp-cold-hi:#A9B9FF; --sp-text:#EDEFF5; --sp-text-2:#C3CAD9; --sp-quiet:#9AA3B8;
  --sp-surface:rgba(9,11,19,.9); --sp-surface-2:rgba(14,18,30,.92); --sp-line:rgba(110,139,255,.16); --sp-line-2:rgba(110,139,255,.30);
  --sp-display:"Archivo Expanded","Archivo",system-ui,sans-serif; --sp-sans:"NM Geist",system-ui,-apple-system,"Segoe UI",sans-serif;
  --sp-mono:"Geist Mono",ui-monospace,"SFMono-Regular",Menlo,monospace; --sp-ease:cubic-bezier(.2,0,0,1);
  /* the Log shell's tokens, remapped into the homepage palette */
  --ao-bg:var(--sp-void); --ao-surface:var(--sp-surface); --ao-raised:var(--sp-surface-2); --ao-rule:rgba(110,139,255,.14);
  --ao-text:var(--sp-text); --ao-text-2:var(--sp-text-2); --ao-muted:var(--sp-quiet);
  --ao-brand:#6E8BFF; --ao-brand-text:#A9B9FF; --ao-accent:#9DB0FF; --ao-accent-hover:#C3CEFF; --ao-focus:#A9B9FF;
  --ao-lav:rgba(110,139,255,.10); --ao-on-lav:#C7D2FF; --ao-sky:rgba(110,139,255,.08); --ao-on-sky:#C3D3FF; --ao-warm:rgba(208,96,63,.10); --ao-on-warm:#F0D6C8;
  --ao-shadow-1:0 0 0 1px var(--sp-line); --ao-shadow-2:0 0 0 1px var(--sp-line),0 24px 60px rgba(0,0,0,.5); --ao-shadow-lift:0 0 0 1px var(--sp-line-2),0 24px 60px rgba(0,0,0,.55);
  --ao-head-bg:rgba(5,6,10,.72); --ao-sans:var(--sp-sans); --ao-mono:var(--sp-mono);
}
html:has(body.space){background:var(--sp-void);color-scheme:dark}
body.space{position:relative;isolation:isolate;background:var(--sp-void)!important;color:var(--sp-text);font-family:var(--sp-sans);overflow-x:clip}

/* ---------- the world ---------- */
.nm-space{position:fixed;inset:0;z-index:-1;overflow:hidden;pointer-events:none;background:radial-gradient(120% 80% at 70% 18%,#0A0D18 0%,var(--sp-void) 62%)}
.nm-stars{position:absolute;inset:0 -512px -512px 0;background:url(/assets/space/stars-far.png) 0 0/512px 512px repeat;opacity:.9;will-change:transform;animation:nm-drift 260s linear infinite}
.nm-stars.near{background-image:url(/assets/space/stars-near.png);opacity:1;animation-duration:150s}
@keyframes nm-drift{to{transform:translate3d(-512px,-512px,0)}}
/* the one point of white light */
.nm-light{position:absolute;left:65.5%;top:17.5%;width:3px;height:3px;margin:-1.5px 0 0 -1.5px;border-radius:50%;background:#fff;
  box-shadow:0 0 6px 2px rgba(255,255,255,.75),0 0 22px 6px rgba(110,139,255,.35),0 0 90px 30px rgba(110,139,255,.07)}
/* the black hole: shadow, photon ring, lensed far side of the disk, near side crossing in front, cold glow */
.nm-bh{--s:min(54vw,760px);position:absolute;right:calc(var(--s) * -.30);top:calc(50% - var(--s) * .5);width:var(--s);height:var(--s);opacity:.92}
.nm-bh>i{position:absolute;inset:0;border-radius:50%}
.nm-bh .glow{inset:-30%;background:radial-gradient(closest-side,rgba(110,139,255,.16),rgba(110,139,255,.05) 55%,transparent 75%)}
.nm-bh .disk{inset:48.2% -10%;border-radius:50%;background:radial-gradient(closest-side,rgba(225,232,255,.55),rgba(150,170,255,.35) 45%,rgba(110,139,255,.10) 75%,transparent);transform:rotate(-9deg)}
.nm-bh .arc{z-index:1;inset:20%;border-radius:50%;background:conic-gradient(from -9deg,rgba(235,240,255,.95),rgba(110,139,255,.25) 22%,rgba(110,139,255,.12) 30%,rgba(200,212,255,.6) 50%,rgba(110,139,255,.12) 70%,rgba(110,139,255,.25) 78%,rgba(235,240,255,.95));
  -webkit-mask:radial-gradient(closest-side,transparent 86.5%,#000 88.5%,#000 92%,transparent 95.5%);mask:radial-gradient(closest-side,transparent 86.5%,#000 88.5%,#000 92%,transparent 95.5%)}
.nm-bh .core{inset:25%;background:#000;box-shadow:0 0 0 1px rgba(225,232,255,.7),0 0 0 3px rgba(110,139,255,.28),0 0 30px 8px rgba(110,139,255,.22)}
.nm-bh .front{z-index:2;inset:49.4% 20% 49.4%;border-radius:50%;background:linear-gradient(90deg,transparent,rgba(150,170,255,.35) 25%,rgba(220,228,255,.6) 50%,rgba(150,170,255,.35) 75%,transparent);transform:rotate(-9deg)}
/* a far second singularity, barely there, for depth */
.nm-bh2{position:absolute;left:9%;top:78%;width:10px;height:10px;border-radius:50%;background:#000;box-shadow:0 0 0 1px rgba(208,96,63,.6),0 0 12px 3px rgba(208,96,63,.22)}
@media (max-width:767.98px){
  .nm-bh{--s:118vw;right:calc(var(--s) * -.52);top:calc(var(--s) * -.22);opacity:.7}
  .nm-light{left:22%;top:12%}
  .nm-bh2{left:auto;right:16%;top:86%}
  .nm-stars{animation-duration:320s}.nm-stars.near{animation-duration:190s}
}
/* ---------- homepage field as the backdrop (Nov 20) ----------
   /assets/space/field.js is the homepage's own field (build.py derives it from src/home/field.js): the same
   WebGL star journey, light and motion, with no singularities. It fades in over the CSS sky; once it is on,
   the CSS stars and light step aside so there is one sky and one point of light. The CSS black hole stays. */
.nm-space #field{position:absolute;left:0;top:0;width:100%;height:100%;display:block;opacity:0;transition:opacity 1.4s cubic-bezier(.2,0,0,1)}
.field-on .nm-space #field{opacity:1}
/* Nov 27: the CSS sky hands over to the field with the same 1.4 s ease (it used to vanish in one frame while the
   field was still fading in), keeps its drift position (paused, not reset), then leaves the compositor entirely */
.field-on .nm-space .nm-stars,.field-on .nm-space .nm-light{opacity:0;animation-play-state:paused;visibility:hidden;
  transition:opacity 1.4s cubic-bezier(.2,0,0,1),visibility 0s linear 1.4s}
/* arriving from another page (the sky is resumed, see field.js): no CSS sky at all, the field shows within a frame */
.nm-warm .nm-space .nm-stars,.nm-warm .nm-space .nm-light{display:none}
.nm-warm .nm-space #field{transition-duration:.3s}
/* page changes: a short cross-fade of the whole view. Both pages draw the same sky at the same moment, so only
   the content changes; the sky reads as one continuous field. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.28s;animation-timing-function:cubic-bezier(.2,0,0,1)}
/* the cross-fade waits (at most 0.5 s) until the resumed field has drawn its first frame */
.nm-hold::view-transition-old(root),.nm-hold::view-transition-new(root){animation-play-state:paused}
@media (prefers-reduced-motion:reduce){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}}
@media (prefers-reduced-motion:reduce){.nm-stars{animation:none}}
body.page .mini-mark{width:26px;height:26px;flex:none;display:block}
@media print{.nm-space{display:none}}

/* ---------- type ---------- */
body.space h1{font-family:var(--sp-display)!important;font-weight:300!important;text-transform:uppercase;letter-spacing:.02em!important;line-height:1.08!important;color:var(--sp-text);text-shadow:0 0 34px rgba(5,6,10,.9),0 0 60px rgba(110,139,255,.14)}
body.space h2,body.space h3{font-family:var(--sp-display)!important;font-weight:300!important;text-transform:uppercase;letter-spacing:.04em!important;color:var(--sp-text)}
body.space p,body.space li,body.space dd,body.space td{font-family:var(--sp-sans)}
body.space :is(.sponsor-label,.tel,.crumb,.folio,.kicker,.rail-h,.filter-label,.article-dateline,.specimen-flag,.k){font-family:var(--sp-mono)!important;font-weight:400!important;text-transform:uppercase;letter-spacing:.16em!important;font-size:12px!important;line-height:1.5!important;color:var(--sp-quiet)!important}
body.space a{text-underline-offset:.2em}
body.space :focus-visible{outline:2px solid var(--sp-cold-hi)!important;outline-offset:3px}
::selection{background:#2A3A6B;color:#fff}

/* ---------- Log shell (body.logs.space) ---------- */
body.logs.space .ao-head{background:linear-gradient(rgba(5,6,10,.92),rgba(5,6,10,.62));border-bottom:1px solid rgba(110,139,255,.10)!important;box-shadow:none!important}
body.logs.space .ao-seg{background:rgba(10,13,22,.66)!important;border:1px solid var(--sp-line)!important;box-shadow:none!important}
body.logs.space .ao-seg a{font:400 12px/1 var(--sp-mono)!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--sp-quiet)!important}
body.logs.space .ao-seg a:hover,body.logs.space .ao-seg a[aria-current]{color:var(--sp-text)!important;background:rgba(110,139,255,.16)!important}
body.logs.space .ao-seg .ao-discord{background:transparent!important;border:1px solid rgba(110,139,255,.55)!important;color:var(--sp-text)!important;box-shadow:0 0 22px rgba(110,139,255,.18)!important}
body.logs.space .ao-seg .ao-discord:hover{border-color:rgba(169,185,255,.9)!important;box-shadow:0 0 26px rgba(110,139,255,.32)!important}
body.logs.space #main{padding-top:clamp(40px,8vh,96px)}
body.logs.space .nameplate{font-size:clamp(34px,6.2vw,72px)!important}
body.logs.space .motto{color:var(--sp-text-2)!important;font:400 18px/1.6 var(--sp-sans)!important;text-shadow:0 0 18px rgba(5,6,10,.95)}
body.logs.space :is(.empty,.lead,.filters,.dispatch,.article,.doc,.rail-card,.facts-slot,.review,.trace){background:var(--sp-surface)!important;border:1px solid var(--sp-line)!important;box-shadow:0 24px 60px rgba(0,0,0,.45)!important;border-radius:18px!important}
body.logs.space .empty{position:relative;overflow:hidden;font:400 16px/1.6 var(--sp-sans)!important;color:var(--sp-text-2)!important;padding:28px 28px 28px 72px!important}
body.logs.space .empty::before{content:"";position:absolute;left:28px;top:50%;width:18px;height:18px;margin-top:-9px;border-radius:50%;background:#000;box-shadow:0 0 0 1px rgba(225,232,255,.8),0 0 0 3px rgba(110,139,255,.3),0 0 16px 4px rgba(110,139,255,.25)}
body.logs.space .dispatch{padding:22px 24px!important}
body.logs.space .dispatch .dek,body.logs.space .prose,body.logs.space .prose p,body.logs.space .prose li{color:var(--sp-text-2)}
body.logs.space .article{padding:clamp(22px,4vw,48px)!important}
body.logs.space .article-head{border-bottom:1px solid var(--sp-line)}
body.logs.space .icon-tile{background:#000!important;border-radius:50%!important;box-shadow:0 0 0 1px rgba(225,232,255,.75),0 0 0 3px rgba(110,139,255,.25),0 0 18px 4px rgba(110,139,255,.2);color:var(--sp-cold-hi)!important}
body.logs.space .icon-tile.tint-warm{box-shadow:0 0 0 1px rgba(240,214,200,.75),0 0 0 3px rgba(208,96,63,.3),0 0 18px 4px rgba(208,96,63,.2);color:#F0B8A0!important}
body.logs.space .tag,body.logs.space .chip{border:1px solid var(--sp-line);font-family:var(--sp-mono)!important;letter-spacing:.08em}
body.logs.space .ao-foot{background:linear-gradient(transparent,rgba(5,6,10,.9) 40%)!important;border-top:1px solid rgba(110,139,255,.10)!important}
body.logs.space .ao-foot a,body.logs.space .ao-foot-name{font-family:var(--sp-mono)!important;letter-spacing:.14em;text-transform:uppercase}

/* ---------- Site shell (body.page.space): /contact, 404, font licenses, MarsFirst ---------- */
body.page.space{background:transparent}
body.page.space .nav{background:linear-gradient(rgba(5,6,10,.92),rgba(5,6,10,.5))!important;border-bottom:1px solid rgba(110,139,255,.10)!important}
body.page.space .brand{font-family:var(--sp-display)!important;font-weight:300!important;letter-spacing:.18em!important}
body.page.space .nav-links a{font:400 12px/1 var(--sp-mono)!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--sp-quiet)!important;display:inline-flex;align-items:center;min-height:44px}
body.page.space .nav-links a:hover,body.page.space .nav-links a[aria-current="page"]{color:var(--sp-text)!important}
body.page.space main{position:relative}
body.page.space .plate{max-width:min(760px,calc(100% - 32px));margin:clamp(40px,10vh,120px) auto 64px!important;padding:clamp(24px,5vw,48px)!important;
  background:var(--sp-surface);border:1px solid var(--sp-line);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
body.page.space .plate.flagship{max-width:min(1100px,calc(100% - 32px))}
body.page.space .doc h1,body.page.space .plate h1{font-size:clamp(28px,5vw,56px)!important}
body.page.space .lede,body.page.space .pitch{font:400 18px/1.6 var(--sp-sans)!important;color:var(--sp-text-2)!important}
body.page.space .doc .block{border-top-color:var(--sp-line)!important}
body.page.space .cta-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:999px;background:transparent!important;
  border:1px solid rgba(110,139,255,.6)!important;color:var(--sp-text)!important;font:500 13px/1 var(--sp-mono)!important;letter-spacing:.16em;text-transform:uppercase;text-decoration:none;
  box-shadow:0 0 22px rgba(110,139,255,.2);transition:box-shadow .4s var(--sp-ease),border-color .4s var(--sp-ease)}
body.page.space .cta-primary:hover{border-color:rgba(169,185,255,.95)!important;box-shadow:0 0 30px rgba(110,139,255,.36)}
body.page.space .plate a:not(.cta-primary):not(.out){color:#B7C5FF}
body.page.space .footer{background:linear-gradient(transparent,rgba(5,6,10,.9) 40%)!important;border-top:1px solid rgba(110,139,255,.10)!important}
body.page.space .footer,body.page.space .footer a{font-family:var(--sp-mono)!important;letter-spacing:.12em;color:var(--sp-quiet)!important}
body.page.space .footer a:hover{color:var(--sp-text)!important}
body.page.space .footer-name{font-family:var(--sp-display)!important;font-weight:300;letter-spacing:.18em;color:var(--sp-text)}
/* 404: the page is a lost signal; the hole sits behind the plate on both layouts */
.is-404 body.space .nm-bh{right:auto;left:50%;top:50%;transform:translate(-50%,-50%);--s:min(96vmin,880px);opacity:.85}
@media (max-width:767.98px){
  body.page.space .plate{margin-top:32px!important;border-radius:14px}
  body.logs.space :is(.empty,.lead,.filters,.dispatch,.article,.doc){border-radius:14px!important}
  body.logs.space .empty{padding:22px 20px 22px 60px!important}
  body.logs.space .empty::before{left:22px}
  .is-404 body.space .nm-bh{--s:96vw;opacity:.75}
}
/* /contact: the email address under the Discord button, quiet and mono */
body.page.space .contact-mail{margin:14px 0 0}
body.page.space .plate .contact-mail a{display:inline-flex;align-items:center;min-height:44px;font:400 13px/1 var(--sp-mono);letter-spacing:.08em;color:#9DB0FF!important;text-decoration:underline;text-decoration-color:rgba(110,139,255,.4);text-underline-offset:.3em}
body.page.space .plate .contact-mail a:hover{color:#C3CEFF!important;text-decoration-color:rgba(169,185,255,.8)}

/* Nov 27: the CSS black hole is alive, compositor only: the bright side of the photon ring orbits, the disk and
   its near edge shimmer, the glow breathes. Still under reduced motion. */
.nm-bh .arc{animation:nm-orbit 44s linear infinite}
.nm-bh .glow{animation:nm-breathe 7.5s ease-in-out infinite alternate}
.nm-bh .disk{animation:nm-disk 5.5s ease-in-out infinite alternate}
.nm-bh .front{animation:nm-front 5.5s ease-in-out -2.7s infinite alternate}
@keyframes nm-orbit{to{transform:rotate(360deg)}}
@keyframes nm-breathe{from{opacity:.72;transform:scale(.985)}to{opacity:1;transform:scale(1.015)}}
@keyframes nm-disk{from{opacity:.78;transform:rotate(-9deg) scaleX(.985)}to{opacity:1;transform:rotate(-9deg) scaleX(1.025)}}
@keyframes nm-front{from{opacity:.7;transform:rotate(-9deg)}to{opacity:1;transform:rotate(-9deg)}}
@media (prefers-reduced-motion:reduce){.nm-bh>i{animation:none!important}}
/* Nov 27: phones: the header nav fits in one row at 320-430 px without scrolling or cropping, and the filter
   chips wrap instead of running off the edge. No horizontal scroll anywhere. */
html,body{overflow-x:clip}
@media (max-width:767.98px){
  body.logs.space .ao-seg{overflow:visible;gap:2px;padding:3px}
  body.logs.space .ao-seg li{flex:1 1 auto;min-width:0}
  body.logs.space .ao-seg a{padding:0 8px!important;letter-spacing:.1em!important;font-size:12px!important;white-space:nowrap}
  body.logs.space .filters .chips{flex-wrap:wrap;overflow:visible;margin:0;padding:2px 0 0;scroll-snap-type:none}
}
