@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ethnocentric';
  src: url('../fonts/Ethnocentric-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #020203;
  --black: #050505;
  --white: #f4f6fb;
  --muted: rgba(244,246,251,.62);
  --weak: rgba(244,246,251,.13);
  --line: rgba(244,246,251,.18);
  --red: #e4001c;
  --red-soft: rgba(228, 0, 28, .36);
  --red-dark: rgba(228, 0, 28, .12);
  --panel: rgba(10, 12, 15, .72);
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-brand: 'Ethnocentric', 'Arial Black', Impact, sans-serif;
  --clip-a: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  --clip-b: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background: var(--bg);
  font-family: var(--font-main);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
.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;
}
button { font: inherit; }
::selection { background: var(--red); color: white; }
.brand-font { font-family: var(--font-brand); letter-spacing: .07em; }

.cursor-dot,
.cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .25s ease, width .18s ease, height .18s ease, border-color .18s ease;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}
.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 99px;
  mix-blend-mode: difference;
}
body.cursor-ready .cursor-dot,
body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--red); }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  background: #000;
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.boot-frame {
  width: min(430px, 88vw);
  padding: 34px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.14);
  clip-path: var(--clip-a);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.boot-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, transparent, rgba(228,0,28,.28), transparent);
  transform: translateX(-100%);
  animation: bootSweep 1.6s ease infinite;
}
.boot-frame > * { position: relative; z-index: 2; }
.boot-frame img { width: 92px; filter: drop-shadow(0 0 24px rgba(228,0,28,.46)); }
.boot-title { margin-top: 16px; font-size: 19px; }
.boot-line { height: 2px; background: rgba(255,255,255,.12); margin: 24px 0 12px; overflow: hidden; }
.boot-line span { display: block; width: 58%; height: 100%; background: var(--red); animation: bootLoad 1.4s ease-in-out infinite alternate; }
.boot-status { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .2em; }
@keyframes bootSweep { to { transform: translateX(100%); } }
@keyframes bootLoad { from { transform: translateX(-30%); } to { transform: translateX(92%); } }

#signalCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
}
.bg-stage { position: fixed; inset: 0; z-index: -5; overflow: hidden; background: #000; }
.bg-image {
  position: absolute;
  inset: -3%;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,.84), rgba(0,0,0,.18) 45%, rgba(0,0,0,.88)),
    linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.96)),
    url('../images/ox-abstract-bg.png');
  background-size: cover;
  background-position: center;
  filter: contrast(1.24) brightness(.76) saturate(1.16);
  transform: scale(1.04);
}
.bg-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 40%, rgba(228,0,28,.16) 41%, transparent 43% 100%),
    repeating-linear-gradient(135deg, transparent 0 62px, rgba(255,255,255,.055) 63px, transparent 64px 168px);
  opacity: .42;
}
.bg-noise {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(228,0,28,.12), transparent 1px);
  background-size: 28px 28px, 46px 46px;
  opacity: .42;
  animation: noiseShift 8s steps(10) infinite;
}
.bg-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.025) 0, rgba(255,255,255,.025) 1px, transparent 1px, transparent 5px);
  opacity: .28;
  mix-blend-mode: screen;
}
.bg-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 52% 26%, transparent 0 18%, rgba(0,0,0,.72) 58%, #000 100%);
}
@keyframes noiseShift { 0%, 100% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); } 50% { transform: translate(2%,-1%); } 75% { transform: translate(1%,2%); } }

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 58px);
  background: linear-gradient(180deg, rgba(0,0,0,.92), rgba(0,0,0,.42), transparent);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, -110%, 0);
  transition: opacity .32s ease, visibility .32s ease, transform .32s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.topbar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.04);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: inset 0 0 20px rgba(255,255,255,.03), 0 0 28px rgba(228,0,28,.1);
}
.brand-mark img { max-width: 34px; max-height: 27px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(228,0,28,.55)); }
.brand-copy b { display: block; font-size: 14px; }
.brand-copy small { display: block; margin-top: 4px; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: 10px; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav a {
  position: relative;
  padding: 12px 16px;
  color: rgba(255,255,255,.74);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  overflow: hidden;
}
.nav a::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav a:hover { color: white; }
.nav a:hover::before { transform: scaleX(1); }
.nav-toggle {
  display: none;
  width: 48px;
  height: 42px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255, 255, 255, 0);
  clip-path: var(--clip-b);
  color: white;
  padding: 9px;
}
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; transform-origin: center; transition: .25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-block { width: min(1460px, calc(100vw - 42px)); margin-inline: auto; }
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(280px, 420px);
  grid-template-rows: 100vh auto;
  align-items: center;
  gap: clamp(45px, 5.6vw, 76px);
  padding: 0 0 96px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 12%;
  width: 230px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: .8;
}
.hero-rail {
  grid-column: 1;
  grid-row: 2;
  height: 65vh;
  border-left: 1px solid rgba(255,255,255,.18);
  border-right: 1px solid rgba(228,0,28,.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero-core {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.hero-logo {
  position: relative;
  z-index: 4;
  width: min(520px, 58vw);
  filter: drop-shadow(0 0 16px rgba(255,255,255,.26)) drop-shadow(0 0 42px rgba(228,0,28,.55));
  animation: logoFloat 5s ease-in-out infinite;
}
.core-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(780px, 78vw);
  height: min(470px, 46vw);
  transform: translate(-50%, -50%) rotate(-10deg);
}
.orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.22);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}
.orbit-one { transform: rotate(0deg) scale(.98); box-shadow: inset 0 0 50px rgba(255,255,255,.03); }
.orbit-two { transform: rotate(55deg) scale(.78); border-color: rgba(228,0,28,.58); animation: orbitPulse 3.5s ease-in-out infinite; }
.orbit-three { transform: rotate(-45deg) scale(1.13); border-color: rgba(255,255,255,.09); }
.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 2;
  max-width: 780px;
  align-self: start;
  margin-top: 0;
  scroll-margin-top: 120px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: 12px;
  margin: 0 0 16px;
}
.eyebrow span { width: 52px; height: 1px; background: var(--red); box-shadow: 0 0 18px var(--red); }
.glitch-title {
  position: relative;
  margin: 0;
  font-size: clamp(52px, 8.5vw, 138px);
  line-height: .86;
  text-transform: uppercase;
  font-weight: 300 !important;
  text-shadow: 0 0 34px rgba(255,255,255,.11);
}
.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
}
.glitch-title::before { color: var(--red); transform: translate(3px, -2px); clip-path: inset(0 0 58% 0); animation: glitchA 3s infinite steps(2); }
.glitch-title::after { color: rgba(255,255,255,.78); transform: translate(-2px, 2px); clip-path: inset(58% 0 0 0); animation: glitchB 2.4s infinite steps(2); }
.hero-statement {
  margin-top: 28px;
  max-width: 660px;
  color: rgba(255,255,255,.78);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.52;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 800;
  font-size: 12px;
  clip-path: var(--clip-b);
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: translateX(-130%);
  transition: transform .5s ease;
}
.btn:hover::after { transform: translateX(130%); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--red), #70000d); border-color: rgba(255,255,255,.28); box-shadow: 0 0 30px rgba(228,0,28,.22); }
.btn-ghost { background: rgba(255,255,255,.035); }
.hero-console {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  justify-self: end;
  width: min(100%, 420px);
  margin: 0;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.018));
  clip-path: var(--clip-a);
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.console-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 19px;
  background: rgba(228,0,28,.14);
  border-bottom: 1px solid rgba(255,255,255,.13);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 10px;
}
.console-head span { color: rgba(255,255,255,.58); }
.console-body { padding: 22px 20px 28px; color: rgba(255,255,255,.72); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.console-body p { margin: 12px 0; }
.console-body i { color: var(--red); font-style: normal; margin-right: 8px; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(20px, 4vh, 46px);
  z-index: 6;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.28);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transform: translateX(-50%);
  pointer-events: auto;
  overflow: hidden;
  text-shadow: 0 0 10px rgba(255,255,255,.8), 0 0 24px rgba(228,0,28,.8);
  box-shadow: inset 0 0 24px rgba(255,255,255,.035), 0 0 26px rgba(228,0,28,.22);
  animation: cueFloat 2.3s ease-in-out infinite;
}
.scroll-cue::before,
.scroll-cue::after {
  content: "";
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(228,0,28,.34);
  transform: skewX(-18deg);
  opacity: .72;
}
.scroll-cue::after {
  inset: 0;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(228,0,28,.24), transparent);
  transform: translateX(-120%) skewX(-16deg);
  animation: cueSweep 2.7s infinite;
}
.scroll-cue i {
  position: relative;
  z-index: 2;
  font-size: 22px;
  line-height: 1;
  animation: cueGlitch 2.4s infinite steps(2);
  font-family: "Font Awesome 6 Pro" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  line-height: 1 !important;
  color: #fff;
}
.scroll-cue:hover { border-color: rgba(228,0,28,.72); transform: translateX(-50%) translateY(-2px); }
@keyframes cueFloat { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(9px); } }
@keyframes cueSweep { 0%, 68% { transform: translateX(-130%) skewX(-16deg); } 80%, 100% { transform: translateX(130%) skewX(-16deg); } }
@keyframes cueGlitch { 0%, 86%, 100% { transform: translate(0,0); filter: none; } 88% { transform: translate(2px,-1px); filter: drop-shadow(-3px 0 rgba(228,0,28,.9)); } 91% { transform: translate(-2px,1px); filter: drop-shadow(3px 0 rgba(255,255,255,.85)); } }
@keyframes logoFloat { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
@keyframes orbitPulse { 0%,100% { opacity: .55; filter: drop-shadow(0 0 8px rgba(228,0,28,.2)); } 50% { opacity: 1; filter: drop-shadow(0 0 22px rgba(228,0,28,.55)); } }
@keyframes glitchA { 0%, 86%, 100% { transform: translate(3px,-2px); } 88% { transform: translate(11px,1px); } 90% { transform: translate(-6px,-1px); } }
@keyframes glitchB { 0%, 82%, 100% { transform: translate(-2px,2px); } 84% { transform: translate(-10px,4px); } 87% { transform: translate(5px,-3px); } }

.ticker {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.025);
  transform: skewY(-1.4deg);
}
.ticker-track {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: tickerMove 26s linear infinite;
  padding: 15px 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  text-transform: uppercase;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 26px; }
.ticker-track span::after { content: "//"; color: var(--red); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

.section-label {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 24px;
}
.studio-grid {
  display: grid;
  grid-template-columns: .65fr 1.35fr .9fr;
  gap: clamp(20px, 4vw, 54px);
  padding: 140px 0 70px;
  align-items: stretch;
}
.studio-copy {
  padding: clamp(28px, 4vw, 54px);
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.14);
  clip-path: polygon(0 0, 94% 0, 100% 18%, 100% 100%, 8% 100%, 0 84%);
  position: relative;
}
.studio-copy::after,
.signal-card::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(228,0,28,.46), transparent 30%, rgba(255,255,255,.16) 80%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .58;
}
.studio-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 58px);
  line-height: 1.06;
  text-transform: uppercase;
}
.studio-copy p,
.signal-card p,
.contact p {
  margin: 24px 0 0;
  color: rgba(255,255,255,.7);
  font-size: 17px;
  line-height: 1.78;
}
.signal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 28px;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(255,255,255,.14);
  clip-path: var(--clip-a);
  overflow: hidden;
}
.signal-map {
  height: 195px;
  position: relative;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255,255,255,.11) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(255,255,255,.11) 50%, transparent 51%);
  background-size: 32px 32px;
  opacity: .9;
}
.signal-map span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
  animation: pointBlink 2.2s ease infinite;
}
.signal-map span:nth-child(1) { left: 12%; top: 32%; }
.signal-map span:nth-child(2) { left: 48%; top: 18%; animation-delay: .3s; }
.signal-map span:nth-child(3) { left: 76%; top: 66%; animation-delay: .6s; }
.signal-map span:nth-child(4) { left: 34%; top: 78%; animation-delay: .9s; }
.pulse-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  transform: translate(-50%,-50%);
  border: 1px solid rgba(255,255,255,.26);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  animation: corePulse 2.8s ease-in-out infinite;
}
.signal-card h3 { margin: 24px 0 0; font-size: 24px; }
@keyframes pointBlink { 50% { opacity: .2; transform: scale(.72); } }
@keyframes corePulse { 0%,100% { box-shadow: 0 0 0 rgba(228,0,28,0); } 50% { box-shadow: 0 0 38px rgba(228,0,28,.46); border-color: var(--red); } }

.dna { padding: 90px 0 60px; }
.dna-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.13);
  clip-path: var(--clip-b);
  overflow: hidden;
}
.dna-tab {
  min-height: 70px;
  border: 0;
  background: rgba(0,0,0,.66);
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
  cursor: none;
  transition: .25s ease;
}
.dna-tab:hover,
.dna-tab.active { background: linear-gradient(135deg, rgba(228,0,28,.34), rgba(255,255,255,.05)); color: white; }
.dna-stage {
  min-height: 340px;
  position: relative;
  margin-top: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.01)),
    radial-gradient(circle at 80% 30%, rgba(228,0,28,.16), transparent 34%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 42px), calc(100% - 42px) 100%, 0 100%);
  overflow: hidden;
}
.dna-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 70px, rgba(255,255,255,.035) 70px 71px);
  opacity: .5;
}
.dna-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: clamp(30px, 6vw, 78px);
  opacity: 0;
  transform: translateY(18px) skewX(-2deg);
  pointer-events: none;
  transition: opacity .28s ease, transform .32s ease;
}
.dna-panel.active { opacity: 1; transform: translateY(0) skewX(0); pointer-events: auto; }
.panel-index { color: rgba(228,0,28,.85); font-size: 13px; letter-spacing: .25em; font-weight: 900; }
.dna-panel h3 { max-width: 980px; margin: 16px 0 0; font-size: clamp(32px, 5vw, 72px); line-height: 1.04; text-transform: uppercase; }
.dna-panel p { max-width: 760px; margin: 22px 0 0; color: rgba(255,255,255,.72); font-size: 19px; line-height: 1.7; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 60px 0 100px;
}
.metric {
  min-height: 180px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.13);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.metric strong { font-family: var(--font-brand); font-size: clamp(40px, 5vw, 76px); line-height: .9; }
.metric span { color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .17em; font-size: 11px; }

.process { padding: 70px 0 110px; }
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.process-line::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.24), var(--red), rgba(255,255,255,.24), transparent);
}
.step {
  min-height: 320px;
  padding: 28px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.14);
  clip-path: var(--clip-b);
  position: relative;
  overflow: hidden;
}
.step::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 60%;
  background: radial-gradient(circle, rgba(228,0,28,.12), transparent 65%);
  opacity: 0;
  transition: opacity .25s ease;
}
.step:hover::before { opacity: 1; }
.step span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: #050505;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--red);
  font-weight: 900;
  position: relative;
  z-index: 2;
}
.step h3 { margin: 80px 0 0; font-size: 24px; }
.step p { color: rgba(255,255,255,.66); line-height: 1.72; margin: 18px 0 0; }

.contact { padding: 40px 0 120px; }
.contact-panel {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: clamp(32px, 5vw, 70px);
  background:
    linear-gradient(135deg, rgba(228,0,28,.18), rgba(255,255,255,.03)),
    rgba(0,0,0,.6);
  border: 1px solid rgba(255,255,255,.14);
  clip-path: polygon(0 0, calc(100% - 58px) 0, 100% 58px, 100% 100%, 58px 100%, 0 calc(100% - 58px));
  overflow: hidden;
}
.contact-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: -120px;
  border: 1px solid rgba(255,255,255,.09);
  transform: rotate(45deg);
}
.footer {
  width: min(1460px, calc(100vw - 42px));
  margin: 0 auto;
  padding: 32px 0 52px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.46);
  border-top: 1px solid rgba(255,255,255,.13);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
}
.footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 1160px) {
  .hero {
    grid-template-columns: 56px 1fr;
    grid-template-rows: minmax(330px, 48vh) auto auto;
  }
  .hero-rail { grid-row: 1 / span 3; }
  .hero-core { grid-column: 1 / -1; grid-row: 1; min-height: 360px; }
  .hero-content { grid-column: 2; grid-row: 2; margin-top: 0; }
  .hero-console { grid-column: 2; grid-row: 3; justify-self: start; margin: 0; width: min(100%, 560px); }
  .studio-grid { grid-template-columns: 1fr; }
  .section-label { margin-bottom: 16px; }
  .process-line, .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
  .topbar { height: 76px; padding-inline: 16px; }
  .brand-copy small { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    background: rgba(0,0,0,.92);
    border: 1px solid rgba(255,255,255,.15);
    clip-path: var(--clip-a);
    padding: 12px;
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 16px; }
  .section-block { width: min(100% - 28px, 1460px); }
  .hero { grid-template-columns: 1fr; grid-template-rows: 100vh auto auto; min-height: 100vh; padding-top: 0; gap: 28px; }
  .hero-rail { display: none; }
  .hero-content, .hero-core, .hero-console { grid-column: auto; grid-row: auto; }
  .hero-core { min-height: 100vh; }
  .hero-logo { width: min(360px, 72vw); }
  .core-orbit { width: min(480px, 90vw); height: min(310px, 62vw); }
  .scroll-cue { bottom: max(22px, env(safe-area-inset-bottom)); width: 48px; height: 48px; }
  .hero-content { margin-top: 0; }
  .hero-console { width: 100%; justify-self: stretch; }
  .glitch-title { font-size: clamp(44px, 16vw, 78px); }
  .hero-statement { font-size: 17px; }
  .hero-actions { display: grid; }
  .btn { width: 100%; }
  .ticker-track { font-size: 10px; }
  .studio-grid, .dna, .process { padding-block: 70px; }
  .dna-tabs { grid-template-columns: 1fr 1fr; }
  .dna-tab { min-height: 58px; font-size: 11px; }
  .dna-panel { padding: 26px; }
  .dna-panel h3 { font-size: 31px; }
  .dna-panel p { font-size: 16px; }
  .metrics, .process-line { grid-template-columns: 1fr; }
  .metric { min-height: 145px; }
  .process-line::before { display: none; }
  .step { min-height: 260px; }
  .step h3 { margin-top: 54px; }
  .contact-panel { grid-template-columns: 1fr; }
  .footer { display: grid; }
}

/* === oX Games / redesigned sci-fi header === */
.topbar {
  height: 94px;
  padding: 0 clamp(14px, 3.8vw, 58px);
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow: visible;
  isolation: isolate;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 13px clamp(10px, 2.2vw, 34px) 12px;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(228,0,28,.20), transparent 13%, transparent 87%, rgba(228,0,28,.20)),
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.018) 48%, rgba(0,0,0,.72)),
    rgba(0,0,0,.54);
  border: 1px solid rgba(255,255,255,.14);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 32px 100%, 0 calc(100% - 32px));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(228,0,28,.20),
    0 16px 52px rgba(0,0,0,.48),
    0 0 34px rgba(228,0,28,.10);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.topbar::after {
  content: "";
  position: absolute;
  left: clamp(36px, 8vw, 190px);
  right: clamp(36px, 8vw, 190px);
  bottom: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.20), rgba(228,0,28,.86), rgba(255,255,255,.20), transparent);
  opacity: .92;
  filter: drop-shadow(0 0 10px rgba(228,0,28,.65));
  pointer-events: none;
}
.topbar-hud {
  position: absolute;
  inset: 0 clamp(46px, 10vw, 240px);
  z-index: -1;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 84px 1fr;
  align-items: center;
  gap: 16px;
  opacity: .74;
}
.hud-line {
  height: 1px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 18px, transparent 18px 28px),
    linear-gradient(90deg, transparent, rgba(255,255,255,.24), transparent);
}
.hud-line-left { transform: skewX(-34deg); }
.hud-line-right { transform: skewX(34deg); }
.hud-core {
  height: 12px;
  border-left: 1px solid rgba(228,0,28,.8);
  border-right: 1px solid rgba(228,0,28,.8);
  background: linear-gradient(90deg, transparent, rgba(228,0,28,.20), transparent);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 0 22px rgba(228,0,28,.36);
}
.brand {
  position: relative;
  height: 60px;
  padding: 0 22px 0 8px;
  gap: 13px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.022) 56%, rgba(228,0,28,.12)),
    rgba(0,0,0,.42);
  border: 1px solid rgba(255,255,255,.16);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%, 0 18px);
  box-shadow: inset 0 0 30px rgba(255,255,255,.025), 0 0 24px rgba(228,0,28,.10);
  overflow: visible;
}
.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent);
  transform: translateX(-120%) skewX(-18deg);
  transition: transform .55s ease;
  pointer-events: none;
}
.brand:hover::before { transform: translateX(120%) skewX(-18deg); }
.brand::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 22px;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(255,255,255,.62), transparent);
  box-shadow: 0 0 18px rgba(228,0,28,.8);
  transform: scaleX(.58);
  transform-origin: left;
  transition: transform .3s ease;
}
.brand:hover::after { transform: scaleX(1); }
.brand-index {
  position: absolute;
  left: 20px;
  top: -10px;
  padding: 2px 8px;
  color: rgba(255,255,255,.62);
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(228,0,28,.28);
  font-size: 8px;
  letter-spacing: .22em;
  font-weight: 900;
  line-height: 1;
}
.brand-mark {
  width: 56px;
  height: 46px;
  border-color: rgba(255,255,255,.18);
  background:
    linear-gradient(135deg, rgba(228,0,28,.22), transparent 52%),
    rgba(255,255,255,.045);
  clip-path: polygon(13px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 13px);
  box-shadow: inset 0 0 24px rgba(255,255,255,.035), 0 0 30px rgba(228,0,28,.16);
}
.brand-mark img {
  max-width: 38px;
  max-height: 28px;
  filter: drop-shadow(0 0 10px rgba(255,255,255,.28)) drop-shadow(0 0 15px rgba(228,0,28,.56));
}
.brand-copy b {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(255,255,255,.18);
}
.brand-copy small {
  margin-top: 6px;
  color: rgba(244,246,251,.52);
  letter-spacing: .24em;
  font-size: 9px;
}
.nav-shell {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.nav-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 13px;
  color: rgba(244,246,251,.58);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  font-weight: 900;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.11);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.nav-status span {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(228,0,28,.9);
  animation: navPulse 1.4s ease-in-out infinite;
}
@keyframes navPulse { 50% { opacity: .35; transform: scale(.72); } }
.nav {
  gap: 4px;
  padding: 5px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.012)),
    rgba(0,0,0,.40);
  border: 1px solid rgba(255,255,255,.12);
  clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
  box-shadow: inset 0 0 22px rgba(255,255,255,.02);
}
.nav a {
  min-width: 108px;
  padding: 13px 15px 12px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.66);
  background: rgba(255,255,255,.018);
  border: 1px solid transparent;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 900;
  overflow: hidden;
  transition: color .24s ease, border-color .24s ease, background .24s ease, transform .24s ease;
}
.nav a em {
  font-style: normal;
  color: rgba(228,0,28,.92);
  font-size: 9px;
  letter-spacing: .08em;
  text-shadow: 0 0 12px rgba(228,0,28,.64);
}
.nav a::before {
  left: -45%;
  right: auto;
  bottom: auto;
  top: -20%;
  width: 42%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  transform: translateX(-130%) skewX(-18deg);
  transform-origin: center;
  transition: transform .45s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), rgba(255,255,255,.55), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
  box-shadow: 0 0 12px rgba(228,0,28,.66);
}
.nav a:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(228,0,28,.20), rgba(255,255,255,.04));
  border-color: rgba(228,0,28,.32);
  transform: translateY(-1px);
}
.nav a:hover::before { transform: translateX(420%) skewX(-18deg); }
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle {
  position: relative;
  width: 52px;
  height: 46px;
  background: linear-gradient(135deg, rgba(228,0,28,.14), rgba(255,255,255,.04));
  border-color: rgba(255,255,255,.18);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: 0 0 22px rgba(228,0,28,.13);
}
.nav-toggle span {
  background: linear-gradient(90deg, var(--red), #fff);
  box-shadow: 0 0 10px rgba(228,0,28,.5);
}

@media (max-width: 1220px) {
  .nav-status { display: none; }
  .nav a { min-width: 92px; padding-inline: 12px; letter-spacing: .13em; }
}

@media (max-width: 900px) {
  .topbar-hud { display: none; }
  .brand { padding-right: 14px; }
  .brand-copy b { font-size: 12px; }
  .nav a em { display: none; }
  .nav a { min-width: 78px; }
}

@media (max-width: 760px) {
  .topbar {
    height: 82px;
    padding-inline: 14px;
  }
  .topbar::before {
    inset: 9px 8px;
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  }
  .topbar::after {
    left: 28px;
    right: 28px;
    bottom: 9px;
  }
  .brand {
    height: 54px;
    gap: 10px;
  }
  .brand-index { display: none; }
  .brand-mark { width: 48px; height: 42px; }
  .brand-mark img { max-width: 33px; }
  .brand-copy b { font-size: 11px; }
  .brand-copy small { display: none; }
  .nav-shell { display: contents; }
  .nav {
    top: 84px;
    right: 14px;
    left: 14px;
    padding: 12px;
    gap: 7px;
    background:
      linear-gradient(135deg, rgba(228,0,28,.12), transparent 42%),
      rgba(0,0,0,.94);
    border-color: rgba(255,255,255,.16);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  }
  .nav a {
    width: 100%;
    min-width: 0;
    justify-content: flex-start;
    padding: 16px 18px;
    clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  }
  .nav a em { display: inline; }
}


/* === oX Games / centered full-logo header v2 === */
.topbar {
  height: 92px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  column-gap: clamp(18px, 4vw, 70px);
  padding: 0 clamp(18px, 4vw, 64px);
  background:
    linear-gradient(180deg, rgba(0,0,0,.84), rgba(0,0,0,.56) 58%, rgba(0,0,0,0));
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  overflow: visible;
  isolation: isolate;
}
.topbar::before {
  content: "";
  position: absolute;
  left: clamp(20px, 4vw, 70px);
  right: clamp(20px, 4vw, 70px);
  top: 18px;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0, rgba(255,255,255,.14) 12%, rgba(228,0,28,.55) 50%, rgba(255,255,255,.14) 88%, transparent 100%);
  opacity: .75;
  filter: drop-shadow(0 0 12px rgba(228,0,28,.36));
  pointer-events: none;
}
.topbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), rgba(228,0,28,.34), rgba(255,255,255,.08), transparent);
  opacity: .6;
  pointer-events: none;
}
.topbar-hud,
.nav-status,
.brand,
.brand-index,
.brand-mark,
.brand-copy { display: none !important; }
.header-navs { display: contents; }
.nav-left {
  grid-column: 1;
  justify-self: end;
}
.nav-right {
  grid-column: 3;
  justify-self: start;
}
.header-logo-full {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(210px, 23vw, 380px);
  min-height: 54px;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: clamp(15px, 1.25vw, 22px);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255,255,255,.25),
    0 0 25px rgba(228,0,28,.36);
  filter: drop-shadow(0 0 16px rgba(228,0,28,.18));
}

.header-logo-full > img{
  width: 7rem;
  height: auto;
}
.header-logo-full::before,
.header-logo-full::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: inherit;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}
.header-logo-full::before {
  color: rgba(228,0,28,.9);
  transform: translateX(-2px);
  clip-path: inset(0 0 56% 0);
}
.header-logo-full::after {
  color: rgba(255,255,255,.72);
  transform: translateX(2px);
  clip-path: inset(55% 0 0 0);
}
.header-logo-full:hover::before { animation: logoHeaderGlitch .52s steps(2, end) both; }
.header-logo-full:hover::after { animation: logoHeaderGlitch .42s steps(2, end) reverse both; }
@keyframes logoHeaderGlitch {
  0% { opacity: 0; transform: translateX(0); }
  20% { opacity: .85; transform: translate(-4px, 1px); }
  42% { opacity: .55; transform: translate(3px, -1px); }
  64% { opacity: .9; transform: translate(-2px, 0); }
  100% { opacity: 0; transform: translateX(0); }
}
.header-logo-full span { position: relative; z-index: 2; }
.nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 3.1vw, 42px) !important;
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
}
.nav a {
  position: relative;
  min-width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px clamp(14px, 1.45vw, 22px) 12px;
  color: rgba(244,246,251,.72);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  border: 0 !important;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
  transform: translateZ(0);
  transition: color .24s ease, background .24s ease, transform .24s ease, text-shadow .24s ease;
}
.nav a span { position: relative; z-index: 2; }
.nav a::before {
  content: "";
  position: absolute;
  inset: auto 12px 6px 12px !important;
  width: auto !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, var(--red), rgba(255,255,255,.78), transparent) !important;
  transform: scaleX(.18) !important;
  transform-origin: center !important;
  opacity: .65;
  transition: transform .28s ease, opacity .28s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0 36%, rgba(255,255,255,.16) 48%, transparent 60% 100%),
    radial-gradient(circle at 50% 100%, rgba(228,0,28,.18), transparent 58%);
  transform: translateX(-140%) skewX(-18deg);
  opacity: 0;
  transition: transform .45s ease, opacity .25s ease;
  pointer-events: none;
}
.nav a:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(228,0,28,.16), rgba(255,255,255,.025));
  text-shadow: 0 0 16px rgba(255,255,255,.28), 0 0 18px rgba(228,0,28,.42);
  transform: translateY(-2px);
}
.nav a:hover::before {
  transform: scaleX(1) !important;
  opacity: 1;
}
.nav a:hover::after {
  transform: translateX(140%) skewX(-18deg);
  opacity: 1;
}
.nav-toggle {
  grid-column: 3;
  justify-self: end;
  display: none;
  position: relative;
  z-index: 4;
  width: 50px;
  height: 44px;
  background: rgba(255,255,255,.04) !important;
  border: 0 !important;
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 20px rgba(228,0,28,.12);
}
.nav-toggle span {
  background: linear-gradient(90deg, var(--red), #fff) !important;
  box-shadow: 0 0 10px rgba(228,0,28,.5);
}

@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
    column-gap: 18px;
    padding-inline: 22px;
  }
  .nav a { letter-spacing: .14em; padding-inline: 12px; font-size: 10px; }
  .header-logo-full { min-width: 240px; padding-inline: 18px; letter-spacing: .14em; }
}

@media (max-width: 760px) {
  .topbar {
    height: 78px;
    grid-template-columns: 54px minmax(0, 1fr) 54px;
    column-gap: 10px;
    padding-inline: 14px;
  }
  .topbar::before { left: 18px; right: 18px; top: 13px; }
  .header-logo-full {
    grid-column: 2;
    min-width: 0;
    width: 100%;
    padding: 0 6px;
    font-size: 13px;
    letter-spacing: .12em;
  }
  .nav-toggle { display: block; }
  .header-navs {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(0,0,0,.94), rgba(0,0,0,.78));
    box-shadow: 0 18px 50px rgba(0,0,0,.48), inset 0 0 0 1px rgba(255,255,255,.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
  }
  .header-navs.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-left,
  .nav-right {
    grid-column: auto;
    justify-self: stretch;
  }
  .nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  .nav a {
    width: 100%;
    justify-content: center;
    padding: 15px 12px;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .header-logo-full { font-size: 11px; letter-spacing: .08em; }
  .nav a { letter-spacing: .11em; }
}

/* === oX Games / final header repair: centered adaptive full logo + button-only sci-fi frames === */
.topbar {
  height: clamp(84px, 7vw, 108px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 clamp(16px, 4.2vw, 76px) !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(228,0,28,.13), transparent 42%),
    linear-gradient(180deg, rgba(0,0,0,.90) 0%, rgba(0,0,0,.56) 58%, rgba(0,0,0,0) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px) saturate(1.12) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.12) !important;
  overflow: visible !important;
}
.topbar::before,
.topbar::after {
  display: none !important;
  content: none !important;
}
.header-navs {
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) clamp(132px, 18vw, 270px) minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 0 !important;
  pointer-events: none !important;
}
.nav-left {
  grid-column: 1 !important;
  justify-self: end !important;
  margin-right: clamp(16px, 3vw, 52px) !important;
}
.nav-right {
  grid-column: 3 !important;
  justify-self: start !important;
  margin-left: clamp(16px, 3vw, 52px) !important;
}
.nav {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: clamp(8px, 1.2vw, 18px) !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  clip-path: none !important;
  pointer-events: auto !important;
}
.header-logo-full {
  position: absolute !important;
  z-index: 4 !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: clamp(132px, 18vw, 270px) !important;
  height: clamp(54px, 6.1vw, 82px) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: calc(100vw - 280px) !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  filter: drop-shadow(0 0 14px rgba(255,255,255,.18)) drop-shadow(0 0 22px rgba(228,0,28,.22)) !important;
}
.header-logo-full > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}
.header-logo-full::before,
.header-logo-full::after {
  display: none !important;
  content: none !important;
}
.nav a {
  position: relative !important;
  isolation: isolate !important;
  min-width: clamp(98px, 8.2vw, 144px) !important;
  height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 18px !important;
  color: rgba(244,246,251,.76) !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.012) 52%, rgba(228,0,28,.07)),
    rgba(5,5,6,.34) !important;
  border: 0 !important;
  clip-path: polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%) !important;
  box-shadow:
    inset 0 -1px 0 rgba(228,0,28,.45),
    0 0 18px rgba(228,0,28,.06) !important;
  overflow: hidden !important;
  text-transform: uppercase !important;
  letter-spacing: .18em !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: translateZ(0) !important;
  transition: color .24s ease, transform .24s ease, box-shadow .24s ease, background .24s ease !important;
}
.nav a span {
  position: relative !important;
  z-index: 3 !important;
}
.nav a::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  background:
    linear-gradient(90deg, rgba(228,0,28,.75), transparent 22%, transparent 78%, rgba(255,255,255,.48)),
    linear-gradient(180deg, rgba(255,255,255,.20), transparent 28%, transparent 72%, rgba(228,0,28,.30)) !important;
  opacity: .42 !important;
  transform: none !important;
  transform-origin: center !important;
  pointer-events: none !important;
  z-index: 1 !important;
  mix-blend-mode: screen !important;
}
.nav a::after {
  content: "" !important;
  position: absolute !important;
  inset: -1px !important;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.32) 48%, transparent 60% 100%) !important;
  transform: translateX(-145%) skewX(-18deg) !important;
  opacity: 0 !important;
  transition: transform .48s ease, opacity .24s ease !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.nav a:hover {
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(228,0,28,.18), rgba(255,255,255,.032) 55%, rgba(255,255,255,.08)),
    rgba(8,8,10,.50) !important;
  box-shadow:
    inset 0 -1px 0 rgba(228,0,28,.75),
    0 0 24px rgba(228,0,28,.18) !important;
  text-shadow: 0 0 14px rgba(255,255,255,.32), 0 0 18px rgba(228,0,28,.42) !important;
  transform: translateY(-2px) translateZ(0) !important;
}
.nav a:hover::before {
  opacity: .72 !important;
  transform: none !important;
}
.nav a:hover::after {
  transform: translateX(145%) skewX(-18deg) !important;
  opacity: 1 !important;
}
.nav-toggle {
  position: absolute !important;
  right: clamp(14px, 4vw, 28px) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 6 !important;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg) !important; }
.nav-toggle.active span:nth-child(2) { opacity: 0 !important; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg) !important; }

@media (max-width: 1120px) {
  .topbar { padding-inline: 20px !important; }
  .header-navs {
    grid-template-columns: minmax(0, 1fr) clamp(118px, 18vw, 220px) minmax(0, 1fr) !important;
  }
  .header-logo-full {
    width: clamp(118px, 18vw, 220px) !important;
    height: clamp(48px, 6vw, 70px) !important;
    max-width: calc(100vw - 245px) !important;
  }
  .nav-left { margin-right: 16px !important; }
  .nav-right { margin-left: 16px !important; }
  .nav { gap: 8px !important; }
  .nav a {
    min-width: 86px !important;
    height: 40px !important;
    padding-inline: 12px !important;
    letter-spacing: .13em !important;
    font-size: 10px !important;
  }
}

@media (max-width: 760px) {
  .topbar {
    height: 78px !important;
    padding-inline: 14px !important;
  }
  .header-logo-full {
    width: clamp(104px, 34vw, 170px) !important;
    height: 54px !important;
    max-width: calc(100vw - 128px) !important;
  }
  .nav-toggle { display: block !important; }
  .header-navs {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    height: auto !important;
    z-index: 5 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
    background:
      radial-gradient(circle at 50% 0, rgba(228,0,28,.14), transparent 48%),
      rgba(0,0,0,.92) !important;
    box-shadow: 0 18px 50px rgba(0,0,0,.54) !important;
    border: 0 !important;
    clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease !important;
  }
  .header-navs.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }
  .nav-left,
  .nav-right {
    grid-column: auto !important;
    justify-self: stretch !important;
    margin: 0 !important;
  }
  .nav {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .nav a {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    font-size: 10px !important;
    letter-spacing: .13em !important;
  }
}

@media (max-width: 430px) {
  .header-logo-full {
    width: clamp(92px, 33vw, 142px) !important;
    height: 48px !important;
  }
  .nav a {
    height: 44px !important;
    padding-inline: 8px !important;
    font-size: 9px !important;
    letter-spacing: .105em !important;
  }
}
