/* Cosmic Futures website. Monolith palette shared with Orbiteer and HUGO, Host Grotesk Light. */
@font-face { font-family: 'Host Grotesk'; src: url('fonts/HostGrotesk_300Light.ttf') format('truetype'); font-weight: 200 300; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('fonts/HostGrotesk_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Host Grotesk'; src: url('fonts/HostGrotesk_500Medium.ttf') format('truetype'); font-weight: 500 800; font-display: swap; }

:root {
  --void: #030406;
  --line: #24262b; --line-strong: #3a3c42;
  --bone: #f2f2f0; --ash: #a6a8ae; --mist: #8e9099; --steel: #6e7077;
  --accent: #00afff; --accent-soft: #5dccff;
  --sans: 'Host Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;
  --top: 64px;
  color-scheme: dark;
}
.has-topbar { --top: 109px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--void); -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body { background: var(--void); color: var(--bone); font-family: var(--sans); font-size: 17px; font-weight: 300; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 300; text-wrap: balance; }
p { max-width: 62ch; }
ul, ol { list-style: none; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); }
.muted { color: var(--mist); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--bone); color: var(--void); padding: 12px 18px; border-radius: 999px; font-weight: 500; }
.skip:focus { top: 12px; }
/* Content still to be supplied: shown on purpose, so nobody mistakes it for final copy. */
.ph { display: inline; padding: 1px 6px; border: 1px dashed rgba(93,204,255,.55); border-radius: 6px; color: var(--accent-soft); font-family: var(--mono); font-size: .82em; letter-spacing: .02em; }
.todo { border: 1px dashed rgba(93,204,255,.45); border-radius: 16px; padding: 20px 22px; background: rgba(0,175,255,.04); max-width: none; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 var(--sans); background: var(--bone); color: var(--void); border: 1px solid var(--bone);
  transition: transform 160ms var(--ease), border-color 160ms var(--ease); cursor: pointer; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: rgba(3,4,6,.3); color: var(--bone); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ash); }
.arrow { display: inline-block; transition: transform 160ms var(--ease); }
a:hover > .arrow { transform: translateX(3px); }
.ext { font-size: .85em; color: var(--mist); }
.textlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px; color: var(--bone); border-bottom: 1px solid var(--line-strong); }
.textlink:hover { border-color: var(--bone); }
.mail { color: var(--bone); border-bottom: 1px solid var(--line-strong); display: inline-flex; align-items: center; min-height: 44px; }
.mail:hover { border-color: var(--bone); }

/* Header: top bar + nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; transition: background 300ms; }
.nav.solid { background: rgba(3,4,6,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.topbar { background: rgba(0,175,255,.08); border-bottom: 1px solid rgba(93,204,255,.16); font-size: 14px; color: var(--ash); }
.topbar .wrap { display: flex; justify-content: center; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.topbar u { text-decoration: none; color: var(--bone); border-bottom: 1px solid var(--line-strong); }
.topbar a:hover u { border-color: var(--bone); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; white-space: nowrap; }
.wordmark .cf-mark { width: 28px; height: 28px; flex: none; } /* Hugo's small mark (24 to 120px); 28px balances the wordmark */
.links { display: flex; gap: 4px; font-size: 14px; color: var(--ash); }
.links > li > a, .menu > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; cursor: pointer; border-radius: 8px; }
.links a:hover, .links a[aria-current], .menu > summary:hover, .menu[open] > summary { color: var(--bone); }
.menu { position: relative; }
.menu > summary, .mnav > summary { list-style: none; }
.menu > summary::-webkit-details-marker, .mnav > summary::-webkit-details-marker { display: none; }
.chev { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms; }
.menu[open] .chev { transform: translateY(1px) rotate(-135deg); }
.menu-list { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; padding: 8px; border-radius: 16px; background: #0a0c10; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.5); z-index: 30; }
.menu-list li > * { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; }
.menu-list a:hover { background: rgba(255,255,255,.06); color: var(--bone); }
.mnav { display: none; position: relative; }
.mnav > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; cursor: pointer; }
.burger { display: grid; gap: 4px; width: 14px; }
.burger i { height: 1px; background: currentColor; }
.mnav ul { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 40px)); padding: 8px; border-radius: 16px; background: #0a0c10; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 60px rgba(0,0,0,.6); z-index: 30; }
.mnav li a { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: 10px; color: var(--ash); }
.mnav li.sub a { padding-left: 28px; font-size: 15px; }
.mnav li a[aria-current], .mnav li a:hover { color: var(--bone); background: rgba(255,255,255,.05); }
@media (max-width: 860px) { .links { display: none; } .mnav { display: block; } }
@media (max-width: 400px) { .wordmark { letter-spacing: 0.2em; font-size: 12px; } .topbar { font-size: 13px; } .topbar a { text-align: center; justify-content: center; flex-wrap: wrap; gap: 2px 8px; } }

/* Earth + aurora (home) */
#earth { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; mix-blend-mode: screen; } /* screen: the still JPEG's black square disappears into the page */
#earth canvas { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1s var(--ease); }
#earth-still { position: absolute; left: 0; top: 0; max-width: none; transition: opacity 1s var(--ease); will-change: transform; }
#earth-still:not(.placed) { visibility: hidden; } /* until js/earth.js has placed it: no first frame at the raw 1200px (#105) */
#earth.live canvas { opacity: 1; }
#earth.live #earth-still { opacity: 0; }
.rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; overflow: visible; }
.rings path { fill: none; stroke: rgba(93,204,255,.5); stroke-width: 1; }
#rings-back path { stroke: rgba(93,204,255,.3); }
.rings circle { fill: var(--accent-soft); }
.aurora { position: fixed; inset: 0 0 auto; height: 100vh; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: float 22s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 60vw; height: 40vw; left: 8vw; top: -28vw; background: #0b4f80; }
.aurora i:nth-child(2) { width: 46vw; height: 30vw; right: 4vw; top: -20vw; background: #1d2f6b; animation-duration: 28s; }
.aurora i:nth-child(3) { width: 34vw; height: 22vw; left: 36vw; top: -12vw; background: #00afff; opacity: .2; animation-duration: 18s; }
@keyframes float { to { transform: translate(4vw, 3vw) scale(1.1); } }
main, footer { position: relative; z-index: 1; }

/* Home */
.home section { min-height: 100svh; display: grid; align-items: center; padding: 140px 0 100px; }
.home section.top { align-items: start; }
.home .hero { align-items: start; padding-top: calc(var(--top) + 11vh); text-align: center; min-height: 125svh; }
.hero h1 { font-weight: 200; font-size: clamp(40px, 5.4vw, 84px); line-height: 1.02; letter-spacing: -0.045em; max-width: 17ch; margin-inline: auto; }
.hero h1 span { display: block; background: linear-gradient(180deg, #f2f2f0 10%, #8a8d95); -webkit-background-clip: text; background-clip: text; color: transparent; margin-top: .08em; }
.hero .lead { margin: 28px auto 0; color: var(--ash); font-size: 20px; }
.ctas { margin-top: 36px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.tile { border-radius: 26px; padding: clamp(24px, 4vw, 48px); background: linear-gradient(180deg, rgba(10,12,16,.8), rgba(6,7,10,.7)); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.tile > h2 { font-weight: 200; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.04em; }
.tile h2 span, .statement span, .page-hero h1 span, .sec h2 span { color: var(--mist); }
.tile > p { color: var(--ash); margin-top: 18px; font-size: 18px; }
.side { width: min(600px, 100%); }
.right { justify-self: end; margin-left: auto; }
.center { text-align: center; }
p.center { max-width: none; }
.statement { font-weight: 200; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.045em; max-width: 20ch; margin: 0 auto; text-shadow: 0 2px 40px rgba(0,0,0,.8); }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.cols3 h3 { font-weight: 400; font-size: 26px; margin-top: 10px; }
.cols3 p { color: var(--ash); margin-top: 10px; }

/* HUGO as the layer across Orbiteer and Signals */
.layer { margin-top: 40px; }
.hugo-band { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; border-color: rgba(93,204,255,.3); background: linear-gradient(90deg, rgba(0,175,255,.12), rgba(10,12,16,.8) 40%, rgba(10,12,16,.8) 60%, rgba(0,175,255,.12)); }
.hugo-band h3 { font-weight: 300; font-size: 30px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hugo-band p { color: var(--ash); margin-top: 6px; }
.kind { font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); }
.threads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: 36px; }
.threads i { justify-self: center; width: 1px; background: linear-gradient(180deg, rgba(93,204,255,.7), rgba(93,204,255,.15)); position: relative; }
.threads i::after { content: ''; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); box-shadow: 0 0 10px var(--accent); }

.pcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.pcard { display: flex; flex-direction: column; gap: 12px; }
.pcard h3 { font-weight: 300; font-size: 30px; letter-spacing: -0.02em; }
.tile.pcard > p { color: var(--ash); margin-top: 0; font-size: 17px; }
.pcard .more { margin-top: auto; }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--bone); }
.more.muted { color: var(--mist); }
.status { align-self: flex-start; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); border: 1px solid rgba(93,204,255,.3); border-radius: 999px; padding: 4px 10px; }
.pcard.quiet { background: linear-gradient(180deg, rgba(10,12,16,.6), rgba(6,7,10,.5)); }
.pcard.quiet .status { color: var(--ash); border-color: var(--line-strong); }
.mark { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); overflow: hidden; }
.mark img { width: 100%; height: 100%; object-fit: cover; }
.mark.contain img { width: 70%; height: 70%; object-fit: contain; }
.mark.glyph { color: var(--bone); }
.mark.glyph svg { width: 66%; height: 66%; display: block; }
.radar { width: 56px; height: 56px; border-radius: 50%; position: relative; border: 1px solid rgba(255,255,255,.14); flex: none; }
.radar::before, .radar::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.1); }
.radar::after { inset: 25px; background: var(--steel); border: 0; }

.orgs { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.orgs ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; color: var(--ash); font-size: 15px; letter-spacing: .01em; }
.orgs li { white-space: nowrap; }

.close { text-align: center; }
.home .close { align-items: start; padding-top: calc(var(--top) + 6vh); min-height: 100svh; }
.close h2 { font-weight: 200; font-size: clamp(56px, 9vw, 150px); letter-spacing: -0.055em; line-height: 0.94; text-shadow: 0 2px 50px rgba(0,0,0,.8); }
.close-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 30px; font-size: 18px; }
.close-links li > * { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(3,4,6,.5); }
.close-links a:hover { border-color: var(--ash); }
.close-links .muted { border-style: dashed; }

/* Rise on scroll */
.js [data-rise] { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); }
.js [data-rise].in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: 90ms !important; } .d2 { transition-delay: 180ms !important; }

/* Inner pages */
.glow { position: absolute; inset: 0 0 auto; height: 70vh; background: radial-gradient(60% 50% at 40% 0%, rgba(11,79,128,.55), transparent 70%); pointer-events: none; }
.page-hero { padding: calc(var(--top) + 12vh) 0 9vh; }
.page-hero h1 { font-weight: 200; font-size: clamp(42px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; max-width: 17ch; }
.page-hero h1 span { display: block; margin-top: .1em; }
.page-hero .lead, .sec .lead { margin-top: 26px; color: var(--ash); font-size: 20px; max-width: 52ch; }
.sec { padding: 8vh 0; border-top: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px 5vw; }
.sec h2 { font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.12; }
.sec-body > p, .sec-body > .chapter { color: var(--ash); }
.sec-body > * + * { margin-top: 18px; }
.kicker { color: var(--accent-soft); }
.chapter b { color: var(--bone); font-weight: 400; }
.evidence { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; margin: 24px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid var(--line); color: var(--mist); font-size: 14px; max-width: none; }
.evidence li { display: flex; flex-direction: column; gap: 4px; }
.evidence strong { color: var(--bone); font-weight: 400; font-size: 22px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.example { border-left: 1px solid var(--accent-soft); padding: 4px 0 4px 22px; }
.example p { color: var(--bone); font-size: 19px; line-height: 1.55; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare th { text-align: left; font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); font-weight: 400; padding: 0 16px 12px 0; }
.compare td { vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--line); color: var(--mist); width: 50%; }
.compare td + td { color: var(--bone); }
.closing { color: var(--bone) !important; font-size: 19px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; }
.ringdot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--accent-soft); position: relative; flex: none; }
.ringdot::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent-soft); }

.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 30px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--accent-soft), rgba(93,204,255,.1)); }
.timeline li { position: relative; display: grid; gap: 8px; align-content: start; }
.timeline .ringdot { background: var(--void); }
.timeline b { font-weight: 400; font-size: 20px; margin-top: 10px; }
.timeline span { color: var(--ash); font-size: 15px; }

.people { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.person { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; padding: 22px; border: 1px solid var(--line); border-radius: 20px; }
.person.is-ph { border-style: dashed; border-color: rgba(93,204,255,.35); }
.person h3 { font-weight: 400; font-size: 20px; }
.person .role { color: var(--mist); font-size: 14px; }
.person p:last-child { color: var(--ash); margin-top: 8px; font-size: 15px; }
.portrait { width: 84px; height: 84px; border-radius: 50%; border: 1px dashed rgba(93,204,255,.45); display: grid; place-items: center; text-align: center; font: 10px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent-soft); padding: 10px; }
/* #526: an unannounced founder: the same circle, a small centre dot instead of initials. */
.portrait.is-unnamed::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); opacity: .6; }
.portrait.is-initials { padding: 0; font: 22px var(--mono); letter-spacing: .04em; text-transform: none; }
img.portrait { padding: 0; border: 0; object-fit: cover; }
.agent-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgba(93,204,255,.45); color: var(--accent-soft); font: 18px var(--mono); }
.agents-intro { margin-top: 30px !important; }
.advisers h3 { font-weight: 400; font-size: 20px; margin-bottom: 10px; }
.advisers .tba { color: var(--ash); margin: 0; }
/* #114: the HUGO mark before HUGO the agent, at cap height, decorative. The pair never wraps apart. */
.hugo-word { white-space: nowrap; }
.hugo-mark { display: inline-block; width: 0.82em; height: 0.82em; margin: 0 0.24em 0 0.04em; vertical-align: -0.08em; border-radius: 50%; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 10px 0; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--mist); font-size: 22px; transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--ash); }
.linkrow { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.linkrow .textlink { margin-top: 0; }
/* #510: a link inside running text stays on the line (no tap-target block, no top margin). */
.textlink.inline { display: inline; min-height: 0; margin-top: 0; }
.linkrow .muted { display: inline-flex; align-items: center; min-height: 44px; }
.contact-line { color: var(--ash); font-size: 18px; }
.big-mail { font-size: clamp(26px, 4vw, 48px); font-weight: 200; letter-spacing: -.03em; margin: 14px 0 34px; }
.linkrow.reach { margin: -14px 0 34px; }
/* #502 legal pages: one readable column. */
.legal { max-width: 72ch; }
.legal-updated { font-size: 14px; }
.legal-part { margin-top: 44px; }
.legal-part h2 { font-weight: 300; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; line-height: 1.2; }
.legal-part p, .legal-part li { color: var(--ash); }
.legal-part > * + * { margin-top: 14px; }
.legal-part ul:not(.linkrow) { padding-left: 1.2em; list-style: disc; }
.legal-part ul:not(.linkrow) li + li { margin-top: 8px; }
.fit li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ash); }
.fit b { color: var(--bone); font-weight: 400; }
.principles { display: grid; gap: 0; }
.principles li { display: grid; grid-template-columns: 60px 1fr 2fr; gap: 12px 4vw; padding: 30px 0; border-top: 1px solid var(--line); align-items: baseline; }
.principles h2 { font-size: clamp(24px, 2.6vw, 34px); }
.principles p { color: var(--ash); }

/* Footer */
.foot { background: var(--void); border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--mist); font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 28px; }
.foot-brand p { margin-top: 10px; color: var(--ash); }
.foot-brand .sig { color: var(--bone); font-size: 22px; font-weight: 200; letter-spacing: -.02em; margin-top: 18px; }
.foot h2 { margin-bottom: 6px; }
.foot ul a, .foot ul .muted { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; color: var(--ash); }
.foot ul a:hover, .foot ul a[aria-current] { color: var(--bone); }
.foot .small { font-size: 13px; margin-top: 8px; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

@media (max-width: 860px) {
  .home section { padding: 120px 0 80px; }
  .cols3 { grid-template-columns: 1fr; }
  .right { justify-self: stretch; }
  .hugo-band { grid-template-columns: auto 1fr; align-items: start; }
  .hugo-band .band-link { grid-column: 1 / -1; }
  .sec-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 4px; }
  .timeline::before { left: 10px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent-soft), rgba(93,204,255,.1)); }
  .timeline li { grid-template-columns: 14px 1fr; column-gap: 16px; }
  .timeline li .ringdot { grid-row: 1 / span 2; margin-top: 4px; }
  .timeline b { margin-top: 0; }
  .people { grid-template-columns: 1fr; }
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 0; border-top: 1px solid var(--line); }
  .compare td { display: block; width: auto; border: 0; padding: 4px 0; }
  .compare td::before { content: attr(data-label); display: block; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); margin-bottom: 2px; }
  .principles li { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== V2 (brief 23 Nov) ===== */

/* What you can do (home section 2) */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; }
.cols4 .tile { padding: clamp(20px, 2.4vw, 30px); }
.cols4 h3 { font-weight: 400; font-size: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.cols4 p { color: var(--ash); margin-top: 10px; font-size: 16px; }
.cols4 .soon { opacity: .9; }
.chip { font: 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-soft); border: 1px solid rgba(93,204,255,.3); border-radius: 999px; padding: 2px 8px; }
.note { margin-top: 28px; color: var(--accent-soft); font: 13px var(--mono); letter-spacing: .04em; }

/* Ecosystem ring diagram (home section 6) */
.lead.narrow { max-width: 56ch; margin-inline: auto; }
.eco { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 36px; margin: 38px 0 8px; }
.eco-fig { min-width: 0; position: relative; }
/* A soft scrim so the diagram and its labels read over the Earth behind. */
.eco-fig::before { content: ''; position: absolute; inset: -8% -12%; z-index: 0; pointer-events: none; background: radial-gradient(58% 54% at 44% 52%, rgba(3,4,6,.86), rgba(3,4,6,.45) 62%, transparent 82%); }
.eco-legend { list-style: none; display: grid; gap: 2px; }
.eco-legend li > * { display: flex; align-items: baseline; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.eco-legend b { font-weight: 500; flex: none; }
.eco-legend span { color: var(--mist); font-size: 15px; }
.eco-legend .ext, .eco-legend .arrow { margin-left: auto; }
.eco-legend .muted { color: var(--steel); }
.eco-legend a:hover b { color: var(--accent-soft); }

/* Armillary page */
.arm-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 44px; }
.arm-fig { min-width: 0; }
.arm-compare th[scope="row"] { font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mist); font-weight: 400; text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-top: 1px solid var(--line); width: 22%; }
.arm-compare td { width: 39%; }
.arm-compare .corner { border: 0; padding: 0; }
.arm-compare td.hl { color: var(--bone); }
.arm-compare thead .hl { color: var(--accent-soft); }

@media (max-width: 860px) {
  .cols4 { grid-template-columns: 1fr 1fr; }
  .eco { grid-template-columns: 1fr; gap: 26px; }
  .eco-fig { max-width: 460px; margin-inline: auto; }
  .arm-hero-grid { grid-template-columns: 1fr; }
  .arm-fig { order: -1; max-width: 420px; margin-inline: auto; }
  .arm-compare th[scope="row"] { display: block; width: auto; border: 0; padding: 14px 0 6px; color: var(--bone); border-top: 1px solid var(--line); }
}
@media (max-width: 540px) { .cols4 { grid-template-columns: 1fr; } }

/* Satellite in the hero. Its own fixed layer, above the Earth, behind all page content. The default position
   puts it on the orbit above the limb without JavaScript; js/satellite.js then animates it. */
.sat-layer { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.js #satellite { opacity: 0; }
#satellite { position: absolute; left: 31vw; top: 63vh; width: 46px; height: auto;
  transform: translate(-50%, -50%); transform-origin: center;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,.6)); will-change: transform, opacity; }
@media (max-width: 860px) { #satellite { width: 36px; left: 26vw; top: 67vh; } }

/* The problem statement (#scale): Hugo's words with two checked figures and their sources. A scrim darkens
   the text side so the copy reads over the Earth, while the planet still shows through on the right. */
#scale { position: relative; }
#scale::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(3,4,6,.93) 0%, rgba(3,4,6,.85) 46%, rgba(3,4,6,.42) 72%, transparent 100%); }
#scale .wrap { position: relative; z-index: 1; }
.scale-wrap { max-width: 1000px; }
.scale-statement { font-weight: 200; font-size: clamp(23px, 2.9vw, 38px); line-height: 1.3; letter-spacing: -0.02em; max-width: 26ch; color: var(--bone); text-shadow: 0 2px 40px rgba(0,0,0,.8); }
.scale-statement .cite { border-bottom: 1px dotted var(--steel); cursor: help; }
.scale-statement .cite sup { font-size: .5em; color: var(--accent-soft); }
sup { line-height: 0; vertical-align: super; }
.figure-note { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 22px; max-width: none; }
.figure-note a { display: inline-flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--mist); }
.figure-note a:hover { color: var(--ash); }
.figure-note sup { color: var(--accent-soft); font-size: .78em; margin-right: 1px; }
.figure-note .ext { align-self: center; }

.proof-band { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); padding-top: 28px; }
.proof-lead { color: var(--accent-soft); }
.proof { display: grid; grid-template-columns: repeat(7, 1fr); gap: 20px 12px; margin-top: 24px; }
.proof li { display: flex; flex-direction: column; gap: 4px; }
.proof b { font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -0.03em; color: var(--bone); }
.proof span { font-size: 12px; color: var(--mist); line-height: 1.25; }
.proof-asof { margin-top: 24px; color: var(--steel); }
@media (max-width: 860px) { .scale-statement { max-width: 100%; } .proof { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 540px) { .proof { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } }

/* ===== Hugo's infographics (#108): one figure per full-width band =====
   Bar: Palantir's Foundry and AIP pages. A small mono label above, the drawing across the full content width
   (1200px), one plain sentence under it. Rises in on scroll; a fade only under reduced motion.
   Each band has its own clear space: a full-bleed void backdrop (edges feathered) so no planet art sits behind the
   figure or its caption. The figure has one frame only: Hugo's own panels. */
.band { position: relative; isolation: isolate; width: 100%; margin: clamp(32px, 5vh, 64px) 0 0; padding: clamp(48px, 7vh, 88px) 0; }
/* Wider than the text column, as Palantir's diagrams are: up to 1400px, never past the viewport's 20px gutters. */
@media (min-width: 721px) {
  .band { --bw: min(1400px, 100vw - 40px); width: var(--bw); margin-left: calc((100% - var(--bw)) / 2); }
}
.band::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--void);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.band-label { max-width: none; width: 100%; display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--mist); }
.band-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.band-frame { position: relative; }
.cf-scaled { position: relative; width: 100%; overflow: hidden; margin-inline: auto; }
.band-img { display: block; width: 100%; height: auto; margin-inline: auto; }
.band-zoom { display: none; }
.hot:focus-visible { outline: 3px solid var(--accent-soft); outline-offset: 6px; }
.band-cap { margin-top: 20px; max-width: 62ch; color: var(--ash); font-size: 17px; line-height: 1.5; text-shadow: 0 1px 12px #000, 0 0 4px #000; }
.band-label { text-shadow: 0 1px 10px #000; }
.band-mob { display: none; }
/* #510: the wide band's label and caption start on the page's text column, not at the band's 20px edge. */
@media (min-width: 721px) {
  .band { --inset: calc((var(--bw) - min(var(--max), 100vw - 40px)) / 2); }
  .band-label { padding-inline: var(--inset); }
  .band-cap { margin-left: var(--inset); }
}
/* #111 partner logos: one calm band, a slow drift that pauses on hover and focus, a static row under reduced motion. */
.logos { --logo-h: 34px; position: relative; isolation: isolate; min-width: 0; width: 100%; contain: inline-size; margin-top: clamp(48px, 7vh, 80px); padding: clamp(28px, 4vh, 44px) 0; }
/* Its own clear space, as the figure bands have: the planet never shows behind a logo. */
.logos::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); background: var(--void);
  mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
.logos .band-label { font-size: 14px; letter-spacing: 0.04em; text-transform: none; font-weight: 400; }
.logos-view { position: relative; overflow: hidden; padding: 18px 0; border-radius: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-view:focus-visible { outline: 1px solid var(--line-strong); outline-offset: 4px; }
.logos-track { display: flex; width: max-content; animation: logos-drift 100s linear infinite; }
.logos-view:hover .logos-track, .logos-view:focus-within .logos-track { animation-play-state: paused; }
.logos-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.logos-list li { flex: 0 0 auto; width: clamp(150px, 21vw, 280px); display: grid; place-items: center; height: calc(var(--logo-h) * 1.8); }
.logos-list img { display: block; width: auto; height: var(--logo-h); max-width: 82%; object-fit: contain; opacity: 0.7; }
@keyframes logos-drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .logos { --logo-h: 26px; }
  .logos-list li { width: 40vw; }
}
@media (prefers-reduced-motion: reduce) {
  .logos-view { mask-image: none; -webkit-mask-image: none; }
  .logos-track { animation: none; width: 100%; }
  .logos-list { flex-wrap: wrap; justify-content: center; row-gap: 8px; width: 100%; }
  .logos-list[aria-hidden='true'] { display: none; }
}

/* A heading on the band's grid (#110): same left edge and width as the figure, no card, no backdrop. */
.band-head { position: relative; width: 100%; padding-top: clamp(24px, 4vh, 48px); }
.band-head h2 { font-weight: 200; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -0.04em; max-width: 15ch; text-shadow: 0 2px 24px #000; }
.band-head p { margin-top: 18px; max-width: 34ch; color: var(--ash); font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; text-shadow: 0 1px 12px #000, 0 0 4px #000; }
.band.has-head { margin-top: clamp(16px, 2.5vh, 28px); padding: clamp(24px, 3vh, 36px) 0 clamp(16px, 2vh, 28px); }
.band-head { padding-top: 0; }
/* #110: the problem reads as one argument, so it takes less room than a full-screen section. */
.home section#problem { padding: clamp(72px, 9vh, 104px) 0 clamp(24px, 4vh, 48px); }
@media (min-width: 721px) {
  .band-head { --bw: min(1400px, 100vw - 40px); width: var(--bw); margin-left: calc((100% - var(--bw)) / 2); }
  /* #515: its text starts on the page text column, matching the FIG label under it. */
  .band-head { padding-inline: calc((var(--bw) - min(var(--max), 100vw - 40px)) / 2); }
}
.band-sec { border-top: 0; padding-top: 0; }
.band-table { margin-top: clamp(40px, 6vh, 72px); }

/* Ecosystem: the drawn HUGO, Orbiteer and Armillary nodes are links. js/figures.js moves .cf-hot onto the
   figure's stage, so these are the fragment's own pixel boxes (ecosystem.html) and scale with it. */
.cf-hot { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.cf-hot .hot { pointer-events: auto; }
.hot { position: absolute; display: block; border-radius: 999px; transition: box-shadow 200ms var(--ease), background-color 200ms var(--ease); }
.hot:hover { box-shadow: 0 0 0 2px var(--accent-soft); background-color: rgba(93,204,255,.07); }
.hot-hugo { left: 626px; top: 322px; width: 348px; height: 56px; }
.hot-orbiteer { left: 460px; top: 544px; width: 220px; height: 72px; border-radius: 12px; }
.hot-armillary { left: 680px; top: 460px; width: 240px; height: 240px; border-radius: 50%; }
.cf-scaled:not(.ready) .cf-hot { display: none; }

/* The rise: a little slower and calmer for figures. */
.js .band[data-rise] { transform: translateY(32px); filter: none; transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
.js .band[data-rise].in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .band[data-rise] { transform: none !important; transition: opacity .6s linear !important; }
}

/* Phones: text-heavy figures become real cards; pictorial ones stay images and open full size on tap. */
.mcards { display: grid; gap: 12px; }
.mcard { background: #0a0c10; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.mcard > .mono { margin-bottom: 10px; }
.mcard h3 { font-weight: 400; font-size: 19px; line-height: 1.3; }
.mcard h3 + p, .mcard > p:not(.mono) { color: var(--ash); font-size: 16px; margin-top: 8px; }
.mcard .hit { color: var(--accent-soft); margin-top: 14px; text-transform: none; letter-spacing: .02em; }
.mcard .miss { margin-top: 6px; text-transform: none; letter-spacing: .02em; }
.mnote { margin-top: 16px; padding-left: 14px; border-left: 1px solid var(--accent-soft); color: var(--ash); font-size: 15px; }
.mseq .award { border-color: rgba(93,204,255,.45); margin-bottom: 12px; }
.mseq .award p:not(.mono) { color: var(--bone); font-size: 17px; }
.mseq .mcards { position: relative; padding-left: 18px; }
.mseq .mcards::before { content: ''; position: absolute; left: 4px; top: -12px; bottom: 24px; width: 1px; background: linear-gradient(180deg, rgba(93,204,255,.5), var(--line)); }

/* Armillary hero: Hugo's sphere, sandboxed same-origin embed. */
/* The plate's height runs about 1.06 x its width + 108px (the readout line sits under the drawing), so the
   frame is sized from its container's width rather than a fixed ratio. */
.arm-fig { container-type: inline-size; width: 100%; }
.arm-frame { display: block; width: 100%; height: calc(100cqi * 1.06 + 108px); margin-inline: auto; border: 0; background: transparent; color-scheme: dark; }
@container (min-width: 521px) { .arm-frame { width: 520px; height: 659px; } }

@media (max-width: 720px) {
  .band { margin-top: 40px; }
  .band-desk { display: none; }
  .band-mob { display: block; }
  .band.desk-only { display: none; }
  .band.cap-desk .band-cap { display: none; }
  .band { padding: 40px 0 72px; }
  .band-cap { font-size: 16px; margin-top: 16px; }
  .band-zoom { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 11px; color: var(--ash); }
  .band-mob .timeline { margin-top: 0; }
}

/* #134 (call 4): How it works, step by step on scroll (js/hiw.js). Opacity and transform only. Without JS, or
   with reduced motion, nothing is dimmed or pinned and the rail shows complete. */
.hiw-track { position: relative; }
.hiw-track .band { margin-top: 10px; padding-block: 30px 22px; }
.hiw-rail { position: relative; display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 14px; color: var(--mist); }
@media (min-width: 721px) {
  .hiw-rail { --bw: min(1400px, 100vw - 40px); width: var(--bw); margin-left: calc((100% - var(--bw)) / 2); }
}
@media (max-width: 720px) { .hiw-rail { display: none; } }
.hiw-rail::before, .hiw-rail i { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.hiw-rail i { background: linear-gradient(90deg, rgba(93,204,255,.25), #00afff); transform-origin: 0 50%; }
.hiw-on .hiw-rail i { transform: scaleX(0); }
.hiw-on .hiw-rail span { opacity: .45; transition: opacity .5s var(--ease), color .5s var(--ease); }
.hiw-on .hiw-rail span.lit { opacity: 1; }
.hiw-on .hiw-rail span.now { color: #5dccff; }
.hiw-pin .hiw-stick { position: sticky; z-index: 1; }
.hiw-on .hiw-part { opacity: .12; transform: translateY(10px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.hiw-on .hiw-part.lit { opacity: 1; transform: none; }
.hiw-on .hiw-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); }
.hiw-on .hiw-line.lit { stroke-dashoffset: 0; }
.hiw-on .hiw-line:not(.lit) { marker-end: none; }
.hiw-track .mcard { position: relative; }
.hiw-on .hiw-track .mcard { opacity: .2; transform: translateY(16px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.hiw-on .hiw-track .mcard.lit { opacity: 1; transform: none; }
.hiw-track .mcard::before { content: ''; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: #00afff; transform: scaleY(0); transform-origin: 50% 0; transition: transform .9s var(--ease) .15s; }
.hiw-on .hiw-track .mcard.lit::before { transform: scaleY(1); }
.hiw-on .hiw-track .mcard:nth-child(2).lit { transition-delay: .08s; }
@media (prefers-reduced-motion: reduce) {
  .hiw-on .hiw-part, .hiw-on .hiw-track .mcard { opacity: 1; transform: none; }
}
