/* Bytellar: the firm's home page.
   Type roles follow the Nexus site so the two read as one house: Chakra Petch for display and interface,
   Geist Mono for labels and figures, Mona Sans for body, and a serif italic only for the accent lines.
   Colour roles: mint for people and for Nexus, lavender for agents, periwinkle for Buds, ice blue for AIplets. */

/* ---------- Fonts (self-hosted, SIL Open Font License; see assets/fonts/OFL-1.1.txt) ---------- */
@font-face { font-family: "Chakra Petch"; font-weight: 500; font-display: swap; src: url("assets/fonts/chakra-petch-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 600; font-display: swap; src: url("assets/fonts/chakra-petch-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Chakra Petch"; font-weight: 700; font-display: swap; src: url("assets/fonts/chakra-petch-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Mona Sans"; font-weight: 200 900; font-display: swap; src: url("assets/fonts/mona-sans-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }

/* ---------- Tokens and base ---------- */
:root {
  /* The firm's own colours, from the Bytellar brand kit (branding-cooperate-designs/Bytellar-Brand-Kit):
     a midnight ground and the logo's gradient, cyan #5ED4DF to blue #2E79D4 to indigo #241582. On the
     dark ground the cyan carries text and the blue and indigo carry light. Each business keeps its own
     colour where it is named: mint for Nexus, periwinkle for Buds, ice blue for AIplets. */
  --bg: #070b17; --panel: #0b1122; --ink: #eef2fa; --soft: #c8d1e2; --muted: #9ca8c2; --dim: #7c88a6;
  --brand: #5ed4df; --brand-blue: #2e79d4; --brand-indigo: #241582; --brand-glow: #4f8fe8;
  --mint: #a0e6ce; --lav: #cdbff0; --peri: #a9b5f7; --ice: #a9d8ff; --rule: #ffffff14;
  --accent: var(--brand); --accent-2: var(--brand-glow);
  --font-display: "Chakra Petch", "Mona Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Mona Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --glass: linear-gradient(180deg, #ffffff14 0%, #ffffff05 45%, #ffffff0a 100%), #0b112299;
  --glass-rim: inset 0 1px 0 #ffffff30, inset 0 -1px 0 #ffffff0f, inset 1px 0 0 #ffffff12, inset -1px 0 0 #ffffff12, 0 10px 30px #00000047;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Phone browsers enlarge text by themselves in two cases: Safari when the phone is turned sideways,
   and in-app browsers (WeChat among them) by the reader's own font-size setting, which they write
   on <body>. The layout is sized in rem, so enlarged text runs into its neighbours. The text size is
   therefore pinned, with !important so that it also beats what the in-app browser writes. Readers
   can still zoom the page with two fingers. */
html, body { -webkit-text-size-adjust: 100% !important; text-size-adjust: 100% !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #071226; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 14px 16px; background: var(--brand); color: #071226; }
.skip-link:focus { top: 10px; }
.scroll-progress { position: fixed; inset: 0 0 auto 0; z-index: 60; height: 2px; background: linear-gradient(90deg, #5ed4df, #2e79d4 44%, #5b4fd8); transform-origin: left; transform: scaleX(0); pointer-events: none; }
@supports (animation-timeline: scroll()) { .scroll-progress { animation: page-progress linear both; animation-timeline: scroll(root block); } }
@keyframes page-progress { to { transform: scaleX(1); } }
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.glass { background: var(--glass); box-shadow: var(--glass-rim); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); }
.kicker { display: flex; align-items: center; gap: .6rem; color: var(--accent); font: 400 .8125rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.kicker b { padding: .1rem .45rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: .3rem; font-weight: 500; letter-spacing: .04em; }

/* Accent lines carry the serif italic and a slow sheen. */
h1 em, h2 em, .footer-slogan em { font: italic 500 1.16em/1 var(--font-serif); letter-spacing: -.01em; color: var(--accent); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, h2 em, .footer-slogan em { padding-right: .06em; background: linear-gradient(100deg, var(--accent) 0%, #f2faff 30%, var(--accent) 55%, var(--accent-2) 85%, var(--accent) 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
  .motion h1 em, .motion h2 em, .motion .footer-slogan em { animation: sheen 11s ease-in-out infinite; }
}
@keyframes sheen { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }

/* ---------- Header: a glass capsule that floats over the page ---------- */
.site-header { position: fixed; inset: .8rem 0 auto 0; z-index: 40; pointer-events: none; }
/* Three places: brand at the left, the page links in the exact middle of the bar, the product button
   at the right. The middle stays the middle however wide the two sides are. */
.header-inner { position: relative; pointer-events: auto; display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; height: 62px; padding: 0 .55rem 0 1.3rem; border-radius: 999px;
  background: linear-gradient(180deg, #ffffff1a 0%, #ffffff06 42%, #ffffff0d 100%), #0a0f1f73;
  backdrop-filter: blur(22px) saturate(190%) brightness(1.12); -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.12);
  box-shadow: inset 0 1px 0 #ffffff47, inset 0 -1px 0 #ffffff14, inset 1px 0 0 #ffffff1c, inset -1px 0 0 #ffffff1c, 0 14px 44px #00000066, 0 2px 8px #0000004d;
  transition: height .35s var(--ease), background .35s; }
.site-header.is-scrolled .header-inner { height: 54px; background: linear-gradient(180deg, #ffffff1f 0%, #ffffff08 42%, #ffffff10 100%), #0a0f1f9e; }
.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: .65rem; }
.brand-mark { display: block; width: 32px; height: auto; }
.brand-name { font: 600 1.375rem/1 var(--font-display); letter-spacing: -.01em; }
/* The bar has more padding on its left than on its right; the margin makes up the difference, so the
   links are centred on the bar itself. */
.site-nav { grid-column: 2; position: relative; display: flex; margin-right: .75rem; padding: .3rem; border-radius: 999px; }
.site-nav::before { content: ""; position: absolute; top: .3rem; bottom: .3rem; left: 0; width: var(--pill-w, 0px); transform: translateX(var(--pill-x, 0px)); border-radius: 999px; background: linear-gradient(180deg, #ffffff2e, #5ed4df1a); box-shadow: inset 0 1px 0 #ffffff66, inset 0 -1px 0 #5ed4df40, 0 4px 16px #00000047, 0 0 18px #2e79d433; opacity: var(--pill-o, 0); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.site-nav a { position: relative; padding: .5rem 1.05rem; border-radius: 999px; color: #c4cee0; font: 500 .9375rem/1.3 var(--font-display); letter-spacing: .01em; transition: color .25s; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #fff; }
/* The menu button belongs to phones (see the rules for 760px and below). */
.menu { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
/* The call to action: mint glass, with a point of light that circles its rim, then rests. */
.button { --beam-gap: 3px; position: relative; display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 999px; color: #eafff6; font: 600 .9375rem/1 var(--font-display); letter-spacing: .01em; text-shadow: 0 1px 1px #04100c80;
  background: radial-gradient(120% 150% at 18% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #48dcae80 0%, #1fae8047 50%, #48dcae70 100%);
  backdrop-filter: blur(16px) saturate(190%) brightness(1.18); -webkit-backdrop-filter: blur(16px) saturate(190%) brightness(1.18);
  box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a0e6ce80, inset 1px 0 0 #a0e6ce4d, inset -1px 0 0 #a0e6ce4d, 0 6px 22px #00000059, 0 0 30px #48dcae52;
  transition: box-shadow .3s, color .2s; }
.button:hover { color: #fff; box-shadow: inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #a0e6ce99, inset 1px 0 0 #a0e6ce66, inset -1px 0 0 #a0e6ce66, 0 8px 26px #00000059, 0 0 40px #48dcae80; }
/* The header's way out: one glass capsule in three parts. Mint leads to Nexus, periwinkle to Buds,
   ice blue to AIplets.
   Each half opens its product site, so no two controls in the header lead to the same place. */
.nav-exits { --beam-gap: 3px; grid-column: 3; justify-self: end; position: relative; display: inline-flex; border-radius: 999px; backdrop-filter: blur(16px) saturate(190%) brightness(1.18); -webkit-backdrop-filter: blur(16px) saturate(190%) brightness(1.18); box-shadow: 0 6px 22px #00000059, 0 0 30px #2e79d440; }
.nav-exit-verb, .reach-for { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-exit { display: inline-flex; align-items: center; gap: .45rem; padding: .68rem .85rem .68rem 1.05rem; border-radius: 999px 0 0 999px; color: #eafff6; font: 600 .9375rem/1 var(--font-display); letter-spacing: .01em; text-shadow: 0 1px 1px #04100c80; white-space: nowrap;
  background: radial-gradient(130% 150% at 24% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #48dcae80 0%, #1fae8047 50%, #48dcae70 100%);
  box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a0e6ce80, inset 1px 0 0 #a0e6ce4d;
  transition: filter .3s, color .2s; }
.nav-exit-ice { padding: .68rem 1.05rem .68rem .85rem; border-radius: 0 999px 999px 0; color: #f1f8ff;
  background: radial-gradient(130% 150% at 40% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #6cb8f080 0%, #3a7fc447 50%, #8f9df070 100%);
  box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9d8ff80, inset -1px 0 0 #a9d8ff4d, inset 1px 0 0 #ffffff5c; }
.nav-exit-peri { padding: .68rem .85rem; border-radius: 0; color: #f3f4ff;
  background: radial-gradient(130% 150% at 32% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #8190e680 0%, #4c57b847 50%, #9aa7f270 100%);
  box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9b5f780, inset 1px 0 0 #ffffff5c; }
.nav-exit:is(:hover, :focus-visible) { color: #fff; filter: brightness(1.2) saturate(1.1); }
:is(.nav-exits, .button)::before, :is(.nav-exits, .button)::after { content: ""; position: absolute; inset: calc(var(--beam-gap) * -1); padding: 1px; border-radius: 999px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.button::before { background: #a0e6ce3d; }
.button::after { background: conic-gradient(from var(--angle), transparent 0 60%, #a0e6ce 78%, #fff 88%, #cdbff0 94%, transparent 100%); opacity: 0; }
.nav-exits::before { background: linear-gradient(90deg, #a0e6ce3d 20%, #a9b5f73d 50%, #a9d8ff3d 80%); }
.nav-exits::after { background: conic-gradient(from var(--angle), transparent 0 60%, #5ed4df 76%, #fff 86%, #4f8fe8 94%, transparent 100%); opacity: 0; }
.motion :is(.nav-exits, .button)::after { animation: beam-cycle 7.5s ease-in-out 1.2s infinite; }
.motion .button:is(:hover, :focus-visible)::after, .motion .nav-exits:is(:hover, :focus-within)::after { animation: beam-hover 1.7s ease-in-out 1 both; }
@keyframes beam-cycle { 0% { --angle: 0deg; opacity: 0; } 4%, 34% { opacity: 1; } 40%, 100% { --angle: 360deg; opacity: 0; } }
@keyframes beam-hover { 0% { --angle: 0deg; opacity: 0; } 12%, 86% { opacity: 1; } 100% { --angle: 360deg; opacity: 0; } }
/* Links that leave for a product site carry a label, never the address. */
:is(.button, .closing-link, .nav-exit) svg { transition: transform .35s var(--ease); }
:is(.button, .closing-link, .nav-exit):hover svg { transform: translate(2px, -2px); }
/* The same glass button, in the ice blue of AIplets. */
.button-ice { color: #f1f8ff; background: radial-gradient(120% 150% at 18% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #6cb8f080 0%, #3a7fc447 50%, #8f9df070 100%); box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9d8ff80, inset 1px 0 0 #a9d8ff4d, inset -1px 0 0 #a9d8ff4d, 0 6px 22px #00000059, 0 0 30px #6cb8f052; }
.button-ice:hover { box-shadow: inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #a9d8ff99, inset 1px 0 0 #a9d8ff66, inset -1px 0 0 #a9d8ff66, 0 8px 26px #00000059, 0 0 40px #6cb8f080; }
.button-ice::before { background: #a9d8ff3d; }
/* The firm's own button, in the Bytellar blue: the one investors and partners write from. (The class
   keeps its old name, "lav", from when the firm's tint was lavender.) */
.button-lav { color: #f2f8ff; background: radial-gradient(120% 150% at 18% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #3d8ae880 0%, #2415826b 50%, #4fbde070 100%); box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #5ed4df80, inset 1px 0 0 #5ed4df4d, inset -1px 0 0 #5ed4df4d, 0 6px 22px #00000059, 0 0 30px #2e79d459; }
.button-lav:hover { box-shadow: inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #5ed4df99, inset 1px 0 0 #5ed4df66, inset -1px 0 0 #5ed4df66, 0 8px 26px #00000059, 0 0 40px #2e79d48c; }
.button-lav::before { background: #5ed4df3d; }
.button-lav::after { background: conic-gradient(from var(--angle), transparent 0 60%, #5ed4df 78%, #fff 88%, #4f8fe8 94%, transparent 100%); }
.button-ice::after { background: conic-gradient(from var(--angle), transparent 0 60%, #a9d8ff 78%, #fff 88%, #cdbff0 94%, transparent 100%); }
/* Periwinkle, from the Buds brand: the button that leads to Buds. */
.button-peri { color: #f3f4ff; background: radial-gradient(120% 150% at 18% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #8190e680 0%, #4c57b847 50%, #9aa7f270 100%); box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9b5f780, inset 1px 0 0 #a9b5f74d, inset -1px 0 0 #a9b5f74d, 0 6px 22px #00000059, 0 0 30px #7e94e052; }
.button-peri:hover { box-shadow: inset 0 1px 0 #ffffffa6, inset 0 -1px 0 #a9b5f799, inset 1px 0 0 #a9b5f766, inset -1px 0 0 #a9b5f766, 0 8px 26px #00000059, 0 0 40px #7e94e080; }
.button-peri::before { background: #a9b5f73d; }
.button-peri::after { background: conic-gradient(from var(--angle), transparent 0 60%, #a9b5f7 78%, #fff 88%, #a9d8ff 94%, transparent 100%); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.cta-note { max-width: 27rem; color: var(--muted); font-size: .9375rem; line-height: 1.4; text-wrap: balance; }
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 45; display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; border: 1px solid #5ed4df55; background: #0b1122e6; color: var(--brand); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
body:has(.site-footer.is-in) .to-top { opacity: 0; pointer-events: none; }

/* ---------- Hero: the firm, under a live aurora ---------- */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; overflow: hidden; background: #060a16; }
/* The aurora is drawn live on the canvas. The still image shows first, and stays if the canvas cannot run. */
.aurora { position: absolute; inset: 0; z-index: -3; background: #060a16 url("assets/aurora-poster.jpg") center / cover no-repeat; }
.aurora canvas { display: block; width: 100%; height: 100%; opacity: 0; }
.motion .aurora canvas { transition: opacity 1.2s ease; }
.aurora.is-live canvas { opacity: 1; }
/* A dark ground under the words, so they stay readable against the light. */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, #070b174d 0, transparent 11%, transparent 46%, #070b1799 74%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000 75%); mask-image: linear-gradient(180deg, transparent 40%, #000 75%); }
/* Where the words sit. The aurora keeps the upper third of the window, the headline lands just above
   the middle (the optical centre), and the method strip stays at the foot. The block starts about a
   third of the way down; any height left over is shared, one part above the words to three below. */
.hero-inner { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; padding-top: clamp(7rem, 30vh, 20rem); padding-top: clamp(7rem, 30svh, 20rem); }
.hero-inner::before { content: ""; flex: 1 1 0; }
.hero-inner::after { content: ""; flex: 3 1 0; }
.hero-block { position: relative; display: grid; justify-items: center; text-align: center; }
/* The dark ground travels with the words, wherever they sit. */
.hero-block::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(150vw, 104rem); height: calc(100% + 15rem); transform: translate(-50%, -47%); pointer-events: none; background: radial-gradient(closest-side, #070b17de, #070b1794 55%, transparent); }
.hero-kicker { padding: .45rem .9rem; border: 1px solid #5ed4df40; border-radius: 99px; background: #0b1122b3; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-transform: none; letter-spacing: .04em; }
.hero h1 { margin: clamp(.7rem, 2vh, 1.2rem) 0 clamp(.8rem, 2.2vh, 1.3rem); font: 600 clamp(2.6rem, min(5.4vw, 9.2vh), 4.9rem)/1.02 var(--font-display); letter-spacing: -.02em; text-shadow: 0 2px 30px #040814cc; }
.hero h1 > * { display: block; }
.hero-lede { max-width: 47rem; color: var(--soft); font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; text-wrap: balance; }
/* Two doors: one for each kind of visitor. Liquid glass; a point of light circles each rim in turn. */
.doors { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(1.1rem, 3vh, 1.9rem); }
.door { --accent: var(--mint); position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr auto; column-gap: 1.6rem; align-items: center; min-width: 19.5rem; padding: .85rem 1.15rem .9rem 1.35rem; border-radius: 1.15rem; text-align: left;
  background:
    radial-gradient(15rem circle at var(--mx, -40rem) var(--my, -40rem), color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%),
    linear-gradient(90deg, var(--accent), transparent) 1.35rem 0 / 46% 2px no-repeat,
    radial-gradient(130% 150% at 8% -60%, #ffffff3b, transparent 52%),
    radial-gradient(90% 140% at 106% 135%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 62%),
    linear-gradient(180deg, #ffffff1a 0%, #ffffff06 46%, #ffffff0f 100%),
    #0a0f1fa8;
  backdrop-filter: blur(20px) saturate(185%) brightness(1.1); -webkit-backdrop-filter: blur(20px) saturate(185%) brightness(1.1);
  box-shadow: inset 0 1px 0 #ffffff59, inset 0 -1px 0 color-mix(in srgb, var(--accent) 40%, transparent), inset 1px 0 0 #ffffff1f, inset -1px 0 0 #ffffff1f, 0 14px 38px #00000066, 0 0 36px color-mix(in srgb, var(--accent) 13%, transparent);
  transition: transform .5s var(--ease), box-shadow .5s; }
.door-buds { --accent: var(--peri); }
.door-aiplets { --accent: var(--ice); }
/* The light on the rim. The three doors take turns, a third of a cycle apart, so the eye is led from
   one to the next. */
.door::before { content: ""; position: absolute; inset: 0; z-index: 2; padding: 1.5px; border-radius: inherit; pointer-events: none; opacity: 0; background: conic-gradient(from var(--angle), transparent 0 62%, var(--accent) 80%, #fff 90%, var(--lav) 95%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.motion .door::before { animation: door-beam 9s ease-in-out 1.6s infinite; }
.motion .door-buds::before { animation-delay: 4.6s; }
.motion .door-aiplets::before { animation-delay: 7.6s; }
@keyframes door-beam { 0% { --angle: 0deg; opacity: 0; } 5%, 38% { opacity: 1; } 45%, 100% { --angle: 360deg; opacity: 0; } }
/* A reflection that crosses the glass when the door is chosen. */
.door::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 36%, #ffffff26 50%, transparent 64%); transform: translateX(-110%); }
.motion .door:is(:hover, :focus-visible)::after { animation: door-sheen 1.2s var(--ease) 1 both; }
@keyframes door-sheen { to { transform: translateX(110%); } }
.door-tag { grid-column: 1 / -1; color: var(--accent); font: .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.door-name { color: #fff; font: 600 1.625rem/1.15 var(--font-display); letter-spacing: -.01em; }
.door-line { grid-column: 1; color: var(--soft); font-size: .9375rem; }
.door-arrow { grid-row: 2 / span 2; grid-column: 2; width: 2.4rem; height: 2.4rem; padding: .66rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent);
  background: radial-gradient(120% 120% at 30% -10%, #ffffff3d, transparent 55%), color-mix(in srgb, var(--accent) 14%, transparent);
  box-shadow: inset 0 1px 0 #ffffff4d, 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: background .35s, color .35s, transform .5s var(--ease); }
/* After the light has gone round, the arrow answers with a slow glow. */
.motion .door-arrow { animation: door-cue 9s ease-in-out 1.6s infinite; }
.motion .door-buds .door-arrow { animation-delay: 4.6s; }
.motion .door-aiplets .door-arrow { animation-delay: 7.6s; }
@keyframes door-cue { 0%, 36%, 62%, 100% { box-shadow: inset 0 1px 0 #ffffff4d, 0 0 0 0 color-mix(in srgb, var(--accent) 0%, transparent), 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent); } 46% { box-shadow: inset 0 1px 0 #ffffff4d, 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent), 0 0 28px color-mix(in srgb, var(--accent) 60%, transparent); } }
.door:is(:hover, :focus-visible) { transform: translateY(-3px); box-shadow: inset 0 1px 0 #ffffff73, inset 0 -1px 0 color-mix(in srgb, var(--accent) 60%, transparent), inset 1px 0 0 #ffffff2e, inset -1px 0 0 #ffffff2e, 0 20px 44px #00000073, 0 0 54px color-mix(in srgb, var(--accent) 34%, transparent); }
.door:is(:hover, :focus-visible) .door-arrow { background: var(--accent); color: #0b1122; transform: translateX(3px); }

/* The method in one strip: you ask, agents do the middle, you decide. It plays as a slow loop. */
.hero-foot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 3.9rem; margin-top: clamp(1.1rem, 3.2vh, 2.2rem); padding-bottom: clamp(.4rem, 1.4vh, .9rem); }
.pipeline { display: inline-flex; align-items: center; gap: 2.9rem; padding: .34rem; border-radius: 999px; font: .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff17 0%, #ffffff05 46%, #ffffff0d 100%), #0a0f1f80;
  backdrop-filter: blur(18px) saturate(180%); -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 #ffffff3d, inset 0 -1px 0 #ffffff12, inset 1px 0 0 #ffffff17, inset -1px 0 0 #ffffff17, 0 12px 34px #00000059; }
.pipeline > li { position: relative; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 999px; }
/* The track between two stages, and the light that runs along it. */
.pipeline > li:not(:last-child)::after { content: ""; position: absolute; left: calc(100% + .5rem); top: 50%; width: 1.9rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, #fff, transparent) -100% 0 / 45% 100% no-repeat, linear-gradient(90deg, #5ed4df73, #cdbff073); }
.pipeline > li.pipe-agents::after { background: linear-gradient(90deg, transparent, #fff, transparent) -100% 0 / 45% 100% no-repeat, linear-gradient(90deg, #cdbff073, #5ed4df73); }
/* People take the firm's own cyan. */
.pipe-you { gap: .45rem; padding: .36rem .9rem .36rem .7rem; color: var(--brand); border-color: #5ed4df47; background-color: #5ed4df12; }
.pipe-you svg { width: .9rem; height: .9rem; }
.pipe-decide svg { stroke-width: 2.6; }
/* Agents are lavender: five steps, each with a small status light. */
.pipe-agents { gap: .3rem; padding: .24rem .3rem .24rem .8rem; border-color: #cdbff02b; color: var(--lav); background-color: #cdbff00d; }
.pipe-agents span { display: inline-flex; align-items: center; gap: .4rem; margin-right: .4rem; }
.pipe-agents span svg { width: .9rem; height: .9rem; }
.pipe-agents i { --a-idle: #a79fc4; --a-on: #fff; --a-done: #dcd3f7; --b-idle: #cdbff02e; --b-on: #cdbff0; --b-done: #cdbff06b; --g-idle: #cdbff000; --g-on: #cdbff038; --g-done: #cdbff014;
  display: inline-flex; align-items: center; gap: .4rem; padding: .16rem .6rem .16rem .5rem; border: 1px solid var(--b-idle); border-radius: 999px; color: var(--a-idle); background-color: var(--g-idle); font-style: normal; letter-spacing: .04em; text-transform: none; }
.pipe-agents i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
/* One loop, ten seconds: ask, the light crosses, five steps, the light crosses, decide, rest. */
.motion .pipe-ask { animation: pipe-ask 10s ease-in-out 1.4s infinite; }
.motion .pipe-ask::after { animation: pipe-link-1 10s linear 1.4s infinite; }
.motion .pipe-agents { animation: pipe-agents 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents::after { animation: pipe-link-2 10s linear 1.4s infinite; }
.motion .pipe-agents span svg { animation: pipe-spin 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents i { animation: 10s ease-in-out 1.4s infinite; }
.motion .pipe-agents i:nth-of-type(1) { animation-name: agent-1; } .motion .pipe-agents i:nth-of-type(2) { animation-name: agent-2; } .motion .pipe-agents i:nth-of-type(3) { animation-name: agent-3; } .motion .pipe-agents i:nth-of-type(4) { animation-name: agent-4; } .motion .pipe-agents i:nth-of-type(5) { animation-name: agent-5; }
.motion .pipe-decide { animation: pipe-decide 10s ease-in-out 1.4s infinite; }
@keyframes pipe-ask { 0%, 3% { color: var(--brand); border-color: #5ed4df47; background-color: #5ed4df12; box-shadow: 0 0 0 #5ed4df00; } 6%, 10% { color: #effdff; border-color: var(--brand); background-color: #5ed4df3d; box-shadow: 0 0 20px #5ed4df73; } 15%, 86% { color: var(--brand); border-color: #5ed4df80; background-color: #5ed4df1f; box-shadow: 0 0 0 #5ed4df00; } 92%, 100% { color: var(--brand); border-color: #5ed4df47; background-color: #5ed4df12; box-shadow: 0 0 0 #5ed4df00; } }
@keyframes pipe-link-1 { 0%, 8% { background-position: -100% 0, 0 0; } 15%, 100% { background-position: 200% 0, 0 0; } }
@keyframes pipe-link-2 { 0%, 51% { background-position: -100% 0, 0 0; } 58%, 100% { background-position: 200% 0, 0 0; } }
@keyframes pipe-agents { 0%, 13% { border-color: #cdbff02b; background-color: #cdbff00d; } 16%, 50% { border-color: #cdbff080; background-color: #cdbff01c; } 56%, 86% { border-color: #cdbff04d; background-color: #cdbff012; } 92%, 100% { border-color: #cdbff02b; background-color: #cdbff00d; } }
@keyframes pipe-spin { 0%, 14% { transform: rotate(0deg); } 52%, 100% { transform: rotate(360deg); } }
@keyframes agent-1 { 0%, 14% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } 16%, 21% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); box-shadow: 0 0 16px #cdbff073; } 24%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); box-shadow: 0 0 0 #cdbff000; } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } }
@keyframes agent-2 { 0%, 21% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } 23%, 28% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); box-shadow: 0 0 16px #cdbff073; } 31%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); box-shadow: 0 0 0 #cdbff000; } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } }
@keyframes agent-3 { 0%, 28% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } 30%, 35% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); box-shadow: 0 0 16px #cdbff073; } 38%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); box-shadow: 0 0 0 #cdbff000; } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } }
@keyframes agent-4 { 0%, 35% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } 37%, 42% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); box-shadow: 0 0 16px #cdbff073; } 45%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); box-shadow: 0 0 0 #cdbff000; } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } }
@keyframes agent-5 { 0%, 42% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } 44%, 49% { color: var(--a-on); border-color: var(--b-on); background-color: var(--g-on); box-shadow: 0 0 16px #cdbff073; } 52%, 86% { color: var(--a-done); border-color: var(--b-done); background-color: var(--g-done); box-shadow: 0 0 0 #cdbff000; } 92%, 100% { color: var(--a-idle); border-color: var(--b-idle); background-color: var(--g-idle); box-shadow: 0 0 0 #cdbff000; } }
@keyframes pipe-decide { 0%, 57% { color: var(--brand); border-color: #5ed4df47; background-color: #5ed4df12; box-shadow: 0 0 0 0 #5ed4df00, 0 0 0 #5ed4df00; } 60% { color: #effdff; border-color: var(--brand); background-color: #5ed4df3d; box-shadow: 0 0 0 0 #5ed4df8c, 0 0 22px #5ed4df80; } 69%, 86% { color: #effdff; border-color: var(--brand); background-color: #5ed4df3d; box-shadow: 0 0 0 9px #5ed4df00, 0 0 22px #5ed4df73; } 92%, 100% { color: var(--brand); border-color: #5ed4df47; background-color: #5ed4df12; box-shadow: 0 0 0 0 #5ed4df00, 0 0 0 #5ed4df00; } }
.aurora-toggle { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 2rem; height: 2rem; margin-top: -1rem; padding: 0; border: 1px solid #ffffff2b; border-radius: 50%; background: none; color: #c8d3e6; font-size: .8rem; transition: color .2s, border-color .2s; }
.aurora-toggle:hover { color: var(--brand); border-color: #5ed4df66; }

/* ---------- Sections ---------- */
.section { position: relative; padding: 6.5rem 0 3.5rem; border-top: 1px solid #ffffff0d; overflow: hidden; }
.section-head { display: grid; gap: .8rem; }
.section h2 { font: 600 clamp(2rem, 3.4vw, 3.1rem)/1.08 var(--font-display); letter-spacing: -.02em; }
.section-lede { max-width: 38rem; color: var(--muted); font-size: 1.125rem; line-height: 1.55; }
/* A light that follows the pointer round the edge of a surface. */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 3; padding: 1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(260px circle at var(--mx, -999px) var(--my, -999px), color-mix(in srgb, var(--accent) 80%, #fff), transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::after { opacity: 1; }

/* ---------- The firm: two businesses on one foundation ---------- */
.firm::before { content: ""; position: absolute; left: 50%; top: 20%; width: 60rem; height: 40rem; margin-left: -30rem; border-radius: 50%; background: radial-gradient(circle, #2e79d412, transparent 62%); pointer-events: none; }
.arch { position: relative; display: grid; margin-top: 2.2rem; }
/* As many columns as there are businesses, down to one on a phone: a fourth needs no change here. */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.2rem; }
.pillar { --accent: var(--mint); display: grid; align-content: start; gap: .45rem; padding: 1.5rem 1.7rem 1.4rem; border-radius: 1.1rem; background: var(--glass); box-shadow: var(--glass-rim); border-top: 2px solid var(--accent); transition: box-shadow .35s; }
.pillar-aiplets { --accent: var(--ice); background: linear-gradient(170deg, #a9d8ff12, #cdbff00a 45%, #ffffff05), #0b112299; }
.pillar-nexus { background: linear-gradient(170deg, #a0e6ce12, #ffffff05 45%, #ffffff05), #0b112299; }
.pillar-buds { --accent: var(--peri); background: linear-gradient(170deg, #a9b5f714, #cdbff00a 45%, #ffffff05), #0b112299; }
.pillar:hover { box-shadow: var(--glass-rim), 0 0 60px color-mix(in srgb, var(--accent) 16%, transparent); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pillar-icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: #0c1326; color: var(--accent); font-size: 1.2rem; box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 22%, transparent); }
/* Each business shows its own mark, from its brand kit, in the ring of its colour. */
.pillar-mark img { display: block; width: 1.85rem; height: 1.85rem; object-fit: contain; }
.pillar-tag { color: var(--accent); font: .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.pillar-name { margin-top: .4rem; color: #fff; font: 600 clamp(2rem, 3vw, 2.75rem)/1.05 var(--font-display); letter-spacing: -.02em; }
.pillar-slogan { color: var(--accent); font: 600 1.25rem/1.25 var(--font-display); }
.pillar-text { max-width: 30rem; color: var(--soft); font-size: 1rem; line-height: 1.5; }
.pillar-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: .6rem; }
.pillar-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font: 600 .9375rem/1 var(--font-display); }
.pillar-link svg { transition: transform .35s var(--ease); }
.pillar-link:hover svg { transform: translateX(4px); }
.arch-links { display: flex; justify-content: space-around; height: 2.2rem; }
.arch-links i { position: relative; width: 1px; background: linear-gradient(#a0e6ce55, #4f8fe866); }
.arch-links i:nth-child(2) { background: linear-gradient(#a9b5f755, #4f8fe866); }
.arch-links i:last-child { background: linear-gradient(#a9d8ff55, #4f8fe866); }
.motion .arch-links i::after { content: ""; position: absolute; left: -2px; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: #f1f8ff; box-shadow: 0 0 10px var(--brand); animation: link-rise 3.2s ease-in-out infinite; }
.motion .arch-links i:nth-child(2)::after { animation-delay: -1.07s; }
.motion .arch-links i:last-child::after { animation-delay: -2.13s; }
@keyframes link-rise { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(-2.2rem); opacity: 0; } }
/* The foundation is the firm itself, so it wears the Bytellar gradient: cyan, blue, indigo. */
.foundation { --accent: var(--brand); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 2.4rem; padding: 1.3rem 1.7rem; border-radius: 1.1rem; background: radial-gradient(ellipse 60% 140% at 50% 120%, #2e79d41f, transparent 70%), radial-gradient(ellipse 40% 120% at 100% 0%, #24158233, transparent 70%), var(--glass); box-shadow: var(--glass-rim); border: 1px solid #4f8fe847; }
.foundation::before { content: ""; position: absolute; left: 1.7rem; right: 1.7rem; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #5ed4df, #2e79d4 44%, #5b4fd8, transparent); opacity: .8; pointer-events: none; }
.foundation-id { display: flex; align-items: center; gap: .9rem; }
.foundation-id b { display: block; font: 600 1.5rem/1.1 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.foundation-id small { display: block; margin-top: .2rem; color: var(--brand); font: .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.foundation > p { max-width: 30rem; color: var(--soft); font-size: 1.0625rem; line-height: 1.5; }
.tenets { display: grid; grid-template-columns: repeat(2, auto); gap: .4rem .5rem; }
.tenets li { padding: .28rem .7rem; border: 1px solid #4f8fe84d; border-radius: 99px; color: #e6ecf5; font: .75rem/1.4 var(--font-mono); white-space: nowrap; }
.tenets li:last-child { border-color: #5ed4df73; color: var(--brand); }
/* Sovereignty runs the full width of the foundation, under a fine rule: one line, three facts. */
.sovereign { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: .6rem 1.6rem; padding-top: .95rem; border-top: 1px solid #4f8fe82e; }
.sovereign-tag { display: inline-flex; align-items: center; gap: .45rem; color: var(--brand); font: .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.sovereign-tag svg { width: .95rem; height: .95rem; }
.sovereign-line { color: #fff; font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.sovereign-line em { font: italic 500 1.16em/1 var(--font-serif); color: var(--brand); }
.sovereign-points { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1.2rem; color: var(--soft); font-size: .875rem; }
.sovereign-points li { display: inline-flex; align-items: center; gap: .45rem; }
.sovereign-points li::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: var(--brand); box-shadow: 0 0 8px var(--brand); }

/* ---------- The three businesses: the example sits right, left, right ---------- */
.product-nexus { --accent: var(--mint); --accent-2: var(--lav); }
.product-buds { --accent: var(--peri); --accent-2: var(--lav); }
.product-aiplets { --accent: var(--ice); --accent-2: var(--lav); }
.product::before { content: ""; position: absolute; top: 8%; width: 46rem; height: 46rem; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 7%, transparent), transparent 62%); pointer-events: none; }
.product-nexus::before, .product-aiplets::before { right: -12rem; }
.product-buds::before { left: -12rem; }
.product-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.product-buds .product-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); }
.product-buds .run { order: -1; }
.product-buds h2 em { display: block; }
.product-copy { display: grid; gap: 1.1rem; justify-items: start; }
.product-copy h2 { margin-top: -.3rem; }
/* Three promises, set out like terms. */
.promises { display: grid; width: 100%; margin-top: .3rem; border-top: 1px solid var(--rule); }
.promises li { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: .2rem .8rem; padding: .8rem 0; border-bottom: 1px solid var(--rule); }
.promises svg { align-self: center; padding: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #0b1122; stroke-width: 3; }
.promises b { font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.promises span { color: var(--muted); font-size: 1rem; text-align: right; }
.audience { color: var(--dim); font: .8125rem/1.5 var(--font-mono); letter-spacing: .03em; }
/* The app family: one live, the rest still ideas, and labelled as such. */
/* The AIplets family: each app with its icon, its name and its status, as on the AIplets site. */
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; width: 100%; margin-top: .2rem; }
.app, .app-next { position: relative; display: grid; justify-items: center; align-content: center; gap: .26rem; min-width: 0; padding: .8rem .4rem .7rem; border: 1px solid #ffffff14; border-radius: .9rem; background: #0b1122; text-align: center; }
.app img, .app-blank { width: 44px; height: 44px; margin-bottom: .16rem; border-radius: 12px; }
.app img { box-shadow: 0 0 0 1px #ffffff24, 0 10px 20px -8px #000; }
.app-blank { display: grid; place-items: center; border: 1px dashed #ffffff3d; color: var(--dim); font: 600 1.125rem/1 var(--font-display); }
.app b, .app-next b { max-width: 100%; overflow: hidden; font: 600 .9375rem/1.25 var(--font-display); text-overflow: ellipsis; white-space: nowrap; }
.app small, .app-next small { display: inline-flex; align-items: center; gap: .32rem; color: var(--dim); font: .75rem/1.4 var(--font-body); white-space: nowrap; }
.app small::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app.is-live { border-color: color-mix(in srgb, var(--ice) 55%, transparent); background: linear-gradient(160deg, #a9d8ff14, #cdbff00d 60%, #0b1122); box-shadow: 0 0 34px #a9d8ff1a; }
.app.is-live small { color: var(--ice); }
.app.is-live small::before { box-shadow: 0 0 8px var(--ice); }
.app.is-dev small { color: var(--lav); }
.app-next { border-style: dashed; background: none; }
.app-next b { color: var(--soft); }
.credit { width: 100%; padding: .8rem 1rem; border-left: 2px solid var(--lav); border-radius: 0 .6rem .6rem 0; background: #cdbff00d; color: var(--soft); font-size: .9375rem; line-height: 1.5; }
.credit b { display: block; color: var(--lav); font: 500 .75rem/1.6 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- An agent run: the question, the agents' steps, the result, and the person's call ---------- */
.run { position: relative; padding: 1.2rem 1.5rem 1.1rem; border-radius: 1.1rem; border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.run.glow::before { content: ""; position: absolute; inset: -1px; z-index: 1; padding: 1px; border-radius: inherit; background: conic-gradient(from var(--angle), transparent 0 68%, var(--accent) 80%, var(--lav) 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: .9; }
.motion .run.glow::before { animation: border-spin 9s linear infinite; }
@keyframes border-spin { to { --angle: 360deg; } }
.run-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--rule); }
.run-title { display: inline-flex; align-items: center; gap: .45rem; color: var(--lav); font: .8125rem/1.4 var(--font-mono); letter-spacing: .04em; }
.run-tabs { display: flex; gap: .3rem; }
.run-tab { padding: .3rem .7rem; border: 1px solid #ffffff1f; border-radius: 99px; background: none; color: #b5c1d8; font: 500 .8125rem/1.2 var(--font-display); letter-spacing: .01em; transition: color .25s, border-color .25s, background .25s; }
.run-tab:hover { color: #fff; border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.run-tab[aria-pressed="true"] { color: #fff; border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.run-badge { padding: .2rem .65rem; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 99px; color: var(--accent); font: .75rem/1.5 var(--font-mono); }
.run-scene { display: grid; gap: .9rem; padding: 1rem 0 .2rem; }
.js .run-scene:not(.is-active) { display: none; }
.run-scene + .run-scene { border-top: 1px solid var(--rule); }
.run-ask { overflow: hidden; white-space: nowrap; color: #f3efff; font: 500 .9375rem/1.5 var(--font-mono); }
.run-ask::before { content: "› "; color: var(--lav); }
.run-typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.run-steps { display: flex; flex-wrap: wrap; gap: .4rem; }
.run-steps li { display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem; border: 1px solid #ffffff17; border-radius: 99px; color: #c3cde0; font: .8125rem/1.4 var(--font-mono); }
.tick { display: inline-grid; place-items: center; width: .8rem; height: .8rem; }
.tick > * { grid-area: 1 / 1; }
.tick i { width: .66rem; height: .66rem; border-radius: 50%; border: 1.5px solid #cdbff040; border-top-color: var(--lav); opacity: 0; }
.tick svg { width: .8rem; height: .8rem; color: var(--accent); stroke-width: 3; }
.run-result { min-height: 2.5em; color: #fff; font: 500 clamp(1.25rem, 1.9vw, 1.625rem)/1.25 var(--font-display); letter-spacing: -.01em; }
.run-call { display: flex; align-items: baseline; gap: .8rem; padding-top: .85rem; border-top: 1px solid var(--rule); color: var(--soft); font-size: 1rem; }
.run-call span { flex: none; padding: .12rem .55rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 99px; background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent); font: .75rem/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.run-foot { display: flex; align-items: center; gap: 1rem; margin-top: .9rem; color: var(--dim); font: .75rem/1.4 var(--font-mono); letter-spacing: .04em; }
.run-more { display: inline-flex; align-items: center; gap: .35rem; margin: -.6rem 0 -.6rem auto; padding: .6rem 0; color: var(--accent); font: 500 .8125rem/1.4 var(--font-mono); letter-spacing: .02em; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 45%, transparent); text-underline-offset: .3em; }
.run-more svg { transition: transform .35s var(--ease); }
.run-more:hover svg { transform: translate(2px, -2px); }
.run-toggle { flex: none; }
.run-toggle { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; padding: 0; border: 1px solid #ffffff2b; border-radius: 50%; background: none; color: #c8d3e6; font-size: .7rem; }
.run-toggle:hover { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
/* The run plays through once each time a scene comes on: typed question, each step spins then ticks,
   the result resolves, and the person's call arrives last. Nothing pops or flashes. */
.motion .run-scene.is-active .run-typed { width: calc(var(--n) * 1ch); border-right: 2px solid var(--lav); animation: type 1.2s steps(var(--n)) .3s both; }
.motion .run-scene.is-active .run-steps li { animation: step-in .45s var(--ease) calc(1.6s + var(--i) * .42s) both; }
.motion .run-scene.is-active .tick i { animation: spin .55s linear infinite, spin-life .42s linear calc(1.6s + var(--i) * .42s) both; }
.motion .run-scene.is-active .tick svg { animation: fade-in .35s ease calc(2.02s + var(--i) * .42s) both; }
.motion .run-scene.is-active .run-result { animation: resolve .75s var(--ease) 3.1s both; }
.motion .run-scene.is-active .run-call { animation: fade-up .6s var(--ease) 3.8s both; }
@keyframes type { from { width: 0; } }
@keyframes step-in { from { opacity: 0; transform: translate3d(-8px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-life { 0% { opacity: 0; } 12%, 88% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: none; } }
@keyframes resolve { from { opacity: 0; filter: blur(7px); transform: translate3d(0, 6px, 0); } to { opacity: 1; filter: none; transform: none; } }

/* ---------- Vision ---------- */
.vision { --accent: var(--brand); }
.vision .section-lede { max-width: 47rem; }
.vision::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: 70rem; height: 44rem; margin-left: -35rem; border-radius: 50%; background: radial-gradient(circle, #2415822e, transparent 62%); pointer-events: none; }
.horizon { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.6rem; padding-top: 1.6rem; overflow-x: clip; }
/* One line runs under all three: today, next, always. */
.horizon::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, #5ed4df, #2e79d4 44%, #5b4fd8); opacity: .7; }
.horizon::after { content: ""; position: absolute; left: 0; top: -1px; width: 18%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff); opacity: 0; }
.motion .horizon.in::after { animation: horizon-run 7s cubic-bezier(.4, 0, .2, 1) 1s infinite; }
@keyframes horizon-run { 0% { transform: translateX(-100%); opacity: 0; } 8%, 60% { opacity: .9; } 70%, 100% { transform: translateX(560%); opacity: 0; } }
.horizon li { position: relative; display: grid; align-content: start; gap: .5rem; padding: 1.3rem 1.4rem 1.4rem; border: 1px solid #ffffff12; border-radius: 1rem; background: linear-gradient(170deg, #111a30, #0b1122 75%); }
/* The three dots walk the brand gradient: cyan, blue, indigo-violet. */
.horizon li::before { content: ""; position: absolute; left: 1.4rem; top: calc(-1.6rem - 4px); width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--dot, var(--brand)); box-shadow: 0 0 12px var(--dot, var(--brand)); }
.horizon li:nth-child(2) { --dot: var(--brand-glow); }
.horizon li:nth-child(3) { --dot: #8f86f0; }
.horizon small { color: var(--dot, var(--brand)); font: .75rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.horizon b { font: 600 1.5rem/1.2 var(--font-display); letter-spacing: -.01em; }
.horizon span { color: var(--muted); font-size: 1.0625rem; line-height: 1.5; }
.closing { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.closing p { color: var(--muted); font: .8125rem/1.5 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.closing-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7rem; }
.closing-link { --accent: var(--mint); display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1.1rem; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--accent) 7%, transparent); color: #fff; font: 500 .875rem/1 var(--font-mono); transition: background .3s, box-shadow .3s; }
.closing-link small { color: var(--accent); font: .75rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.closing-link svg { color: var(--accent); }
.closing-link:hover { background: color-mix(in srgb, var(--accent) 16%, transparent); box-shadow: 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.closing-buds { --accent: var(--peri); }
.closing-aiplets { --accent: var(--ice); }
/* ---------- Contact: the fifth screen. Two doors, drawn as the firm's two cards are. ---------- */
.contact::before { content: ""; position: absolute; left: 50%; bottom: -14rem; width: 64rem; height: 34rem; margin-left: -32rem; border-radius: 50%; background: radial-gradient(circle, #2e79d414, transparent 62%); pointer-events: none; }
.ways { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
/* It is the page's last screen at every width, so its link always lands it at the top. */
.contact { display: flex; flex-direction: column; justify-content: center; min-height: min(100svh, 70rem); }
/* Both buttons stand on one line: the answer under the investors' button hangs below it, in room
   the card keeps at its foot, and so takes no height of its own. */
.way { grid-template-rows: auto auto 1fr auto; }
.pillar.way { padding-bottom: 2.7rem; }
.way .write-group { position: relative; }
.way .write { position: absolute; top: calc(100% + .4rem); left: 0; }
.way-firm { --accent: var(--brand); background: linear-gradient(170deg, #2e79d41c, #2415820f 45%, #ffffff05), #0b112299; }
.contact .section-lede { max-width: 44rem; text-wrap: balance; }
.way-name { margin-top: .5rem; color: #fff; font: 600 clamp(1.4rem, 2.1vw, 1.85rem)/1.12 var(--font-display); letter-spacing: -.015em; }
.way-action { display: flex; margin-top: .9rem; }
/* The buttons here carry a ring at each end they use: an arrow at the right, and on the investors'
   button a copy icon at the left. */
/* The investors button carries two controls: the button itself opens the mail program, and a copy
   icon at its left end copies the address. A mail link alone does nothing on a computer with no
   mail program. The copy icon and the arrow at the right end are drawn alike, a ring each, so the
   button reads as one object with two ends. The line under the button is where the page answers
   ("Address copied", or what to do when no mail program opened); its room is kept, so nothing
   moves when it speaks, and it never makes the group wider than the button. */
.write-group { display: flex; flex-direction: column; gap: .45rem; }
.write-group:not(:has(.button:not([hidden]), .write:not([hidden]))) { display: none; }
.reach { --ring: 2.25rem; --ring-edge: .3rem; position: relative; display: flex; }
.reach .button { flex: 1; justify-content: space-between; padding: var(--ring-edge) var(--ring-edge) var(--ring-edge) 1.4rem; }
.reach:has(.write-copy:not([hidden])) .button { padding-left: calc(var(--ring) + var(--ring-edge) + .6rem); }
.write-copy, .reach .button svg { box-sizing: border-box; width: var(--ring); height: var(--ring); border: 1px solid #ffffff4d; border-radius: 50%; background: #040a1847; color: #eef6ff; transition: background .3s, border-color .3s, color .3s, box-shadow .3s; }
.reach .button svg { padding: calc((var(--ring) - 1rem) / 2 - 1px); stroke-width: 1.8; }
.reach .button:hover svg { transform: none; border-color: #ffffff8c; background: #040a1880; color: #fff; }
.write-copy { position: absolute; z-index: 1; left: var(--ring-edge); top: 50%; translate: 0 -50%; display: grid; place-items: center; padding: 0; cursor: pointer; }
.write-copy[hidden] { display: none; }
.write-copy::before { content: ""; position: absolute; inset: -.3rem; border-radius: 50%; }
.write-copy svg { width: 1rem; height: 1rem; stroke-width: 1.8; }
.write-copy:hover { border-color: #ffffff8c; background: #040a1880; color: #fff; }
.write-copy.is-done { border-color: #fff; background: #040a1880; color: #fff; }
.write-copy.is-nudged { border-color: #fff; background: #040a1880; color: #fff; box-shadow: 0 0 0 3px #ffffff47, 0 0 18px #ffffff80; }
.write { display: flex; justify-content: center; width: 0; min-width: 100%; }
.write[hidden] { display: none; }
.write-said { min-height: 1.5em; white-space: nowrap; color: var(--soft); font: .8125rem/1.5 var(--font-body); text-align: center; }
.write-said.is-done { color: var(--brand); }

/* ---------- Footer: the page signs off, in the firm's midnight ---------- */
.site-footer { --accent: var(--brand); position: relative; overflow: hidden; padding-bottom: clamp(4rem, calc(9.4vw + 1.6rem), 11rem); background: radial-gradient(ellipse 70% 30rem at 50% 0%, #142449 0%, #0c1328 58%, #070b17 85%), #070b17; }
.site-footer.spot::after { display: none; }
.site-footer > .container { position: relative; z-index: 1; }
.footer-beam { position: absolute; inset: 0 0 auto 0; height: 1px; overflow: hidden; background: #ffffff1a; }
.footer-beam::after { content: ""; position: absolute; top: 0; left: 0; width: 28%; height: 100%; background: linear-gradient(90deg, transparent, #5ed4df, #2e79d4, #5b4fd8, transparent); transform: translateX(-110%); }
.motion .site-footer.is-in .footer-beam::after { animation: footer-beam 6.5s cubic-bezier(.4, 0, .2, 1) infinite; }
@keyframes footer-beam { 0% { transform: translateX(-110%); } 55%, 100% { transform: translateX(470%); } }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: start; padding-top: 3.2rem; padding-bottom: 1.8rem; }
.footer-brand { display: grid; gap: .55rem; justify-items: start; }
.footer-slogan { margin-top: .7rem; font: 600 clamp(1.05rem, 5.2vw, 2rem)/1.15 var(--font-display); letter-spacing: -.01em; white-space: nowrap; }
.footer-descriptor { color: #8fd5e3; font: .75rem/1.5 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: .9rem; justify-items: end; }
.site-footer nav { display: flex; gap: .4rem; font: 500 .9375rem var(--font-display); color: #c3cde0; }
.site-footer nav a { padding: .5rem .9rem; border-radius: 999px; transition: color .25s, background .25s, box-shadow .25s; }
.site-footer nav a:hover { color: #fff; background: linear-gradient(180deg, #ffffff24, #5ed4df14); box-shadow: inset 0 1px 0 #ffffff4d, inset 0 -1px 0 #5ed4df26; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; padding-top: 1.2rem; padding-bottom: 1.4rem; border-top: 1px solid #ffffff10; color: #8b9ab8; font-size: .75rem; }
.footer-note { flex: 1 1 16rem; color: var(--dim); text-align: center; }
.footer-bottom a { display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.footer-bottom a:hover { color: var(--brand); }
/* The wordmark: an outline in the dark, lit where the pointer is. */
.footer-word, .footer-word::after { position: absolute; inset: 0 0 -.17em 0; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; user-select: none; color: transparent; font: 700 clamp(3.4rem, 15.4vw, 15rem)/.72 var(--font-display); white-space: nowrap; }
.footer-word { z-index: 0; -webkit-text-stroke: 1px #5ed4df33; background: linear-gradient(180deg, #4f8fe81f 62%, #4f8fe800 100%); -webkit-background-clip: text; background-clip: text; }
.footer-word::after { content: attr(data-word); inset: 0; -webkit-text-stroke: 1px var(--brand); background: linear-gradient(110deg, #5ed4df59, #2e79d466 50%, #5b4fd866); -webkit-background-clip: text; background-clip: text; -webkit-mask-image: radial-gradient(17rem circle at var(--mx, -999px) var(--my, -999px), #000 0, transparent 72%); mask-image: radial-gradient(17rem circle at var(--mx, -999px) var(--my, -999px), #000 0, transparent 72%); }

/* ---------- Arrival: things fade up once as they come into view ---------- */
.motion [data-reveal] { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .hero-block > *, .motion .hero-foot { animation: fade-up .9s var(--ease) both; }
.motion .hero-block > :nth-child(2) { animation-delay: .1s; } .motion .hero-block > :nth-child(3) { animation-delay: .22s; }
.motion .hero-block > :nth-child(4) { animation: fade-in 1s ease .4s both; } .motion .hero-foot { animation: fade-in 1s ease .7s both; }

/* ---------- One screen per section (desktop) ---------- */
@media (min-width: 1181px) {
  :root { --sp-1: clamp(.4rem, 1.1vh, .8rem); --sp-2: clamp(.7rem, 1.9vh, 1.3rem); --sp-3: clamp(1rem, 3vh, 2.4rem); }
  .section { display: flex; flex-direction: column; justify-content: center; min-height: min(100svh, 70rem); padding: clamp(5.4rem, 11.5vh, 6.25rem) 0 clamp(1rem, 3vh, 2.5rem); }
  .section h2 { font-size: clamp(1.9rem, min(3.4vw, 5.6vh), 3.25rem); }
  .section-head { gap: var(--sp-1); }
  .arch { margin-top: var(--sp-3); }
  .pillar { padding: var(--sp-2) 1.7rem; gap: clamp(.2rem, .7vh, .45rem); }
  .arch-links { height: clamp(1rem, 3vh, 2.2rem); }
  .foundation { padding-block: var(--sp-2); }
  .product-copy { gap: var(--sp-2); }
  .promises li { padding-block: clamp(.5rem, 1.5vh, .9rem); }
  .horizon { margin-top: var(--sp-3); }
  .closing { margin-top: var(--sp-3); }
  .ways { margin-top: var(--sp-3); }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1180px) {
  .container { width: calc(100% - 72px); }
  .foundation { grid-template-columns: auto minmax(0, 1fr); }
  .tenets { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
  .sovereign { grid-template-columns: auto minmax(0, 1fr); }
  .sovereign-points { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 980px) {
  .product-grid, .product-buds .product-grid { grid-template-columns: 1fr; }
  .product-buds .run { order: 0; }
  .pipe-agents { gap: .42rem; padding: .36rem .8rem; }
  .pipe-agents span { margin-right: .2rem; }
  .pipe-agents i { --a-idle: transparent; --a-on: transparent; --a-done: transparent; --g-idle: #cdbff040; --g-on: #fff; --g-done: #cdbff0; display: block; width: 7px; height: 7px; padding: 0; border: 0; overflow: hidden; text-indent: 2rem; }
  .pipe-agents i::before { display: none; }
  .horizon { grid-template-columns: 1fr; padding-top: 0; padding-left: 1.6rem; overflow-x: visible; }
  .horizon::before { left: 0; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, #5ed4df, #2e79d4 44%, #5b4fd8); }
  .horizon::after { display: none; }
  .horizon li::before { left: calc(-1.6rem - 6px); top: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 1.2rem; }
  .footer-links { justify-items: start; }
  .site-footer nav { flex-wrap: wrap; margin-left: -.9rem; }
}
/* Tablets and phones: six page links and three product buttons no longer fit one bar below 1100px.
   The bar holds the logo and one menu button. The page links and the three ways out move into the
   menu's sheet, so nothing on the first screen carries the same name as the doors below. */
@media (max-width: 1100px) {
  .header-inner { padding-right: .4rem; }
  .site-nav, .nav-exits { display: none; }
  .menu { display: block; grid-column: 3; justify-self: end; }
  .menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: #ffffff14; box-shadow: inset 0 1px 0 #ffffff40, inset 0 0 0 1px #ffffff1f; -webkit-tap-highlight-color: transparent; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  /* Two bars that cross into a close mark. */
  .menu summary i { grid-area: 1 / 1; width: 18px; height: 2px; border-radius: 2px; background: #eef6ff; transition: transform .3s var(--ease); }
  .menu summary i:first-child { transform: translateY(-3.5px); }
  .menu summary i:last-child { transform: translateY(3.5px); }
  .menu[open] summary i:first-child { transform: rotate(45deg); }
  .menu[open] summary i:last-child { transform: rotate(-45deg); }
  /* While the menu is open the page behind dims, and a tap on it closes the menu. */
  .site-header:has(.menu[open])::before { content: ""; position: fixed; inset: 0; z-index: -1; background: #02040c99; pointer-events: auto; }
  /* The sheet hangs under the bar, as wide as the bar. It is nearly solid: glass inside glass does
     not blur what is behind it. */
  .menu-sheet { position: absolute; top: calc(100% + .55rem); left: 0; right: 0; padding: .55rem; border-radius: 1.5rem; background: linear-gradient(180deg, #141c33fa, #0a0f1ffa); box-shadow: inset 0 1px 0 #ffffff38, inset 0 0 0 1px #ffffff1a, 0 24px 60px #000000b3; }
  .motion .menu[open] .menu-sheet { animation: menu-in .3s var(--ease) both; }
  .menu-links a { display: flex; align-items: baseline; gap: .9rem; min-height: 3.25rem; padding: .95rem .9rem; border-radius: 1rem; color: #eef5f2; font: 600 1.25rem/1.2 var(--font-display); letter-spacing: -.005em; }
  .menu-links a + a { box-shadow: 0 -1px 0 #ffffff12; }
  .menu-links b { color: var(--accent); font: 500 .75rem/1 var(--font-mono); letter-spacing: .06em; }
  .menu-links a[aria-current="true"] { background: #ffffff12; box-shadow: inset 0 1px 0 #ffffff26; }
  .menu-links a[aria-current="true"] + a { box-shadow: none; }
  .menu-exits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: .55rem; padding-top: .55rem; border-top: 1px solid #ffffff1f; }
  .menu-exit { display: grid; gap: .45rem; padding: .85rem .9rem .9rem; border-radius: 1rem; color: #eafff6; text-shadow: 0 1px 1px #04100c80;
    background: radial-gradient(130% 150% at 24% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #48dcae80 0%, #1fae8047 50%, #48dcae70 100%);
    box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a0e6ce80, inset 0 0 0 1px #a0e6ce4d; }
  .menu-exit-ice { color: #f1f8ff;
    background: radial-gradient(130% 150% at 40% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #6cb8f080 0%, #3a7fc447 50%, #8f9df070 100%);
    box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9d8ff80, inset 0 0 0 1px #a9d8ff4d; }
  .menu-exit-peri { color: #f3f4ff;
    background: radial-gradient(130% 150% at 32% -50%, #ffffff73, transparent 52%), linear-gradient(180deg, #8190e680 0%, #4c57b847 50%, #9aa7f270 100%);
    box-shadow: inset 0 1px 0 #ffffff8c, inset 0 -1px 0 #a9b5f780, inset 0 0 0 1px #a9b5f74d; }
  .menu-exit small { font: 500 .6875rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
  .menu-exit span { display: inline-flex; align-items: center; justify-content: space-between; gap: .4rem; font: 600 1rem/1.1 var(--font-display); white-space: nowrap; }
  .menu-exit svg { width: 1rem; height: 1rem; flex: none; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  /* On a tablet the sheet is a panel at the right, not the width of the bar. */
  .menu-sheet { left: auto; width: 24rem; }
  /* The three doors stay on one row. */
  .doors { flex-wrap: nowrap; width: 100%; max-width: 62rem; }
  .door { min-width: 0; flex: 1 1 0; column-gap: .8rem; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-header { inset: .5rem 0 auto 0; }
  .header-inner, .site-header.is-scrolled .header-inner { height: 54px; padding: 0 .4rem 0 1rem; }
  /* On a phone the doors stay low, within reach of the thumb: all spare height goes above the words. */
  .hero-inner { padding-top: 6rem; }
  .hero-inner::after { display: none; }
  .hero h1 { font-size: clamp(2.5rem, 11.4vw, 3.6rem); }
  .hero-kicker { font-size: .75rem; letter-spacing: .02em; }
  .doors { width: 100%; }
  .door { min-width: 0; flex: 1 1 16rem; }
  .hero-foot { justify-content: flex-start; padding-right: 2.6rem; }
  .pipeline { gap: 1.3rem; padding: .25rem; letter-spacing: .03em; }
  .pipeline > li:not(:last-child)::after { left: calc(100% + .28rem); width: .74rem; }
  .pipe-you { padding: .34rem .55rem; }
  .pipe-you svg, .pipe-agents i { display: none; }
  .pipe-agents { padding: .34rem .55rem; }
  .pipe-agents span { margin-right: 0; }
  .section { padding: 5.5rem 0 3rem; }
  .pillars { grid-template-columns: 1fr; }
  .arch-links { justify-content: center; }
  .arch-links i:not(:first-child) { display: none; }
  .foundation { grid-template-columns: 1fr; padding: 1.2rem; }
  .sovereign { grid-template-columns: 1fr; }
  .sovereign-line { white-space: normal; }
  .sovereign-points { flex-direction: column; gap: .4rem; }
  .pillar { padding: 1.2rem; }
  .promises li { grid-template-columns: auto 1fr; }
  .promises span { grid-column: 2; text-align: left; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app, .app-next { grid-template-columns: auto minmax(0, 1fr); justify-items: start; column-gap: .7rem; padding: .6rem .7rem; text-align: left; }
  .app img, .app-blank { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .app b, .app-next b { align-self: end; }
  .app small, .app-next small { align-self: start; }
  .run { padding: 1.1rem 1rem 1rem; }
  .run-ask { font-size: .8125rem; }
  .closing-links { width: 100%; }
  .closing-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem .6rem; width: 100%; padding: .85rem 1.2rem; border-radius: 1.1rem; }
  .closing-link small { grid-column: 1 / -1; }
  /* Five footer links on one line. */
  .site-footer nav { gap: 0; margin-left: -.55rem; }
  .site-footer nav a { padding: .5rem .55rem; }
  .way-action > * { width: 100%; }
  .footer-top { padding-top: 2.4rem; }
  .footer-note { order: 3; flex-basis: 100%; text-align: left; }
  .to-top { right: .9rem; bottom: .9rem; }
}
/* Small tablets: the link row tightens a little, so brand, links and button keep their distance. */
@media (max-width: 900px) {
  /* Too narrow to centre the links on the bar without crowding the button: share the gaps evenly instead. */
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav { justify-self: center; margin-right: 0; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .site-nav { padding-inline: 0; }
  .site-nav a { padding: .5rem .5rem; }
}
/* Narrow phones: the header button and the method strip tighten so nothing touches. */
@media (max-width: 380px) {
  .menu-exits { gap: .35rem; }
  .menu-exit { padding: .8rem .5rem .85rem; }
  .menu-exit small { font-size: .5625rem; letter-spacing: 0; }
  .menu-exit span { font-size: .9375rem; }
  .pipeline { gap: .9rem; letter-spacing: 0; }
  .pipeline > li:not(:last-child)::after { left: calc(100% + .22rem); width: .46rem; }
  .pipe-you, .pipe-agents { padding: .34rem .45rem; }
}
@media (max-width: 340px) {
  .pipeline { gap: .3rem; }
  .pipeline > li:not(:last-child)::after { display: none; }
  .pipe-you, .pipe-agents { padding: .34rem .3rem; }
}

/* ---------- Reduced motion: nothing moves on its own ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-nav::before, .header-inner { transition: none; }
}
