/* Kosa8 Labs — kosa8labs.com
   One stylesheet. Dark observatory: deep space, three lights (llamay ember,
   kosa8 gold, MAQPNA periwinkle) stacked as three blocks. Motion lives in
   site.js and stops under prefers-reduced-motion. */

@import url("../fonts/fonts.css");

:root {
  --void: #04060c;
  --deep: #080b16;
  --panel: rgba(18, 23, 42, .55);
  --panel-solid: #0d1222;
  --line: rgba(160, 175, 230, .14);
  --line-2: rgba(160, 175, 230, .26);
  --ink: #eef1fb;
  --ink-2: #b6bdd6;
  --ink-3: #7c86a8;
  --llamay: #ff8a4c;
  --kosa8: #ffc857;
  --maqpna: #8fa8ff;
  --teal: #3ee6d6;
  --violet: #7c5cff;
  --grad: linear-gradient(110deg, var(--llamay), var(--kosa8) 35%, var(--violet) 68%, var(--teal));
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: min(1220px, calc(100vw - 48px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--void); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(124, 92, 255, .45); }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--void); border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---- star field behind everything ------------------------------------ */
#sky { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("../img/grain.svg"); mix-blend-mode: overlay; }
.cursor-glow { position: fixed; z-index: -1; width: 560px; height: 560px; margin: -280px 0 0 -280px; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(124, 92, 255, .13), transparent 62%); transform: translate3d(-999px, -999px, 0); }

/* ---- type ---------------------------------------------------------------- */
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow b { color: var(--ink); font-weight: 500; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.display { font-size: clamp(48px, 9.2vw, 132px); letter-spacing: -.055em; line-height: .92; }
.display em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 5.6vw, 76px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: sheen 9s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--ink-2); max-width: 36ch; }
.mono { font-family: var(--mono); }

/* ---- nav ----------------------------------------------------------------- */
.nav { position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%); width: var(--wrap);
  display: flex; align-items: center; gap: 22px; padding: 10px 12px 10px 14px; border-radius: 18px;
  background: rgba(8, 11, 22, .55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); transition: background .3s var(--ease); }
.nav.scrolled { background: rgba(6, 8, 16, .82); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; font-size: 17px; }
.brand img { width: 34px; height: 34px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: 14px; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .06); }
.nav__links a .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 13px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); transition: transform .25s var(--ease), background .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); }
.btn--glow { border: 0; color: #05060b; background: var(--grad); background-size: 160% 100%; box-shadow: 0 10px 40px -10px rgba(124, 92, 255, .7); }
.btn--glow:hover { background-position: 100% 0; }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.nav__toggle { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); }

/* ---- hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: min(100svh, 1000px); display: grid; place-items: center; overflow: hidden; padding: 120px 0 80px; }
#nebula { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .95; }
.hero__fade { position: absolute; inset: auto 0 0; height: 40%; z-index: 1; background: linear-gradient(to bottom, transparent, var(--void)); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; width: var(--wrap); }
.hero__copy .eyebrow { margin-bottom: 26px; display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(8, 11, 22, .5); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(62, 230, 214, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(62, 230, 214, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 230, 214, 0); } }
.hero__copy .lead { margin: 28px 0 36px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trio { display: flex; gap: 22px; margin-top: 46px; }
.trio a { display: flex; align-items: center; gap: 10px; font: 500 13px/1.2 var(--mono); color: var(--ink-2); }
.trio a img { width: 30px; height: 30px; border-radius: 8px; }
.trio a:hover { color: var(--ink); }
.trio small { display: block; color: var(--ink-3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.hero .display { font-size: clamp(46px, 6.2vw, 96px); }
/* the animated tri-mark */
.orrery { position: relative; aspect-ratio: 1; width: min(440px, 100%); margin-inline: auto; }
.orrery svg { width: 100%; height: 100%; overflow: visible; }
.orrery .planet { opacity: 0; animation: fade .9s var(--ease) forwards; }
.orrery .planet:nth-of-type(1) { animation-delay: .3s; } .orrery .planet:nth-of-type(2) { animation-delay: .5s; } .orrery .planet:nth-of-type(3) { animation-delay: .7s; }
@keyframes fade { to { opacity: 1; } }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; z-index: 2; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 14px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- sections ---------------------------------------------------------------- */
section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head.center { text-align: center; justify-items: center; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* the flow: think → act → govern */
.flow { position: relative; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, rgba(124, 92, 255, .12), transparent 60%), var(--panel);
  overflow: hidden; }
.flow canvas { width: 100%; height: clamp(320px, 42vw, 520px); }
.flow__legend { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.flow__legend div { padding: 22px 20px; border-right: 1px solid var(--line); }
.flow__legend div:last-child { border-right: 0; }
.flow__legend b { display: block; font-size: 17px; letter-spacing: -.01em; }
.flow__legend span { font: 12px var(--mono); color: var(--ink-3); letter-spacing: .06em; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--ink-2); }
.chip i { width: 7px; height: 7px; border-radius: 50%; }

/* product worlds */
.world { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.world + .world { margin-top: clamp(110px, 14vw, 200px); }
.world.flip .world__art { order: -1; }
.world__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.world__logo img { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 0 0 1px var(--line-2), 0 18px 50px -14px var(--c, #fff); }
.world__logo span { font: 500 12px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.world h2 { font-size: clamp(40px, 5.2vw, 72px); }
.world h2 .c { color: var(--c); }
.world .lead { margin: 22px 0 34px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin-bottom: 30px; }
.stat { background: var(--deep); padding: 20px 18px; }
.stat b { display: block; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.04em; line-height: 1; color: var(--c, var(--ink)); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 9px; font: 12px/1.35 var(--mono); color: var(--ink-3); }
.world__art { position: relative; aspect-ratio: 1.05; border-radius: 30px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(90% 80% at 50% 40%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%), var(--panel-solid); }
.world__art canvas, .world__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.world__art .tag { position: absolute; left: 18px; top: 16px; z-index: 2; }
.term { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; padding: 16px 18px; border-radius: 16px; background: rgba(4, 6, 12, .82);
  border: 1px solid var(--line-2); font: 12.5px/1.65 var(--mono); color: var(--ink-2); min-height: 150px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.term .p { color: var(--c); } .term .ok { color: var(--teal); } .term .dim { color: var(--ink-3); }
.term .caret { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ledger stream */
.ledger { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: grid; gap: 8px; }
.ledger__row { display: grid; grid-template-columns: 70px 74px 1fr 64px; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px;
  background: rgba(4, 6, 12, .8); border: 1px solid var(--line); font: 12px var(--mono); color: var(--ink-2); animation: slidein .6s var(--ease); }
.ledger__row .v { font-weight: 600; letter-spacing: .08em; text-align: center; padding: 4px 0; border-radius: 6px; }
.v.allow { color: #3ee6a0; background: rgba(62, 230, 160, .1); } .v.hold { color: var(--kosa8); background: rgba(255, 200, 87, .1); } .v.deny { color: #ff6b81; background: rgba(255, 107, 129, .1); }
.ledger__row .h { color: var(--ink-3); text-align: right; }
@keyframes slidein { from { opacity: 0; transform: translateY(12px); } }

/* marquee of sectors */
.marquee { --gap: 14px; display: grid; overflow: hidden; gap: var(--gap); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__row { display: flex; gap: var(--gap); width: max-content; animation: marquee 48s linear infinite; }
.marquee__row.rev { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
.sector { display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); white-space: nowrap; font-weight: 500; }
.sector svg { width: 38px; height: 38px; padding: 8px; border-radius: 11px; background: rgba(255, 255, 255, .05); color: var(--c, var(--teal)); }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.num { padding: 30px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); position: relative; overflow: hidden; }
.num::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 30%, transparent), transparent); opacity: .5; }
.num b { position: relative; display: block; font-size: clamp(40px, 5vw, 66px); letter-spacing: -.05em; line-height: 1; color: var(--c); font-variant-numeric: tabular-nums; }
.num span { position: relative; display: block; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.num small { position: relative; display: block; margin-top: 6px; font: 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* principles bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 16px; }
.cell { position: relative; grid-column: span 2; padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: var(--panel); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; transition: border-color .3s, transform .4s var(--ease); }
.cell:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cell.w3 { grid-column: span 3; } .cell.w4 { grid-column: span 4; } .cell.tall { grid-row: span 2; }
.cell h3 { font-size: 21px; }
.cell p { margin: 6px 0 0; color: var(--ink-3); font-size: 14px; }
.cell .art { position: absolute; inset: 0 0 auto 0; height: 66%; display: grid; place-items: center; }
.cell .art svg { width: 70%; height: 80%; }

/* deployment spectrum */
.spectrum { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.spectrum::before { content: ""; position: absolute; left: 6%; right: 6%; top: 58px; height: 2px; background: var(--grad); opacity: .6; }
.place { position: relative; text-align: center; }
.place .orb { width: 116px; height: 116px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); border: 1px solid var(--line-2); box-shadow: 0 0 60px -10px var(--c); }
.place .orb svg { width: 52px; height: 52px; color: var(--c); }
.place b { display: block; font-size: 18px; }
.place span { font: 12px var(--mono); color: var(--ink-3); }

/* install */
.install { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cmd { min-width: 0; padding: 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.cmd header { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-weight: 600; }
.cmd header img { width: 34px; height: 34px; border-radius: 9px; }
.cmd header a { margin-left: auto; font: 12px var(--mono); color: var(--ink-3); }
.cmd header a:hover { color: var(--ink); }
.cmd pre { margin: 0; display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; border-radius: 13px; background: rgba(0, 0, 0, .45); border: 1px solid var(--line); font: 12.5px var(--mono); color: var(--ink-2); }
.cmd pre code { flex: 1; min-width: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd pre code::before { content: "$ "; color: var(--c); }
.copy { flex: none; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 11px var(--mono); cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink-3); }

/* closing */
.closer { text-align: center; overflow: hidden; }
.closer .display { font-size: clamp(46px, 8vw, 116px); }
.closer .ctas { justify-content: center; margin-top: 40px; }
.closer__mark { width: 128px; margin: 0 auto 36px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: linear-gradient(to bottom, transparent, rgba(124, 92, 255, .05)); }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot__brand p { color: var(--ink-3); max-width: 30ch; margin: 18px 0 22px; }
.foot__family { display: flex; gap: 10px; }
.foot__family a { display: flex; align-items: center; gap: 9px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; transition: border-color .2s; }
.foot__family a:hover { border-color: var(--line-2); }
.foot__family img { width: 26px; height: 26px; border-radius: 7px; }
.foot h4 { margin: 0 0 16px; font: 500 11px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-size: 14.5px; } .foot ul a:hover { color: var(--ink); }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--ink-3); }

/* sub pages */
.page-hero { padding: 180px 0 60px; text-align: center; position: relative; }
.page-hero .display { font-size: clamp(46px, 8vw, 110px); }
.page-hero .lead { margin: 26px auto 0; text-align: center; }
.page-hero__logo { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line-2), 0 30px 90px -20px var(--c); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); }
.feature svg { width: 46px; height: 46px; padding: 10px; border-radius: 13px; background: rgba(255, 255, 255, .05); color: var(--c); margin-bottom: 22px; }
.feature h3 { font-size: 20px; } .feature p { margin: 8px 0 0; color: var(--ink-3); font-size: 14.5px; }
.prose { max-width: 720px; margin-inline: auto; color: var(--ink-2); font-size: 17px; }
.prose h2 { font-size: 30px; color: var(--ink); margin: 54px 0 14px; }
.prose a { color: var(--teal); border-bottom: 1px solid rgba(62, 230, 214, .35); }
.brand-sheet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.swatch { border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.swatch .plate { aspect-ratio: 1.3; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(124, 92, 255, .14), transparent 70%), var(--deep); }
.swatch .plate img { width: 46%; }
.swatch .plate.light { background: #f3f4f8; }
.swatch footer { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; font-size: 14px; }
.swatch footer a { font: 12px var(--mono); color: var(--teal); }
.colors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 16px; }
.color { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); font: 12px var(--mono); }
.color i { display: block; height: 86px; background: var(--c); }
.color span { display: block; padding: 10px 12px; color: var(--ink-2); }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-cards a { padding: 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); transition: border-color .2s, transform .3s var(--ease); }
.contact-cards a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.contact-cards b { display: block; font-size: 20px; margin: 18px 0 6px; } .contact-cards span { color: var(--ink-3); font: 13px var(--mono); }
.contact-cards svg { width: 44px; height: 44px; color: var(--c); }


/* ---- per-product colour, as classes: the CSP forbids inline style -------------- */
.c-llamay { --c: var(--llamay); } .c-kosa8 { --c: var(--kosa8); } .c-maqpna { --c: var(--maqpna); }
.c-teal { --c: var(--teal); } .c-violet { --c: var(--violet); } .c-ink { --c: var(--ink); } .c-void { --c: var(--void); }
.dot { background: var(--c); } .bg-c, .chip i { background: var(--c, var(--teal)); }
.cc { color: var(--c); }
.cell .art { color: var(--c); } .cell .art svg { width: 64%; height: 76%; }
.btn--ghost { border-color: transparent; color: var(--ink-2); }
.btn--ghost:hover { color: var(--ink); }
.ctas.center, .foot__family.center { justify-content: center; }
.foot__family.center { flex-wrap: wrap; }
.page-hero .ctas { margin-top: 36px; }
.page-hero .eyebrow { display: block; margin-bottom: 22px; }
.page-hero .lead a { color: var(--teal); }
section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.install--one { grid-template-columns: minmax(0, 640px); justify-content: center; }
.note { margin-top: 26px; color: var(--ink-3); font-size: 14px; text-align: center; }
#nebula.fallback { background: radial-gradient(60% 50% at 70% 40%, rgba(124, 92, 255, .35), transparent 70%), radial-gradient(50% 40% at 25% 70%, rgba(255, 138, 76, .25), transparent 70%); }
.world__art .tag { background: rgba(4, 6, 12, .7); }

.cell .art .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 80%; }
.cell .art .tags span { font: 12px var(--mono); padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--c); }

/* ---- responsive ------------------------------------------------------------------ */
@media (max-width: 1020px) {
  .hero__inner, .world { grid-template-columns: 1fr; }
  .world.flip .world__art { order: 0; }
  .orrery { width: min(440px, 88vw); }
  .numbers, .install, .feature-grid, .brand-sheet, .contact-cards { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .cell, .cell.w3, .cell.w4 { grid-column: span 1; } .cell.tall { grid-row: span 1; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .flow__legend { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; }
  .colors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav__links { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; padding: 10px; border-radius: 16px; background: rgba(6, 8, 16, .96); border: 1px solid var(--line); }
  .nav.open .nav__links { display: flex; }
  .nav__toggle { display: grid; place-items: center; }
  .nav .btn--sm { display: none; }
  .numbers, .install, .feature-grid, .brand-sheet, .contact-cards, .spectrum { grid-template-columns: 1fr; }
  .spectrum::before { display: none; }
  .bento { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .trio { flex-wrap: wrap; }
  .foot__grid { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 62px 66px minmax(0, 1fr); padding: 9px 10px; font-size: 11px; }
  .ledger__row .h { display: none; }
  .ledger__row span:nth-child(3) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .orrery .planet { opacity: 1; }
}
