/* bridgeye.com: one stylesheet for every page.
   Direction (owner, 24 Nov 2026): the calm of Anthropic, the precision of
   Linear and Vercel, and the motion of the "cairn" landing template: words
   rise out of a blur, cards pop in, steps fill a progress line. The visuals
   are real NOVA screens set on drawn ridgeline scenes (assets/scenes, made
   by _src/scenes.py). No pill shapes anywhere: corners stay 6 to 16px. */

:root {
  --bg: #ffffff; /* the same white as runnova.ai's light theme (owner, 24 Nov) */
  --card: #ffffff;
  --ink: #111211;
  --ink-2: #3d403c;
  --mute: #5c5f5b;
  --faint: #8b8e89;
  --line: rgba(17, 18, 17, 0.1);
  --line-2: rgba(17, 18, 17, 0.18);
  --soft: #f5f5f5; /* runnova.ai's neutral grey */
  --hot: #e2552c;
  --cobalt: #3a63f0;
  --champ: #e6cfa6;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --brand: "Poppins", "Inter", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0c0c0d;
  --card: #151517;
  --ink: #f1efea;
  --ink-2: #cfccc5;
  --mute: #9d9b95;
  --faint: #6c6b67;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --soft: #1c1c1f;
  --cobalt: #6f8fff;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; transition: background-color .5s var(--ease), color .5s var(--ease); overflow-x: clip; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wide { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 clamp(10px, 1.4vw, 20px); }
.wordmark { font-family: var(--brand); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* ── Type ─────────────────────────────────────────────────────────────── */
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 7.4vw, 100px); line-height: 1; letter-spacing: -0.02em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.03; letter-spacing: -0.02em; margin: 0; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.01em; margin: 0; }
.display em, .h2 em, .h3 em { font-style: italic; }
.lede { font-size: clamp(15.5px, 1.25vw, 17.5px); line-height: 1.7; color: var(--mute); max-width: 34em; margin: 0; }
p { margin: 0 0 1em; }
.kicker { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hot) 18%, transparent); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── Buttons: 8px corners, label rolls on hover ───────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 500; overflow: hidden; white-space: nowrap; transition: background-color .25s, box-shadow .3s, transform .3s var(--ease); }
.btn svg { width: 14px; height: 14px; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { box-shadow: 0 12px 30px -14px rgba(17, 18, 17, .55); transform: translateY(-1px); }
.btn-line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-white { background: #fff; color: #111; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.roll { position: relative; display: inline-block; overflow: hidden; line-height: 1.35; }
.roll > span { display: block; transition: transform .5s var(--ease); }
.roll::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform .5s var(--ease); }
.btn:hover .roll > span, .btn:hover .roll::after { transform: translateY(-100%); }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 14px; }
.link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(3px); }
.badge { display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px 0 12px; border-radius: 7px; background: var(--soft); font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.badge .dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.badge .dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; animation: ping 2.6s var(--ease) infinite; }
.badge svg { width: 12px; height: 12px; opacity: .6; transition: transform .35s var(--ease); }
.badge:hover svg { transform: translateX(3px); }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.8); opacity: 0; } }

/* ── Header ───────────────────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; transition: background-color .35s, box-shadow .35s, transform .5s var(--ease); }
.nav.is-scrolled { background: color-mix(in oklab, var(--bg) 84%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-102%); }
.nav .wrap { display: flex; align-items: center; gap: 24px; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; }
.brand img { width: 30px; height: 30px; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) translateY(-1px); }
.links { position: relative; display: flex; gap: 2px; }
.links a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border-radius: 7px; font-size: 13.5px; color: var(--mute); transition: color .2s; }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.links .hl { position: absolute; top: 0; left: 0; height: 34px; border-radius: 7px; background: var(--soft); opacity: 0; pointer-events: none; transition: transform .35s var(--ease), width .35s var(--ease), opacity .2s; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--mute); transition: background-color .2s, color .2s; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn svg { width: 17px; height: 17px; }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
.menu-btn { display: none; }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--bg); padding: 8px var(--gutter) 28px; display: none; flex-direction: column; }
.sheet.open { display: flex; animation: fade .35s var(--ease); }
.sheet .top { display: flex; justify-content: space-between; align-items: center; height: 56px; margin-bottom: 30px; }
.sheet nav a { display: block; font-family: var(--serif); font-size: 46px; line-height: 1.18; letter-spacing: -0.02em; animation: rise .6s var(--ease) both; }
.sheet nav a:nth-child(2) { animation-delay: .05s; } .sheet nav a:nth-child(3) { animation-delay: .1s; } .sheet nav a:nth-child(4) { animation-delay: .15s; } .sheet nav a:nth-child(5) { animation-delay: .2s; }
.sheet > .btn { margin-top: auto; }
@media (max-width: 860px) { .links, .nav-right > .btn { display: none; } .menu-btn { display: grid; } }

/* ── Motion vocabulary ────────────────────────────────────────────────── */
@keyframes word { from { transform: translateY(.35em); opacity: 0; filter: blur(6px); } to { transform: none; opacity: 1; filter: none; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop { from { transform: translateY(16px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes roll-in { from { transform: translateY(60%); opacity: 0; filter: blur(4px); } to { transform: none; opacity: 1; filter: none; } }
/* site.js splits .words into .w spans; each rises out of a blur in turn. */
.js .words .w { display: inline-block; opacity: 0; }
.js .words.in .w { animation: word .9s var(--ease) both; animation-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.js .up { opacity: 0; }
.js .up.in { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
.js .popin { opacity: 0; }
.js .popin.in { animation: pop .9s var(--ease) both; animation-delay: var(--d, 0ms); }
/* Headings that light up word by word as you scroll past. */
.js .fill .w { opacity: .2; transition: opacity .45s var(--ease); }
.js .fill .w.lit { opacity: 1; }

/* ── Scenes: drawn ridgelines behind real NOVA screens ────────────────── */
.scene { position: relative; overflow: hidden; border-radius: 16px; isolation: isolate; background: #d9b18a; }
.scene .bg { position: absolute; inset: -4% 0 0; z-index: -2; background: center bottom / cover no-repeat; transform: scale(var(--zoom, 1.06)); transform-origin: 50% 100%; will-change: transform; }
.scene.ember { background: #f0b06e; } .scene.ember .bg { background-image: url("/assets/scenes/ember.svg"); }
.scene.dusk { background: #b7bde6; } .scene.dusk .bg { background-image: url("/assets/scenes/dusk.svg"); }
.scene.dawn { background: #c4d2ea; } .scene.dawn .bg { background-image: url("/assets/scenes/dawn.svg"); }
.scene.night { background: #0a0f22; } .scene.night .bg { background-image: url("/assets/scenes/night.svg"); }
.scene canvas.stars { position: absolute; inset: 0; width: 100%; height: 70%; z-index: -1; pointer-events: none; }
.scene::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .14; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 11px; border-radius: 7px; background: rgba(12, 14, 18, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: rgba(255, 255, 255, .92); font: 500 11px var(--mono); letter-spacing: .04em; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* A window frame around a real NOVA recording */
.window { position: absolute; z-index: 1; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -35px rgba(10, 12, 20, .6), 0 0 0 1px rgba(17, 18, 17, .08); }
.window .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f4f3f0; border-bottom: 1px solid rgba(17, 18, 17, .07); }
.window .bar i { width: 9px; height: 9px; border-radius: 50%; background: #dcdad5; }
.window .bar span { margin-left: 8px; font: 500 11px var(--mono); color: #8b8e89; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.window.bare { background: #ececee; }
.screen { position: relative; aspect-ratio: 1120 / 700; background: #f4f3f0; }
.window.bare .screen { background: #ececee; }
.screen > video, .screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.screen > .on { opacity: 1; }

/* Floating chat bubbles */
.bubble { position: absolute; z-index: 2; width: max-content; max-width: 290px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; box-shadow: 0 24px 50px -20px rgba(10, 12, 20, .55); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.bubble.me { background: #111211; color: #f1efea; }
.bubble.nova { background: #fff; color: #111211; }
.bubble .who { display: flex; align-items: center; gap: 6px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .55; margin-bottom: 5px; }
.bubble .who::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.bubble.nova .who::before { background: var(--hot); opacity: 1; }
.bubble.out { opacity: 0; transform: translateY(10px) scale(.97); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(48px, 7vw, 92px) 0 0; }
.hero .badge { margin-bottom: 28px; }
.hero .lede { margin-top: 24px; }
.hero .cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.hero-stage { margin-top: clamp(48px, 6vw, 76px); }
.hero-stage .scene { height: clamp(560px, 50vw, 760px); }
.hero-stage .window { left: 50%; top: 12%; width: min(62%, 820px); transform: translateX(-50%); }
.hero-stage .bubble.me { left: 5%; top: 16%; }
.hero-stage .bubble.nova { right: 5%; bottom: 20%; }
.hero-stage .chip { right: 18px; top: 18px; }
.tabs { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(12, 14, 18, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.tab { position: relative; height: 30px; padding: 0 13px; border-radius: 7px; font-size: 12.5px; color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; transition: background-color .3s, color .3s; }
.tab:hover { color: #fff; }
.tab.on { background: rgba(255, 255, 255, .92); color: #111; }
.tab .prog { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1.5px; background: rgba(0, 0, 0, .12); overflow: hidden; opacity: 0; }
.tab.on .prog { opacity: 1; }
.tab .prog i { display: block; height: 100%; background: #111; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 860px) {
  .hero-stage .scene { height: 600px; }
  .hero-stage .window { width: 92%; top: 34%; }
  .hero-stage .bubble.me { left: 4%; top: 5%; max-width: 250px; }
  .hero-stage .bubble.nova { right: 4%; bottom: 76px; top: auto; max-width: 250px; }
  .hero-stage .chip { display: none; }
  .tabs { left: 10px; right: 10px; transform: none; justify-content: space-between; }
  .tab { flex: 1; padding: 0 6px; font-size: 11.5px; }
  .hero .badge { font-size: 9.5px; letter-spacing: .04em; }
}

/* ── Marquee ──────────────────────────────────────────────────────────── */
.marquee-wrap { padding: 64px 0 0; }
.marquee-label { text-align: center; font-size: 13px; color: var(--faint); margin: 0 0 18px; }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.track span { display: flex; align-items: center; height: 56px; padding: 0 36px; font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; opacity: .5; transition: opacity .45s, transform .45s var(--ease); }
.track span:hover { opacity: 1; transform: translateY(-2px); }
.track .s { font-family: var(--serif); font-weight: 400; font-size: 24px; letter-spacing: 0; }
.track .m { font-family: var(--mono); font-weight: 500; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section.tight { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { margin-bottom: clamp(48px, 6vw, 80px); }
.section-head .kicker { margin-bottom: 22px; }
.section-head .lede { margin-top: 20px; }
.section-head.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Canvas: sticky steps on one side, the product on the other */
.canvas { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.32fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.canvas + .canvas { margin-top: clamp(96px, 11vw, 150px); }
.canvas.flip { grid-template-columns: minmax(0, 1.32fr) minmax(0, .78fr); }
.canvas.flip .canvas-copy { order: 2; }
.canvas-name { display: flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 500; letter-spacing: -0.03em; }
.canvas-name .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--ink); color: var(--bg); }
.canvas-name .ic svg { width: 16px; height: 16px; }
.canvas-text { margin: 16px 0 28px; color: var(--mute); max-width: 30em; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps .bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.steps .bar i { display: block; height: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.step-btn { display: flex; align-items: baseline; gap: 12px; width: 100%; padding: 17px 0; font-size: 15px; color: var(--mute); text-align: left; transition: color .3s; }
.step-btn .n { font: 400 12.5px/1 var(--mono); color: var(--faint); transition: color .3s; }
.steps li.on .step-btn { color: var(--ink); }
.steps li.on .step-btn .n { color: var(--hot); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.step-body > div { overflow: hidden; }
.step-body p { padding: 0 0 20px; font-size: 14px; line-height: 1.85; color: var(--mute); max-width: 42ch; margin: 0; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease); }
.steps li.on .step-body { grid-template-rows: 1fr; }
.steps li.on .step-body p { opacity: 1; transform: none; transition-delay: .12s; }
.canvas-stage .scene { aspect-ratio: 4 / 3.15; }
.canvas-stage .window { left: 50%; top: 50%; width: 86%; transform: translate(-50%, -50%); }
@media (max-width: 900px) { .canvas, .canvas.flip { grid-template-columns: 1fr; } .canvas.flip .canvas-copy { order: 0; } .canvas-stage .scene { aspect-ratio: 4 / 3.4; } .canvas-stage .window { width: 92%; } }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 28px 24px 6px 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact .big { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.fact .small { margin-top: 12px; font-size: 13.5px; color: var(--mute); max-width: 24ch; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .fact:nth-child(3) { padding-left: 0; border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Ecosystem grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tile { position: relative; display: flex; flex-direction: column; min-height: 240px; padding: 28px 26px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background-color .35s; overflow: hidden; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--cobalt) 9%, transparent), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile:hover { background: var(--card); }
.tile .ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: var(--soft); margin-bottom: 22px; transition: transform .6s var(--spring); }
.tile:hover .ic { transform: translateY(-3px) rotate(-6deg); }
.tile .ic svg { width: 17px; height: 17px; }
.tile h3 { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; margin: 0 0 8px; }
.tile p { color: var(--mute); font-size: 14px; margin: 0 0 18px; }
.tile .link { margin-top: auto; color: var(--mute); transition: color .25s; }
.tile:hover .link { color: var(--ink); }
@media (max-width: 900px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* Belief statement */
.belief { font-family: var(--serif); font-size: clamp(32px, 4.2vw, 58px); line-height: 1.14; letter-spacing: -0.015em; margin: 0; max-width: 22em; }
.belief-by { margin-top: 28px; font-size: 13.5px; color: var(--mute); }

/* ── Team cards (expand on hover, glow in the card's colour) ──────────── */
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.team-head .hint { font-size: 12.5px; color: var(--mute); max-width: 24ch; text-align: right; margin: 0; }
.team { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; height: 470px; }
.mate { --a1: #3a63f0; --a2: #e6cfa6; position: relative; flex: 1 1 0; min-width: 0; border-radius: 20px; overflow: hidden; isolation: isolate; color: #fff; outline: none; background: linear-gradient(#141418, #0b0b0e);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .09) inset, 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 60px -30px rgba(0, 0, 0, .6);
  transition: flex-grow .8s var(--ease), transform .8s var(--ease), box-shadow .8s var(--ease), filter .6s; }
.mate:nth-child(2) { --a1: #e6cfa6; --a2: #e2552c; }
.mate:nth-child(3) { --a1: #2bb5a0; --a2: #3a63f0; }
.mate:nth-child(4) { --a1: #8a5cf6; --a2: #e6cfa6; }
.mate.on { flex-grow: 1.9; transform: translateY(-6px); box-shadow: 0 1px 0 rgba(255, 255, 255, .14) inset, 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 80px -30px color-mix(in srgb, var(--a1) 55%, transparent); }
.team.any .mate:not(.on) { filter: saturate(.55) brightness(.82); }
.mate:focus-visible { box-shadow: 0 0 0 2px #fff, 0 0 0 5px var(--a1); }
.aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(38px); transition: transform 1.1s var(--ease), opacity .8s; }
.aura i:nth-child(1) { width: 120%; height: 70%; left: -30%; bottom: -28%; background: radial-gradient(closest-side, var(--a1), transparent); opacity: .7; animation: drift 9s ease-in-out infinite alternate; }
.aura i:nth-child(2) { width: 90%; height: 60%; right: -35%; bottom: -20%; background: radial-gradient(closest-side, var(--a2), transparent); opacity: .5; animation: drift 11s ease-in-out infinite alternate-reverse; }
.aura i:nth-child(3) { width: 70%; height: 40%; left: 15%; bottom: -30%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), transparent); opacity: 0; }
.mate.on .aura i:nth-child(1) { transform: translateY(-34%) scale(1.25); opacity: .95; }
.mate.on .aura i:nth-child(2) { transform: translate(-18%, -30%) scale(1.3); opacity: .85; }
.mate.on .aura i:nth-child(3) { transform: translateY(-20%); opacity: .2; }
@keyframes drift { to { translate: 8% -6%; } }
.mate::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .14) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1.2s var(--ease); }
.mate.on::before { transform: translateX(120%); }
.mate-in { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; padding: 24px 24px 22px; }
.mate-top { display: flex; justify-content: space-between; align-items: flex-start; }
.mate .idx { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: rgba(255, 255, 255, .42); }
.mate .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--a1) 25%, transparent), 0 0 14px var(--a1); }
.mate .nm { font: 600 clamp(19px, 1.9vw, 24px)/1.08 var(--sans); letter-spacing: -0.025em; margin: 18px 0 6px; }
.mate .rl { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin: 0; }
.mate .bio { width: min(300px, 100vw - 96px); margin-top: 22px; opacity: 0; transform: translateY(14px); transition: opacity .35s, transform .6s var(--ease); pointer-events: none; }
.mate.on .bio { opacity: 1; transform: none; transition-delay: .18s; pointer-events: auto; }
.mate .bio p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .82); margin: 0 0 16px; }
.mate dl { display: flex; gap: 22px; margin: 0; }
.mate dl div { display: flex; flex-direction: column; gap: 5px; }
.mate dt { font: 500 10px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.mate dd { margin: 0; font-weight: 600; font-size: 14px; }
.mate-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.mate .photo { position: relative; flex: 0 0 auto; width: 80px; height: 80px; border-radius: 16px; overflow: hidden; transform-origin: 0 100%; transition: transform .8s var(--spring), border-radius .8s var(--ease); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22), 0 16px 30px -10px rgba(0, 0, 0, .7); }
.mate .photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) contrast(1.05); transition: filter .8s; }
.mate.on .photo { transform: scale(1.45); border-radius: 18px; }
.mate.on .photo img { filter: none; }
.mate .go { display: flex; gap: 6px; opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .6s var(--spring); }
.mate.on .go { opacity: 1; transform: none; transition-delay: .26s; }
.mate .go a { font-size: 11.5px; font-weight: 600; padding: 9px 11px; border-radius: 8px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); transition: background-color .2s, transform .2s; }
.mate .go a:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.js .team .mate { opacity: 0; }
.js .team.in .mate { animation: card-in 1s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotate(calc(var(--s, 0) * 3deg)) scale(.94); } to { opacity: 1; transform: none; } }
.js .team.in .mate.on { animation: none; opacity: 1; }
@media (max-width: 860px) {
  .team { flex-direction: column; height: auto; }
  .mate { flex: none; height: 132px; transition: height .8s var(--ease), box-shadow .8s var(--ease), filter .6s; }
  .mate.on { height: 400px; transform: none; }
  .mate .photo { width: 60px; height: 60px; }
  .mate.on .photo { transform: scale(1.3); }
  .mate-in { padding: 18px 18px 16px; }
  .mate .nm { margin-top: 10px; }
  .mate-foot { position: absolute; right: 16px; top: 16px; }
  .mate.on .mate-foot { position: static; }
  .team-head .hint { text-align: left; }
}

/* Night call to action */
.cta-night .scene { min-height: clamp(520px, 44vw, 640px); display: grid; place-items: center; text-align: center; color: #fff; padding: 90px 24px 140px; }
.cta-night .h2 { color: #fff; max-width: 14em; }
.cta-night .lede { color: rgba(255, 255, 255, .74); margin: 20px auto 0; }
.cta-night .cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.cta-night .kicker { color: rgba(255, 255, 255, .85); margin-bottom: 24px; }
.cta-night .marks { display: flex; justify-content: center; gap: 22px; margin-top: 36px; font: 500 10.5px var(--mono); letter-spacing: .1em; color: rgba(255, 255, 255, .62); text-transform: uppercase; flex-wrap: wrap; }
.cta-night .marks span::before { content: "◇"; margin-right: 8px; opacity: .7; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { padding: 88px 0 30px; overflow: hidden; }
.f-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.f-grid .about { font-size: 13.5px; color: var(--mute); margin: 16px 0 14px; max-width: 30ch; }
.f-grid .mail { font-size: 13.5px; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.f-grid h4 { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 16px; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; }
.f-grid ul a { color: var(--ink-2); transition: color .2s; }
.f-grid ul a:hover { color: var(--ink); }
.f-word { font-family: var(--brand); font-weight: 600; text-transform: uppercase; font-size: clamp(54px, 15.4vw, 236px); line-height: .82; letter-spacing: .01em; margin: 72px 0 0; display: flex; justify-content: space-between; user-select: none; padding-top: .08em; }
.f-word span { display: inline-block; color: var(--ink); transform: translateY(calc((1 - var(--k, 1)) * 70%)); opacity: var(--k, 1); filter: blur(calc((1 - var(--k, 1)) * 10px)); will-change: transform, opacity, filter;
  background: linear-gradient(180deg, var(--ink) 35%, color-mix(in srgb, var(--ink) 18%, var(--bg)) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.f-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--faint); }
.f-legal nav { display: flex; gap: 18px; }
.f-legal a:hover { color: var(--ink); }
@media (max-width: 820px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-grid > :first-child { grid-column: 1 / -1; } }

/* ── Inner pages ──────────────────────────────────────────────────────── */
.page-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 72px); }
.page-hero .kicker { margin-bottom: 24px; }
.page-hero .lede { margin-top: 22px; }
.page-band .scene { height: clamp(300px, 34vw, 460px); }
.page-band .scene .window { left: 50%; bottom: -14%; width: min(58%, 720px); transform: translateX(-50%); }
@media (max-width: 860px) { .page-band .scene .window { width: 88%; bottom: -8%; } }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.prose p { font-size: 16.5px; color: var(--mute); max-width: 36em; }
.prose p.big { font-family: var(--serif); font-size: clamp(27px, 2.7vw, 38px); line-height: 1.22; color: var(--ink); letter-spacing: -0.01em; }
.list { border-top: 1px solid var(--line); }
.list .row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.4fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .5s var(--ease); }
.list .row:hover { padding-left: 10px; }
.list .row .n { font: 400 12.5px var(--mono); color: var(--hot); }
.list .row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 34px); letter-spacing: -0.01em; margin: 0; }
.list .row p { color: var(--mute); margin: 0; }
@media (max-width: 720px) { .list .row { grid-template-columns: 40px 1fr; } .list .row p { grid-column: 2; } }
.product { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--line); }
.product.flip { grid-template-columns: minmax(0, 1.28fr) minmax(0, .82fr); }
.product.flip .copy { order: 2; }
.product .copy .kicker { margin-bottom: 20px; }
.product .copy .lede { margin-top: 16px; }
.product ul { list-style: none; margin: 24px 0 28px; padding: 0; border-top: 1px solid var(--line); }
.product li { display: flex; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.product li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 9px; border-radius: 1px; background: var(--hot); }
.product .scene { aspect-ratio: 4 / 3.1; }
.product .window { left: 50%; top: 50%; width: 86%; transform: translate(-50%, -50%); }
.product .art { position: absolute; inset: 8%; z-index: 1; display: grid; place-items: center; }
.product .art img { max-height: 100%; border-radius: 12px; box-shadow: 0 50px 100px -35px rgba(10, 12, 20, .6); }
@media (max-width: 900px) { .product, .product.flip { grid-template-columns: 1fr; } .product.flip .copy { order: 0; } .product .window { width: 92%; } }
.code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13px var(--mono); margin-bottom: 24px; }
.code .p { color: var(--hot); margin-right: 8px; }
.code button { font: 500 11px var(--mono); color: var(--mute); padding: 5px 9px; border-radius: 6px; background: var(--soft); transition: color .2s; }
.code button:hover { color: var(--ink); }
/* Install box: a small terminal card. Top row names the shell and holds
   Copy; the command sits on one line below and scrolls if it must. */
[data-install] .code { display: grid; grid-template-columns: 1fr auto; row-gap: 10px; margin-bottom: 10px; padding: 10px 12px 14px; }
[data-install] .code::before { content: attr(data-shell); align-self: center; font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
[data-install] .code > button { grid-column: 2; grid-row: 1; }
[data-install] .code > span { grid-column: 1 / -1; min-width: 0; white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 11.5px; }
[data-install] .code > span::-webkit-scrollbar { display: none; }
.code-for { font-size: 12.5px; color: var(--faint); margin: 0 0 24px; }
.code-for button { font-size: 12.5px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); margin-left: 4px; transition: color .2s, border-color .2s; }
.code-for button:hover { color: var(--ink); border-color: var(--ink); }
.globe-card .scene { aspect-ratio: 1 / 1; }
.globe-card canvas.globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.reach { border-top: 1px solid var(--line); }
.reach a, .reach .r { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.reach a:hover { padding-left: 10px; }
.reach .k { font: 500 10.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.reach .v { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.reach svg { width: 16px; height: 16px; color: var(--mute); transition: transform .35s var(--ease); }
.reach a:hover svg { transform: translateX(3px); color: var(--ink); }
@media (max-width: 560px) { .reach a, .reach .r { grid-template-columns: 1fr auto; } .reach .k { grid-column: 1 / -1; } }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -40px rgba(17, 18, 17, .35); }
.form .fields { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; }
.field input, .field textarea { font: inherit; color: var(--ink); background: var(--bg); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 8px; padding: 12px 13px; transition: box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.form .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form .note { font-size: 12.5px; color: var(--faint); margin: 0; }
.form .err { display: none; color: #d6452c; font-size: 13.5px; margin: 0; }
.form.failed .err { display: block; }
.form .done { display: none; padding: 30px 4px; }
.form.sent .fields { display: none; }
.form.sent .done { display: block; animation: pop .7s var(--ease) both; }
.lost .scene { min-height: 74vh; display: grid; place-items: center; text-align: center; color: #fff; padding: 60px 24px 140px; }
.lost .big { font-family: var(--serif); font-size: clamp(110px, 20vw, 240px); line-height: .9; }
.lost .lede { color: rgba(255, 255, 255, .78); margin: 14px auto 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .words .w, .js .up, .js .popin, .js .team .mate { opacity: 1; }
  .js .fill .w { opacity: 1; }
  .f-word span { transform: none; opacity: 1; filter: none; }
}

/* ── The real NOVA logos (from NOVA itself: assets/nova) ──────────────── */
.nova-ring { display: inline-block; flex: none; object-fit: contain; }
.window .bar span .nova-ring { width: 14px; height: 14px; vertical-align: -3px; margin-right: 6px; }
.badge .nova-ring { width: 16px; height: 16px; }
.canvas-name .nova-ring { width: 34px; height: 34px; }
.tile .ic.ring { background: none; width: 38px; height: 38px; }
.tile .ic.ring .nova-ring { width: 38px; height: 38px; }
.h2 > .nova-ring { width: .78em; height: .78em; vertical-align: -.06em; margin-right: .2em; }
.nova-word { height: 22px; width: auto; }
.word-head { margin-bottom: 12px !important; }
.word-head a { display: inline-block; }
.light-ink { display: none; }
:root[data-theme="dark"] .light-ink { display: inline-block; }
:root[data-theme="dark"] .dark-ink { display: none; }

/* ── Scroll-driven steps: the section pins and each stretch of scrolling
      moves to the next step (site.js adds .canvas-track on wide screens) ── */
.canvas-track { position: relative; }
.canvas-track > .canvas { position: sticky; top: 0; height: 100vh; height: 100svh; margin: 0; align-content: center; }
.canvas-track .canvas-stage { width: 100%; max-width: calc(76svh * 4 / 3.15); justify-self: center; }
.canvas-track .steps li.on .step-btn .n { transform: translateX(2px); }
/* Phones: the pinned section has to fit one screen, so the video goes on
   top, the intro line is dropped (the steps say the same) and rows tighten. */
@media (max-width: 900px) {
  .canvas-track > .canvas { gap: 16px; padding: 72px 0 12px; align-content: center; }
  .canvas-track .canvas-stage { order: -1; max-width: none; }
  .canvas-track .canvas-stage .scene { aspect-ratio: 16 / 11; }
  .canvas-track .canvas-text { display: none; }
  .canvas-track .canvas-name { font-size: 22px; margin-bottom: 10px; }
  .canvas-track .canvas-name .nova-ring { width: 28px; height: 28px; }
  .canvas-track .step-btn { padding: 11px 0; font-size: 14px; }
  .canvas-track .step-body p { font-size: 13px; line-height: 1.6; padding-bottom: 12px; }
}
@media (max-width: 900px) and (max-height: 640px) {
  .canvas-track > .canvas { gap: 12px; padding: 56px 0 8px; }
  .canvas-track .canvas-stage .scene { aspect-ratio: 16 / 9.5; }
  .canvas-track .step-btn { padding: 9px 0; }
}
.step-btn .n { transition: color .3s, transform .5s var(--ease); }

/* ── Scenes that grow as they reach the middle of the screen and shrink
      as they leave (site.js sets --zs between about .88 and 1) ────────── */
.zoomy > .scene { transform: scale(var(--zs, 1)); transform-origin: 50% 50%; will-change: transform; border-radius: calc(16px + (1 - var(--zs, 1)) * 30px); }
