/* akasx.com: brand colours from brand/BRAND.md */
:root {
  --ink: #141414;
  --void: #0b0b0c;
  --sky: #3BA3F2;
  --amber: #F2A33B;
  --white: #ffffff;
  --mist: rgba(255, 255, 255, .62);
  --dim: rgba(255, 255, 255, .38);
  --line: rgba(255, 255, 255, .12);
  --sans: "Avenir Next", "Avenir", Manrope, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--void); }
body {
  background: var(--void); color: var(--white); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden; cursor: none;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
::selection { background: var(--sky); color: var(--ink); }

/* the mark, recoloured with a mask so it is never redrawn */
.mark {
  display: inline-block; background: currentColor;
  -webkit-mask: url(/brand/akasx-mark-white.svg) center / contain no-repeat;
  mask: url(/brand/akasx-mark-white.svg) center / contain no-repeat;
}

/* ---------- intro ---------- */
#intro {
  position: fixed; inset: 0; z-index: 100; background: var(--void);
  display: grid; place-items: center; transition: clip-path 1.1s var(--ease);
  clip-path: inset(0 0 0 0);
}
#intro.out { clip-path: inset(0 0 100% 0); }
.intro-mark {
  width: 120px; height: 120px; color: var(--white);
  filter: drop-shadow(0 0 0 var(--sky));
  animation: ignite 1.6s var(--ease) forwards; opacity: 0; transform: scale(.6) rotate(-20deg);
}
@keyframes ignite {
  40% { opacity: 1; transform: scale(1.05) rotate(0); filter: drop-shadow(0 0 40px var(--sky)); }
  100% { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 18px rgba(59, 163, 242, .6)); }
}
.intro-line { position: absolute; left: 10vw; right: 10vw; top: calc(50% + 110px); height: 1px; background: var(--line); }
.intro-line i { position: absolute; inset: 0; background: var(--sky); transform-origin: left; transform: scaleX(0); animation: draw 1.5s .2s var(--ease) forwards; }
.intro-line::after { content: ""; position: absolute; left: 50%; top: -4px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 20px var(--amber); opacity: 0; animation: pop .4s 1.4s forwards; }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes pop { to { opacity: 1; } }
.intro-count { position: absolute; bottom: 32px; right: 36px; color: var(--dim); font-size: 11px; }

/* ---------- cursor + grain ---------- */
#cursor { position: fixed; z-index: 99; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; pointer-events: none; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-color .3s, background .3s; mix-blend-mode: difference; }
#cursor i { position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: var(--amber); }
#cursor.hot { width: 70px; height: 70px; margin: -35px 0 0 -35px; border-color: var(--sky); background: rgba(59,163,242,.12); }
@media (hover: none) { #cursor { display: none; } body { cursor: auto; } }
.grain { position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-4%,3%); } 40% { transform: translate(3%,-5%); } 60% { transform: translate(-6%,2%); } 80% { transform: translate(5%,4%); } }

/* ---------- nav ---------- */
#nav { position: fixed; z-index: 50; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(16px, 4vw, 48px); mix-blend-mode: difference; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .mark { width: 26px; height: 26px; color: var(--white); transition: transform .6s var(--ease); }
.brand:hover .mark { transform: rotate(-25deg) scale(1.1); }
.brand b { font-weight: 700; letter-spacing: .32em; font-size: 15px; }
#nav nav { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; }
#nav nav a { position: relative; color: var(--mist); transition: color .3s; }
#nav nav a:hover { color: var(--white); }
#nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
#nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }
#nav .yt { font-size: 10px; border: 1px solid var(--line); border-radius: 50%; width: 32px; height: 32px; display: grid; place-items: center; letter-spacing: 0; }
@media (max-width: 640px) { #nav nav a:not(.yt) { display: none; } }

/* ---------- hero ---------- */
#hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: grid; place-items: center; }
#hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
#hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(11,11,12,.75) 85%), linear-gradient(to bottom, rgba(11,11,12,.35), transparent 30%, transparent 70%, var(--void)); pointer-events: none; }
#stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hud { position: absolute; z-index: 1; width: min(92vmin, 900px); opacity: .55; animation: spin 120s linear infinite; pointer-events: none; }
.hud .ring { fill: none; stroke: rgba(255,255,255,.12); stroke-width: 1; }
.hud .r2 { stroke: rgba(59,163,242,.35); stroke-dasharray: 2 10; }
.hud .r3 { stroke: rgba(255,255,255,.08); stroke-dasharray: 60 20 4 20; }
.hud .ticks line { stroke: rgba(255,255,255,.25); }
.hud .sat { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-inner { position: relative; z-index: 2; text-align: center; padding: 0 16px; }
.hero-mark { width: clamp(44px, 6vw, 72px); height: clamp(44px, 6vw, 72px); color: var(--white); margin-bottom: 18px; filter: drop-shadow(0 0 22px rgba(59,163,242,.7)); opacity: 0; transform: translateY(20px); }
.word { display: flex; justify-content: center; font-weight: 800; font-size: clamp(64px, 17vw, 260px); line-height: .88; letter-spacing: .06em; margin-right: -.06em; }
.word span { display: inline-block; opacity: 0; transform: translateY(60%) rotateX(-80deg); transform-origin: 50% 100%; background: linear-gradient(180deg, #fff 40%, rgba(255,255,255,.55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { margin-top: 26px; display: flex; gap: .6em; justify-content: center; align-items: center; font-size: clamp(18px, 2.6vw, 34px); font-weight: 300; letter-spacing: .08em; opacity: 0; }
.kicker em { font-style: normal; color: var(--amber); font-weight: 500; display: inline-block; animation: xspin 6s var(--ease) infinite; }
@keyframes xspin { 0%,70% { transform: rotate(0); } 85%,100% { transform: rotate(180deg); } }
.tag { margin-top: 18px; color: var(--mist); opacity: 0; }
body.ready .hero-mark { animation: rise 1.2s .1s var(--ease) forwards; }
body.ready .word span { animation: letter 1.4s var(--ease) forwards; }
body.ready .word span:nth-child(2) { animation-delay: .08s; }
body.ready .word span:nth-child(3) { animation-delay: .16s; }
body.ready .word span:nth-child(4) { animation-delay: .24s; }
body.ready .word span:nth-child(5) { animation-delay: .32s; }
body.ready .kicker { animation: rise 1.2s .6s var(--ease) forwards; }
body.ready .tag { animation: rise 1.2s .8s var(--ease) forwards; }
@keyframes letter { to { opacity: 1; transform: none; } }
@keyframes rise { to { opacity: 1; transform: none; } }
.telemetry { position: absolute; z-index: 2; left: clamp(16px, 4vw, 48px); right: clamp(16px, 4vw, 48px); bottom: 30px; display: flex; justify-content: space-between; color: var(--dim); font-size: 10px; }
.telemetry #clock { color: var(--sky); }
.scroll { position: absolute; z-index: 2; bottom: 70px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--dim); font-size: 10px; }
.scroll i { width: 1px; height: 46px; background: linear-gradient(var(--sky), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 640px) { .telemetry span:first-child, .telemetry span:last-child { display: none; } .telemetry { justify-content: center; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--void); }
.track { display: flex; align-items: center; gap: 44px; width: max-content; animation: slide 36s linear infinite; }
.track span { font-size: clamp(28px, 5vw, 64px); font-weight: 800; letter-spacing: .02em; white-space: nowrap; -webkit-text-stroke: 1px rgba(255,255,255,.55); color: transparent; transition: color .4s; }
.track span:hover { color: var(--white); }
.track .mark { width: 30px; height: 30px; color: var(--amber); flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- product panels ---------- */
#products { position: relative; }
.panel { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; background: var(--void); }
.panel .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 2.4s var(--ease), filter 1.6s; filter: saturate(.9) brightness(.8); }
.panel.in .media { transform: scale(1.02); filter: none; }
.panel .kb { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { object-position: 40% 50%; } to { object-position: 60% 45%; } }
.veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.92), rgba(11,11,12,.25) 55%, rgba(11,11,12,.4)); pointer-events: none; }
.panel::before { content: attr(data-i); position: absolute; z-index: 1; right: clamp(16px, 4vw, 48px); top: 90px; font: 800 clamp(80px, 16vw, 240px)/1 var(--sans); color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); }
.panel-in { position: relative; z-index: 2; padding: 0 clamp(16px, 6vw, 96px) clamp(48px, 10vh, 110px); max-width: 1100px; }
.panel-in > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.panel.in .panel-in > * { opacity: 1; transform: none; }
.panel.in .panel-in > :nth-child(2) { transition-delay: .08s; }
.panel.in .panel-in > :nth-child(3) { transition-delay: .16s; }
.panel.in .panel-in > :nth-child(4) { transition-delay: .26s; }
.panel.in .panel-in > :nth-child(5) { transition-delay: .34s; }
.idx { display: flex; align-items: center; gap: 12px; color: var(--sky); }
.idx .mark { width: 16px; height: 16px; color: var(--amber); }
.panel h2, #physical h2 { margin-top: 18px; font-size: clamp(36px, 6.4vw, 96px); font-weight: 300; letter-spacing: -.01em; line-height: 1; }
.panel h2 b { font-weight: 800; }
.num { margin-top: 18px; font-weight: 800; font-size: clamp(64px, 13vw, 190px); line-height: .9; letter-spacing: -.03em; color: var(--amber); text-shadow: 0 0 60px rgba(242,163,59,.35); font-variant-numeric: tabular-nums; }
.num small { font-size: .3em; font-weight: 500; margin-left: .15em; color: var(--white); letter-spacing: 0; }
.big { margin-top: 18px; font-weight: 800; font-size: clamp(48px, 9vw, 140px); line-height: .95; letter-spacing: -.02em; background: linear-gradient(90deg, var(--white), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vs { margin-top: 18px; color: var(--mist); max-width: 720px; line-height: 1.7; }
.fine { margin-top: 8px; color: var(--dim); font-size: 10px; letter-spacing: .08em; text-transform: none; }

/* ---------- physical × space ---------- */
#physical { position: relative; height: 110svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
#physical .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#physical .veil { background: radial-gradient(ellipse at 50% 50%, rgba(11,11,12,.3), rgba(11,11,12,.92) 75%); }
.phys-in { position: relative; z-index: 2; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
#physical h2 { font-weight: 800; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .3em; font-size: clamp(40px, 8vw, 128px); }
#physical h2 span { opacity: 0; transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), letter-spacing 1.8s var(--ease); letter-spacing: .3em; }
#physical h2 span:first-child { transform: translateX(-12vw); }
#physical h2 span:last-child { transform: translateX(12vw); }
#physical h2 .x { font-style: normal; color: var(--amber); font-weight: 300; transform: scale(0) rotate(-180deg); transition: transform 1.4s .3s var(--ease); text-shadow: 0 0 40px var(--amber); }
#physical.in h2 span { opacity: 1; transform: none; letter-spacing: -.01em; }
#physical.in h2 .x { transform: none; }
#physical .vs { margin-top: 26px; }

/* ---------- gallery ---------- */
#gallery { padding: 14vh 0; overflow: hidden; }
.strip { display: flex; gap: 2vw; width: max-content; will-change: transform; padding-left: 6vw; }
.strip figure { position: relative; width: clamp(260px, 38vw, 620px); aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; transform: perspective(900px); transition: transform .6s var(--ease); }
.strip figure:nth-child(even) { margin-top: 8vh; }
.strip img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter .8s; filter: grayscale(.4) brightness(.8); }
.strip figure:hover img { transform: scale(1.02); filter: none; }
.strip figcaption { position: absolute; left: 16px; bottom: 14px; color: var(--white); font-size: 10px; }
.strip figure::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--line); border-radius: 4px; pointer-events: none; }

/* ---------- film ---------- */
#film { padding: 6vh clamp(16px, 6vw, 96px) 16vh; }
#film .frame { position: relative; margin-top: 24px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); clip-path: inset(12% 12% 12% 12% round 6px); transition: clip-path 1.6s var(--ease); }
#film.in .frame { clip-path: inset(0 0 0 0 round 6px); }
#film video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 14px; background: none; border: 0; color: var(--white); cursor: none; }
.play span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; padding-left: 5px; background: rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.3); transition: transform .5s var(--ease), background .4s; }
.play:hover span { transform: scale(1.12); background: var(--sky); }
.play span::after { content: ""; position: absolute; width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--sky); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.8); opacity: 0; } }

#modal { position: fixed; inset: 0; z-index: 95; background: rgba(5,5,6,.94); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(10px); }
#modal[hidden] { display: none; }
#modal video { width: min(1280px, 100%); max-height: 86vh; border-radius: 6px; }
#modal .close { position: absolute; top: 22px; right: 26px; background: none; border: 0; color: var(--mist); cursor: pointer; }

/* ---------- footer ---------- */
footer { position: relative; overflow: hidden; padding: 18vh 16px 40px; text-align: center; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.foot-mark { position: absolute; width: 90vmin; height: 90vmin; left: 50%; top: 10%; margin-left: -45vmin; color: rgba(255,255,255,.035); animation: spin 200s linear infinite; pointer-events: none; }
footer .lockup { width: min(380px, 70vw); height: auto; position: relative; }
footer p { color: var(--dim); position: relative; }
footer .links a { color: var(--sky); }
footer .copy { margin-top: 10vh; font-size: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- hero film button ---------- */
.cta { margin-top: 34px; display: inline-flex; align-items: center; gap: 14px; padding: 14px 26px 14px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); cursor: none; opacity: 0; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.cta span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink); font-size: 11px; padding-left: 2px; }
.cta:hover { background: rgba(59,163,242,.18); border-color: var(--sky); transform: translateY(-2px); }
body.ready .cta { animation: rise 1.2s 1s var(--ease) forwards; }

/* ---------- shared section heading ---------- */
.sect { margin-top: 18px; font-weight: 800; font-size: clamp(36px, 6vw, 92px); line-height: 1.02; letter-spacing: -.02em; }
.sect span { font-weight: 300; color: var(--mist); }
#problem, #industries { padding: 16vh clamp(16px, 6vw, 96px) 10vh; }
#problem > *, #industries > *, #value .value-in > *, #offer .offer-in > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
#problem.in > *, #industries.in > *, #value.in .value-in > *, #offer.in .offer-in > * { opacity: 1; transform: none; }
#problem.in > :nth-child(2), #industries.in > :nth-child(2) { transition-delay: .12s; }
#problem.in > :nth-child(3) { transition-delay: .24s; }

/* ---------- problem cards ---------- */
.cards { margin-top: 8vh; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2vw; }
.card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.card:hover img { transform: scale(1.02); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,12,.95) 15%, transparent 65%); }
.card div { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.card b { display: block; font-size: clamp(36px, 4vw, 64px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.card:nth-child(1) b { color: var(--amber); }
.card p { margin-top: 10px; color: var(--mist); font-size: 11px; line-height: 1.7; text-transform: none; letter-spacing: .06em; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { aspect-ratio: 16 / 11; } }

/* ---------- value ---------- */
#value, #offer { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
#value .bg, #offer .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 24s ease-in-out infinite alternate; }
#value .veil, #offer .veil { background: radial-gradient(ellipse at 50% 50%, rgba(11,11,12,.45), rgba(11,11,12,.92) 80%); }
.value-in, .offer-in { position: relative; z-index: 2; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
.words { list-style: none; margin-top: 30px; }
.words li { font-weight: 800; font-size: clamp(44px, 9vw, 140px); line-height: 1; letter-spacing: -.02em; opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.words li.amber { color: var(--amber); text-shadow: 0 0 60px rgba(242,163,59,.4); }
#value.in .words li { opacity: 1; transform: none; }
#value.in .words li:nth-child(2) { transition-delay: .15s; }
#value.in .words li:nth-child(3) { transition-delay: .3s; }
#value.in .words li:nth-child(4) { transition-delay: .45s; }

/* ---------- industries ---------- */
.tiles { margin-top: 6vh; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 26vw, 380px); gap: 1.4vw; }
.tile { position: relative; overflow: hidden; border-radius: 6px; border: 1px solid var(--line); }
.tile.wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.7); transform: scale(1.08); transition: transform 1.4s var(--ease), filter .8s; }
.tile:hover img { filter: none; transform: scale(1.01); }
.tile figcaption { position: absolute; left: 20px; bottom: 18px; right: 20px; }
.tile b { display: block; font-size: clamp(22px, 2.4vw, 38px); font-weight: 800; }
.tile span { display: block; margin-top: 6px; color: var(--sky); font-size: 10px; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr 1fr; } .tile.wide { grid-column: span 2; } }

/* ---------- offer ---------- */
#offer h2 { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: .1em; font-weight: 800; font-size: clamp(40px, 7vw, 116px); line-height: 1.02; letter-spacing: -.02em; }
#offer h2 em { font-style: normal; color: var(--amber); font-weight: 300; transform: rotate(90deg); }
#offer h2 .sky { background: linear-gradient(90deg, var(--white), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#offer .vs { margin-top: 24px; }

/* ---------- film ---------- */
#film .sect { margin-bottom: 4vh; }
.brief { margin-top: 22px; background: none; border: 0; color: var(--dim); cursor: none; transition: color .3s; }
.brief:hover { color: var(--sky); }

/* ---------- capabilities ---------- */
#capabilities { padding: 16vh clamp(16px, 6vw, 96px) 12vh; }
#capabilities > * { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
#capabilities.in > * { opacity: 1; transform: none; }
#capabilities.in > :nth-child(3) { transition-delay: .12s; }
#capabilities.in > :nth-child(4) { transition-delay: .24s; }
.legend { margin-top: 5vh; display: flex; flex-wrap: wrap; gap: 22px; font-size: 10px; color: var(--mist); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--c); box-shadow: 0 0 10px var(--c); }
.live { --c: var(--amber); } .proven { --c: var(--sky); } .dev { --c: #9aa3ad; } .next { --c: rgba(255,255,255,.35); }
.caps { margin-top: 4vh; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cap { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0) 60%); min-height: 190px; display: flex; flex-direction: column; transition: border-color .4s, transform .5s var(--ease), background .4s; overflow: hidden; }
.cap::after { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--c); opacity: .8; transform: scaleX(.18); transform-origin: left; transition: transform .8s var(--ease); }
.cap:hover { border-color: var(--c); transform: translateY(-4px); }
.cap:hover::after { transform: scaleX(1); }
.cap .pill { align-self: flex-start; font-size: 9px; letter-spacing: .14em; padding: 5px 9px; border-radius: 99px; border: 1px solid var(--c); color: var(--c); }
.cap h3 { margin-top: 18px; font-size: 22px; font-weight: 800; }
.cap .n { margin-top: 6px; font-size: 34px; font-weight: 800; color: var(--amber); letter-spacing: -.02em; }
.cap.proven .n { color: var(--sky); }
.cap p { margin-top: auto; padding-top: 12px; color: var(--mist); font-size: 10px; line-height: 1.6; text-transform: none; letter-spacing: .05em; }
.cap.dev, .cap.next { background: none; }
.cap.next h3 { color: var(--mist); }
@media (max-width: 1100px) { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps { grid-template-columns: 1fr; } }

/* ---------- mission ---------- */
#mission { position: relative; min-height: 110svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
#mission .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#mission .bg.still { animation: kb 24s ease-in-out infinite alternate; }
#mission .veil { background: radial-gradient(ellipse at 50% 50%, rgba(11,11,12,.35), rgba(11,11,12,.93) 78%); }
.mission-in { position: relative; z-index: 2; padding: 0 16px; display: flex; flex-direction: column; align-items: center; }
#mission h2 { margin-top: 22px; display: flex; flex-direction: column; gap: .15em; font-weight: 800; font-size: clamp(38px, 6.6vw, 110px); line-height: 1.02; letter-spacing: -.02em; }
#mission .l1, #mission .l2 { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease); }
#mission .l2 { color: var(--amber); text-shadow: 0 0 60px rgba(242,163,59,.35); transition-delay: .5s; }
#mission.in .l1, #mission.in .l2 { opacity: 1; transform: none; }
#mission .vs { margin-top: 26px; }
