/* Ctrl Alt Go — v2 "Orbit / Keynote cinema" */
:root {
  --bg: #05060a;
  --bg2: #0a0b13;
  --ink: #f4f5fb;
  --muted: #a6adc2;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .045);
  --violet: #a98bff;
  --cyan: #46d6ff;
  --pink: #ff6fb5;
  --grad: linear-gradient(100deg, #ffffff 0%, #d9ccff 30%, #9fb4ff 55%, #5fe3ff 100%);
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter Tight", "Inter", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --nav-h: 64px;
  --gutter: max(20px, 5vw);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::after { /* film grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .05;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main { overflow: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
:focus-visible { outline: 2px solid #8fdcff; outline-offset: 3px; border-radius: 10px; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.noscript { padding: 24px; text-align: center; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1 var(--mono); letter-spacing: .14em;
  text-transform: uppercase; color: #c9cfe0;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px #9b84ff; }
.h2 {
  font: 800 clamp(2.5rem, 6.4vw, 5.8rem)/.98 var(--display); letter-spacing: -.045em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-head { position: relative; max-width: 1000px; margin: 0 auto; padding: 18vh 24px 8vh; text-align: center; display: grid; gap: 22px; justify-items: center; }
.section-sub { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }
.center { text-align: center; margin-top: 48px; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font: 600 1rem/1.1 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(100deg, #ffffff, #e2d9ff); color: #07080d; box-shadow: 0 12px 44px rgba(140, 110, 255, .35), inset 0 -2px 0 rgba(0, 0, 0, .08); }
.btn--primary:hover { box-shadow: 0 16px 60px rgba(140, 110, 255, .55); }
.btn--ghost { background: rgba(255, 255, 255, .05); color: var(--ink); border-color: rgba(255, 255, 255, .22); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); }
.btn--store { background: #fff; color: #05060a; }
.btn--xl { padding: 20px 34px; font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.leak { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, var(--lk), transparent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font: 500 .74rem/1 var(--mono); color: #d3d8e8; padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04); }
.plats { display: flex; gap: 8px; align-items: center; }
.plats li { display: inline-flex; align-items: center; gap: 6px; }
.plats .ico { width: 18px; height: 18px; }
.plats .off { opacity: .22; }
.plats--labels { flex-wrap: wrap; gap: 8px; }
.plats--labels li { padding: 7px 12px 7px 9px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; font-weight: 500; }
.plats--labels .ico { color: var(--accent, #fff); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter); transition: background-color .35s ease, border-color .35s ease, backdrop-filter .35s ease; border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7, 8, 13, .62); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); }
.brand { display: inline-flex; gap: 5px; text-decoration: none; align-items: center; }
.cap {
  font: 600 .72rem/1 var(--mono); padding: 7px 8px 8px; border-radius: 8px; background: linear-gradient(180deg, #23252f, #15161d); color: #e3e6f2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 3px 0 #06070a, 0 0 0 1px rgba(255, 255, 255, .06);
}
.cap--go { background: linear-gradient(120deg, #c4adff, #5fe3ff); color: #07080d; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { display: block; white-space: nowrap; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 500; color: #dfe3ef; transition: background-color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .08); }
.nav-links .nav-cta { background: #fff; color: #05060a; }
.nav-links .nav-cta:hover { background: #e6e0ff; }

/* ---------- hero ---------- */
.hero { position: relative; }
.cinema .hero { height: 300vh; }
.hero-sticky { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate; }
.cinema .hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 70% 45%, #141634 0%, #090a16 45%, var(--bg) 75%); }
.leak--a { --lk: rgba(138, 99, 255, .42); width: 70vmax; height: 70vmax; right: -18vmax; top: -22vmax; }
.leak--b { --lk: rgba(40, 190, 255, .22); width: 60vmax; height: 60vmax; left: -24vmax; bottom: -30vmax; }
.leak--c { --lk: rgba(255, 80, 170, .16); width: 40vmax; height: 40vmax; right: 18vw; bottom: -16vmax; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s ease; z-index: -1; }
.gl-ready .hero-canvas { opacity: 1; }
.no-gl .hero-canvas { display: none; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(5, 6, 10, .9) 0%, rgba(5, 6, 10, .72) 38%, rgba(5, 6, 10, 0) 62%); }

.hero-static {
  position: absolute; z-index: -1; right: -5vw; top: 52%; width: min(58vw, 900px); aspect-ratio: 1.3; transform: translateY(-50%);
  transition: opacity 1s ease, visibility 1s;
}
.gl-ready .hero-static { opacity: 0; visibility: hidden; }
.static-core { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #fff 0 12%, rgba(196, 170, 255, .9) 20%, rgba(130, 90, 255, .35) 42%, rgba(47, 184, 255, .08) 64%, transparent 72%); }
.static-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(170, 150, 255, .28); }
.static-ring--1 { width: 54%; height: 40%; }
.static-ring--2 { width: 92%; height: 68%; border-color: rgba(80, 200, 255, .18); }
.static-tile {
  position: absolute; left: var(--x); top: var(--y); width: clamp(46px, 6.2vw, 96px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 23%;
  background: none; cursor: pointer; z-index: calc(var(--d) * 100);
  transform: translate(-50%, -50%) scale(calc(.72 + var(--d) * .4)); filter: brightness(calc(.6 + var(--d) * .45));
  transition: transform .3s ease, filter .3s ease;
}
.static-tile img { width: 100%; height: 100%; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 18px 40px rgba(0, 0, 0, .55), 0 0 40px rgba(150, 120, 255, .25); }
.static-tile:hover, .static-tile:focus-visible { transform: translate(-50%, -50%) scale(calc(.9 + var(--d) * .4)); filter: none; }

.hero-a {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); width: min(600px, 44vw); display: grid; gap: 26px;
  pointer-events: none;
}
.hero-a a, .hero-a button { pointer-events: auto; }
.hero-title { font: 800 clamp(2.8rem, min(8.2vw, 13vh), 8.4rem)/.9 var(--display); letter-spacing: -.055em; }
.ht-line { display: block; color: #eef0f8; }
.ht-go {
  display: inline-block; background: linear-gradient(100deg, #fff 0%, #cdb9ff 25%, #7aa8ff 50%, #5ff0ff 70%, #fff 100%); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s ease-in-out infinite; padding-right: .06em;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.hero-lead { color: #c4cad9; font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.6; max-width: 34em; }
.hero-lead b { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-hint { display: none; align-items: center; gap: 12px; font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #9aa2b8; }
.cinema .hero-hint { display: inline-flex; }
.mouse { width: 18px; height: 28px; border: 1.5px solid #9aa2b8; border-radius: 10px; position: relative; }
.mouse::after { content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }

.hero-b { display: none; position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + 3.5vh); text-align: center; padding: 0 20px; pointer-events: none; }
.cinema .hero-b { display: grid; gap: 14px; justify-items: center; opacity: 0; visibility: hidden; }
.cinema.hero-b-on .hero-b { opacity: 1; visibility: visible; }
.cinema.hero-b-on .hero-a, .cinema.hero-b-on .hero-scrim { opacity: 0; visibility: hidden; }
.hero-b-title { font: 800 clamp(2.2rem, 5.2vw, 4.8rem)/1 var(--display); letter-spacing: -.045em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .05em; }
.hero-b-sub { color: var(--muted); font-size: clamp(.95rem, 1.3vw, 1.15rem); }

.orbit-tip {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; display: grid; gap: 2px; text-align: center; margin-top: -14px;
  padding: 10px 16px; border-radius: 14px; background: rgba(12, 13, 22, .78); border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); white-space: nowrap; opacity: 0; transition: opacity .2s ease;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.orbit-tip.is-on { opacity: 1; }
.orbit-tip b { font: 700 1rem/1.2 var(--display); }
.orbit-tip span { font: 500 .72rem/1.3 var(--mono); color: #b9c0d3; }

/* ---------- stats ---------- */
.stats { position: relative; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent); }
.stats-row { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(6, 1fr); }
.stats-row li { padding: 40px 22px; display: grid; gap: 10px; align-content: start; border-left: 1px solid var(--line); }
.stats-row li:first-child { border-left: 0; }
.stat-n { font: 800 clamp(2.8rem, 4.6vw, 4.4rem)/1 var(--display); letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats-row span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 6vh 0 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 36px; animation: marquee 80s linear infinite; }
.marquee-track span { font: 800 clamp(2.6rem, 7vw, 6.4rem)/1.1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3); white-space: nowrap; }
.marquee-track i { font-style: normal; font-size: clamp(1.2rem, 2.4vw, 2rem); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- chapters ---------- */
.chapter { position: relative; }
.chapter-stage { position: relative; padding: 10vh var(--gutter); display: grid; gap: 36px; overflow: hidden; isolation: isolate; }
.chapter-leak { position: absolute; z-index: -1; width: 90vmax; aspect-ratio: 1; right: -30vmax; top: 50%; margin-top: -45vmax; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 34%, transparent), color-mix(in srgb, var(--accent2) 10%, transparent) 55%, transparent); }
.chapter--flip .chapter-leak { right: auto; left: -30vmax; }
.chapter-ghost { position: absolute; z-index: -1; right: 2vw; bottom: -6vw; font: 800 34vw/1 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none; }
.chapter--flip .chapter-ghost { right: auto; left: 2vw; }
.chapter-copy { display: grid; gap: 20px; align-content: center; max-width: 560px; }
.chapter-num { font: 500 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #b7bdcf; }
.chapter-num span { color: var(--accent); }
.chapter-id { display: flex; align-items: center; gap: 16px; }
.chapter-icon { width: 68px; height: 68px; border-radius: 23%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 14px 40px color-mix(in srgb, var(--accent) 45%, transparent); }
.chapter-brand { display: grid; gap: 2px; }
.chapter-brand b { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.02em; }
.chapter-brand span { color: var(--muted); font-size: .95rem; }
.chapter-title {
  font: 800 clamp(2.4rem, 4.6vw, 4.6rem)/.98 var(--display); letter-spacing: -.045em; padding-bottom: .06em;
  background: linear-gradient(100deg, #fff 15%, color-mix(in srgb, var(--accent) 80%, #fff) 55%, var(--accent2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.chapter-body { color: #c2c8d7; font-size: 1.1rem; line-height: 1.6; }
.chapter-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chapter-progress { height: 2px; background: rgba(255, 255, 255, .1); border-radius: 2px; overflow: hidden; display: none; }
.chapter-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent2)); transform-origin: 0 50%; transform: scaleX(0); }

.reel { overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter) 28px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .25) transparent; border-radius: 12px; }
.reel-track { display: flex; gap: 18px; width: max-content; align-items: center; }
.shot { flex: none; scroll-snap-align: center; border-radius: 22px; overflow: hidden; background: #111; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px rgba(0, 0, 0, .6); will-change: transform; }
.shot img { height: 100%; width: auto; }
.shot--phone, .shot--ipad { height: min(62vh, 500px); }
.shot--ipad { height: min(62vh, 500px, 104vw); }
.shot--mac { width: min(86vw, 640px); }
.shot--mac img { width: 100%; height: auto; }

.chapters.driven .chapter { height: 270vh; }
.chapters.driven .chapter-stage {
  position: sticky; top: 0; height: 100vh; min-height: 620px; padding: calc(var(--nav-h) + 3vh) var(--gutter) 4vh;
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr); align-items: center; gap: 4vw;
}
.chapters.driven .chapter--flip .chapter-copy { order: 2; }
.chapters.driven .chapter-progress { display: block; }
.chapters.driven .reel {
  overflow: hidden; margin: 0; padding: 4vh 0 12vh; scroll-snap-type: none; height: 100%; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.chapters.driven .reel-track { gap: 34px; will-change: transform; }
.chapters.driven .shot { -webkit-box-reflect: below 14px linear-gradient(transparent 62%, rgba(255, 255, 255, .16)); }
.chapters.driven .shot--phone, .chapters.driven .shot--ipad { height: min(64vh, 660px); }
.chapters.driven .shot--mac { width: auto; height: min(44vh, 440px); }
.chapters.driven .shot--mac img { height: 100%; width: auto; }

/* ---------- catalogue ---------- */
.catalogue { position: relative; padding-bottom: 14vh; }
.leak--d { --lk: rgba(110, 80, 255, .2); width: 80vmax; height: 80vmax; left: 50%; top: 10%; transform: translateX(-50%); }
.cards { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 18px; perspective: 1200px; }
.card-cell { display: grid; perspective: 1000px; }
.card {
  position: relative; display: grid; gap: 18px; padding: 20px; border-radius: 26px; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s cubic-bezier(.2, .8, .2, 1), border-color .3s ease, box-shadow .3s ease;
}
.card:hover { border-color: rgba(255, 255, 255, .24); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 60px rgba(140, 110, 255, .12); }
.card-glare { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .14), transparent 45%); }
.card:hover .card-glare { opacity: 1; }
.card-main { display: flex; align-items: center; gap: 16px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; text-decoration: none; }
.card-main::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-main:focus-visible { outline: none; }
.card-main:focus-visible::after { outline: 2px solid #8fdcff; outline-offset: -3px; }
.card-icon { width: 76px; height: 76px; border-radius: 23%; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 12px 30px rgba(0, 0, 0, .5); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.card:hover .card-icon { transform: translateZ(0) scale(1.06) rotate(-2deg); }
.card-text { display: grid; gap: 3px; min-width: 0; }
.card-brand { font: 700 1.22rem/1.2 var(--display); letter-spacing: -.02em; }
.card-tag { color: var(--muted); font-size: .94rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: #c0c6d6; }
.card-genre { font: 500 .74rem/1.3 var(--mono); color: #aab1c4; }
.card-store {
  position: relative; z-index: 2; justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600;
  text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .2s;
}
.card-store:hover { background: rgba(255, 255, 255, .18); }

/* ---------- frameworks constellation ---------- */
.frameworks {
  position: relative; padding-bottom: 6vh;
  background:
    radial-gradient(1.2px 1.2px at 12% 18%, #fff8, transparent), radial-gradient(1px 1px at 72% 12%, #fff6, transparent),
    radial-gradient(1.4px 1.4px at 38% 62%, #fff7, transparent), radial-gradient(1px 1px at 88% 48%, #fff5, transparent),
    radial-gradient(1px 1px at 22% 82%, #fff6, transparent), radial-gradient(1.2px 1.2px at 58% 88%, #fff5, transparent),
    radial-gradient(80% 60% at 50% 45%, #0e1030 0%, transparent 70%), var(--bg);
  background-size: 340px 340px, 280px 280px, 420px 420px, 260px 260px, 380px 380px, 300px 300px, 100% 100%, auto;
}
.sky { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 28px; }
.cluster { padding: 22px 6px 30px; }
.cluster-name { display: flex; align-items: baseline; gap: 10px; font: 600 .82rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 70%, #fff); margin-bottom: 20px; }
.cluster-name small { font-size: .72rem; color: #9aa2b8; letter-spacing: .04em; }
.cluster-field { position: relative; height: calc(var(--rows) * 92px); margin: 0 24px; }
.cluster-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cluster-lines line { stroke: var(--c); stroke-opacity: .32; stroke-width: 1; vector-effect: non-scaling-stroke; }
.star { position: absolute; width: 40px; height: 40px; padding: 0; border: 0; background: none; transform: translate(-50%, -50%); cursor: pointer; border-radius: 50%; }
.star i {
  position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, #fff 0 28%, color-mix(in srgb, var(--c) 85%, #fff) 45%, transparent 72%);
  box-shadow: 0 0 calc(var(--s) * 1.2) color-mix(in srgb, var(--c) 70%, transparent); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
  animation: twinkle 4s ease-in-out infinite;
}
.star:nth-child(3n) i { animation-delay: -1.3s; }
.star:nth-child(3n+1) i { animation-delay: -2.6s; }
@keyframes twinkle { 50% { opacity: .65; } }
.star span {
  position: absolute; left: 50%; top: calc(50% + var(--s) / 2 + 6px); transform: translateX(-50%); width: max-content; max-width: 7.6em;
  font: 500 .78rem/1.2 var(--text); letter-spacing: -.005em; color: #c3c9da; text-align: center; transition: color .2s;
}
.star:hover i, .star.is-on i { transform: translate(-50%, -50%) scale(1.45); }
.star:hover span, .star.is-on span { color: #fff; }
.star.is-on i { box-shadow: 0 0 0 2px #fff, 0 0 calc(var(--s) * 2) var(--c); }
.star:focus-visible { outline-offset: 0; }
.readout {
  position: sticky; bottom: 14px; z-index: 5; max-width: 1040px; margin: 36px auto 0; width: calc(100% - 2 * var(--gutter));
  display: flex; align-items: center; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 16px 22px; border-radius: 22px;
  background: rgba(12, 13, 24, .78); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 3px 0 0 var(--c, #fff);
}
.readout-head { display: grid; gap: 2px; }
.readout-domain { font: 500 .7rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a6adc2; }
.readout-name { font: 800 clamp(1.4rem, 2.6vw, 2rem)/1.1 var(--display); letter-spacing: -.03em; color: color-mix(in srgb, var(--c) 60%, #fff); }
.readout-count { color: #c4cad9; font-size: .92rem; }
.readout-count b { color: #fff; }
.readout-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.readout-apps a { display: block; border-radius: 11px; transition: transform .2s; }
.readout-apps a:hover { transform: translateY(-3px) scale(1.08); }
.readout-apps img { width: 44px; height: 44px; border-radius: 23%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }

/* ---------- services ---------- */
.services { position: relative; padding-bottom: 16vh; }
.leak--e { --lk: rgba(80, 140, 255, .26); width: 70vmax; height: 70vmax; left: -30vmax; top: 20%; }
.leak--f { --lk: rgba(190, 90, 255, .2); width: 60vmax; height: 60vmax; right: -24vmax; bottom: -10%; }
.stack-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: .95fr 1.05fr; gap: 5vw; align-items: center; }
.stack-stage { height: 620px; display: grid; place-items: center; position: sticky; top: 12vh; }
.stack {
  --gap: 46px; --spin: -40deg; --size: 300px;
  position: relative; width: var(--size); height: var(--size); margin-top: 220px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(var(--spin));
}
.slab {
  position: absolute; inset: 0; border-radius: 28px; transform: translateZ(calc(var(--i) * var(--gap)));
  background: linear-gradient(135deg, color-mix(in srgb, var(--lc) 42%, transparent), color-mix(in srgb, var(--lc) 10%, rgba(10, 12, 24, .7)));
  border: 1px solid color-mix(in srgb, var(--lc) 60%, rgba(255, 255, 255, .3));
  box-shadow: inset 0 0 40px color-mix(in srgb, var(--lc) 30%, transparent), 0 0 30px color-mix(in srgb, var(--lc) 18%, transparent);
  transition: opacity .35s ease, transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.slab span { position: absolute; left: 22px; bottom: 18px; font: 700 1.05rem/1 var(--display); letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 0 18px var(--lc); }
.slab:nth-child(1) { --i: 0; } .slab:nth-child(2) { --i: 1; } .slab:nth-child(3) { --i: 2; }
.slab:nth-child(4) { --i: 3; } .slab:nth-child(5) { --i: 4; } .slab:nth-child(6) { --i: 5; }
[data-layer="apps"] { --lc: #c08bff; } [data-layer="software"] { --lc: #5fb4ff; } [data-layer="security"] { --lc: #ff7ab8; }
[data-layer="cloud"] { --lc: #6ff0ff; } [data-layer="network"] { --lc: #47e6a6; } [data-layer="hardware"] { --lc: #ffc861; }
.stack[data-active]:not([data-active=""]) .slab { opacity: .3; }
.stack[data-active="apps"] [data-layer="apps"], .stack[data-active="software"] [data-layer="software"], .stack[data-active="security"] [data-layer="security"],
.stack[data-active="cloud"] [data-layer="cloud"], .stack[data-active="network"] [data-layer="network"], .stack[data-active="hardware"] [data-layer="hardware"] {
  opacity: 1; transform: translateZ(calc(var(--i) * var(--gap) + 22px)); box-shadow: inset 0 0 60px color-mix(in srgb, var(--lc) 50%, transparent), 0 0 70px color-mix(in srgb, var(--lc) 45%, transparent);
}
.layers { display: grid; gap: 12px; }
.glass {
  position: relative; padding: 20px 24px 20px 78px; border-radius: 22px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .11);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  transition: border-color .3s ease, background-color .3s ease, translate .4s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.glass h3 { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.01em; margin-bottom: 6px; }
.glass p { color: #bcc3d4; font-size: .98rem; line-height: 1.55; }
.layer-n { position: absolute; left: 24px; top: 22px; font: 600 .82rem/1 var(--mono); color: var(--lc); padding: 7px 0; width: 36px; text-align: center; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--lc) 50%, transparent); }
.glass.is-on { border-color: color-mix(in srgb, var(--lc) 70%, transparent); background: color-mix(in srgb, var(--lc) 9%, rgba(255, 255, 255, .04)); translate: -8px 0; box-shadow: 0 0 50px color-mix(in srgb, var(--lc) 18%, transparent); }

/* ---------- contact ---------- */
.contact { position: relative; text-align: center; padding: 20vh 24px 18vh; display: grid; gap: 30px; justify-items: center; }
.leak--g { --lk: rgba(120, 90, 255, .3); width: 90vmax; height: 60vmax; left: 50%; top: 30%; transform: translateX(-50%); }
.keys { display: inline-flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.plus { font: 300 2rem/1 var(--display); color: #7d849a; }
.key {
  --d: 0s; display: grid; place-items: center; min-width: 124px; height: 112px; padding: 0 22px; border-radius: 22px; font: 600 1.6rem/1 var(--display); color: #e8ebf5;
  background: linear-gradient(180deg, #262934 0%, #15171e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 -6px 12px rgba(0, 0, 0, .35), 0 10px 0 #07080c, 0 24px 50px rgba(0, 0, 0, .6);
}
.key:nth-of-type(2) { --d: .25s; }
.key--go { --d: .7s; color: #07080d; background: linear-gradient(135deg, #e3d7ff 0%, #a98bff 40%, #46d6ff 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 0 #2d2470, 0 24px 60px rgba(140, 110, 255, .55); }
.keys.is-on .key { animation: press .55s cubic-bezier(.3, .7, .3, 1) var(--d) both; }
.keys.is-on .key--go { animation: press .55s cubic-bezier(.3, .7, .3, 1) var(--d) both, goglow 2.8s ease-in-out 1.3s infinite; }
@keyframes press { 0% { transform: translateY(0); } 40% { transform: translateY(9px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 1px 0 #07080c, 0 8px 20px rgba(0, 0, 0, .5); } 100% { transform: translateY(0); } }
@keyframes goglow { 50% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 0 #2d2470, 0 24px 90px rgba(120, 200, 255, .8); } }
.contact-title { font-size: clamp(2.8rem, 8vw, 7rem); }
.contact-ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- footer ---------- */
.footer { max-width: 1320px; margin: 0 auto; padding: 34px var(--gutter) 44px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: #a6adc2; font-size: .9rem; }
.footer a { color: #dfe3ef; text-underline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stats-row li:nth-child(4) { border-left: 0; }
  .stats-row li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .sky { grid-template-columns: repeat(2, 1fr); }
  .stack-wrap { grid-template-columns: 1fr; }
  .stack-stage { height: 520px; position: relative; top: auto; }
}
/* short landscape screens (phones on their side) */
@media (max-height: 560px) and (min-aspect-ratio: 21/20) {
  .hero-a { gap: 14px; }
  .hero-a .eyebrow, .hero-hint { display: none !important; }
  .hero-lead { font-size: .95rem; line-height: 1.5; }
}
/* portrait screens: orbit on top, copy below (matches the orbit layout in orbit.js) */
@media (max-width: 760px), (max-aspect-ratio: 21/20) {
  .hero-scrim { background: linear-gradient(0deg, rgba(5, 6, 10, .96) 0%, rgba(5, 6, 10, .78) 34%, rgba(5, 6, 10, 0) 58%); }
  .hero-a { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: 4svh; transform: none; gap: 18px; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-lead { max-width: 40em; }
  .hero-lead { font-size: 1rem; }
  .hero-hint { display: none !important; }
  .hero-static { right: auto; left: 50%; top: calc(var(--nav-h) + 1vh); width: min(118vw, calc((100svh - 520px) * 1.3)); transform: translateX(-50%); }
  .static-tile { width: 13vw; }
  html:not(.cinema) .hero-static { width: min(128vw, 1000px); top: var(--nav-h); }
  html:not(.cinema) .hero-a { position: relative; left: auto; right: auto; bottom: auto; padding: calc(var(--nav-h) + min(96vw, 750px)) var(--gutter) 56px; }
}
@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .nav-links li:nth-child(2) { display: none; }
  .nav-links a { padding: 8px 11px; font-size: .9rem; }
  .cap { padding: 6px 6px 7px; font-size: .66rem; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stats-row li { padding: 26px 18px; border-left: 0; border-top: 1px solid var(--line); }
  .stats-row li:nth-child(even) { border-left: 1px solid var(--line); }
  .stats-row li:nth-child(-n+2) { border-top: 0; }
  .sky { grid-template-columns: 1fr; }
  .cluster-field { margin: 0 22px; height: calc(var(--rows) * 92px); }
  .stack { --size: 200px; margin-top: 170px; }
  .stack-stage { height: 430px; }
  .slab { border-radius: 20px; }
  .slab span { font-size: .8rem; left: 14px; bottom: 12px; }
  .glass { padding: 18px 18px 18px 64px; }
  .layer-n { left: 16px; }
  .keys { gap: 8px; }
  .key { min-width: 0; height: 74px; padding: 0 16px; font-size: 1.1rem; border-radius: 16px; }
  .plus { font-size: 1.3rem; }
  .readout { padding: 12px 16px; gap: 10px 16px; }
  .readout-apps { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .readout-apps img { width: 34px; height: 34px; }
}
@media (max-width: 400px) {
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 9px; font-size: .86rem; }
  .brand { gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .marquee-track { transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.lenis) { scroll-behavior: smooth; }
}

/* ---------- v6: services first ---------- */
.hero-static .static-tile { width: clamp(56px, 7.4vw, 116px); }
.layers .glass h3 { font: 600 .8rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--lc) 75%, #fff); margin: 9px 0 14px; }
.svcs { display: grid; gap: 14px; }
.svc { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; row-gap: 3px; align-items: start; border-radius: 14px; padding: 4px; margin: -4px; outline-offset: 2px; }
.svc b { font: 700 1.08rem/1.25 var(--display); letter-spacing: -.01em; color: #fff; grid-column: 2; }
.svc > span:last-child { grid-column: 2; color: #bcc3d4; font-size: .96rem; line-height: 1.5; }
.svc-ico { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--c1, #888), var(--c2, #444)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 20px rgba(0, 0, 0, .35); }
.svc-ico svg { width: 24px; height: 24px; }
.svc-ico[data-ico="apps"] { color: #2a1d63; }
.svc.is-flash { animation: svc-flash 1.8s ease-out; }
@keyframes svc-flash { 0% { background: color-mix(in srgb, var(--lc) 35%, transparent); box-shadow: 0 0 0 2px var(--lc); } 100% { background: transparent; box-shadow: 0 0 0 2px transparent; } }
.services--first .center { margin-top: 56px; }

.apps-intro { position: relative; max-width: 1320px; margin: 0 auto; padding: 16vh var(--gutter) 4vh; display: grid; grid-template-columns: 1.15fr .85fr; gap: 4vw; align-items: center; }
.apps-intro .leak--d { z-index: -1; }
.apps-intro-ring { position: relative; width: 100%; aspect-ratio: 1.3; }
.apps-intro-ring .static-tile { animation: bob 7s ease-in-out infinite; animation-delay: calc(var(--i) * -.7s); }
@keyframes bob { 50% { translate: 0 -8px; } }
.apps-intro-copy { display: grid; gap: 22px; justify-items: start; }
.apps-intro-copy .section-sub { margin: 0; }
.apps-intro-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) {
  .apps-intro { grid-template-columns: 1fr; padding-top: 12vh; }
  .apps-intro-ring { width: 92%; margin: 0 auto; }
  .apps-intro-ring .static-tile { width: 11vw; }
}
.hero-title { font-size: clamp(2.8rem, min(7.2vw, 12vh), 7.4rem); }
.hero-static { right: 0; width: min(48vw, 800px); }
.hero-a { width: min(580px, 43vw); }
@media (max-width: 760px), (max-aspect-ratio: 21/20) {
  .hero-static { width: min(92vw, calc((100svh - 520px) * 1.3)); }
  html:not(.cinema) .hero-static { width: min(92vw, 760px); }
  html:not(.cinema) .hero-a { padding-top: calc(var(--nav-h) + min(72vw, 590px)); }
  .hero-static .static-tile { width: 16vw; }
}

/* v6 phones (cinema): the copy is moved out of the pinned stage (see main.js) and sits below the orbit band,
   so the hero can be taller than the screen and the copy scrolls in full */
.copy-below .hero-a {
  position: absolute; z-index: 2; top: calc(var(--nav-h) + clamp(280px, 46svh, 520px)); bottom: auto;
  left: var(--gutter); right: var(--gutter); width: auto; transform: none; pointer-events: auto;
}

/* Keep the two-line headline at two lines on wider screens. */
@media (min-width: 761px) and (min-aspect-ratio: 21/20) { .ht-go { white-space: nowrap; } .hero-title { font-size: clamp(2.6rem, min(5.6vw, 11vh), 6.2rem); } }

/* Phones (cinema): start the copy where main.js moves it once the orbit loads (.copy-below), so it doesn't jump
   on slow devices that paint before the move (PageSpeed measured a 0.101 layout shift from this). */
@media (max-width: 760px), (max-aspect-ratio: 21/20) {
  .cinema .hero-a { top: calc(var(--nav-h) + clamp(280px, 46svh, 520px)); bottom: auto; z-index: 2; }
}
