:root {
  --void: #050505;
  --blood: #ff003c;
  --blood-glow: rgba(255, 0, 60, .8);
  --blood-dim: rgba(255, 0, 60, .15);
  --txt: #fff;
  --txt-dim: rgba(255, 255, 255, .45);
  --txt-ghost: rgba(255, 255, 255, .18);
  --green: #00ff41;
  --gold: #ffd700;
  --cyan: #00ffff;
  --purple: #b026ff;
  --human: #f5f5f5;
  --fd: 'Orbitron', sans-serif;
  --ff: 'Cinzel Decorative', serif;
  --fu: 'Chakra Petch', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --glass: rgba(12, 2, 6, .82);
  --glass-border: rgba(255, 0, 60, .22);
  --glass-hover: rgba(255, 0, 60, .45);
  --shadow: 0 24px 80px rgba(0, 0, 0, .8);
  --glow-red: 0 0 30px rgba(255, 0, 60, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-snap: cubic-bezier(.16, 1, .3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) #000;
}

::-webkit-scrollbar {
  width: 3px
}

::-webkit-scrollbar-track {
  background: #000
}

::-webkit-scrollbar-thumb {
  background: var(--blood);
  border-radius: 2px
}

body {
  width: 100%;
  background: var(--void);
  color: var(--txt);
  font-family: var(--fu);
  cursor: none;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: -10%;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 60, .14), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(0, 255, 255, .08), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, .03), transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(20px);
}

::selection {
  background: var(--blood);
  color: #000
}

/* BOOT */
#boot {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--fm);
  color: var(--green);
  font-size: 13px;
  text-align: center;
  transition: opacity 1.2s var(--ease);
}

#boot .blog {
  width: 420px;
  max-width: 90vw;
  height: 200px;
  overflow: hidden;
  text-align: left;
  margin-bottom: 24px;
  opacity: .85;
  line-height: 1.5;
  letter-spacing: 1px
}

#boot .bbar {
  width: 320px;
  max-width: 80vw;
  height: 2px;
  background: rgba(0, 255, 65, .08);
  position: relative;
  overflow: hidden;
  border-radius: 1px
}

#boot .bbar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: bload 3.8s var(--ease-snap) forwards
}

@keyframes bload {
  to {
    width: 100%
  }
}

#boot .btag {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 5px;
  color: rgba(0, 255, 65, .5)
}

/* CURSOR */
.cur-dot,
.cur-ring,
.cur-cross,
.cur-box {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform
}

.cur-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 8px #fff, 0 0 20px rgba(255, 255, 255, .4);
  z-index: 10001
}

.cur-ring {
  width: 44px;
  height: 44px;
  border: 1px solid var(--blood);
  border-radius: 50%;
  transition: width .35s var(--ease), height .35s var(--ease), border-color .35s, opacity .35s;
  mix-blend-mode: difference;
  opacity: .7
}

.cur-ring.hover {
  width: 64px;
  height: 64px;
  border-color: var(--gold);
  opacity: 1
}

.cur-cross {
  width: 22px;
  height: 22px;
  z-index: 9998;
  opacity: .5
}

.cur-cross::before,
.cur-cross::after {
  content: '';
  position: absolute;
  background: var(--blood);
  box-shadow: 0 0 6px var(--blood)
}

.cur-cross::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%)
}

.cur-cross::after {
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  transform: translateX(-50%)
}

.cur-box {
  width: 60px;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, .06);
  opacity: 0;
  transition: opacity .3s, width .3s var(--ease), height .3s var(--ease);
  border-radius: 2px
}

.cur-box.on {
  opacity: 1;
  border-color: var(--blood);
  box-shadow: var(--glow-red)
}

/* ATMOSPHERE */
#webgl {
  position: fixed;
  inset: 0;
  z-index: 0
}

#matrix {
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: .12;
  pointer-events: none
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(0, 0, 0, .92) 100%);
  z-index: 2;
  pointer-events: none
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' fill='none' filter='url(%23n)'/%3E%3C/svg%3E")
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .04) 0 1px, transparent 1px 3px)
}

/* GLASS */
.glass {
  background: linear-gradient(135deg, rgba(18, 8, 12, .88), rgba(7, 2, 6, .78));
  backdrop-filter: blur(26px) saturate(1.45);
  -webkit-backdrop-filter: blur(26px) saturate(1.45);
  border: 1px solid rgba(255, 0, 60, .24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  position: relative;
  transition: all .45s var(--ease)
}

.glass:hover {
  border-color: var(--glass-hover);
  box-shadow: 0 35px 90px rgba(0, 0, 0, .9), 0 0 45px rgba(255, 0, 60, .16)
}

.glass-cut {
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px)
}

.glass-cut-sm {
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px)
}

/* HUD */
.hud {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between
}

.hud-top,
.hud-bot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.hud-bot {
  align-items: flex-end
}

.hud-el {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--txt-dim);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  line-height: 2
}

.hud-el span {
  color: var(--blood);
  text-shadow: 0 0 6px var(--blood)
}

.hud-logo {
  font-family: var(--fd);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 25px var(--blood-glow), 0 0 80px rgba(255, 0, 60, .3);
  letter-spacing: 8px;
  pointer-events: auto;
  cursor: none;
  text-decoration: none;
  transition: all .4s var(--ease)
}

.hud-logo:hover {
  text-shadow: 0 0 40px var(--blood-glow), 0 0 120px rgba(255, 0, 60, .5);
  letter-spacing: 12px
}

.hud-logo em {
  font-style: normal;
  color: var(--blood)
}

.hud-panel {
  padding: 14px 22px;
  pointer-events: auto
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--blood);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--blood), 0 0 30px rgba(255, 0, 60, .4);
  animation: pulse 2.2s ease-in-out infinite;
  display: inline-block
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .25;
    transform: scale(1.7)
  }
}

/* NAV */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: rgba(5, 0, 2, .6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 60, .15);
  pointer-events: auto
}

.ndots {
  display: flex;
  gap: 14px;
  align-items: center
}

.ndot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  transition: all .35s var(--ease);
  cursor: pointer
}

.ndot.on {
  background: var(--blood);
  box-shadow: 0 0 14px var(--blood);
  width: 28px;
  border-radius: 3px
}

.ndot:hover {
  background: var(--blood);
  transform: scale(1.4)
}

.sec-name {
  font-family: var(--fm);
  font-size: 9px;
  color: var(--txt-ghost);
  letter-spacing: 5px;
  margin-left: 22px
}

/* SECTIONS */
#home {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #04040a
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 0, 60, .14), transparent 38%),
    radial-gradient(circle at 16% 18%, rgba(255, 255, 255, .08), transparent 18%),
    #04040a;
  pointer-events: none
}

.hero-media::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 255, 255, .06), transparent 14%),
    radial-gradient(circle at 78% 22%, rgba(255, 0, 60, .08), transparent 16%),
    radial-gradient(circle at 58% 74%, rgba(0, 204, 255, .06), transparent 15%);
  filter: blur(18px);
  opacity: .78;
  animation: atmosphereDrift 18s linear infinite alternate;
  z-index: 1
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 4, 10, .18), rgba(4, 4, 10, .62)),
    radial-gradient(circle at 50% 65%, transparent 30%, rgba(0, 0, 0, .52) 100%);
  z-index: 2
}

.hero-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none
}

.hero-orbit span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 10px var(--blood), 0 0 26px rgba(255, 0, 60, .35);
  opacity: .5;
  animation: orbitRise 10s linear infinite
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  opacity: .78;
  filter: saturate(1.2) contrast(1.08) brightness(.72);
  transform: scale(1.03)
}

.hero-video {
  animation: heroFlicker 8s steps(1, end) infinite;
}

.hero-diamond {
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: min(72vw, 940px);
  opacity: .24;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, .14)) drop-shadow(0 0 60px rgba(255, 0, 60, .24));
  animation: heroDiamondFloat 10s var(--ease) infinite alternate;
  z-index: 3
}

.hero-c {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 1150px;
  padding: 40px;
  isolation: isolate
}

.hero-c::before {
  content: '';
  position: absolute;
  inset: 18% -8% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 60, .65), transparent);
  filter: blur(1px);
  opacity: .7;
  animation: sweepLine 7s linear infinite;
  pointer-events: none;
}

.hero-pre {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 14px;
  color: var(--blood);
  margin-bottom: 28px;
  text-shadow: 0 0 20px var(--blood-glow);
  animation: fadeUp 1.5s var(--ease) .5s both
}

.hero-title {
  font-family: var(--fd);
  font-size: clamp(64px, 18vw, 260px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.03em;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 0 30px var(--blood-glow), 0 0 120px rgba(255, 0, 60, .4);
  animation: fadeUp 1.8s var(--ease) .8s both
}

.hero-title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.18) 45%, transparent 55%);
  transform: translateX(-120%) skewX(-18deg);
  animation: titleSheen 6s linear infinite;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-sub {
  color: var(--txt-dim);
  font-size: clamp(14px, 1.6vw, 18px);
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 1.9;
  font-weight: 300;
  animation: fadeUp 2s var(--ease) 1.1s both
}

.hero-sub em {
  color: var(--blood);
  font-style: normal;
  text-shadow: 0 0 10px var(--blood-glow)
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto 34px;
  animation: fadeUp 2.2s var(--ease) 1.3s both
}

.hero-badges span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 0, 60, .24);
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .75);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(12px)
}

.hero-badges .badge-primary {
  color: #fff;
  border-color: var(--blood);
  box-shadow: 0 0 20px rgba(255, 0, 60, .15)
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(.96)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes atmosphereDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1%, 0) scale(1.04); }
}

@keyframes heroFlicker {
  0%, 100% { opacity: .78; filter: saturate(1.2) contrast(1.08) brightness(.72); }
  47% { opacity: .74; }
  48% { opacity: .86; }
  49% { opacity: .7; }
  50% { opacity: .84; }
}

@keyframes orbitRise {
  0% { transform: translate3d(0, 16vh, 0) scale(.6); opacity: 0; }
  20% { opacity: .8; }
  100% { transform: translate3d(0, -26vh, 0) scale(1.8); opacity: 0; }
}

@keyframes sweepLine {
  from { transform: translateX(-35%); }
  to { transform: translateX(35%); }
}

@keyframes titleSheen {
  0% { transform: translateX(-120%) skewX(-18deg); }
  55% { transform: translateX(140%) skewX(-18deg); }
  100% { transform: translateX(140%) skewX(-18deg); }
}

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 22px 64px;
  background: transparent;
  border: 1px solid var(--blood);
  color: var(--txt);
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: all .5s var(--ease);
  pointer-events: auto;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  animation: fadeUp 2.2s var(--ease) 1.4s both
}

.hero-motion-toggle {
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: rgba(255, 0, 60, .08);
  border: 1px solid rgba(255, 0, 60, .28);
  color: var(--txt-dim);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: all .35s var(--ease);
  animation: fadeUp 2.3s var(--ease) 1.55s both
}

.hero-motion-toggle:hover {
  color: #fff;
  background: rgba(255, 0, 60, .16);
  box-shadow: 0 0 30px rgba(255, 0, 60, .18)
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blood);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
  z-index: -1
}

.cta:hover {
  color: #000;
  box-shadow: 0 0 60px var(--blood-glow);
  border-color: var(--blood)
}

.cta:hover::before {
  transform: scaleX(1)
}

.sec {
  min-height: 100vh;
  padding: 160px 40px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10
}

.sec-title {
  font-family: var(--fd);
  font-size: clamp(36px, 7vw, 90px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 10px;
  color: transparent;
  -webkit-text-stroke: 1px var(--txt-ghost);
  transition: all .6s var(--ease)
}

.sec-title span {
  color: #fff;
  -webkit-text-stroke: 0;
  text-shadow: 0 0 30px var(--blood-glow);
  font-style: italic
}

.sec-sub {
  text-align: center;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--blood);
  letter-spacing: 5px;
  margin-bottom: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-shadow: 0 0 8px rgba(0, 0, 0, .9)
}

.sec-sub::before,
.sec-sub::after {
  content: "\25C6";
  font-size: 7px;
  color: var(--gold);
  text-shadow: 0 0 8px var(--gold)
}

/* GRID */
.g4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 1400px
}

.manifesto-sec {
  position: relative;
  z-index: 10;
  padding: 0 40px 80px
}

.manifesto-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px;
  position: relative;
  overflow: hidden
}

.manifesto-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 0, 60, .18), transparent 42%);
  pointer-events: none
}

.manifesto-intro {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 32px
}

.manifesto-kicker {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 5px;
  color: var(--blood);
  margin-bottom: 14px;
  text-transform: uppercase
}

.manifesto-intro h2 {
  font-family: var(--fd);
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 12px;
  color: #fff
}

.manifesto-intro p {
  color: var(--txt-dim);
  font-size: 15px;
  line-height: 1.9
}

.manifesto-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px
}

.manifesto-card {
  padding: 24px;
  border: 1px solid rgba(255, 0, 60, .18);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(255, 0, 60, .05));
  backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05)
}

.manifesto-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 0, 60, .14);
  color: var(--blood);
  font-size: 18px;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(255, 0, 60, .14)
}

.manifesto-card h3 {
  font-family: var(--fd);
  font-size: 16px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px
}

.manifesto-card p {
  color: var(--txt-dim);
  font-size: 13px;
  line-height: 1.8
}

.mythology-sec {
  position: relative;
  z-index: 10;
  padding: 0 40px 80px
}

.mythology-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px;
  position: relative;
  overflow: hidden
}

.mythology-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom left, rgba(0, 255, 255, .1), transparent 38%);
  pointer-events: none
}

.mythology-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 30px
}

.mythology-intro h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 3.4vw, 34px);
  margin-bottom: 12px;
  color: #fff
}

.mythology-intro p {
  color: var(--txt-dim);
  font-size: 15px;
  line-height: 1.9
}

.mythology-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px
}

.myth-card {
  padding: 26px;
  border: 1px solid rgba(255, 0, 60, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .05), rgba(8, 2, 4, .42));
  backdrop-filter: blur(18px);
  border-radius: 20px
}

.myth-card h3 {
  font-family: var(--fd);
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 14px
}

.pillar-list {
  list-style: none;
  display: grid;
  gap: 12px
}

.pillar-list li {
  color: var(--txt-dim);
  font-size: 13px;
  line-height: 1.8;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 0, 60, .25)
}

.pillar-list strong {
  color: #fff
}

.story-card p {
  color: var(--txt-dim);
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 12px
}

.story-card blockquote {
  margin: 12px 0 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--blood);
  color: var(--gold);
  font-style: italic;
  background: rgba(255, 0, 60, .06)
}

.core-sec {
  position: relative;
  z-index: 10;
  padding: 0 40px 80px
}

.core-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.core-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 0, 60, .16), transparent 42%);
  pointer-events: none
}

.core-copy {
  position: relative;
  z-index: 1
}

.core-copy h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 3.3vw, 34px);
  margin-bottom: 12px;
  color: #fff
}

.core-copy p {
  color: var(--txt-dim);
  font-size: 14px;
  line-height: 1.9
}

.core-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 420px
}

.core-facts span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 0, 60, .16);
  background: rgba(255, 255, 255, .04);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--txt-dim);
  text-transform: uppercase
}

.core-facts span:nth-child(odd) {
  color: #fff;
  border-color: rgba(255, 0, 60, .24)
}

.core-media {
  position: relative;
  z-index: 1
}

.core-media img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 0, 60, .24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65)
}

.core-caption {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blood);
  text-transform: uppercase
}

/* CORE SHOWCASE */
.core-sec {
  position: relative;
  z-index: 10;
  padding: 0 40px 80px
}

.core-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.core-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 0, 60, .16), transparent 42%);
  pointer-events: none
}

.core-copy {
  position: relative;
  z-index: 1
}

.core-copy h2 {
  font-family: var(--fd);
  font-size: clamp(24px, 3.3vw, 34px);
  margin-bottom: 12px;
  color: #fff
}

.core-copy p {
  color: var(--txt-dim);
  font-size: 14px;
  line-height: 1.9
}

.core-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
  max-width: 420px
}

.core-facts span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 0, 60, .16);
  background: rgba(255, 255, 255, .04);
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--txt-dim);
  text-transform: uppercase
}

.core-facts span:nth-child(odd) {
  color: #fff;
  border-color: rgba(255, 0, 60, .24)
}

.core-media {
  position: relative;
  z-index: 1
}

.core-media img {
  width: 100%;
  display: block;
  border: 1px solid rgba(255, 0, 60, .24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65)
}

.core-caption {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--blood);
  text-transform: uppercase
}

/* TRACK CARD */
.tcard {
  background: var(--glass);
  backdrop-filter: blur(22px) saturate(1.3);
  border: 1px solid var(--glass-border);
  padding: 26px;
  transition: all .5s var(--ease);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  box-shadow: var(--shadow)
}

.tcard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 0, 60, .12), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none
}

.tcard:hover::before {
  opacity: 1
}

.tcard:hover {
  border-color: var(--glass-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .9), 0 0 35px rgba(255, 0, 60, .18)
}

.tc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 0, 60, .08);
  padding-bottom: 16px
}

.tc-ico {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blood), #300008);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 60, .3);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: all .5s var(--ease);
  flex-shrink: 0
}

.tcard:hover .tc-ico {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 0 30px rgba(255, 0, 60, .5)
}

.tc-name {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 700;
  color: var(--txt);
  text-transform: uppercase;
  letter-spacing: 1px
}

.tc-id {
  font-family: var(--fm);
  font-size: 8px;
  color: var(--blood);
  letter-spacing: 3px;
  margin-top: 3px
}

.tc-desc {
  font-size: 13px;
  color: var(--txt-dim);
  line-height: 1.7;
  margin-bottom: 20px
}

.tc-btn {
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1px solid var(--blood);
  color: var(--blood);
  font-family: var(--fm);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: pointer;
  transition: all .3s var(--ease);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase
}

.tc-btn:hover {
  background: var(--blood);
  color: #000;
  box-shadow: 0 0 20px var(--blood-glow)
}

.tc-btn::after {
  content: "\2197";
  font-size: 13px
}

/* BIO */
.bio-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto 80px
}

.bio-row.rev {
  grid-template-columns: 1.2fr 1fr
}

.bio-row.rev .bio-img {
  order: 2
}

.bio-img {
  border: 1px solid var(--glass-border);
  overflow: hidden;
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
  position: relative;
  box-shadow: var(--shadow)
}

.bio-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  filter: saturate(.8) contrast(1.15) brightness(.9);
  transition: transform 1.6s var(--ease), filter .8s
}

.bio-row:hover .bio-img img {
  transform: scale(1.07);
  filter: saturate(1.1) contrast(1.1) brightness(1)
}

.bio-img .btag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: 4px;
  color: var(--green);
  background: rgba(0, 0, 0, .75);
  padding: 5px 12px;
  backdrop-filter: blur(8px)
}

.bio-txt h3 {
  font-family: var(--fd);
  font-size: 22px;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 8px
}

.bio-txt .brec {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 5px;
  color: var(--blood);
  margin-bottom: 18px
}

.bio-txt p {
  color: var(--txt-dim);
  font-size: 14px;
  line-height: 2;
  margin-bottom: 16px
}

.bio-txt blockquote {
  border-left: 2px solid var(--gold);
  padding: 10px 0 10px 20px;
  color: var(--gold);
  font-style: italic;
  font-size: 13px;
  margin: 20px 0;
  line-height: 1.9
}

/* TRACK ROW */
.trow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  margin-bottom: 8px;
  transition: all .4s var(--ease);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px)
}

.trow:hover {
  border-color: var(--blood);
  transform: translateX(10px);
  box-shadow: -6px 0 24px rgba(255, 0, 60, .2)
}

.trow .tn {
  font-family: var(--fu);
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px
}

.trow .tp {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--green)
}

/* PHASE TABS */
.ftabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 32px 0
}

.ftab {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 4px;
  padding: 11px 18px;
  border: 1px solid var(--glass-border);
  color: var(--txt-dim);
  background: rgba(0, 0, 0, .5);
  cursor: pointer;
  transition: all .35s var(--ease);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px)
}

.ftab.on,
.ftab:hover {
  color: #fff;
  border-color: var(--blood);
  background: var(--blood-dim);
  box-shadow: 0 0 20px rgba(255, 0, 60, .25)
}

.fbody {
  max-width: 840px;
  margin: 0 auto;
  min-height: 360px
}

.fbody h3 {
  font-family: var(--fd);
  font-size: 22px;
  letter-spacing: 5px;
  color: #fff;
  text-align: center;
  margin-bottom: 24px
}

.fbody p {
  color: var(--txt-dim);
  font-size: 14px;
  line-height: 2.1;
  margin-bottom: 18px
}

.fbody em {
  color: var(--gold);
  font-style: normal;
  text-shadow: 0 0 8px rgba(255, 215, 0, .3)
}

/* MUSIC CARD */
.mcard {
  padding: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(16px);
  font-family: var(--fm);
  transition: all .4s var(--ease);
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px))
}

.mcard:hover {
  transform: translateY(-5px);
  border-color: var(--blood);
  box-shadow: 0 0 28px rgba(255, 0, 60, .25)
}

.mcard .mi {
  font-size: 24px;
  margin-bottom: 10px
}

.mcard .mn {
  font-family: var(--fu);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  letter-spacing: 1px
}

.mcard .mid {
  font-size: 8px;
  color: var(--txt-ghost);
  letter-spacing: 3px;
  margin-top: 5px
}

/* WAVEFORM */
#waveC {
  position: fixed;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: .5;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  box-shadow: 0 0 60px rgba(255, 0, 60, .08);
  background: rgba(0, 0, 0, .25);
  transition: opacity .6s
}

#waveC.on {
  opacity: .85
}

.hbar {
  position: fixed;
  bottom: 95px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  display: flex;
  gap: 22px;
  align-items: center;
  background: var(--glass);
  backdrop-filter: blur(22px);
  border: 1px solid var(--glass-border);
  padding: 12px 28px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  font-family: var(--fm);
  font-size: 10px;
  color: var(--txt-dim);
  letter-spacing: 1px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .6s
}

.hbar.on {
  opacity: 1
}

.hbar .hi {
  display: flex;
  align-items: center;
  gap: 7px
}

.hbar .hi span {
  color: var(--blood);
  font-weight: 700
}

.hbar .hd {
  width: 1px;
  height: 18px;
  background: var(--glass-border)
}

/* AI CHAT */
.aichat {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 400px;
  max-height: 620px;
  background: var(--glass);
  backdrop-filter: blur(30px) saturate(1.5);
  border: 1px solid var(--blood);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .9), 0 0 50px rgba(255, 0, 60, .15);
  transition: all .5s var(--ease);
  pointer-events: auto;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px)
}

.aichat.min {
  max-height: 52px;
  overflow: hidden
}

.ch-head {
  padding: 16px 20px;
  background: linear-gradient(90deg, rgba(255, 0, 60, .15), transparent);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer
}

.ch-title {
  font-family: var(--fd);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 10px
}

.ch-msgs {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  max-height: 420px;
  scrollbar-width: thin;
  scrollbar-color: var(--blood) transparent
}

.msg {
  margin: 10px 0;
  padding: 12px 16px;
  max-width: 88%;
  font-size: 12px;
  line-height: 1.6;
  animation: msgIn .5s var(--ease);
  font-family: var(--fu);
  backdrop-filter: blur(4px)
}

@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.94)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.msg.ai {
  background: rgba(255, 0, 60, .04);
  border-left: 2px solid var(--blood);
  margin-right: auto;
  color: #ccc;
  border-radius: 0 10px 10px 10px
}

.msg.user {
  background: rgba(255, 255, 255, .04);
  border-left: 2px solid var(--gold);
  margin-left: auto;
  color: #fff;
  border-radius: 10px 0 10px 10px
}

.msg.sys {
  background: rgba(0, 255, 65, .03);
  border: 1px dashed rgba(0, 255, 65, .3);
  max-width: 100%;
  font-family: var(--fm);
  font-size: 10px;
  color: var(--green);
  text-align: center;
  border-radius: 4px
}

.msg .meta {
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: 3px;
  margin-bottom: 6px;
  opacity: .6
}

.msg.ai .meta {
  color: var(--blood)
}

.msg.user .meta {
  color: var(--gold)
}

.ch-input {
  padding: 14px 18px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, .5)
}

.ch-in {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--glass-border);
  color: var(--txt);
  font-family: var(--fm);
  font-size: 11px;
  outline: none;
  transition: all .3s
}

.ch-in:focus {
  border-color: var(--blood);
  box-shadow: inset 0 0 12px rgba(255, 0, 60, .15);
  background: rgba(255, 0, 60, .04)
}

.ch-send {
  padding: 12px 22px;
  background: var(--blood);
  border: none;
  color: #fff;
  cursor: pointer;
  font-family: var(--fd);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  transition: all .3s
}

.ch-send:hover {
  background: #fff;
  color: var(--blood);
  box-shadow: 0 0 24px var(--blood-glow)
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(24px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px
}

.overlay.on {
  display: flex
}

.ov-c {
  max-width: 1000px;
  width: 100%;
  background: #000;
  border: 1px solid var(--blood);
  position: relative;
  padding: 60px;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px);
  box-shadow: 0 0 80px rgba(255, 0, 60, .15)
}

.ov-x {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: var(--blood);
  font-size: 30px;
  cursor: pointer;
  transition: all .4s var(--ease)
}

.ov-x:hover {
  transform: rotate(90deg) scale(1.2);
  color: #fff
}

/* TERMINAL */
.term {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1800;
  background: rgba(0, 0, 0, .95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 255, 65, .2);
  padding: 16px 24px;
  font-family: var(--fm);
  font-size: 11px;
  color: var(--green);
  transform: translateY(100%);
  transition: transform .5s var(--ease);
  max-height: 220px;
  overflow-y: auto
}

.term.on {
  transform: translateY(0)
}

.term .tline {
  margin: 3px 0;
  opacity: .8;
  line-height: 1.6
}

.term .tin {
  display: flex;
  gap: 10px;
  margin-top: 10px
}

.term .tin input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0, 255, 65, .2);
  color: var(--green);
  font-family: var(--fm);
  font-size: 11px;
  outline: none;
  padding: 6px 0
}

/* REVEAL */
.rv {
  opacity: 1;
  transform: none
}

.rv.hide {
  opacity: 0;
  transform: translateY(50px) scale(.96)
}

.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease), transform 1s var(--ease)
}

.decrypt-ch {
  color: var(--green)
}

/* ANIMATIONS */
@keyframes neonFlicker {

  0%,
  18%,
  22%,
  25%,
  53%,
  57%,
  100% {
    text-shadow: 0 0 7px var(--blood), 0 0 20px var(--blood-glow), 0 0 50px var(--blood-glow), 0 0 100px var(--blood-glow)
  }

  20%,
  24%,
  55% {
    text-shadow: none
  }
}

@keyframes textShimmer {
  0% {
    background-position: -200% center
  }

  100% {
    background-position: 200% center
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-16px)
  }
}

@keyframes glitch {
  0% {
    transform: translate(0)
  }

  20% {
    transform: translate(-3px, 2px)
  }

  40% {
    transform: translate(3px, -1px)
  }

  60% {
    transform: translate(-2px, -2px)
  }

  80% {
    transform: translate(2px, 3px)
  }

  100% {
    transform: translate(0)
  }
}

.neon-flicker {
  animation: neonFlicker 2.8s infinite
}

.shimmer-text {
  background: linear-gradient(90deg, var(--txt-ghost) 0%, #fff 25%, var(--txt-ghost) 50%, #fff 75%, var(--txt-ghost) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s linear infinite
}

.float-anim {
  animation: float 4s ease-in-out infinite
}

.glitch-hover:hover {
  animation: glitch .3s ease
}

/* RESPONSIVE */
@media(max-width:768px) {
  .hud {
    padding: 14px 18px
  }

  .hud-logo {
    font-size: 20px;
    letter-spacing: 4px
  }

  .sec-name {
    display: none
  }

  .ndots {
    gap: 7px
  }

  .sec {
    padding: 100px 20px 80px
  }

  .g4 {
    grid-template-columns: 1fr
  }

  .aichat {
    width: calc(100% - 16px);
    right: 8px;
    bottom: 8px;
    max-height: 480px
  }

  .hero-title {
    font-size: clamp(48px, 16vw, 120px)
  }

  .bio-row,
  .bio-row.rev {
    grid-template-columns: 1fr;
    gap: 24px
  }

  .bio-row.rev .bio-img {
    order: 0
  }

  .bio-img img {
    height: 280px
  }

  .hbar {
    flex-wrap: wrap;
    justify-content: center;
    bottom: 70px;
    padding: 10px 14px;
    width: 92%
  }

  #waveC {
    width: 180px;
    height: 180px;
    bottom: 120px
  }

  .cur-dot,
  .cur-ring,
  .cur-cross,
  .cur-box {
    display: none
  }

  body {
    cursor: auto
  }

  .tcard {
    padding: 20px
  }

  .sec-title {
    font-size: clamp(28px, 12vw, 48px);
    letter-spacing: 4px
  }

  .core-shell {
    grid-template-columns: 1fr;
    padding: 24px
  }

  .core-facts {
    grid-template-columns: 1fr;
    max-width: none
  }

  .hud-el {
    display: none
  }
}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce) {

  body,
  a,
  button,
  input,
  textarea {
    cursor: auto !important
  }

  .cur-dot,
  .cur-ring,
  .cur-box {
    display: none !important
  }

  .hero-video {
    display: none !important
  }

  .hero-diamond,
  .hero-motion-toggle,
  .hero-pre,
  .hero-title,
  .hero-sub,
  .cta {
    animation: none !important
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* AGENT + ORBS */
  @keyframes agentFloat {

    0%,
    100% {
      transform: translateY(0)
    }

    50% {
      transform: translateY(-8px)
    }
  }

  @keyframes orbBreathe {

    0%,
    100% {
      opacity: .2;
      transform: scale(.8)
    }

    50% {
      opacity: .8;
      transform: scale(1.2)
    }
  }

  .art-orb.active {
    background: currentColor !important;
    box-shadow: 0 0 12px currentColor, 0 0 24px currentColor;
    transform: scale(1.5) !important;
    opacity: 1 !important
  }

  #agentFace:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 24px rgba(0, 255, 255, .4)
  }

  /* SCROLL COLOR SHIFT */
  .section-glow {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s;
    mix-blend-mode: screen
  }

  /* ASCENDED */
  body.ascended {
    --blood: #ffd700 !important;
    --blood-glow: rgba(255, 215, 0, .8) !important;
    --blood-dim: rgba(255, 215, 0, .15) !important;
    --glass-border: rgba(255, 215, 0, .22) !important;
    --glass-hover: rgba(255, 215, 0, .45) !important;
    --glow-red: 0 0 30px rgba(255, 215, 0, .25) !important
  }

  body.ascended .live-dot {
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold), 0 0 30px rgba(255, 215, 0, .4)
  }
}

@keyframes heroDiamondFloat {
  from {
    transform: translate3d(0, 0, 0) rotate(-5deg) scale(1)
  }

  to {
    transform: translate3d(-2.5%, -2%, 0) rotate(3deg) scale(1.03)
  }
}

/* TABLET */
@media(min-width:768px) and (max-width:1024px) {
  .hud {
    padding: 18px 24px
  }

  .sec {
    padding: 120px 30px 100px
  }

  .g4 {
    grid-template-columns: repeat(2, 1fr)
  }

  .bio-row {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }

  .sec-title {
    font-size: clamp(28px, 6vw, 56px)
  }
}

/* WIDE */
@media(min-width:1440px) {
  .sec {
    max-width: 1400px;
    margin: auto
  }

  .hero-title {
    letter-spacing: -0.04em
  }
}

/* ACCESSIBILITY */
:focus-visible {
  outline: 2px solid var(--blood);
  outline-offset: 3px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.skip-nav:focus {
  left: 10px
}

/* REDUCED MOTION */
@media(prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   OMEGA UNIFIED — MODULE 11 CSS
   themes (OPTIMUS) · loader (SUPREME) · sidebar/telemetry (MERGED)
   agent visual (GOD) · art-orbs · gal tabs/lightbox · collapse
   ═══════════════════════════════════════════════════════════════ */

/* ── THEMES (OPTIMUS v7) — ROJO PREVALECE: --blood fijo en :root  ── */
html[data-theme='matrix'] {
  --void: #02140a;
  --glass: rgba(2, 20, 10, .85);
  --glass-border: rgba(0, 255, 65, .22);
  --glass-hover: rgba(0, 255, 65, .45);
  --glow-red: 0 0 30px rgba(0, 255, 65, .25);
}
html[data-theme='matrix'] body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 255, 65, .12), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(0, 255, 65, .06), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, .02), transparent 70%);
}
html[data-theme='matrix'] ::selection { background: var(--green); }

html[data-theme='venom'] {
  --void: #0a0016;
  --glass: rgba(10, 0, 22, .85);
  --glass-border: rgba(176, 38, 255, .22);
  --glass-hover: rgba(176, 38, 255, .45);
  --glow-red: 0 0 30px rgba(176, 38, 255, .25);
}
html[data-theme='venom'] body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(176, 38, 255, .12), transparent 24%),
    radial-gradient(circle at 80% 15%, rgba(255, 0, 60, .06), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, .02), transparent 70%);
}
html[data-theme='venom'] ::selection { background: var(--purple); }

html[data-theme='void'] {
  --void: #000000;
  --glass: rgba(0, 0, 0, .9);
  --glass-border: rgba(255, 255, 255, .12);
  --glass-hover: rgba(255, 255, 255, .25);
  --glow-red: 0 0 30px rgba(255, 0, 60, .18);
}
html[data-theme='void'] body::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 0, 60, .08), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, .015), transparent 70%);
}

/* ── THEME SWITCHER ── */
.theme-switcher {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, .5);
  border: 1px solid var(--glass-border);
  padding: 3px;
}
.theme-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--txt-dim);
  font-family: var(--fm);
  font-size: 8px;
  letter-spacing: 2px;
  padding: 6px 8px;
  cursor: none;
  transition: all .25s;
}
.theme-btn:hover { color: #fff; }
.theme-btn.on {
  color: #000;
  background: var(--blood);
  box-shadow: 0 0 12px var(--blood-glow);
}

/* ── LOADER (v15 SUPREME) ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity .8s;
}
.loader-logo {
  font-family: 'Cormorant Garamond', var(--ff), serif;
  font-size: clamp(28px, 6vw, 56px);
  font-weight: 300;
  letter-spacing: .35em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(255, 0, 60, .6);
}
.loader-bar-wrap {
  width: min(420px, 70vw);
  height: 2px;
  background: rgba(255, 0, 60, .15);
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: var(--blood);
  box-shadow: 0 0 12px var(--blood-glow);
  transition: width .15s ease;
}
.loader-status {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .25em;
  color: var(--txt-dim);
}

/* ── SIDEBAR (v13 MERGED) ── */
#omega-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  background: rgba(3, 0, 1, .96);
  backdrop-filter: blur(24px) saturate(1.3);
  border-right: 1px solid var(--glass-border);
  z-index: 500;
  display: flex;
  flex-direction: column;
  padding: 24px 0 20px;
  font-family: var(--fm);
}
#omega-sidebar .sb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 20px;
  border-bottom: 1px solid rgba(255, 0, 60, .12);
  margin-bottom: 16px;
}
#omega-sidebar .sb-logo .bl-icon {
  width: 32px;
  height: 32px;
  background: var(--blood);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-weight: 900;
  font-size: 16px;
  color: #000;
  box-shadow: 0 0 14px var(--blood-glow);
}
#omega-sidebar .sb-logo span {
  font-family: var(--fd);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  line-height: 1.2;
}
#omega-sidebar .sb-logo small {
  display: block;
  font-family: var(--fm);
  font-size: 8px;
  color: var(--txt-dim);
  letter-spacing: 2px;
}
#omega-sidebar .sb-nav { flex: 1; overflow-y: auto; padding: 0 0 16px; }
#omega-sidebar .sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--txt-dim);
  cursor: none;
  transition: all .25s;
  border-left: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
#omega-sidebar .sb-item:hover,
#omega-sidebar .sb-item.active {
  color: #fff;
  background: var(--blood-dim);
  border-left-color: var(--blood);
}
#omega-sidebar .sb-item .sb-icon { font-size: 12px; width: 14px; text-align: center; opacity: .6; }
#omega-sidebar .sb-item.active .sb-icon { opacity: 1; color: var(--blood); }
#omega-sidebar .sb-terminal {
  margin: 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, .5);
  font-size: 8px;
  letter-spacing: 1px;
  color: rgba(0, 255, 65, .7);
  line-height: 1.8;
}
#omega-sidebar .sb-terminal div { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ── TELEMETRY (v13 MERGED) ── */
#omega-telemetry {
  position: fixed;
  top: 0;
  left: 200px;
  right: 0;
  height: 38px;
  background: rgba(2, 0, 1, .92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 490;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 18px;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--txt-dim);
  white-space: nowrap;
  overflow: hidden;
}
#omega-telemetry span {
  color: var(--blood);
  text-shadow: 0 0 6px var(--blood);
}
#omega-telemetry .tele-sep { color: rgba(255, 0, 60, .2); margin: 0 2px; }
#omega-telemetry .sys-status {
  margin-left: auto;
  background: var(--blood-dim);
  border: 1px solid rgba(255, 0, 60, .4);
  padding: 3px 10px;
  color: var(--blood);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 8px;
}

/* ── AGENTE VISUAL (v14 GOD) ── */
#agentFace {
  position: fixed;
  bottom: 110px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 0, 60, .4), rgba(5, 0, 2, .95));
  border: 1px solid var(--blood);
  box-shadow: 0 0 24px rgba(255, 0, 60, .5), inset 0 0 20px rgba(255, 0, 60, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 520;
  cursor: none;
  animation: agentFloat 4s ease-in-out infinite;
  transition: border-color .3s, box-shadow .3s;
}
#agentFace:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, .5), inset 0 0 24px rgba(0, 255, 255, .2);
}
#agentFace .af-core {
  color: var(--blood);
  font-size: 24px;
  text-shadow: 0 0 12px var(--blood-glow);
  animation: orbBreathe 2.6s ease-in-out infinite;
}
.agent-bubble {
  position: fixed;
  bottom: 178px;
  right: 26px;
  max-width: 260px;
  background: rgba(5, 0, 2, .92);
  border: 1px solid var(--blood);
  border-radius: 12px 12px 2px 12px;
  padding: 12px 14px;
  font-family: var(--fm);
  font-size: 10px;
  line-height: 1.8;
  color: var(--txt-dim);
  box-shadow: 0 0 30px rgba(255, 0, 60, .25);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 520;
}
.agent-bubble.visible { opacity: 1; transform: translateY(0); }

/* ── ARTIFACT ORBS ── */
.art-orbs {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 10px;
  z-index: 510;
  pointer-events: none;
}
.art-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
  opacity: .4;
  animation: orbBreathe 3s ease-in-out infinite;
}
.art-orb.active {
  background: var(--c) !important;
  box-shadow: 0 0 12px var(--c), 0 0 24px var(--c);
  transform: scale(1.5) !important;
  opacity: 1 !important;
}

/* ── GALERIA TABS + LIGHTBOX ── */
.gal-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.gtab {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--txt-dim);
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  padding: 8px 16px;
  cursor: none;
  transition: all .25s;
}
.gtab:hover { color: #fff; }
.gtab.on {
  color: #000;
  background: var(--blood);
  border-color: var(--blood);
  box-shadow: 0 0 14px var(--blood-glow);
}
.gal { position: relative; }
.gal .glab {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 2px;
  color: #fff;
}
.gal .glab span { color: var(--blood); margin-right: 8px; }
.gal-lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .94);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 40px;
}
.gal-lb.on { display: flex; }
.gal-lb .lb-img {
  max-width: min(900px, 92vw);
  max-height: 76vh;
  object-fit: contain;
  border: 1px solid rgba(255, 0, 60, .3);
  box-shadow: 0 0 60px rgba(255, 0, 60, .25);
}
.gal-lb .lb-cap { font-family: var(--fm); font-size: 11px; letter-spacing: 3px; color: var(--txt-dim); }
.gal-lb button {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 0, 60, .4);
  color: #fff;
  font-size: 20px;
  width: 44px;
  height: 44px;
  cursor: none;
  transition: all .25s;
  font-family: var(--fm);
}
.gal-lb button:hover { background: var(--blood); color: #000; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ── COLLAPSE SHAKE (entity_t) ── */
@keyframes collapseShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ── RESPONSIVE: sidebar collapse + telemetry ── */
@media(min-width:1025px) {
  body { padding-left: 200px; }
  .hud { padding-left: 40px; }
  .topnav { left: 200px; }
}
@media(max-width:1024px) {
  #omega-sidebar { width: 60px; }
  #omega-sidebar .sb-logo span,
  #omega-sidebar .sb-logo small,
  #omega-sidebar .sb-item span,
  #omega-sidebar .sb-terminal { display: none; }
  #omega-sidebar .sb-item { padding: 12px; justify-content: center; }
  #omega-sidebar .sb-logo { justify-content: center; padding: 12px 0; }
  #omega-sidebar .sb-logo .bl-icon { margin: 0; }
  #omega-telemetry { left: 60px; }
  body { padding-left: 60px; }
  .hud { padding-left: 20px; }
  .topnav { left: 60px; }
}
@media(max-width:640px) {
  #omega-telemetry { display: none; }
  #omega-sidebar { display: none; }
  body { padding-left: 0; }
  .topnav { left: 0; }
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10001;
  padding: 10px 14px;
  background: #000;
  border: 1px solid var(--blood);
  color: #fff;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 1px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--blood); outline-offset: 4px; }
.site-footer { padding: 28px 20px; color: var(--txt-dim); font-family: var(--fm); font-size: 10px; letter-spacing: 3px; text-align: center; }
