/* AISA site styles. Rebuilt from the original aisagrowth.com design (Base44 build),
   as static CSS. Colours are the live site's seven; see templates/brand-tokens.md. */

/* fonts, self-hosted (Latin): Inter (SIL Open Font License, one variable file for 400-500)
   and Satoshi 700/900 (Fontshare ITF Free Font License, self-hosting allowed) */
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-var.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../assets/fonts/satoshi-900.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --charcoal: #050304;
  --graphite: #0C0809;
  --gunmetal: #1C1C20;
  --burgundy: #641A29;
  --oxblood: #480F17;
  --silver: #C7CCD3;
  --off-white: #F4F2EF;

  --font-heading: "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 72rem;
  --gutter: clamp(1.5rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  padding: .75rem 1rem; background: var(--off-white); color: var(--charcoal); border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.page { position: relative; z-index: 10; }
.rule-top { border-top: 1px solid var(--gunmetal); }

/* ---------- ambient background (fixed, behind everything) ---------- */

.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
:is(.ambient, .film-bg) .ray {
  position: absolute; width: 180%; height: 160%; left: -40%;
  animation: ray-pulse 10s ease-in-out infinite;
}
:is(.ambient, .film-bg) .ray-1 { top: -30%; filter: blur(30px);
  background: linear-gradient(105deg, transparent 35%, rgba(100,26,41,.03) 45%, rgba(100,26,41,.05) 50%, rgba(100,26,41,.03) 55%, transparent 65%); }
:is(.ambient, .film-bg) .ray-2 { top: -15%; filter: blur(40px); animation-duration: 14s; animation-delay: 2s; animation-direction: reverse;
  background: linear-gradient(112deg, transparent 38%, rgba(100,26,41,.02) 46%, rgba(100,26,41,.035) 50%, rgba(100,26,41,.02) 54%, transparent 62%); }
:is(.ambient, .film-bg) .ray-3 { top: -25%; filter: blur(50px); animation-duration: 18s; animation-delay: 4s;
  background: linear-gradient(98deg, transparent 40%, rgba(100,26,41,.015) 47%, rgba(100,26,41,.025) 50%, rgba(100,26,41,.015) 53%, transparent 60%); }
:is(.ambient, .film-bg) .glow { position: absolute; left: 0; right: 0; top: 0; height: 80vh;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(100,26,41,.04) 0%, transparent 70%);
  transform: translateY(var(--glow-y, -10vh)); }
.ambient canvas { position: absolute; inset: 0; }
:is(.ambient, .film-bg) .vignette { position: absolute; inset: 0;
  background: radial-gradient(ellipse 95% 85% at 50% 50%, transparent 45%, rgba(0,0,0,.25) 100%); }
@keyframes ray-pulse { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

/* ---------- scroll progress and back to top ---------- */

.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--gunmetal);
  display: grid; place-items: center; cursor: pointer;
  background: var(--burgundy); color: var(--off-white);
  opacity: 0; transform: translateY(10px) scale(.8); pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease), visibility 0s linear .3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition-delay: 0s; }
.to-top:hover { background: var(--oxblood); transform: scale(1.1); }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 50;
  width: calc(100% - 2rem); max-width: 600px;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--gunmetal);   /* 50px tall, as on the original site */
  background: rgba(0,0,0,.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transition: background-color .5s var(--ease);
}
.nav.scrolled .nav-inner { background: rgba(0,0,0,.85); }
.nav-logo { position: relative; display: flex; align-items: center; }
/* the nav matches the original site's compact size (12px labels, a 32px button); an
   invisible 44px hit area around each keeps them easy to tap on a phone */
.nav-logo::before, .nav-link::before, .nav .btn::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; transition: gap .55s cubic-bezier(.22,1,.36,1); }
.nav-end { display: flex; align-items: center; gap: .5rem; }
.nav-link.on { opacity: 1; color: var(--off-white); }
.nav-link.on::after { transform: scaleX(1); }
.nav-toggle { display: none; }
/* phones: the section links fold into a panel under the bar */
@media (max-width: 40rem) {
  .nav-toggle {
    position: relative; display: grid; place-content: center; gap: 5px; width: 32px; height: 32px; margin-right: -.375rem; padding: 0;
    border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  }
  .nav-toggle::before { content: ""; position: absolute; inset: -6px; }
  .nav-toggle span { display: block; width: 16px; height: 1.5px; border-radius: 1px; background: var(--off-white); transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
  .nav-links {
    position: absolute; left: 0; right: 0; top: calc(100% + .5rem); display: grid; gap: 0; margin: 0; padding: .5rem;
    border-radius: 1.25rem; border: 1px solid var(--gunmetal); background: rgba(0,0,0,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .nav-links .nav-link { min-height: 48px; padding: 0 1rem; font-size: 1rem; border-radius: .75rem; }
  .nav-links .nav-link::after { display: none; }
  .nav-links .nav-link::before { display: none; }
  .nav-links .nav-link:hover, .nav-links .nav-link.on, .nav-links .nav-link[aria-current="page"] { background: rgba(244,242,239,.05); }}
.nav-link {
  position: relative; font-size: .75rem; font-weight: 500; line-height: 1rem; color: var(--silver); opacity: .8;
  display: inline-flex; align-items: center; transition: opacity .3s var(--ease), color .3s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; color: var(--off-white); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- buttons ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 44px; padding: 1rem 2rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem; line-height: 1; color: var(--off-white);
  /* quiet metal: a black face inside a thin rim of faded AISA burgundy, catching light at
     the top-left and bottom-right like brushed metal */
  background:
    linear-gradient(180deg, #1c1719 0%, #070506 100%) padding-box,
    linear-gradient(135deg, rgba(176,112,126,.75) 0%, rgba(70,24,36,.85) 28%, rgba(22,9,13,.95) 52%, rgba(128,70,84,.6) 78%, rgba(30,11,17,.95) 100%) border-box;
  box-shadow: 0 1px 2px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  transition: filter .3s var(--ease), transform .45s var(--ease), box-shadow .3s var(--ease);
  translate: var(--mx, 0px) var(--my, 0px);   /* the magnetic pull, set every frame by site.js: never transitioned, so it can't lag */
  will-change: transform, translate;
}
.btn:hover { filter: brightness(1.25); box-shadow: 0 2px 10px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.btn:active { transform: scale(.98); box-shadow: inset 0 2px 4px rgba(0,0,0,.5); }
.btn:focus-visible { outline: 2px solid var(--off-white); outline-offset: 3px; }
.btn[disabled] { opacity: .5; cursor: progress; }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn-inner { display: inline-flex; align-items: center; gap: inherit; will-change: transform; }

/* the hero's metallic button: a live metal rim (site/src/metal.js draws flowing bands of
   black and faded burgundy into .btn-metal-rim) around a black face */
.btn-metal { background: none; border: 0; padding: calc(1rem + 1px) calc(2rem + 1px); overflow: hidden; isolation: isolate;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 20px 12px rgba(0,0,0,.08), 0 9px 9px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.15);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .15s cubic-bezier(.4,0,.2,1); }
.btn-metal:hover { filter: none; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 12px 6px rgba(0,0,0,.05), 0 8px 5px rgba(0,0,0,.1), 0 4px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.2); }
.btn-metal.is-pressed { transform: translateY(1px) scale(.98); box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.3); }
.btn-metal-rim { position: absolute; inset: 0; z-index: 0; border-radius: inherit; overflow: hidden;
  /* until the live metal draws (or without WebGL 2): the quiet metal rim */
  background: linear-gradient(135deg, rgba(176,112,126,.75) 0%, rgba(70,24,36,.85) 28%, rgba(22,9,13,.95) 52%, rgba(128,70,84,.6) 78%, rgba(30,11,17,.95) 100%); }
.btn-metal-rim canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.btn-metal-face { position: absolute; inset: 2px; z-index: 1; border-radius: inherit; background: linear-gradient(180deg, #202020 0%, #000 100%); transition: box-shadow .15s cubic-bezier(.4,0,.2,1); }
.btn-metal.is-pressed .btn-metal-face { box-shadow: inset 0 2px 4px rgba(0,0,0,.4), inset 0 1px 2px rgba(0,0,0,.3); }
.btn-metal-label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.btn-metal-ripple { position: absolute; z-index: 3; width: 20px; height: 20px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.4) 0%, rgba(255,255,255,0) 70%); animation: metal-ripple .6s ease-out forwards; }
@keyframes metal-ripple { from { transform: translate(-50%, -50%) scale(0); opacity: .6; } to { transform: translate(-50%, -50%) scale(4); opacity: 0; } }
.btn-sm { padding: .625rem 1rem; font-size: 1rem; }
.btn-md { padding: .875rem 1.5rem; font-size: 1rem; }
.nav .btn { position: relative; min-height: 32px; padding: .5rem 1rem; font-size: .75rem; gap: .375rem;
  /* Safari sometimes drops the two-layer (padding-box / border-box) background inside the nav's blurred glass, so the
     button flashed solid burgundy and changed again on hover. Here the same look is a plain fill plus a real border:
     lighter burgundy top-left, darker bottom-right, like the light catching the rim. Hover brightens the fill only. */
  background: linear-gradient(180deg, #1c1719 0%, #070506 100%);
  border-color: rgba(150,86,101,.75) rgba(70,24,36,.9) rgba(40,14,22,.95) rgba(128,70,84,.65); will-change: auto; }
.nav .btn:hover { filter: none; background: linear-gradient(180deg, #2a2124 0%, #0e0a0b 100%); }
.nav .btn svg { width: .75rem; height: .75rem; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-heading); font-weight: 900; letter-spacing: -0.025em; line-height: .98;
}
.gradient-text {
  background: linear-gradient(180deg, var(--off-white) 0%, var(--silver) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .2em;
}
.lead { color: var(--silver); font-size: clamp(1rem, .9rem + .4vw, 1.125rem); line-height: 1.625; }

/* ---------- reveal on scroll (added by site.js; content is visible without JS) ---------- */

.js .reveal { opacity: 0; transform: translateY(var(--reveal-y, 24px)); filter: blur(var(--reveal-b, 8px)); transition: opacity 1s var(--ease) var(--delay, 0s), transform 1s var(--ease) var(--delay, 0s), filter 1s var(--ease) var(--delay, 0s), border-color .5s var(--ease); }
.js .reveal.in { filter: none; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero film (scroll-scrubbed laptop) ---------- */

.film { position: relative; }
.film-runway { position: relative; height: 100vh; height: 100svh; }
.film-live .film-runway { height: 520vh; }
.film-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* the film is on black and screen-blended over the site's own lighting (the same rays
   and glow as the page background), so the hero's light is the page's light: no
   gradient lives in the pictures, so nothing can band into rings. (Transparent frames
   would do the same without blending but made scrolling measurably less smooth.) */
.film-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  /* feathered bottom: as the scene scrolls away its lighting dissolves into the page, no edge */
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
/* the hero's own warmth: a soft burgundy pool behind the laptop, same colour as the page's glow */
.film-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 42% 48% at 72% 42%, rgba(100,26,41,.08) 0%, rgba(100,26,41,.03) 45%, rgba(100,26,41,0) 75%); }
.film-shade {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--copy-o, 1);
  /* a soft pool of dark behind the centred headline, so it reads over the rising light */
  background: radial-gradient(ellipse 60% 42% at 50% 44%, rgba(5,3,4,.75) 0%, rgba(5,3,4,.35) 55%, rgba(5,3,4,0) 80%);
}
.film-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: var(--glow-o, 0);
  background: radial-gradient(ellipse 58% 46% at 50% 48%, rgba(100,26,41,.16) 0%, rgba(100,26,41,.05) 45%, rgba(5,3,4,0) 72%);
}
.film-copy {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding-bottom: 6vh;
  opacity: var(--copy-o, 1); transform: translateY(var(--copy-y, 0px));
}
.film-copy h1 { font-size: clamp(3rem, 1.2rem + 5.2vw, 5.75rem); margin-bottom: 2rem; }
.film-copy h1 > span { display: block; }
.film-copy .bar { width: 3rem; height: 1px; margin: 0 auto 2rem; background: var(--burgundy); transform-origin: center; }
.js .film-copy .bar { transform: scaleX(0); transition: transform .8s var(--ease) .6s; }
.js .film.in .film-copy .bar { transform: scaleX(1); }
.film-copy .lead { max-width: 30rem; margin: 0 auto 3rem; }

.hero-cue { position: absolute; z-index: 3; bottom: 2rem; left: 50%; translate: -50% 0; color: var(--silver); opacity: calc(var(--copy-o, 1) * .5); }
.hero-cue svg { width: 20px; height: 20px; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- inside the screen: the six systems ---------- */

.screen { position: relative; z-index: 3; padding-block: clamp(7rem, 5rem + 6vw, 10rem) clamp(6rem, 4rem + 6vw, 9rem); }
.screen::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 100vh; pointer-events: none; z-index: -1;
  background: radial-gradient(ellipse 58% 46% at 50% 48%, rgba(100,26,41,.16) 0%, rgba(100,26,41,.05) 45%, rgba(5,3,4,0) 72%);
}
.film-live .screen { padding-top: clamp(3rem, 2rem + 3vw, 5rem); }
.film-live .screen::before { display: none; }

/* the camera ends inside the screen on one centred statement: part of the pinned scene
   (.film-end), so the browser holds it still while it comes into focus, then it scrolls
   away with the scene and the six systems follow. The section's own heading carries the
   same words for screen readers and for visitors without the live hero. */
.film-end { display: none; position: absolute; inset: 0; z-index: 3; align-items: center; justify-content: center; text-align: center; pointer-events: none; opacity: var(--screen-o, 0); }
.film-live .film-end { display: flex; }
.film-end-title {
  font-size: clamp(3rem, 1.2rem + 5.6vw, 6.5rem); color: var(--off-white); margin: 0; padding: .3em .5em;
  transform: scale(var(--screen-s, 1)); filter: blur(var(--screen-b, 0px)); will-change: transform, filter;
}
.film-live .screen-head { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.screen-head { text-align: center; margin-bottom: clamp(3rem, 2rem + 3vw, 4.5rem); }
.screen-head .h2 { display: inline-block; }
.sys-desc-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-size: .9375rem; font-weight: 500; color: var(--off-white); }
.sys-desc-link svg { width: .9375rem; height: .9375rem; flex: none; transition: transform .3s var(--ease); }
.sys-desc-link:hover svg { transform: translateX(4px); }
/* the six systems as cards under the product view: the highlighted card is the system in
   the window; its line runs while it plays, then the next takes over */
.sysgrid { position: relative; z-index: 1; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .sysgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }}
@media (min-width: 64rem) { .sysgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }}
.sys-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 1.25rem + .8vw, 2rem); border-radius: 1.25rem; overflow: hidden; cursor: pointer;
  border: 1px solid rgba(244,242,239,.07); background: linear-gradient(180deg, #0F0B0C, #080607); box-shadow: inset 0 1px 0 rgba(244,242,239,.04);
  transition: border-color .5s var(--ease), background-color .5s var(--ease); }
.sys-card:hover, .sys-card.on { border-color: rgba(244,242,239,.16); }
.sys-card::before { content: ""; position: absolute; left: 18%; right: 18%; top: 0; height: 1px; background: linear-gradient(90deg, transparent, #B24158, transparent); opacity: 0; transition: opacity .5s var(--ease); }
.sys-card.on::before { opacity: 1; }

.sys-card h3 { margin-bottom: .75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.1; color: var(--off-white); }
.sys-card p { color: var(--silver); line-height: 1.6; }
.sys-card .sys-desc-link { margin-top: auto; padding-top: 1rem; align-self: flex-start; }
.sys-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(244,242,239,.5); transform: scaleX(0); transform-origin: left; }
.sc-auto .sys-card.on .sys-bar { animation: sys-run 4.2s linear forwards; }
.sc-paused .sys-card.on .sys-bar { animation-play-state: paused; }
@keyframes sys-run { to { transform: scaleX(1); } }

/* ---------- ticker ---------- */

/* ---------- sound familiar: one business screen, its pains fading in around it ---------- */
.fx { position: relative; height: clamp(30rem, 24rem + 14vw, 38rem); }
.fx-screen { position: absolute; left: 50%; top: 50%; width: min(36rem, 62%); aspect-ratio: 16 / 10; transform: translate(-50%, -50%); border-radius: 1.25rem; overflow: hidden;
  border: 1px solid rgba(244,242,239,.07); background: linear-gradient(180deg, #0E0B0C, #070506); box-shadow: inset 0 1px 0 rgba(244,242,239,.05), 0 50px 100px -60px rgba(0,0,0,.95); opacity: .75; }
@keyframes lead-fade { 0%, 30% { opacity: 1; } 60%, 80% { opacity: .2; } 100% { opacity: 1; } }
@keyframes q-pulse { 50% { opacity: .3; } }
.fx-q { position: absolute; width: min(19rem, 46%); padding: 1rem 1.15rem 1rem 2.3rem; border-radius: 1rem; border: 1px solid rgba(244,242,239,.12);
  background: rgba(14,11,12,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 60px -30px rgba(0,0,0,.9);
  font-size: .9375rem; line-height: 1.5; color: var(--off-white);
  opacity: 0; transform: translateY(10px) scale(.98); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); pointer-events: none; }
.fx-q::before { content: ""; position: absolute; left: 1.05rem; top: 1.45rem; width: 6px; height: 6px; border-radius: 50%; background: #B24158; }
.fx-q.on { opacity: 1; transform: none; filter: none; }
.fx-q[data-slot="0"] { left: 0; top: 4%; } .fx-q[data-slot="1"] { right: 0; top: 0; }
.fx-q[data-slot="2"] { left: 3%; top: 44%; } .fx-q[data-slot="3"] { right: 2%; top: 38%; }
.fx-q[data-slot="4"] { left: 14%; bottom: 0; } .fx-q[data-slot="5"] { right: 12%; bottom: 3%; }
@media (max-width: 47.99rem) {
  .fx { height: 30rem; }
  .fx-screen { width: 100%; top: 50%; }
  .fx-q { width: 86%; }
  .fx-q[data-slot="0"], .fx-q[data-slot="2"], .fx-q[data-slot="4"] { left: 0; right: auto; top: 0; bottom: auto; }
  .fx-q[data-slot="1"], .fx-q[data-slot="3"], .fx-q[data-slot="5"] { right: 0; left: auto; bottom: 0; top: auto; }}
/* without motion: the pains simply listed under the screen */
.fx-static { height: auto; display: grid; gap: 1.5rem; }
.fx-static .fx-screen { position: relative; left: auto; top: auto; transform: none; margin: 0 auto; }
.fx-static .fx-q { position: relative; inset: auto; width: auto; opacity: 1; transform: none; filter: none; }

/* ---------- home: on to the full breakdown ---------- */
.sys-more-link { display: inline-flex; align-items: center; gap: .625rem; min-height: 44px; font-weight: 500; color: var(--off-white);
  border-bottom: 1px solid rgba(244,242,239,.25); transition: border-color .3s var(--ease), gap .3s var(--ease); }
.sys-more-link svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); }
.sys-more-link:hover { border-color: #B24158; }
.sys-more-link:hover svg { transform: translateX(4px); }

/* ---------- the bookend: six plates settle into one (closing and 404) ---------- */

.stack { position: relative; width: 220px; height: 150px; margin: 0 auto 2.5rem; perspective: 900px; }
.stack i { position: absolute; left: 10px; top: 20px; width: 200px; height: 124px; border-radius: 18px;
  border: 1px solid rgba(244,242,239,.32); background: linear-gradient(180deg, #151112, #070506);
  transform: rotateX(60deg) rotateZ(-34deg) translateZ(calc(var(--k) * 22px)) translateX(calc((var(--k) - 2.5) * 6px));
  transition: transform 1.3s var(--ease) calc((5 - var(--k)) * .07s), border-color .8s var(--ease) 1s; }
.stack i:last-child::after { content: ""; position: absolute; inset: 0; background: url(../assets/aisa-mark-on-dark.svg) 50% 50% / 46px no-repeat; opacity: 0; transition: opacity .8s var(--ease) 1.1s; }
.stack-loose i { transform: rotateX(60deg) rotateZ(calc(-34deg + (var(--k) - 2.5) * 7deg)) translateZ(calc(var(--k) * 24px)) translateX(calc((var(--k) - 2.5) * 16px)); }

/* ---------- 404 ---------- */

.nf { padding-block: clamp(9rem, 7rem + 6vw, 13rem) clamp(6rem, 5rem + 4vw, 9rem); text-align: center; }
.nf h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.25rem); line-height: 1; }
.nf .lead { margin: 1.25rem auto 2.5rem; max-width: 30rem; }
.nf-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; justify-content: center; }
.nf-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--silver); text-decoration: underline; text-decoration-color: rgba(244,242,239,.3); text-underline-offset: 4px; }
.nf-link:hover { color: var(--off-white); }

/* ---------- section scaffolding ---------- */

.section { padding-block: clamp(6rem, 4rem + 6vw, 9rem); }

.h2 { font-size: clamp(2.25rem, 1rem + 5vw, 4.5rem); color: var(--off-white); }

/* ---------- six systems ---------- */

/* ---------- diagnose, build, compound ---------- */

.process-title { font-size: clamp(3rem, 1.4rem + 6.4vw, 6rem); line-height: .95; margin-bottom: clamp(5rem, 4rem + 3vw, 7rem); }
.process-title span { display: block; }

/* ---------- the product view: AISA's system, blending into the page ----------
   authored at 1440 x 860 and scaled to the column (site.js sets --s); it tips back as it
   arrives and settles flat, and its lower edge dissolves into the page. The rail walks
   through the six systems on its own; the panel for each one comes forward in turn. */

.showcase { --s: .75; --tilt: 0; position: relative; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); perspective: 2200px; }
.showcase::before { content: ""; position: absolute; left: 8%; right: 8%; top: -6%; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 55% 60% at 50% 45%, rgba(100,26,41,.2), rgba(100,26,41,0) 70%); }
.sc-frame {
  height: calc(860px * var(--s)); transform-origin: 50% 0; overflow: hidden; border-radius: calc(20px * var(--s));
  transform: rotateX(calc(var(--tilt) * 16deg)) translateY(calc(var(--tilt) * 40px)) scale(calc(1 - var(--tilt) * .05));
  -webkit-mask-image: linear-gradient(to bottom, #000 58%, transparent 99%); mask-image: linear-gradient(to bottom, #000 58%, transparent 99%);
}
.sc-window {
  width: 1440px; height: 860px; transform: translateX(calc(var(--shift, 0) * var(--s) * 1px)) scale(var(--s)); transform-origin: 0 0; display: grid; grid-template-rows: 68px 1fr;
  border-radius: 20px; overflow: hidden; color: var(--off-white); font-family: var(--font-body); line-height: 1.2;
  background: linear-gradient(180deg, #120E0F 0%, #0A0708 60%); border: 1px solid rgba(244,242,239,.1);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.09);
}
.sc-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; border-bottom: 1px solid rgba(244,242,239,.07); }
.sc-brand { display: flex; align-items: center; gap: 12px; font: 900 20px/1 var(--font-heading); letter-spacing: .04em; }
.sc-crumb { font-size: 16px; color: #8B8F96; }
.sc-crumb i { font-style: normal; margin: 0 8px; opacity: .6; }
.sc-crumb b { font-weight: 500; color: var(--silver); }
.sc-live { display: flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(244,242,239,.1); font-size: 14px; color: #8B8F96; }
.sc-live i { width: 7px; height: 7px; border-radius: 50%; background: #A33B50; }
.sc-body { display: grid; grid-template-columns: 300px 1fr; min-height: 0; }
.sc-rail { list-style: none; margin: 0; padding: 26px 16px; display: grid; align-content: start; gap: 4px; border-right: 1px solid rgba(244,242,239,.07); }
.sc-rail li { position: relative; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; border-radius: 12px; font-size: 18px; color: #8B8F96; cursor: default; transition: color .5s var(--ease), background-color .5s var(--ease); }
.sc-rail li svg { width: 20px; height: 20px; flex: none; }
.sc-n { width: 22px; font: 700 13px/1 var(--font-heading); font-variant-numeric: tabular-nums; color: #5C565A; }
.sc-rail li.on { color: var(--off-white); background: rgba(244,242,239,.05); box-shadow: inset 0 0 0 1px rgba(244,242,239,.07); }
.sc-rail li.on::after { content: ""; position: absolute; right: 16px; width: 6px; height: 6px; border-radius: 50%; background: #A33B50; }
.sc-main { display: flex; flex-direction: column; min-width: 0; padding: 34px 40px 0; }
.sc-head { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: baseline; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.sc-head.swap { opacity: 0; transform: translateY(6px); }
.sc-num { font: 900 18px/1 var(--font-heading); color: #5C565A; font-variant-numeric: tabular-nums; }
.sc-name { font: 900 46px/1 var(--font-heading); letter-spacing: -0.03em; }

.sc-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 16px; margin-top: 28px; min-height: 0; padding-bottom: 40px; }
.w-board { grid-area: 1 / 1 / 2 / 3; } .w-flow { grid-area: 1 / 3; } .w-map { grid-area: 1 / 4; }
.w-chart { grid-area: 2 / 1 / 3 / 3; } .w-seq { grid-area: 2 / 3; } .w-scale { grid-area: 2 / 4; }
.wsc { flex: 1; display: flex; align-items: flex-end; gap: 8px; margin-top: 16px; }
.wsc i { flex: 1; height: calc(var(--h) * 100%); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(244,242,239,.22), rgba(244,242,239,.05)); border-top: 1px solid rgba(244,242,239,.45); }
.wsc i:last-child { background: linear-gradient(180deg, rgba(178,65,88,.7), rgba(100,26,41,.15)); border-top-color: #B24158; }
.w { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(244,242,239,.06); background: rgba(244,242,239,.015);
  opacity: .74; transition: opacity .7s var(--ease), border-color .7s var(--ease), background-color .7s var(--ease); }
.w.on { opacity: 1; border-color: rgba(244,242,239,.16); background: radial-gradient(80% 60% at 50% 0%, rgba(100,26,41,.14), transparent 70%), rgba(244,242,239,.035); }
.w::after { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, #B24158, transparent); opacity: 0; transition: opacity .7s var(--ease); }
.w.on::after { opacity: 1; }
.w-label { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--silver); }
.w-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #3A3437; transition: background-color .7s var(--ease); }
.w.on .w-label::before { background: #A33B50; }
.wb { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.wb > div { display: flex; flex-direction: column; gap: 10px; }
.wb b { height: 8px; width: 45%; border-radius: 99px; background: rgba(244,242,239,.14); margin-bottom: 4px; }
.wb i, .wb-mover { position: relative; display: block; height: 52px; border-radius: 10px; background: #161213; border: 1px solid rgba(244,242,239,.07); }
.wb i::before, .wb-mover::before { content: ""; position: absolute; left: 14px; top: 15px; width: 58%; height: 7px; border-radius: 99px; background: rgba(244,242,239,.2); }
.wb i::after, .wb-mover::after { content: ""; position: absolute; left: 14px; top: 30px; width: 32%; height: 6px; border-radius: 99px; background: rgba(244,242,239,.08); }
.wb .wb-mover { position: absolute; top: 146px; left: calc((100% - 42px) / 4 + 14px); width: calc((100% - 42px) / 4); background: #1D1819; border-color: rgba(244,242,239,.2); animation: wb-move 9s cubic-bezier(.65,0,.25,1) infinite; }
.wb-mover::before { background: rgba(244,242,239,.45); }
@keyframes wb-move {
  0% { transform: translateX(0); opacity: 0; } 6%, 22% { transform: translateX(0); opacity: 1; }
  40%, 56% { transform: translateX(calc(100% + 14px)); } 74%, 90% { transform: translateX(calc(200% + 28px)); opacity: 1; }
  100% { transform: translateX(calc(200% + 28px)); opacity: 0; }
}
.wf { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin-top: 16px; padding-block: 4px; }
.wf::before { content: ""; position: absolute; top: 24px; bottom: 24px; width: 1px; background: rgba(244,242,239,.14); }
.wf i { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #161213; border: 1px solid rgba(244,242,239,.1); color: var(--silver); }
.wf i svg { width: 22px; height: 22px; }
.wf-dot { position: absolute; left: calc(50% - 3.5px); top: 24px; width: 7px; height: 7px; border-radius: 50%; background: #B24158; animation: wf-run 2.6s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes wf-run { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(calc(var(--wf-h, 190px))); opacity: 0; } }
.wc { flex: 1; width: 100%; margin-top: 14px; }
.wc-line { fill: none; stroke: var(--silver); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.w-chart.on .wc-line { animation: wc-draw 1.6s var(--ease) forwards; }
@keyframes wc-draw { to { stroke-dashoffset: 0; } }
.w-chart:not(.on) .wc-line { stroke-dashoffset: 0; }
.ws { position: relative; flex: 1; display: flex; align-items: center; justify-content: space-between; padding-inline: 6px; }
.ws::before { content: ""; position: absolute; left: 12px; right: 12px; height: 1px; background: rgba(244,242,239,.14); }
.ws i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: #0A0708; border: 1px solid rgba(244,242,239,.3); animation: ws-fill 5s steps(1) infinite; }
.ws i:nth-child(2) { animation-delay: .8s; } .ws i:nth-child(3) { animation-delay: 1.6s; } .ws i:nth-child(4) { animation-delay: 2.4s; } .ws i:nth-child(5) { animation-delay: 3.2s; }
@keyframes ws-fill { 0% { background: #0A0708; } 20%, 80% { background: var(--silver); } }
.wm { flex: 1; width: 100%; margin-top: 10px; }
.wm path { fill: none; stroke: rgba(244,242,239,.2); stroke-width: 1.2; }
.wm circle { fill: #161213; stroke: rgba(244,242,239,.35); }
.wm .wm-core { fill: #A33B50; stroke: none; }

/* ---------- Diagnose. Build. Compound.: steps that play on their own ---------- */

.process-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .process-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(3rem, 6vw, 6rem); }}
.process .process-title { font-size: clamp(2.5rem, 1rem + 4.4vw, 5.25rem); line-height: .98; margin-bottom: 2.5rem; }
.process-title span { display: block; color: #2A2527; transition: color .7s var(--ease); }
.process-title span.on { color: var(--off-white); }
.psteps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(244,242,239,.08); }
.pstep { position: relative; border-bottom: 1px solid rgba(244,242,239,.08); }
.pstep h3 { margin: 0; }
.pstep button {
  display: flex; align-items: baseline; gap: 1rem; width: 100%; min-height: 44px; padding: 1.25rem 0; border: 0; background: none; cursor: pointer; text-align: left;
  font: 700 clamp(1.25rem, 1rem + .8vw, 1.625rem)/1.2 var(--font-heading); letter-spacing: -0.02em; color: #6B6568; transition: color .4s var(--ease);
}
.pstep button:hover, .pstep.on button { color: var(--off-white); }
.pstep button:focus-visible { outline: 2px solid var(--silver); outline-offset: 4px; border-radius: 4px; }

.pstep p { display: grid; max-width: 28rem; padding-left: 2.1rem; color: var(--silver); line-height: 1.625; overflow: hidden; max-height: 0; opacity: 0;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), padding-bottom .6s var(--ease); }
.pstep.on p { max-height: 8rem; opacity: 1; padding-bottom: 1.5rem; }
.pstep-bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--silver); transform-origin: left; transform: scaleX(0); }
.process.auto .pstep.on .pstep-bar { animation: pstep-run var(--dwell, 5s) linear forwards; }
.process.auto.paused .pstep.on .pstep-bar, .process.auto.held .pstep.on .pstep-bar { animation-play-state: paused; }
.process.auto.held .pstep.on .pstep-bar { animation: none; transform: scaleX(0); }
@keyframes pstep-run { to { transform: scaleX(1); } }

/* the engine panel: four parts of a business feeding one system */
.engine { margin: 0; container-type: inline-size; border-radius: 1.5rem; border: 1px solid rgba(244,242,239,.08);
  background: radial-gradient(rgba(244,242,239,.055) 1px, transparent 1.3px) 0 0 / 22px 22px, linear-gradient(180deg, #0F0B0C, #080607);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.06), 0 40px 80px -50px rgba(0,0,0,.9); overflow: hidden; }
.eng-head { display: flex; justify-content: space-between; align-items: center; padding: 4.2cqw 5cqw 0; font: 500 max(11px, 2.1cqw)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #8B8F96; }
.eng-kicker { transition: opacity .3s var(--ease); }
.eng-kicker.swap { opacity: 0; }
.eng-count { display: flex; align-items: center; gap: .6em; font-variant-numeric: tabular-nums; }
.eng-count b { font-weight: 500; color: var(--off-white); }
.eng-count i { width: 6px; height: 6px; border-radius: 50%; background: #3A3437; transition: background-color .5s var(--ease); }
.engine.s2 .eng-count i { background: #A33B50; }
.eng-stage { position: relative; aspect-ratio: 560 / 400; }
.eng-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.eng-link { fill: none; stroke: rgba(244,242,239,.4); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease) calc(var(--k) * .12s), stroke .6s var(--ease); }
.engine.s1 .eng-link, .engine.s2 .eng-link { stroke-dashoffset: 0; }
.engine.s2 .eng-link { stroke: rgba(244,242,239,.28); }
.eng-pulse { fill: #B24158; opacity: 0; transition: opacity .6s var(--ease); }
.engine.s2 .eng-pulse { opacity: 1; }
.eng-node { position: absolute; top: 20%; display: flex; flex-direction: column; align-items: center; gap: 2.4cqw; transform: translateX(-50%); transition: transform .9s var(--ease), opacity .9s var(--ease); }
.eng-label { display: flex; align-items: center; gap: .5em; font: 500 max(12px, 2.6cqw)/1 var(--font-body); color: var(--off-white); white-space: nowrap; }
.eng-label i { width: 5px; height: 5px; border-radius: 50%; background: #6B6568; }
.eng-tile { display: grid; place-items: center; width: 11cqw; height: 11cqw; border-radius: 3cqw; background: #151112; border: 1px solid rgba(244,242,239,.12); color: var(--silver);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.06), 0 1.5cqw 3cqw rgba(0,0,0,.5); transition: border-color .6s var(--ease); }
.eng-tile svg { width: 45%; height: 45%; }
/* diagnose: the parts sit apart, out of line, and a lead drips out between them */
.engine.s0 .eng-node:nth-of-type(1) { transform: translate(-50%, 1.5cqw) rotate(-4deg); opacity: .7; }
.engine.s0 .eng-node:nth-of-type(2) { transform: translate(-50%, -1.2cqw) rotate(3deg); opacity: .7; }
.engine.s0 .eng-node:nth-of-type(3) { transform: translate(-50%, 2cqw) rotate(5deg); opacity: .7; }
.engine.s0 .eng-node:nth-of-type(4) { transform: translate(-50%, -.6cqw) rotate(-3deg); opacity: .7; }
.engine.s0 .eng-tile { border-style: dashed; border-color: rgba(244,242,239,.16); }
.eng-leak { position: absolute; left: 50%; top: 42%; opacity: 0; transition: opacity .5s var(--ease); }
.engine.s0 .eng-leak { opacity: 1; }
.eng-leak i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #6B6568; animation: leak-drop 2.2s ease-in infinite; }
.eng-leak i:nth-child(2) { left: -8cqw; animation-delay: 1.1s; }

.eng-core { position: absolute; left: 50%; top: 65.5%; display: flex; flex-direction: column; align-items: center; gap: 2.6cqw; transform: translateX(-50%); }
.eng-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 15cqw; height: 15cqw; border-radius: 4cqw; background: #050304;
  border: 1px solid rgba(244,242,239,.14); box-shadow: 0 2cqw 5cqw rgba(0,0,0,.7); transition: border-color .6s var(--ease); }
.eng-mark img { width: 56%; height: auto; opacity: .35; transition: opacity .6s var(--ease); }
.engine.s1 .eng-mark img, .engine.s2 .eng-mark img { opacity: 1; }
.eng-ring { position: absolute; top: calc(7.5cqw - 13cqw); left: 50%; width: 26cqw; height: 26cqw; margin-left: -13cqw; border-radius: 50%;
  border: 1px solid rgba(244,242,239,.07); opacity: .5; transition: opacity .6s var(--ease); }
.eng-ring::before { content: ""; position: absolute; inset: 3.2cqw; border-radius: 50%; padding: 1.5px;
  background: conic-gradient(from 0deg, rgba(178,65,88,0), rgba(178,65,88,.9) 25%, rgba(199,204,211,.6) 50%, rgba(199,204,211,0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .8s var(--ease); animation: ring-turn 5s linear infinite; }
.engine.s1 .eng-ring::before { opacity: .45; }
.engine.s2 .eng-ring::before { opacity: 1; }
.engine.s1 .eng-ring, .engine.s2 .eng-ring { opacity: 1; }
@keyframes ring-turn { to { transform: rotate(1turn); } }
.eng-core b { font: 900 max(12px, 2.8cqw)/1 var(--font-heading); letter-spacing: .1em; color: var(--off-white); }

/* ---------- the System page: an index, then one chapter per system ---------- */

.sys-index { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: 2.5rem; padding-bottom: 1rem; }
.sys-chip {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  border: 1px solid rgba(244,242,239,.09); background: rgba(244,242,239,.02); font-size: .875rem; color: var(--silver);
  transition: border-color .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease);
}
.sys-chip span { font: 700 .75rem/1 var(--font-heading); font-variant-numeric: tabular-nums; color: #6B6568; }
.sys-chip:hover { color: var(--off-white); border-color: rgba(244,242,239,.22); background: rgba(244,242,239,.04); }
.chapters .wrap { display: grid; gap: clamp(5rem, 3rem + 6vw, 9rem); }
.ch { display: grid; gap: 2rem; align-items: center; scroll-margin-top: 9rem; }
@media (min-width: 60rem) {
  .ch { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(3rem, 6vw, 6rem); }
  .ch-flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .ch-flip .ch-text { order: 2; }}
/* desktop: text down the left, one pinned panel on the right whose diagram changes with the part you're reading */
@media (min-width: 60rem) {
  .chapters .wrap.ch-pinned { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(3rem, 6vw, 6rem); row-gap: 0; align-items: start; }
  .ch-pinned > .ch { grid-column: 1; grid-template-columns: 1fr; min-height: 78vh; padding-block: 11vh; align-content: center; }
  .ch-pinned > .ch .ch-text { order: 0; opacity: .32; transition: opacity .8s cubic-bezier(.25,1,.5,1); }
  .ch-pinned > .ch.ch-on .ch-text { opacity: 1; }
  .ch-stage { grid-column: 2; position: relative; height: 100%; }
  .ch-stage-in { position: sticky; top: calc(50vh - 15rem); height: 30rem; }
  .ch-slot { position: absolute; inset: 0; display: flex !important; align-items: center; opacity: 0; transform: translateY(18px) scale(.97); filter: blur(6px);
    transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); pointer-events: none; }
  .ch-slot.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
  .ch-slot > * { width: 100%; opacity: 1 !important; transform: none !important; }
  .ch-count { position: absolute; left: 0; bottom: -2.25rem; display: flex; gap: .4rem; align-items: baseline; font: 500 .8125rem/1 var(--font-body); font-variant-numeric: tabular-nums; color: #6B6568; letter-spacing: .02em; }
  .ch-stage-in:has(.engine) .ch-count { display: none; }   /* the Process panels carry their own counter */
  .ch-count b { color: var(--off-white); font-weight: 600; }
  .ch-count span { margin-left: .6rem; padding-left: .7rem; border-left: 1px solid rgba(244,242,239,.14); color: #8B8F96; }
}
.ch-num { display: block; margin-bottom: 1rem; font: 700 .875rem/1 var(--font-heading); font-variant-numeric: tabular-nums; color: #B24158; }
.ch-name { font-family: var(--font-heading); font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem); color: var(--off-white); }
.ch-text p { margin-top: 1.25rem; max-width: 26rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--silver); }
.ch-visual {
  margin: 0; container-type: inline-size; border-radius: 1.5rem; border: 1px solid rgba(244,242,239,.08); overflow: hidden;
  background: radial-gradient(rgba(244,242,239,.05) 1px, transparent 1.3px) 0 0 / 22px 22px, linear-gradient(180deg, #0F0B0C, #080607);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.06), 0 40px 80px -50px rgba(0,0,0,.9);
}
.ch-fit { --s: 1; height: calc(360px * var(--s)); }
.ch-fit > * { width: 560px; height: 360px; transform: scale(var(--s)); transform-origin: 0 0; }
.v-svg { display: block; }
.v-svg text { font: 500 14px var(--font-body); fill: var(--off-white); text-anchor: middle; }
.v-lines path, .v-ring { fill: none; stroke: rgba(244,242,239,.3); stroke-width: 1.2; }
.v-ring { stroke-dasharray: 3 7; }
.v-pulse { fill: #B24158; }
.v-node rect, .v-touch circle { fill: #151112; stroke: rgba(244,242,239,.22); }
.v-core { fill: #050304; stroke: rgba(244,242,239,.16); }
.v-flow { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 0 64px; }
.v-flow i { position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: #151112;
  border: 1px solid rgba(244,242,239,.14); color: var(--silver); transition: border-color .25s var(--ease), color .25s var(--ease); }
.v-flow i svg { width: 26px; height: 26px; }
.v-flow-line { position: absolute; left: 96px; right: 96px; top: 50%; height: 1px; background: rgba(244,242,239,.18); }
.v-flow-dot { position: absolute; left: 96px; top: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: #B24158; animation: v-run 3s linear infinite; }
@keyframes v-run { from { transform: translateX(0); } to { transform: translateX(360px); } }
.v-board { padding: 44px 36px; }
.v-board .wb { height: 100%; margin: 0; }

.ch-list { list-style: none; margin: 1.75rem 0 0; padding: 0; max-width: 28rem; border-top: 1px solid rgba(244,242,239,.08); }
.ch-list li { position: relative; padding: .875rem 0 .875rem 1.5rem; border-bottom: 1px solid rgba(244,242,239,.06); color: var(--silver); line-height: 1.5; font-size: .9375rem; }
.ch-list li::before { content: ""; position: absolute; left: 0; top: 1.45em; width: .625rem; height: 1px; background: #B24158; }

.ch-more { margin-top: 1rem !important; font-size: 1rem !important; color: #8B8F96 !important; }
.ch-visual-plain .engine { width: 100%; }
.proc-more { margin-top: 2rem; }

.sc-rail li, .w { cursor: pointer; }

/* ---------- the System Check page ---------- */

.check-page { padding-block: clamp(8rem, 6rem + 5vw, 11rem) clamp(5rem, 4rem + 4vw, 8rem); }
.check-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .check-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: clamp(3rem, 6vw, 6rem); } .check-intro { position: sticky; top: 8rem; }}
.check-intro h1 { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4.5rem); line-height: .98; }
.check-intro .lead { margin-top: 1.5rem; max-width: 28rem; }
.check-panel {
  position: relative; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: 1.5rem; border: 1px solid rgba(244,242,239,.09);
  background: linear-gradient(180deg, #0F0B0C 0%, #080607 100%); box-shadow: inset 0 1px 0 rgba(244,242,239,.07), 0 40px 80px -50px rgba(0,0,0,.9);
}
.check-panel .form { gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-row { grid-template-columns: 1fr 1fr; }}
.check-panel .field label { margin-bottom: .5rem; font-size: .875rem; color: var(--silver); }
.check-panel .field input, .check-panel .field textarea {
  min-height: 52px; padding: .875rem 1rem; border-radius: .75rem; background: #0A0708; border: 1px solid rgba(244,242,239,.1);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.check-panel .field textarea { min-height: 8.5rem; }
.check-panel .field input:hover, .check-panel .field textarea:hover { border-color: rgba(244,242,239,.22); }
.check-panel .field input:focus, .check-panel .field textarea:focus { border-color: rgba(244,242,239,.4); background: #0D0A0B; box-shadow: 0 0 0 4px rgba(178,65,88,.16); }
.btn-block { width: 100%; margin-top: .5rem; padding-block: 1.125rem; }
.check-panel .consent { font-size: .875rem; color: #8B8F96; text-align: center; }
/* the optional, unticked text-message consent (A2P): its own box, never bundled with sending the form */
.sms-opt { display: flex; gap: .75rem; align-items: flex-start; margin: .25rem 0 1rem; font-size: .8125rem; line-height: 1.5; color: #8B8F96; cursor: pointer; }
.sms-opt input { flex: none; width: 18px; height: 18px; margin: .1rem 0 0; accent-color: #8a1c33; cursor: pointer; }
.sms-opt a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.sms-opt a:hover { color: var(--off-white); }
.check-panel .sent { padding: clamp(2rem, 1.5rem + 2vw, 3.5rem) 0; border: 0; background: none; text-align: center; }
.sent-mark { width: 64px; height: 64px; margin: 0 auto 1.5rem; display: block; }
.sent-mark circle { fill: none; stroke: rgba(178,65,88,.6); stroke-width: 1.5; stroke-dasharray: 189; stroke-dashoffset: 189; animation: sent-draw .8s var(--ease) forwards; }
.sent-mark path { fill: none; stroke: var(--off-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: sent-draw .5s var(--ease) .55s forwards; }
@keyframes sent-draw { to { stroke-dashoffset: 0; } }

/* ---------- statements that come into focus word by word ---------- */

/* headings build word by word as they come into view, once (own class name: .w is the dashboard panel) */
.js .word-in { display: inline-block; opacity: 0; transform: translateY(.38em); filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .words-in .word-in { opacity: 1; transform: none; filter: none; }

/* ---------- closing ---------- */

.closing { position: relative; overflow: hidden; padding-block: clamp(8rem, 6rem + 7vw, 12rem); text-align: center; }
.closing .inner { max-width: 42rem; margin-inline: auto; padding-inline: 1.5rem; }
.closing h2 { font-size: clamp(2.25rem, 1rem + 5vw, 4.5rem); line-height: 1.02; margin-bottom: 2rem; }
.closing .lead { max-width: 32rem; margin: 0 auto 3rem; }

/* ---------- sub-page header ---------- */

.page-head { padding: 9rem 0 5rem; border-bottom: 1px solid var(--gunmetal); }
.page-head h1 { font-size: clamp(2.5rem, 1.2rem + 5.5vw, 4.5rem); line-height: .98; }
.page-head .lead { margin-top: 1.75rem; max-width: 36rem; }
.eyebar { display: block; width: 1.5rem; height: 1px; margin-bottom: 1.5rem; background: var(--burgundy); }

/* ---------- straight answers ---------- */

.faq { max-width: 48rem; }
.faq details { border-top: 1px solid var(--gunmetal); }
.faq details:last-of-type { border-bottom: 1px solid var(--gunmetal); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 44px; padding-block: 1.5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); color: var(--off-white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; font-family: var(--font-heading); font-weight: 900; font-size: 1.25rem; color: var(--off-white); transition: transform .3s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); color: #B24158; }
/* the open question turns AISA burgundy, as on the original site (a lighter tint of #641A29 so it reads on black) */
.faq details[open] summary { color: #B24158; }
.faq details p { padding-bottom: 1.5rem; max-width: 40rem; color: var(--silver); line-height: 1.625; }

/* the answers open smoothly where the browser can animate to auto height (others just open) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq summary { transition: color .25s var(--ease); }

/* home: heading on the left, the Ask bar and the answers on the right */
.answers .wrap { display: grid; gap: 2.5rem; }
@media (min-width: 60rem) {
  .answers .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .answers .answers-head { grid-row: 1 / span 2; position: sticky; top: 8rem; }
  .answers .h2 { font-size: clamp(2.25rem, 1rem + 3.2vw, 3.75rem); }
  .answers .ask, .answers .faq { grid-column: 2; }}
.faq + .ask { margin-top: 2.5rem; }

/* the Ask bar: a quiet framed field, like a command bar. While an answer is on its way a
   thin line runs along the top edge; the answer types in behind a small burgundy cursor. */
.ask {
  position: relative; max-width: 48rem; overflow: hidden; border-radius: 16px;
  border: 1px solid rgba(244,242,239,.08);
  background: linear-gradient(180deg, #0D0A0B 0%, #080607 100%);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.05), 0 24px 60px -36px rgba(0,0,0,.9);
  transition: border-color .3s var(--ease);
}
.ask:hover { border-color: rgba(244,242,239,.12); }
.ask:focus-within { border-color: rgba(244,242,239,.18); }
.ask::before {
  content: ""; position: absolute; top: 0; left: 0; width: 40%; height: 1px; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(199,204,211,.75) 50%, transparent);
  transform: translateX(-100%); transition: opacity .3s var(--ease);
}
.ask.busy::before { opacity: 1; animation: ask-scan 1.2s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes ask-scan { to { transform: translateX(250%); } }
.ask-bar { display: flex; align-items: center; gap: .75rem; height: 60px; padding: 0 .5rem 0 1.15rem; }
.ask-icon { display: flex; flex: none; color: #8B8F96; }
.ask-icon svg { width: 18px; height: 18px; }
.ask input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--off-white);
  font: 400 1rem/1 var(--font-body); letter-spacing: -.005em;
}
.ask input::placeholder { color: #8B8F96; }
.ask-kbd {
  flex: none; min-width: 1.6rem; padding: .3rem .45rem; border-radius: 6px; text-align: center;
  border: 1px solid rgba(244,242,239,.1); background: rgba(244,242,239,.03);
  font: 500 .75rem/1 var(--font-body); color: #8B8F96; transition: opacity .2s var(--ease);
}
.ask:focus-within .ask-kbd { opacity: 0; }
.ask-send {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
  border: 0; background: transparent; color: #8B8F96; transition: background-color .25s var(--ease), color .25s var(--ease);
}
.ask-send svg { width: 18px; height: 18px; }
.ask-send:hover, .ask:focus-within .ask-send { background: rgba(244,242,239,.06); color: var(--off-white); }
.ask-send:focus-visible { outline: 2px solid var(--silver); outline-offset: -2px; }
.ask-out { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.ask-out > div { overflow: hidden; }
.ask.open .ask-out { grid-template-rows: 1fr; }
.ask-a { margin: 0 1.25rem 0 3.1rem; padding-top: 1.15rem; border-top: 1px solid rgba(244,242,239,.07); color: var(--off-white); line-height: 1.65; max-width: 40rem; min-height: 2.8em; }
.ask-a span { animation: ask-in .6s var(--ease) both; }
@keyframes ask-in { from { opacity: 0; filter: blur(3px); } }
.ask.busy .ask-a::after {
  content: ""; display: inline-block; width: .45em; height: 1.05em; margin-left: .15em; vertical-align: -.18em;
  background: var(--burgundy); animation: ask-caret 1s steps(2, jump-none) infinite;
}
@keyframes ask-caret { 50% { opacity: 0; } }
.ask-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem;
  margin: 1rem 1.25rem 1.1rem 3.1rem; font-size: .75rem; color: #8B8F96;
}
.ask-note a { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; color: var(--silver); transition: color .2s var(--ease); }
.ask-note a:hover { color: var(--off-white); }
.ask-note svg { width: 14px; height: 14px; }
.ask.from-faq .ask-note span { visibility: hidden; }   /* the page's own answer, not the AI's */
@media (max-width: 40rem) {
  .ask-kbd { display: none; }
  .ask-a, .ask-note { margin-left: 1.15rem; }}
@media (prefers-reduced-motion: reduce) {
  .ask.busy::before, .ask-a span { animation: none; }}

/* ---------- system check form ---------- */

.form { display: grid; gap: 1.5rem; }
.field label { display: block; margin-bottom: .625rem; font-size: 1rem; font-weight: 500; color: var(--silver); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; border-radius: .5rem;
  background: var(--graphite); border: 1px solid var(--gunmetal); color: var(--off-white); font-size: 1rem;
  transition: border-color .3s var(--ease);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--silver); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--off-white); }
.field input::placeholder, .field textarea::placeholder { color: var(--silver); opacity: .6; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--burgundy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 1rem; color: var(--silver); line-height: 1.55; }
.form-error { display: flex; gap: .625rem; align-items: flex-start; padding: .875rem 1rem; border-left: 1px solid var(--burgundy); background: var(--graphite); color: var(--off-white); font-size: 1rem; }
.form-error svg { flex: none; width: 1.125rem; height: 1.125rem; margin-top: .15rem; }
.sent { padding: 2.5rem; border-radius: .5rem; background: var(--graphite); border: 1px solid var(--gunmetal); }

.sent h2 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.875rem); letter-spacing: -0.02em; }

/* ---------- legal ---------- */

.legal { max-width: 44rem; color: var(--silver); }
.legal p + p { margin-top: 1rem; }
.legal h2 { margin: 2.75rem 0 .875rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.015em; font-size: 1.375rem; color: var(--off-white); }
.legal p, .legal li { line-height: 1.7; }
.legal ul { margin: 1rem 0 0; padding-left: 1.25rem; display: grid; gap: .5rem; }
.legal li::marker { color: #6B6568; }
.legal strong { font-weight: 500; color: var(--off-white); }
.legal a { color: var(--off-white); text-decoration: underline; text-decoration-color: rgba(244,242,239,.3); text-underline-offset: 3px; }
.legal .legal-date { font-size: .875rem; color: #8B8F96; margin-bottom: 1.5rem; }

/* ---------- footer ---------- */

.footer { position: relative; z-index: 10; overflow: hidden; border-top: 1px solid rgba(244,242,239,.07); background: var(--charcoal); }
.footer-main { display: grid; gap: 3.5rem; padding-block: clamp(4.5rem, 3rem + 4vw, 7rem) clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 60rem) { .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 4rem; }}
.footer-brand { display: grid; align-content: start; gap: 1rem; justify-items: start; }
.footer-logo { height: 26px; width: auto; margin-bottom: .5rem; }
.footer-brand p { max-width: 20rem; font-size: .9375rem; line-height: 1.6; color: var(--silver); }
.footer-brand .btn { margin-top: 1rem; }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
@media (min-width: 40rem) { .footer-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; }}
.footer-h { margin-bottom: .75rem; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #8B8F96; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-link { position: relative; display: inline-flex; align-items: center; min-height: 40px; width: fit-content; font-size: .9375rem; color: var(--silver); transition: color .25s var(--ease); }
.footer-link:hover { color: var(--off-white); }
/* the sign-off: the wordmark, huge, sinking into the black */
.footer-word { position: relative; margin-top: -1rem; pointer-events: none; user-select: none; }
.footer-word span {
  display: block; text-align: center; font-family: var(--font-heading); font-weight: 900; line-height: .78; letter-spacing: -0.05em;
  font-size: clamp(96px, 27vw, 400px); color: rgba(199,204,211,.13);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 88%); mask-image: linear-gradient(to bottom, #000 20%, transparent 88%);
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(244,242,239,.07); }
.footer-bottom p { font-size: .8125rem; color: #8B8F96; }

/* ---------- phones ---------- */

@media (max-width: 767px) {
  .nav-links { gap: 1rem; }
  .to-top { bottom: 1rem; right: 1rem; }}

/* ---------- reduced motion: everything still, everything visible ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .film-copy .bar { transform: none; }
  .film-live .film-runway { height: 100vh; }
  .film-live .screen { margin-top: 0; }
  .ambient canvas { display: none; }}

/* ---------- moving between pages: a quick cross-fade instead of a blink (browsers that can) ---------- */

@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; }}

/* ---------- the Ask bar, shaped like the top bar: a glass pill; the answer opens beneath ---------- */
.ask { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.ask::before { display: none; }
.ask-bar { position: relative; height: 52px; padding: 0 .375rem 0 1.25rem; gap: .75rem; border-radius: 999px; border: 1px solid var(--gunmetal);
  background: rgba(0,0,0,.5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: border-color .3s var(--ease), background-color .3s var(--ease); overflow: hidden; }
.ask:hover .ask-bar { border-color: #2A2A30; }
.ask:focus-within .ask-bar { border-color: rgba(244,242,239,.22); background: rgba(0,0,0,.7); }
.ask-bar::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40%; height: 1px; background: linear-gradient(90deg, transparent, rgba(199,204,211,.75) 50%, transparent); transform: translateX(-100%); opacity: 0; }
.ask.busy .ask-bar::after { opacity: 1; animation: ask-scan 1.2s cubic-bezier(.45,0,.2,1) infinite; }
.ask-icon svg { width: 16px; height: 16px; }
.ask input { font-size: 1rem; }
.ask-send { width: 40px; height: 40px; border-radius: 999px; }
.ask-out { margin-top: .75rem; }
.ask-out > div { border-radius: 1.25rem; border: 1px solid rgba(244,242,239,.08); background: linear-gradient(180deg, #0D0A0B, #080607); }
.ask-a { margin: 0 1.25rem; padding-top: 1.15rem; border-top: 0; }
.ask-note { margin: 1rem 1.25rem 1rem; }

/* ---------- the six systems under the dashboard: one open surface, not six boxes ----------
   no card backgrounds; thin dividers that fade out at both ends; the active system lit softly from above */
.sysgrid { gap: 0; }
.sys-card { border: 0; border-radius: 0; background: none; box-shadow: none; padding: clamp(1.75rem, 1.4rem + 1vw, 2.5rem) clamp(1.5rem, 1.2rem + 1vw, 2.25rem); overflow: visible;
  --rl: transparent; --bl: transparent;
  background-image: linear-gradient(to bottom, transparent, var(--rl) 22%, var(--rl) 78%, transparent), linear-gradient(to right, transparent, var(--bl) 18%, var(--bl) 82%, transparent);
  background-size: 1px 100%, 100% 1px; background-position: right top, left bottom; background-repeat: no-repeat; }
.sys-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease);
  background: radial-gradient(70% 60% at 50% 0%, rgba(244,242,239,.045), transparent 70%); }
.sys-card.on::after, .sys-card:hover::after { opacity: 1; }
.sys-card.on::before { left: 22%; right: 22%; }
.sys-bar { height: 1px; left: 15%; width: 70%; background: rgba(244,242,239,.4); }
/* where the dividers go: between columns and between rows, never on the outer edge */
.sys-card { --bl: rgba(244,242,239,.09); }
.sys-card:last-child { --bl: transparent; }
@media (min-width: 40rem) {
  .sys-card:nth-child(odd) { --rl: rgba(244,242,239,.09); }
  .sys-card:nth-child(n+5) { --bl: transparent; }}
@media (min-width: 64rem) {
  .sys-card { --rl: rgba(244,242,239,.09); }
  .sys-card:nth-child(odd) { --rl: rgba(244,242,239,.09); }
  .sys-card:nth-child(3n) { --rl: transparent; }
  .sys-card:nth-child(n+4) { --bl: transparent; }
  .sys-card:nth-child(n+5) { --bl: transparent; }}

/* the six systems: pure type on the open surface; the one in the window is bright, the rest
   sit back in the background; hovering only brings the words forward (no light, no boxes) */
.sys-card::after { display: none; }
.sys-card::before { display: none; }

.sys-card h3, .sys-card p, .sys-card .sys-desc-link { transition: color .5s var(--ease), opacity .5s var(--ease); }
.sys-card h3 { color: #8B8F96; }
.sys-card p { color: #7A7376; }
.sys-card .sys-desc-link { opacity: 0; }
.sys-card:hover h3 { color: var(--silver); }
.sys-card:hover p { color: #8B8F96; }
.sys-card.on h3 { color: var(--off-white); }
.sys-card.on p { color: var(--silver); }
.sys-card.on .sys-desc-link, .sys-card:hover .sys-desc-link, .sys-card:focus-within .sys-desc-link { opacity: 1; }
@media (hover: none) { .sys-card .sys-desc-link { opacity: 1; } .sys-card p { color: #8B8F96; } .sys-card h3 { color: var(--silver); }}

/* ---------- Diagnose. Build. Compound.: the diagram on the left, title and steps on the right
   (the page alternates: centred systems, heading-left leaks, heading-right process) ---------- */
@media (min-width: 60rem) {
  .process-split .process-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .process-split .engine { order: 0; }}
.process-split .process-copy { display: grid; justify-items: start; }

/* ---------- blending: the diagrams float on the page (no frame), the dot grid fades out at the edges ---------- */
.engine, .ch-visual { border-color: transparent; background: none; box-shadow: none; position: relative; }
.engine::before, .ch-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(244,242,239,.06) 1px, transparent 1.3px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 75%); }
.ch-visual { overflow: visible; }
.eng-head { justify-content: center; gap: 1.5rem; }

/* the pain quotes drift over the page rather than sitting on it */
.fx-q { background: rgba(14,11,12,.55); border-color: rgba(244,242,239,.07); box-shadow: 0 20px 50px -30px rgba(0,0,0,.8); }
.fx-screen { border-color: rgba(244,242,239,.05); box-shadow: 0 50px 100px -60px rgba(0,0,0,.95); }

/* System page quick links: plain text */
.sys-index { gap: .25rem 1.75rem; }
.sys-chip { min-height: 40px; padding: 0; border: 0; background: none; border-radius: 0; font-size: .9375rem; color: #8B8F96; }
.sys-chip:hover { background: none; color: var(--off-white); }

/* System Check form: softer field edges (the form keeps its frame) */
.check-panel .field input, .check-panel .field textarea { border-color: rgba(244,242,239,.07); background: rgba(244,242,239,.02); }
.check-panel .field input:hover, .check-panel .field textarea:hover { border-color: rgba(244,242,239,.15); }

/* ---------- Where growth leaks: heading on the left, the screen and its quotes on the right ---------- */

.process-split .pstep p { padding-left: 0; }

/* ---------- System + Process pages: each panel keeps its frame, but the frame melts into the
   page toward the bottom (like Raycast's product shots), instead of ending on a hard edge ---------- */
.chapters .ch-visual, .chapters .ch-visual-plain .engine {
  border: 1px solid rgba(244,242,239,.1); border-radius: 1.5rem; overflow: hidden;
  background: radial-gradient(90% 70% at 50% 0%, rgba(244,242,239,.035), transparent 70%), linear-gradient(180deg, #110D0E 0%, rgba(8,6,7,.6) 70%, transparent 100%);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.08);
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); padding-bottom: 2.5rem; }
.chapters .ch-visual::before, .chapters .ch-visual-plain .engine::before { z-index: 0;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 80%); }
.chapters .ch-fit, .chapters .eng-head, .chapters .eng-stage { position: relative; z-index: 1; }

/* ---------- panels fade out on the side they sit on (toward the page edge); stacked on phones,
   they fade at the bottom ---------- */
.chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine {
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
.process-split .engine { border: 1px solid rgba(244,242,239,.1); border-radius: 1.5rem; overflow: hidden; padding-bottom: 2rem;
  background: radial-gradient(90% 70% at 50% 0%, rgba(244,242,239,.035), transparent 70%), linear-gradient(180deg, #110D0E 0%, rgba(8,6,7,.6) 70%, transparent 100%);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.08); }
.process-split .eng-head, .process-split .eng-stage { position: relative; z-index: 1; }
@media (min-width: 60rem) {
  /* visual on the right: fade to the right */
  .chapters .ch:not(.ch-flip) .ch-visual, .chapters .ch:not(.ch-flip) .ch-visual-plain .engine {
    -webkit-mask-image: linear-gradient(to right, #000 62%, transparent 100%); mask-image: linear-gradient(to right, #000 62%, transparent 100%); }
  /* visual on the left: fade to the left */
  .chapters .ch-flip .ch-visual, .chapters .ch-flip .ch-visual-plain .engine, .process-split .engine {
    -webkit-mask-image: linear-gradient(to left, #000 62%, transparent 100%); mask-image: linear-gradient(to left, #000 62%, transparent 100%); }
  .chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine { padding-bottom: 0; }}

/* the heading's lines no longer touch (descenders clear the next line's capitals) */

/* ---------- lighter fades: solid for most of the panel, melting only at the outer edge ---------- */
@media (min-width: 60rem) {
  .chapters .ch:not(.ch-flip) .ch-visual, .chapters .ch:not(.ch-flip) .ch-visual-plain .engine {
    -webkit-mask-image: linear-gradient(to right, #000 78%, rgba(0,0,0,.18) 100%); mask-image: linear-gradient(to right, #000 78%, rgba(0,0,0,.18) 100%); }
  .chapters .ch-flip .ch-visual, .chapters .ch-flip .ch-visual-plain .engine {
    -webkit-mask-image: linear-gradient(to left, #000 78%, rgba(0,0,0,.18) 100%); mask-image: linear-gradient(to left, #000 78%, rgba(0,0,0,.18) 100%); }
  .process-split .engine { -webkit-mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,.4) 100%); mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,.4) 100%); }}
.chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine {
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.2) 100%); mask-image: linear-gradient(to bottom, #000 80%, rgba(0,0,0,.2) 100%); }
@media (min-width: 60rem) {
  .chapters .ch:not(.ch-flip) .ch-visual, .chapters .ch:not(.ch-flip) .ch-visual-plain .engine { -webkit-mask-image: linear-gradient(to right, #000 78%, rgba(0,0,0,.18) 100%); mask-image: linear-gradient(to right, #000 78%, rgba(0,0,0,.18) 100%); }
  .chapters .ch-flip .ch-visual, .chapters .ch-flip .ch-visual-plain .engine { -webkit-mask-image: linear-gradient(to left, #000 78%, rgba(0,0,0,.18) 100%); mask-image: linear-gradient(to left, #000 78%, rgba(0,0,0,.18) 100%); }
  .process-split .engine { -webkit-mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,.4) 100%); mask-image: linear-gradient(to left, #000 86%, rgba(0,0,0,.4) 100%); }}

/* secondary links (See the full process, See what's included): words + an arrow, no detached underline */
.sys-more-link { border-bottom: 0; gap: .5rem; }
.sys-more-link span { text-decoration: underline; text-decoration-color: rgba(244,242,239,.25); text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color .3s var(--ease); }
.sys-more-link:hover span { text-decoration-color: #B24158; }
.sys-more-link:hover { border-color: transparent; }
.sys-desc-link { text-decoration: underline; text-decoration-color: rgba(244,242,239,.25); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.sys-desc-link:hover { text-decoration-color: #B24158; }

/* ---------- one type scale for every section heading (consistency pass, 2026-10-04) ----------
   page titles (h1) and section headings (h2) share a size; chapter names are one step down */
:root { --h-section: clamp(2.5rem, 1.25rem + 3.4vw, 4.5rem); --h-chapter: clamp(2.125rem, 1.2rem + 2.8vw, 3.75rem); --lh-head: 1.02; }
.h2, .closing h2, .process .process-title, .page-head h1, .check-intro h1, .nf h1 { font-size: var(--h-section); line-height: var(--lh-head); letter-spacing: -0.03em; }
@media (min-width: 60rem) { .answers .h2 { font-size: var(--h-section); }}
.ch-name { font-size: var(--h-chapter); line-height: var(--lh-head); }   /* descenders in "growth" clear "leaks" */

/* ---------- System + Process: the index row stays pinned under the top bar; the section you're
   reading lights up ---------- */
@media (min-width: 60rem) {
  .sys-index { position: sticky; top: 5.25rem; z-index: 40; justify-content: center; padding-block: .75rem; margin-top: 1.5rem;
    background: linear-gradient(180deg, rgba(5,3,4,.92) 60%, rgba(5,3,4,0)); }}
.sys-chip { position: relative; }
.sys-chip.on { color: var(--off-white); }
.sys-chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: #B24158; transform: scaleX(0); transition: transform .4s var(--ease); }
.sys-chip.on::after { transform: scaleX(1); }

/* ---------- final round, 2026-10-05 ---------- */
/* the index row on The System / The Process stays where it is (no pinning) */
@media (min-width: 60rem) { .sys-index { position: static; background: none; justify-content: flex-start; margin-top: 0; }}

/* the wordmark wherever AISA is named */
.wm { display: block; height: auto; }
.sc-brand .wm { width: 64px; }
.eng-wm { width: max(44px, 9cqw); opacity: .9; }

/* a faint glow behind the product window, like a light under glass */
.showcase::before { left: -6%; right: -6%; top: -14%; height: 95%;
  background: radial-gradient(48% 55% at 50% 42%, rgba(100,26,41,.26), rgba(100,26,41,.08) 45%, transparent 72%),
              radial-gradient(30% 30% at 50% 18%, rgba(244,242,239,.05), transparent 70%);
  filter: blur(30px); }

/* smooth scrolling (Lenis) takes over from the browser's own */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- 2026-10-06: no fade on the System / Process panels (owner) ---------- */
.chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine, .chapters .ch:not(.ch-flip) .ch-visual, .chapters .ch-flip .ch-visual, .chapters .ch:not(.ch-flip) .ch-visual-plain .engine, .chapters .ch-flip .ch-visual-plain .engine { -webkit-mask-image: none !important; mask-image: none !important; }
.chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine { background: radial-gradient(90% 70% at 50% 0%, rgba(244,242,239,.035), transparent 70%), linear-gradient(180deg, #110D0E, #080607); }

/* ---------- the dashboard's light: rising inside the window from behind its content, like
   Raycast's. Three tones, not one: AISA Burgundy at the core, a warm ember around it, and the
   brand silver as a cool haze at the top ---------- */
.sc-window { position: relative; isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 112%, rgba(100,26,41,.85), rgba(100,26,41,0) 70%),
    radial-gradient(42% 40% at 30% 104%, rgba(158,62,46,.38), transparent 70%),
    radial-gradient(38% 36% at 74% 108%, rgba(181,99,111,.28), transparent 70%),
    radial-gradient(70% 45% at 50% -10%, rgba(199,204,211,.07), transparent 70%),
    linear-gradient(180deg, #110D0E 0%, #0A0708 55%, #120809 100%); }
.sc-main, .sc-rail { background: transparent; }
.w { background: rgba(10,7,8,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.w.on { background: radial-gradient(80% 60% at 50% 0%, rgba(100,26,41,.16), transparent 70%), rgba(14,10,11,.6); }
/* outside the window: a wider, softer bloom in the same three tones */
.showcase::before { background:
    radial-gradient(45% 50% at 50% 60%, rgba(100,26,41,.24), transparent 72%),
    radial-gradient(28% 30% at 34% 70%, rgba(158,62,46,.10), transparent 70%),
    radial-gradient(26% 28% at 68% 68%, rgba(181,99,111,.08), transparent 70%); filter: blur(34px); }
.sc-window { background:
    radial-gradient(55% 48% at 52% 80%, rgba(100,26,41,.75), rgba(100,26,41,0) 72%),
    radial-gradient(34% 32% at 30% 74%, rgba(158,62,46,.30), transparent 70%),
    radial-gradient(30% 30% at 76% 78%, rgba(181,99,111,.22), transparent 70%),
    radial-gradient(70% 40% at 50% -8%, rgba(199,204,211,.07), transparent 70%),
    linear-gradient(180deg, #110D0E 0%, #0A0708 60%, #0D0708 100%); }
.sc-frame { -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); mask-image: linear-gradient(to bottom, #000 72%, transparent 99%); }

/* ---------- Refer and earn ---------- */
.refer-steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 0; max-width: 30rem; border-top: 1px solid rgba(244,242,239,.08); }
.refer-steps li { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(244,242,239,.08); }
.refer-num { font: 700 .875rem/1.6 var(--font-heading); font-variant-numeric: tabular-nums; color: #B24158; }
.refer-steps h2 { margin-bottom: .375rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: -0.02em; font-size: 1.1875rem; color: var(--off-white); }
.refer-steps p { color: var(--silver); line-height: 1.55; }
.form-label { margin-top: .5rem; font: 500 .75rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #8B8F96; }
.form-label:first-child { margin-top: 0; }
.footer-link svg { width: 1rem; height: 1rem; margin-right: .5rem; }

/* the sign-off rises out of the black as you arrive */
.js .footer-word > span { transform: translateY(16%); filter: blur(10px); opacity: 0; transition: transform 1.6s var(--ease), filter 1.6s var(--ease), opacity 1.6s var(--ease); }
.js .footer-word.in > span { transform: none; filter: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .footer-word > span { transform: none; filter: none; opacity: 1; }}
.v-flow i.hit { border-color: rgba(178,65,88,.8); color: var(--off-white); }   /* lit by site.js while the dot is inside */

/* Process page: the intro note, and the line under each diagram tying the four parts to the six systems */
.page-note { margin-top: 1rem; max-width: 40rem; color: #8B8F96; line-height: 1.6; }
.ch-num { letter-spacing: .02em; }

/* ---------- System page diagrams that explain something (2026-10-07) ---------- */
/* clearer contrast on small labels and lines */
.v-svg text { fill: var(--off-white); }
.v-lines path { stroke: rgba(244,242,239,.42); }
.v-node rect, .v-touch circle { stroke: rgba(244,242,239,.34); }
.v-node-end rect { stroke: rgba(178,65,88,.85); }
/* Automation: each step named */
.v-flow i em { position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap; font: 500 14px/1 var(--font-body); font-style: normal; color: var(--silver); transition: color .25s var(--ease); }
.v-flow i.hit em { color: var(--off-white); }
/* Pipeline: real stage names */
.v-board .wb b { width: auto; height: auto; background: none; margin-bottom: 4px; font: 500 13px/1.2 var(--font-body); color: var(--silver); }
.v-board .wb > div:last-of-type b { color: #B24158; }
/* Retention: the lifecycle labelled */
.v-touch-labels text { font-size: 13px; fill: var(--silver); text-anchor: middle; }
.v-touch-labels text[text-anchor="start"] { text-anchor: start; }
.v-touch-labels text[text-anchor="end"] { text-anchor: end; }
/* Scale: an operations and reporting view (labels only, no figures) */
.v-report { display: flex; flex-direction: column; gap: 18px; padding: 44px 48px; }
.vr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; font: 500 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: #8B8F96; }
.vr-head i { width: 7px; height: 7px; border-radius: 50%; background: #B24158; }
.vr-row { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 16px; font: 500 14px/1 var(--font-body); color: var(--silver); }
.vr-row b { height: 10px; border-radius: 99px; background: rgba(244,242,239,.08); position: relative; overflow: hidden; }
.vr-row b::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(244,242,239,.5), rgba(244,242,239,.25)); transition: transform 1.1s var(--ease); }
.vr-row:nth-child(5) b::after { background: linear-gradient(90deg, #B24158, rgba(178,65,88,.5)); }
.ch.in .vr-row b::after { transform: scaleX(var(--w)); }
.vr-row:nth-child(3) b::after { transition-delay: .1s; } .vr-row:nth-child(4) b::after { transition-delay: .2s; } .vr-row:nth-child(5) b::after { transition-delay: .3s; }
.vr-foot { display: flex; gap: 12px; margin-top: 8px; }
.vr-foot span { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(244,242,239,.14); font: 500 13px/1 var(--font-body); color: var(--silver); }
.vr-foot span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #B24158; vertical-align: 1px; }
@media (prefers-reduced-motion: reduce) { .vr-row b::after { transform: scaleX(var(--w)); }}

/* ---------- hero background alternatives (preview with ?bg=horizon | grid | void) ---------- */
.hero-alt { position: absolute; inset: 0; display: none; }
html:not(.bg-silk) .film-bg .ray { display: none; }
html:not(.bg-silk) .hero-alt { display: block; }
.glow-silver { --g1: 170, 178, 192; --g2: 230, 234, 240; --g3: 130, 140, 160; }
.sc-window { background:
    radial-gradient(62% 55% at 50% 100%, rgba(var(--g1), .78), transparent 74%),
    radial-gradient(36% 40% at 30% 100%, rgba(var(--g2), .38), transparent 72%),
    radial-gradient(34% 38% at 72% 100%, rgba(var(--g3), .36), transparent 72%),
    radial-gradient(70% 40% at 50% -8%, rgba(199,204,211,.06), transparent 70%),
    linear-gradient(180deg, #100D0E 0%, #0A0808 60%, #0C0909 100%); }
.showcase::before { left: 4%; right: 4%; top: 20%; height: 90%;
  background: radial-gradient(48% 48% at 50% 72%, rgba(var(--g1), .34), transparent 72%), radial-gradient(32% 32% at 50% 88%, rgba(var(--g2), .18), transparent 70%);
  filter: blur(40px); }
.w.on { background: radial-gradient(80% 60% at 50% 0%, rgba(var(--g1), .12), transparent 70%), rgba(14,11,11,.6); }

/* ---------- the window pops: light around its edges (a backlit frame), not behind its content ---------- */
.sc-window { background:
    radial-gradient(70% 40% at 50% -8%, rgba(var(--g2), .07), transparent 70%),
    radial-gradient(60% 30% at 50% 108%, rgba(var(--g1), .10), transparent 70%),
    linear-gradient(180deg, #110F10 0%, #0B0A0A 60%, #0C0B0B 100%);
  border-color: rgba(var(--g2), .22);
  box-shadow: inset 0 1px 0 rgba(var(--g2), .45), inset 0 0 0 1px rgba(var(--g2), .05); }
/* the halo: shaped like the window, glowing around its edges, tilting with it, fading at the bottom like the window */
.showcase::before { left: 0; right: 0; top: 0; height: calc(860px * var(--s)); border-radius: calc(20px * var(--s)); background: none; filter: none;
  box-shadow: 0 0 40px 2px rgba(var(--g2), .16), 0 0 120px 16px rgba(var(--g1), .12), 0 -30px 160px 10px rgba(var(--g2), .07);
  transform-origin: 50% 0; transform: rotateX(calc(var(--tilt) * 16deg)) translateY(calc(var(--tilt) * 40px)) scale(calc(1 - var(--tilt) * .05));
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); mask-image: linear-gradient(to bottom, #000 55%, transparent 98%); }
.w.on { background: radial-gradient(80% 60% at 50% 0%, rgba(var(--g2), .07), transparent 70%), rgba(16,14,14,.6); }
/* halo fix: no mask (it clipped the glow); the glowing box stops at 70% of the window so the light
   hugs the top and sides and the window's own fade still dissolves the bottom */
.showcase::before { -webkit-mask-image: none; mask-image: none; height: calc(860px * var(--s) * .7);
  box-shadow: 0 0 30px 1px rgba(var(--g2), .30), 0 0 90px 10px rgba(var(--g2), .16), 0 -10px 200px 30px rgba(var(--g1), .14); }
.sc-window { border-color: rgba(var(--g2), .30); box-shadow: inset 0 1px 0 rgba(var(--g2), .6), inset 0 0 0 1px rgba(var(--g2), .06); }
.showcase::before { height: calc(860px * var(--s) * .86); }

/* fix: the halo now follows the window's own (faded) shape, so it fades out exactly with it */
.showcase::before { display: none; }
.showcase { filter: drop-shadow(0 0 22px rgba(var(--g2), .22)) drop-shadow(0 0 70px rgba(var(--g1), .16)); }
/* fix: the hero's end glow feathers out at the bottom, like the rest of the hero's light */
.film-glow, .film-shade { -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 60%, transparent 100%); }
/* the halo, as bright as the version the owner liked, following the window's shape */
.showcase { filter: drop-shadow(0 0 1.5px rgba(var(--g2), .55)) drop-shadow(0 0 26px rgba(var(--g2), .38)) drop-shadow(0 0 90px rgba(var(--g2), .26)); }

/* the halo, Safari-safe: a glowing frame drawn around the window inside an oversized wrapper; the wrapper fades
   out at the bottom in step with the window, so the glow never ends on a hard edge */
.showcase { filter: none; }
.screen { overflow-x: clip; }
.sc-halo { position: absolute; left: -140px; right: -140px; top: -140px; height: calc(860px * var(--s) + 280px); z-index: -1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(140px + 860px * var(--s) * .5), transparent calc(140px + 860px * var(--s) * .97));
  mask-image: linear-gradient(to bottom, #000 calc(140px + 860px * var(--s) * .5), transparent calc(140px + 860px * var(--s) * .97)); }
.sc-halo i { position: absolute; left: 140px; right: 140px; top: 140px; height: calc(860px * var(--s)); border-radius: calc(20px * var(--s));
  box-shadow: 0 0 2px 0 rgba(var(--g2), .5), 0 0 30px 2px rgba(var(--g2), .32), 0 0 100px 14px rgba(var(--g2), .2);
  transform-origin: 50% 0; transform: rotateX(calc(var(--tilt) * 16deg)) translateY(calc(var(--tilt) * 40px)) scale(calc(1 - var(--tilt) * .05)); }
/* ---------- compound: the headline drawn, a fan of silver growth curves, the brightest carrying a burgundy signal ---------- */
@keyframes cc-draw { to { stroke-dashoffset: 0; } }
@keyframes cc-fade { to { opacity: 1; } }

/* ---------- terrain: fine contour lines, slowly breathing, brighter toward the centre ---------- */
@keyframes tr-turn { to { transform: rotate(360deg); } }
@keyframes bar-wave { 0%, 100% { opacity: calc(var(--m) * .8); } 12% { opacity: calc(.5 + var(--m) * .5); } 30% { opacity: calc(var(--m) * .8); } }
/* the wave: each bar rises and settles in turn, so a single smooth swell travels across; light rides its crest */
@keyframes bar-wave { 0%, 100% { opacity: calc(var(--m) * .8); } 20% { opacity: calc(.55 + var(--m) * .45); } 40% { opacity: calc(var(--m) * .8); } }
@keyframes pz-tip { 0% { background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); } 15% { background: radial-gradient(closest-side, rgba(214,80,108,1), transparent); transform: scaleY(2.4); } 100% { background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); transform: none; } }
@keyframes pz-tip { 0% { background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); } 15% { background: radial-gradient(closest-side, rgba(255,255,255,1), transparent); transform: scaleY(2.6); } 100% { background: radial-gradient(closest-side, rgba(255,255,255,.7), transparent); transform: none; } }
/* ---------- liquid metal: slow silvery-black metal flowing behind the hero, darkened for the headline ---------- */
.bgx-liquid { position: absolute; inset: 0; display: none; opacity: 0; transition: opacity 1.4s var(--ease); }
.bg-liquid .bgx-liquid { display: block; }
.bgx-liquid.on { opacity: 1; }
.bgx-liquid canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.bgx-liquid::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 55% at 50% 42%, rgba(5,3,4,.78), rgba(5,3,4,.45) 60%, rgba(5,3,4,.2) 100%), linear-gradient(180deg, rgba(5,3,4,.35), transparent 30%, transparent 70%, rgba(5,3,4,.85)); }
.bg-liquid .hero-alt > i, .bg-liquid .film-bg::after, .bg-liquid .film-glow, .bg-liquid .film-bg .glow, .bg-liquid .film-bg .ray { display: none; }

/* liquid metal as an object: the shape sits behind the headline, fades away as the hero copy does */
.bg-liquid-object .bgx-liquid::after { background: radial-gradient(40% 30% at 50% 44%, rgba(5,3,4,.55), transparent 80%); }
.bg-liquid-object .bgx-liquid { opacity: 0; }
.bg-liquid-object .bgx-liquid.on { opacity: calc(.9 * var(--copy-o, 1)); transition: opacity .3s linear; }

/* the sphere, like the demo: centred behind the headline, rising into place as the page loads */
.bg-liquid-object .bgx-liquid { transform: translateY(24px) scale(.94); transition: opacity 1.6s var(--ease), transform 1.8s var(--ease); }
.bg-liquid-object .bgx-liquid.on { transform: none; }
.bg-liquid-object .bgx-liquid::after { background: radial-gradient(34% 26% at 50% 46%, rgba(5,3,4,.42), transparent 85%); }

/* ---------- what AISA builds with: AISA rises letter by letter, then the tool tiles fly up column by column,
   middle first; the service cards in the centre widen on hover (motion driven by site.js) ---------- */
.build-with { overflow: hidden; }
.st-word-big { display: flex; justify-content: center; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); font-family: var(--font-heading); font-weight: 900; line-height: .8; letter-spacing: -0.04em;
  font-size: clamp(5rem, 2rem + 14vw, 13rem); color: var(--off-white); }
.st-word-big span { display: inline-block; transform: translateY(calc((1 - var(--l, 1)) * 110%)); opacity: var(--l, 1); }
.st-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.5rem, .3rem + .6vw, 1rem); }
.st-tile, .st-bento { transform: translateY(calc((1 - var(--l, 1)) * 280px)); opacity: var(--l, 1); }
.st-tile { aspect-ratio: 1; }
.st-face { position: relative; display: grid; place-items: center; height: 100%; border-radius: 1rem; overflow: hidden; border: 1px solid rgba(244,242,239,.07);
  background: linear-gradient(180deg, #0F0C0D, #080607); color: #8B8F96; transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.st-face svg { width: 34%; height: 34%; fill: currentColor; transition: transform .4s var(--ease); }
.st-face em { position: absolute; left: 0; right: 0; bottom: 10%; text-align: center; font: 500 .75rem/1 var(--font-body); font-style: normal; color: var(--off-white);
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.st-tile:hover .st-face { border-color: rgba(244,242,239,.2); color: var(--off-white); transform: scale(1.04); }
.st-tile:hover .st-face svg { transform: translateY(-10%); }
.st-tile:hover .st-face em { opacity: 1; transform: none; }
.st-mark .st-face img { width: 40%; height: auto; opacity: .85; }
.st-bento { grid-column: span 3; }
.st-cards { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; height: 100%; }
.st-card { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .5rem; padding: 1rem; border-radius: 1rem; cursor: pointer; overflow: hidden;
  border: 1px solid rgba(244,242,239,.08); background: linear-gradient(180deg, #0F0C0D, #080607); color: #8B8F96;
  transition: flex-grow .7s cubic-bezier(.25,1,.5,1), border-color .5s var(--ease), color .5s var(--ease); }
.st-card.on { flex-grow: 3.4; align-items: flex-start; justify-content: flex-end; border-color: rgba(244,242,239,.22); color: var(--off-white);
  background: radial-gradient(80% 70% at 50% 0%, rgba(199,204,211,.08), transparent 70%), linear-gradient(180deg, #121011, #080607); }
.st-card:focus-visible { outline: 2px solid var(--silver); outline-offset: 2px; }
.st-card-ic svg { width: 1.5rem; height: 1.5rem; }
.st-card-t { font: 500 .6875rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.st-card.on .st-card-t { font: 700 1.0625rem/1.1 var(--font-heading); letter-spacing: -0.01em; text-transform: none; }
.st-card p { display: none; font-size: .8125rem; line-height: 1.45; color: var(--silver); }
.st-card.on p { display: block; animation: st-in .5s var(--ease) .15s both; }
@keyframes st-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 47.99rem) {
  .st-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .st-mark { display: none; }
  .st-bento { grid-column: 1 / -1; height: 9rem; }
  .st-card:not(.on) .st-card-t { display: none; }}
@media (prefers-reduced-motion: reduce) { .st-tile, .st-bento, .st-word-big span { transform: none !important; opacity: 1 !important; }}
/* closed service cards show only their icon; the open one shows title and line */
.st-card:not(.on) .st-card-t { display: none; }
.st-card { min-height: 0; }
@media (max-width: 47.99rem) { .st-bento { height: auto; min-height: 11.5rem; } .st-card.on { flex-grow: 5; } .st-card p { font-size: .9375rem; } .st-card { padding: .85rem; }}

/* staggered grid, GSAP-driven (as in the original demo): tall tiles, the full width, no CSS-driven motion */
.st-tile, .st-bento, .st-word-big span { transform: none; opacity: 1; }
.build-with .wrap { max-width: 86rem; }
.st-tile { aspect-ratio: 3 / 4; }
.st-bento { align-self: stretch; transform-origin: 50% 50%; }
.st-word-big { font-weight: 500; letter-spacing: -0.02em; text-transform: uppercase; overflow: hidden; padding-bottom: .08em; }

/* words animated by GSAP instead of the CSS reveal */
.js .gsap-words .word-in { transition: none; opacity: 1; transform: none; filter: none; }
.closing .inner, .closing h2 { overflow: visible; }

/* ---------- audit fixes, 2026-10-09 ---------- */
/* reveals: a gentler, longer settle and a lighter blur, so blocks glide in instead of snapping (and Safari doesn't flicker on large blurs) */
.js .reveal { filter: blur(var(--reveal-b, 4px)); transition: opacity 1.1s cubic-bezier(.25,.8,.3,1) var(--delay, 0s), transform 1.1s cubic-bezier(.25,.8,.3,1) var(--delay, 0s), filter 1.1s cubic-bezier(.25,.8,.3,1) var(--delay, 0s), border-color .5s var(--ease); }
.js .word-in { filter: blur(5px); transition-timing-function: cubic-bezier(.25,.8,.3,1); transition-duration: 1s; }
/* the process steps measure their open height without animating */
.psteps.measuring *, .psteps.measuring *::before, .psteps.measuring *::after { transition: none !important; animation: none !important; }
/* inactive process words: still dim, now legible */
.process-title span { color: #4A4447; }
/* phones: no grey flash on tap, buttons don't select text on long-press */
a, button, .sys-card, .st-card, .pstep button { -webkit-tap-highlight-color: transparent; }
/* selected text in AISA Burgundy */
::selection { background: rgba(100, 26, 41, .9); color: #F4F2EF; -webkit-text-fill-color: #F4F2EF; }
.btn, .nav-toggle, .pstep button, .st-card { -webkit-user-select: none; user-select: none; touch-action: manipulation; }
/* phones: every tap target at least 44px (the visuals don't change; only the touch area grows) */
@media (max-width: 760px) {
  .footer-link, .sys-chip { min-height: 44px; }
  .nav-toggle, .ask-send { position: relative; }
  .nav-toggle::after, .ask-send::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }}

/* six service cards: the open one gets more room on phones */
@media (max-width: 47.99rem) { .st-card.on { flex-grow: 7; } .st-card { padding: .75rem .5rem; } .st-card.on { padding: .85rem; }}

/* the diagrams are scaled as a whole (--s); the generic max-width on SVGs shrank them a second time on phones */
.ch-fit > svg { max-width: none; }
.closing .inner { position: relative; z-index: 2; }

/* when GSAP drives the lamp with the scroll, the CSS timings step aside */
 .closing.gsap-lamp .inner { transition: none !important; }

/* ---------- closing background previews (?closebg=...) : a layer between the lamp and the content ---------- */
.closing .cl-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; }
/* more closing backgrounds: dust (canvas), halftone (canvas), dots + mist, rings */
.cl-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* ---------- columns: 21st.dev ColumnLines, 14 x 80px bands in alternating tones, radial fade 30% to 70% ---------- */
.cl-bg-columns { mix-blend-mode: normal; -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%); }
.cl-cols { position: absolute; top: 0; bottom: 0; left: 50%; width: 1120px; transform: translateX(-50%); display: flex; }
/* as measured from the original: every column the same, brightest at its left edge and fading to dark at
   its right, so each one steps up again where the next begins */
.cl-cols i { flex: 0 0 160px; height: 100%; background: linear-gradient(90deg, rgba(255,255,255,.075), rgba(255,255,255,.008)); }
/* fewer, thicker bars (owner): 7 columns of 160px over the same width */
.cl-cols i:nth-child(n+8) { display: none; }
.closing:has(.cl-bg-columns) { background: #09090B; }
/* the component's entrance: each block fades up 16px, 0.5s, 0.1s after the last */
.closing.cl-enter .inner > * { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.42,0,.58,1), transform .5s cubic-bezier(.42,0,.58,1); }
.closing.cl-enter .inner > :nth-child(2) { transition-delay: .1s; } .closing.cl-enter .inner > :nth-child(3) { transition-delay: .2s; }
.closing.cl-enter.entered .inner > * { opacity: 1; transform: none; }
.closing.cl-enter h2 .word-in { opacity: 1; transform: none; filter: none; }
/* closing columns (no lamp), as in the lamp version the owner liked: the warm near-black, dimmer bands,
   strongest through the middle and fading out at the top, the bottom and the sides */
.closing:not(.lamp-mode):has(.cl-bg-columns) { background: var(--charcoal); }
.closing:not(.lamp-mode) .cl-bg-columns { opacity: .75; -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 62%, transparent 100%), linear-gradient(to right, transparent 8%, #000 32%, #000 68%, transparent 92%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0%, #000 28%, #000 62%, transparent 100%), linear-gradient(to right, transparent 8%, #000 32%, #000 68%, transparent 92%); mask-composite: intersect; }

/* ---------- liquid particle sculpture previews (?bg=sculpt, ?sculpt=footer) ---------- */
.sc-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.footer-word .sc-host { position: absolute; left: 0; right: 0; top: -45%; bottom: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 44.8%, transparent 91.7%); mask-image: linear-gradient(to bottom, #000 44.8%, transparent 91.7%); }   /* the original word's fade (20% to 88% of the word), in this taller box */
.footer-word.sc-word .sc-host.sc-on ~ span, .footer-word.sc-word:has(.sc-on) > span { opacity: 0 !important; transition: opacity .6s var(--ease); }

/* footer: three short columns (Explore, Contact, Legal) instead of four (owner, 2026-10-14) */
@media (min-width: 40rem) { .footer-cols { grid-template-columns: repeat(3, minmax(0, auto)); justify-content: end; gap: 2.5rem clamp(3rem, 2rem + 4vw, 6rem); }}

/* ---------- footer v2 (preview ?footer=v2) ---------- */
.ft-copy, .ft-top { display: none; }
.ft-arrow { display: none; }
.ft-v2 .footer::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; pointer-events: none;
  background: radial-gradient(260px 1px at var(--fx, 50%) 0, rgba(228,230,234,.9), transparent), linear-gradient(90deg, transparent, rgba(244,242,239,.14) 30%, rgba(244,242,239,.14) 70%, transparent); }
.ft-v2 .footer-brand p:first-of-type { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--off-white); max-width: 14ch; margin-bottom: 1rem; }
/* links: a silver line draws in from the left */
.ft-v2 .footer-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.ft-v2 .footer-link:hover::after, .ft-v2 .footer-link:focus-visible::after { transform: scaleX(1); }
.ft-v2 .ft-arrow { display: inline-block; margin-left: .35rem; opacity: 0; transform: translate(-4px, 3px); transition: opacity .3s var(--ease), transform .35s cubic-bezier(.22,1,.36,1); }
.ft-v2 .ft-ext:hover .ft-arrow { opacity: 1; transform: none; }
.ft-v2 .ft-ext::after { right: 1.2rem; }
/* copy email */
.ft-v2 .ft-mail { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.ft-v2 .ft-copy { display: inline-flex; align-items: center; min-height: 28px; padding: 0 .6rem; border-radius: 999px; border: 1px solid rgba(244,242,239,.12); background: none;
  color: #8B8F96; font: 500 .6875rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.ft-v2 .ft-copy:hover { color: var(--off-white); border-color: rgba(244,242,239,.3); }
.ft-v2 .ft-copy.ok { color: var(--off-white); border-color: rgba(178,65,88,.6); background: rgba(100,26,41,.25); }
/* back to top lives in the bottom line */
.ft-v2 .to-top { display: none !important; }
.ft-v2 .ft-top { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0; border: 0; background: none; color: #8B8F96; font: inherit; font-size: .875rem; cursor: pointer; transition: color .25s; }
.ft-v2 .ft-top span { display: inline-block; transition: transform .35s cubic-bezier(.22,1,.36,1); }
.ft-v2 .ft-top:hover { color: var(--off-white); } .ft-v2 .ft-top:hover span { transform: translateY(-3px); }
.ft-v2 .footer-bottom { align-items: center; }
@media (max-width: 47.99rem) { .ft-v2 .ft-copy { display: none; }}

/* ---------- footer v2, round 2: a rounded panel rising out of the closing section (owner's reference) ---------- */
.ft-quote { display: none; }
.ft-v2 .ft-top { display: none; }
.ft-v2 .ft-quote { display: block; margin: 0; font-family: var(--font-heading); font-size: .9375rem; letter-spacing: -0.01em; color: #8B8F96; }
.ft-v2 .footer-brand p:first-of-type { font-size: clamp(1.25rem, 1rem + .7vw, 1.6rem); line-height: 1.15; max-width: none; margin-bottom: .75rem; }
.ft-v2 .footer { margin: 0 clamp(.75rem, .25rem + 1.5vw, 2rem); border: 1px solid rgba(244,242,239,.07); border-bottom: 0; border-radius: clamp(1.25rem, 1rem + 1vw, 2rem) clamp(1.25rem, 1rem + 1vw, 2rem) 0 0;
  background: radial-gradient(70% 60% at 50% 0%, rgba(244,242,239,.035), transparent 70%), linear-gradient(180deg, #0D0B0C, #080607); }
.ft-v2 .footer::before { left: 10%; right: 10%; }
.ft-v2 .closing { border-bottom: 0; padding-bottom: clamp(4rem, 3rem + 4vw, 7rem); }
.ft-v2 .closing.rule-top + * { border-top: 0; }
.ft-v2 .footer-bottom { border-top-color: rgba(244,242,239,.05); }
@media (max-width: 47.99rem) { .ft-v2 .footer-bottom { flex-direction: column; align-items: flex-start; gap: .5rem; }}
@media (max-width: 47.99rem) { .ft-v2 .footer { margin-inline: .5rem; } .ft-v2 .ft-mail .footer-link { font-size: .875rem; }}
/* footer v2, round 3: smaller, tighter type (the big AISA word unchanged) */
@media (min-width: 48rem) {
  .ft-v2 .footer-main { padding-block: clamp(3.5rem, 2.5rem + 2.5vw, 5rem) clamp(2rem, 1.5rem + 1.5vw, 3rem); }
  .ft-v2 .footer-h { font-size: .6875rem; margin-bottom: .9rem; color: #6E7279; }
  .ft-v2 .footer-link { font-size: .84375rem; min-height: 30px; }
  .ft-v2 .footer-link::after { bottom: .3rem; }
  .ft-v2 .footer-cols { gap: 2rem clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
  .ft-v2 .footer-brand p { font-size: .84375rem; }
  .ft-v2 .footer-brand p:first-of-type { font-size: clamp(1.05rem, .9rem + .4vw, 1.25rem); margin-bottom: .5rem; }
  .ft-v2 .footer-brand .btn { transform: scale(.92); transform-origin: left center; }
  .ft-v2 .footer-logo { width: 52px; height: auto; margin-bottom: 1.1rem; }
  .ft-v2 .ft-copy { min-height: 24px; font-size: .625rem; }}
.ft-v2 .ft-quote { font-size: .8125rem; color: #6E7279; letter-spacing: 0; }
.ft-v2 .footer-bottom p { font-size: .8125rem; }

/* footer v2: the System Check card, and a burgundy-to-silver edge along the top of the panel */
.ft-card-t { display: none; }
.ft-v2 .ft-card { margin-top: 1.75rem; max-width: 22rem; padding: 1.25rem 1.25rem 1.1rem; border-radius: 1.1rem; border: 1px solid rgba(244,242,239,.08);
  background: radial-gradient(120% 90% at 0% 0%, rgba(100,26,41,.22), transparent 60%), linear-gradient(180deg, rgba(244,242,239,.035), rgba(244,242,239,.01));
  box-shadow: inset 0 1px 0 rgba(244,242,239,.06); }
.ft-v2 .ft-card-t { display: block; margin: 0 0 1rem; max-width: none; font-size: .875rem; line-height: 1.5; color: var(--off-white); }
.ft-v2 .ft-card .btn { transform: none; }
.ft-v2 .footer::after { content: ""; position: absolute; top: -1px; left: 6%; right: 6%; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(100,26,41,.9) 18%, rgba(178,65,88,.8) 34%, rgba(214,218,224,.75) 50%, rgba(178,65,88,.8) 66%, rgba(100,26,41,.9) 82%, transparent); }
.ft-v2 .footer { border-top-color: transparent; }
.ft-v2 .footer-brand .ft-card p.ft-card-t { font-family: var(--font-body); font-weight: 400; font-size: .875rem; line-height: 1.5; letter-spacing: 0; color: var(--silver); max-width: 17rem; margin: 0 0 1rem; }
.ft-v2 .footer::before, .ft-v2 .footer::after { top: 0; z-index: 2; }
/* footer v2, round 4: compact (owner: too big) */
@media (min-width: 48rem) {
  .ft-v2 .footer-main { padding-block: 3.25rem 1rem; gap: 2rem; }
  .ft-v2 .footer-logo { margin-bottom: .75rem; }
  .ft-v2 .footer-brand p:first-of-type { margin-bottom: .25rem; }
  .ft-v2 .footer-brand p:nth-of-type(2) { font-size: .8125rem; color: #8B8F96; margin: 0; }
  .ft-v2 .ft-card { display: flex; align-items: center; gap: 1rem; max-width: 27rem; margin-top: 1.25rem; padding: .85rem .85rem .85rem 1.1rem; border-radius: 999px; }
  .ft-v2 .footer-brand .ft-card p.ft-card-t { margin: 0; font-size: .8125rem; line-height: 1.35; max-width: 14rem; }
  .ft-v2 .ft-card .btn { flex: none; }
  .ft-v2 .footer-word { margin-top: -3.5rem; }
  .ft-v2 .footer-bottom { padding-block: 1.1rem; }}
/* footer v2: no card (the closing right above already makes the System Check offer); the word sits under the links */
.ft-v2 .ft-card { display: none !important; }
@media (min-width: 48rem) { .ft-v2 .footer-word { margin-top: -1.5rem; } .ft-v2 .footer-main { padding-bottom: 2rem; }}
@media (max-width: 47.99rem) {
  .ft-v2 .footer-main { padding-block: 2.75rem 1rem; gap: 2rem; }
  .ft-v2 .footer-cols { grid-auto-flow: row dense; row-gap: 1.75rem; }
  .ft-v2 .footer-cols > div:nth-child(3) { grid-column: 2; }
  .ft-v2 .footer-cols > div:nth-child(1) { grid-row: span 2; }
  .ft-v2 .footer-brand p:first-of-type { font-size: 1.15rem; }
  .ft-v2 .footer-brand p:nth-of-type(2) { font-size: .875rem; color: #8B8F96; }
  .ft-v2 .footer-word { margin-top: -.5rem; }}
/* footer v2: no burgundy edge (owner); the panel's own faint border only; more room between the closing and the footer */
.ft-v2 .footer::after { display: none; }
.ft-v2 .footer { border-top-color: rgba(244,242,239,.08); margin-top: clamp(3rem, 2rem + 4vw, 6.5rem); }
.ft-v2 .footer { margin-top: 0; }
.ft-v2 .closing { padding-bottom: clamp(7rem, 5rem + 6vw, 12rem); }
/* footer v2: the silver edge glow runs the full width (fading into the rounded corners) so it never cuts off */
.ft-v2 .footer::before { left: 1.5rem; right: 1.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
/* the closing is a full screen of its own, like the reference: its moment first, then the footer */
.ft-v2 .closing { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(6rem, 5rem + 4vw, 9rem); }
.ft-v2 .footer-word span { color: rgba(199,204,211,.075); }

/* ---------- blob burst preview (?hero=blob) ---------- */
.hero-blob.film-live .film-runway { height: 300vh; }
.hero-blob.bg-liquid-object .bgx-liquid.on { opacity: var(--blob-o, 1); transform: scale(var(--blob-s, 1)); transition: opacity 1.6s var(--ease); will-change: transform; }
.hero-blob .bgx-liquid::after { opacity: var(--blob-shade, 1); }
.hero-blob .film-shade { opacity: calc(var(--copy-o, 1) * var(--blob-shade, 1)); }
.hero-blob.film-live .film-runway { height: 400vh; }
.hero-blob .film-end-title { text-shadow: 0 0 40px rgba(5,3,4,.9), 0 0 12px rgba(5,3,4,.8); }

/* ---------- simple hero (default): one screen, the blob and the headline, no plates film ---------- */
 .hero-simple .film-end { display: none !important; }
.hero-simple .film-runway { height: 100vh; height: 100svh; }

/* blob burst as the default hero: no statement over black (the dashboard section opens with it), a shorter run */
.hero-blob.film-live .film-runway { height: 230vh; }
/* the blob burst shows no statement of its own, so the dashboard section keeps its heading */
.hero-blob.film-live .film-runway { height: 210vh; }
.hero-blob .bgx-liquid::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: 1; background: linear-gradient(to bottom, transparent, var(--charcoal)); opacity: calc(1 - var(--blob-shade, 1)); }
/* blob burst, as first previewed (owner): the statement comes into focus over black */
.hero-blob.film-live .film-runway { height: 300vh; }

/* exploding blob preview (?burst=explode) */
.film-explode { position: absolute; inset: 0; opacity: var(--explode-o, 0); pointer-events: none; }
.film-explode .sc-canvas { opacity: 1; }

/* the explosion's flash: a soft burst of light at the blob's centre as it breaks */
.film-flash { position: absolute; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(244,242,239,.55) 0%, rgba(214,218,224,.18) 22%, rgba(214,218,224,0) 60%);
  opacity: var(--fl, 0); transform: scale(calc(.6 + .8 * var(--fl, 0))); mix-blend-mode: screen; }

/* scrolling back to the top: a soft blend from the particles to the live blob */
.blob-return .film-explode { transition: opacity .45s ease; }
.blob-return.hero-blob.bg-liquid-object .bgx-liquid.on { transition: opacity .45s ease; }
/* ---------- site background previews (?amb=clean|frame|depth): calm near-black, depth from the content ---------- */
:is(.amb-clean, .amb-frame, .amb-depth) body { background: #08080A; }
:is(.amb-clean, .amb-frame, .amb-depth) .ambient > * { display: none; }
/* clean: one soft silver light at the very top of the page, nothing else (Linear / Vercel) */
:is(.amb-clean, .amb-frame) body { background: radial-gradient(ellipse 60% 55vh at 50% 0, rgba(214,218,224,.055), transparent 75%) no-repeat, #08080A; }
/* frame: plus two hairlines running the full height at the content's edges (Vercel / Stripe) */
/* depth: graphite that very slowly lightens and darkens down the page, like a lit room (Apple dark pages) */

/* ======================= premium pass (2026-10-15): references Raycast, GTM, Framer, Slash ======================= */
/* two-tone headlines: the second part steps back to grey */
.tone, .word-in.tone { color: #75747A; -webkit-text-fill-color: #75747A; }
.film-copy h1 .tone { color: #8E8D93; -webkit-text-fill-color: #8E8D93; }

/* tighter rhythm: every scroll lands on something */
.section { padding-block: clamp(4.5rem, 3rem + 4.5vw, 7rem); }
.screen { padding-bottom: clamp(4rem, 3rem + 4vw, 6.5rem); }

/* system cards: a small live preview of the system above its title */

/* the product window at work: a small activity feed in the corner */
.sc-main { position: relative; }
.sc-feed { position: absolute; right: 22px; bottom: 22px; z-index: 5; display: flex; flex-direction: column; gap: 8px; width: 290px; pointer-events: none; }
.sc-ev { display: grid; grid-template-columns: 8px auto 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px;
  background: rgba(16,14,15,.92); border: 1px solid rgba(244,242,239,.09); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 13px; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
.sc-ev.in { opacity: 1; transform: none; }
.sc-ev:nth-child(2) { opacity: .7; } .sc-ev:nth-child(3) { opacity: .4; }
.sc-ev i { width: 7px; height: 7px; border-radius: 50%; background: #B24158; box-shadow: 0 0 0 3px rgba(178,65,88,.18); }
.sc-ev:not(:first-child) i { background: #8B8F96; box-shadow: none; }
.sc-ev b { font-weight: 500; color: var(--off-white); white-space: nowrap; }
.sc-ev span { color: #8B8F96; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-ev em { font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; color: #6E7279; }
@media (max-width: 47.99rem) { .sc-feed { display: none; } }

/* where growth leaks: six cards, each a small real-looking screen caught at the moment the lead or the money slips away */
.lc-head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
@media (min-width: 60rem) { .lc-head { grid-template-columns: 1fr 1fr; align-items: end; } .lc-sub { justify-self: end; text-align: right; } }
.lc-head h2 { margin: 0; font-size: var(--h-section); line-height: var(--lh-head); }   /* the shared section heading size */
.lc-sub { max-width: 24rem; margin: 0; color: var(--silver); font-size: clamp(1rem, .9rem + .4vw, 1.125rem); line-height: 1.625; }   /* the shared subheading size */
.lc-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .lc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .lc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lc { display: flex; flex-direction: column; border-radius: 1.25rem; border: 1px solid rgba(244,242,239,.07); background: linear-gradient(180deg, rgba(244,242,239,.03), rgba(244,242,239,.008));
  box-shadow: inset 0 1px 0 rgba(244,242,239,.05); overflow: hidden; transition: border-color .4s var(--ease), transform .4s var(--ease); }
.lc:hover { border-color: rgba(244,242,239,.14); }
.lc-ui { position: relative; height: 168px; padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-bottom: 1px solid rgba(244,242,239,.06);
  background: radial-gradient(rgba(244,242,239,.045) 1px, transparent 1.3px) 0 0 / 16px 16px, #0C0A0B; font-size: 12.5px; }
.lc-stage { margin: 1.25rem 1.5rem .5rem; font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #8B8F96; }
.lc-q { margin: 0 1.5rem 1.6rem; font-family: var(--font-heading); font-weight: 600; font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--off-white); }
/* the little interface pieces */
.ui-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: #141113; border: 1px solid rgba(244,242,239,.07); }
.ui-row.dim { opacity: .45; }
.ui-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #221D1F; color: #B9BEC6; font: 600 10px/1 var(--font-body); }
.ui-t { display: grid; gap: 2px; min-width: 0; } .ui-t b { font-weight: 500; color: var(--off-white); } .ui-t em { font-style: normal; color: #7E8189; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-pill { padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(244,242,239,.12); color: #9DA1A8; font-size: 11px; }
.ui-pill.bad { color: #E07A8F; border-color: rgba(178,65,88,.45); background: rgba(100,26,41,.25); }
.ui-kv { display: flex; justify-content: space-between; align-items: center; padding: 8px 11px; border-radius: 9px; background: #141113; border: 1px solid rgba(244,242,239,.06); color: #8B8F96; }
.ui-kv b { font-weight: 500; color: var(--off-white); }
b.bad, .ui-kv b.bad { color: #E07A8F; }
.ui-dup { display: flex; justify-content: space-between; padding: 8px 11px; border-radius: 9px; background: #141113; border: 1px dashed rgba(244,242,239,.14); color: #7E8189; }
.ui-dup b { font-weight: 500; color: #C9CCD1; }
.ui-dup:nth-child(2) { margin-left: 14px; } .ui-dup:nth-child(3) { margin-left: 28px; }

/* card previews: the automation flow runs left to right in the small frame */
/* the activity feed: one live event at a time, top right beside the system's name */
.sc-feed { top: 34px; right: 40px; bottom: auto; width: 300px; gap: 0; }
.sc-ev:not(:first-child) { display: none; }

/* ---------- the System Check report: the one light section, a premium document on warm paper ---------- */
/* the page itself turns warm white behind this section (site.js sets --light 0..1 from the scroll) */
.bg-shift { position: absolute; inset: 0; z-index: 5; background: #EEECE8; opacity: var(--light, 0); pointer-events: none; }
.report { position: relative; z-index: 4; --ink: color-mix(in srgb, #121011 calc(var(--light, 0) * 100%), #F4F2EF); color: var(--ink); }
.report .h2, .report h2 { color: var(--ink); -webkit-text-fill-color: var(--ink); }
.report .tone { color: color-mix(in srgb, #8A8580 calc(var(--light, 0) * 100%), #75747A); -webkit-text-fill-color: color-mix(in srgb, #8A8580 calc(var(--light, 0) * 100%), #75747A); }
.report .rp-lead { color: color-mix(in srgb, #4A4644 calc(var(--light, 0) * 100%), #B4B1B6); }
.rp-split { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: center; }
@media (min-width: 60rem) { .rp-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.rp-copy h2 { margin: 0 0 1.5rem; font-size: var(--h-section); line-height: var(--lh-head); }
.rp-lead { max-width: 27rem; margin: 0 0 2rem; font-size: 1.125rem; line-height: 1.6; color: #4A4644; }
.rp-doc { margin: 0; perspective: 1600px; }
.rp-paper { transform: rotateX(8deg) rotateY(-10deg) rotateZ(1deg); transform-origin: 50% 60%; padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); border-radius: 14px; background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 30px 60px -20px rgba(40,20,25,.28), 0 80px 120px -60px rgba(40,20,25,.35); color: #161314; font-size: 13px;
  transition: transform 1.2s cubic-bezier(.22,1,.36,1); }
.rp-doc:hover .rp-paper { transform: rotateX(4deg) rotateY(-5deg) rotateZ(.5deg); }
.rp-top { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid #ECE9E5; font-weight: 600; letter-spacing: -0.01em; }
.rp-top img { filter: invert(1) hue-rotate(180deg) brightness(.4); }
.rp-top em { margin-left: auto; font: 500 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #8A8580;
  padding: 5px 8px; border: 1px solid #E4E0DB; border-radius: 999px; }
.rp-title { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 16px; }
.rp-title b { font-family: var(--font-heading); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); letter-spacing: -0.02em; }
.rp-title span { color: #8A8580; }
.rp-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.rp-sum div { padding: 12px 14px; border-radius: 10px; background: #F6F4F1; }
.rp-sum b { display: block; font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; letter-spacing: -0.03em; }
.rp-sum div:first-child b { color: #8E2A3E; }
.rp-sum span { color: #6F6A66; font-size: 12px; }
.rp-rows { list-style: none; margin: 0; padding: 0; }
.rp-rows li { display: grid; grid-template-columns: 26px minmax(0, 1.1fr) 110px minmax(0, 1.4fr); align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #F0EDE9; }
.rp-n { font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #A39E99; }
.rp-sys { font-weight: 600; }
.rp-st { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 4px 9px; border-radius: 999px; font-size: 11.5px; background: #F3F1EE; color: #5C5753; }
.rp-st i { width: 6px; height: 6px; border-radius: 50%; background: #A39E99; }
.rp-st.bad { background: #F7E9EC; color: #8E2A3E; } .rp-st.bad i { background: #B24158; }
.rp-st.warn { background: #F4EFE6; color: #7A6440; } .rp-st.warn i { background: #C49A5A; }
.rp-st.ok { background: #EAF1EC; color: #3E6B4C; } .rp-st.ok i { background: #5B9A6D; }
.rp-fix { color: #6F6A66; }
.rp-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: #161314; color: #EDEBE7; }
.rp-foot span { color: #A8A3A0; }
@media (max-width: 47.99rem) {
  .rp-paper { transform: none; font-size: 12px; } .rp-doc:hover .rp-paper { transform: none; }
  .rp-rows li { grid-template-columns: 20px minmax(0, 1fr) auto; } .rp-fix { display: none; }
  .rp-foot { flex-direction: column; gap: 4px; }
}
.report { padding-block: 42vh; }   /* room for the page to turn white with nothing else on screen */
.report .rp-split { min-height: 70vh; }

/* ---------- the businesses we build for: a slow strip of real work, graded to the brand ---------- */
@keyframes ws-move { to { transform: translateX(-50%); } }

/* ---------- the leak cards play out their moment ---------- */
.lc .ui-row.dim, .lc .ui-dup:nth-child(n+2), .lc .ui-kv b.bad { transition: opacity .6s var(--ease), transform .7s cubic-bezier(.22,1,.36,1); }
.js .lc:not(.play) .ui-row.dim { opacity: 0; transform: translateY(8px); }
.lc.play .ui-row.dim { transition-delay: 1.1s; }
.js .lc:not(.play) .ui-pill.bad { opacity: 0; }
.lc .ui-pill.bad { transition: opacity .4s var(--ease) .5s; }
.lc.play .ui-pill.bad { animation: lc-pulse 2.6s ease-in-out 1.2s infinite; }
@keyframes lc-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(178,65,88,0); } 50% { box-shadow: 0 0 0 5px rgba(178,65,88,.14); } }
.js .lc:not(.play) .ui-kv b.bad { opacity: 0; transform: translateX(6px); }
.lc.play .ui-kv b.bad { transition-delay: .8s; }
.js .lc:not(.play) .ui-dup:nth-child(2), .js .lc:not(.play) .ui-dup:nth-child(3) { opacity: 0; transform: translate(-14px, -8px); }
.lc.play .ui-dup:nth-child(2) { transition-delay: .35s; } .lc.play .ui-dup:nth-child(3) { transition-delay: .7s; }
@media (prefers-reduced-motion: reduce) { .lc * { transition: none !important; animation: none !important; } }

/* ---------- one cinematic photo, full width, moving slower than the page ---------- */
/* ---------- the industries, in big type ---------- */

/* band previews: each photo framed and graded for the line */

/* band: liquid metal instead of a photo */

/* ---------- preview ?official: announcement bar + a full-width nav with Client login ---------- */

/* ---------- nav: a floating pill at the top that opens into a full-width bar once you scroll ---------- */
.nav { transition: top .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1), max-width .55s cubic-bezier(.22,1,.36,1); }
.nav-inner { transition: border-radius .55s cubic-bezier(.22,1,.36,1), padding .55s cubic-bezier(.22,1,.36,1), background-color .5s var(--ease), border-color .5s var(--ease); }
@media (min-width: 40.01rem) {
  .nav.scrolled { top: 0; width: 100%; max-width: 100vw; }
  .nav.scrolled .nav-inner { border-radius: 0; border-color: transparent transparent rgba(244,242,239,.07); padding: .7rem clamp(1rem, .5rem + 2.5vw, 3rem); background: rgba(5,3,4,.78); }
  .nav.scrolled .nav-links { gap: 2rem; }
}

/* ---------- light on the edges: a soft rim that follows the cursor around cards and windows ---------- */
.edge-lit { position: relative; }
.edge-lit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; z-index: 6;
  background: radial-gradient(220px circle at var(--ex, -300px) var(--ey, -300px), rgba(228,230,234,.55), rgba(228,230,234,0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s var(--ease); }
.edge-lit:hover::after { opacity: 1; }
.rp-paper.edge-lit::after { background: radial-gradient(220px circle at var(--ex, -300px) var(--ey, -300px), rgba(100,26,41,.35), rgba(100,26,41,0) 70%); }

/* ---------- page to page: a soft cross-fade instead of a jump (browsers that support it) ---------- */
@view-transition { navigation: auto; }
::view-transition-group(root) { animation-duration: .9s; }
::view-transition-old(root) { animation: vt-out .4s cubic-bezier(.4,0,1,1) both; }
::view-transition-new(root) { animation: vt-in .7s cubic-bezier(.22,1,.36,1) .25s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-24px) scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(32px); filter: blur(8px); } }
html { background: #050304; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- first visit only: the AISA mark draws itself, then the page opens ---------- */
.intro-veil { display: none; }
.intro .intro-veil { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--charcoal); transition: opacity .6s cubic-bezier(.22,1,.36,1); }
.intro-done .intro-veil { opacity: 0; pointer-events: none; }
.intro-veil polygon { fill: transparent; stroke-width: 6; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.intro-veil .iv-s { stroke: #C7CCD3; animation: iv-draw .8s cubic-bezier(.65,0,.35,1) .05s forwards, iv-fill-s .35s ease .7s forwards; }
.intro-veil .iv-b { stroke: #B24158; animation: iv-draw .6s cubic-bezier(.65,0,.35,1) .3s forwards, iv-fill-b .35s ease .75s forwards; }
@keyframes iv-draw { to { stroke-dashoffset: 0; } }
@keyframes iv-fill-s { to { fill: #C7CCD3; } } @keyframes iv-fill-b { to { fill: #641A29; } }
.intro-done .intro-veil svg { transform: scale(.92); transition: transform .6s cubic-bezier(.22,1,.36,1); }

/* ---------- Questions: the Ask bar leads, the common questions sit under it in one panel ---------- */
.answers .ask, .answers .faq { grid-column: auto; }
@media (min-width: 60rem) { .answers .qa-panel { grid-column: 2; } }
.qa-panel { display: grid; gap: 0; max-width: 48rem; }
.qa-panel .ask { margin: 0 0 1rem; }
.qa-panel .ask-bar { height: 60px; border-color: rgba(244,242,239,.14); background: rgba(244,242,239,.03); }
.ask-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.ask-chip { padding: .5rem .9rem; border-radius: 999px; border: 1px solid rgba(244,242,239,.1); background: none; color: #A9A7A5; font: inherit; font-size: .8125rem; cursor: pointer;
  transition: color .25s, border-color .25s, background .25s; }
.ask-chip:hover { color: var(--off-white); border-color: rgba(244,242,239,.25); background: rgba(244,242,239,.04); }
.qa-label { margin: 2rem 0 .25rem; font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #7E828A; }   /* 5:1 on the dark background (was 4.2:1) */
.qa-panel .faq + .ask, .faq + .ask { margin-top: 0; }

/* ---------- System Check: three plain promises, and the report runs its check ---------- */
.rp-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 0 0 2rem; padding: 0; }
.rp-points li { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; color: color-mix(in srgb, #2A2627 calc(var(--light, 0) * 100%), #D6D4D1); }
.rp-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: #641A29 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.rp-sum b { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .rp-paper:not(.run) .rp-rows li .rp-st, .js .rp-paper:not(.run) .rp-rows li .rp-fix { opacity: 0; }
.rp-rows li .rp-st, .rp-rows li .rp-fix { transition: opacity .35s var(--ease); transition-delay: calc(var(--i, 0) * .18s); }
.js .rp-paper.run .rp-rows li .rp-fix { transition-delay: calc(var(--i, 0) * .18s + .1s); }
.rp-rows li { position: relative; }
.js .rp-paper.run:not(.done) .rp-rows li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: #641A29; transform-origin: left;
  animation: rp-scan .18s linear calc((var(--i, 0) - 1) * .18s) both; }
@keyframes rp-scan { from { transform: scaleX(0); opacity: 1; } 90% { opacity: 1; } to { transform: scaleX(1); opacity: 0; } }
.js .rp-paper:not(.done) .rp-foot { opacity: 0; transform: translateY(6px); }
.rp-foot { transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; }
@media (prefers-reduced-motion: reduce) { .rp-paper * { transition: none !important; animation: none !important; } }

/* ---------- ⌘K command menu ---------- */
.ck kbd { display: inline-grid; place-items: center; min-width: 1.4rem; height: 1.3rem; padding: 0 .35rem; border-radius: .35rem; border: 1px solid rgba(244,242,239,.12);
  background: rgba(244,242,239,.05); font: 500 .6875rem/1 var(--font-body); color: #A9A6AB; box-shadow: inset 0 -1px 0 rgba(0,0,0,.4); }
.ck { position: fixed; inset: 0; z-index: 200; display: grid; justify-items: center; align-items: start; padding: 14vh 1rem 1rem; }
.ck[hidden] { display: none; }
.ck-scrim { position: absolute; inset: 0; background: rgba(5,3,4,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .18s ease; }
.ck-panel { position: relative; width: min(640px, 100%); border-radius: 1rem; border: 1px solid rgba(244,242,239,.1); overflow: hidden;
  background: rgba(18,14,15,.92); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(244,242,239,.08), 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .18s ease, transform .25s cubic-bezier(.22,1,.36,1); }
.ck.in .ck-scrim { opacity: 1; } .ck.in .ck-panel { opacity: 1; transform: none; }
.ck-head { display: flex; align-items: center; gap: .75rem; padding: 0 1rem; border-bottom: 1px solid rgba(244,242,239,.07); }
.ck-head > svg { width: 18px; height: 18px; color: #8B8F96; flex: none; }
.ck-input { flex: 1; height: 3.5rem; border: 0; outline: 0; background: none; color: var(--off-white); font: 400 1rem/1 var(--font-body); }
.ck-input::placeholder { color: #6B6568; }
.ck-head kbd { cursor: pointer; }
.ck-list { max-height: min(52vh, 420px); overflow-y: auto; padding: .4rem; scrollbar-width: thin; }
.ck-item { display: flex; align-items: center; gap: .75rem; min-height: 44px; padding: 0 .75rem; border-radius: .6rem; color: #CFCCD0; text-decoration: none; font-size: .9375rem; }
.ck-item[hidden] { display: none; }
.ck-item svg { width: 17px; height: 17px; color: #8B8F96; flex: none; }
.ck-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-item b { color: var(--off-white); font-weight: 500; }
.ck-item em { font: 500 .75rem/1 var(--font-body); font-style: normal; color: #6B6568; }
.ck-item.on { background: rgba(244,242,239,.07); color: var(--off-white); }
.ck-item.on svg { color: var(--off-white); }
.ck-item.ck-first { position: relative; margin-top: 1.9rem; }
.ck-item.ck-first::before { content: attr(data-group); position: absolute; left: .75rem; top: -1.45rem; font: 500 .6875rem/1 var(--font-body); letter-spacing: .04em; color: #6B6568; }
.ck-list > .ck-item.ck-first:first-child, .ck-list > .ck-ask + .ck-item.ck-first { }
.ck-list .ck-item.ck-first:is(:first-child) { margin-top: 1.6rem; }
.ck-ask svg { color: #B24158 !important; }
.ck-empty { margin: 0; padding: 1rem .75rem; color: #6B6568; font-size: .875rem; }
.ck-foot { display: flex; gap: 1.25rem; padding: .65rem 1rem; border-top: 1px solid rgba(244,242,239,.07); font-size: .75rem; color: #6B6568; }
.ck-foot span { display: inline-flex; align-items: center; gap: .3rem; }
@media (max-width: 40rem) { .ck { padding-top: 5rem; } .ck-foot { display: none; } }
@media (prefers-reduced-motion: reduce) { .ck-panel, .ck-scrim { transition: none; } }

/* each system gets a small dark-glass tile with its symbol in brushed silver (Raycast-style) */
.mi { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 1.25rem; border-radius: 14px;
  background: linear-gradient(160deg, #242022 0%, #121011 55%, #0B090A 100%); border: 1px solid rgba(244,242,239,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.6), 0 10px 24px -10px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.5); }
.mi::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 70% at 30% 0%, rgba(255,255,255,.10), transparent 60%); }
.mi i { width: 26px; height: 26px; background: linear-gradient(165deg, #FFFFFF 0%, #D9DCE1 30%, #8D9298 55%, #C9CDD3 75%, #F2F3F5 100%);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; filter: drop-shadow(0 1px 0 rgba(0,0,0,.6)); }
.icons-metal .ch-text .mi { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 1.25rem; } .icons-metal .ch-text .mi i { width: 30px; height: 30px; }
.sys-card:hover .mi, .sys-card.on .mi { border-color: rgba(178,65,88,.45); }
.mi-architecture { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMyAxN2EyIDIgMCAwIDEgMiAtMmgyYTIgMiAwIDAgMSAyIDJ2MmEyIDIgMCAwIDEgLTIgMmgtMmEyIDIgMCAwIDEgLTIgLTJ6Ii8+PHBhdGggZD0iTTE1IDE3YTIgMiAwIDAgMSAyIC0yaDJhMiAyIDAgMCAxIDIgMnYyYTIgMiAwIDAgMSAtMiAyaC0yYTIgMiAwIDAgMSAtMiAtMnoiLz48cGF0aCBkPSJNOSA1YTIgMiAwIDAgMSAyIC0yaDJhMiAyIDAgMCAxIDIgMnYyYTIgMiAwIDAgMSAtMiAyaC0yYTIgMiAwIDAgMSAtMiAtMnoiLz48cGF0aCBkPSJNNiAxNXYtMWEyIDIgMCAwIDEgMiAtMmg4YTIgMiAwIDAgMSAyIDJ2MSIvPjxwYXRoIGQ9Ik0xMiA5bDAgMyIvPjwvc3ZnPg=="); }
.mi-automation { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTMgM2wwIDdsNiAwbC04IDExbDAgLTdsLTYgMGw4IC0xMSIvPjwvc3ZnPg=="); }
.mi-pipeline { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNNCA0aDE2djIuMTcyYTIgMiAwIDAgMSAtLjU4NiAxLjQxNGwtNC40MTQgNC40MTR2N2wtNiAydi04LjVsLTQuNDggLTQuOTI4YTIgMiAwIDAgMSAtLjUyIC0xLjM0NXYtMi4yMjd6Ii8+PC9zdmc+"); }
.mi-engine { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMTEgMTJhMSAxIDAgMSAwIDIgMGExIDEgMCAxIDAgLTIgMCIvPjxwYXRoIGQ9Ik03IDEyYTUgNSAwIDEgMCAxMCAwYTUgNSAwIDEgMCAtMTAgMCIvPjxwYXRoIGQ9Ik0zIDEyYTkgOSAwIDEgMCAxOCAwYTkgOSAwIDEgMCAtMTggMCIvPjwvc3ZnPg=="); }
.mi-retention { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNNCAxMnYtM2EzIDMgMCAwIDEgMyAtM2gxM20tMyAtM2wzIDNsLTMgMyIvPjxwYXRoIGQ9Ik0yMCAxMnYzYTMgMyAwIDAgMSAtMyAzaC0xM20zIDNsLTMgLTNsMyAtMyIvPjwvc3ZnPg=="); }
.mi-scale { --m: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMyAxN2w2IC02bDQgNGw4IC04Ii8+PHBhdGggZD0iTTE0IDdsNyAwbDAgNyIvPjwvc3ZnPg=="); }

/* ---------- Where growth leaks: each card can turn over to its fix ---------- */
.lc.has-fix { position: relative; padding-bottom: 3.25rem; }
.lc-toggle { position: absolute; left: 1.5rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0; border: 0; background: none;
  color: #8B8F96; font: 500 .875rem/1 var(--font-body); cursor: pointer; z-index: 3; -webkit-tap-highlight-color: transparent; transition: color .25s var(--ease); }
.lc-toggle:hover, .lc.fixed .lc-toggle { color: var(--off-white); }
.lc-toggle i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(244,242,239,.2); }
.lc-toggle i::before, .lc-toggle i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.lc-toggle i::after { transform: translate(-50%, -50%) rotate(90deg); }
.lc.fixed .lc-toggle i::after { transform: translate(-50%, -50%) rotate(0deg); }
.lc.fixed .lc-toggle i { border-color: rgba(178,65,88,.6); }
.lc-toggle:focus-visible { outline: 2px solid var(--off-white); outline-offset: 4px; border-radius: 6px; }
.lc-fix { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; padding: 1.25rem 1.5rem 3.5rem; border-radius: inherit;
  background: linear-gradient(180deg, #120E0F, #0A0809); opacity: 0; transform: translateY(8px); filter: blur(4px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s var(--ease); }
.lc.fixed .lc-fix { opacity: 1; transform: none; filter: none; }
.lc-fix .lc-stage { margin: .25rem 0 1rem; color: #B24158; }
.lc-sys { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; }
.lc-sys-i { display: inline-flex; align-items: center; gap: .6rem; font: 600 .9375rem/1.2 var(--font-heading); color: var(--off-white); }
.lc-sys .mi { width: 34px; height: 34px; border-radius: 10px; margin: 0; } .lc-sys .mi i { width: 17px; height: 17px; }
.lc-lines { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; gap: .55rem; }
.lc-lines li { position: relative; padding-left: 1.1rem; color: var(--silver); font-size: .9375rem; line-height: 1.45; }
.lc-lines li::before { content: ""; position: absolute; left: 0; top: .7em; width: .5rem; height: 1px; background: #B24158; }
.lc-cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--off-white); font: 500 .9375rem/1 var(--font-body); text-decoration: none; }
.lc-cta svg { width: 1rem; height: 1rem; transition: transform .3s var(--ease); } .lc-cta:hover svg { transform: translateX(3px); }
.lc.fixed .lc-toggle { left: auto; right: 1.5rem; }
@media (prefers-reduced-motion: reduce) { .lc-fix { transition: none; filter: none; transform: none; } }

/* headlines break into balanced lines; paragraphs never leave one word alone on the last line */
h1, h2, h3, .display, .lc-q, .ch-name { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
/* the leak cards get the same faint top edge of light as every other panel */
.lc { box-shadow: inset 0 1px 0 rgba(244,242,239,.05); }

/* ---------- System Check chapter: what you walk away with + how it works (on the white page) ---------- */
.report { --pane: color-mix(in srgb, #FFFFFF calc(var(--light, 0) * 100%), #141011); --pane-edge: color-mix(in srgb, rgba(18,16,17,.08) calc(var(--light, 0) * 100%), rgba(244,242,239,.08));
  --sub: color-mix(in srgb, #5A5552 calc(var(--light, 0) * 100%), #A9A6AB); --faint: color-mix(in srgb, #9A948F calc(var(--light, 0) * 100%), #6B6568); }
.rp-more { margin-top: clamp(5rem, 4rem + 4vw, 8rem); }
.rp-more-h { max-width: 40rem; margin: 0 0 2.5rem; font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.rp-gets { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rp-gets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 75rem) { .rp-gets { grid-template-columns: repeat(4, 1fr); } }
.rp-gets li { display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--pane); border: 1px solid var(--pane-edge);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -28px rgba(40,20,25,.35); }
.rg-vis { height: 132px; margin-bottom: 1.25rem; border-radius: .85rem; padding: .75rem; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: .45rem;
  background: color-mix(in srgb, #F6F4F1 calc(var(--light, 0) * 100%), #0E0B0C); border: 1px solid var(--pane-edge); font-size: 12px; color: var(--sub); }
.rg-map { align-items: center; gap: .55rem; } .rg-map > div { display: flex; align-items: center; gap: .35rem; }
.rg-map span { padding: .35rem .55rem; border-radius: 999px; border: 1px solid var(--pane-edge); background: var(--pane); color: var(--ink); font-weight: 500; }
.rg-map i { width: 10px; height: 1px; background: #B24158; }
.rg-leaks div, .rg-rec div { display: flex; align-items: center; justify-content: space-between; padding: .28rem .55rem; min-height: 30px; border-radius: .5rem; background: var(--pane); border: 1px solid var(--pane-edge); }
.rg-leaks b, .rg-rec b { font-weight: 500; color: var(--ink); }
.rg-leaks .rp-st { font-size: 11px; font-style: normal; } .rg-vis em { font-style: normal; }
.rg-sys { align-items: flex-start; }
.rg-sys { gap: .35rem; } .rg-sys span { padding: .3rem .6rem; border-radius: .5rem; background: var(--pane); border: 1px solid rgba(178,65,88,.35); color: var(--ink); font-weight: 600; }
.rg-sys span::before { content: "✓"; margin-right: .4rem; color: #B24158; font-weight: 700; }
.rg-sys span.dim { opacity: .45; border-color: var(--pane-edge); } .rg-sys span.dim::before { content: "·"; color: var(--faint); }
.rg-rec em { font-style: normal; font-weight: 600; color: #641A29; color: color-mix(in srgb, #641A29 calc(var(--light, 0) * 100%), #D07A8C); }
.rg-rec div:last-child em { color: var(--sub); font-weight: 500; }
.rg-n { font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #CC5F75; }   /* a lighter tint of the burgundy so the small numbers pass contrast on the dark cards */
.rp-gets p { margin: .6rem 0 0; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.rp-how { list-style: none; margin: 2.5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--pane-edge); display: grid; gap: 1rem; }
@media (min-width: 48rem) { .rp-how { grid-template-columns: repeat(3, 1fr); } }
.rp-how li { display: flex; align-items: baseline; gap: .75rem; }
.rp-how span { font: 500 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #CC5F75; }
.rp-how b { font-family: var(--font-heading); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }

/* ---------- Where growth leaks (after 21st.dev Content 16, in the site's own style) ---------- */
.lo { display: none; }
/* the middle: the site's centred moment, like 'Six systems. One machine.' */
/* the cards */
/* phones */

/* leaks, final dress: the process card's own background, no glow line, a slight tilt and a gentle float once landed,
   and the process card's small counter above the headline */
@keyframes lo-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }   /* phones: no float, the cards sit in a column */

/* leaks cards: the two parts of a UI row never touch; the small screen shows two rows, the second arriving after the card lands */
.ui-kv, .ui-dup { gap: .9rem; } .ui-kv > span, .ui-dup > span { min-width: 0; } .ui-kv b, .ui-dup b { text-align: right; }
.ui-row { column-gap: 10px; }

/* ---------- PREVIEW ?leaks=bento: three panels, each a live scene of one leak (after 21st.dev Research Bento Grid) ---------- */
.leaks.bn-on .lc-grid { display: none; }
.bn { display: grid; gap: .75rem; container-type: inline-size; }
@container (min-width: 52rem) { .bn { grid-template-columns: repeat(12, 1fr); grid-template-rows: 21rem 20rem; } .bn-a { grid-column: span 12; } .bn-b { grid-column: span 7; } .bn-c { grid-column: span 5; } }
.bn-p { position: relative; isolation: isolate; overflow: hidden; min-height: 21rem; border-radius: 1.25rem; border: 1px solid rgba(244,242,239,.08); background: #090708;
  box-shadow: inset 0 1px 0 rgba(244,242,239,.04), 0 12px 32px rgba(0,0,0,.22); }
.bn-p::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 0%, rgba(244,242,239,.035), transparent 45%); pointer-events: none; }
.bn-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 20; padding: 0 1.75rem 1.6rem; }
.bn-stage { display: block; margin-bottom: .6rem; font: 500 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: #B24158; }
.bn-copy h3 { max-width: 30rem; margin: 0; font: 600 1.125rem/1.25 var(--font-heading); letter-spacing: -0.02em; color: var(--off-white); text-wrap: balance; }
.bn-copy p { max-width: 24rem; margin: .5rem 0 0; font-size: .875rem; line-height: 1.45; color: #8B8F96; }
/* A: the channels */
.bn-tiles { position: absolute; left: 0; right: 0; top: 0; height: 78%; display: grid; grid-template-columns: repeat(28, 1fr); grid-template-rows: repeat(9, 1fr); gap: 1px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0%, #000 55%, transparent 100%); pointer-events: none; }
.bn-tiles i { border: 1px solid rgba(244,242,239,.018); background: #0C0A0B; } .bn-tiles i.l { background: #110E0F; } .bn-tiles i.b { background: #171314; }
.bn-a::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 76%; background: radial-gradient(ellipse at 50% 18%, transparent 12%, rgba(9,7,8,.15) 58%, #090708 100%); pointer-events: none; z-index: 0; }
.bn-sweep { position: absolute; top: -8%; left: 0; z-index: 1; width: 24%; height: 66%; border-radius: 50%; background: rgba(244,242,239,.022); filter: blur(48px); animation: bn-sweep 16.5s ease-in-out infinite; pointer-events: none; }
@keyframes bn-sweep { 0% { transform: translateX(-120%); } 85%, 100% { transform: translateX(520%); } }
.bn-ch { position: absolute; left: 1.75rem; right: 1.75rem; top: 12%; z-index: 10; max-width: 47rem; margin: 0 auto; display: flex; gap: .6rem; }
.bn-chi { position: relative; flex: 1; aspect-ratio: 1; max-height: 7.5rem; display: grid; place-items: center; border-radius: .7rem; border: 1px solid rgba(244,242,239,.06); color: #CFCCD0;
  background: linear-gradient(145deg, #1F1B1C 0%, #181415 48%, #121011 100%); box-shadow: inset 0 1px 0 rgba(244,242,239,.025), 0 10px 22px rgba(0,0,0,.32);
  transition: transform .6s cubic-bezier(.22,1,.36,1), border-color .4s var(--ease), color .4s var(--ease); animation: bn-bob 5s ease-in-out infinite; }
.bn-chi:nth-child(2) { animation-delay: -1s; } .bn-chi:nth-child(3) { animation-delay: -2s; } .bn-chi:nth-child(4) { animation-delay: -3s; } .bn-chi:nth-child(5) { animation-delay: -4s; }
@keyframes bn-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; } }
.bn-chic { display: grid; place-items: center; width: 42%; aspect-ratio: 1; } .bn-chic svg { width: 100%; height: 100%; }
.bn-chi em { position: absolute; bottom: 9%; font: 500 .68rem/1 var(--font-body); font-style: normal; color: #6B6568; }
.bn-chi.on { transform: translateY(-3px) scale(1.018); border-color: rgba(178,65,88,.4); color: #E8A2B0; }
.bn-chi.on::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: rgba(178,65,88,.14); filter: blur(18px); animation: bn-glow 2.2s ease-in-out infinite; }
@keyframes bn-glow { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: .75; transform: scale(1.08); } }
/* cursors */
.bn-cur { position: absolute; z-index: 30; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; transition: left .7s cubic-bezier(.22,1,.36,1), top .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.16,1,.3,1); }
.bn-cur svg { width: 22px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.bn-cur b { margin: -.15rem 0 0 .9rem; padding: .3rem .75rem; border-radius: 999px; font: 600 .8125rem/1.1 var(--font-body); letter-spacing: -0.02em; white-space: nowrap; }
.bn-lead svg path { fill: #B24158; stroke: #F4F2EF; } .bn-lead b { background: #B24158; color: #fff; box-shadow: 0 5px 18px rgba(0,0,0,.3); }
.bn-lead { left: 20%; top: 40%; }
.bn-you svg path { fill: #0B090A; stroke: #F4F2EF; } .bn-you b { background: #EDEBE8; color: #0B090A; box-shadow: 0 5px 18px rgba(0,0,0,.3); }
.bn-you { animation: bn-float 4.6s ease-in-out infinite; }
@keyframes bn-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -3px; rotate: 1.5deg; } }
.bn-you-a { right: 7%; top: 58%; }
.bn-you-c { left: 58%; top: 52%; }
.bn-you-c.near { transform: translate(-6px, -22px) rotate(-1.5deg); }
/* B: the reports */
.bn-dots { position: absolute; inset: 0; opacity: .05; background-image: radial-gradient(circle, #F4F2EF .65px, transparent .75px); background-size: 11px 11px; pointer-events: none; }
.bn-docs { position: absolute; left: 0; right: 0; top: 0; height: 58%; overflow: hidden; }
@container (min-width: 52rem) { .bn-docs { left: auto; right: 0; top: 0; bottom: 0; height: auto; width: 53%; } .bn-b .bn-copy { right: 50%; padding-right: .75rem; } }
.bn-doc { position: absolute; left: 21%; top: 1.25rem; width: 58%; height: 15rem; padding: 1.1rem 1.15rem; border-radius: .7rem; border: 1px solid rgba(52,46,48,.8);
  background: linear-gradient(145deg, #1D191A 0%, #171314 48%, #110E0F 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.02), 0 16px 36px rgba(0,0,0,.38);
  opacity: 0; transform: translateY(280px) rotate(-1.25deg); transition: transform .72s cubic-bezier(.22,1,.36,1), opacity .72s cubic-bezier(.22,1,.36,1); }
@container (min-width: 52rem) { .bn-doc { left: auto; right: 1.75rem; width: 86%; } }
.bn-doc.on { opacity: 1; transform: none; } .bn-doc.off { opacity: 0; transform: translateY(290px) rotate(1.1deg); }
.bn-doc-k { display: block; font-size: .75rem; color: #8B8F96; }
.bn-doc b { display: block; margin-top: .35rem; font: 500 1.75rem/1.1 var(--font-heading); letter-spacing: -0.04em; color: #A9A6AB; }
.bn-doc.bad b { color: #E07A8F; }
.bn-doc > i { display: block; height: 4px; border-radius: 99px; background: rgba(244,242,239,.07); margin-top: .9rem; width: 42%; } .bn-doc > i + i { margin-top: .55rem; width: 27%; background: rgba(244,242,239,.045); }
.bn-rows { margin-top: 1rem; display: grid; gap: .6rem; } .bn-rows span { height: 10px; border-radius: 3px; background: rgba(244,242,239,.045); animation: bn-pulse 3.5s ease-in-out infinite; }
.bn-rows span:nth-child(1) { width: 62%; } .bn-rows span:nth-child(2) { width: 44%; animation-delay: .28s; } .bn-rows span:nth-child(3) { width: 70%; animation-delay: .56s; } .bn-rows span:nth-child(4) { width: 36%; animation-delay: .84s; }
@keyframes bn-pulse { 0%, 100% { opacity: .35; } 50% { opacity: .62; } }
.bn-doc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; border-radius: 0 0 .7rem .7rem; background: linear-gradient(to bottom, transparent, #110E0F); }
.bn-fog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; height: 48%; background: linear-gradient(to bottom, rgba(9,7,8,0), rgba(9,7,8,.5) 58%, #090708); pointer-events: none; }
/* C: the button */
.bn-rings { position: absolute; left: 0; right: 0; top: 0; height: 66%; display: grid; place-items: center; }
.bn-rings > i { position: absolute; left: 50%; top: 50%; width: calc(190px + var(--r) * 23px); height: calc(100px + var(--r) * 16px); border-radius: calc(23px + var(--r) * 3px);
  border: 1px solid rgba(244,242,239,.04); transform: translate(-50%, -50%); opacity: calc(.72 - var(--r) * .045); animation: bn-ring 5.2s ease-in-out infinite; animation-delay: calc(var(--r) * .11s); }
@keyframes bn-ring { 0%, 100% { transform: translate(-50%, -50%) scale(.995); } 50% { transform: translate(-50%, -50%) scale(1.008); } }
.bn-btn { position: relative; z-index: 10; display: grid; place-items: center; height: 78px; min-width: 190px; padding: 0 2rem; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(244,242,239,.14); background: linear-gradient(135deg, #191516, #0E0B0C); color: var(--off-white); font: 600 1.5rem/1 var(--font-heading); letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(244,242,239,.035), 0 10px 30px rgba(0,0,0,.32); transition: border-color .6s var(--ease), transform .6s cubic-bezier(.22,1,.36,1); }
.bn-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, #8E2A3E, #641A29); opacity: 0; transition: opacity .76s cubic-bezier(.22,1,.36,1); }
.bn-btn span { position: relative; }
.bn-btn.lit { border-color: #B24158; transform: scale(1.012); } .bn-btn.lit::before { opacity: 1; transition-duration: .64s; }
.bn-still .bn-sweep, .bn-still .bn-chi, .bn-still .bn-you, .bn-still .bn-rings > i, .bn-still .bn-rows span { animation: none; }
.bn-still .bn-doc.bad { opacity: 1; transform: none; }
/* bento on phones: channel names below smaller icons, the 'You' cursor clear of the words */
@container (max-width: 51.99rem) {
  .bn-a { min-height: 25rem; }
  .bn-ch { gap: .4rem; top: 9%; left: 1rem; right: 1rem; }
  .bn-chic { width: 34%; margin-bottom: 14%; }
  .bn-chi em { font-size: .6rem; bottom: 8%; }
  .bn-you-a { right: 5%; top: 37%; }
  .bn-you-a b { font-size: .72rem; }
  .bn-copy { padding: 0 1.25rem 1.3rem; }
  .bn-b, .bn-c { min-height: 23rem; }
}

/* bento with all six leaks: row 1 Response 7 + Marketing 5, row 2 Inbox wide, row 3 Tools / The owner / Retention */
@container (min-width: 52rem) {
  .bn6 { grid-template-rows: 20rem 21rem 20rem; }
  .bn6 .bn-resp { grid-column: span 7; } .bn6 .bn-b { grid-column: span 5; } .bn6 .bn-a { grid-column: span 12; }
  .bn6 .bn-tools, .bn6 .bn-c, .bn6 .bn-ret { grid-column: span 4; }
  .bn6 .bn-b .bn-copy { right: 0; padding-right: 1.75rem; }
  .bn6 .bn-b .bn-docs { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 60%; }
  .bn6 .bn-b .bn-doc { left: 50%; right: auto; width: 70%; margin-left: -35%; height: 13rem; }
}
.bn-p { min-height: 20rem; }
/* Response: the timeline */
.bn-tl { position: absolute; left: 1.75rem; right: 1.75rem; top: 1.5rem; display: grid; gap: .9rem; font-size: 12.5px; }
.bn-ev { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 10px; background: #141113; border: 1px solid rgba(244,242,239,.08); }
.bn-ev2 { opacity: 0; transform: translateY(8px); }
.bn-resp.go .bn-ev2 { animation: bn-in .6s cubic-bezier(.22,1,.36,1) 4.3s forwards; }
@keyframes bn-in { to { opacity: 1; transform: none; } }
.bn-track { position: relative; display: flex; justify-content: space-between; padding: 0 .25rem; height: 1.6rem; align-items: flex-end; font: 500 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #6B6568; }
.bn-track::before { content: ""; position: absolute; left: 0; right: 0; top: .35rem; height: 1px; background: rgba(244,242,239,.1); }
.bn-fill { position: absolute; left: 0; right: 0; top: .35rem; height: 1px; background: linear-gradient(90deg, #6A2232, #B24158); transform: scaleX(0); transform-origin: left; }
.bn-resp.go .bn-fill { animation: bn-fill 4.2s cubic-bezier(.45,0,.55,1) forwards; }
@keyframes bn-fill { to { transform: scaleX(1); } }
.bn-resp .ui-pill.bad { animation: lc-pulse 2.6s ease-in-out infinite; }
/* Tools: three apps, no links */
.bn-apps { position: absolute; left: 1.5rem; right: 1.5rem; top: 1.75rem; display: grid; gap: .45rem; font-size: 12.5px; }
.bn-app { display: flex; justify-content: space-between; gap: .9rem; padding: 9px 11px; border-radius: 9px; background: #141113; border: 1px dashed rgba(244,242,239,.14); color: #8B8F96; }
.bn-app b { font-weight: 500; color: #C9CCD1; }
.bn-app:nth-of-type(2) { margin-left: 12px; } .bn-app:nth-of-type(3) { margin-left: 24px; }
.bn-gap { position: relative; display: block; height: 10px; margin-left: 2.25rem; width: 1px; border-left: 1px dashed rgba(244,242,239,.14); }
.bn-gap::after { content: "×"; position: absolute; left: .4rem; top: -.45rem; font-size: .8rem; color: #B24158; animation: bn-pulse 2.4s ease-in-out infinite; }
/* Retention: the months */
.bn-months { position: absolute; left: 1.5rem; right: 1.5rem; top: 2.25rem; display: grid; grid-template-columns: repeat(8, 1fr); gap: .35rem; }
.bn-m { display: grid; justify-items: center; gap: .45rem; }
.bn-m i { width: 100%; aspect-ratio: 1; max-width: 2.1rem; border-radius: .5rem; border: 1px solid rgba(244,242,239,.08); background: #120F10; }
.bn-m em { font: 500 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; font-style: normal; letter-spacing: .06em; color: #6B6568; }
.bn-m.won i { background: rgba(244,242,239,.85); border-color: transparent; }
.bn-ret.go .bn-m:not(.won) i { animation: bn-empty .5s var(--ease) forwards; animation-delay: calc(var(--k) * .45s); }
@keyframes bn-empty { 0% { border-color: rgba(244,242,239,.08); } 40% { border-color: rgba(178,65,88,.6); } 100% { border-color: rgba(244,242,239,.12); background: #0E0B0C; } }
.bn-ret-tags { position: absolute; left: 1.5rem; right: 1.5rem; top: 6.6rem; display: flex; justify-content: space-between; font-size: 11px; }
.bn-ret-tags .bad { opacity: 0; }
.bn-ret.go .bn-ret-tags .bad { animation: bn-in .5s var(--ease) 3.4s forwards; }
.bn-still .bn-ev2, .bn-still .bn-ret-tags .bad { opacity: 1; transform: none; } .bn-still .bn-fill { transform: scaleX(1); }
@container (max-width: 51.99rem) { .bn-resp, .bn-tools, .bn-ret { min-height: 21rem; } }
/* six-panel bento: rows tall enough that every scene sits clear of its words */
@container (min-width: 52rem) { .bn6 { grid-template-rows: 23.5rem 21rem 24rem; } }
.bn-tl { top: 1.25rem; gap: .6rem; }
.bn-track { height: 1.35rem; }
.bn-apps { top: 1.4rem; gap: 0; }
.bn-gap { height: 12px; margin-top: 2px; margin-bottom: 2px; }
.bn-app { padding: 8px 11px; }
.bn-resp, .bn-tools { min-height: 23.5rem; }
@container (max-width: 51.99rem) { .bn-resp, .bn-tools, .bn-ret { min-height: 24rem; } }

/* ---------- PREVIEW ?amb=silver: true black with soft silver light instead of the burgundy haze; burgundy stays an accent ---------- */
.amb-silver body { background: #050505; }
.amb-silver :is(.ambient, .film-bg) .ray-1 { background: linear-gradient(105deg, transparent 35%, rgba(214,218,224,.022) 45%, rgba(214,218,224,.04) 50%, rgba(214,218,224,.022) 55%, transparent 65%); }
.amb-silver :is(.ambient, .film-bg) .ray-2 { background: linear-gradient(112deg, transparent 38%, rgba(214,218,224,.015) 46%, rgba(214,218,224,.028) 50%, rgba(214,218,224,.015) 54%, transparent 62%); }
.amb-silver :is(.ambient, .film-bg) .ray-3 { background: linear-gradient(98deg, transparent 40%, rgba(214,218,224,.01) 47%, rgba(214,218,224,.02) 50%, rgba(214,218,224,.01) 53%, transparent 60%); }
.amb-silver :is(.ambient, .film-bg) .glow { background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(214,218,224,.03) 0%, transparent 70%); }
.amb-silver :is(.ambient, .film-bg) .vignette { background: radial-gradient(ellipse 95% 85% at 50% 50%, transparent 45%, rgba(0,0,0,.4) 100%); }
/* the spotlight (after Aceternity Spotlight): one large soft beam angled in from the top left. Drawn as a soft gradient
   (no blur filter: Safari re-renders a blurred layer of this size every frame while scrolling and dropped to ~16fps) */
.amb-silver .ambient::before { content: ""; position: absolute; left: -14vw; top: -34vh; width: 100vw; height: 40vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,234,238,.085), rgba(232,234,238,.05) 35%, rgba(232,234,238,.018) 65%, transparent);
  transform: rotate(32deg); transform-origin: 0 0; will-change: opacity; animation: amb-spot 2s cubic-bezier(.22,1,.36,1) .6s both; }
@keyframes amb-spot { from { opacity: 0; } to { opacity: 1; } }
.amb-silver .ambient::after { content: ""; position: absolute; right: -22vw; top: -38vh; width: 76vw; height: 30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232,234,238,.04), rgba(232,234,238,.015) 55%, transparent); transform: rotate(-28deg); transform-origin: 100% 0; }
@media (prefers-reduced-motion: reduce) { .amb-silver .ambient::before { animation: none; } }

/* PREVIEW ?pills (as dialedweb.com builds them): a capsule lit from inside (no border: a 1px inner hairline and a soft
   inner glow), a small line icon, regular-weight type; each one fades and rises into view */
.pill { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1.4rem; padding: .3rem .8rem .3rem .62rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.075), inset 0 0 14.4px rgba(255,255,255,.2); background: rgba(255,255,255,.012);
  font: 400 .9375rem/1.25 var(--font-body); letter-spacing: -0.005em; color: #EDEBE8; white-space: nowrap; }
.pill svg { width: 1rem; height: 1rem; flex: none; color: #CFCCD0; }
.pill-rise { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1), filter .8s cubic-bezier(.22,1,.36,1); }
.pill-rise.in { opacity: 1; transform: none; filter: none; }
.report .pill { color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, rgba(18,16,17,.12) calc(var(--light, 0) * 100%), rgba(255,255,255,.075)), inset 0 0 14.4px color-mix(in srgb, rgba(18,16,17,.06) calc(var(--light, 0) * 100%), rgba(255,255,255,.2));
  background: color-mix(in srgb, rgba(255,255,255,.55) calc(var(--light, 0) * 100%), rgba(255,255,255,.012)); }
.report .pill svg { color: currentColor; }
.pills .screen-head, .pills .closing .inner { display: flex; flex-direction: column; align-items: center; }
.pills .lc-head > .pill, .pills .answers-head > .pill { align-self: start; }
.pills .lc-head > .pill, .pills .answers-head > .pill { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }

/* silver background, smoother: no pulsing rays (they read as moving bands on black); the spotlight and the soft top light
   stay, and a very fine dither over the light breaks up the 8-bit steps that make dark gradients look banded */
.amb-silver :is(.ambient, .film-bg) .ray { display: none; }
.amb-silver .ambient .vignette::after { content: ""; position: absolute; inset: 0; opacity: .045; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px 160px; }
.amb-silver .ambient::before { background: radial-gradient(closest-side, rgba(232,234,238,.08), rgba(232,234,238,.062) 18%, rgba(232,234,238,.042) 36%, rgba(232,234,238,.024) 55%, rgba(232,234,238,.01) 74%, transparent); }

/* headings rise word by word with the scroll (site.js sets each word's opacity and lift); the older timed blur steps aside */
.dw .word-in { display: inline-block; filter: none !important; will-change: transform, opacity; }
.dw p .word-in:not([style*="transition"]) { transition: none !important; }

/* the painted (dithered) silver background replaces the CSS light layers, which banded */
.amb-paint { position: absolute; inset: 0; width: 100%; height: 100%; }
.amb-painted .ambient::before, .amb-painted .ambient::after, .amb-painted .ambient .glow, .amb-painted .ambient .vignette { display: none !important; }

/* scroll reveals (Dialed): words in paragraphs light up in turn; pills, buttons and panels fade in with the scroll */
.dw main p .word-in { transform: none !important; will-change: opacity; }
.sr-fade:not([style*="transition"]) { transition-property: transform, border-color, box-shadow, background, color, filter !important; }

/* headings, as trygtm.com does them: each word in its own mask, sliding up out of it once, on a clock */
.kin .kl { display: inline-block; clip-path: inset(-0.15em -0.14em -0.26em); vertical-align: baseline; }
.kin .word-in { display: inline-block; opacity: 0; transform: translateY(130%); filter: none !important;
  /* trygtm.com timing, measured frame by frame: each word rises and fades on one curve (ease-out-quart),
     0.7s, words 50ms apart, after a short beat once the heading is in view */
  transition: transform .7s cubic-bezier(.25,1,.5,1) calc(var(--d, 0s) + .12s), opacity .7s cubic-bezier(.25,1,.5,1) calc(var(--d, 0s) + .12s) !important; }
.kin.in .word-in { opacity: 1; transform: none; }
.kin:not(.in) .word-in { opacity: 0 !important; transform: translateY(130%) !important; }
/* the FAQ heading stays still (owner): no longer sticks in place while the questions scroll */
.answers .answers-head { position: static !important; }

/* the process title's word masks take their word's colour (the title's own rule greys every span inside it) */
.process-title .kl { display: inline-block; color: inherit; -webkit-text-fill-color: inherit; }
.process-title .word-in { display: inline-block; color: inherit; -webkit-text-fill-color: inherit; }

/* cards with a soft top light: a fine, invisible dither over the light stops it stepping into rings (banding) */
:root { --dither: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='128' height='128'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='128' height='128' filter='url(%23n)'/%3E%3C/svg%3E"); }
.chapters .ch-visual, .chapters .ch-visual-plain .engine, .process-split .engine {
  background: var(--dither) 0 0 / 128px 128px, radial-gradient(90% 70% at 50% 0%, rgba(244,242,239,.035), transparent 70%), linear-gradient(180deg, #110D0E, #080607); }
.bn-p { background: var(--dither) 0 0 / 128px 128px, #090708; }

/* lit cards painted into a dithered canvas behind their content (no banding) */
.card-painted { isolation: isolate; background: #090708 !important; }
.card-painted::before { display: none !important; }
.card-paint { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; border-radius: inherit; pointer-events: none; }
.ch-visual-plain .engine.card-painted, .chapters .ch-visual.card-painted, .process-split .engine.card-painted { position: relative; }

/* ---------- System Check booking calendar (2026-10-19, v2: month view) ---------- */
/* While booking, the page gives the panel its full width: info | month | times. */
.check-page.is-booking .check-grid { grid-template-columns: minmax(0, 1fr); }
.check-page.is-booking .check-intro { display: none; }
.check-page.is-booking .check-panel { width: 100%; max-width: 68rem; margin-inline: auto; padding: 0; overflow: hidden; }
.check-page.is-booking .check-panel.has-done { max-width: 40rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }

.book { display: grid; outline: none; animation: bk-in .7s var(--ease) both; }
.book[hidden], .book-done[hidden] { display: none; }
@keyframes bk-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.bk-info, .bk-cal, .bk-slots { padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.bk-info { display: grid; align-content: start; gap: 1.125rem; }
.bk-cal { border-top: 1px solid rgba(244,242,239,.07); }
.bk-slots { border-top: 1px solid rgba(244,242,239,.07); display: grid; align-content: start; gap: 1rem; min-width: 0; }
@media (min-width: 46rem) {
  .book { grid-template-columns: minmax(0, 1fr) minmax(0, 16.5rem); }
  .bk-info { grid-column: 1 / -1; }
  .bk-slots { border-left: 1px solid rgba(244,242,239,.07); }
}
@media (min-width: 64rem) {
  .book { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) minmax(0, 17.5rem); }
  .bk-info { grid-column: auto; }
  .bk-cal { border-top: 0; border-left: 1px solid rgba(244,242,239,.07); }
  .bk-slots { border-top: 0; }
}

.book-kicker { margin: 0; font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #B24158; }
.book-kicker[hidden] { display: none; }
.bk-title { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.5rem, 1.25rem + .9vw, 1.875rem); letter-spacing: -0.02em; line-height: 1.12; text-wrap: balance; }
.bk-meta { list-style: none; margin: .25rem 0 0; padding: 0; display: grid; gap: .75rem; }
.bk-meta li { display: flex; align-items: center; gap: .75rem; color: var(--off-white); font-size: .9375rem; font-weight: 500; }
.bk-meta svg { flex: none; width: 1.125rem; height: 1.125rem; fill: none; stroke: var(--silver); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.bk-desc { margin: 0; color: var(--silver); font-size: .9375rem; line-height: 1.6; }
.book-later { margin: 0; padding-top: 1.125rem; border-top: 1px solid rgba(244,242,239,.07); font-size: .8125rem; color: #8B8F96; line-height: 1.55; }

/* month */
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.bk-month { margin: 0; font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; letter-spacing: -0.01em; }
.bk-month span { color: #8B8F96; font-weight: 700; }
.bk-nav { display: flex; gap: .375rem; }
.bk-arrow { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 999px; cursor: pointer; color: var(--off-white);
  border: 1px solid rgba(244,242,239,.1); background: rgba(244,242,239,.03); transition: background-color .25s var(--ease), border-color .25s var(--ease), opacity .25s; }
.bk-arrow:hover:not(:disabled) { background: rgba(244,242,239,.08); border-color: rgba(244,242,239,.2); }
.bk-arrow:disabled { opacity: .25; cursor: default; }
.bk-arrow svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bk-wk, .bk-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .375rem; }
.bk-wk { margin-bottom: .5rem; }
.bk-wk span { text-align: center; font-size: .6875rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8B8F96; }
.bk-grid.is-turning { animation: bk-turn .45s var(--ease) both; }
@keyframes bk-turn { from { opacity: 0; transform: translateX(var(--turn, 10px)); } to { opacity: 1; transform: none; } }
.bk-d { position: relative; aspect-ratio: 1; min-height: 44px; display: grid; place-items: center; border-radius: .75rem; border: 1px solid transparent;
  font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: #4E4A4C; background: none; padding: 0; }
.bk-d.is-blank { visibility: hidden; }
button.bk-d { cursor: pointer; color: var(--off-white); background: rgba(244,242,239,.055); border-color: rgba(244,242,239,.06);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
button.bk-d:hover { background: rgba(244,242,239,.1); border-color: rgba(244,242,239,.22); }
button.bk-d:active { transform: scale(.96); }
button.bk-d[aria-pressed="true"] { background: var(--off-white); border-color: var(--off-white); color: #0C0809; box-shadow: 0 8px 24px -10px rgba(244,242,239,.45); }
.bk-d.is-today::after { content: ""; position: absolute; bottom: 18%; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; opacity: .7; }
.bk-d:focus-visible, .bk-time:focus-visible, .bk-confirm:focus-visible { outline: 2px solid var(--off-white); outline-offset: 2px; }

/* times */
.bk-dayname { margin: 0; min-height: 2.5rem; display: flex; align-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 1.0625rem; }
.bk-dayname span { margin-left: .4em; color: #8B8F96; }
.bk-list { display: grid; gap: .5rem; align-content: start; }
@media (min-width: 46rem) {
  .bk-list { max-height: 24.5rem; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; padding: 2px 2px 2.5rem; margin: -2px;
    mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent); -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 3rem), transparent); }
  .bk-list::-webkit-scrollbar { display: none; }
}
@media (max-width: 45.99rem) { .bk-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bk-list .bk-slot.is-picked { grid-column: 1 / -1; } }
.bk-slot { display: grid; grid-template-columns: 1fr 0fr; gap: 0; transition: grid-template-columns .45s var(--ease), gap .45s var(--ease); animation: bk-rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 22ms); }
@keyframes bk-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bk-slot.is-picked { grid-template-columns: 1fr 1fr; gap: .5rem; }
.bk-time, .bk-confirm { min-width: 0; min-height: 3rem; border-radius: .75rem; font-size: .9375rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; cursor: pointer; }
.bk-time { color: var(--off-white); background: #0A0708; border: 1px solid rgba(244,242,239,.12); transition: border-color .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.bk-time:hover { border-color: rgba(244,242,239,.4); }
.bk-slot.is-picked .bk-time { background: rgba(244,242,239,.06); border-color: rgba(244,242,239,.16); color: var(--silver); }
.bk-confirm { overflow: hidden; padding: 0; border: 0; color: #0C0809; background: var(--off-white); opacity: 0; transition: opacity .3s var(--ease), filter .2s; }
.bk-slot.is-picked .bk-confirm { opacity: 1; }
.bk-confirm:hover { filter: brightness(.92); }
.bk-confirm[aria-busy="true"] { cursor: progress; color: transparent; background-image: radial-gradient(circle, #0C0809 2px, transparent 2.5px); background-size: 12px 12px; background-repeat: no-repeat; background-position: center; animation: bk-busy 1s linear infinite; }
@keyframes bk-busy { 50% { opacity: .55; } }
.book-note { grid-column: 1 / -1; margin: 0; padding: 1rem 0; color: var(--silver); font-size: .9375rem; line-height: 1.55; }
.bk-error { grid-column: 1 / -1; margin: 0 clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem) clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }

/* booked */
.book-done { text-align: center; outline: none; animation: bk-in .7s var(--ease) both; }
.book-done h2 { margin: 0; font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -0.02em; }
.bk-summary { margin: 1.75rem 0 0; display: grid; text-align: left; border: 1px solid rgba(244,242,239,.08); border-radius: 1rem; background: rgba(244,242,239,.025); }
.bk-summary div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding: 1rem 1.25rem; }
.bk-summary div + div { border-top: 1px solid rgba(244,242,239,.07); }
.bk-summary dt { color: #8B8F96; font-size: .875rem; }
.bk-summary dd { margin: 0; color: var(--off-white); font-size: .9375rem; line-height: 1.5; }
.bk-done-note { margin: 1.25rem auto 0; max-width: 28rem; color: var(--silver); font-size: .9375rem; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .book, .book-done, .bk-slot, .bk-grid.is-turning { animation: none; }
  .bk-slot { transition: none; }
}
@media (max-width: 45.99rem) {
  .bk-info { gap: .875rem; }
  .bk-desc { display: none; }
  .bk-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
  .bk-meta li { font-size: .875rem; gap: .5rem; }
  .book-later { padding-top: .875rem; }
}
.bk-current { margin: -.25rem 0 0; padding: .625rem .875rem; border-radius: .75rem; border: 1px solid rgba(244,242,239,.08); background: rgba(244,242,239,.03); color: var(--silver); font-size: .875rem; line-height: 1.5; }
.bk-current[hidden] { display: none; }
.bk-change { margin-top: 1.25rem; min-height: 44px; padding: .625rem 1.25rem; border-radius: 999px; cursor: pointer; color: var(--off-white); font-size: .9375rem; font-weight: 500;
  border: 1px solid rgba(244,242,239,.14); background: rgba(244,242,239,.03); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.bk-change:hover { background: rgba(244,242,239,.08); border-color: rgba(244,242,239,.28); }
.bk-change[hidden] { display: none; }
.book-done h2 { line-height: 1.12; text-wrap: balance; max-width: 30rem; margin-inline: auto; }
.book.is-changing .book-later { display: none; }

/* booking v3: round dates, every time visible (grouped), no inner scroll */
.bk-d { width: 100%; max-width: 3.5rem; justify-self: center; border-radius: 50%; }
button.bk-d { border-color: rgba(244,242,239,.07); }
.bk-grid { row-gap: .5rem; }
.bk-list { display: grid; gap: 1.25rem; }
@media (min-width: 46rem) { .bk-list { max-height: none; overflow: visible; mask-image: none; -webkit-mask-image: none; padding: 0; margin: 0; } }
@media (max-width: 45.99rem) { .bk-list { grid-template-columns: none; } }
.bk-group { display: grid; gap: .625rem; }
.bk-group-h { margin: 0; display: flex; align-items: center; gap: .75rem; font-size: .6875rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #8B8F96; }
.bk-group-h::after { content: ""; flex: 1; height: 1px; background: rgba(244,242,239,.07); }
.bk-group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (max-width: 45.99rem) { .bk-group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bk-group-grid .bk-slot.is-picked { grid-column: 1 / -1; }
.bk-time, .bk-confirm { min-height: 2.875rem; }
/* time zone picker: reads as the third detail line, opens the native menu */
.bk-tz { position: relative; display: inline-flex; align-items: center; min-width: 0; max-width: 100%; margin: -.375rem -.5rem; border-radius: .625rem; transition: background-color .2s var(--ease); }
.bk-tz:hover { background: rgba(244,242,239,.05); }
.bk-tz select { appearance: none; -webkit-appearance: none; min-width: 0; max-width: 100%; min-height: 2.25rem; padding: .375rem 1.875rem .375rem .5rem; border: 0; border-radius: inherit; background: none;
  color: var(--off-white); font: inherit; font-size: .9375rem; font-weight: 500; text-overflow: ellipsis; cursor: pointer; }
.bk-tz select:focus-visible { outline: 2px solid var(--off-white); outline-offset: 1px; }
.bk-tz select option { background: #0F0B0C; color: var(--off-white); }
.bk-tz-chev { position: absolute; right: .5rem; width: 1rem !important; height: 1rem !important; pointer-events: none; stroke: var(--silver) !important; }
@media (max-width: 45.99rem) { .bk-tz select { font-size: 1rem; } }  /* 16px stops iPhone zooming in on tap */
.bk-done-actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; margin-top: 1.75rem; }
.bk-done-actions .bk-change { margin-top: 0; }
.bk-next { padding: .875rem 1.5rem; }
/* one heading motion everywhere: the closing section no longer slides its heading and paragraph as a block
   (they rise word by word / sweep like every other section); its button keeps the shared panel fade */
.closing.cl-enter .inner > h2, .closing.cl-enter .inner > p { opacity: 1; transform: none; transition: none; }

/* ---------- home page opening (2026-10-20) ---------- */
/* headline: the shared word rise, a little slower, with the silver gradient kept on each word */
.film-copy h1.kin .word-in { background: linear-gradient(180deg, var(--off-white) 0%, var(--silver) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: transform .9s cubic-bezier(.25,1,.5,1) calc(var(--d, 0s) + .25s), opacity .9s cubic-bezier(.25,1,.5,1) calc(var(--d, 0s) + .25s) !important; }
.film-copy h1.kin .tone .word-in { background: none; -webkit-text-fill-color: #8E8D93; }
.hero-intro .film-copy .bar { transition-delay: .75s; }
.hero-intro .bgx-liquid canvas { opacity: 0; scale: .94; translate: 0 24px;
  transition: opacity 1.6s cubic-bezier(.22,1,.36,1) .1s, scale 1.8s cubic-bezier(.22,1,.36,1) .1s, translate 1.8s cubic-bezier(.22,1,.36,1) .1s; }
.hero-intro .hero-cta { opacity: 0; translate: 0 14px; transition: opacity .9s cubic-bezier(.22,1,.36,1) 1.05s, translate .9s cubic-bezier(.22,1,.36,1) 1.05s; }
.hero-intro .nav { opacity: 0; translate: 0 -10px; transition: opacity .9s cubic-bezier(.22,1,.36,1) .9s, translate .9s cubic-bezier(.22,1,.36,1) .9s,
  top .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1), max-width .55s cubic-bezier(.22,1,.36,1) !important; }   /* keeps the pill-to-bar widen smooth during the opening */
.hero-intro .hero-cue svg { opacity: 0; transition: opacity 1s ease 1.6s; }
.hero-intro.hero-go .bgx-liquid canvas, .hero-intro.hero-go .hero-cta, .hero-intro.hero-go .nav, .hero-intro.hero-go .hero-cue svg { opacity: 1; scale: 1; translate: 0 0; }
.hero-intro #hero-title:not(.kin) { opacity: 0; }   /* hidden only until its words are split and ready to rise */
/* Safari balances a heading on its first layout pass, before the word spans settle, and can wrap a one-line
   heading onto two lines, then snap back a moment later. So balancing switches on one frame after the
   words are split (they are still hidden then), and Safari works the lines out once, correctly. */
.kin { text-wrap: wrap !important; }
.kin.kin-bal { text-wrap: balance !important; }
.grain { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; background-size: 128px 128px; background-repeat: repeat; }
/* the explosion: the smooth blob hands over to the particles on the script's own 0.14s crossfade. The 1.6s
   entrance fade on the blob was stretching that hand-over, leaving a ghost of the original shape under the particles. */
.blob-burst.hero-blob.bg-liquid-object .bgx-liquid.on { transition: none; }
/* build-with cards: the sentence and title keep their open-card width while the card widens (no re-wrapping) */
.st-card p { width: var(--st-pw, auto); max-width: none; flex: none; }
.st-card.on .st-card-t { width: var(--st-pw, auto); }
/* section jumps: arriving at a #section shows the page once it is in place; long same-page jumps are a soft cut */
.hash-arrive main, .hash-arrive .footer { opacity: 0; }
.hash-fading main, .hash-fading .footer { transition: opacity .35s cubic-bezier(.25,1,.5,1); }
.jump-cut { position: fixed; inset: 0; z-index: 45; pointer-events: none; background: var(--charcoal); opacity: 0; transition: opacity .3s cubic-bezier(.25,1,.5,1); }
.jump-cut.on { opacity: 1; transition-duration: .16s; }
@media (prefers-reduced-motion: reduce) { .jump-cut { display: none; } }
/* the summary counts up as each row is checked (it used to sit empty until the end) */
.rp-sum b { font-variant-numeric: tabular-nums; }
/* outcome lines (owner, 2026-10-20): under "Six systems. One machine." and under the closing heading */
.screen-head .sys-outcome { margin: 1.25rem auto 0; max-width: 44rem; text-wrap: balance; }
/* the slogan under the hero's "Six systems. One machine." (the copy desktop shows); it focuses with the title */
.film-end { flex-direction: column; }
.film-end-sub { margin: -.1em 0 0; padding: 0 1.5rem; max-width: 44rem; color: var(--silver); font-size: clamp(1rem, .9rem + .4vw, 1.125rem); line-height: 1.625; text-shadow: 0 0 24px rgba(5,3,4,.9); }
.film-end-sub span { opacity: calc(.08 + .92 * clamp(0, (var(--sub-p, 1) - var(--i) * .1) / .4, 1)); }
/* the Ask bar shows where the keyboard is: its edge lights when the question box has focus */
.ask-bar:focus-within { border-color: rgba(244,242,239,.42); box-shadow: 0 0 0 4px rgba(178,65,88,.16); }
.ask-bar input:focus { outline: none; }
