:root {
  color-scheme: dark;
  --ink: #090b0a;
  --ink-deep: #050706;
  --panel: rgba(15, 19, 16, 0.82);
  --panel-solid: #101411;
  --bone: #e5e2d6;
  --muted: #8f958e;
  --line: rgba(229, 226, 214, 0.14);
  --line-strong: rgba(229, 226, 214, 0.28);
  --acid: #d7ff42;
  --acid-soft: rgba(215, 255, 66, 0.12);
  --blood: #ff4848;
  --blood-soft: rgba(255, 72, 72, 0.14);
  --cyan: #75d5ff;
  --cs-orange: #ff9d2e;
  --header-height: 88px;
  --page-pad: clamp(20px, 4vw, 72px);
  --max-width: 1600px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(70, 92, 76, 0.13), transparent 35%),
    radial-gradient(circle at 20% 70%, rgba(215, 255, 66, 0.035), transparent 34%),
    var(--ink);
  color: var(--bone);
  font-family: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0 47%, rgba(255, 255, 255, 0.017) 47% 47.08%, transparent 47.08%),
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 100% 100%, 72px 72px, 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--acid);
  color: var(--ink);
  font: 800 0.75rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#spore-field,
.page-grain,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#spore-field {
  z-index: -2;
  width: 100%;
  height: 100%;
}

.page-grain {
  z-index: 40;
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 14% 21%, #fff 0 0.5px, transparent 0.75px),
    radial-gradient(circle at 72% 64%, #fff 0 0.45px, transparent 0.7px),
    radial-gradient(circle at 38% 83%, #fff 0 0.4px, transparent 0.68px);
  background-size: 13px 17px, 19px 23px, 29px 31px;
}

.scanlines {
  z-index: 39;
  opacity: 0.06;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, #000 4px);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: baseline;
  font: 900 1.12rem/1 "Arial Narrow", Arial, sans-serif;
  letter-spacing: -0.04em;
}

.brand b {
  margin: 0 0.09em;
  color: var(--acid);
}

.platform-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: monospace;
  text-transform: uppercase;
}

.platform-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.platform-logo img {
  opacity: 0.72;
  filter: brightness(0) invert(1);
}

.platform-logo__rifleman {
  width: 22px;
  height: 32px;
}

.platform-logo__wordmark {
  width: 122px;
  height: auto;
}

.platform-mark > span {
  color: #aeb3ad;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.platform-mark b {
  margin: 0 4px;
  color: var(--cs-orange);
}

.scan-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0 10px 14px;
  border: 0;
  border-left: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  font: 700 0.67rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scan-toggle span {
  color: var(--muted);
}

.scan-toggle strong {
  min-width: 28px;
  color: var(--acid);
}

.scan-toggle:focus-visible,
.primary-action:focus-visible,
.copy-domain:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 5px;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
  min-height: 100svh;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + clamp(42px, 6vh, 80px)) var(--page-pad) clamp(62px, 8vh, 110px);
  background:
    linear-gradient(90deg, rgba(9, 11, 10, 0.98) 0%, rgba(9, 11, 10, 0.87) 40%, rgba(9, 11, 10, 0.45) 73%, rgba(9, 11, 10, 0.78) 100%),
    linear-gradient(to bottom, rgba(9, 11, 10, 0.18), var(--ink) 98%),
    url("assets/gameplay-hunt.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: var(--header-height) 0 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(215, 255, 66, 0.05) 50%, transparent 50.15%),
    linear-gradient(transparent 49.85%, rgba(215, 255, 66, 0.04) 50%, transparent 50.15%);
  background-size: 100% 100%;
  opacity: 0.55;
}

.hero-visual,
.hero-rail {
  z-index: 2;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.cs2-lockup {
  display: grid;
  grid-template-columns: clamp(168px, 18vw, 230px) minmax(0, 1fr) auto;
  align-items: stretch;
  width: min(100%, 650px);
  margin: 0 0 clamp(28px, 4vh, 46px);
  border: 1px solid rgba(255, 157, 46, 0.42);
  background: linear-gradient(90deg, rgba(255, 157, 46, 0.1), rgba(13, 16, 14, 0.7));
  box-shadow: inset 0 0 40px rgba(255, 157, 46, 0.025);
}

.cs2-lockup__mark {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 64px;
  padding: 0 15px;
  background: var(--cs-orange);
}

.cs2-lockup__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
}

.cs2-lockup__brand img {
  filter: brightness(0);
}

.cs2-lockup__rifleman {
  flex: 0 0 auto;
  width: 34px;
  height: 44px;
}

.cs2-lockup__wordmark {
  width: min(76%, 162px);
  height: auto;
}

.cs2-lockup__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  text-transform: uppercase;
}

.cs2-lockup__copy strong {
  color: var(--bone);
  font: 900 0.83rem/1 monospace;
  letter-spacing: 0.09em;
}

.cs2-lockup__copy small {
  color: #747b75;
  font: 700 0.58rem/1 monospace;
  letter-spacing: 0.07em;
}

.cs2-lockup__region {
  display: grid;
  place-items: center;
  min-width: 60px;
  margin: 10px 0;
  border-left: 1px solid rgba(255, 157, 46, 0.28);
  color: var(--cs-orange);
  font: 800 0.68rem/1 monospace;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--muted);
  font: 700 0.68rem/1.3 monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow span:first-child,
.eyebrow::before {
  color: var(--acid);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(4.8rem, 10.4vw, 10.5rem);
  font-weight: 950;
  line-height: 0.74;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}

.hero h1 > span {
  position: relative;
  display: block;
  width: max-content;
}

.title-run {
  color: var(--bone);
}

.title-hide {
  margin-left: clamp(8px, 4vw, 62px);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(229, 226, 214, 0.62);
}

.title-infect {
  margin-left: clamp(18px, 8vw, 132px);
  color: var(--acid);
  text-shadow: 0 0 46px rgba(215, 255, 66, 0.09);
  transition: color 400ms ease, text-shadow 400ms ease;
}

.title-infect::before,
.title-infect::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.hero-lede {
  max-width: 610px;
  margin: clamp(36px, 6vh, 68px) 0 0;
  color: #afb4ad;
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.hero-lede strong {
  color: var(--bone);
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  min-height: 54px;
  padding: 0 7px 0 20px;
  border: 1px solid var(--acid);
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  font: 900 0.7rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease-out), box-shadow 220ms ease;
}

.primary-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(215, 255, 66, 0.13);
}

.action-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(9, 11, 10, 0.35);
  font-size: 1rem;
}

.text-link {
  position: relative;
  color: var(--bone);
  font: 800 0.72rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--line-strong);
  transform-origin: left;
  transition: transform 220ms var(--ease-out), background 220ms ease;
}

.text-link:hover::after {
  background: var(--acid);
  transform: scaleX(0.35);
}

.keyboard-hint {
  margin: 18px 0 0;
  color: #666d67;
  font: 0.63rem/1.4 monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

kbd {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin: 0 3px;
  border: 1px solid var(--line-strong);
  border-bottom-color: rgba(229, 226, 214, 0.4);
  color: var(--muted);
  font: inherit;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 650px;
  margin: clamp(42px, 7vh, 76px) 0 0;
  border-top: 1px solid var(--line);
}

.hero-metrics div {
  padding: 18px 18px 0 0;
  border-right: 1px solid var(--line);
}

.hero-metrics div + div {
  padding-left: 18px;
}

.hero-metrics dt,
.hero-metrics dd {
  margin: 0;
}

.hero-metrics dt {
  color: #666d67;
  font: 700 0.61rem/1 monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-metrics dd {
  margin-top: 9px;
  color: var(--bone);
  font: 800 0.78rem/1 monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(70vh, 720px);
  isolation: isolate;
  perspective: 900px;
}

.radar {
  position: absolute;
  width: min(44vw, 640px);
  aspect-ratio: 1;
  opacity: 0.48;
}

.radar-ring,
.radar-cross,
.radar-sweep {
  position: absolute;
  inset: 50%;
}

.radar-ring {
  border: 1px solid rgba(215, 255, 66, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one {
  width: 34%;
  height: 34%;
}

.radar-ring--two {
  width: 67%;
  height: 67%;
}

.radar-ring--three {
  width: 100%;
  height: 100%;
}

.radar-cross--x,
.radar-cross--y {
  background: rgba(215, 255, 66, 0.1);
  transform: translate(-50%, -50%);
}

.radar-cross--x {
  width: 100%;
  height: 1px;
}

.radar-cross--y {
  width: 1px;
  height: 100%;
}

.radar-sweep {
  width: 50%;
  height: 50%;
  transform-origin: 0 0;
  background: conic-gradient(from -7deg at 0 0, rgba(215, 255, 66, 0.18), transparent 23deg);
  animation: sweep 7s linear infinite;
}

.device-card {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  margin: 0;
  padding: 13px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(19, 24, 20, 0.93), rgba(8, 10, 9, 0.9));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  transform: rotateY(-4deg) rotateX(2deg) rotateZ(1.5deg);
  transition: transform 500ms var(--ease-out), border-color 350ms ease;
  backdrop-filter: blur(14px);
}

.hero-visual:hover .device-card {
  transform: rotateY(0) rotateX(0) rotateZ(0) translateY(-5px);
}

.device-card__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  padding: 0 4px 10px;
  color: var(--muted);
  font: 700 0.61rem/1 monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.device-state {
  color: var(--acid);
}

.device-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(215, 255, 66, 0.08), transparent 50%),
    #080b09;
}

.device-frame::before,
.device-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.device-frame::before {
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(215, 255, 66, 0.12) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(215, 255, 66, 0.12) 50%, transparent 50.2%);
}

.device-frame::after {
  left: 0;
  right: 0;
  top: -20%;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(215, 255, 66, 0.1), transparent);
  animation: device-scan 4.8s ease-in-out infinite;
}

.device-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: grayscale(1) contrast(1.35) brightness(0.88) sepia(0.1) hue-rotate(38deg);
  mix-blend-mode: screen;
  transition: opacity 350ms ease, filter 350ms ease, transform 700ms var(--ease-out);
}

.device-card:hover img {
  opacity: 0.82;
  transform: scale(1.018);
}

.frame-corner {
  position: absolute;
  z-index: 3;
  width: 20px;
  height: 20px;
  border-color: var(--acid);
  border-style: solid;
}

.frame-corner--tl {
  top: 9px;
  left: 9px;
  border-width: 1px 0 0 1px;
}

.frame-corner--tr {
  top: 9px;
  right: 9px;
  border-width: 1px 1px 0 0;
}

.frame-corner--bl {
  bottom: 9px;
  left: 9px;
  border-width: 0 0 1px 1px;
}

.frame-corner--br {
  right: 9px;
  bottom: 9px;
  border-width: 0 1px 1px 0;
}

.target-reticle {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(215, 255, 66, 0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.target-reticle::before,
.target-reticle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--acid);
  transform: translate(-50%, -50%);
}

.target-reticle::before {
  width: 72px;
  height: 1px;
}

.target-reticle::after {
  width: 1px;
  height: 72px;
}

.device-card figcaption {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 13px 4px 2px;
}

.device-card figcaption span {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #aeb3ad;
  font: 700 0.62rem/1.25 monospace;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.device-card figcaption small {
  color: #5f665f;
  font: inherit;
  font-size: 0.54rem;
  letter-spacing: 0.09em;
}

.threat-readout {
  position: absolute;
  z-index: 4;
  right: -18px;
  bottom: 11%;
  width: min(280px, 72%);
  padding: 15px 17px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 11, 9, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.threat-readout > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 700 0.61rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.threat-readout span {
  color: #687068;
}

.threat-readout strong {
  color: var(--acid);
}

.threat-bars {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  margin-top: 11px;
}

.threat-bars i {
  height: 5px;
  background: rgba(215, 255, 66, 0.13);
  transition: background 300ms ease, box-shadow 300ms ease;
}

.threat-bars i:nth-child(-n + 2) {
  background: var(--acid);
}

.coordinate {
  position: absolute;
  z-index: 1;
  color: #4c534d;
  font: 600 0.55rem/1 monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.coordinate--top {
  top: 7%;
  right: -10px;
}

.coordinate--bottom {
  bottom: 4%;
  left: 0;
  transform: rotate(180deg);
}

.hero-rail {
  position: absolute;
  right: var(--page-pad);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #555c56;
  font: 700 0.57rem/1 monospace;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-rail i {
  position: relative;
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.hero-rail i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--acid);
  transform: translateX(-100%);
  animation: rail 2.8s infinite;
}

.section-shell {
  position: relative;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding-right: var(--page-pad);
  padding-left: var(--page-pad);
}

.field-log {
  display: grid;
  grid-template-columns: 0.18fr 0.95fr 0.87fr;
  gap: clamp(30px, 5vw, 86px);
  align-items: start;
  padding-top: clamp(100px, 13vw, 190px);
  padding-bottom: clamp(100px, 13vw, 190px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(9, 11, 10, 0.98) 0%, rgba(9, 11, 10, 0.91) 47%, rgba(9, 11, 10, 0.58) 100%),
    linear-gradient(to bottom, var(--ink), transparent 30%, transparent 72%, var(--ink)),
    url("assets/gameplay-xray.webp") center right / cover no-repeat;
}

.section-index {
  color: transparent;
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 950;
  line-height: 0.75;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 1px rgba(229, 226, 214, 0.17);
}

.field-log h2,
.section-heading h2,
.protocol h2,
.final-transmission h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.6vw, 6.2rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.field-log__copy .statement {
  margin: 40px 0 24px;
  color: var(--bone);
  font-size: clamp(1.22rem, 1.8vw, 1.62rem);
  line-height: 1.45;
}

.field-log__copy > p:last-child {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.terminal {
  border: 1px solid var(--line-strong);
  background: rgba(8, 11, 9, 0.76);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.terminal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: #646b65;
  font: 700 0.58rem/1 monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.terminal ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.terminal li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font: 700 0.64rem/1 monospace;
  text-transform: uppercase;
}

.terminal li span {
  color: #4e554f;
}

.terminal li b {
  color: #a7ada6;
  font-weight: 700;
}

.terminal li em {
  color: var(--acid);
  font-style: normal;
  letter-spacing: 0.05em;
}

.terminal li:last-child em {
  color: var(--blood);
}

.terminal > p {
  margin: 0;
  padding: 20px 16px 22px;
  color: #737a73;
  font: 0.62rem/1.5 monospace;
}

.terminal > p > span:first-child {
  margin-right: 8px;
  color: var(--acid);
}

.terminal-cursor {
  color: var(--acid);
  animation: blink 900ms steps(1) infinite;
}

.gameplay {
  padding-top: clamp(90px, 11vw, 160px);
  padding-bottom: clamp(100px, 13vw, 190px);
  border-top: 1px solid var(--line);
}

.gameplay::before {
  content: "REC / ZMB-001";
  position: absolute;
  top: clamp(42px, 5vw, 74px);
  right: var(--page-pad);
  color: rgba(229, 226, 214, 0.2);
  font: 700 0.58rem/1 monospace;
  letter-spacing: 0.12em;
}

.gameplay-video {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #060806;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.42);
}

.gameplay-video__bar,
.gameplay-video > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  padding: 0 16px;
  color: #707770;
  font: 700 0.59rem/1.3 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gameplay-video__bar {
  border-bottom: 1px solid var(--line);
}

.gameplay-video__bar span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #9ca29b;
}

.gameplay-video__bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow: 0 0 15px rgba(255, 72, 72, 0.72);
  animation: pulse 1.8s ease-in-out infinite;
}

.gameplay-video__frame {
  position: relative;
  overflow: hidden;
  background: #000;
}

.gameplay-video__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.32);
}

.gameplay-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.gameplay-video__stamp {
  position: absolute;
  top: 17px;
  right: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(229, 226, 214, 0.22);
  background: rgba(7, 9, 8, 0.64);
  color: rgba(229, 226, 214, 0.68);
  font: 700 0.55rem/1 monospace;
  letter-spacing: 0.09em;
  pointer-events: none;
}

.gameplay-video > footer {
  border-top: 1px solid var(--line);
}

.gameplay-video > footer strong {
  color: var(--acid);
  font-weight: 700;
}

.gameplay-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 22px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}

.gameplay-shot {
  min-width: 0;
  margin: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(11, 14, 12, 0.78);
}

.gameplay-shot > div {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #060806;
}

.gameplay-shot > div::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(5, 7, 6, 0.44), transparent 45%);
}

.gameplay-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.82);
  transition: transform 700ms var(--ease-out), filter 500ms ease;
}

.gameplay-shot:hover img {
  transform: scale(1.045);
  filter: saturate(1) contrast(1.08) brightness(0.92);
}

.gameplay-shot > div > span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 11px;
  color: rgba(229, 226, 214, 0.66);
  font: 700 0.52rem/1 monospace;
  letter-spacing: 0.08em;
}

.gameplay-shot figcaption {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px 10px;
  min-height: 112px;
  padding: 18px;
}

.gameplay-shot figcaption > span {
  grid-row: 1 / 3;
  color: var(--acid);
  font: 700 0.58rem/1 monospace;
}

.gameplay-shot figcaption strong {
  font-size: 0.84rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gameplay-shot figcaption small {
  color: #727972;
  font: 0.62rem/1.4 monospace;
}

.systems {
  padding-top: clamp(90px, 11vw, 160px);
  padding-bottom: clamp(100px, 13vw, 190px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.45fr);
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(60px, 8vw, 110px);
}

.section-heading > p {
  max-width: 490px;
  margin: 0 0 4px;
  color: var(--muted);
  line-height: 1.7;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.system-card {
  position: relative;
  min-height: 430px;
  padding: 24px clamp(20px, 2vw, 32px) 28px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  transition: background 300ms ease, transform 300ms var(--ease-out);
}

.system-card:last-child {
  border-right: 0;
}

.system-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--ease-out);
}

.system-card:hover {
  background: linear-gradient(to bottom, rgba(215, 255, 66, 0.045), transparent);
  transform: translateY(-8px);
}

.system-card:hover::before {
  transform: scaleX(1);
}

.system-card__number,
.system-card__tag {
  color: #626962;
  font: 700 0.57rem/1.3 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.system-card__icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 58px 0 62px;
  border: 1px solid rgba(215, 255, 66, 0.36);
  border-radius: 50%;
  color: var(--acid);
  font: 300 2.2rem/1 monospace;
  box-shadow: inset 0 0 30px rgba(215, 255, 66, 0.035);
}

.system-card__icon--beam {
  border-radius: 0;
  transform: rotate(45deg);
}

.system-card__icon--beam + h3 {
  transform: none;
}

.system-card h3 {
  max-width: 230px;
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.85rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.system-card p {
  min-height: 92px;
  margin: 22px 0 28px;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.system-card__tag {
  color: #777e77;
}

.protocol {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) 1fr;
  gap: clamp(50px, 8vw, 150px);
  padding-top: clamp(100px, 13vw, 190px);
  padding-bottom: clamp(100px, 13vw, 190px);
  border-top: 1px solid var(--line);
}

.protocol__heading {
  position: sticky;
  top: 80px;
  align-self: start;
}

.protocol-steps {
  border-top: 1px solid var(--line-strong);
}

.protocol-step {
  display: grid;
  grid-template-columns: 76px minmax(120px, 0.42fr) 1fr;
  gap: 24px;
  align-items: center;
  min-height: 190px;
  border-bottom: 1px solid var(--line-strong);
}

.protocol-step > span {
  color: var(--acid);
  font: 700 0.66rem/1 monospace;
  letter-spacing: 0.05em;
}

.protocol-step div p {
  margin: 0 0 8px;
  color: #5f665f;
  font: 700 0.58rem/1 monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.protocol-step h3 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.6rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.protocol-step > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.protocol-step--danger > span,
.protocol-step--danger h3 {
  color: var(--blood);
}

.final-transmission {
  min-height: min(82vh, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
  isolation: isolate;
}

.final-transmission .eyebrow::before {
  display: none;
}

.final-transmission h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(3.6rem, 8vw, 9.4rem);
}

.final-transmission > p:not(.eyebrow) {
  position: relative;
  z-index: 2;
  margin: 28px 0 34px;
  color: var(--muted);
}

.copy-domain {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 38px;
  min-width: min(100%, 330px);
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  background: rgba(9, 11, 10, 0.68);
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}

.copy-domain:hover {
  border-color: var(--acid);
  background: var(--acid-soft);
}

.copy-domain span {
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.copy-domain strong {
  color: var(--acid);
  font: 700 0.61rem/1 monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.final-transmission > .server-address {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--muted);
  font: 700 0.72rem/1.2 monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.server-address code {
  color: var(--bone);
  font: inherit;
  letter-spacing: 0.03em;
}

.transmission-orbit,
.transmission-orbit span {
  position: absolute;
  border: 1px solid rgba(215, 255, 66, 0.08);
  border-radius: 50%;
}

.transmission-orbit {
  z-index: -1;
  width: min(90vw, 1050px);
  aspect-ratio: 1;
  border-color: rgba(215, 255, 66, 0.12);
  animation: orbit 25s linear infinite;
}

.transmission-orbit::before,
.transmission-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.transmission-orbit::before {
  inset: 17%;
  border: 1px solid rgba(215, 255, 66, 0.1);
}

.transmission-orbit::after {
  top: 5%;
  left: 50%;
  width: 9px;
  height: 9px;
  background: var(--acid);
  box-shadow: 0 0 30px var(--acid);
}

.transmission-orbit span:nth-child(1) {
  inset: 33%;
}

.transmission-orbit span:nth-child(2) {
  top: 49.8%;
  left: 0;
  width: 100%;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: rgba(215, 255, 66, 0.08);
}

.transmission-orbit span:nth-child(3) {
  top: 0;
  left: 49.8%;
  width: 1px;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(215, 255, 66, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 100px;
  padding: 28px var(--page-pad);
  border-top: 1px solid var(--line);
  color: #626862;
  font: 700 0.59rem/1.4 monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-footer > p:last-of-type {
  justify-self: end;
}

.site-footer__legal {
  grid-column: 1 / -1;
  max-width: 920px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #454b46;
  font: 600 0.52rem/1.55 monospace;
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand--small {
  color: var(--bone);
  font-size: 0.9rem;
}

.scan-flash {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  background: var(--blood);
  opacity: 0;
  mix-blend-mode: color;
}

.infection-mode {
  --acid: #ff4c46;
  --acid-soft: rgba(255, 76, 70, 0.13);
}

.infection-mode .scan-flash {
  animation: scan-flash 520ms ease-out;
}

.infection-mode .title-infect {
  color: var(--blood);
  text-shadow: 0 0 50px rgba(255, 72, 72, 0.25);
}

.infection-mode .title-infect::before {
  opacity: 0.7;
  color: #fff;
  transform: translate(-3px, 0);
  clip-path: inset(8% 0 74% 0);
  animation: glitch-a 620ms steps(2) 2;
}

.infection-mode .title-infect::after {
  opacity: 0.7;
  color: var(--blood);
  transform: translate(4px, 0);
  clip-path: inset(66% 0 10% 0);
  animation: glitch-b 520ms steps(2) 2;
}

.infection-mode .device-card {
  border-color: rgba(255, 72, 72, 0.48);
}

.infection-mode .device-frame img {
  opacity: 0.85;
  filter: grayscale(1) contrast(1.55) brightness(0.8) sepia(0.2) hue-rotate(300deg) saturate(2);
}

.infection-mode .threat-bars i {
  background: var(--blood);
  box-shadow: 0 0 10px rgba(255, 72, 72, 0.32);
}

.infection-mode .radar {
  opacity: 0.72;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 850ms var(--ease-out) var(--delay, 0ms),
    transform 850ms var(--ease-out) var(--delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 255, 66, 0); }
  45% { box-shadow: 0 0 0 7px rgba(215, 255, 66, 0.09); }
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

@keyframes device-scan {
  0%, 10% { transform: translateY(-10%); opacity: 0; }
  30% { opacity: 0.8; }
  70% { opacity: 0.8; }
  90%, 100% { transform: translateY(760%); opacity: 0; }
}

@keyframes rail {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

@keyframes scan-flash {
  0% { opacity: 0; }
  18% { opacity: 0.28; }
  100% { opacity: 0; }
}

@keyframes glitch-a {
  0%, 100% { transform: translate(-3px, 0); }
  30% { transform: translate(8px, -2px); }
  65% { transform: translate(-8px, 2px); }
}

@keyframes glitch-b {
  0%, 100% { transform: translate(4px, 0); }
  40% { transform: translate(-7px, 3px); }
  75% { transform: translate(10px, -2px); }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr minmax(360px, 0.82fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 9.7vw, 7.6rem);
  }

  .field-log {
    grid-template-columns: 0.12fr 1fr;
  }

  .terminal {
    grid-column: 2;
    width: min(100%, 620px);
  }

  .gameplay-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .system-card {
    min-height: 390px;
    border-bottom: 1px solid var(--line);
  }

  .system-card:nth-child(2) {
    border-right: 0;
  }

  .system-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .platform-mark {
    display: none;
  }

  .scan-toggle span {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 72px;
    min-height: auto;
    padding-top: calc(var(--header-height) + 72px);
    padding-bottom: 100px;
    background:
      linear-gradient(90deg, rgba(9, 11, 10, 0.97), rgba(9, 11, 10, 0.66)),
      linear-gradient(to bottom, rgba(9, 11, 10, 0.15), var(--ink) 92%),
      url("assets/gameplay-hunt.webp") 65% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(4.4rem, 19vw, 8.2rem);
  }

  .title-infect {
    margin-left: clamp(12px, 11vw, 90px);
  }

  .hero-visual {
    min-height: min(125vw, 680px);
  }

  .radar {
    width: min(90vw, 620px);
  }

  .hero-rail {
    display: none;
  }

  .field-log {
    grid-template-columns: 1fr;
  }

  .section-index {
    font-size: 5rem;
  }

  .terminal {
    grid-column: auto;
    width: 100%;
  }

  .section-heading,
  .protocol {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 34px;
  }

  .protocol__heading {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer > p:first-of-type {
    display: none;
  }
}

@media (max-width: 570px) {
  .cs2-lockup {
    grid-template-columns: 112px minmax(0, 1fr) 42px;
  }

  .cs2-lockup__mark {
    padding: 0 10px;
  }

  .cs2-lockup__brand {
    gap: 5px;
  }

  .cs2-lockup__rifleman {
    width: 24px;
    height: 34px;
  }

  .cs2-lockup__wordmark {
    width: 72px;
  }

  .cs2-lockup__copy {
    padding-right: 10px;
    padding-left: 13px;
  }

  .cs2-lockup__copy strong {
    font-size: 0.69rem;
  }

  .cs2-lockup__copy small {
    font-size: 0.5rem;
  }

  .cs2-lockup__region {
    min-width: 42px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 19vw, 6.6rem);
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action {
    justify-content: space-between;
    width: 100%;
  }

  .text-link {
    width: max-content;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .hero-metrics div + div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics dd {
    margin-top: 0;
  }

  .device-card {
    padding: 9px;
  }

  .device-card figcaption {
    grid-template-columns: 1fr;
  }

  .device-card figcaption span {
    flex-direction: row;
    justify-content: space-between;
    padding: 4px 0;
  }

  .coordinate {
    display: none;
  }

  .threat-readout {
    right: -8px;
    bottom: -28px;
  }

  .gameplay-video__bar,
  .gameplay-video > footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .gameplay-video__stamp {
    top: 9px;
    right: 9px;
    padding: 6px 7px;
    font-size: 0.46rem;
  }

  .gameplay-gallery {
    grid-template-columns: 1fr;
  }

  .system-grid {
    grid-template-columns: 1fr;
  }

  .system-card {
    min-height: 370px;
    border-right: 0;
    border-bottom: 1px solid var(--line) !important;
  }

  .system-card:last-child {
    border-bottom: 0 !important;
  }

  .protocol-step {
    grid-template-columns: 62px 1fr;
    gap: 18px;
    padding: 32px 0;
  }

  .protocol-step > p {
    grid-column: 2;
  }

  .final-transmission {
    min-height: 75vh;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .site-footer > p:last-of-type {
    justify-self: start;
    margin: 0;
  }

  .site-footer__legal {
    margin-top: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
