/* Arctis Studio — cinematic dark portfolio
   Palette: near-black night, ice white, glacier blue neon. Each product brings its own --accent. */

:root {
  --bg: #03050a;
  --bg-2: #060a14;
  --ink: #e8f1ff;
  --ink-dim: #8e9bb3;
  --ink-faint: #4b5670;
  --ice: #cfe6ff;
  --glacier: #7cc4ff;
  --deep: #3c7bff;
  --ember: #ff8a3d;
  --line: rgba(160, 200, 255, .12);
  --glass: rgba(14, 22, 40, .45);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Montserrat", system-ui, sans-serif;
  --display: "Bebas Neue", "Montserrat", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(124, 196, 255, .35); color: #fff; }

/* ---------- Ambient layers ---------- */
#sky { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -3; }
.aurora { position: fixed; inset: -20vh -10vw; z-index: -2; pointer-events: none; filter: blur(80px); opacity: .55; }
.aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: drift 22s ease-in-out infinite alternate; }
.aurora span:nth-child(1) { width: 55vw; height: 40vh; left: 5vw; top: 5vh; background: radial-gradient(closest-side, rgba(60, 123, 255, .45), transparent); }
.aurora span:nth-child(2) { width: 45vw; height: 50vh; right: 0; top: 30vh; background: radial-gradient(closest-side, rgba(46, 230, 214, .18), transparent); animation-duration: 28s; animation-delay: -8s; }
.aurora span:nth-child(3) { width: 60vw; height: 35vh; left: 20vw; bottom: 0; background: radial-gradient(closest-side, rgba(165, 148, 255, .2), transparent); animation-duration: 34s; animation-delay: -16s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vw, -4vh, 0) scale(1.15); }
  100% { transform: translate3d(-5vw, 5vh, 0) scale(.95); }
}
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor-light {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(closest-side, rgba(124, 196, 255, .09), transparent 70%);
  transform: translate3d(var(--mx, 50vw), var(--my, 40vh), 0);
  transition: opacity .6s;
}

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
  animation: introOut 1s var(--ease) 1.7s forwards;
}
.intro__word {
  font-family: var(--font); font-weight: 200; letter-spacing: 1.2em; padding-left: 1.2em;
  font-size: clamp(1.6rem, 5vw, 3.4rem); color: transparent;
  background: linear-gradient(90deg, transparent, #fff, var(--glacier), transparent) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: shine 1.8s var(--ease) forwards;
}
.intro__line {
  position: absolute; top: 50%; left: 50%; height: 1px; width: 0; transform: translate(-50%, 2.6rem);
  background: linear-gradient(90deg, transparent, var(--glacier), transparent);
  box-shadow: 0 0 18px var(--glacier);
  animation: line 1.4s var(--ease) .2s forwards;
}
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes line { to { width: min(60vw, 520px); } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(16px, 4vw, 56px);
  transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(3, 5, 10, .55); backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-weight: 500; letter-spacing: .32em; font-size: .82rem; }
.nav__brand em { font-style: normal; font-weight: 300; color: var(--ink-dim); }
.nav__mark { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(124, 196, 255, .6)); animation: breathe 5s ease-in-out infinite; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 36px); align-items: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.nav__links a { position: relative; color: var(--ink-dim); transition: color .3s; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; transform: scaleX(0); transform-origin: right;
  background: var(--glacier); box-shadow: 0 0 8px var(--glacier); transition: transform .4s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__harpia { color: var(--ember) !important; text-shadow: 0 0 12px rgba(255, 138, 61, .5); }
.nav__harpia::after { background: var(--ember) !important; box-shadow: 0 0 8px var(--ember) !important; }
.nav__cta { border: 1px solid var(--line); padding: 9px 18px !important; border-radius: 999px; }
.nav__cta::after { display: none; }
.nav__cta:hover { border-color: var(--glacier); box-shadow: 0 0 22px rgba(124, 196, 255, .25), inset 0 0 12px rgba(124, 196, 255, .12); }
.lang { display: flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: .7rem; color: var(--ink-faint); }
.lang button { background: none; border: 0; font: inherit; letter-spacing: .14em; color: var(--ink-faint); padding: 6px 6px; cursor: pointer; transition: color .3s, text-shadow .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--glacier); text-shadow: 0 0 10px var(--glacier); }
.nav__burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

@keyframes breathe {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(124, 196, 255, .45)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 16px rgba(124, 196, 255, .9)); transform: scale(1.04); }
}

/* ---------- Shared ---------- */
.section { position: relative; padding: clamp(100px, 16vh, 180px) clamp(16px, 6vw, 96px); max-width: 1400px; margin: 0 auto; }
.section__head { margin-bottom: clamp(56px, 10vh, 110px); }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-dim);
  display: flex; align-items: center; gap: 14px; margin-bottom: 26px;
}
.eyebrow .idx { color: var(--glacier); text-shadow: 0 0 10px var(--glacier); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 42px; height: 1px; margin-left: 14px; vertical-align: middle; background: linear-gradient(90deg, var(--glacier), transparent); }
.section__title { font-weight: 200; font-size: clamp(2.6rem, 7vw, 6.2rem); line-height: 1.02; letter-spacing: -.02em; }
.glow-text {
  font-weight: 400;
  background: linear-gradient(100deg, #fff 10%, var(--ice) 35%, var(--glacier) 60%, var(--deep) 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(124, 196, 255, .35));
  animation: flow 8s ease-in-out infinite alternate;
}
@keyframes flow { from { background-position: 0 0; } to { background-position: 100% 0; } }

.btn {
  --c: var(--glacier);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px; font-size: .78rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s, color .4s;
}
.btn span { position: relative; z-index: 1; }
.btn--primary { color: #04101f; background: linear-gradient(120deg, #fff, var(--ice) 40%, var(--glacier)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .2), 0 10px 40px -10px rgba(124, 196, 255, .7); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .9) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .4), 0 14px 60px -8px rgba(124, 196, 255, .95); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--ember); color: #ffd7bb; box-shadow: 0 0 30px -4px rgba(255, 138, 61, .45), inset 0 0 18px rgba(255, 138, 61, .12); }
.btn--ember { color: #ffe9d9; border: 1px solid rgba(255, 138, 61, .55); background: rgba(255, 138, 61, .06); box-shadow: 0 0 24px -6px rgba(255, 138, 61, .6), inset 0 0 18px rgba(255, 138, 61, .1); }
.btn--ember:hover { transform: translateY(-2px); background: rgba(255, 138, 61, .14); box-shadow: 0 0 46px -4px rgba(255, 138, 61, .85), inset 0 0 22px rgba(255, 138, 61, .2); }
.btn--lg { padding: 20px 44px; font-size: .85rem; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 16px 90px;
}
.hero__halo {
  position: absolute; top: 46%; left: 50%; width: min(1100px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(60, 123, 255, .16), rgba(124, 196, 255, .05) 50%, transparent 72%);
  animation: halo 7s ease-in-out infinite; pointer-events: none;
}
@keyframes halo { 0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .7; } 50% { transform: translate(-50%, -50%) scale(1.06); opacity: 1; } }
.hero__logo-wrap { position: relative; width: clamp(220px, 34vmin, 380px); aspect-ratio: 1; margin-bottom: 18px; }
.hero__logo {
  width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen;
  /* the source has a near-black square background: fade its edges into the page */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 50%, #000 58%, transparent 70%);
  animation: logoIn 2.2s var(--ease) 1.5s both, float 9s ease-in-out 3.7s infinite;
}
.hero__logo-wrap { transition: transform 1.2s var(--ease); }
.hero__ring {
  position: absolute; inset: 14%; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 60px 4px rgba(124, 196, 255, .28), inset 0 0 50px rgba(124, 196, 255, .16);
  animation: ringBreathe 5s ease-in-out infinite, logoIn 2.2s var(--ease) 1.7s both;
}
@keyframes logoIn { from { opacity: 0; transform: scale(.82); filter: blur(14px) brightness(2); } to { opacity: 1; transform: scale(1); filter: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes ringBreathe { 0%, 100% { box-shadow: 0 0 40px 2px rgba(124, 196, 255, .18), inset 0 0 40px rgba(124, 196, 255, .1); } 50% { box-shadow: 0 0 90px 10px rgba(124, 196, 255, .38), inset 0 0 70px rgba(124, 196, 255, .2); } }
.hero__eyebrow { justify-content: center; }
.hero__title { font-weight: 200; font-size: clamp(2.4rem, 7.6vw, 7rem); line-height: 1; letter-spacing: -.025em; margin-bottom: 30px; }
.hero__title .split { display: block; }
.split--glow { font-weight: 400; background: linear-gradient(100deg, #fff 20%, var(--ice) 45%, var(--glacier) 70%, var(--deep)); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(124, 196, 255, .45)); animation: flow 7s ease-in-out infinite alternate; }
.hero__lead { max-width: 640px; color: var(--ink-dim); font-size: clamp(.98rem, 1.3vw, 1.12rem); margin: 0 auto 44px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero [data-reveal] { transition-delay: calc(1.9s + var(--d, 0s)); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--line); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: var(--glacier); box-shadow: 0 0 8px var(--glacier); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: linear-gradient(90deg, var(--bg), rgba(10, 18, 36, .6), var(--bg)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 42px; width: max-content; animation: marquee 40s linear infinite; font-weight: 200; font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--glacier); text-shadow: 0 0 12px var(--glacier); font-size: .7em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Products ---------- */
.product { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; margin-bottom: clamp(120px, 20vh, 220px); }
.product--flip .product__visual { order: 2; }
.product__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.orb {
  position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 38%, transparent), color-mix(in srgb, var(--accent-2) 12%, transparent) 55%, transparent 75%);
  filter: blur(20px); animation: orb 8s ease-in-out infinite;
}
@keyframes orb { 0%, 100% { transform: scale(.9); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.device {
  position: relative; width: 280px; height: 570px; border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #1a2234, #070a12 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 0 2px rgba(0, 0, 0, .6), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -20px var(--accent);
  transform: perspective(1200px) rotateY(var(--ry, -10deg)) rotateX(var(--rx, 4deg));
  transition: transform 1s var(--ease);
  animation: float 8s ease-in-out infinite;
}
.product--flip .device { --ry: 10deg; }
.device::before { content: ""; position: absolute; top: 22px; left: 50%; width: 80px; height: 22px; margin-left: -40px; border-radius: 20px; background: #000; z-index: 3; }
.device__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #050a12; }

/* Northbyte mock */
.nb-screen { padding: 58px 18px 18px; display: flex; flex-direction: column; gap: 16px; background: radial-gradient(120% 60% at 50% 0%, #0c1a30, #050a12 70%); font-family: var(--font); }
.nb-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem; letter-spacing: .04em; }
.nb-top img { border-radius: 8px; }
.nb-top i { margin-left: auto; font-style: normal; color: #22c55e; font-size: .6rem; text-shadow: 0 0 8px #22c55e; animation: pulse 2s infinite; }
.nb-score { position: relative; width: 150px; height: 150px; margin: 4px auto 0; display: grid; place-items: center; text-align: center; }
.nb-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.nb-score circle { fill: none; stroke-width: 7; }
.nb-score__bg { stroke: rgba(124, 196, 255, .1); }
.nb-score__fg { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; filter: drop-shadow(0 0 6px var(--accent)); transition: stroke-dashoffset 2.4s var(--ease); }
.product.is-live .nb-score__fg { stroke-dashoffset: 44; }
.nb-score b { font-size: 2.6rem; font-weight: 300; line-height: 1; margin-top: 18px; }
.nb-score small { position: absolute; bottom: 36px; font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); }
.nb-chart { height: 60px; border-radius: 12px; background: rgba(124, 196, 255, .04); border: 1px solid rgba(124, 196, 255, .08); padding: 6px; }
.nb-chart svg { width: 100%; height: 100%; }
.nb-line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 4px var(--accent)); transition: stroke-dashoffset 3s var(--ease) .4s; vector-effect: non-scaling-stroke; }
.product.is-live .nb-line { stroke-dashoffset: 0; }
.nb-list { list-style: none; display: grid; gap: 8px; font-size: .72rem; }
.nb-list li { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); opacity: 0; transform: translateX(20px); transition: .8s var(--ease); }
.nb-list li span { margin-left: auto; color: var(--ink-faint); font-family: var(--mono); font-size: .62rem; }
.product.is-live .nb-list li { opacity: 1; transform: none; }
.product.is-live .nb-list li:nth-child(2) { transition-delay: .2s; }
.product.is-live .nb-list li:nth-child(3) { transition-delay: .4s; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot--amber { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.dot--red { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.dot--green { background: #22c55e; box-shadow: 0 0 8px #22c55e; }
@keyframes pulse { 50% { opacity: .3; } }

/* Hydr8 mock */
.h8-screen { background: linear-gradient(180deg, #0a3442, #040f15); display: grid; place-items: center; }
.h8-wave { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(180deg, rgba(63, 240, 224, .35), rgba(10, 127, 166, .55)); transition: height 2.5s var(--ease); }
.product.is-live .h8-wave { animation: tide 9s ease-in-out infinite; }
@keyframes tide { 0%, 100% { height: 40%; } 50% { height: 52%; } }
.h8-wave svg { position: absolute; left: 0; bottom: 100%; width: 200%; height: 28px; fill: rgba(63, 240, 224, .35); animation: wave 6s linear infinite; }
.h8-wave svg + svg { opacity: .5; animation-duration: 9s; animation-direction: reverse; bottom: calc(100% - 4px); }
@keyframes wave { to { transform: translateX(-50%); } }
.h8-lock { position: relative; z-index: 1; text-align: center; padding: 0 22px; }
.h8-drop { width: 46px; margin: 0 auto 18px; fill: none; stroke: var(--accent); stroke-width: 1.6; filter: drop-shadow(0 0 10px var(--accent)); animation: breatheDrop 3.2s ease-in-out infinite; }
@keyframes breatheDrop { 50% { transform: scale(1.12); filter: drop-shadow(0 0 22px var(--accent)); } }
.h8-lock__t { font-size: 1.5rem; font-weight: 300; margin-bottom: 8px; }
.h8-lock__s { font-size: .78rem; color: #a9d8de; margin-bottom: 26px; }
.h8-lock__s b { color: var(--accent); font-weight: 500; text-shadow: 0 0 10px var(--accent); }
.h8-btns { display: flex; gap: 8px; justify-content: center; margin-bottom: 30px; }
.h8-btns span { padding: 10px 12px; border-radius: 14px; font-size: .72rem; font-weight: 500; border: 1px solid rgba(46, 230, 214, .4); background: rgba(46, 230, 214, .08); color: #d6fffb; }
.h8-btns span:nth-child(2) { background: var(--accent); color: #032a2a; box-shadow: 0 0 20px rgba(46, 230, 214, .6); }
.h8-sos { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: #ff9b9b; opacity: .75; }

.product__kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 60%, transparent); margin-bottom: 14px; }
.product__name { font-weight: 200; font-size: clamp(3rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; text-shadow: 0 0 40px color-mix(in srgb, var(--accent) 35%, transparent); }
.product__name--xl { font-size: clamp(3.6rem, 10vw, 9rem); }
.product__tag { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 400; color: var(--ice); margin-bottom: 22px; }
.product__text { color: var(--ink-dim); max-width: 560px; margin-bottom: 34px; }
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.features li { background: rgba(6, 10, 20, .9); padding: 18px 20px; font-size: .8rem; color: var(--ink-dim); transition: background .4s; }
.features li:hover { background: color-mix(in srgb, var(--accent) 7%, rgba(6, 10, 20, .95)); }
.features b { display: block; color: var(--ink); font-weight: 500; font-size: .86rem; margin-bottom: 4px; }
.features b::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 9px; vertical-align: middle; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* HolyWMS */
.product--wide { display: block; text-align: center; }
.holy__head .product__tag { max-width: 620px; margin-inline: auto; }
.holy__stage { position: relative; max-width: 1100px; margin: 60px auto 70px; padding-bottom: 40px; }
.orb--wide { width: 90%; left: 5%; top: -10%; aspect-ratio: 2 / 1; }
.holy__desk { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(165, 148, 255, .25); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 60px 120px -40px #000, 0 0 100px -30px var(--accent); transform: perspective(1600px) rotateX(var(--hx, 8deg)); transition: transform 1.4s var(--ease); }
.holy__desk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .08) 50%, transparent 60%); background-size: 300% 100%; animation: sheen 7s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.holy__stage.is-in .holy__desk { --hx: 0deg; }
.holy__phone { position: absolute; right: -2%; bottom: -4%; width: 21%; border-radius: 22px; overflow: hidden; border: 6px solid #0d111c; box-shadow: 0 40px 80px -20px #000, 0 0 60px -10px var(--accent); animation: float 7s ease-in-out infinite; }
.holy__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1100px; margin: 0 auto 50px; text-align: left; }
.stat { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.stat:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 0 40px -14px var(--accent); transform: translateY(-4px); }
.stat b { display: block; font-weight: 200; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.1; margin-bottom: 10px; color: var(--accent); text-shadow: 0 0 20px var(--accent); }
.stat span { font-size: .82rem; color: var(--ink-dim); }
.holy__text { margin: 0 auto; max-width: 720px; }

/* ---------- HARPIA ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.harpia { position: relative; isolation: isolate; padding-bottom: clamp(90px, 14vh, 150px); }
/* the promo art carries the title – keep it fully visible, edge to edge */
.harpia__stage { position: relative; height: min(100vh, 66.6vw); min-height: 460px; overflow: hidden; }
.harpia__bg { position: absolute; inset: -6% 0; }
.harpia__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: translate3d(0, var(--hp, 0), 0) scale(1.04); animation: harpiaBreathe 12s ease-in-out infinite; }
@keyframes harpiaBreathe { 0%, 100% { filter: saturate(1.05) contrast(1.05) brightness(.82); } 50% { filter: saturate(1.3) contrast(1.1) brightness(1); } }
/* RGB-split copies, shown for a split second by main.js */
.harpia__bg .glitch__r, .harpia__bg .glitch__b { opacity: 0; mix-blend-mode: screen; animation: none; }
.harpia__bg .glitch__r { filter: sepia(1) saturate(6) hue-rotate(-30deg) brightness(.7); }
.harpia__bg .glitch__b { filter: sepia(1) saturate(6) hue-rotate(170deg) brightness(.7); }
.glitch.is-glitching .glitch__r { opacity: .75; animation: g1 .35s steps(2) both; }
.glitch.is-glitching .glitch__b { opacity: .75; animation: g2 .35s steps(2) both; }
@keyframes g1 { 0% { clip-path: inset(30% 0 58% 0); transform: translate(-14px, 0) scale(1.04); } 50% { clip-path: inset(44% 0 40% 0); transform: translate(10px, 0) scale(1.04); } 100% { clip-path: inset(58% 0 30% 0); transform: translate(-6px, 0) scale(1.04); } }
@keyframes g2 { 0% { clip-path: inset(50% 0 36% 0); transform: translate(14px, 0) scale(1.04); } 50% { clip-path: inset(36% 0 52% 0); transform: translate(-10px, 0) scale(1.04); } 100% { clip-path: inset(62% 0 24% 0); transform: translate(6px, 0) scale(1.04); } }
.harpia__vignette { position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 16%, transparent 70%, var(--bg) 100%), radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, .7) 100%); }
.harpia__scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); }
.harpia__scan::after { content: ""; position: absolute; left: 0; right: 0; height: 26%; background: linear-gradient(180deg, transparent, rgba(124, 196, 255, .08), transparent); animation: scan 6s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 110%; } }
.harpia__hud { position: absolute; inset: clamp(80px, 13vh, 120px) clamp(16px, 4vw, 48px) clamp(40px, 9vh, 90px); pointer-events: none; font-family: var(--mono); font-size: .66rem; letter-spacing: .2em; color: rgba(207, 230, 255, .6); }
.harpia__hud::before, .harpia__hud::after { content: ""; position: absolute; width: 40px; height: 40px; border: 1px solid rgba(207, 230, 255, .3); }
.harpia__hud::before { top: -14px; left: -14px; border-right: 0; border-bottom: 0; }
.harpia__hud::after { bottom: -14px; right: -14px; border-left: 0; border-top: 0; }
.hud { position: absolute; }
.hud--tl { top: 0; left: 0; } .hud--tr { top: 0; right: 0; } .hud--bl { bottom: 0; left: 0; } .hud--br { bottom: 0; right: 0; }
.hud--tr i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; margin-left: 8px; animation: pulse 1.2s infinite; }
.hud--bl b { color: var(--ember); font-weight: 400; }
.harpia__classified { position: absolute; left: 50%; top: clamp(80px, 13vh, 120px); transform: translateX(-50%); display: inline-flex; gap: 18px; font-family: var(--mono); font-size: .72rem; letter-spacing: .4em; color: var(--ember); padding: 8px 16px; border: 1px solid rgba(255, 138, 61, .45); background: rgba(3, 5, 10, .45); backdrop-filter: blur(6px); text-shadow: 0 0 10px rgba(255, 138, 61, .6); white-space: nowrap; }
.harpia__classified span + span { color: var(--ink-faint); }
.harpia__content { position: relative; text-align: center; max-width: 860px; margin: -40px auto 0; padding: 0 16px; }
.harpia__tease { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 300; color: var(--ice); letter-spacing: .04em; margin-bottom: 40px; }
.dossier { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid rgba(207, 230, 255, .14); background: rgba(3, 6, 14, .55); backdrop-filter: blur(8px); margin-bottom: 30px; text-align: left; font-family: var(--mono); }
.dossier div { padding: 16px 18px; border-right: 1px solid rgba(207, 230, 255, .1); }
.dossier div:last-child { border-right: 0; }
.dossier span { display: block; font-size: .6rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.dossier b { font-weight: 400; font-size: .8rem; color: #d7e4f5; letter-spacing: .04em; }
.blink { color: var(--ember) !important; animation: pulse 1.6s infinite; }
.harpia__note { color: var(--ink-dim); font-size: .9rem; margin-bottom: 36px; }

/* ---------- About ---------- */
.about__big { font-size: clamp(1.4rem, 3vw, 2.5rem); font-weight: 200; line-height: 1.35; max-width: 1100px; margin-bottom: clamp(60px, 10vh, 110px); }
.about__big em { font-style: normal; color: var(--ice); text-shadow: 0 0 24px rgba(124, 196, 255, .35); }
.about__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); }
.pillar { position: relative; padding-top: 34px; border-top: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--glacier); box-shadow: 0 0 12px var(--glacier); transition: width 1.6s var(--ease) .4s; }
.pillar.is-in::before { width: 60px; }
.pillar__n { font-family: var(--mono); font-size: .75rem; color: var(--glacier); letter-spacing: .2em; }
.pillar h3 { font-weight: 400; font-size: 1.3rem; margin: 14px 0 12px; }
.pillar p { color: var(--ink-dim); font-size: .92rem; }

/* ---------- Capabilities ---------- */
.caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 90px; }
.cap {
  position: relative; padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass);
  overflow: hidden; transform-style: preserve-3d; transition: border-color .4s, box-shadow .4s;
  transform: perspective(900px) rotateX(var(--tx, 0)) rotateY(var(--ty, 0));
}
.cap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--cx, 50%) var(--cy, 50%), rgba(124, 196, 255, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.cap:hover { border-color: rgba(124, 196, 255, .35); box-shadow: 0 0 50px -18px var(--glacier); }
.cap:hover::before { opacity: 1; }
.cap svg { position: relative; width: 38px; height: 38px; fill: none; stroke: var(--glacier); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(124, 196, 255, .7)); margin-bottom: 26px; }
.cap h3 { position: relative; font-weight: 400; font-size: 1.15rem; margin-bottom: 10px; }
.cap p { position: relative; color: var(--ink-dim); font-size: .88rem; }
.process { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.process div { text-align: center; color: var(--ink); }
.process span { display: block; font-family: var(--mono); font-size: .66rem; color: var(--glacier); margin-bottom: 6px; }
.process i { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.process i::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, var(--glacier), transparent); animation: travel 3s linear infinite; }
.process i:nth-of-type(2)::after { animation-delay: .6s; } .process i:nth-of-type(3)::after { animation-delay: 1.2s; } .process i:nth-of-type(4)::after { animation-delay: 1.8s; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Contact ---------- */
.contact { position: relative; text-align: center; padding: clamp(120px, 20vh, 220px) 16px; overflow: hidden; }
.contact .eyebrow { justify-content: center; }
.contact__glow { position: absolute; left: 50%; bottom: -40%; width: 140vw; max-width: 1600px; aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 123, 255, .28), rgba(124, 196, 255, .06) 55%, transparent 75%); animation: halo 8s ease-in-out infinite; pointer-events: none; }
.contact__glow { transform: translateX(-50%); }
.contact__title { position: relative; font-weight: 200; font-size: clamp(2.2rem, 6vw, 5.4rem); line-height: 1.05; letter-spacing: -.02em; margin-bottom: 22px; }
.contact__lead { position: relative; color: var(--ink-dim); margin-bottom: 50px; }
.contact__mail { position: relative; display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.mail-link { font-size: clamp(1.3rem, 4vw, 3rem); font-weight: 300; letter-spacing: .01em; position: relative; color: #fff; text-shadow: 0 0 30px rgba(124, 196, 255, .55); transition: text-shadow .4s; word-break: break-all; }
.mail-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: linear-gradient(90deg, transparent, var(--glacier), transparent); box-shadow: 0 0 10px var(--glacier); }
.mail-link:hover { text-shadow: 0 0 40px rgba(124, 196, 255, .95), 0 0 80px rgba(60, 123, 255, .6); }
.contact .btn--lg { display: flex; width: fit-content; margin: 0 auto; }
.copy-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--ink-dim); font: inherit; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: .3s; }
.copy-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.copy-btn:hover { color: var(--ink); border-color: var(--glacier); box-shadow: 0 0 20px -4px var(--glacier); }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: 34px clamp(16px, 4vw, 56px); border-top: 1px solid var(--line); font-size: .74rem; color: var(--ink-faint); letter-spacing: .1em; }
.footer__brand { letter-spacing: .32em; color: var(--ink); font-weight: 500; }
.footer__brand em { font-style: normal; color: var(--ink-dim); font-weight: 300; }
.footer__links { display: flex; gap: 24px; text-transform: uppercase; }
.footer__links a:hover { color: var(--glacier); }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); padding: 12px 22px; border-radius: 999px; background: rgba(10, 18, 34, .9); border: 1px solid rgba(124, 196, 255, .35); box-shadow: 0 0 30px -6px var(--glacier); font-size: .8rem; letter-spacing: .08em; opacity: 0; pointer-events: none; transition: .5s var(--ease); z-index: 120; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .product { grid-template-columns: 1fr; }
  .product--flip .product__visual { order: 0; }
  .product__visual { min-height: 0; padding: 30px 0; }
  .holy__grid { grid-template-columns: 1fr 1fr; }
  .caps__grid { grid-template-columns: 1fr 1fr; }
  .about__cols { grid-template-columns: 1fr; gap: 40px; }
  .dossier { grid-template-columns: 1fr 1fr; }
  .dossier div:nth-child(2) { border-right: 0; }
  .dossier div:nth-child(-n+2) { border-bottom: 1px solid rgba(207, 230, 255, .1); }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; font-size: 1rem;
    background: rgba(3, 5, 10, .96); backdrop-filter: blur(20px); opacity: 0; pointer-events: none; transition: opacity .4s;
  }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
  .nav__burger { display: block; z-index: 2; }
  .features { grid-template-columns: 1fr; }
  .caps__grid { grid-template-columns: 1fr; }
  .holy__grid { grid-template-columns: 1fr; }
  .holy__phone { width: 30%; right: 0; bottom: -10%; border-width: 4px; border-radius: 14px; }
  .device { width: 250px; height: 510px; --ry: 0deg !important; --rx: 0deg; }
  .process { flex-wrap: wrap; justify-content: center; gap: 22px 28px; }
  .process i { display: none; }
  .hud--tl, .hud--br { display: none; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  html { scroll-behavior: auto; }
}
