:root {
  --bg: #090a0c;
  --bg-2: #0d0f12;
  --ink: #ecebe7;
  --muted: #999a98;
  --line: rgba(236,235,231,.15);
  --line-strong: rgba(236,235,231,.28);
  --paper: #e9e7df;
  --paper-ink: #111214;
  --accent: #b8c7ff;
  --accent-soft: rgba(184,199,255,.18);
  --shell: min(1320px, calc(100vw - 64px));
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --progress: 0;
  --pointer-x: 50vw;
  --pointer-y: 30vh;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #090a0c; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: .7rem 1rem;
  background: var(--paper);
  color: var(--paper-ink);
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.shell { width: var(--shell); margin-inline: auto; }
.scene { position: relative; isolation: isolate; min-height: 100vh; overflow: clip; }

.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient__beam {
  position: absolute;
  width: 70vw;
  height: 70vw;
  left: calc(var(--pointer-x) - 35vw);
  top: calc(var(--pointer-y) - 35vw);
  background: radial-gradient(circle, rgba(150,170,230,.08), rgba(150,170,230,0) 64%);
  filter: blur(12px);
  transform: translate3d(0,0,0);
  transition: opacity .4s ease;
}
.ambient__grain {
  position: absolute;
  inset: -40%;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: grain 10s steps(10) infinite;
  mix-blend-mode: soft-light;
}
.ambient__pointer { display: none; }
@keyframes grain {
  0% { transform: translate3d(0,0,0); }
  20% { transform: translate3d(-2%,1%,0); }
  40% { transform: translate3d(2%,-2%,0); }
  60% { transform: translate3d(-1%,2%,0); }
  80% { transform: translate3d(1%,-1%,0); }
  100% { transform: translate3d(0,0,0); }
}

.progress { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 300; background: rgba(255,255,255,.05); }
.progress span { display: block; width: 100%; height: 100%; background: rgba(236,235,231,.7); transform-origin: left; transform: scaleX(var(--progress)); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: max(32px, calc((100vw - 1320px)/2));
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, color .35s ease, transform .35s ease;
}
.site-header.is-scrolled {
  background: rgba(9,10,12,.72);
  border-color: rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.site-header.on-light { color: #151619; background: rgba(233,231,223,.76); border-color: rgba(17,18,20,.09); }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.brand__mark { width: 18px; height: 18px; position: relative; display: inline-block; }
.brand__mark i { position: absolute; inset: 0; border: 1px solid currentColor; transform: rotate(45deg) scale(.64); }
.brand__mark i:last-child { transform: rotate(45deg) scale(.3); opacity: .6; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: 12px; color: currentColor; opacity: .66; position: relative; transition: opacity .25s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .32s var(--ease-out); }
.nav a:hover, .nav a:focus-visible { opacity: 1; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.nav-toggle { display: none; border: 0; background: none; width: 42px; height: 42px; padding: 10px; }
.nav-toggle span { display: block; height: 1px; background: currentColor; margin: 5px 0; transition: transform .3s ease; }

.hero { background: linear-gradient(180deg, #090a0c 0%, #0a0b0e 72%, #0d0f12 100%); }
.hero::before {
  content: "";
  position: absolute;
  width: 72vw;
  height: 56vw;
  left: 41%;
  top: 18%;
  background: radial-gradient(ellipse, rgba(154,171,228,.11), rgba(154,171,228,0) 67%);
  transform: translate3d(calc((var(--progress) - .05) * -50px), calc((var(--progress) - .05) * 70px),0) rotate(-9deg);
  filter: blur(22px);
  pointer-events: none;
}
.hero__grid { position: absolute; inset: 0; color: rgba(236,235,231,.16); opacity: .42; mask-image: linear-gradient(180deg, transparent, black 18%, black 75%, transparent); }
.hero__grid svg { width: 100%; height: 100%; }
.hero__grid-lines path { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero__signal { fill: none; stroke: url(#lineFade); stroke-width: 1.1; vector-effect: non-scaling-stroke; stroke-dasharray: 1100; stroke-dashoffset: 1100; animation: signal 2.4s .8s var(--ease-out) forwards; }
@keyframes signal { to { stroke-dashoffset: 0; } }

.hero__frame { position: absolute; inset: 17vh 4vw 8vh 4vw; pointer-events: none; opacity: .34; }
.corner { position: absolute; width: 32px; height: 32px; }
.corner::before, .corner::after { content: ""; position: absolute; background: var(--ink); opacity: .55; }
.corner::before { width: 100%; height: 1px; }
.corner::after { width: 1px; height: 100%; }
.corner--tl { left: 0; top: 0; }
.corner--tr { right: 0; top: 0; transform: scaleX(-1); }
.corner--bl { left: 0; bottom: 0; transform: scaleY(-1); }
.corner--br { right: 0; bottom: 0; transform: scale(-1); }

.hero__content { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; align-items: center; padding-top: 132px; padding-bottom: 58px; position: relative; z-index: 2; }
.eyebrow { display: flex; justify-content: space-between; gap: 24px; color: rgba(236,235,231,.58); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.hero__title-wrap { align-self: end; padding-bottom: 10vh; }
.hero__title { margin: 0; font-size: clamp(56px, 8.15vw, 156px); line-height: .88; letter-spacing: -.066em; font-weight: 400; max-width: 1200px; }
.title-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.title-line > span { display: block; transform: translateY(116%) rotate(.8deg); animation: titleIn 1.25s var(--ease-out) forwards; }
.title-line--1 > span { animation-delay: .22s; }
.title-line--2 > span { animation-delay: .36s; }
@keyframes titleIn { to { transform: translateY(0) rotate(0); } }
.hero__title .title-line--2 { padding-left: 13vw; color: #cfd5e9; }

.hero__bottom { display: grid; grid-template-columns: minmax(240px, 470px) auto; align-items: end; justify-content: space-between; gap: 32px; padding-top: 28px; border-top: 1px solid rgba(236,235,231,.16); }
.hero__bottom p { margin: 0; color: rgba(236,235,231,.62); font-size: 14px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; font-size: 13px; }
.text-link b { font-size: 18px; font-weight: 400; transition: transform .3s var(--ease-out); }
.text-link:hover b { transform: translate(4px,4px); }
.hero__index { position: absolute; right: 3.8vw; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; gap: 7px; color: rgba(236,235,231,.34); }
.hero__index::before { content: ""; width: 1px; height: 80px; background: linear-gradient(var(--ink), transparent); position: absolute; right: 7px; bottom: calc(100% + 16px); opacity: .25; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.scene-bridge { position: absolute; inset: 0 0 auto 0; height: 150px; transform: translateY(-50%); z-index: 4; pointer-events: none; }
.scene-bridge span { position: absolute; left: 0; width: 100%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(17,18,20,.45) 20%, rgba(17,18,20,.45) 80%, transparent); transform: scaleX(.1); transform-origin: center; transition: transform 1.6s var(--ease-out); }
.scene-bridge.is-visible span { transform: scaleX(1); }

.scene--light { color: var(--paper-ink); background: var(--paper); }
.belief { min-height: 118vh; }
.belief__layout { padding: 20vh 0 12vh; min-height: 118vh; display: grid; grid-template-columns: 1fr 3fr; grid-template-rows: auto 1fr auto; gap: 10vh 8vw; }
.section-meta { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 2fr; gap: 8vw; border-top: 1px solid rgba(17,18,20,.18); padding-top: 18px; }
.section-meta p { margin: 0; max-width: 560px; font-size: 15px; line-height: 1.7; }
.belief__statement { grid-column: 1 / -1; align-self: center; padding: 7vh 0; }
.statement-line { margin: 0; font-size: clamp(39px, 5.8vw, 104px); line-height: .99; letter-spacing: -.055em; font-weight: 400; color: rgba(17,18,20,.32); }
.statement-line span { transition: color .5s ease; }
.statement-line.is-active { color: rgba(17,18,20,.98); }
.statement-line--accent.is-active { color: #263d8a; }
.belief__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: end; gap: 30px; border-bottom: 1px solid rgba(17,18,20,.18); padding-bottom: 18px; }
.belief__foot p { margin: 0; font-size: 14px; }

.work { background: #0b0c0f; min-height: 150vh; }
.work__layout { padding: 16vh 0 14vh; }
.work__intro { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 32px; align-items: end; padding-bottom: 12vh; }
.section-kicker { color: rgba(236,235,231,.46); }
.work__intro h2, .craft__headline h2 { grid-column: 2; margin: 0; font-size: clamp(42px, 5.6vw, 90px); line-height: .98; letter-spacing: -.05em; font-weight: 400; }
.work__intro p { margin: 0; color: rgba(236,235,231,.58); font-size: 14px; line-height: 1.7; max-width: 390px; }
.work__stage { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 88vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work__visual { position: sticky; top: 84px; align-self: start; height: calc(100vh - 84px); display: grid; place-items: center; border-right: 1px solid var(--line); overflow: hidden; }
.visual-frame { width: min(76%, 490px); aspect-ratio: 1/1; border: 1px solid rgba(236,235,231,.18); position: relative; transition: transform .75s var(--ease-out), border-color .5s ease; }
.visual-frame::before, .visual-frame::after { content: ""; position: absolute; background: rgba(184,199,255,.34); transition: transform .8s var(--ease-out), opacity .5s ease; }
.visual-frame::before { left: 18%; right: 18%; height: 1px; top: 32%; }
.visual-frame::after { top: 18%; bottom: 18%; width: 1px; right: 36%; }
.visual-axis { position: absolute; background: rgba(236,235,231,.08); }
.visual-axis--x { left: -40%; right: -40%; height: 1px; top: 50%; }
.visual-axis--y { top: -40%; bottom: -40%; width: 1px; left: 50%; }
.visual-node { position: absolute; width: 7px; height: 7px; border: 1px solid rgba(236,235,231,.66); background: #0b0c0f; transform: rotate(45deg); transition: all .8s var(--ease-out); }
.visual-node--a { left: 18%; top: 32%; }
.visual-node--b { right: 36%; top: 32%; }
.visual-node--c { right: 22%; bottom: 26%; }
.visual-trace { position: absolute; height: 1px; background: linear-gradient(90deg, rgba(184,199,255,.6), transparent); transform-origin: left; transition: all .8s var(--ease-out); }
.visual-trace--a { left: 18%; top: 67%; width: 42%; transform: rotate(-28deg); }
.visual-trace--b { left: 50%; top: 50%; width: 31%; transform: rotate(39deg); }
.visual-label { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; color: rgba(236,235,231,.42); }

.work__stage[data-state="intelligence"] .visual-frame { transform: rotate(4deg) scale(.96); border-color: rgba(184,199,255,.35); }
.work__stage[data-state="intelligence"] .visual-frame::before { transform: translateY(120px); }
.work__stage[data-state="intelligence"] .visual-frame::after { transform: translateX(-130px); }
.work__stage[data-state="intelligence"] .visual-node--a { left: 52%; top: 18%; }
.work__stage[data-state="intelligence"] .visual-node--b { right: 20%; top: 68%; }
.work__stage[data-state="intelligence"] .visual-node--c { right: 62%; bottom: 18%; }
.work__stage[data-state="engineering"] .visual-frame { transform: scale(.9); }
.work__stage[data-state="engineering"] .visual-frame::before { transform: rotate(90deg) scaleX(.7); }
.work__stage[data-state="engineering"] .visual-frame::after { transform: rotate(90deg) scaleY(.65); }
.work__stage[data-state="engineering"] .visual-node--a { left: 8%; top: 8%; }
.work__stage[data-state="engineering"] .visual-node--b { right: 8%; top: 8%; }
.work__stage[data-state="engineering"] .visual-node--c { right: 8%; bottom: 8%; }
.work__stage[data-state="design"] .visual-frame { transform: rotate(-3deg) scale(.94); border-radius: 48% 2% 48% 2%; }
.work__stage[data-state="design"] .visual-frame::before { transform: rotate(-18deg) translateY(70px); }
.work__stage[data-state="design"] .visual-frame::after { transform: rotate(18deg) translateX(-80px); }
.work__stage[data-state="design"] .visual-node--a { left: 28%; top: 18%; }
.work__stage[data-state="design"] .visual-node--b { right: 18%; top: 44%; }
.work__stage[data-state="design"] .visual-node--c { right: 54%; bottom: 16%; }

.capabilities { align-self: stretch; }
.capability { width: 100%; min-height: 21vh; display: grid; grid-template-columns: 70px minmax(190px, .9fr) 1.4fr 40px; gap: 28px; align-items: center; text-align: left; padding: 34px 26px; background: transparent; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .4s ease, padding-left .45s var(--ease-out); }
.capability:last-child { border-bottom: 0; }
.capability:hover, .capability:focus-visible, .capability.is-active { background: rgba(255,255,255,.025); padding-left: 38px; outline: none; }
.capability__num { color: rgba(236,235,231,.35); }
.capability__name { font-size: clamp(21px,2.1vw,34px); letter-spacing: -.035em; }
.capability__desc { font-size: 13px; line-height: 1.65; color: rgba(236,235,231,.48); max-width: 380px; }
.capability__arrow { opacity: .25; transform: translate(-8px,8px); transition: opacity .3s ease, transform .35s var(--ease-out); }
.capability:hover .capability__arrow, .capability:focus-visible .capability__arrow, .capability.is-active .capability__arrow { opacity: 1; transform: translate(0,0); }

.scene--ink { background: #101217; }
.craft { min-height: 145vh; }
.craft__blueprint { position: absolute; inset: 0; opacity: .55; pointer-events: none; mask-image: linear-gradient(180deg, transparent 4%, black 22%, black 78%, transparent 96%); }
.bp-line { position: absolute; background: rgba(184,199,255,.11); }
.bp-line--1 { width: 1px; top: 0; bottom: 0; left: 19%; }
.bp-line--2 { width: 1px; top: 0; bottom: 0; left: 67%; }
.bp-line--3 { height: 1px; left: 0; right: 0; top: 33%; }
.bp-line--4 { height: 1px; left: 0; right: 0; top: 73%; }
.bp-circle { position: absolute; border: 1px solid rgba(184,199,255,.12); border-radius: 50%; }
.bp-circle--1 { width: 46vw; height: 46vw; left: -9vw; top: 36vh; }
.bp-circle--2 { width: 22vw; height: 22vw; right: 8vw; top: 11vh; }
.craft__layout { position: relative; z-index: 2; padding: 17vh 0 14vh; }
.craft__headline { display: grid; grid-template-columns: 1fr 3fr; gap: 30px; align-items: end; margin-bottom: 16vh; }
.craft__headline h2 { grid-column: 2; }
.process { list-style: none; padding: 0; margin: 0 0 16vh; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__item { min-height: 390px; padding: 24px 24px 32px; border-right: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr auto; }
.process__item:last-child { border-right: 0; }
.process__num { color: rgba(236,235,231,.34); }
.process__item h3 { align-self: center; margin: 0; font-size: clamp(28px,3.3vw,54px); font-weight: 400; letter-spacing: -.045em; }
.process__item p { margin: 0; font-size: 13px; line-height: 1.7; color: rgba(236,235,231,.48); max-width: 260px; }
.craft__spec { margin-left: 50%; width: 50%; display: grid; grid-template-columns: 150px 1fr; gap: 40px; border-top: 1px solid var(--line); padding-top: 22px; }
.craft__spec p { margin: 0; max-width: 560px; font-size: clamp(20px,2.2vw,34px); line-height: 1.35; letter-spacing: -.028em; }

.building { min-height: 105vh; background: var(--paper); color: var(--paper-ink); }
.building__shutter { position: absolute; inset: 0; pointer-events: none; z-index: 6; display: grid; grid-template-columns: 1fr 1fr; }
.building__shutter span { background: #101217; transform: scaleX(0); }
.building__shutter span:first-child { transform-origin: left; }
.building__shutter span:last-child { transform-origin: right; }
.building.is-transitioning .building__shutter span { animation: shutter .9s var(--ease-out) both; }
@keyframes shutter { 0%{ transform: scaleX(0); } 45%{ transform: scaleX(1); } 55%{ transform: scaleX(1); } 100%{ transform: scaleX(0); } }
.building__layout { min-height: 105vh; padding: 18vh 0 12vh; display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: center; }
.building__copy h2 { margin: 20px 0 32px; max-width: 790px; font-size: clamp(54px,7.4vw,122px); line-height: .91; letter-spacing: -.06em; font-weight: 400; }
.building__copy p { margin: 0; max-width: 600px; font-size: 15px; line-height: 1.75; color: rgba(17,18,20,.64); }
.building .section-kicker { color: rgba(17,18,20,.42); }
.building__status { border-top: 1px solid rgba(17,18,20,.2); }
.status-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 19px 0; border-bottom: 1px solid rgba(17,18,20,.16); font-size: 13px; }
.status-row span { color: rgba(17,18,20,.52); }
.status-row strong { font-weight: 500; }
.status-row .live { display: inline-flex; align-items: center; gap: 9px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #405ca9; box-shadow: 0 0 0 4px rgba(64,92,169,.1); }

.horizon { min-height: 110vh; background: #08090b; }
.horizon::before { content: ""; position: absolute; left: 50%; bottom: -30vw; width: 130vw; height: 70vw; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(130,151,218,.15), rgba(130,151,218,0) 62%); filter: blur(10px); }
.horizon__line { position: absolute; inset: 0; pointer-events: none; }
.horizon__line::before { content: ""; position: absolute; left: 0; right: 0; top: 62%; height: 1px; background: linear-gradient(90deg, transparent, rgba(184,199,255,.2) 25%, rgba(184,199,255,.45) 50%, rgba(184,199,255,.2) 75%, transparent); }
.horizon__line span { position: absolute; left: 50%; top: 62%; width: 8px; height: 8px; border: 1px solid rgba(184,199,255,.55); transform: translate(-50%,-50%) rotate(45deg); background: #08090b; }
.horizon__layout { min-height: 110vh; padding: 16vh 0 54px; display: grid; grid-template-rows: auto 1fr auto; position: relative; z-index: 2; }
.horizon__top { display: flex; justify-content: space-between; color: rgba(236,235,231,.4); }
.horizon__message { align-self: center; padding-top: 7vh; }
.horizon__small { margin: 0 0 24px; color: rgba(236,235,231,.5); font-size: 13px; }
.horizon__title { margin: 0; font-size: clamp(60px,10vw,176px); line-height: .82; letter-spacing: -.07em; font-weight: 400; }
.horizon__title span { display: block; overflow: hidden; padding-bottom: .08em; }
.horizon__title span:last-child { padding-left: 13vw; color: #c9d1ed; }
.horizon__title span::after { content: ""; position: absolute; }
.horizon__footer { align-self: end; display: grid; grid-template-columns: 1fr 2fr auto; gap: 30px; border-top: 1px solid var(--line); padding-top: 18px; color: rgba(236,235,231,.48); font-size: 11px; }
.horizon__footer p { margin: 0; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header { height: 72px; padding-inline: 20px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: 72px 14px auto 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(10,11,14,.96);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    transform: translateY(-18px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .3s var(--ease-out);
  }
  .nav a { padding: 15px 12px; border-bottom: 1px solid rgba(255,255,255,.07); color: #ecebe7; opacity: .8; }
  .nav a:last-child { border-bottom: 0; }
  .site-header.menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .site-header.menu-open .nav-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }

  .hero__frame { inset: 16vh 20px 7vh; }
  .hero__content { padding-top: 112px; padding-bottom: 34px; }
  .hero__title-wrap { padding-bottom: 12vh; }
  .hero__title .title-line--2 { padding-left: 6vw; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__index { display: none; }

  .belief__layout { grid-template-columns: 1fr; gap: 7vh; padding: 16vh 0 10vh; }
  .section-meta { grid-template-columns: 1fr; gap: 20px; }
  .belief__foot { align-items: flex-start; flex-direction: column; }

  .work__intro { grid-template-columns: 1fr; }
  .work__intro h2 { grid-column: auto; }
  .work__stage { grid-template-columns: 1fr; }
  .work__visual { position: relative; top: auto; height: 62vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability { grid-template-columns: 50px 1fr 32px; gap: 18px; }
  .capability__desc { grid-column: 2; }
  .capability__arrow { grid-column: 3; grid-row: 1; }

  .craft__headline { grid-template-columns: 1fr; gap: 22px; }
  .craft__headline h2 { grid-column: auto; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__item:nth-child(2) { border-right: 0; }
  .process__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .craft__spec { margin-left: 0; width: 100%; grid-template-columns: 130px 1fr; }

  .building__layout { grid-template-columns: 1fr; gap: 10vh; }
  .horizon__footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100vw - 32px); }
  .ambient__beam { width: 120vw; height: 120vw; left: calc(var(--pointer-x) - 60vw); top: calc(var(--pointer-y) - 60vw); }
  .hero__grid { opacity: .28; }
  .eyebrow { display: grid; gap: 6px; }
  .hero__content { min-height: 100svh; }
  .hero__title { font-size: clamp(52px, 16.5vw, 78px); line-height: .9; }
  .hero__title .title-line--2 { padding-left: 0; }
  .hero__bottom { padding-top: 20px; }
  .hero__bottom p { max-width: 88%; }
  .hero__frame { inset: 14vh 16px 6vh; }

  .belief { min-height: auto; }
  .belief__layout { min-height: auto; padding: 16vh 0 12vh; }
  .statement-line { font-size: clamp(36px, 12.3vw, 58px); }

  .work { min-height: auto; }
  .work__layout { padding: 14vh 0 10vh; }
  .work__intro { padding-bottom: 8vh; }
  .work__intro h2, .craft__headline h2 { font-size: clamp(40px, 12vw, 62px); }
  .work__visual { height: 54vh; }
  .visual-frame { width: min(80%, 330px); }
  .capability { min-height: 180px; padding: 26px 8px; grid-template-columns: 38px 1fr 28px; }
  .capability:hover, .capability:focus-visible, .capability.is-active { padding-left: 12px; }
  .capability__name { font-size: 23px; }
  .capability__desc { font-size: 12px; }

  .craft { min-height: auto; }
  .craft__layout { padding: 14vh 0 10vh; }
  .craft__headline { margin-bottom: 10vh; }
  .process { grid-template-columns: 1fr; }
  .process__item { min-height: 310px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process__item:last-child { border-bottom: 0; }
  .process__item:nth-child(2) { border-right: 0; }
  .process__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .craft__spec { grid-template-columns: 1fr; gap: 18px; }

  .building { min-height: auto; }
  .building__layout { min-height: auto; padding: 15vh 0 12vh; }
  .building__copy h2 { font-size: clamp(54px, 16vw, 82px); }

  .horizon { min-height: 100svh; }
  .horizon__layout { min-height: 100svh; padding: 14vh 0 30px; }
  .horizon__top { gap: 20px; flex-direction: column; }
  .horizon__title { font-size: clamp(62px, 19vw, 100px); line-height: .86; }
  .horizon__title span:last-child { padding-left: 0; }
  .horizon__line::before, .horizon__line span { top: 67%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .title-line > span { transform: none; }
  .ambient__grain { animation: none; }
}

/* =========================================================
   SYNVERA V2 — SIGNATURE MOTION + CREATIVE DIRECTION
   ========================================================= */
:root {
  --mx: 0;
  --my: 0;
  --hero-progress: 0;
  --building-progress: 0;
  --scene-accent: #c8d2f2;
}

body { cursor: default; }
body.is-opening { overflow: hidden; }

/* Opening film gate */
.opening {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
}
.opening__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: #060709;
  will-change: transform;
}
.opening__panel--left { left: 0; transform-origin: left; }
.opening__panel--right { right: 0; transform-origin: right; }
.opening__lockup {
  position: relative;
  z-index: 2;
  width: min(460px, 72vw);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: rgba(236,235,231,.52);
  opacity: 0;
  transform: translateY(10px);
}
.opening__lockup span:last-child { text-align: right; }
.opening__lockup b {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(22px, 3vw, 42px);
  font-weight: 500;
  letter-spacing: -.05em;
  text-transform: none;
}
body.is-ready .opening__lockup { animation: openLockup .65s .18s var(--ease-out) both; }
body.is-ready .opening__panel--left { animation: gateLeft .88s .56s cubic-bezier(.76,0,.24,1) both; }
body.is-ready .opening__panel--right { animation: gateRight .88s .56s cubic-bezier(.76,0,.24,1) both; }
body.is-ready .opening__lockup { animation: openLockup .52s .14s var(--ease-out) both, lockupOut .28s .54s ease both; }
@keyframes openLockup { to { opacity: 1; transform: none; } }
@keyframes lockupOut { to { opacity: 0; filter: blur(8px); } }
@keyframes gateLeft { to { transform: translateX(-101%); } }
@keyframes gateRight { to { transform: translateX(101%); } }

/* Global ambient depth */
.ambient__ribbon {
  position: absolute;
  left: -15vw;
  top: 10vh;
  width: 130vw;
  height: 44vh;
  opacity: .17;
  background:
    linear-gradient(105deg, transparent 12%, rgba(184,199,255,.16) 38%, transparent 64%),
    linear-gradient(180deg, transparent, rgba(255,255,255,.035), transparent);
  transform: rotate(-8deg) translate3d(calc(var(--mx) * 12px), calc(var(--my) * 8px), 0);
  filter: blur(28px);
  mix-blend-mode: screen;
}

/* Refined custom cursor on pointer devices */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body { cursor: none; }
  a, button { cursor: none; }
  .cursor { position: fixed; inset: 0; z-index: 999; display: block; pointer-events: none; }
  .cursor__ring, .cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%,-50%); will-change: transform, width, height, opacity; }
  .cursor__ring { width: 34px; height: 34px; border: 1px solid rgba(236,235,231,.34); transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s ease, background .3s ease; }
  .cursor__dot { width: 3px; height: 3px; background: rgba(236,235,231,.86); }
  body.cursor-active .cursor__ring { width: 58px; height: 58px; border-color: rgba(200,210,242,.5); background: rgba(200,210,242,.035); }
  body.cursor-light .cursor__ring { border-color: rgba(17,18,20,.35); }
  body.cursor-light .cursor__dot { background: rgba(17,18,20,.82); }
}

/* Scene rail */
.scene-index {
  position: fixed;
  z-index: 150;
  left: max(18px, calc((100vw - 1440px)/2));
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(236,235,231,.38);
  pointer-events: none;
  transition: color .35s ease;
}
.scene-index i { width: 1px; height: 72px; background: linear-gradient(transparent, currentColor 25%, currentColor 75%, transparent); opacity: .6; }
.scene-index b { position: absolute; left: 18px; top: 50%; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; white-space: nowrap; font-weight: 400; opacity: .55; letter-spacing: .16em; }
body[data-scene="02"] .scene-index, body[data-scene="05"] .scene-index { color: rgba(17,18,20,.38); }

/* Hero gets stronger cinematic framing */
.hero { min-height: 110vh; }
.hero__ghost {
  position: absolute;
  inset: 11vh -4vw auto;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: .075;
  mask-image: linear-gradient(90deg, transparent, black 17%, black 83%, transparent);
}
.hero__ghost span {
  display: block;
  font-size: clamp(150px, 28vw, 540px);
  line-height: .72;
  font-weight: 600;
  letter-spacing: -.085em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(207,213,233,.7);
  transform: translate3d(calc(-8vw + var(--hero-progress) * 15vw), calc(var(--hero-progress) * 3vh),0);
  will-change: transform;
}
.hero__aperture { position: absolute; inset: 14vh 6vw 9vh; z-index: 1; pointer-events: none; opacity: .26; }
.hero__aperture i { position: absolute; background: rgba(236,235,231,.55); }
.hero__aperture i:nth-child(1), .hero__aperture i:nth-child(2) { top: 0; bottom: 0; width: 1px; transform: scaleY(0); animation: apertureY 1.05s 1.02s var(--ease-out) forwards; }
.hero__aperture i:nth-child(1) { left: 0; transform-origin: top; }
.hero__aperture i:nth-child(2) { right: 0; transform-origin: bottom; }
.hero__aperture i:nth-child(3), .hero__aperture i:nth-child(4) { left: 0; right: 0; height: 1px; transform: scaleX(0); animation: apertureX 1.05s 1.02s var(--ease-out) forwards; }
.hero__aperture i:nth-child(3) { top: 0; transform-origin: left; }
.hero__aperture i:nth-child(4) { bottom: 0; transform-origin: right; }
@keyframes apertureX { to { transform: scaleX(1); } }
@keyframes apertureY { to { transform: scaleY(1); } }
.hero__grid { transform: translate3d(calc(var(--mx) * -5px), calc(var(--my) * -5px), 0); transition: transform .2s linear; }
.hero__title-wrap { perspective: 900px; }
.hero__title .title-line--1 { transform: translate3d(calc(var(--hero-progress) * -3.8vw), calc(var(--my) * -3px), 0); }
.hero__title .title-line--2 { transform: translate3d(calc(var(--hero-progress) * 4.7vw), calc(var(--my) * 3px), 0); }
.hero__title .title-line { transition: transform .08s linear; will-change: transform; }
.hero__bottom { position: relative; }
.hero__bottom::after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  width: calc(var(--hero-progress) * 100%);
  height: 1px;
  background: linear-gradient(90deg, rgba(200,210,242,.0), rgba(200,210,242,.85), rgba(200,210,242,.0));
  max-width: 100%;
}

/* Moving film-splice band between acts */
.kinetic-band {
  position: relative;
  height: 74px;
  overflow: hidden;
  background: #0d0f12;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(236,235,231,.34);
  z-index: 5;
}
.kinetic-band::before, .kinetic-band::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15vw;
  z-index: 2;
  pointer-events: none;
}
.kinetic-band::before { left: 0; background: linear-gradient(90deg, #0d0f12, transparent); }
.kinetic-band::after { right: 0; background: linear-gradient(-90deg, #0d0f12, transparent); }
.kinetic-band__track {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: .22em;
  animation: kineticTrack 28s linear infinite;
}
.kinetic-band__track span { display: inline-flex; align-items: center; gap: 24px; }
@keyframes kineticTrack { to { transform: translateX(-33.333%); } }

/* Belief: more dimensional scene entry */
.belief::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(38,61,138,.06), transparent 32%, transparent 72%, rgba(38,61,138,.035));
  transform: translate3d(calc(var(--mx) * -8px), calc(var(--my) * -5px),0);
}
.statement-line { position: relative; transition: color .5s ease, transform .7s var(--ease-out); }
.statement-line.is-active { transform: translateX(1.2vw); }
.statement-line::after {
  content: "";
  position: absolute;
  left: -3vw;
  top: 53%;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: .24;
  transition: width .8s var(--ease-out);
}
.statement-line.is-active::after { width: 2vw; }

/* Capability sculpture */
.work::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 22% 48%, rgba(111,132,203,.075), transparent 26%);
}
.visual-orbit {
  position: absolute;
  width: min(72%, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(184,199,255,.09);
  border-radius: 50%;
  transition: transform .9s var(--ease-out), opacity .6s ease;
}
.visual-orbit--a { transform: rotate(17deg) scale(1.04); }
.visual-orbit--b { transform: rotate(-22deg) scale(.77); border-style: dashed; opacity: .55; }
.visual-frame { backdrop-filter: blur(1px); box-shadow: 0 0 0 1px rgba(255,255,255,.015) inset; }
.visual-pulse {
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%) scale(.55);
  border: 1px solid rgba(184,199,255,.15);
  border-radius: 50%;
  opacity: .6;
  animation: pulseFrame 4.8s ease-in-out infinite;
}
@keyframes pulseFrame { 50% { transform: translate(-50%,-50%) scale(1); opacity: .08; } }
.work__stage[data-state="intelligence"] .visual-orbit--a { transform: rotate(92deg) scale(.86); }
.work__stage[data-state="intelligence"] .visual-orbit--b { transform: rotate(-88deg) scale(1.12); }
.work__stage[data-state="engineering"] .visual-orbit--a { transform: rotate(0deg) scale(.72); border-radius: 4%; }
.work__stage[data-state="engineering"] .visual-orbit--b { transform: rotate(45deg) scale(.9); border-radius: 4%; }
.work__stage[data-state="design"] .visual-orbit--a { transform: rotate(145deg) scale(1.03); border-radius: 48% 2% 48% 2%; }
.work__stage[data-state="design"] .visual-orbit--b { transform: rotate(-145deg) scale(.7); border-radius: 2% 48% 2% 48%; }
.capability { position: relative; overflow: hidden; }
.capability::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .45s var(--ease-out);
  opacity: .7;
}
.capability.is-active::before, .capability:hover::before { transform: scaleY(1); }
.capability__name { transition: transform .45s var(--ease-out), color .35s ease; }
.capability.is-active .capability__name, .capability:hover .capability__name { transform: translateX(8px); color: #dbe2ff; }

/* Craft cards become tactile surfaces */
.process__item { position: relative; overflow: hidden; transition: background .45s ease, transform .5s var(--ease-out); transform-style: preserve-3d; }
.process__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 26%;
  background: linear-gradient(180deg, transparent, rgba(184,199,255,.11), transparent);
  transform: translateY(-150%);
  transition: transform .75s var(--ease-out);
}
.process__item:hover { background: rgba(255,255,255,.025); transform: translateY(-6px); }
.process__item:hover::before { transform: translateY(520%); }
.process__item h3 { transition: transform .45s var(--ease-out), color .35s ease; }
.process__item:hover h3 { transform: translate3d(0,-8px,22px); color: #d8e0ff; }
.process__item p { transition: color .35s ease, transform .45s var(--ease-out); }
.process__item:hover p { color: rgba(236,235,231,.68); transform: translate3d(0,-3px,12px); }
.bp-circle--1 { transform: translate3d(calc(var(--mx) * 18px), calc(var(--my) * 14px),0); }
.bp-circle--2 { transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px),0); }

/* In-progress scene with kinetic backdrop */
.building { overflow: hidden; }
.building__word {
  position: absolute;
  left: -4vw;
  top: 10vh;
  font-size: clamp(120px, 22vw, 410px);
  line-height: .8;
  letter-spacing: -.08em;
  font-weight: 600;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,18,20,.095);
  transform: translateX(calc(-8vw + var(--building-progress) * 16vw));
  pointer-events: none;
  will-change: transform;
}
.building__rails { position: absolute; inset: 0; pointer-events: none; }
.building__rails span { position: absolute; left: 0; right: 0; height: 1px; background: rgba(17,18,20,.09); }
.building__rails span:nth-child(1) { top: 21%; }
.building__rails span:nth-child(2) { top: 50%; }
.building__rails span:nth-child(3) { top: 79%; }
.status-row { position: relative; overflow: hidden; transition: padding .35s var(--ease-out), background .35s ease; }
.status-row::before { content: ""; position: absolute; inset: 0 100% 0 0; background: rgba(38,61,138,.055); transition: right .5s var(--ease-out); }
.status-row:hover { padding-left: 12px; padding-right: 12px; }
.status-row:hover::before { right: 0; }
.status-row > * { position: relative; z-index: 1; }

/* Final horizon becomes a cinematic end-frame */
.horizon { min-height: 122vh; }
.horizon__beam {
  position: absolute;
  left: 50%;
  top: 55%;
  width: 120vw;
  height: 34vw;
  transform: translate(-50%,-50%) rotate(-4deg);
  background: linear-gradient(90deg, transparent 8%, rgba(135,153,216,.02) 28%, rgba(165,180,231,.14) 50%, rgba(135,153,216,.02) 72%, transparent 92%);
  filter: blur(30px);
  opacity: .7;
  pointer-events: none;
}
.horizon__coordinates { position: absolute; left: 4vw; right: 4vw; top: 62%; display: flex; justify-content: space-between; color: rgba(236,235,231,.18); }
.horizon__line::before { transform: scaleX(.15); transform-origin: center; transition: transform 1.8s var(--ease-out), opacity .8s ease; }
.horizon.is-scene-visible .horizon__line::before { transform: scaleX(1); }
.horizon__line span { transition: transform 1.4s var(--ease-out), border-color .8s ease; }
.horizon.is-scene-visible .horizon__line span { transform: translate(-50%,-50%) rotate(225deg) scale(1.35); border-color: rgba(220,226,250,.8); }
.horizon__title span { transform: translateY(112%) rotate(1deg); transition: transform 1.15s var(--ease-out); }
.horizon__title span:last-child { transition-delay: .12s; }
.horizon.is-scene-visible .horizon__title span { transform: translateY(0) rotate(0); }
.horizon__footer { grid-template-columns: 1fr 1.5fr auto auto; align-items: center; }
.horizon__return { color: rgba(236,235,231,.72); text-decoration: none; font-size: 11px; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.horizon__return span { transition: transform .35s var(--ease-out); }
.horizon__return:hover span { transform: translateY(-5px); }

/* Magnetic elements */
.magnetic { --mag-x: 0px; --mag-y: 0px; transform: translate3d(var(--mag-x), var(--mag-y), 0); transition: transform .24s var(--ease-out); }

/* More cinematic reveal stagger */
[data-scene="03"].is-scene-visible .work__intro,
[data-scene="04"].is-scene-visible .craft__headline,
[data-scene="05"].is-scene-visible .building__copy { animation: sceneBreath 1.05s var(--ease-out) both; }
@keyframes sceneBreath { from { letter-spacing: .01em; filter: blur(4px); } to { letter-spacing: normal; filter: none; } }

@media (max-width: 1180px) {
  .scene-index { display: none; }
  .hero__aperture { inset-inline: 24px; }
}

@media (max-width: 980px) {
  .opening__lockup { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .opening__lockup span:last-child { text-align: center; }
  .kinetic-band { height: 62px; }
  .hero { min-height: 100svh; }
  .hero__ghost { top: 18vh; }
  .hero__ghost span { font-size: 34vw; }
  .visual-orbit { width: min(74%, 500px); }
  .horizon__coordinates { left: 20px; right: 20px; }
  .horizon__footer { grid-template-columns: 1fr 1fr; }
  .horizon__return { justify-self: end; }
}

@media (max-width: 620px) {
  body { cursor: auto; }
  .cursor { display: none !important; }
  .hero__aperture { inset: 12vh 16px 5vh; opacity: .2; }
  .hero__ghost { top: 20vh; inset-inline: -16vw; }
  .hero__ghost span { font-size: 45vw; -webkit-text-stroke-color: rgba(207,213,233,.45); }
  .kinetic-band__track { gap: 48px; }
  .statement-line.is-active { transform: translateX(0); }
  .statement-line::after { display: none; }
  .visual-orbit { width: 78%; }
  .building__word { top: 17vh; font-size: 34vw; }
  .horizon { min-height: 108svh; }
  .horizon__coordinates { display: none; }
  .horizon__footer { grid-template-columns: 1fr; }
  .horizon__return { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  body.is-opening { overflow: auto; }
  .opening { display: none; }
  .kinetic-band__track { animation: none; transform: none; }
  .hero__ghost span, .hero__title .title-line, .building__word, .bp-circle { transform: none !important; }
  .visual-pulse { animation: none; }
  .horizon__title span { transform: none; }
}

/* =========================================================
   SYNVERA V3 — KINETIC PRECISION
   ========================================================= */
:root {
  --belief-progress: 0;
  --cursor-angle: 0deg;
  --cursor-speed: 0;
  --cursor-sx: 1;
  --cursor-alpha: 1;
  --process-x: 50%;
  --portal-shift: 0px;
}

/* Opening: directional scan, no full-screen crosshair */
.opening__scan {
  position: absolute;
  left: 8vw;
  right: 8vw;
  top: 50%;
  height: 1px;
  overflow: visible;
  opacity: 0;
}
.opening__scan::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(236,235,231,.12);
}
.opening__scan span {
  position: absolute;
  top: -1px;
  left: 0;
  width: 18vw;
  max-width: 260px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(213,220,246,.95), transparent);
  filter: blur(.15px);
  transform: translateX(-120%);
}
body.is-ready .opening__scan { animation: scanReveal .22s .06s ease both; }
body.is-ready .opening__scan span { animation: openingScan .72s .12s cubic-bezier(.72,0,.18,1) both; }
@keyframes scanReveal { to { opacity: 1; } }
@keyframes openingScan { to { transform: translateX(calc(84vw - 100%)); } }

body.is-ready .opening { animation: openingAway .01s 1.46s linear forwards; }
@keyframes openingAway { to { opacity: 0; visibility: hidden; } }

/* Cursor: directional, velocity-aware, contextual */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: block;
    pointer-events: none;
    opacity: var(--cursor-alpha);
    transition: opacity .18s ease;
  }
  .cursor__halo,
  .cursor__trail,
  .cursor__dot,
  .cursor__label {
    position: fixed;
    left: 0;
    top: 0;
    will-change: transform, width, height, opacity;
  }
  .cursor__halo {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(236,235,231,.42);
    border-radius: 999px;
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) rotate(var(--cursor-angle)) scaleX(var(--cursor-sx));
    transform-origin: center;
    background: rgba(255,255,255,.006);
    transition: width .32s var(--ease-out), height .32s var(--ease-out), border-radius .32s var(--ease-out), border-color .25s ease, background .25s ease, transform .05s linear;
  }
  .cursor__trail {
    width: var(--cursor-trail-width, 10px);
    height: 1px;
    background: linear-gradient(90deg, rgba(210,219,250,.5), transparent);
    transform-origin: left center;
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) rotate(calc(var(--cursor-angle) + 180deg)) translateX(10px);
    opacity: calc(.12 + var(--cursor-speed) * .5);
  }
  .cursor__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(236,235,231,.96);
    box-shadow: 0 0 0 1px rgba(9,10,12,.12);
    transform: translate3d(var(--cursor-target-x,50vw),var(--cursor-target-y,50vh),0) translate(-50%,-50%);
    transition: background .2s ease, opacity .2s ease, transform .04s linear;
  }
  .cursor__label {
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) scale(.86);
    color: rgba(236,235,231,.92);
    font-size: 8px;
    letter-spacing: .12em;
    opacity: 0;
    transition: opacity .18s ease, transform .28s var(--ease-out), color .2s ease;
    white-space: nowrap;
  }
  body.cursor-active .cursor__halo {
    width: 82px;
    height: 34px;
    border-radius: 999px;
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) rotate(0deg) scaleX(1);
    border-color: rgba(205,216,252,.55);
    background: rgba(184,199,255,.05);
  }
  body.cursor-active .cursor__trail { opacity: 0; }
  body.cursor-active .cursor__dot { opacity: 0; }
  body.cursor-active .cursor__label {
    opacity: 1;
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) scale(1);
  }
  body.cursor-light .cursor__halo { border-color: rgba(17,18,20,.42); background: rgba(17,18,20,.025); }
  body.cursor-light .cursor__dot { background: rgba(17,18,20,.9); }
  body.cursor-light .cursor__trail { background: linear-gradient(90deg, rgba(17,18,20,.38), transparent); }
  body.cursor-light .cursor__label { color: rgba(17,18,20,.9); }
  body.cursor-hidden .cursor { opacity: 0; }
}

/* Hero optical slice: a narrow moving window that breaks the composition */
.hero__slice {
  position: absolute;
  z-index: 1;
  right: 10vw;
  top: 18vh;
  width: clamp(76px, 8vw, 130px);
  height: 55vh;
  border-left: 1px solid rgba(236,235,231,.13);
  border-right: 1px solid rgba(236,235,231,.13);
  overflow: hidden;
  pointer-events: none;
  opacity: .8;
  transform: translate3d(calc(var(--mx) * -7px), calc(var(--my) * 5px), 0);
}
.hero__slice::before,
.hero__slice::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,213,233,.45), transparent);
  z-index: 2;
}
.hero__slice::before { top: 13%; }
.hero__slice::after { bottom: 13%; }
.hero__slice span {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: clamp(120px, 19vw, 330px);
  line-height: .7;
  font-weight: 600;
  letter-spacing: -.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(205,214,245,.22);
  transform: translate(-50%,-50%) rotate(-90deg) translateX(calc(var(--hero-progress) * 70px));
  white-space: nowrap;
}
.hero__slice i {
  position: absolute;
  bottom: 2.4vh;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center;
  font-style: normal;
  font-family: "IBM Plex Mono", monospace;
  font-size: 8px;
  letter-spacing: .18em;
  white-space: nowrap;
  color: rgba(236,235,231,.38);
}
.hero__ticker {
  position: absolute;
  z-index: 2;
  left: 5.8vw;
  bottom: 13vh;
  display: grid;
  gap: 9px;
  color: rgba(236,235,231,.22);
  pointer-events: none;
}
.hero__ticker span {
  display: block;
  transform: translateX(calc(var(--hero-progress) * -28px));
  transition: color .25s ease;
}
.hero__ticker span:nth-child(2) { transform: translateX(calc(var(--hero-progress) * -18px + 12px)); }
.hero__ticker span:nth-child(3) { transform: translateX(calc(var(--hero-progress) * -8px + 26px)); }
.hero__ticker span:nth-child(4) { transform: translateX(calc(var(--hero-progress) * 2px + 38px)); color: rgba(205,214,245,.48); }

/* Belief gets an oversized typographic field, masked behind the content */
.belief__ghost-word {
  position: absolute;
  z-index: -1;
  right: -3vw;
  top: 28vh;
  font-size: clamp(150px, 31vw, 580px);
  line-height: .72;
  font-weight: 600;
  letter-spacing: -.095em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,18,20,.055);
  transform: translate3d(calc((var(--belief-progress) - .5) * 11vw), calc((var(--belief-progress) - .5) * -3vh), 0);
  pointer-events: none;
  white-space: nowrap;
}

/* Capability field follows the pointer with an understated local illumination */
.work__stage {
  --stage-x: 50%;
  --stage-y: 50%;
}
.work__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--stage-x) var(--stage-y), rgba(184,199,255,.055), transparent 62%);
  opacity: .9;
  z-index: 0;
}
.work__stage > * { position: relative; z-index: 1; }
.capability__arrow { transition: transform .38s var(--ease-out), opacity .3s ease; }
.capability:hover .capability__arrow,
.capability.is-active .capability__arrow { transform: translate(5px,-5px) rotate(6deg); opacity: 1; }

/* Process scanner: one precise line follows the pointer through the craft system */
.process { position: relative; --process-x: 50%; }
.process::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--process-x);
  width: 1px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(203,214,252,.48) 16%, rgba(203,214,252,.48) 84%, transparent);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity .25s ease;
  z-index: 3;
}
.process.is-tracking::after { opacity: .55; }
.process__item::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  right: 18px;
  top: 18px;
  border: 1px solid rgba(236,235,231,.18);
  border-radius: 50%;
  transition: transform .45s var(--ease-out), border-color .35s ease;
}
.process__item:hover::after { transform: scale(1.8); border-color: rgba(203,214,252,.52); }

/* Building status rows gain a measured sweep instead of another large motif */
.building__status { position: relative; }
.building__status::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--building-progress) * 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(38,61,138,.32), transparent);
  pointer-events: none;
  opacity: .7;
}

/* Final scene: orbital linework, not a blob */
.horizon__orbit {
  position: absolute;
  left: 50%;
  top: 58%;
  width: min(62vw, 980px);
  aspect-ratio: 1.65;
  transform: translate(-50%,-50%);
  pointer-events: none;
  opacity: .22;
}
.horizon__orbit span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(202,212,246,.25);
  border-radius: 50%;
  transform: scale(.72) rotate(-8deg);
  transition: transform 1.8s var(--ease-out), opacity 1s ease;
}
.horizon__orbit span:last-child {
  inset: 16%;
  border-style: dashed;
  opacity: .44;
  transform: scale(.82) rotate(9deg);
}
.horizon.is-scene-visible .horizon__orbit span:first-child { transform: scale(1) rotate(0deg); }
.horizon.is-scene-visible .horizon__orbit span:last-child { transform: scale(1) rotate(-3deg); }

/* Section entry gets a narrow light seam — short, intentional, and never full-screen */
.scene:not(.hero)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  opacity: .08;
  transform: scaleX(.15);
  transform-origin: left;
  transition: transform 1.15s var(--ease-out), width 1.15s var(--ease-out);
  pointer-events: none;
}
.scene.is-scene-visible:not(.hero)::after { transform: scaleX(1); width: 42%; }

@media (max-width: 1180px) {
  .hero__slice { right: 4vw; width: 78px; opacity: .55; }
  .hero__ticker { display: none; }
}

@media (max-width: 760px) {
  .hero__slice { display: none; }
  .belief__ghost-word { right: -24vw; top: 34vh; font-size: 52vw; }
  .horizon__orbit { width: 116vw; opacity: .14; }
  .process::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .opening__scan { display: none; }
  .hero__slice span,
  .belief__ghost-word,
  .hero__ticker span { transform: none !important; }
  .horizon__orbit span { transform: none !important; }
}

/* =========================================================
   SYNVERA V4 — CINEMATIC FOCUS / SCENE MORPHING
   ========================================================= */
:root {
  --act-progress: 0;
  --act-y: 100%;
  --act-x: 0vw;
  --horizon-progress: 0;
}

/* Hero inspection layer: revealed only through a local focus field */
.hero {
  --hero-x: 72%;
  --hero-y: 42%;
}
.hero__inspection {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  color: rgba(205,214,245,.38);
  opacity: .84;
  -webkit-mask-image: radial-gradient(circle 210px at var(--hero-x) var(--hero-y), #000 0 42%, rgba(0,0,0,.86) 56%, transparent 78%);
  mask-image: radial-gradient(circle 210px at var(--hero-x) var(--hero-y), #000 0 42%, rgba(0,0,0,.86) 56%, transparent 78%);
  transition: opacity .35s ease;
}
.hero__inspection::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: var(--hero-x);
  top: var(--hero-y);
  border: 1px solid rgba(214,222,248,.72);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(calc(.8 + var(--cursor-speed) * .35));
  box-shadow: 0 0 0 7px rgba(214,222,248,.025);
}
.hero__inspection svg { width: 100%; height: 100%; }
.inspection__geometry,
.inspection__ticks {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.inspection__geometry { opacity: .58; }
.inspection__ticks { opacity: .7; }
.inspection__label {
  position: absolute;
  color: rgba(218,224,247,.62);
  font-size: 8px;
  letter-spacing: .16em;
}
.inspection__label--a { left: 23%; top: 55%; }
.inspection__label--b { left: 57%; top: 31%; }
.inspection__label--c { right: 9%; top: 51%; }

/* Hero title gains a restrained optical refraction on interaction */
.hero__title {
  position: relative;
  filter: saturate(calc(1 + var(--cursor-speed) * .08));
}
.hero__title::after {
  content: "";
  position: absolute;
  left: 11%;
  right: 4%;
  top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(202,212,246,.28), rgba(202,212,246,.62), transparent);
  transform: scaleX(calc(.28 + var(--hero-progress) * .72));
  transform-origin: left center;
  opacity: calc(.16 + var(--cursor-speed) * .18);
}

/* Scene bridge between belief and capability becomes a true film cut */
.act-transition {
  position: relative;
  height: clamp(190px, 27vh, 330px);
  overflow: hidden;
  background: var(--paper);
  color: var(--paper-ink);
  isolation: isolate;
}
.act-transition__base,
.act-transition__dark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.act-transition__base span,
.act-transition__dark span {
  display: block;
  width: max-content;
  white-space: nowrap;
  font-size: clamp(72px, 14.5vw, 245px);
  line-height: .74;
  letter-spacing: -.075em;
  font-weight: 500;
  transform: translateX(var(--act-x));
  transition: transform .06s linear;
}
.act-transition__base span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(17,18,20,.23);
}
.act-transition__dark {
  background: #0b0c0f;
  color: var(--ink);
  transform: translateY(var(--act-y));
  transition: transform .08s linear;
  z-index: 2;
}
.act-transition__dark span {
  color: rgba(236,235,231,.92);
  transform: translateX(calc(var(--act-x) * -1));
}
.act-transition__meta {
  position: absolute;
  z-index: 3;
  inset: auto 4vw 18px 4vw;
  display: flex;
  justify-content: space-between;
  color: rgba(17,18,20,.42);
  mix-blend-mode: difference;
}
.act-transition::before,
.act-transition::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.12);
  opacity: .5;
}
.act-transition::before { left: 4vw; }
.act-transition::after { right: 4vw; }

/* Capability visual receives a morphing central glyph tied to each discipline */
.visual-glyph {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38%;
  aspect-ratio: 1;
  transform: translate(-50%,-50%);
  transition: transform .8s var(--ease-out), opacity .45s ease;
}
.visual-glyph span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,222,248,.7), transparent);
  transform-origin: center;
  transition: transform .8s var(--ease-out), width .8s var(--ease-out), opacity .45s ease, border-radius .45s ease;
}
.visual-glyph span:nth-child(1) { transform: translate(-50%,-50%) rotate(0deg); }
.visual-glyph span:nth-child(2) { transform: translate(-50%,-50%) rotate(90deg); }
.visual-glyph span:nth-child(3) { transform: translate(-50%,-50%) rotate(45deg); opacity: .5; }
.visual-glyph span:nth-child(4) { transform: translate(-50%,-50%) rotate(-45deg); opacity: .5; }
.visual-readout {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  justify-items: end;
  gap: 4px;
  color: rgba(236,235,231,.28);
}
.visual-readout b {
  font-weight: 500;
  color: rgba(203,214,252,.72);
}
.work__stage[data-state="product"] .visual-glyph { transform: translate(-50%,-50%) scale(.92); }
.work__stage[data-state="product"] .visual-glyph span:nth-child(1) { transform: translate(-50%,-50%) translateY(-34px); width: 72%; }
.work__stage[data-state="product"] .visual-glyph span:nth-child(2) { transform: translate(-50%,-50%) rotate(90deg) translateY(-34px); width: 72%; }
.work__stage[data-state="product"] .visual-glyph span:nth-child(3) { transform: translate(-50%,-50%) translateY(34px); width: 72%; opacity: .8; }
.work__stage[data-state="product"] .visual-glyph span:nth-child(4) { transform: translate(-50%,-50%) rotate(90deg) translateY(34px); width: 72%; opacity: .8; }
.work__stage[data-state="intelligence"] .visual-glyph { transform: translate(-50%,-50%) rotate(45deg) scale(.9); }
.work__stage[data-state="intelligence"] .visual-glyph span { width: 82%; }
.work__stage[data-state="intelligence"] .visual-glyph span:nth-child(1) { transform: translate(-50%,-50%) rotate(22deg); }
.work__stage[data-state="intelligence"] .visual-glyph span:nth-child(2) { transform: translate(-50%,-50%) rotate(68deg); }
.work__stage[data-state="intelligence"] .visual-glyph span:nth-child(3) { transform: translate(-50%,-50%) rotate(112deg); opacity: .72; }
.work__stage[data-state="intelligence"] .visual-glyph span:nth-child(4) { transform: translate(-50%,-50%) rotate(158deg); opacity: .72; }
.work__stage[data-state="engineering"] .visual-glyph { transform: translate(-50%,-50%) scale(1.08); }
.work__stage[data-state="engineering"] .visual-glyph span:nth-child(1) { transform: translate(-50%,-50%) translateY(-42px); width: 58%; }
.work__stage[data-state="engineering"] .visual-glyph span:nth-child(2) { transform: translate(-50%,-50%) rotate(90deg); width: 86%; }
.work__stage[data-state="engineering"] .visual-glyph span:nth-child(3) { transform: translate(-50%,-50%) translateY(42px); width: 58%; opacity: .8; }
.work__stage[data-state="engineering"] .visual-glyph span:nth-child(4) { transform: translate(-50%,-50%) rotate(90deg) translateY(-38px); width: 44%; opacity: .8; }
.work__stage[data-state="design"] .visual-glyph { transform: translate(-50%,-50%) rotate(-12deg) scale(.92); }
.work__stage[data-state="design"] .visual-glyph span:nth-child(1) { transform: translate(-50%,-50%) rotate(-24deg) translateY(-24px); width: 86%; }
.work__stage[data-state="design"] .visual-glyph span:nth-child(2) { transform: translate(-50%,-50%) rotate(8deg) translateY(18px); width: 64%; }
.work__stage[data-state="design"] .visual-glyph span:nth-child(3) { transform: translate(-50%,-50%) rotate(34deg) translateY(36px); width: 44%; opacity: .76; }
.work__stage[data-state="design"] .visual-glyph span:nth-child(4) { transform: translate(-50%,-50%) rotate(72deg) translateY(-30px); width: 34%; opacity: .45; }

/* Work stage gets a slow edge sweep only when it is the current scene */
.work__visual::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203,214,252,.55), transparent);
  transform: translateY(-2px);
  opacity: 0;
}
.work.is-scene-visible .work__visual::after {
  animation: workSweep 4.8s 1.1s var(--ease) infinite;
}
@keyframes workSweep {
  0%, 100% { transform: translateY(0); opacity: 0; }
  8% { opacity: .5; }
  58% { opacity: .18; }
  72% { transform: translateY(calc(100vh - 86px)); opacity: 0; }
}

/* Building section gets a moving production tape, restrained and utilitarian */
.building__ticker {
  position: absolute;
  z-index: 2;
  top: 84px;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(17,18,20,.09);
  border-bottom: 1px solid rgba(17,18,20,.09);
  color: rgba(17,18,20,.3);
}
.building__ticker div {
  display: flex;
  width: max-content;
  padding: 9px 0;
  animation: buildingTape 20s linear infinite;
}
.building__ticker span { padding-right: 6vw; }
@keyframes buildingTape { to { transform: translateX(-33.333%); } }
.building__layout { padding-top: calc(15vh + 38px); }

/* Final act gets an enormous typographic shadow instead of more particles */
.horizon__ghost-word {
  position: absolute;
  z-index: 0;
  left: -4vw;
  bottom: -2vh;
  font-size: clamp(160px, 29vw, 560px);
  line-height: .64;
  font-weight: 600;
  letter-spacing: -.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(215,222,246,.055);
  transform: translate3d(calc((var(--horizon-progress) - .45) * -8vw), calc((var(--horizon-progress) - .45) * 4vh), 0);
  pointer-events: none;
  white-space: nowrap;
}
.horizon__orbit {
  transform: translate(-50%,-50%) scale(calc(.82 + var(--horizon-progress) * .2));
}
.horizon__beam {
  opacity: calc(.38 + var(--horizon-progress) * .42);
}

/* Cursor press state: tactile, compact, no gimmicky burst */
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body.cursor-down .cursor__halo {
    width: 20px;
    height: 20px;
    border-color: rgba(220,226,250,.86);
    background: rgba(205,216,252,.12);
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) rotate(var(--cursor-angle)) scaleX(.9);
  }
  body.cursor-down.cursor-active .cursor__halo {
    width: 64px;
    height: 28px;
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) scale(.94);
  }
  body.cursor-down .cursor__label {
    transform: translate3d(var(--cursor-x,50vw),var(--cursor-y,50vh),0) translate(-50%,-50%) scale(.92);
  }
}

@media (max-width: 1180px) {
  .hero__inspection { opacity: .55; }
  .act-transition__base span,
  .act-transition__dark span { font-size: clamp(66px, 14vw, 170px); }
}

@media (max-width: 760px) {
  .hero__inspection {
    opacity: .26;
    -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 30%, #000 72%, transparent 92%);
    mask-image: linear-gradient(180deg, transparent 10%, #000 30%, #000 72%, transparent 92%);
  }
  .inspection__label { display: none; }
  .hero__inspection::after { display: none; }
  .act-transition { height: 180px; }
  .act-transition__base span,
  .act-transition__dark span { font-size: 22vw; }
  .act-transition__meta { left: 16px; right: 16px; bottom: 14px; font-size: 8px; }
  .visual-glyph { width: 46%; }
  .building__ticker { top: 72px; }
  .building__layout { padding-top: calc(13vh + 34px); }
  .horizon__ghost-word { left: -14vw; bottom: 2vh; font-size: 56vw; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__inspection,
  .act-transition__dark,
  .act-transition__base span,
  .act-transition__dark span,
  .visual-glyph,
  .visual-glyph span,
  .horizon__ghost-word,
  .horizon__orbit { transform: none !important; }
  .work.is-scene-visible .work__visual::after,
  .building__ticker div { animation: none !important; }
  .act-transition__dark { transform: translateY(0) !important; opacity: .12; }
}

/* ============================================================
   SYNVERA / V5 — DIRECTOR'S CUT
   Art direction: architecture, moving light, negative space.
   The page stays static HTML / CSS / light vanilla JS.
   ============================================================ */

/* HERO / an asymmetric folded-light object occupying real space */
.hero { min-height: min(960px, 100svh); background: #08090c; }
.hero::before { opacity: .3; }
.hero__cinema {
  position: absolute;
  z-index: 1;
  width: min(77vw, 1180px);
  height: min(106vh, 1080px);
  right: -8vw;
  top: -5vh;
  pointer-events: none;
  transform: translate3d(calc(var(--mx, 0) * -16px),calc(var(--my, 0) * -12px + var(--hero-progress, 0) * -110px),0);
  will-change: transform;
}
.hero__cinema-haze {
  position: absolute;
  inset: 7% 10% 10% 2%;
  opacity: .7;
  background: radial-gradient(ellipse at 55% 49%, rgba(123,155,210,.15),rgba(89,114,163,.06) 30%,transparent 68%);
  filter: blur(22px);
}
.hero__cinema-art {
  display: block;
  width: 100%; height: 100%;
  overflow: visible;
  opacity: .95;
  filter: drop-shadow(-24px 22px 40px rgba(4,8,15,.7));
  transform: rotate(-6deg) scale(.96);
  animation: foldArrive 2.4s .1s var(--ease-out) both, foldFloat 14s 2.5s ease-in-out infinite alternate;
}
.hero__cinema-shell { transform-origin: 60% 52%; }
.hero__cinema-ray { stroke-dasharray: 900; stroke-dashoffset: 900; animation: cinemaTrace 3s .8s var(--ease-out) both; }
.hero__cinema-marks { opacity: .46; }
.hero__cinema-caption {
  position: absolute;
  right: 17%;
  top: 72%;
  writing-mode: vertical-rl;
  color: rgba(229,234,248,.32);
  letter-spacing: .18em;
  font-size: 9px;
}
@keyframes foldArrive {
  from { opacity: 0; transform: translate3d(8%,8%,0) rotate(-18deg) scale(.85); }
  to { opacity: 1; transform: translate3d(0,0,0) rotate(-6deg) scale(.96); }
}
@keyframes foldFloat { to { transform: translate3d(-1.5%,-1.3%,0) rotate(-3deg) scale(.98); } }
@keyframes cinemaTrace { to { stroke-dashoffset: 0; } }
.hero__ghost { opacity: .22; }
.hero__inspection { opacity: .34; }
.hero__grid { opacity: .21; }
.hero__frame { opacity: .22; }
.hero__title-wrap { position: relative; z-index: 4; padding-bottom: 11vh; }
.hero__title { max-width: 1350px; font-size: clamp(58px,8.55vw,165px); letter-spacing: -.078em; text-shadow: 0 12px 45px rgba(0,0,0,.12); }
.hero__title .title-line--2 { color: #e3e6ed; padding-left: min(11vw, 160px); }
.hero__title::after { opacity: .12; }
.hero__bottom { position: relative; z-index: 4; }
.hero .eyebrow { position: relative; z-index: 4; }
.hero__content { min-height: 100svh; }

/* FORMATION / the signature 3-shot transformation */
.formation {
  height: 315vh;
  min-height: 1500px;
  position: relative;
  color: #f2f2f0;
  background: #07080a;
  isolation: isolate;
}
.formation__sticky {
  height: 100svh;
  min-height: 590px;
  position: sticky;
  top: 0;
  overflow: clip;
  isolation: isolate;
  background: radial-gradient(ellipse at 55% 53%, #111621 0, #090b0f 42%, #060709 85%);
}
.formation__sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .18;
  background: repeating-linear-gradient(90deg, transparent 0,transparent calc(25% - 1px),rgba(222,229,244,.08) 25%);
  mask-image: linear-gradient(180deg,transparent 7%,black 20%,black 83%,transparent 95%);
}
.formation__sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow: inset 0 0 120px rgba(0,0,0,.86);
}
.formation__environment { position: absolute; inset: 0; pointer-events: none; }
.formation__environment::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg,transparent 36%,rgba(167,192,242,.045) 50%,transparent 65%);
  transform: translateX(calc((var(--form-progress, 0) - .5) * 40%));
}
.formation__light {
  position: absolute;
  left: 50%; top: 50%;
  width: 90vw; height: 120vh;
  transform: translate(-50%,-50%) rotate(calc(-15deg + var(--form-progress,0) * 34deg));
  background: linear-gradient(90deg, transparent 0%,rgba(115,149,203,.06) 33%,rgba(202,223,252,.22) 49.8%,rgba(148,177,218,.06) 54%,transparent 78%);
  opacity: calc(.62 + var(--form-progress,0) * .38);
  clip-path: polygon(36% 0,58% 0,91% 100%,8% 100%);
  filter: blur(5px);
}
.formation__gate {
  position: absolute;
  left: 50%;top: 51%;
  width: clamp(180px,26vw,450px);
  height: clamp(320px,71vh,720px);
  border: 1px solid rgba(213,230,255,.31);
  border-radius: 46% 46% 2% 2% / 32% 32% 1% 1%;
  box-shadow: 3px 1px 0 rgba(232,244,255,.15),12px 0 45px rgba(138,168,211,.06),inset -5px 1px 22px rgba(202,224,253,.13);
  transform: translate(-50%,-50%) perspective(800px) rotateY(calc(-43deg + var(--form-progress,0) * 65deg)) rotateZ(calc(-14deg + var(--form-progress,0) * 19deg)) scale(calc(.8 + var(--form-progress,0) * .46));
  will-change: transform;
}
.formation__gate--first {
  background: linear-gradient(104deg,#05070b 16%,#1a2638 41%,#080b10 49%,#637896 50%,#0c121c 52%,#080a0e 73%);
}
.formation__gate--second {
  width: clamp(175px,25vw,420px);
  height: clamp(300px,65vh,700px);
  border-color: rgba(223,231,249,.38);
  background: linear-gradient(110deg,transparent 27%,rgba(186,206,241,.14) 49%,transparent 53%);
  transform: translate(-49%,-50%) perspective(800px) rotateY(calc(40deg - var(--form-progress,0) * 57deg)) rotateZ(calc(10deg - var(--form-progress,0) * 24deg)) scale(calc(.9 + var(--form-progress,0) * .4));
  opacity: .8;
}
.formation__seam {
  position: absolute;
  left: 50%; top: 50%;
  width: 1px;
  height: 92vh;
  transform: translate(-50%,-50%) rotate(calc(-14deg + var(--form-progress,0) * 22deg));
  background: linear-gradient(transparent,rgba(244,246,252,.2) 16%,rgba(242,246,252,.82) 48%,rgba(242,246,252,.12) 80%,transparent);
  box-shadow: 0 0 34px 2px rgba(182,208,246,.14);
  opacity: calc(.22 + var(--form-progress,0) * .74);
}
.formation__inscription {
  position: absolute;
  left: 8vw; bottom: 17vh;
  color: rgba(223,233,247,.29);
  writing-mode: vertical-rl;
  font-size: 9px;
  letter-spacing: .18em;
}
.formation__inner { position: relative; z-index: 5; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 13vh 0 7vh; }
.formation__top,
.formation__bottom { display:flex; align-items:center; justify-content:space-between; gap:30px; color:rgba(240,242,245,.45); }
.formation__top { border-top:1px solid rgba(226,236,255,.17); padding-top:17px; }
.formation__scenes { position: relative; display: grid; align-items:center; text-align:center; }
.formation__scene { grid-area:1/1; opacity:0; transform:translate3d(0,58px,0) scale(.985); filter:blur(5px); pointer-events:none; transition:opacity .55s ease,transform .85s var(--ease-out),filter .7s ease; }
.formation__scene.is-current { opacity:1; transform:none; filter:blur(0); }
.formation__label { display:block; margin-bottom:36px; color:rgba(222,230,246,.66); font-size:10px; }
.formation__scene p { margin:0 auto; font-size:clamp(48px,7.3vw,133px); font-weight:400; letter-spacing:-.075em; line-height: .98; text-wrap:balance; max-width:1260px; }
.formation__scene em { font-style:normal; color:#cbd4ec; }
.formation__bottom { border-top:1px solid rgba(226,236,255,.19); padding-top:22px; }
.formation__bottom p { margin:0; font-size:12px; letter-spacing:-.01em; }
.formation__bottom > .mono { font-size:9px; }
.formation__controls { display:flex; align-items:center; gap:10px; }
.formation__controls button { display:flex; gap:9px; align-items:center; border:0; padding:8px 4px; background:none; color:rgba(226,236,255,.43); cursor:pointer; font:400 10px/1 "IBM Plex Mono",monospace; transition:color .2s ease; }
.formation__controls button span { font-variant-numeric:tabular-nums; }
.formation__controls button i { width:28px; height:2px; background:rgba(226,236,255,.2); position:relative; overflow:hidden; }
.formation__controls button i::after { content:''; position:absolute; inset:0; background:#e7edfa; transform:scaleX(0); transform-origin:left; transition:transform .55s var(--ease-out); }
.formation__controls button.is-current { color:#f4f6fb; }
.formation__controls button.is-current i::after { transform:scaleX(1); }
.formation__controls button:focus-visible { outline:1px solid #fff;outline-offset:5px; }

/* Craft / one assertive compositional idea instead of four ordinary cards */
.craft__giantword {
  position:absolute;
  z-index:0;
  left:-3vw;
  top:13%;
  font-size:clamp(100px,22vw,400px);
  line-height:.8;
  font-weight:600;
  letter-spacing:-.09em;
  color:transparent;
  -webkit-text-stroke:1px rgba(221,225,243,.085);
  white-space:nowrap;
  transform:translate3d(calc(var(--craft-progress,0) * -9vw),0,0);
  pointer-events:none;
}
.craft__giantword span { display:block; padding-left:26vw; font-size:.26em; letter-spacing:-.03em; -webkit-text-stroke-color:rgba(221,225,243,.13); }
.craft__layout { z-index: 2; position:relative; }
.process__item { transition:background .35s ease,border-color .35s ease,transform .45s var(--ease-out); }
.process__item:hover,
.process__item:focus-within { background:rgba(189,210,244,.025); border-color:rgba(219,228,252,.24); }

/* Closing titles: photography-like negative space, typographic end card */
.horizon__endcard { position:absolute; inset:0; pointer-events:none; display:flex; justify-content:space-between; align-items:center; padding:0 3vw; z-index:1; transform:rotate(-90deg) translateX(-3%); transform-origin:center; opacity:.12; font:500 9px/1 "IBM Plex Mono",monospace; letter-spacing:.26em; }
.horizon__layout { z-index:3; }
.horizon__title { text-shadow:0 26px 80px rgba(0,0,0,.38); }
.horizon__message { transform:translate3d(0,calc((1 - var(--horizon-progress,0)) * 28px),0); }

@media (max-width: 1100px) {
  .hero__cinema { width:86vw; right:-17vw; top:0; height:88vh; }
  .hero__title { font-size:clamp(56px,9vw,112px); }
  .hero__title .title-line--2 { padding-left:5vw; }
  .formation__scene p { font-size:clamp(47px,8.2vw,90px); }
}
@media (max-width:760px) {
  .hero { min-height:100svh; }
  .hero__cinema { width:130vw; right:-19vw; top:5vh; height:67vh; opacity:.57; transform:none; }
  .hero__cinema-caption { display:none; }
  .hero__cinema-haze { opacity:.6; }
  .hero__cinema-art { animation:foldArrive 1.6s .12s var(--ease-out) both; }
  .hero__ghost { opacity:.13; }
  .hero__grid { opacity:.14; }
  .hero__title { font-size:clamp(52px,15.7vw,86px); line-height:.93; }
  .hero__title .title-line--2 { padding-left:0; }
  .hero__title-wrap { padding-bottom:8vh; }
  .hero__title::after { display:none; }
  .formation { height:290svh; min-height:1550px; }
  .formation__sticky { min-height:490px; }
  .formation__inner { padding:112px 0 36px; }
  .formation__top { font-size:8px; }
  .formation__top span:last-child { display:none; }
  .formation__scene p { font-size:clamp(44px,10.4vw,77px); line-height:1.03; }
  .formation__label { margin-bottom:28px; font-size:9px; }
  .formation__gate { height:58vh; width:50vw; }
  .formation__gate--second { height:54vh; width:48vw; }
  .formation__bottom { display:grid; grid-template-columns:1fr auto; row-gap:25px; }
  .formation__bottom > .mono { grid-column:1 / -1; }
  .formation__inscription { display:none; }
  .craft__giantword { top:22%; font-size:43vw; }
  .craft__giantword span { padding-left:10vw; }
  .horizon__endcard { display:none; }
}
@media (max-width:390px) {
  .hero__cinema { right:-22vw; opacity:.49; }
  .hero__title { font-size:clamp(48px,15vw,59px); }
  .formation__scene p { font-size:clamp(39px,10.5vw,52px); }
  .formation__bottom { gap:20px; }
  .formation__controls { gap:5px; }
  .formation__controls button i { width:18px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero__cinema, .hero__cinema-art, .hero__cinema-ray, .craft__giantword, .horizon__message { animation:none!important;transform:none!important; }
  .formation { height:100svh; min-height:620px; }
  .formation__scene:not([data-form-frame="0"]) { display:none; }
  .formation__scene[data-form-frame="0"] { opacity:1; transform:none; filter:none; }
  .formation__controls { display:none; }
  .formation__gate { transform:translate(-50%,-50%) rotate(-10deg)!important; }
  .formation__gate--second { transform:translate(-49%,-50%) rotate(10deg)!important; }
  .formation__light { transform:translate(-50%,-50%)!important; }
}
