/* AsraVerse Productions
   Colour comes from the lotus: one spectrum, used as light. */

@property --amb  { syntax: "<color>"; inherits: true;  initial-value: #8F5FFF; }
@property --amb2 { syntax: "<color>"; inherits: true;  initial-value: #E23FB6; }
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --ink: #07071A;
  --ink-2: #0E0E28;
  --ink-3: #17173B;
  --pearl: #F6F3EC;
  --pearl-2: #EAE5D8;

  --text: #F4F2F8;
  --mute: #ACAECB;
  --line: rgba(255, 255, 255, .14);
  --panel: rgba(255, 255, 255, .045);

  --rose: #FF2E63;
  --amber: #FFB21E;
  --leaf: #A6DB2E;
  --teal: #16D6C4;
  --azure: #2F9DFF;
  --violet: #8F5FFF;
  --magenta: #E23FB6;
  --spectrum: linear-gradient(90deg, var(--magenta), var(--violet), var(--azure), var(--teal), var(--leaf), var(--amber), var(--rose));

  --display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, Consolas, monospace;

  --gut: clamp(16px, 4.5vw, 72px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --card: clamp(286px, 62vw, 940px);

  --amb: #8F5FFF;
  --amb2: #E23FB6;
  transition: --amb 1.4s ease, --amb2 1.4s ease;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
section[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--pearl); color: var(--ink); border-radius: 8px; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Atmosphere ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(62vw 62vh at 88% 8%, color-mix(in oklab, var(--amb) 24%, transparent), transparent 72%),
    radial-gradient(56vw 58vh at 2% 96%, color-mix(in oklab, var(--amb2) 17%, transparent), transparent 72%),
    var(--ink);
}
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress {
  position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 70;
  background: var(--spectrum); clip-path: inset(0 100% 0 0);
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 500; }
h2 {
  font-size: clamp(2.05rem, 4.7vw, 4.5rem);
  line-height: 1.02; letter-spacing: -.012em;
  font-variation-settings: "wdth" 92;
  text-wrap: balance;
}
.eyebrow {
  font: 500 .69rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--amb); margin-bottom: 18px;
}
.lede { font-size: clamp(1.08rem, 1.55vw, 1.32rem); line-height: 1.5; color: var(--mute); max-width: 34em; }
.note { font-size: .8rem; line-height: 1.5; color: var(--mute); }

/* ---------- Layout ---------- */
.wrap { max-width: 1400px; margin-inline: auto; padding-inline: var(--gut); }
.sec { position: relative; padding-block: clamp(84px, 11vw, 168px); }
.sec__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 80px);
  align-items: end; margin-bottom: clamp(36px, 5vw, 72px);
}
.sec__title { margin-bottom: clamp(30px, 4vw, 56px); }

.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  padding: .92em 1.6em; border: 0; border-radius: 999px;
  font: 600 .96rem/1.1 var(--body); color: var(--text); text-decoration: none;
  background: none; cursor: pointer; transition: color .25s, transform .25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1.5px; z-index: -2; border-radius: inherit;
  background: conic-gradient(from var(--spin), var(--rose), var(--amber), var(--leaf), var(--teal), var(--azure), var(--violet), var(--magenta), var(--rose));
  animation: spin 7s linear infinite;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: #0A0A22; transition: opacity .25s;
}
.btn:hover { color: var(--ink); transform: translateY(-2px); }
.btn:hover::after, .btn--fill::after { opacity: 0; }
.btn--fill { color: var(--ink); }
.btn--fill:hover::after { opacity: .0; }
.btn--sm { padding: .68em 1.15em; font-size: .86rem; }
.btn--ink { color: var(--pearl); }
.btn--ink::after { background: var(--ink); }
.btn--ink:hover { color: var(--ink); }
@keyframes spin { to { --spin: 360deg; } }

/* ---------- Segmented controls ---------- */
.seg {
  display: inline-flex; flex-wrap: wrap; gap: 3px; padding: 3px;
  border: 1px solid var(--line); border-radius: 11px; background: rgba(10, 10, 34, .55);
}
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span {
  display: block; padding: .56em .95em; border-radius: 8px;
  font: 500 .84rem/1.2 var(--body); color: var(--mute);
  transition: background .25s, color .25s;
}
.seg label:hover span { color: var(--text); }
.seg input:checked + span { background: var(--text); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; left: var(--gut); right: var(--gut); top: 14px; z-index: 50;
  max-width: 1400px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 7px 8px 7px 14px;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  background: rgba(10, 10, 32, .84);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 600 1.06rem/1 var(--display); font-variation-settings: "wdth" 112; letter-spacing: .01em;
}
.brand img { width: 30px; height: 30px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a:not(.btn) {
  font-size: .91rem; font-weight: 500; text-decoration: none; color: var(--mute); transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__toggle { display: none; }

.slate {
  position: fixed; left: 20px; bottom: 28px; z-index: 45; pointer-events: none;
  display: flex; gap: 18px; writing-mode: vertical-rl; transform: rotate(180deg);
  font: 400 .6rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: #fff; mix-blend-mode: difference;
}
@media (max-width: 1240px) { .slate { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  touch-action: pan-y;
}
.hero__mesh, .hero__reel, .hero__scrim { position: absolute; inset: 0; }
.hero__mesh { width: 100%; height: 100%; z-index: 0; }
.hero__reel { z-index: 1; clip-path: inset(50%); will-change: clip-path; background: var(--ink); }
.hero__reel video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__reel.is-portrait video { position: absolute; max-width: none; }
.hero__scrim {
  z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 26, .8) 0%, rgba(7, 7, 26, .42) 40%, rgba(7, 7, 26, 0) 64%),
    linear-gradient(0deg, rgba(7, 7, 26, .94) 0%, rgba(7, 7, 26, 0) 44%);
}

.vf {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; will-change: transform, width, height;
  border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 24px 110px rgba(143, 95, 255, .3);
}
.vf__thirds {
  position: absolute; inset: 0;
  --g: rgba(255, 255, 255, .26);
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), var(--g) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), var(--g) 0 calc(66.66% + .5px), transparent 0),
    linear-gradient(0deg, transparent calc(33.33% - .5px), var(--g) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), var(--g) 0 calc(66.66% + .5px), transparent 0);
}
.vf__c { position: absolute; width: 26px; height: 26px; border: 2px solid #fff; filter: drop-shadow(0 0 6px rgba(0, 0, 0, .5)); }
.vf__c--tl { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.vf__c--tr { right: -1px; top: -1px; border-left: 0; border-bottom: 0; }
.vf__c--bl { left: -1px; bottom: -1px; border-right: 0; border-top: 0; }
.vf__c--br { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.vf__top, .vf__bot {
  position: absolute; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 12px;
  font: 500 .6rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .85);
}
.vf__top { top: 12px; }
.vf__bot { bottom: 12px; }
.vf.is-tight .vf__bot { display: none; }
.vf__rec {
  display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%;
  background: var(--rose); animation: blink 1.6s steps(2, jump-none) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

.hero__foot {
  position: relative; z-index: 4; width: 100%; max-width: 1400px; margin-inline: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  padding: 110px var(--gut) clamp(26px, 5.5vh, 64px);
}
.hero__copy { max-width: 900px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 500 .69rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
h1 {
  font-size: clamp(2.7rem, 7.1vw, 7.4rem); font-weight: 500; line-height: .98; letter-spacing: -.016em;
  font-variation-settings: "wdth" 96;
  text-shadow: 0 2px 34px rgba(7, 7, 26, .55);
}
.l { display: block; animation: rise 1s var(--ease) both; }
.l:nth-child(2) { animation-delay: .08s; }
.l:nth-child(3) { animation-delay: .16s; }
.l--spec {
  width: fit-content; padding-bottom: .08em; text-shadow: none;
  background: var(--spectrum); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.w { white-space: nowrap; }
.c { transition: font-variation-settings .18s ease-out; }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } }
@media (min-width: 900px) { .l { white-space: nowrap; } }

.hero__sub { max-width: 37em; margin-top: 20px; font-size: clamp(1.02rem, 1.35vw, 1.2rem); line-height: 1.5; color: #E2E1EE; text-shadow: 0 1px 18px rgba(7, 7, 26, .8); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero__hud { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.hero__hint { font: 500 .62rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #E2E1EE; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.seg--lens span { padding: .5em .8em; font-family: var(--mono); font-size: .72rem; }
.only-touch { display: none; }
@media (hover: none), (pointer: coarse) { .only-fine { display: none; } .only-touch { display: inline; } }

/* ---------- Technology ---------- */
.tech { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.tech__copy h2 { margin-bottom: 26px; }
.tech__copy p:not(.eyebrow):not(.status) { color: var(--mute); margin-bottom: 16px; max-width: 34em; }
.status {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; max-width: 34em; padding: 15px 18px;
  border: 1px solid color-mix(in oklab, var(--amber) 42%, transparent); border-radius: 12px;
  background: color-mix(in oklab, var(--amber) 9%, transparent);
  font-size: .98rem; line-height: 1.45;
}
.status strong { color: var(--amber); font-weight: 600; }
.status i {
  flex: none; width: 9px; height: 9px; margin-top: .4em; border-radius: 50%; background: var(--amber);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--amber) 60%, transparent); animation: ping 2.2s infinite;
}
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 11px transparent; } }

.drift { padding: clamp(14px, 1.8vw, 24px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.drift__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.drift__title { font: 500 clamp(1.02rem, 1.5vw, 1.28rem)/1.15 var(--display); font-variation-settings: "wdth" 100; }
.drift__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(5px, .7vw, 9px); }
.tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--ink-3); }
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(var(--z)) translate(var(--x), var(--y)) rotate(var(--r));
  filter: hue-rotate(var(--h)) saturate(var(--s)) brightness(var(--b)) contrast(var(--c));
  transition: transform .85s var(--ease) var(--d), filter .85s var(--ease) var(--d);
}
.drift[data-mode="held"] .tile img { transform: scale(var(--hz)) translate(var(--hx), var(--hy)); filter: none; }
.tile figcaption {
  position: absolute; left: 6px; top: 6px; padding: 2px 5px; border-radius: 4px;
  background: rgba(7, 7, 26, .65); font: 500 .54rem/1.2 var(--mono); letter-spacing: .06em;
}
.drift .note { margin-top: 12px; }

/* ---------- Research flow ---------- */
.flow { padding: clamp(18px, 3vw, 44px); border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.flow__mode { margin-bottom: clamp(44px, 5vw, 64px); }
.flow__rail { position: relative; }
.flow__track { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.flow__rail::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 25px; height: 2px;
  background: var(--line);
}
.flow[data-mode="goal"] .flow__rail::before { background: linear-gradient(90deg, var(--amber), var(--teal)); }
.flow__pulse {
  position: absolute; z-index: 1; top: 19px; left: 10%; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 22px 7px var(--teal); opacity: 0;
}
.flow[data-mode="goal"] .flow__pulse { animation: travel 3.6s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes travel {
  0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; }
  100% { left: calc(90% - 14px); opacity: 0; }
}
.flow__loop {
  position: absolute; left: 70%; width: 20%; top: -24px; height: 48px;
  border: 1.5px dashed var(--teal); border-bottom: 0; border-radius: 16px 16px 0 0;
  opacity: 0; transition: opacity .5s;
}
.flow__loop span {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  padding: 0 7px; background: #111130; white-space: nowrap;
  font: 500 .56rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.flow[data-mode="goal"] .flow__loop { opacity: 1; }

.node { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; padding: 0 2px; background: none; border: 0; cursor: pointer; color: var(--mute); }
.node__dot {
  position: relative; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #101030; transition: border-color .3s, background .3s, color .3s, transform .35s var(--ease);
}
.node__dot svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic-spark { display: none; }
.flow[data-mode="goal"] .ic-person { display: none; }
.flow[data-mode="goal"] .ic-spark { display: block; }
.node__name { font: 500 clamp(.74rem, 1.15vw, .96rem)/1.2 var(--body); transition: color .3s; }
.node:hover .node__dot { transform: translateY(-3px); }
.node.is-on { color: var(--text); }
.node.is-on .node__dot { border-color: var(--amber); background: var(--amber); color: var(--ink); transform: scale(1.1); }
.flow[data-mode="goal"] .node.is-on .node__dot { border-color: var(--teal); background: var(--teal); }

.flow__panels { margin-top: clamp(26px, 3.5vw, 44px); padding-top: clamp(20px, 2.6vw, 32px); border-top: 1px solid var(--line); min-height: 148px; }
.stage { animation: stageIn .5s var(--ease); }
@keyframes stageIn { from { opacity: 0; transform: translateY(10px); } }
.stage h3 { font-size: clamp(1.4rem, 2.5vw, 2.15rem); line-height: 1.1; margin-bottom: 18px; font-variation-settings: "wdth" 100; }
.cmp { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.cmp > div { padding: 15px 18px; border-radius: 12px; border: 1px solid var(--line); opacity: .46; transition: opacity .4s, border-color .4s, background .4s; }
.cmp h4 { margin: 0 0 6px; font: 500 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.flow[data-mode="today"] .cmp__today, .flow[data-mode="goal"] .cmp__goal { opacity: 1; }
.flow[data-mode="today"] .cmp__today { border-color: color-mix(in oklab, var(--amber) 55%, transparent); background: color-mix(in oklab, var(--amber) 8%, transparent); }
.flow[data-mode="goal"] .cmp__goal { border-color: color-mix(in oklab, var(--teal) 55%, transparent); background: color-mix(in oklab, var(--teal) 8%, transparent); }

/* ---------- Direct a shot ---------- */
.direct { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.monitor {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px;
  border: 1px solid var(--line); background: #000; isolation: isolate;
  --zoom: 1.22; --fx: 56%; --fy: 36%;
}
.monitor__move, .monitor__photos, .monitor__photos img, .monitor__light, .monitor__light i, .monitor__vig, .monitor__guides { position: absolute; inset: 0; }
.monitor__photos { transform: scale(var(--zoom)); transform-origin: var(--fx) var(--fy); transition: transform .9s var(--ease), filter .7s ease; }
.monitor__photos img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.monitor__photos img.is-on { opacity: 1; }

.monitor[data-move="push"]  .monitor__move { animation: mvPush 7s ease-in-out infinite alternate; }
.monitor[data-move="pan"]   .monitor__move { animation: mvPan 9s ease-in-out infinite alternate; }
.monitor[data-move="float"] .monitor__move { animation: mvFloat 6s ease-in-out infinite alternate; }
@keyframes mvPush  { from { transform: scale(1); } to { transform: scale(1.16); } }
@keyframes mvPan   { from { transform: scale(1.14) translateX(-5.5%); } to { transform: scale(1.14) translateX(5.5%); } }
@keyframes mvFloat { from { transform: scale(1.1) translate(-2%, 1.4%) rotate(-.7deg); } to { transform: scale(1.1) translate(2%, -1.4%) rotate(.7deg); } }

.monitor__light i { opacity: 0; transition: opacity .7s ease; }
.monitor[data-light="golden"] .monitor__photos { filter: sepia(.22) saturate(1.28) brightness(1.05); }
.monitor[data-light="golden"] [data-l="golden"] { opacity: 1; }
[data-l="golden"] { background: linear-gradient(205deg, rgba(255, 176, 66, .55), rgba(255, 96, 40, .16) 62%, transparent); mix-blend-mode: soft-light; }
.monitor[data-light="moon"] .monitor__photos { filter: saturate(.48) brightness(.6) contrast(1.12); }
.monitor[data-light="moon"] [data-l="moon"] { opacity: 1; }
[data-l="moon"] { background: linear-gradient(200deg, rgba(120, 165, 255, .55), rgba(26, 46, 128, .62)); mix-blend-mode: color; }
.monitor[data-light="neon"] .monitor__photos { filter: saturate(1.3) contrast(1.14) brightness(.74); }
.monitor[data-light="neon"] [data-l="neon"] { opacity: 1; }
[data-l="neon"] { background: linear-gradient(112deg, rgba(255, 0, 150, .68), rgba(120, 40, 255, .3) 48%, rgba(0, 210, 255, .68)); mix-blend-mode: overlay; }

.monitor__vig { background: radial-gradient(ellipse at center, transparent 52%, rgba(0, 0, 0, .5) 100%); pointer-events: none; }
.monitor__guides {
  --g: rgba(255, 255, 255, .42); opacity: 0; transition: opacity .3s;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), var(--g) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), var(--g) 0 calc(66.66% + .5px), transparent 0),
    linear-gradient(0deg, transparent calc(33.33% - .5px), var(--g) 0 calc(33.33% + .5px), transparent 0 calc(66.66% - .5px), var(--g) 0 calc(66.66% + .5px), transparent 0);
}
.monitor.has-guides .monitor__guides { opacity: 1; }
.monitor__bar { position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height .6s var(--ease); }
.monitor__bar--t { top: 0; } .monitor__bar--b { bottom: 0; }
.monitor[data-frame="scope"] .monitor__bar { height: 12.8%; }
.monitor__tag {
  position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 7px;
  font: 500 .6rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .85); transition: top .6s var(--ease);
}
.monitor[data-frame="scope"] .monitor__tag { top: calc(12.8% + 12px); }
.monitor__tag b { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: blink 1.6s steps(2, jump-none) infinite; }

.scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.scenes label { position: relative; cursor: pointer; }
.scenes input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.scenes span { position: relative; display: block; aspect-ratio: 16 / 7; overflow: hidden; border-radius: 9px; border: 1.5px solid var(--line); transition: border-color .25s; }
.scenes img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.66); transition: filter .25s; }
.scenes em {
  position: absolute; left: 10px; bottom: 7px; font: 600 .82rem/1.2 var(--body); font-style: normal;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .9);
}
.scenes label:hover img, .scenes input:checked + span img { filter: none; }
.scenes input:checked + span { border-color: var(--teal); }
.scenes input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }

.direct__panel { display: flex; flex-direction: column; gap: 16px; }
.ctl__label { margin-bottom: 7px; font: 500 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ctl--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; }
.switch { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 8px; cursor: pointer; font-size: .9rem; position: relative; }
.switch input { position: absolute; opacity: 0; width: 42px; height: 24px; margin: 0; cursor: pointer; }
.switch__box { position: relative; width: 42px; height: 24px; border-radius: 99px; border: 1px solid var(--line); background: rgba(255, 255, 255, .08); transition: background .25s; }
.switch__box::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text); transition: transform .25s var(--ease); }
.switch input:checked + .switch__box { background: var(--teal); }
.switch input:checked + .switch__box::after { transform: translateX(18px); background: var(--ink); }
.switch input:focus-visible + .switch__box { outline: 2px solid var(--teal); outline-offset: 2px; }
.brief { display: block; padding: 17px 19px; border-radius: 14px; border: 1px solid color-mix(in oklab, var(--teal) 45%, transparent); background: color-mix(in oklab, var(--teal) 8%, transparent); }
.brief__label { display: block; margin-bottom: 7px; font: 500 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.brief__text { display: block; font-size: 1.04rem; line-height: 1.45; }

/* ---------- Work ---------- */
.sec--bleed { padding-bottom: clamp(70px, 9vw, 130px); }
.sec__head--end { grid-template-columns: minmax(0, 1fr) auto; }
.strip__ctl { display: flex; align-items: center; gap: 10px; }
.strip__count { margin-right: 8px; font: 400 .74rem/1 var(--mono); color: var(--mute); }
.strip__count b { color: var(--text); font-weight: 500; }
.round { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.round:hover { background: var(--text); color: var(--ink); border-color: var(--text); }
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.strip {
  display: flex; gap: clamp(14px, 2vw, 28px); overflow-x: auto; overscroll-behavior-x: contain;
  padding-inline: calc((100vw - var(--card)) / 2); padding-block: 8px 12px;
  scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; perspective: 1400px;
}
.strip::-webkit-scrollbar { display: none; }
.strip.is-drag { cursor: grabbing; scroll-snap-type: none; }
.strip.is-drag * { pointer-events: none; }
.work { flex: 0 0 var(--card); scroll-snap-align: center; transition: opacity .5s, transform .5s var(--ease); opacity: .42; transform: scale(.955); }
.work.is-active { opacity: 1; transform: none; }
.work__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--ink-3); transition: transform .3s ease-out; transform-style: preserve-3d; }
.work__media img, .work__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.work__media video { opacity: 0; transition: opacity .6s; }
.work__media video.is-on { opacity: 1; }
.work__meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: baseline; padding: 18px 4px 0; }
.tag { grid-column: 1 / -1; font: 500 .62rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amb); }
.work__meta h3 { font-size: clamp(1.4rem, 2.5vw, 2.25rem); line-height: 1.08; font-variation-settings: "wdth" 96; }
.work__meta p { color: var(--mute); font-size: .98rem; line-height: 1.45; }
.strip__foot { margin-top: 22px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--amb); padding-bottom: 3px; transition: gap .25s var(--ease); }
.link:hover { gap: 13px; }
.link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Services ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row {
  display: grid; grid-template-columns: 56px minmax(0, 1.9fr) minmax(0, 1fr); gap: 8px 20px; align-items: baseline;
  padding-block: clamp(22px, 3.2vw, 44px); border-bottom: 1px solid var(--line); cursor: default;
}
.svc__n { font: 400 .72rem/1 var(--mono); color: var(--mute); }
.svc__row h3 {
  font-size: clamp(1.5rem, 3.7vw, 3.5rem); line-height: 1.04; font-weight: 500;
  font-variation-settings: "wdth" 84;
  transition: font-variation-settings .5s var(--ease), color .3s;
}
.svc__row p { grid-column: 2; color: var(--mute); }
.svc__float {
  position: fixed; left: 0; top: 0; z-index: 30; width: min(30vw, 400px); aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 12px; pointer-events: none; opacity: 0; transition: opacity .3s; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.svc__float.is-on { opacity: 1; }
.svc__float video { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (pointer: fine) {
  .svc__row:hover h3 { font-variation-settings: "wdth" 104; color: var(--amb); }
}

/* ---------- Bloom ---------- */
.bloom { position: relative; height: 240vh; background: var(--ink); }
.bloom__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.bloom__lotus { grid-area: 1 / 1; width: min(62vmin, 560px); height: auto; will-change: transform; transform: scale(.66); }
.bloom__line {
  grid-area: 1 / 1; align-self: end; z-index: 2; max-width: 18em; margin-bottom: clamp(36px, 10vh, 110px); padding-inline: var(--gut); text-align: center;
  font: 500 clamp(1.7rem, 4.2vw, 3.8rem)/1.06 var(--display); font-variation-settings: "wdth" 92; letter-spacing: -.012em;
  text-shadow: 0 2px 30px rgba(7, 7, 26, .9); text-wrap: balance;
}
.bloom__white { position: absolute; inset: 0; z-index: 3; background: var(--pearl); clip-path: circle(0 at 50% 50%); will-change: clip-path; }

/* ---------- Light chapter ---------- */
.light {
  --text: #14142E; --mute: #54567A; --line: rgba(20, 20, 46, .16); --panel: rgba(20, 20, 46, .04);
  position: relative; margin-top: -1px; background: var(--pearl); color: var(--text); color-scheme: light;
}
.light .eyebrow { color: #B4235A; }
.light :focus-visible { outline-color: #0B6E67; }
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.about h2 { font-size: clamp(2.3rem, 5.8vw, 5.6rem); }
.about__body > p { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.5; margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(26px, 3.4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { font: 500 clamp(1.5rem, 3vw, 2.5rem)/1.05 var(--display); font-variation-settings: "wdth" 96; }
.facts dd { margin-top: 6px; font-size: .9rem; line-height: 1.35; color: var(--mute); }

.sec--contact { padding-top: 0; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.6rem, 7vw, 6.6rem); margin-bottom: 14px; }
.contact__links { margin-top: 30px; border-top: 1px solid var(--line); }
.contact__links li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: .98rem; }
.contact__links span { color: var(--mute); }
.contact__links a { font-weight: 500; text-decoration: none; }
.contact__links a:hover { text-decoration: underline; }

.form { padding: clamp(20px, 3vw, 40px); border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(44, 34, 90, .1); }
.form__group { margin-bottom: 20px; }
.form__label, .field > span { display: block; margin-bottom: 7px; font-size: .92rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chips span { display: block; padding: .5em 1em; border-radius: 99px; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: var(--text); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--pearl); }
.chips input:focus-visible + span { outline: 2px solid #0B6E67; outline-offset: 2px; }
.form__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: block; margin-bottom: 16px; }
.field input, .field textarea {
  display: block; width: 100%; padding: .75em .9em; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--pearl); color: var(--text); font-size: 1rem; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: #6A3FE0; box-shadow: 0 0 0 3px rgba(106, 63, 224, .18); }
.field.is-bad input, .field.is-bad textarea { border-color: #C81E4A; }
.hp { position: absolute; left: -9999px; }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { flex: 1 1 220px; font-size: .92rem; line-height: 1.4; color: var(--mute); }
.form__status.is-bad { color: #B01A42; }
.form__status.is-good { color: #0B6E67; font-weight: 600; }

.foot { background: var(--ink); padding-block: 34px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.foot p { font-size: .88rem; color: var(--mute); }
.foot__links { display: flex; gap: 20px; }
.foot__links a { font-size: .92rem; color: var(--mute); text-decoration: none; }
.foot__links a:hover { color: var(--text); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 980px) {
  .tech, .direct, .about, .contact, .sec__head { grid-template-columns: minmax(0, 1fr); }
  .sec__head--end { grid-template-columns: minmax(0, 1fr) auto; }
  .sec__head { align-items: start; }
  .svc__row { grid-template-columns: 34px minmax(0, 1fr); }
  .svc__float { display: none; }
}

@media (max-width: 760px) {
  .nav { padding: 6px 7px 6px 12px; }
  .nav__toggle {
    display: grid; align-content: center; gap: 5px; width: 40px; height: 40px; padding: 0 10px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); cursor: pointer;
  }
  .nav__toggle i { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s var(--ease); }
  .nav__toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__links {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; background: #0C0C24;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: 11px 12px; font-size: 1.04rem; color: var(--text); }
  .nav__links .btn { margin-top: 6px; }

  .hero__scrim { background: linear-gradient(0deg, rgba(7, 7, 26, .97) 0%, rgba(7, 7, 26, .88) 44%, rgba(7, 7, 26, 0) 62%); }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__hud { align-items: flex-start; flex-direction: row-reverse; flex-wrap: wrap; justify-content: flex-end; }
  .hero__hint { align-self: center; }
  .vf__c { width: 18px; height: 18px; }

  .cmp { grid-template-columns: minmax(0, 1fr); }
  .flow__panels { min-height: 214px; }
  .node__name { font-size: .68rem; }
  .node__dot { width: 44px; height: 44px; }
  .node__dot svg { width: 19px; height: 19px; }
  .flow__rail::before { top: 21px; }
  .flow__pulse { top: 15px; }
  .flow__loop span { font-size: .5rem; }

  .form__two, .facts { grid-template-columns: minmax(0, 1fr); }
  .facts { gap: 16px; }
  .work__meta { grid-template-columns: minmax(0, 1fr); }
  .strip__ctl .strip__count { display: none; }
  .round { width: 42px; height: 42px; }
  .seg span { padding: .55em .78em; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .bloom { height: auto; }
  .bloom__pin { position: relative; height: auto; padding-block: 90px; gap: 24px; }
  .bloom__line, .bloom__lotus { grid-area: auto; align-self: center; margin: 0 auto; transform: none; }
  .bloom__white { display: none; }
}
