/* AINT — Artificial Intelligence aNd Next Technologies
   Visual system: chrome type on a void-black stage; blue only ever appears as light.
   Written fresh for this site (Nov 2026). */

@view-transition { navigation: auto; }

:root {
  --void: #05070d;
  --deck: #0a0f1c;
  --deck-hi: #10182c;
  --seam: #1b2640;
  --seam-hi: #2a3a60;
  --ice: #dde6f5;
  --haze: #8d99b1;
  --signal: #2f7bff;
  --signal-deep: #0b3dff;
  --glow: #66acff;
  --ok: #4fd1a5;
  --chrome: linear-gradient(180deg, #ffffff 0%, #e2e8f2 32%, #8f9bb2 52%, #f0f4fa 70%, #b5c0d2 100%);
  --chrome-soft: linear-gradient(178deg, #f4f7fb 0%, #c8d1df 55%, #eef2f8 100%);

  --f-display: "Syne", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --gut: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gut-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
  --max: 1320px;
  --r-s: 10px;
  --r-m: 16px;
  --r-l: 26px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dock-h: 58px;

  --t-hero: clamp(46px, 8.4vw, 132px);
  --t-1: clamp(38px, 5.6vw, 84px);
  --t-2: clamp(30px, 3.9vw, 56px);
  --t-3: clamp(22px, 2.2vw, 30px);
  --t-lede: clamp(17px, 1.35vw, 20px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--void); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--void); color: var(--ice);
  font: 400 16px/1.62 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-bottom: calc(var(--dock-h) + 40px + env(safe-area-inset-bottom, 0px));
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(47, 123, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
.t-hero { font-size: var(--t-hero); font-weight: 800; letter-spacing: -.045em; line-height: .94; }
.t-1 { font-size: var(--t-1); font-weight: 750; letter-spacing: -.04em; }
.t-2 { font-size: var(--t-2); letter-spacing: -.03em; }
.t-3 { font-size: var(--t-3); letter-spacing: -.015em; line-height: 1.12; }
.lede { font-size: var(--t-lede); color: var(--haze); max-width: 58ch; line-height: 1.55; text-wrap: pretty; }
/* Padding widens the painted area so descenders (j, g, y, p) keep their chrome; inline padding doesn't move the text. */
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding-block: .04em .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Syne's heavy j has no tail and reads as an i, so the hero draws its own j.
   Dot and stem are Syne 800's own geometry (measured: dot .055–.310em × .600–.748em, stem .063–.302em),
   plus a squared hook in Syne's .147em horizontal stroke weight, like its g.
   The fill repeats the line's chrome gradient: each line box runs .9716em above to .4925em below the baseline. */
.j-glyph {
  display: inline-block; position: relative; width: .494em; height: .995em;
  margin: 0 -.045em 0 -.13em; vertical-align: -.215em;
  background: var(--chrome) 0 -.1916em / 100% 1.4641em no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 494 995'%3E%3Cpath d='M185 32H440V180H185Z'/%3E%3Cpath d='M193 290H432V800C432 905 352 995 230 995H10V848H160C182 848 193 836 193 815Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 494 995'%3E%3Cpath d='M185 32H440V180H185Z'/%3E%3Cpath d='M193 290H432V800C432 905 352 995 230 995H10V848H160C182 848 193 836 193 815Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}
/* The real "j" stays in the text at zero size, so copy-paste and screen readers get "just". */
.j-txt { font-size: 0; }
.nowrap { white-space: nowrap; }
.word { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--ice); }
.word.lit { color: var(--glow); text-shadow: 0 0 28px rgba(47, 123, 255, .55); }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 14px/1 var(--f-body); color: var(--haze); letter-spacing: .01em;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 12px 2px rgba(102, 172, 255, .75); flex: none; }
.fine { font-size: 13.5px; color: var(--haze); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- Frame ---------- */
.frame { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.band { position: relative; padding-block: clamp(80px, 12vw, 168px); }
.band--tight { padding-block: clamp(56px, 7vw, 96px); }
.stack { display: grid; gap: 22px; align-content: start; }
.stack--l { gap: 34px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }

/* The WebGL stage sits behind everything on pages that use it. */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { width: 100%; height: 100%; }
.stage__still { position: absolute; inset: 0; display: grid; place-items: center end; padding-right: max(7vw, 40px); transition: opacity .9s var(--ease); }
.stage__still svg { width: min(36vmin, 340px); filter: drop-shadow(0 0 40px rgba(47, 123, 255, .45)); }
@media (max-width: 900px) { .stage__still { place-items: start center; padding: 9vh 0 0; } .stage__still svg { width: min(40vw, 220px); } }
.stage.is-live .stage__still { opacity: 0; }
main { position: relative; z-index: 1; overflow-x: clip; }
.foot { overflow-x: clip; }

/* Ambient field for pages without the 3D hero */
.signal-field { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }

/* ---------- Buttons ---------- */
.btn {
  --mx: 50%; --my: 0%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 15.5px/1 var(--f-body); letter-spacing: .005em; text-decoration: none; white-space: nowrap;
  color: var(--ice); background: rgba(16, 24, 44, .72);
  box-shadow: inset 0 0 0 1px rgba(160, 190, 240, .24), 0 8px 30px rgba(0, 0, 0, .35);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  isolation: isolate;
}
.btn::before { /* chrome rim that catches light at the pointer's angle */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(120px 60px at var(--mx) var(--my), rgba(255, 255, 255, .95), rgba(150, 175, 215, .25) 55%, transparent 80%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .9;
}
.btn:hover { background: rgba(22, 34, 62, .85); }
.btn--signal { background: var(--signal); color: #fff; box-shadow: 0 0 0 1px rgba(160, 205, 255, .55) inset, 0 10px 40px rgba(47, 123, 255, .45); }
.btn--signal:hover { background: #3f88ff; box-shadow: 0 0 0 1px rgba(200, 225, 255, .8) inset, 0 12px 50px rgba(47, 123, 255, .65); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--glow); text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Dock (the site's whole menu) ---------- */
.dock {
  position: fixed; z-index: 40; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; height: var(--dock-h); padding: 6px;
  border-radius: 999px; background: rgba(8, 12, 22, .74);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(150, 180, 235, .2), inset 0 1px 0 rgba(255, 255, 255, .07), 0 18px 50px rgba(0, 0, 0, .6);
  max-width: calc(100vw - 20px);
}
.dock__progress { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden; }
.dock__progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--read, 0) * 100%); background: linear-gradient(90deg, transparent, var(--glow)); box-shadow: 0 0 10px var(--glow); }
.dock a, .dock button {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 15px;
  border: 0; border-radius: 999px; background: transparent; color: var(--ice);
  font: 500 14.5px/1 var(--f-body); text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s;
}
.dock a:hover, .dock button:hover { background: rgba(47, 123, 255, .14); }
.dock a[aria-current="page"] { color: #fff; background: rgba(47, 123, 255, .18); }
.dock .dock__mark { width: 46px; padding: 0; justify-content: center; }
.dock__mark svg { width: 24px; height: 22px; }
.dock .dock__build { background: var(--signal); color: #fff; padding-right: 10px; box-shadow: 0 0 20px rgba(47, 123, 255, .5); }
.dock .dock__build:hover { background: #3f88ff; }
.dock__count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 13px; font-variant-numeric: tabular-nums; }
.dock__count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.35); background: #fff; color: var(--signal); } }
.dock__key { font: 500 12px/1 var(--f-body); color: var(--haze); border: 1px solid var(--seam-hi); border-radius: 6px; padding: 3px 6px; }
.dock .only-wide { display: inline-flex; }
@media (max-width: 760px) {
  .dock { left: 10px; right: 10px; transform: none; justify-content: space-between; max-width: none; }
  .dock .only-wide { display: none; }
  .dock a, .dock button { padding: 0 12px; font-size: 14px; }
  .dock__key { display: none; }
}

/* Tray: the dock grows a panel upward. */
.tray {
  position: fixed; z-index: 39; left: 50%; bottom: calc(var(--dock-h) + 24px + env(safe-area-inset-bottom, 0px));
  width: min(460px, calc(100vw - 20px)); max-height: min(70vh, 640px);
  transform: translate(-50%, 18px) scale(.97); transform-origin: 50% 100%; opacity: 0; visibility: hidden;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  border-radius: var(--r-l); background: rgba(9, 13, 25, .94);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(150, 180, 235, .22), 0 30px 80px rgba(0, 0, 0, .7);
  transition: transform .45s var(--ease), opacity .3s var(--ease), visibility 0s .45s;
}
.tray.is-open { transform: translate(-50%, 0) scale(1); opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s var(--ease); }
.tray__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 12px; }
.tray__head h2 { font-size: 22px; }
.tray__x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); display: grid; place-items: center; }
.tray__list { overflow: auto; padding: 4px 20px; display: grid; gap: 10px; align-content: start; overscroll-behavior: contain; }
.tray__empty { color: var(--haze); padding: 6px 0 14px; }
.line-item { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam); }
.line-item b { display: block; font-weight: 600; font-size: 15px; }
.line-item span { font-size: 13px; color: var(--haze); }
.line-item .p { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.line-item button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--haze); }
.line-item button:hover { background: rgba(255, 255, 255, .07); color: var(--ice); }
.tray__foot { padding: 14px 20px 20px; display: grid; gap: 12px; border-top: 1px solid var(--seam); }
.sum { display: grid; gap: 6px; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum div span:last-child { font-variant-numeric: tabular-nums; }
.sum .due { font-size: 16px; font-weight: 600; color: #fff; }
.sum .due span:last-child { color: var(--glow); }

/* Index: full-screen search across pages, packages and answers */
.index {
  position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto minmax(0, 1fr);
  padding: max(24px, env(safe-area-inset-top, 0px)) var(--gut-r) 24px var(--gut);
  background: rgba(4, 6, 12, .9); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s;
}
.index.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.index__bar { width: min(820px, 100%); margin: 6vh auto 0; display: flex; gap: 12px; align-items: center; }
.index__bar input {
  flex: 1; min-width: 0; height: 64px; padding: 0 22px; border-radius: 18px; border: 0;
  background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam-hi), 0 0 40px rgba(47, 123, 255, .15);
  font: 500 clamp(18px, 2vw, 22px)/1 var(--f-body);
}
.index__bar input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--glow), 0 0 50px rgba(47, 123, 255, .3); }
.index__results { width: min(820px, 100%); margin: 18px auto 0; overflow: auto; display: grid; gap: 22px; align-content: start; padding-bottom: 40px; }
.index__group h3 { font: 600 13px/1 var(--f-body); color: var(--haze); letter-spacing: .04em; margin-bottom: 8px; }
.index__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.index__group a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 13px 16px; border-radius: 12px; text-decoration: none; }
.index__group a span:last-child { color: var(--haze); font-size: 14px; }
.index__group a:hover, .index__group a.is-active { background: rgba(47, 123, 255, .14); }
.index__group p { padding: 6px 16px 10px; color: var(--haze); font-size: 15px; }

/* Cursor lens (fine pointers only) */
.lens { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--glow), 0 0 14px rgba(102, 172, 255, .6); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; opacity: 0; }
.lens span { font: 600 12px/1 var(--f-body); color: #fff; opacity: 0; transition: opacity .2s; letter-spacing: .02em; }
.lens.is-on { opacity: 1; }
.lens.is-big { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: rgba(47, 123, 255, .28); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lens.is-big span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .lens { display: none; } }

/* Loader: draws the A, then lifts away. First visit per session only. */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--void); transition: opacity .7s var(--ease) .1s, visibility 0s .8s; }
.loader svg { width: min(26vmin, 180px); overflow: visible; }
.loader .outline { fill: none; stroke: var(--glow); stroke-width: 1.2; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px var(--glow)); animation: draw 1.15s var(--ease-io) forwards; }
.loader .fill { opacity: 0; animation: fill .5s ease 1.05s forwards; }
.loader p { margin-top: 18px; text-align: center; font: 500 13px/1 var(--f-body); color: var(--haze); letter-spacing: .3em; padding-left: .3em; opacity: 0; animation: fill .6s ease .5s forwards; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { opacity: 1; } }

/* ---------- Focus-pull entrance ---------- */
.js [data-pull] { opacity: 0; filter: blur(14px); transform: scaleY(1.12) translateY(10px); transform-origin: 50% 100%; }
.js [data-pull].is-in { opacity: 1; filter: blur(0); transform: none; transition: opacity .9s var(--ease), filter 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.glint { position: relative; }
/* The sweep moves the gradient inside the box instead of moving the box, so it never pushes the page wider. */
.glint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%) 120% 0 / 300% 100% no-repeat; mix-blend-mode: overlay; pointer-events: none; }
.glint.is-in::after { animation: glint 1.4s var(--ease) .5s 1 forwards; }
@keyframes glint { to { background-position: -20% 0; } }

/* ---------- Home: hero ---------- */
.hero { min-height: 100svh; display: grid; align-content: center; padding-block: 14vh calc(var(--dock-h) + 64px); position: relative; }
.hero__copy { display: grid; gap: 24px; max-width: min(820px, 60vw); }
.hero .t-hero { font-size: clamp(44px, 5.4vw, 96px); }
@media (max-width: 900px) { .hero__copy { max-width: none; } }
.hero__cycle { display: inline-block; min-width: 4ch; }
.hero__aside { position: absolute; right: var(--gut-r); bottom: calc(var(--dock-h) + 64px); max-width: 260px; text-align: right; display: grid; gap: 8px; justify-items: end; }
.hero__drag { font-size: 13px; color: var(--haze); display: inline-flex; gap: 8px; align-items: center; }
.hero__drag::before { content: ""; width: 28px; height: 1px; background: var(--haze); }
@media (max-width: 900px) { .hero__aside { display: none; } .hero { align-content: end; padding-top: 30vh; padding-bottom: calc(var(--dock-h) + 40px); } .hero__copy { gap: 18px; } .hero .lede { font-size: 16px; } }

/* Pinned chapters */
.chapter { position: relative; min-height: 100svh; display: grid; align-items: center; }
.chapter__inner { width: 100%; }
.name-split { display: grid; gap: clamp(8px, 1.4vw, 18px); }
.name-split__row { display: grid; grid-template-columns: clamp(64px, 11vw, 170px) minmax(0, 1fr); align-items: baseline; gap: clamp(12px, 2.4vw, 40px); }
.name-split__glyph { font: 800 clamp(64px, 11vw, 170px)/.86 var(--f-display); letter-spacing: -.05em; }
.name-split__word { font: 600 clamp(22px, 3.2vw, 46px)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--haze); }
.name-split__word em { font-family: var(--f-serif); font-weight: 400; color: var(--ice); }
.name-split__row.is-lit .name-split__word { color: var(--ice); }

/* Orbit of services (DOM ring; the A sits in the middle on the WebGL stage) */
.orbit { position: relative; }
[data-orbit] { overflow-x: clip; }
.orbit__ring { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.orbit.is-ring { height: min(66vh, 640px); perspective: 1400px; }
.orbit.is-ring .orbit__ring { display: block; position: absolute; left: 50%; top: 40%; width: 0; height: 0; transform-style: preserve-3d; }
.orbit.is-ring .sat { position: absolute; left: 0; top: 0; width: clamp(220px, 21vw, 290px); }
.sat {
  position: relative; display: block;
  transform-style: preserve-3d; text-decoration: none;
  border-radius: var(--r-m); overflow: hidden; background: var(--deck);
  box-shadow: inset 0 0 0 1px var(--seam-hi), 0 20px 60px rgba(0, 0, 0, .55);
  transition: box-shadow .4s var(--ease), filter .4s;
}
.sat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.sat__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.sat__body b { font: 700 19px/1.1 var(--f-display); letter-spacing: -.02em; }
.sat__body span { font-size: 13.5px; color: var(--haze); }
.sat.is-front { box-shadow: inset 0 0 0 1px var(--glow), 0 0 50px rgba(47, 123, 255, .35), 0 20px 60px rgba(0, 0, 0, .55); }
.orbit__caption { margin-top: 22px; }
.orbit.is-ring .orbit__caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; margin: 0; }
@media (max-width: 760px) {
  .orbit__ring { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .sat { scroll-snap-align: start; }
}

/* Live demos */
.demos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1000px) { .demos { grid-template-columns: 1fr; } }
.demo { border-radius: var(--r-l); background: linear-gradient(180deg, var(--deck-hi), var(--deck)); box-shadow: inset 0 0 0 1px var(--seam); padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.demo__screen { position: relative; border-radius: var(--r-m); overflow: hidden; background: #03050a; box-shadow: inset 0 0 0 1px var(--seam); }
.demo h3 { font-size: 22px; }
.demo p { color: var(--haze); font-size: 15px; }

/* Agent inbox demo */
.inbox { padding: 12px; display: grid; gap: 8px; min-height: 300px; align-content: start; font-size: 13.5px; }
.mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.mail b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail i { font-style: normal; color: var(--haze); grid-column: 1 / -1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mail .chip { font-size: 11.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--haze); white-space: nowrap; transition: all .4s; }
.mail.is-scan { box-shadow: inset 0 0 0 1px var(--glow), 0 0 20px rgba(47, 123, 255, .25); }
.mail.is-done .chip { background: rgba(47, 123, 255, .2); color: #cfe2ff; }
.mail.is-done.lead .chip { background: rgba(79, 209, 165, .16); color: var(--ok); }
.inbox__log { font-size: 12.5px; color: var(--haze); padding: 2px 4px; min-height: 18px; }

/* Reframe demo: 16:9 source with a 9:16 crop window */
.reframe { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.reframe video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reframe__mask { position: absolute; inset: 0; background: rgba(3, 5, 10, .72); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 0, var(--cx0) 4%, var(--cx0) 96%, var(--cx1) 96%, var(--cx1) 4%, var(--cx0) 4%); transition: clip-path .9s var(--ease); --cx0: 0%; --cx1: 100%; }
.reframe.is-short .reframe__mask { --cx0: 36%; --cx1: 64%; }
.reframe__cap { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: 30%; text-align: center; font: 800 clamp(12px, 1.2vw, 15px)/1.15 var(--f-display); color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, .8); opacity: 0; transition: opacity .4s; }
.reframe.is-short .reframe__cap { opacity: 1; }
.reframe__cap em { font-style: normal; color: #7dffcb; }
.reframe__badge { position: absolute; left: 12px; top: 12px; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: var(--ice); }

/* Restore demo */
.restore { aspect-ratio: 3 / 2; }
.restore img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.restore__after { clip-path: inset(0 0 0 var(--cut, 100%)); }
.restore__line { position: absolute; top: 0; bottom: 0; left: var(--cut, 100%); width: 2px; margin-left: -1px; background: var(--glow); box-shadow: 0 0 18px var(--glow); }
.restore__label { position: absolute; bottom: 10px; font-size: 12px; padding: 4px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); }

/* Founder film */
.film { position: relative; border-radius: var(--r-l); overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--seam), 0 40px 100px rgba(0, 0, 0, .6); }
.film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.film__play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: radial-gradient(closest-side, rgba(5, 7, 13, .1), rgba(5, 7, 13, .55)); }
.film__play span { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border-radius: 999px; background: var(--signal); color: #fff; font-weight: 600; box-shadow: 0 0 40px rgba(47, 123, 255, .6); }
.film.is-playing .film__play { display: none; }
.quote { font: 400 italic clamp(26px, 3.3vw, 46px)/1.16 var(--f-serif); letter-spacing: -.01em; text-wrap: balance; }

/* Fanned browser windows (portfolio) */
.fan { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; perspective: 1600px; }
@media (max-width: 1000px) { .fan { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .fan { grid-template-columns: 1fr; } }
.pane { --tilt: 0deg; display: grid; text-decoration: none; border-radius: 14px; overflow: hidden; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam-hi), 0 30px 70px rgba(0, 0, 0, .55); transform: rotateY(var(--tilt)); transform-style: preserve-3d; transition: box-shadow .4s var(--ease); }
.pane:hover { box-shadow: inset 0 0 0 1px var(--glow), 0 0 40px rgba(47, 123, 255, .3), 0 30px 70px rgba(0, 0, 0, .55); }
.pane__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #0d1322; border-bottom: 1px solid var(--seam); }
.pane__bar i { width: 8px; height: 8px; border-radius: 50%; background: #2a3550; }
.pane__bar span { margin-left: 8px; font-size: 11.5px; color: var(--haze); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pane img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.pane__body { padding: 14px 16px 16px; display: grid; gap: 4px; }
.pane__body b { font: 700 18px/1.15 var(--f-display); letter-spacing: -.02em; }
.pane__body span { font-size: 13.5px; color: var(--haze); }
.concept { display: inline-flex; align-self: start; justify-self: start; font-size: 11.5px; padding: 4px 9px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--seam-hi); color: var(--haze); }

/* Creator cards: each in its own identity */
.creators { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .creators { grid-template-columns: 1fr; } }
.creator { --c-bg: #111; --c-fg: #fff; --c-acc: #fff; position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-l); overflow: hidden; background: var(--c-bg); color: var(--c-fg); text-decoration: none; min-width: 0; }
.creator__img { position: relative; overflow: hidden; }
.creator__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 16%; transition: transform 1.2s var(--ease); }
.creator:hover .creator__img img { transform: scale(1.04); }
.creator__ai { position: absolute; left: 14px; top: 14px; font: 600 12px/1 var(--f-body); padding: 7px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.creator__body { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.creator__name { font: 700 28px/1 var(--f-display); letter-spacing: -.03em; }
.creator__handle { font-weight: 600; color: var(--c-acc); font-size: 15px; }
.creator__line { font-family: var(--f-serif); font-style: italic; font-size: 22px; line-height: 1.2; }
.creator__sig { position: absolute; inset: auto 14px 14px 14px; min-height: 64px; display: grid; place-items: center; border-radius: 14px; pointer-events: none; opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.creator:hover .creator__sig, .creator:focus-visible .creator__sig { opacity: 1; transform: none; }
.creator--dax { --c-bg: #f2ead8; --c-fg: #183d2f; --c-acc: #1f6b4c; }
.creator--juno { --c-bg: #202529; --c-fg: #e9f4f3; --c-acc: #4fd1c5; }
.creator--mari { --c-bg: #f6ece8; --c-fg: #4a2430; --c-acc: #b4475f; }
.sig-dax { background: #1d2a22; color: #e9d9a8; font: 700 15px/1.1 var(--f-body); gap: 4px; padding: 10px; }
.sig-dax s { color: #cfc6ad; text-decoration-color: #d64b3a; }
.sig-dax b { color: #ff6a55; letter-spacing: .08em; font-size: 12px; border: 2px solid #ff6a55; padding: 3px 6px; transform: rotate(-4deg); }
.sig-juno { background: #15191c; padding: 10px; }
.sig-juno svg { width: 100%; height: 44px; }
.sig-juno path { fill: none; stroke: #4fd1c5; stroke-width: 2.2; stroke-dasharray: 300; stroke-dashoffset: 300; filter: drop-shadow(0 0 4px #4fd1c5); }
.creator--juno:hover .sig-juno path { animation: draw 1.2s var(--ease) forwards; }
.sig-mari { background: #fff8f4; color: #4a2430; padding: 10px 12px; text-align: left; gap: 4px; justify-items: start; font-size: 13.5px; }
.sig-mari s { color: #8a7c80; text-decoration: line-through 2px #c0392b; }
.sig-mari em { font-family: var(--f-serif); font-size: 18px; color: #b4475f; }

/* Tier ladder + tier cards */
.ladder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .ladder { grid-template-columns: 1fr; } }
.tier { position: relative; display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: var(--r-l); background: linear-gradient(180deg, var(--deck-hi), var(--deck)); box-shadow: inset 0 0 0 1px var(--seam); min-width: 0; }
.tier--lead { box-shadow: inset 0 0 0 1px rgba(102, 172, 255, .55), 0 0 60px rgba(47, 123, 255, .14); }
.tier__name { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tier__name h3 { font-size: 26px; letter-spacing: -.02em; }
.tier__flag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(47, 123, 255, .16); color: #cfe2ff; white-space: nowrap; }
.tier__price { font: 700 clamp(36px, 3.6vw, 48px)/1 var(--f-display); letter-spacing: -.04em; }
.tier__price small { font: 500 15px/1 var(--f-body); color: var(--haze); letter-spacing: 0; margin-left: 4px; }
.tier__hook { font-family: var(--f-serif); font-style: italic; font-size: 21px; line-height: 1.25; }
.tier__for { font-size: 14.5px; color: var(--haze); }
.tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.tier li { position: relative; padding-left: 22px; }
.tier li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 1.5px; background: var(--glow); box-shadow: 0 0 6px var(--glow); }
.tier .btn { justify-self: start; }
.tier .btn.is-added { background: rgba(79, 209, 165, .16); box-shadow: inset 0 0 0 1px rgba(79, 209, 165, .5); color: var(--ok); }

/* Speed ladder on home */
.speed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--seam); }
.speed > div { padding: clamp(22px, 3vw, 40px); display: grid; gap: 10px; align-content: start; border-right: 1px solid var(--seam); background: var(--deck); }
.speed > div:last-child { border-right: 0; background: linear-gradient(180deg, rgba(47, 123, 255, .14), var(--deck)); }
.speed h3 { font-size: clamp(26px, 3vw, 40px); }
.speed p { color: var(--haze); }
@media (max-width: 860px) { .speed { grid-template-columns: 1fr; } .speed > div { border-right: 0; border-bottom: 1px solid var(--seam); } }

/* Package Matcher */
.matcher { border-radius: var(--r-l); padding: clamp(22px, 3.4vw, 44px); background: radial-gradient(600px 300px at 90% 0%, rgba(47, 123, 255, .16), transparent 70%), var(--deck); box-shadow: inset 0 0 0 1px var(--seam-hi); display: grid; gap: 22px; }
.matcher fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.matcher legend { font: 700 var(--t-3)/1.15 var(--f-display); letter-spacing: -.02em; margin-bottom: 14px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--seam-hi); cursor: pointer; transition: all .25s var(--ease); }
.choice span:hover { box-shadow: inset 0 0 0 1px var(--glow); }
.choice input:checked + span { background: var(--signal); color: #fff; box-shadow: 0 0 24px rgba(47, 123, 255, .45); }
.choice input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 3px; }
.matcher__steps { display: flex; gap: 6px; }
.matcher__steps i { height: 3px; flex: 1; border-radius: 3px; background: var(--seam); transition: background .4s; }
.matcher__steps i.on { background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.matcher__result { display: grid; gap: 14px; }

/* Ask AINT */
.ask { display: grid; gap: 18px; }
.ask__field { position: relative; }
.ask__field input { width: 100%; height: 62px; padding: 0 22px 0 52px; border-radius: 16px; border: 0; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam-hi); font-size: 18px; }
.ask__field input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--glow), 0 0 40px rgba(47, 123, 255, .2); }
.ask__field svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--haze); }
.answers { display: grid; gap: 10px; }
.answer { padding: 18px 20px; border-radius: 14px; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam); display: grid; gap: 6px; }
.answer h3 { font: 600 17px/1.3 var(--f-body); letter-spacing: 0; }
.answer p { color: var(--haze); font-size: 15.5px; }
.answer[hidden] { display: none; }
.answer mark { background: rgba(47, 123, 255, .3); color: #fff; border-radius: 3px; padding: 0 2px; }

/* Forms (build page) */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; color: var(--ice); }
.field small { color: var(--haze); font-size: 13px; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 0; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam-hi); font-size: 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--glow); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #ff7a7a; }
.form__error { color: #ff9c9c; font-size: 14px; }
.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 820px) { .slots { grid-template-columns: 1fr; } }
.slot { padding: 14px; border-radius: 14px; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam); display: grid; gap: 10px; }
.slot b { font-size: 13px; color: var(--haze); font-weight: 500; }
.build-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.build-grid aside { position: sticky; top: 24px; }
@media (max-width: 980px) { .build-grid { grid-template-columns: 1fr; } .build-grid aside { position: static; } }
.panel { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-l); background: linear-gradient(180deg, var(--deck-hi), var(--deck)); box-shadow: inset 0 0 0 1px var(--seam); display: grid; gap: 16px; align-content: start; min-width: 0; }

/* Service page hero */
.svc-hero { padding-block: clamp(120px, 18vh, 220px) clamp(48px, 7vw, 90px); display: grid; gap: 28px; }
.svc-hero__media { border-radius: var(--r-l); overflow: hidden; box-shadow: inset 0 0 0 1px var(--seam), 0 40px 100px rgba(0, 0, 0, .5); }
.svc-hero__media img, .svc-hero__media video { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 700px) { .svc-hero__media img, .svc-hero__media video { aspect-ratio: 4 / 3; } }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--haze); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ice); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--seam); border-radius: var(--r-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--seam); }
.facts > div { background: var(--deck); padding: 20px; display: grid; gap: 6px; }
.facts b { font: 700 22px/1.1 var(--f-display); letter-spacing: -.02em; }
.facts span { font-size: 14px; color: var(--haze); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery figure { margin: 0; display: grid; gap: 8px; }
.gallery img { border-radius: var(--r-m); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: inset 0 0 0 1px var(--seam); }
.gallery figcaption { font-size: 13.5px; color: var(--haze); }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr; } }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.svc-card { display: grid; text-decoration: none; border-radius: var(--r-l); overflow: hidden; background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam); transition: box-shadow .4s var(--ease); }
.svc-card:hover { box-shadow: inset 0 0 0 1px var(--glow), 0 0 40px rgba(47, 123, 255, .22); }
.svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.svc-card div { padding: 20px 22px 24px; display: grid; gap: 6px; }
.svc-card b { font: 700 24px/1.1 var(--f-display); letter-spacing: -.025em; }
.svc-card span { color: var(--haze); font-size: 15px; }
.svc-card em { font-style: normal; color: var(--glow); font-weight: 600; font-size: 14.5px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; padding: 22px; border-radius: var(--r-m); background: var(--deck); box-shadow: inset 0 0 0 1px var(--seam); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: counter(st); font: 700 30px/1 var(--f-display); color: var(--glow); text-shadow: 0 0 18px rgba(47, 123, 255, .6); }
.steps b { font-weight: 600; }
.steps span { color: var(--haze); font-size: 15px; }
.lines { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.lines path { fill: none; stroke: var(--glow); stroke-width: 1.2; opacity: .55; filter: drop-shadow(0 0 4px var(--glow)); }

/* Concept banner for hosted demos lives in each demo; this is the work index */
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding-block: 40px; border-top: 1px solid var(--seam); }
.case:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case:nth-child(even) .case__shot { order: 2; }
@media (max-width: 900px) { .case, .case:nth-child(even) { grid-template-columns: 1fr; } .case:nth-child(even) .case__shot { order: 0; } }
.case__shot { border-radius: var(--r-m); overflow: hidden; box-shadow: inset 0 0 0 1px var(--seam), 0 30px 80px rgba(0, 0, 0, .5); }
.case__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.case dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 0; font-size: 15px; }
.case dt { color: var(--haze); }
.case dd { margin: 0; }

/* Footer */
.foot { position: relative; z-index: 1; padding-block: clamp(80px, 10vw, 140px) 40px; overflow: hidden; }
.foot__mark { font: 800 clamp(96px, 26vw, 420px)/.8 var(--f-display); letter-spacing: -.07em; text-align: center; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(47, 123, 255, .35)); }
.foot__mirror { font: 800 clamp(96px, 26vw, 420px)/.8 var(--f-display); letter-spacing: -.07em; text-align: center; transform: scaleY(-1); margin-top: -.06em; background: linear-gradient(0deg, rgba(102, 172, 255, .28), transparent 55%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-mask: linear-gradient(0deg, #000, transparent 60%); mask: linear-gradient(0deg, #000, transparent 60%); height: .5em; overflow: hidden; }
.foot__line { height: 2px; width: min(560px, 70%); margin: 10px auto 0; background: linear-gradient(90deg, transparent, var(--glow), transparent); box-shadow: 0 0 24px var(--glow); }
.foot__grid { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; font-size: 15px; }
.foot__grid h2 { font: 600 13px/1 var(--f-body); color: var(--haze); letter-spacing: .04em; margin-bottom: 14px; }
.foot__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__grid a { text-decoration: none; color: var(--ice); }
.foot__grid a:hover { color: var(--glow); }
.foot__legal { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13px; color: var(--haze); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.copy { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; color: var(--glow); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* View-transition choreography: a blue light sweep between pages */
::view-transition-old(root) { animation: vt-out .45s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; filter: blur(8px); transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; filter: blur(10px); transform: scale(1.015); } }
::view-transition-group(hero-media) { animation-duration: .7s; animation-timing-function: var(--ease); }
.vt-media { view-transition-name: var(--vt, none); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-pull] { opacity: 1; filter: none; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
