/* ============================================================
   ORCUS GO — Core Visual System
   Black / White / Crimson · AI Operating System aesthetic
   ============================================================ */

:root {
  --bg:      #050505;
  --bg-2:    #0D0D0D;
  --accent:  #FF1B1B;
  --crimson: #A60016;
  --white:   #FFFFFF;
  --ghost:   #8A8A8A;
  --line:    rgba(255,255,255,0.08);
  --line-2:  rgba(255,255,255,0.04);
  --glow:    rgba(255,27,27,0.55);
  --glow-soft: rgba(255,27,27,0.16);

  --pad-x: clamp(1.25rem, 5vw, 6rem);
  --maxw: 1440px;

  --f-display: "Space Grotesk", sans-serif;
  --f-body: "Inter", sans-serif;
  --f-mono: "Space Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  cursor: none;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: #000; }

.accent { color: var(--accent); }
.ghost  { color: var(--ghost); }
.mono   { font-family: var(--f-mono); letter-spacing: 0.02em; }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ============================================================
   GRAIN / VIGNETTE / OVERLAYS
   ============================================================ */
.grain {
  position: fixed; inset: 0; z-index: 9990; pointer-events: none;
  opacity: 0.045; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 6s steps(6) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)}
  40%{transform:translate(3%,-4%)} 60%{transform:translate(-3%,2%)} 80%{transform:translate(4%,-2%)}
}
.vignette {
  position: fixed; inset: 0; z-index: 9989; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 50%, rgba(0,0,0,0.55) 100%);
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot {
  position: fixed; width: 6px; height: 6px; border-radius: 50%;
  background: var(--white); transform: translate(-50%,-50%);
}
.cursor__ring {
  position: fixed; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6); transform: translate(-50%,-50%);
  transition: width .3s var(--ease), height .3s var(--ease), border-color .3s;
}
.cursor__reticle { position: fixed; width: 46px; height: 46px; transform: translate(-50%,-50%); opacity: 0; transition: opacity .25s; }
.cursor__reticle span { position: absolute; background: var(--accent); }
.cursor__reticle span:nth-child(1){top:0;left:50%;width:1px;height:8px;transform:translateX(-50%)}
.cursor__reticle span:nth-child(2){bottom:0;left:50%;width:1px;height:8px;transform:translateX(-50%)}
.cursor__reticle span:nth-child(3){left:0;top:50%;height:1px;width:8px;transform:translateY(-50%)}
.cursor__reticle span:nth-child(4){right:0;top:50%;height:1px;width:8px;transform:translateY(-50%)}
body.cursor-action .cursor__ring { width: 52px; height: 52px; border-color: var(--accent); }
body.cursor-action .cursor__reticle { opacity: 1; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center;
  background: var(--bg); overflow: hidden;
}
.loader.is-done { pointer-events: none; }
.loader__particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.loader__scan {
  position: absolute; left: 0; right: 0; height: 2px; top: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 30px 6px var(--glow); opacity: .8;
  animation: scan 2.4s var(--ease) infinite;
}
@keyframes scan { 0%{top:6%} 50%{top:94%} 100%{top:6%} }
.loader__inner { position: relative; z-index: 2; text-align: center; width: min(90vw, 480px); }
.loader__mark { color: var(--accent); display: inline-block; margin-bottom: 1.6rem; filter: drop-shadow(0 0 14px var(--glow)); animation: spinmark 4s linear infinite; }
@keyframes spinmark { to { transform: rotate(360deg); } }
.loader__label { font-family: var(--f-mono); letter-spacing: .5em; font-size: .7rem; color: var(--accent); margin-bottom: .8rem; }
.loader__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem,3vw,1.5rem); margin-bottom: 2rem; }
.dots::after { content:""; animation: dots 1.4s steps(4,end) infinite; }
@keyframes dots { 0%{content:""} 25%{content:"."} 50%{content:".."} 75%{content:"..."} 100%{content:""} }
.loader__bar { height: 2px; width: 100%; background: var(--line); overflow: hidden; }
.loader__fill { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--crimson), var(--accent)); box-shadow: 0 0 16px var(--glow); }
.loader__meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: .7rem; color: var(--ghost); margin-top: .7rem; }
#loaderPct { color: var(--white); }

/* ============================================================
   OS HUD SHELL
   ============================================================ */
.hud { position: fixed; inset: 0; z-index: 500; pointer-events: none; }
.hud__corner { position: absolute; width: 26px; height: 26px; border: 1.5px solid rgba(255,255,255,0.22); }
.hud__corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.hud__corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.hud__corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.hud__corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ============================================================
   STATUS BAR
   ============================================================ */
.statusbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, rgba(5,5,5,0.85), transparent);
  backdrop-filter: blur(2px);
}
.statusbar__left, .statusbar__right { display: flex; align-items: center; gap: .55rem; }
.statusbar__sep { color: var(--ghost); opacity: .5; }
.statusbar__brand { display: flex; align-items: center; gap: .5rem; font-family: var(--f-display); font-weight: 700; letter-spacing: .04em; font-size: .85rem; pointer-events: auto; }
.statusbar__brand svg { color: var(--accent); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ghost); display: inline-block; }
.dot--live { background: var(--accent); box-shadow: 0 0 8px var(--glow); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }
@media (max-width: 720px){ .statusbar__right{display:none} }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 50%; right: max(1.4rem, 2vw); transform: translateY(-50%);
  z-index: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem;
}
.nav ul { display: flex; flex-direction: column; gap: .55rem; align-items: flex-end; }
.nav a { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .05em; color: var(--ghost); position: relative; padding-right: 1.4rem; transition: color .3s; text-transform: uppercase; }
.nav a::before { content: attr(data-i); position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: .55rem; opacity: .5; }
.nav a::after { content:""; position: absolute; right: 0; bottom: -3px; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.nav li a:hover, .nav a.is-active { color: var(--white); }
.nav a.is-active::after { width: 1.2rem; }
.nav__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-display); font-weight: 600; font-size: .8rem;
  padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 2px;
  background: rgba(255,27,27,0.06); transition: background .3s, border-color .3s;
}
.nav__cta:hover { background: rgba(255,27,27,0.16); border-color: var(--accent); }
.nav__cta .arrow { color: var(--accent); }
@media (max-width: 1024px){ .nav ul{display:none} .nav{top:auto;bottom:22px;right:50%;transform:translateX(50%)} }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  padding: 1rem 1.7rem; border-radius: 3px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .35s, border-color .3s;
}
.btn span { position: relative; z-index: 2; }
.btn--primary { background: var(--accent); color: #000; box-shadow: 0 0 0 rgba(255,27,27,0); }
.btn--primary:hover { box-shadow: 0 0 40px var(--glow); }
.btn--primary .btn__glow {
  position: absolute; inset: 0; background: linear-gradient(90deg, var(--crimson), var(--accent), var(--crimson));
  background-size: 200% 100%; animation: slidegrad 3s linear infinite; z-index: 1;
}
@keyframes slidegrad { to { background-position: 200% 0; } }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: inset 0 0 30px var(--glow-soft); }

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
main { position: relative; z-index: 10; }
section { position: relative; padding: clamp(6rem, 14vh, 12rem) var(--pad-x); max-width: var(--maxw); margin: 0 auto; }
.section-index { display: inline-block; color: var(--accent); font-size: .72rem; letter-spacing: .3em; margin-bottom: 1.1rem; }
.section-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.accent-fill { color: var(--accent); text-shadow: 0 0 42px var(--glow-soft); }

/* reveal primitives */
.reveal, .reveal-word, .reveal-line { will-change: transform, opacity; }
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-line, .reveal-word { display: inline-block; overflow: hidden; }

/* ============================================================
   1 · HERO
   ============================================================ */
.hero { min-height: 100vh; max-width: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 8rem; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__glow {
  position: absolute; z-index: 1; width: 60vw; height: 60vw; right: -10vw; top: 10vh;
  background: radial-gradient(circle, var(--glow-soft), transparent 62%);
  filter: blur(30px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; max-width: min(1440px, 92vw); margin: 0 auto; width: 100%; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .28em; color: var(--ghost); margin-bottom: 1.8rem; text-transform: uppercase; }
.tick { width: 8px; height: 8px; background: var(--accent); box-shadow: 0 0 12px var(--glow); }
.hero__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(3rem, 11vw, 9.5rem); line-height: 0.92; letter-spacing: -0.03em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .reveal-word { display: inline-block; transform: translateY(110%); }
.hero__title .ghost-line { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.45); }
.hero__sub { max-width: 46ch; margin: 2rem 0 2.6rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,0.72); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* holographic panel */
.holo {
  position: absolute; z-index: 3; right: max(2vw, 2rem); top: 22%;
  width: min(300px, 78vw); padding: 1.1rem; border-radius: 10px;
  background: linear-gradient(160deg, rgba(255,27,27,0.05), rgba(13,13,13,0.6));
  border: 1px solid var(--line); backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), inset 0 0 40px rgba(255,27,27,0.05);
  font-family: var(--f-mono); font-size: .72rem;
}
.holo__head { display: flex; align-items: center; gap: .5rem; color: var(--ghost); margin-bottom: 1rem; }
.holo__id { margin-left: auto; color: var(--accent); }
.holo__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.holo__row b { color: var(--accent); font-size: 1.4rem; }
.holo__meter { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 1.2rem; }
.holo__meter i { display: block; height: 100%; width: 64%; background: linear-gradient(90deg, var(--crimson), var(--accent)); box-shadow: 0 0 10px var(--glow); }
.holo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1rem; }
.holo__grid div span { color: var(--ghost); display: block; font-size: .62rem; }
.holo__grid div b { color: var(--white); font-size: .95rem; }
.holo__wave { height: 46px; border-top: 1px solid var(--line); padding-top: .5rem; }
.holo__wave canvas { width: 100%; height: 100%; }
@media (max-width: 900px){ .holo{ position: relative; right: auto; top: auto; margin: 3rem auto 0; } }

.hero__scroll { position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .5rem; font-family: var(--f-mono); font-size: .6rem; letter-spacing: .3em; color: var(--ghost); }
.hero__scroll i { width: 1px; height: 40px; background: linear-gradient(var(--accent), transparent); animation: scrolldrop 2s var(--ease) infinite; }
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ============================================================
   2 · WHO WE ARE
   ============================================================ */
.who { display: grid; gap: 2.5rem; }
.who__index { color: var(--accent); font-size: .72rem; letter-spacing: .3em; }
.who__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.4rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; }
.who__title span { display: block; }
.who__title .accent-fill { color: var(--accent); }
.who__body { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 900px; font-size: clamp(1.05rem, 2vw, 1.4rem); color: rgba(255,255,255,0.72); font-weight: 300; }
.who__statement { font-family: var(--f-display); font-weight: 500; color: var(--white); }
.who__ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 1.5rem; border-top: 1px solid var(--line); padding-top: 2.5rem; margin-top: 1rem; }
.who__ledger div b { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); display: block; line-height: 1; }
.who__ledger div span { font-family: var(--f-mono); font-size: .72rem; color: var(--ghost); letter-spacing: .04em; }

/* ============================================================
   3 · SYSTEM ARCHITECTURE
   ============================================================ */
.arch__head { margin-bottom: 4rem; }
.arch__diagram { position: relative; max-width: 720px; margin: 0 auto; }
.arch__spine { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 4px; height: 100%; }
.arch__spine-bg { stroke: var(--line); stroke-width: 4; }
.arch__spine-fg { stroke: var(--accent); stroke-width: 4; stroke-dasharray: 700; stroke-dashoffset: 700; filter: drop-shadow(0 0 6px var(--glow)); }
.arch__nodes { display: flex; flex-direction: column; gap: clamp(2rem, 5vh, 3.4rem); position: relative; z-index: 2; }
.arch__node {
  position: relative; width: min(400px, 80%); padding: 1.3rem 1.6rem; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .4s, box-shadow .4s;
}
.arch__node.in { opacity: 1; transform: none; }
.arch__node:nth-child(odd) { align-self: flex-start; }
.arch__node:nth-child(even) { align-self: flex-end; text-align: right; }
.arch__node.in { border-color: rgba(255,27,27,0.4); box-shadow: 0 0 34px rgba(255,27,27,0.09); }
.arch__num { color: var(--accent); font-size: .68rem; letter-spacing: .2em; }
.arch__node b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 3vw, 1.9rem); display: block; margin: .2rem 0; }
.arch__node em { color: var(--ghost); font-style: normal; font-size: .82rem; font-family: var(--f-mono); }
.arch__node::before { content:""; position: absolute; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--glow); transform: translateY(-50%); }
.arch__node:nth-child(odd)::before { right: -14%; }
.arch__node:nth-child(even)::before { left: -14%; }
.arch__node--end b { color: var(--accent); }
@media (max-width: 640px){
  .arch__node, .arch__node:nth-child(even){ width: 84%; align-self: flex-start; text-align: left; margin-left: 8%; }
  .arch__spine, .arch__node::before{ left: 4%; }
  .arch__node:nth-child(odd)::before, .arch__node:nth-child(even)::before{ left: -6%; right:auto; }
}

/* ============================================================
   4 · DEPLOYMENTS
   ============================================================ */
.deploy__head, .process__head, .why__head, .stack__head, .console__head { margin-bottom: 3.5rem; }
.deploy__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.dcard {
  position: relative; background: var(--bg); padding: 2rem 1.6rem; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
  transition: background .4s;
}
.dcard::before { content:""; position: absolute; inset: 0; background: radial-gradient(240px circle at var(--mx,50%) var(--my,50%), rgba(255,27,27,0.14), transparent 60%); opacity: 0; transition: opacity .35s; }
.dcard:hover::before { opacity: 1; }
.dcard:hover { background: var(--bg-2); }
.dcard__num { font-family: var(--f-mono); font-size: .68rem; color: var(--ghost); letter-spacing: .1em; }
.dcard__body { position: relative; z-index: 2; }
.dcard__title { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin-bottom: .5rem; transition: color .3s; }
.dcard:hover .dcard__title { color: var(--accent); }
.dcard__desc { color: var(--ghost); font-size: .82rem; line-height: 1.5; }
.dcard__mark { position: absolute; top: 1.4rem; right: 1.4rem; width: 7px; height: 7px; border: 1px solid var(--ghost); transition: all .3s; }
.dcard:hover .dcard__mark { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 12px var(--glow); }

/* ============================================================
   5 · PROCESS TIMELINE
   ============================================================ */
.process__track { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 46px; height: 2px; background: var(--line); }
.process__line span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--crimson), var(--accent)); box-shadow: 0 0 14px var(--glow); }
.process__steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.process__step { position: relative; padding-top: 74px; opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.process__step.in { opacity: 1; transform: none; }
.process__dot { position: absolute; top: 38px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ghost); transition: all .4s; z-index: 2; }
.process__step.in .process__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 18px var(--glow); }
.process__step .mono { font-size: .66rem; color: var(--accent); letter-spacing: .1em; }
.process__step b { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; display: block; margin: .3rem 0 .6rem; }
.process__step em { color: var(--ghost); font-style: normal; font-size: .82rem; line-height: 1.5; }
@media (max-width: 820px){
  .process__steps{ grid-template-columns: 1fr; gap: 2.2rem; }
  .process__line{ left: 8px; right: auto; top: 0; bottom: 0; width: 2px; height: 100%; }
  .process__line span{ width: 2px !important; height: 0%; }
  .process__step{ padding-top: 0; padding-left: 42px; }
  .process__dot{ top: 4px; left: 0; }
}

/* ============================================================
   6 · WHY GRID
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wcard { background: var(--bg); padding: 2rem 1.5rem; min-height: 160px; display: flex; flex-direction: column; gap: .7rem; position: relative; overflow: hidden; transition: background .4s; }
.wcard:hover { background: var(--bg-2); }
.wcard__i { font-family: var(--f-mono); font-size: .66rem; color: var(--accent); letter-spacing: .1em; }
.wcard b { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.wcard span.d { color: var(--ghost); font-size: .8rem; line-height: 1.5; }
.wcard::after { content:""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); box-shadow: 0 0 14px var(--glow); transition: width .5s var(--ease); }
.wcard:hover::after { width: 100%; }

/* ============================================================
   7 · CONSOLE
   ============================================================ */
.console__sub { color: var(--ghost); margin-top: 1rem; max-width: 50ch; }
.console__frame {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, rgba(13,13,13,0.9), rgba(5,5,5,0.95));
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), inset 0 0 60px rgba(255,27,27,0.04);
}
.console__topbar { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .72rem; color: var(--ghost); }
.console__tabs { margin-left: auto; display: flex; gap: 1rem; }
.console__tabs b { font-weight: 400; cursor: pointer; transition: color .3s; }
.console__tabs b.is-active { color: var(--accent); }
.console__body { display: grid; grid-template-columns: 200px 1fr 240px; gap: 1px; background: var(--line); }
.console__body > * { background: var(--bg); padding: 1.6rem; }
.console__kpis { display: flex; flex-direction: column; gap: 1.6rem; }
.kpi span { font-family: var(--f-mono); font-size: .66rem; color: var(--ghost); text-transform: uppercase; letter-spacing: .06em; }
.kpi b { font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.2rem); display: block; margin: .2rem 0; }
.kpi__trend { font-family: var(--f-mono); font-size: .72rem; color: var(--accent); font-style: normal; }
.console__chart { position: relative; display: flex; flex-direction: column; }
.console__chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-family: var(--f-display); }
.console__chart canvas { width: 100%; height: 180px; }
.console__bars { display: flex; gap: 6px; align-items: flex-end; height: 60px; margin-top: 1rem; }
.console__bars i { flex: 1; background: linear-gradient(var(--accent), var(--crimson)); border-radius: 2px 2px 0 0; height: 20%; transition: height .4s var(--ease); box-shadow: 0 0 8px var(--glow-soft); }
.console__ai { display: flex; flex-direction: column; }
.console__ai-head { font-family: var(--f-mono); font-size: .66rem; color: var(--ghost); letter-spacing: .1em; display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.console__ai-log { flex: 1; display: flex; flex-direction: column; gap: .7rem; font-size: .76rem; }
.console__ai-log .aimsg { padding: .55rem .7rem; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); color: rgba(255,255,255,0.8); opacity: 0; transform: translateY(8px); }
.console__ai-log .aimsg.in { opacity: 1; transform: none; transition: all .5s var(--ease); }
.console__ai-log .aimsg.aimsg--sys { border-color: rgba(255,27,27,0.35); background: rgba(255,27,27,0.05); }
.console__ai-input { margin-top: 1rem; display: flex; align-items: center; gap: .4rem; font-family: var(--f-mono); font-size: .78rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.caret { width: 7px; height: 15px; background: var(--accent); animation: blink 1s steps(2) infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@media (max-width: 960px){ .console__body{ grid-template-columns: 1fr; } .console__kpis{ flex-direction: row; flex-wrap: wrap; } .kpi{ flex: 1 1 30%; } }

/* ============================================================
   8 · STACK
   ============================================================ */
.stack__grid { display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.schip { background: var(--bg); padding: 1.4rem 1.8rem; flex: 1 1 auto; min-width: 150px; text-align: center; font-family: var(--f-display); font-weight: 500; font-size: 1.05rem; color: rgba(255,255,255,0.65); position: relative; transition: color .3s, background .3s; letter-spacing: .01em; }
.schip::before { content:""; position: absolute; inset: 0; background: radial-gradient(200px circle at 50% 50%, var(--glow-soft), transparent 65%); opacity: 0; transition: opacity .35s; }
.schip:hover { color: var(--white); background: var(--bg-2); }
.schip:hover::before { opacity: 1; }
.schip small { display: block; font-family: var(--f-mono); font-size: .58rem; color: var(--accent); letter-spacing: .12em; margin-top: .25rem; opacity: .8; }

/* ============================================================
   9 · CTA
   ============================================================ */
.cta { text-align: center; overflow: hidden; }
.cta__glow { position: absolute; z-index: 0; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 70vw; height: 70vw; background: radial-gradient(circle, var(--glow-soft), transparent 60%); filter: blur(20px); pointer-events: none; }
.cta > * { position: relative; z-index: 2; }
.cta__title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 11vw, 9rem); line-height: 0.94; letter-spacing: -0.03em; margin: 1rem 0 2.5rem; }
.cta__title span { display: block; }
.cta__title .reveal-line:nth-child(1), .cta__title .reveal-line:nth-child(3) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.5); }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   10 · FOOTER
   ============================================================ */
.footer { position: relative; z-index: 10; border-top: 1px solid var(--line); padding: 4rem var(--pad-x) 2rem; max-width: var(--maxw); margin: 0 auto; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.footer__brand svg { color: var(--accent); }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer__nav div { display: flex; flex-direction: column; gap: .55rem; }
.footer__label { font-size: .6rem; color: var(--ghost); letter-spacing: .2em; margin-bottom: .3rem; }
.footer__nav a { color: rgba(255,255,255,0.66); font-size: .88rem; transition: color .3s; width: fit-content; }
.footer__nav a:hover { color: var(--accent); }
.footer__wordmark { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 18vw, 15rem); line-height: .8; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1px var(--line); text-align: center; margin: 1rem 0; user-select: none; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; font-family: var(--f-mono); font-size: .68rem; color: var(--ghost); }
.footer__base-right { display: flex; gap: 1.2rem; align-items: center; }
.footer__base-right a:hover { color: var(--accent); }
@media (max-width: 760px){ .footer__top{ grid-template-columns: 1fr; } .footer__nav{ grid-template-columns: 1fr 1fr; } }

/* ============================================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================================ */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-word, .arch__node, .process__step { opacity: 1 !important; transform: none !important; }
  .hero__title .reveal-word { transform: none !important; }
  body { cursor: auto; }
  .cursor { display: none; }
}

/* touch devices: native cursor */
@media (hover: none) {
  body { cursor: auto; }
  .cursor { display: none; }
}
