/* =====================================================================
   ARQELVYN — v2 "Volt" design system
   Near-black canvas · warm off-white · single electric "volt" accent
   Geist (grotesk) × Instrument Serif italic (editorial contrast)
   ===================================================================== */
:root {
  --ink: #08080a;
  --paper: #efeee8;
  --volt: #c8ff2e;
  --bg: var(--ink);
  --fg: #f1f0ea;
  --dim: rgba(241, 240, 234, 0.56);
  --line: rgba(241, 240, 234, 0.14);
  --card: #131316;
  --pad: clamp(20px, 3.4vw, 56px);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
html.theme-light {
  --bg: var(--paper);
  --fg: #0b0b0d;
  --dim: rgba(11, 11, 13, 0.58);
  --line: rgba(11, 11, 13, 0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.04em; line-height: 0.95; }
::selection { background: var(--volt); color: var(--ink); }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.wrap { padding-inline: var(--pad); }
.volt { color: var(--volt); }
.tag { color: var(--dim); margin-bottom: 28px; }
.title { font-size: clamp(48px, 8vw, 136px); }
.sec-head { margin-bottom: clamp(48px, 7vw, 110px); }
.sec-head--center { text-align: center; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--ink); color: var(--fg);
}
.js.is-ready .loader { display: none; }
.loader__mark { width: 84px; height: 84px; overflow: visible; }
.loader__path { fill: transparent; stroke: var(--fg); stroke-width: 0.8; stroke-dasharray: 160; stroke-dashoffset: 160; }
.loader__dot { fill: var(--volt); }
.loader__meta { position: absolute; left: var(--pad); top: 28px; display: flex; flex-direction: column; gap: 4px; color: var(--dim); }
.loader__count { position: absolute; right: var(--pad); bottom: 10px; font-size: clamp(80px, 16vw, 260px); font-weight: 300; letter-spacing: -0.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__count sup { font-size: 0.25em; vertical-align: top; color: var(--volt); margin-left: 6px; }

/* ---------- Grain ---------- */
.grain {
  /* Static film grain: a single tiled texture, never animated or repainted. */
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: 0.05;
  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");
}
.lite .grain { display: none; }

/* Pause every looping CSS animation inside sections that are off-screen. */
.is-off, .is-off * { animation-play-state: paused !important; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--fg); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid var(--fg); opacity: 0.6;
  display: grid; place-items: center;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--volt); opacity: 1; }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--volt); border-color: var(--volt); opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor__label { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); opacity: 0; transform: scale(0.6); transition: 0.3s var(--ease); }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.has-cursor [data-cursor] { cursor: none; }

/* ---------- Roll links & buttons ---------- */
.roll { display: inline-flex; overflow: hidden; vertical-align: top; }
.roll > span, .btn__label > span { display: block; position: relative; transition: transform 0.6s var(--ease); }
.roll > span::after, .btn__label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.roll:hover > span, .btn:hover .btn__label > span { transform: translateY(-100%); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; padding: 14px 24px; font-size: 14px; font-weight: 500; overflow: hidden; isolation: isolate; }
.btn__label { display: inline-flex; overflow: hidden; line-height: 1.25; }
.btn--volt { background: var(--volt); color: var(--ink); }
.btn--volt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); border-radius: 50%; transform: translateY(130%) scale(1.4); transition: transform 0.6s var(--ease), border-radius 0.6s; }
.btn--volt:hover::before { transform: none; border-radius: 0; }
.btn--volt:hover { color: var(--bg); }
.btn--lg { padding: 20px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 400;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  color: var(--fg);
  transition: transform 0.7s var(--ease), background-color 0.5s, color 0.6s;
}
.hdr.is-scrolled { background: color-mix(in srgb, var(--bg) 90%, transparent); }
.hdr.is-hidden { transform: translateY(-110%); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 30px; height: 30px; color: var(--fg); transition: transform 0.8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.06); }
.logo__word { font-size: 23px; font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.logo__word em { font-weight: 400; font-size: 1.12em; margin-left: 3px; opacity: 0.6; letter-spacing: -0.02em; }
.hdr__nav { display: flex; gap: 34px; font-size: 15px; }
.hdr__right { display: flex; align-items: center; gap: 22px; }
.hdr__status { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); }
.hdr__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(200, 255, 46, 0.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(200, 255, 46, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 46, 0); } }
.hdr__burger { display: none; width: 44px; height: 44px; position: relative; }
.hdr__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.hdr__burger span:first-child { top: 18px; } .hdr__burger span:last-child { top: 25px; }
.hdr__burger.is-active span:first-child { top: 21.5px; transform: rotate(45deg); }
.hdr__burger.is-active span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mmenu { position: fixed; inset: 0; z-index: 350; background: var(--ink); padding: 110px var(--pad) 40px; clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-io); }
.mmenu.is-open { clip-path: inset(0 0 0 0); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu a, .mmenu__cta { font-size: clamp(44px, 12vw, 80px); letter-spacing: -0.05em; line-height: 1.1; color: var(--fg); text-align: left; border-bottom: 1px solid rgba(241, 240, 234, 0.12); padding: 8px 0; }
.mmenu__cta { color: var(--volt); border: 0; }

/* ---------- Main + theme transition ---------- */
.main { position: relative; z-index: 2; background: var(--bg); color: var(--fg); transition: background-color 0.8s var(--ease), color 0.8s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 var(--pad) clamp(28px, 4vw, 48px); overflow: hidden; background: var(--ink); color: #f1f0ea; }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fade { position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to bottom, transparent, rgba(8, 8, 10, 0.85)); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 200px; z-index: 1; background: linear-gradient(to bottom, rgba(8, 8, 10, 0.7), transparent); pointer-events: none; }
.hero__meta { position: absolute; top: 96px; left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; color: rgba(241, 240, 234, 0.6); z-index: 2; }
.hero__title { position: relative; z-index: 2; font-size: clamp(46px, 8.6vw, 156px); font-weight: 500; letter-spacing: -0.055em; line-height: 0.92; margin-bottom: clamp(28px, 4vw, 56px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__title .line > span { display: block; will-change: transform; }
.hero__title em { color: var(--volt); padding-right: 0.04em; }
.hero__bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero__lead { max-width: 440px; font-size: 17px; color: rgba(241, 240, 234, 0.72); }
.badge { position: relative; width: 120px; height: 120px; flex: none; display: grid; place-items: center; }
.badge__ring { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.badge__ring text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; fill: #f1f0ea; }
.badge__arrow { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--volt); color: var(--ink); font-size: 18px; transition: transform 0.5s var(--ease); }
.badge:hover .badge__arrow { transform: translateY(6px) scale(1.1); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Velocity marquee ---------- */
.vmarquee { padding: clamp(60px, 9vw, 140px) 0; overflow: hidden; }
.vmarquee__row { white-space: nowrap; overflow: hidden; }
.vmarquee__inner { display: inline-flex; align-items: center; gap: 0.35em; padding-right: 0.35em; font-size: clamp(64px, 11vw, 200px); font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; will-change: transform; }
.vmarquee__inner i { font-style: normal; color: var(--volt); font-size: 0.5em; display: inline-block; animation: spin 8s linear infinite; }
.outline { color: transparent; -webkit-text-stroke: 1.2px var(--fg); }
.vmarquee__row:nth-child(2) .vmarquee__inner span:not(.outline) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(100px, 14vw, 220px) 0 clamp(80px, 10vw, 160px); }
.manifesto__text { font-size: clamp(30px, 4.4vw, 76px); letter-spacing: -0.04em; line-height: 1.06; max-width: 1500px; margin-bottom: clamp(80px, 10vw, 160px); }
.manifesto__text em { padding-right: 0.06em; }
.w { display: inline-block; }
.c { display: inline-block; }
[data-split="chars"] .w { overflow: hidden; vertical-align: top; padding: 0 0.04em 0.1em; margin: 0 -0.04em -0.1em; }
html.no-gsap .work__track { width: auto; overflow-x: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; border-right: 1px solid var(--line); margin-right: 24px; }
.stat:last-child { border: 0; margin: 0; }
.stat__num { font-size: clamp(56px, 7.4vw, 128px); font-weight: 400; letter-spacing: -0.06em; line-height: 1; display: flex; align-items: flex-start; }
.stat__num sup { font-size: 0.3em; margin: 0.25em 0 0 0.12em; color: var(--dim); letter-spacing: 0; }
.stat p { color: var(--dim); margin-top: 14px; max-width: 200px; }
.odo { display: inline-flex; }
.odo__d { display: inline-block; height: 1em; overflow: hidden; }
.odo__col { display: flex; flex-direction: column; transition: transform 2.2s var(--ease); }
.odo__col span { height: 1em; line-height: 1; }

/* ---------- Services ---------- */
.services { padding: clamp(100px, 12vw, 200px) 0; }
.svc-list { border-bottom: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 80px 1fr auto 60px; align-items: center; gap: 24px; padding: clamp(22px, 2.6vw, 40px) 0; border-top: 1px solid var(--line); transition: opacity 0.5s var(--ease), color 0.5s var(--ease), padding 0.6s var(--ease); isolation: isolate; }
.svc::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--volt); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.svc-list:hover .svc { opacity: 0.32; }
.svc-list .svc:hover { opacity: 1; color: var(--ink); }
.svc:hover::before { transform: scaleY(1); transform-origin: top; }
.svc__num { color: inherit; opacity: 0.6; }
.svc__name { font-size: clamp(34px, 5.4vw, 92px); font-weight: 500; transition: transform 0.6s var(--ease); }
.svc:hover .svc__name { transform: translateX(24px); }
.svc__tags { opacity: 0.7; text-align: right; }
.svc__arrow { font-size: 34px; text-align: right; transition: transform 0.6s var(--ease); }
.svc:hover .svc__arrow { transform: rotate(45deg); }

.svc-preview { position: fixed; left: 0; top: 0; z-index: 300; width: 300px; height: 380px; margin: -190px 0 0 -150px; pointer-events: none; border-radius: 20px; overflow: hidden; transform: scale(0); will-change: transform; }
.svc-preview__inner { position: absolute; inset: 0; transition: transform 0.8s var(--ease); }
.svc-preview__card { height: 100%; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: radial-gradient(circle at 30% 20%, var(--c1), transparent 60%), radial-gradient(circle at 80% 90%, var(--c2), transparent 55%), #111; }
.svc-preview__card b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 92px; letter-spacing: -0.03em; line-height: 0.9; }
.svc-preview__card span { font-size: 18px; line-height: 1.3; }
.svc-preview__card[data-for="0"] { --c1: #c8ff2e; --c2: #0e7c66; color: #0a0a0a; }
.svc-preview__card[data-for="1"] { --c1: #3b82f6; --c2: #1e1b4b; }
.svc-preview__card[data-for="2"] { --c1: #8b5cf6; --c2: #ff6a3d; }
.svc-preview__card[data-for="3"] { --c1: #2ee6c8; --c2: #1d4ed8; color: #0a0a0a; }
.svc-preview__card[data-for="4"] { --c1: #ff8a5b; --c2: #9d174d; }
.svc-preview__card[data-for="5"] { --c1: #ff7ad9; --c2: #4338ca; }

/* ---------- Work (horizontal) ---------- */
.work { position: relative; }
.work__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 4vh; overflow: hidden; padding-top: 60px; }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; }
.work__head .title { font-size: clamp(44px, 6.4vw, 112px); }
.work__counter { color: var(--dim); font-size: 14px; }
.work__cur { color: var(--fg); }
.work__track { display: flex; gap: clamp(16px, 2.4vw, 40px); padding-inline: var(--pad); width: max-content; will-change: transform; }
.case { width: clamp(300px, 36vw, 600px); flex: none; }
.case__media { position: relative; height: clamp(280px, 52vh, 560px); border-radius: 18px; overflow: hidden; background: #111; clip-path: inset(0 0 0 0 round 18px); }
.case__img {
  position: absolute; inset: 0 -12%; display: grid; place-items: center;
  background:
    radial-gradient(circle at 25% 30%, var(--a), transparent 46%),
    radial-gradient(circle at 80% 75%, var(--b), transparent 50%),
    #0d0d10;
}
.case__big { transition: transform 1s var(--ease); }
.case:hover .case__big { transform: scale(1.1) rotate(-3deg); }
.case__img::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle, #000, transparent 75%); -webkit-mask-image: radial-gradient(circle, #000, transparent 75%); }
.case__big { position: relative; z-index: 1; font-size: clamp(80px, 10vw, 180px); font-weight: 500; letter-spacing: -0.07em; color: rgba(255, 255, 255, 0.82); }
.case__ui { position: absolute; z-index: 1; left: 24%; bottom: 8%; width: 46%; height: 18%; border-radius: 10px; background: rgba(10, 10, 14, 0.35); border: 1px solid rgba(255, 255, 255, 0.22); }
.case__ui::before, .case__ui::after { content: ""; position: absolute; left: 12%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.6); }
.case__ui::before { top: 30%; width: 50%; } .case__ui::after { top: 58%; width: 72%; background: rgba(255, 255, 255, 0.3); }
.case__info { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; }
.case__info .mono { color: var(--dim); white-space: nowrap; padding-top: 6px; }
.case__info h3 { font-size: clamp(18px, 1.6vw, 26px); letter-spacing: -0.03em; line-height: 1.15; max-width: 340px; text-align: right; font-weight: 500; }
.case--more { display: grid; place-items: center; height: clamp(280px, 52vh, 560px); width: clamp(260px, 26vw, 420px); border: 1px solid var(--line); border-radius: 18px; transition: background 0.5s, color 0.5s; }
.case--more:hover { background: var(--volt); color: var(--ink); }
.case--more__inner { font-size: clamp(32px, 3.4vw, 56px); letter-spacing: -0.04em; text-align: center; line-height: 1.05; }
.case--more b { display: block; font-weight: 400; transition: transform 0.6s var(--ease); }
.case--more:hover b { transform: translateX(16px); }
.work__progress { margin-inline: var(--pad); height: 1px; background: var(--line); }
.work__progress span { display: block; height: 100%; background: var(--volt); transform: scaleX(0); transform-origin: left; }

/* ---------- Process: stacking cards ---------- */
.process { padding: clamp(100px, 12vw, 200px) 0 clamp(60px, 8vw, 120px); }
.stack { position: relative; }
.scard {
  position: sticky; top: 14vh;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 72px);
  min-height: 68vh; margin-bottom: 8vh; padding: clamp(28px, 4vw, 64px);
  border-radius: 28px; background: var(--card); border: 1px solid rgba(255, 255, 255, 0.07);
  transform-origin: 50% 0; will-change: transform;
  color: #f1f0ea;
}
.scard:last-child { margin-bottom: 0; }
.scard__l { display: flex; flex-direction: column; }
.scard__n { font-family: var(--mono); font-size: 14px; color: var(--c); margin-bottom: auto; }
.scard h3 { font-size: clamp(56px, 8vw, 140px); margin: 40px 0 24px; }
.scard p { max-width: 480px; font-size: 18px; color: rgba(241, 240, 234, 0.68); margin-bottom: 28px; }
.scard ul { display: flex; flex-wrap: wrap; gap: 8px; }
.scard li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 99px; color: rgba(241, 240, 234, 0.8); }
.scard__r { position: relative; border-radius: 20px; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), #0c0c0e; overflow: hidden; display: grid; place-items: center; min-height: 260px; }
.viz { position: relative; width: 70%; aspect-ratio: 1; }
.viz--rings i { position: absolute; inset: calc(var(--i, 0) * 12%); border: 1px solid var(--c); border-radius: 50%; opacity: 0.8; animation: breathe 4s var(--ease-io) infinite alternate; }
.viz--rings i:nth-child(2) { --i: 1; animation-delay: -1s; opacity: .6; } .viz--rings i:nth-child(3) { --i: 2; animation-delay: -2s; opacity: .4; } .viz--rings i:nth-child(4) { --i: 3; background: var(--c); animation-delay: -3s; }
@keyframes breathe { to { transform: scale(0.82); } }
.viz--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10%; }
.viz--grid i { position: relative; border: 1px solid var(--c); border-radius: 14px; }
.viz--grid i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--c); opacity: 0; transform: scale(0.6); animation: blink2 3s var(--ease-io) infinite; }
.viz--grid i:nth-child(odd)::after { animation-delay: -1.5s; } .viz--grid i:nth-child(3n)::after { animation-delay: -0.7s; }
@keyframes blink2 { 50% { opacity: 1; transform: scale(0.9); } }
.viz--bars { display: flex; align-items: flex-end; gap: 6%; height: 60%; aspect-ratio: auto; }
.viz--bars i { flex: 1; background: var(--c); border-radius: 8px; height: 100%; transform: scaleY(0.3); transform-origin: bottom; animation: bar 2.4s var(--ease-io) infinite alternate; }
.viz--bars i:nth-child(2) { animation-delay: -.3s; } .viz--bars i:nth-child(3) { animation-delay: -.6s; } .viz--bars i:nth-child(4) { animation-delay: -.9s; }
.viz--bars i:nth-child(5) { animation-delay: -1.2s; } .viz--bars i:nth-child(6) { animation-delay: -1.5s; } .viz--bars i:nth-child(7) { animation-delay: -1.8s; }
@keyframes bar { to { transform: scaleY(1); } }
.scard__shade { position: absolute; inset: 0; border-radius: inherit; background: #000; opacity: 0; pointer-events: none; }
.lite .vmarquee__inner i { animation: none; }
.viz--orbit i { position: absolute; inset: 0; border: 1px dashed color-mix(in srgb, var(--c) 60%, transparent); border-radius: 50%; animation: spin 10s linear infinite; }
.viz--orbit i::after { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 30px var(--c); }
.viz--orbit i:nth-child(2) { inset: 18%; animation-duration: 7s; animation-direction: reverse; }
.viz--orbit i:nth-child(3) { inset: 36%; animation-duration: 4s; background: color-mix(in srgb, var(--c) 18%, transparent); }

/* ---------- Tech chips ---------- */
.tech { padding: clamp(80px, 10vw, 160px) 0; overflow: hidden; }
.chips { overflow: hidden; padding: 8px 0; }
.chips__inner { display: inline-flex; gap: 14px; padding-right: 14px; white-space: nowrap; animation: chips 40s linear infinite; }
.chips[data-dir="-1"] .chips__inner { animation-direction: reverse; animation-duration: 46s; }
.chips:hover .chips__inner { animation-play-state: paused; }
.chips span { padding: 18px 34px; border: 1px solid var(--line); border-radius: 99px; font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -0.03em; transition: background 0.4s, color 0.4s, border-color 0.4s; }
.chips span:hover { background: var(--volt); color: var(--ink); border-color: var(--volt); }
@keyframes chips { to { transform: translateX(-50%); } }

/* ---------- Voices ---------- */
.voices { padding: clamp(100px, 12vw, 200px) 0; }
.voices__stage { position: relative; display: grid; }
.voice { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.6s, visibility 0.6s; }
.voice.is-active { opacity: 1; visibility: visible; }
.voice p { font-size: clamp(30px, 4.2vw, 72px); letter-spacing: -0.04em; line-height: 1.06; max-width: 1400px; margin-bottom: 40px; }
.voice cite { font-style: normal; color: var(--dim); }
.voices__nav { display: flex; gap: 10px; margin-top: 56px; }
.vbtn { width: 64px; height: 20px; position: relative; }
.vbtn::before, .vbtn span { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.vbtn span { background: var(--fg); transform: scaleX(0); transform-origin: left; }
.vbtn.is-active span { animation: vfill 6s linear forwards; }
@keyframes vfill { to { transform: scaleX(1); } }

/* ---------- Careers ---------- */
.careers { padding: clamp(100px, 12vw, 200px) 0 0; }
.roles { border-bottom: 1px solid var(--line); }
.role { position: relative; display: grid; grid-template-columns: 1fr 220px 120px 50px; align-items: center; gap: 24px; padding: clamp(22px, 2.4vw, 36px) 0; border-top: 1px solid var(--line); isolation: isolate; transition: color 0.5s var(--ease); }
.role::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--volt); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.role:hover { color: var(--ink); }
.role:hover::before { transform: scaleY(1); transform-origin: top; }
.role h3 { font-size: clamp(28px, 3.6vw, 56px); font-weight: 500; transition: transform 0.6s var(--ease); }
.role:hover h3 { transform: translateX(20px); }
.role .mono { opacity: 0.7; }
.role__arrow { font-size: 30px; text-align: right; transition: transform 0.6s var(--ease); }
.role:hover .role__arrow { transform: rotate(45deg); }
.roles li { list-style: none; }
button.role { width: 100%; text-align: left; font: inherit; color: inherit; }
.roles__empty { padding: 32px 0; border-top: 1px solid var(--line); color: var(--dim); }
.careers__note { margin-top: 32px; color: var(--dim); }
.careers__note a { color: var(--fg); border-bottom: 1px solid var(--volt); }
@media (max-width: 720px) {
  .role { grid-template-columns: 1fr 40px; gap: 6px 16px; }
  .role h3 { grid-column: 1; }
  .role .mono { grid-column: 1; }
  .role__arrow { grid-column: 2; grid-row: 1; }
}

/* ---------- CTA ---------- */
.cta { padding: clamp(100px, 12vw, 200px) 0 clamp(80px, 9vw, 140px); }
.cta__title { font-size: clamp(64px, 14vw, 260px); letter-spacing: -0.06em; line-height: 0.88; font-weight: 400; margin-bottom: 64px; }
.cta__title em { color: var(--volt); letter-spacing: -0.04em; }
.cta__title .c { display: inline-block; transition: font-weight 0.2s; }
.cta__row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta__row p { max-width: 460px; font-size: 18px; color: var(--dim); }
.cta__btn { position: relative; width: clamp(150px, 16vw, 220px); aspect-ratio: 1; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--volt); color: var(--ink); }
.cta__ring { position: absolute; inset: 0; animation: spin 16s linear infinite; }
.cta__ring text { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; fill: var(--ink); }
.cta__core { font-size: 44px; transition: transform 0.6s var(--ease); }
.cta__btn:hover .cta__core { transform: rotate(-45deg) scale(1.2); }

/* ---------- Footer (curtain reveal) ---------- */
.footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1; background: var(--ink); color: #f1f0ea; padding-top: clamp(60px, 7vw, 110px); }
.footer.is-static { position: relative; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h6 { color: rgba(241, 240, 234, 0.45); margin-bottom: 18px; font-weight: 400; }
.footer__grid > div > a { display: flex; width: max-content; padding: 3px 0; font-size: 17px; }
.footer__mail { font-size: clamp(24px, 2.6vw, 40px) !important; letter-spacing: -0.03em; border-bottom: 1px solid rgba(241, 240, 234, 0.3); transition: color 0.3s, border-color 0.3s; }
.footer__mail:hover { color: var(--volt); border-color: var(--volt); }
.clock { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 16px; }
.clock b { font-weight: 400; color: var(--volt); font-size: 14px; }
.footer__word { display: flex; align-items: center; gap: 0.06em; font-size: clamp(64px, 16.5vw, 320px); font-weight: 600; letter-spacing: -0.075em; line-height: 0.8; padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 4.5vw, 72px); white-space: nowrap; }
.footer__word em { font-weight: 400; color: rgba(241, 240, 234, 0.35); letter-spacing: -0.03em; margin-left: 0.08em; }
.footer__mark { width: 0.72em; height: 0.72em; color: #f1f0ea; margin-right: 0.08em; flex: none; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(241, 240, 234, 0.12); color: rgba(241, 240, 234, 0.5); }
.footer__bar a:hover { color: var(--volt); }

/* ---------- Contact panel ---------- */
.panel { position: fixed; inset: 0; z-index: 600; visibility: hidden; }
.panel.is-open { visibility: visible; }
.panel__bg { position: absolute; inset: 0; background: rgba(8, 8, 10, 0.78); opacity: 0; }
.panel__body {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(680px, 100%);
  padding: clamp(28px, 4vw, 56px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--volt); color: var(--ink);
  clip-path: inset(0 0 0 100%);
}
.panel__close { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(8, 8, 10, 0.25); font-size: 16px; transition: transform 0.5s var(--ease), background 0.3s, color 0.3s; }
.panel__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--volt); }
.panel__title { font-size: clamp(42px, 5vw, 76px); margin: 40px 0 44px; }
.pform { display: grid; gap: 26px; }
.pform fieldset { border: 0; }
.pform legend { margin-bottom: 12px; opacity: 0.7; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 18px; border: 1px solid rgba(8, 8, 10, 0.3); border-radius: 99px; font-size: 15px; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease); }
.pills label:hover span { transform: translateY(-2px); }
.pills input:checked + span { background: var(--ink); color: var(--volt); border-color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fld { position: relative; display: block; }
.fld input, .fld textarea { width: 100%; padding: 22px 0 10px; border: 0; border-bottom: 1px solid rgba(8, 8, 10, 0.35); background: none; font: inherit; font-size: 18px; color: var(--ink); outline: none; resize: vertical; transition: border-color 0.3s; }
.fld input:focus, .fld textarea:focus { border-color: var(--ink); }
.fld > span { position: absolute; left: 0; top: 22px; font-size: 18px; opacity: 0.6; pointer-events: none; transform-origin: left; transition: transform 0.4s var(--ease), opacity 0.3s; }
.fld input:focus + span, .fld input:not(:placeholder-shown) + span, .fld textarea:focus + span, .fld textarea:not(:placeholder-shown) + span { transform: translateY(-22px) scale(0.72); opacity: 1; }
.fld.is-invalid input, .fld.is-invalid textarea { border-color: #d11a2a; }
.pform .btn--volt { background: var(--ink); color: var(--volt); justify-self: start; }
.pform .btn--volt::before { background: #fff; }
.pform .btn--volt:hover { color: var(--ink); }
.pform__note { min-height: 1em; }

/* Job posting (inside the apply panel) */
#panel-apply .panel__title { font-size: clamp(36px, 4.2vw, 64px); }
.jobd { margin: -12px 0 40px; font-size: 16.5px; line-height: 1.65; }
.jobd[hidden] { display: none; }
.jobd__meta { display: inline-block; padding: 8px 14px; margin-bottom: 28px; border: 1px solid rgba(8, 8, 10, 0.3); border-radius: 99px; }
.jobd__sec { padding: 24px 0; border-top: 1px solid rgba(8, 8, 10, 0.18); }
.jobd__sec h3 { font-weight: 500; letter-spacing: 0.06em; margin-bottom: 14px; opacity: 0.7; line-height: 1.4; }
.jobd__sec p + p { margin-top: 12px; }
.jobd strong { font-weight: 600; background: rgba(8, 8, 10, 0.08); padding: 0 4px; border-radius: 4px; }
.jobd ul { display: grid; gap: 10px; }
.jobd li { position: relative; padding-left: 22px; }
.jobd li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--ink); }
.jobd__foot { padding-top: 24px; border-top: 1px solid rgba(8, 8, 10, 0.18); font-size: 14.5px; opacity: 0.75; }
.jobd__apply { margin-top: 36px; padding: 12px 0; border-top: 2px solid var(--ink); font-weight: 500; letter-spacing: 0.08em; }
.pform button[disabled] { opacity: 0.6; pointer-events: none; }
/* Honeypot: visually hidden from people, still visible to naive bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hdr__nav, .hdr__status { display: none; }
  .hdr__right .btn { display: none; }
  .hdr__burger { display: block; }
  .svc { grid-template-columns: 44px 1fr 40px; }
  .svc__tags { grid-column: 2 / 4; grid-row: 2; text-align: left; }
  .scard { grid-template-columns: 1fr; top: 10vh; }
  .scard__r { min-height: 200px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 0; margin: 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .hero__meta { top: 84px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .badge { display: none; }
  .hero__lead { font-size: 15.5px; }
  .work__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .work__track::-webkit-scrollbar { display: none; }
  .case { width: 82vw; scroll-snap-align: start; }
  .case__info { flex-direction: column; gap: 6px; }
  .case__info h3 { text-align: left; }
  .work__pin { height: auto; padding: 100px 0 60px; }
  .work__progress { display: none; }
  .scard h3 { margin: 24px 0 16px; }
  .scard { min-height: 0; }
  .cta__row { flex-direction: column; align-items: flex-start; }
  .pform__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
