/* ===================================================================
   MXGIC//FPS — Landing page
   Implemented from Figma (node 3:2). Dark milsim / tactical FPS theme.
   =================================================================== */

:root {
  /* surfaces */
  --bg:            #0A0A0A;
  --bg-nav:        #0b0c0f;
  --bg-deep:       #0A0A0A;
  --card:          #15171c;
  --card-line:     #2a2e36;

  /* text */
  --ink:           #eceae4;
  --ink-bright:    #f1f0ec;
  --ink-white:     #f4f3f0;
  --muted:         #7c828c;
  --body:          #9aa0a8;
  --khaki:         #c7b89b;

  /* accents */
  --red:           #e5332b;
  --red-deep:      #8c0906;
  --orange:        #c85e12;
  --green:         #3ce082;

  /* hairlines */
  --line-10:       rgba(236, 234, 228, 0.10);
  --line-08:       rgba(236, 234, 228, 0.08);
  --line-07:       rgba(236, 234, 228, 0.07);

  /* type */
  --f-head:  'Oswald', system-ui, sans-serif;
  --f-mono:  'Geist Mono', ui-monospace, monospace;
  --f-sans:  'Geist Mono', ui-monospace, monospace;

  /* rhythm */
  --pad-x:   clamp(20px, 6.7vw, 96px);
  --maxw:    1440px;
}

* { box-sizing: border-box; }

::selection {
  color: var(--ink-white);
  background: rgb(229 51 43 / 30%);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 700; }

.shell {
  background: var(--bg);
  overflow-x: clip; /* clip horizontal bleed without breaking sticky nav */
}

/* Sections run full-bleed (backgrounds span the whole viewport); their
   content sits in a centered, max-width container so text and cards keep
   sensible widths on widescreen displays. */
.nav__inner,
.ops__inner,
.kit > .sec-head,
.kit > .partner-grid,
.footer__top,
.footer__bot {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.accent { color: var(--red); }

/* ---- shared eyebrow / section heading ---- */
.eyebrow {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 3.4px;
  color: var(--red);
}
.eyebrow--plain { letter-spacing: 3.4px; }
.eyebrow--center { justify-content: center; }
.sec-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 42px);
  letter-spacing: -0.5px;
  color: var(--ink);
  line-height: 1;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.sec-head__left { display: flex; flex-direction: column; gap: 16px; }
.sec-head__note {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
  max-width: 300px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--khaki);
  transition: color .15s ease;
}
.link-arrow .accent { font-size: 13px; }
.link-arrow:hover { color: var(--ink); }

/* icons */
.ico { width: 1em; height: 1em; flex: none; }
.fa-brands.ico { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: stretch;
  background: transparent;
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease;
}
.nav.is-scrolled {
  background: rgba(11, 12, 15, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line-10);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__emblem {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.brand__word {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 1.2px;
  color: var(--ink-white);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 1.6px;
}
.nav__links a { color: var(--muted); transition: color .15s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }

.nav__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 3px;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.nav__socials a:hover {
  color: var(--ink-white);
  border-color: rgba(229, 51, 43, 0.45);
  background: rgba(229, 51, 43, 0.08);
}
.nav__socials .ico {
  width: 16px;
  height: 16px;
  font-size: 16px;
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-head);
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--solid {
  padding: 15px 26px;
  color: var(--ink-white);
  border: 1px solid rgba(229, 51, 43, 0.8);
  background: linear-gradient(96.8deg, rgba(213, 53, 49, 0.92) 0%, rgba(155, 46, 44, 0.92) 100%);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 2px;
}
.btn--solid:hover { filter: brightness(1.12); }

/* Opposing tactical cuts: top-right and bottom-left. */
.btn--notch {
  --notch-size: 11px;
  position: relative;
  isolation: isolate;
  clip-path: polygon(
    0 0,
    calc(100% - var(--notch-size)) 0,
    100% var(--notch-size),
    100% 100%,
    var(--notch-size) 100%,
    0 calc(100% - var(--notch-size))
  );
}
.btn--solid.btn--notch {
  --notch-border: rgba(229, 51, 43, 0.8);
  border-color: var(--notch-border);
}
.btn--solid.btn--notch::before,
.btn--solid.btn--notch::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 2px;
  pointer-events: none;
  background: var(--notch-border);
  transform: rotate(45deg);
}
.btn--solid.btn--notch::before {
  top: 5.5px;
  right: -1.5px;
}
.btn--solid.btn--notch::after {
  bottom: 5.5px;
  left: -1.5px;
}
.btn--solid.btn--notch.btn--youtube {
  border-color: transparent;
  background: linear-gradient(96.8deg, rgba(213, 53, 49, 0.4) 0%, rgba(155, 46, 44, 0.4) 100%);
  transform-origin: center;
  filter: brightness(1) saturate(1) drop-shadow(0 0 7px rgba(229, 51, 43, 0.32)) drop-shadow(0 0 16px rgba(229, 51, 43, 0.12));
  translate: 0 0;
  scale: 1;
  animation: hero-cta-invite 1.9s ease-in-out infinite alternate;
  transition:
    translate 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    scale 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
}
@keyframes hero-cta-invite {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(0, -2px, 0) scale(1.012); }
}
.btn--solid.btn--notch.btn--youtube:active {
  animation: none;
  filter: brightness(0.96) drop-shadow(0 0 5px rgba(229, 51, 43, 0.3));
  translate: 0 0;
  scale: 0.99;
  transform: translateY(1px) scale(0.99);
}
.btn--solid.btn--notch.btn--youtube::after {
  content: none;
}
.btn--solid.btn--notch.btn--youtube::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  width: auto;
  height: auto;
  pointer-events: none;
  background: rgba(229, 51, 43, 0.18);
  opacity: 0;
  transform: none;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--solid.btn--notch.btn--youtube:hover::before {
  opacity: 1;
}
.btn--solid.btn--notch.btn--youtube > .btn__frame {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.btn--solid.btn--notch.btn--youtube > .btn__frame path {
  fill: none;
  stroke: var(--notch-border);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--solid.btn--notch.btn--youtube:hover > .btn__frame path {
  stroke: rgba(241, 70, 61, 0.88);
}
.btn--solid.btn--notch > * {
  position: relative;
  z-index: 2;
}

.btn--lg {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  padding: 16px 22px;
}

.btn--solid.btn--lg { gap: 12px; }
.btn__divider {
  width: 2px;
  height: 15px;
  background: var(--red-deep);
  flex: none;
}
.btn--lg .ico { width: 15px; height: 15px; font-size: 15px; }
.btn__label { white-space: nowrap; }
.btn__arrow { margin-left: 14px; font-size: 15px; }

.btn--outline {
  padding: 16px 22px;
  color: var(--ink-bright);
  background: rgba(20, 22, 27, 0.4);
  border: 1px solid rgba(157, 46, 44, 0.7);
}
.btn--outline:hover {
  background: rgba(229, 51, 43, 0.10);
  border-color: rgba(229, 51, 43, 0.9);
}
.ico--accent { color: var(--red); }

.hero .btn--outline,
.enlist .btn--outline {
  color: var(--ink-bright);
  border-color: rgba(157, 46, 44, 0.7);
  background-color: rgba(20, 22, 27, 0.4);
  transition:
    color 0.5s ease-in-out,
    border-color 0.5s ease-in-out,
    background-color 0.5s ease-in-out;
}
.hero .btn--outline .ico,
.enlist .btn--outline .ico {
  color: var(--red);
  transition: color 0.5s ease-in-out;
}
.hero .btn--outline:hover,
.enlist .btn--outline:hover {
  color: rgba(241, 240, 236, 0.92);
  border-color: rgba(229, 51, 43, 0.58);
  background-color: rgba(229, 51, 43, 0.07);
}
.hero .btn--outline:hover .ico,
.enlist .btn--outline:hover .ico {
  color: rgba(229, 51, 43, 0.86);
}
.hero .btn--gear .ico {
  transform-origin: 28% 28%;
}
.hero .btn--gear:hover .ico {
  animation: gear-tag-wiggle 520ms ease-in-out;
}
@keyframes gear-tag-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(9deg); }
  75% { transform: rotate(-5deg); }
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-row--center { justify-content: center; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 720px;              /* fallback if viewport units are unavailable */
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grad {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #0c0d11, #070709);
}
/* Full-bleed background video, positioned so the action stays beside the copy. */
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 78% center;
  opacity: 0.6;
  filter: grayscale(70%);
  pointer-events: none;
  user-select: none;
}
/* horizontal scrim: dark on the left (text), revealing the photo on the right */
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    #0a0b0e 0%,
    rgba(10, 11, 14, 0.92) 26%,
    rgba(10, 11, 14, 0.5) 48%,
    rgba(10, 11, 14, 0.05) 72%,
    rgba(10, 11, 14, 0) 100%
  );
}
.hero__color-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(229, 51, 43, 0.26) 0%,
    rgba(229, 51, 43, 0) 50%,
    rgba(60, 224, 130, 0) 50%,
    rgba(60, 224, 130, 0.16) 100%
  );
}
.hero__grunge {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.05;
}
.hero__section-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(7, 8, 9, 0), var(--bg-deep));
}
.hero__vignette {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 320px;
  background: linear-gradient(to bottom, rgba(10, 11, 14, 0), rgba(10, 11, 14, 0.92));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--pad-x);
}
.eyebrow--plain {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 3.4px;
  color: var(--red);
}
.hero__title {
  margin: 16px 0 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(46px, 7.2vw, 88px);
  line-height: 0.9;
  letter-spacing: -1px;
  color: var(--ink-bright);
}
.hero__lead {
  margin: 26px 0 0;
  max-width: 522px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 1.2px;
  color: var(--body);
}
.hero .cta-row { margin-top: 34px; }

/* ===================================================================
   DEPLOYMENT ZONES (ticker)
   =================================================================== */
.zones {
  background: var(--bg-deep);
  padding: 40px 0 0;
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
  padding-bottom: 40px;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}
.marquee__track li {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 32px;
  color: var(--ink-bright);
  white-space: nowrap;
}
.marquee__track .sep {
  width: 10px; height: 10px;
  flex: none;
  background: var(--red);
  transform: rotate(45deg);
}
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-25%, 0, 0); }
}

/* ===================================================================
   LATEST OPERATION
   =================================================================== */
.ops {
  position: relative;
  background: var(--bg-deep);
  padding: 118px 0;
}
.ops__inner { position: relative; z-index: 1; }

.op-grid {
  width: min(100%, 1240px);
  margin: 42px auto 0;
}

.op-card {
  --op-card-height: clamp(500px, 46vw, 640px);
  position: relative;
  display: block;
  min-height: var(--op-card-height);
  isolation: isolate;
  overflow: hidden;
  background: #0f1116;
  border: 1px solid rgba(128, 134, 144, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.op-card::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -1px;
  left: 18px;
  width: 92px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 14px rgba(229, 51, 43, 0.52);
}
.op-card:hover {
  border-color: rgba(229, 51, 43, 0.5);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(229, 51, 43, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.op-card:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
.op-card__thumb {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #0a0b0e;
}
.op-card__thumb::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(5, 6, 8, 0.42), transparent 38%),
    linear-gradient(to right, transparent 36%, rgba(10, 12, 16, 0.18) 50%, rgba(15, 17, 22, 0.9) 78%, #0f1116 100%);
}
.op-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-user-drag: none;
  user-select: none;
  filter: saturate(0.86) contrast(1.04) brightness(0.86);
}

.scanlines {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.42;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0 8px,
    rgba(236, 234, 228, 0.03) 8px 9px
  );
}
.gtag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 1.7px;
  color: var(--body);
}
.gtag::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: none;
}
.dur {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: auto;
  left: 18px;
  padding: 7px 9px;
  background: rgba(10, 11, 14, 0.76);
  border: 1px solid rgba(236, 234, 228, 0.14);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.5px;
  color: var(--ink);
}

.op-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  width: 54%;
  min-height: var(--op-card-height);
  min-width: 0;
  margin-left: auto;
  padding: clamp(34px, 3vw, 46px) clamp(34px, 3.6vw, 56px) clamp(34px, 3vw, 46px) clamp(78px, 7vw, 112px);
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 51, 43, 0.09), transparent 34%),
    linear-gradient(to right, transparent 0%, rgba(15, 17, 22, 0.76) 18%, #0f1116 42%, #0f1116 100%);
}
.op-card__kickers {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.op-card__status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: var(--red);
}
.op-card__status span {
  width: 7px;
  height: 7px;
  background: var(--red);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(229, 51, 43, 0.45);
}
.op-card__title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(31px, 2.8vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: var(--ink-bright);
  text-wrap: balance;
}
.op-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(236, 234, 228, 0.09);
}
.op-card__meta {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.5vw, 36px);
  min-width: 0;
  font-family: var(--f-mono);
  font-weight: 500;
}
.op-card__metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.op-card__metric[hidden] { display: none; }
.op-card__metric-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.op-card__metric strong {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--ink);
}
.watch {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(229, 51, 43, 0.42);
  border-radius: 4px;
  background: rgba(229, 51, 43, 0.08);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--ink-bright);
  transition:
    gap .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}
.watch span { color: var(--red); }
.op-card:hover .watch,
.op-card:focus-visible .watch {
  gap: 12px;
  border-color: rgba(229, 51, 43, 0.74);
  background: rgba(229, 51, 43, 0.15);
}

.ops .link-arrow {
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(229, 51, 43, 0.34);
  border-radius: 4px;
  background: rgba(229, 51, 43, 0.06);
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--ink);
  transition:
    gap .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}
.ops .link-arrow:hover {
  gap: 12px;
  color: var(--ink-bright);
  border-color: rgba(229, 51, 43, 0.68);
  background: rgba(229, 51, 43, 0.12);
}

/* ===================================================================
   PARTNER NETWORK
   =================================================================== */
.kit {
  background: var(--bg-deep);
  padding: 118px 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 42px;
}
.partner {
  --partner-accent: 229 51 43;
  --partner-art-scale: 1;
  --partner-art-x: 0px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(165px, 0.78fr) minmax(0, 1.22fr);
  min-height: 282px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 14%, rgb(var(--partner-accent) / 0.08), transparent 34%),
    linear-gradient(145deg, #191c21 0%, #111318 100%);
  border: 1px solid rgba(128, 134, 144, 0.32);
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition:
    border-color .35s ease,
    box-shadow .35s ease;
}
.partner--supply {
  --partner-accent: 230 230 230;
  --partner-art-x: -88px;
}
.partner--hosting {
  --partner-accent: 162 229 53;
  --partner-art-x: -88px;
}
.partner--systems {
  --partner-accent: 255 99 68;
  --partner-art-scale: 1;
}
.partner-grid > .partner:last-child:nth-child(odd) { grid-column: 1 / -1; }
.partner::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: -1px;
  left: 18px;
  width: 76px;
  height: 2px;
  background: rgb(var(--partner-accent));
  box-shadow: 0 0 14px rgb(var(--partner-accent) / 0.62);
}
.partner:hover {
  border-color: rgb(var(--partner-accent) / 0.58);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgb(var(--partner-accent) / 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.partner__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #08090b;
}
.partner__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to right,
      rgba(7, 8, 11, 0.04) 0%,
      rgba(7, 8, 11, 0.16) 28%,
      rgba(17, 19, 24, 0.84) 43%,
      rgba(17, 19, 24, 0.97) 61%,
      rgba(17, 19, 24, 0.99) 100%
    ),
    linear-gradient(to bottom, rgba(7, 8, 11, 0.06), rgba(7, 8, 11, 0.3));
}
.partner--systems .partner__visual::before {
  background:
    linear-gradient(
      to left,
      rgba(7, 8, 11, 0.02) 0%,
      rgba(7, 8, 11, 0.06) 24%,
      rgba(17, 19, 24, 0.34) 38%,
      rgba(17, 19, 24, 0.72) 52%,
      rgba(17, 19, 24, 0.94) 66%,
      rgba(17, 19, 24, 0.99) 100%
    ),
    linear-gradient(to bottom, rgba(7, 8, 11, 0.03), rgba(7, 8, 11, 0.26));
}
.partner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
.partner__image--backdrop {
  object-fit: cover;
  object-position: center;
  filter: blur(8px) saturate(0.68) brightness(0.42);
  transform: scale(1.06);
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}
.partner--systems .partner__image--backdrop {
  opacity: 0;
}
.partner__image--art {
  object-fit: contain;
  object-position: left center;
  filter: saturate(0.9) contrast(1.04) brightness(0.88);
  transform: translateX(var(--partner-art-x)) scale(var(--partner-art-scale));
  transform-origin: left center;
}
.partner--systems .partner__image--art {
  left: auto;
  right: 0;
  width: 56%;
  object-fit: cover;
  object-position: center;
  transform: none;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 46%, rgba(0, 0, 0, 0.78) 64%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 46%, rgba(0, 0, 0, 0.78) 64%, rgba(0, 0, 0, 0.35) 82%, transparent 100%);
}
.partner:hover .partner__image--backdrop { transform: scale(1.09); }

.partner__body {
  position: relative;
  z-index: 3;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  min-height: 280px;
  padding: 28px 28px 26px;
}
.partner--systems .partner__body { grid-column: 1; }
.partner__name {
  margin: 13px 0 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.partner__cat {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 2px;
  color: rgb(var(--partner-accent));
}
.partner__diamond {
  width: 7px;
  height: 7px;
  flex: none;
  background: currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 9px rgb(var(--partner-accent) / 0.44);
}
.partner__desc {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 12.5px;
  line-height: 1.62;
  color: var(--body);
}
.partner__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding-top: 0;
}
.partner__code {
  display: flex;
  align-items: center;
  min-width: 0;
}
.code-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 38px;
  padding: 8px 11px;
  background: rgb(var(--partner-accent) / 0.08);
  border: 1px solid rgb(var(--partner-accent) / 0.72);
  border-radius: 4px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.3px;
  color: rgb(var(--partner-accent));
  box-shadow: inset 0 0 16px rgb(var(--partner-accent) / 0.045);
  cursor: pointer;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}
.code-chip:hover {
  background: rgb(var(--partner-accent) / 0.14);
  box-shadow:
    inset 0 0 18px rgb(var(--partner-accent) / 0.08),
    0 0 16px rgb(var(--partner-accent) / 0.08);
}
.code-chip:focus-visible {
  outline: 2px solid rgb(var(--partner-accent) / 0.75);
  outline-offset: 3px;
}
.code-chip.is-copied {
  color: #0b0c0f;
  background: rgb(var(--partner-accent));
  border-color: rgb(var(--partner-accent));
}
.code-chip__icon {
  width: 1em;
  font-size: 10px;
  line-height: 1;
}
.plink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgb(var(--partner-accent) / 0.42);
  border-radius: 4px;
  background: rgb(var(--partner-accent) / 0.09);
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 1.3px;
  color: var(--ink-bright);
  white-space: nowrap;
  transition:
    gap .2s ease,
    color .2s ease,
    border-color .2s ease,
    background-color .2s ease;
}
.plink span { color: rgb(var(--partner-accent)); }
.plink:hover {
  gap: 12px;
  color: var(--ink-bright);
  border-color: rgb(var(--partner-accent) / 0.78);
  background: rgb(var(--partner-accent) / 0.16);
  box-shadow: 0 0 18px rgb(var(--partner-accent) / 0.09);
}

.section-separator {
  height: var(--separator-height);
  overflow: hidden;
  background: url("assets/mxgicfps_separator.svg") left top / auto 100% repeat-x;
}

/* ===================================================================
   ENLIST CTA
   =================================================================== */
.enlist {
  --separator-height: clamp(80px, 7.8125vw, 150px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 104px var(--pad-x);
  background-color: #0d1116;
}
.enlist > .section-separator {
  position: absolute;
  z-index: 1;
  left: 50%;
  width: 100vw;
  max-width: none;
  pointer-events: none;
}
.enlist > .section-separator--top {
  top: calc(var(--separator-height) * -0.7);
  transform: translateX(-50%);
}
.enlist > .section-separator--bottom {
  bottom: calc(var(--separator-height) * -0.7);
  transform: translateX(-50%) rotate(180deg);
}
.enlist::before,
.enlist::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}
.enlist::before {
  background: url("assets/mxgicfps_fall_in_bg.png") center 31% / 74% auto no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 13%, #000 23%, #000 77%, transparent 87%);
  mask-image: linear-gradient(to right, transparent 13%, #000 23%, #000 77%, transparent 87%);
}
.enlist::after {
  background: linear-gradient(to bottom, rgba(13, 17, 22, 0.42), rgba(13, 17, 22, 0.74));
}
.enlist > * {
  position: relative;
  z-index: 1;
}
.enlist__title {
  margin: 22px 0 0;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(46px, 6.5vw, 68px);
  letter-spacing: -1px;
  color: var(--ink);
  line-height: 1;
}
.enlist__lead {
  margin: 20px 0 0;
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--khaki);
}
.enlist .cta-row { margin-top: 38px; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--bg-deep);
  padding: 74px 0 40px;
}
.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}
.footer__desc {
  margin: 18px 0 0;
  max-width: 350px;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.footer__status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--khaki);
}
.footer__status .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(60, 224, 130, 0.8);
}
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: #121419;
  border: 1px solid var(--card-line);
  border-radius: 3px;
  color: var(--khaki);
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.socials a:hover { color: var(--ink); border-color: var(--red); background: #16181f; }
.socials .ico { width: 18px; height: 18px; font-size: 18px; }

.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; }
.footer__h {
  margin: 0 0 20px;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.footer__col a {
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--khaki);
  margin-bottom: 13px;
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--ink); }

.footer__rule {
  border: 0;
  height: 1px;
  width: 100%;
  max-width: var(--maxw);
  margin: 52px auto 22px;
  padding-inline: var(--pad-x);
  background: var(--line-07);
  background-clip: content-box; /* keep the line aligned with the columns */
}
.footer__bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 10.5px;
  letter-spacing: 1.2px;
  color: var(--muted);
}
.footer__bot p { margin: 0; }
.footer__bot a { color: var(--khaki); transition: color .15s ease; }
.footer__bot a:hover { color: var(--ink); }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .op-card { --op-card-height: clamp(480px, 48vw, 560px); }
  .op-card__body {
    width: 56%;
    padding: 32px 32px 32px 72px;
  }
  .partner-grid { grid-template-columns: 1fr; }
  .sec-head__note { text-align: left; }
}

@media (max-width: 900px) {
  .op-card {
    --op-card-height: auto;
    display: grid;
    min-height: 0;
  }
  .op-card__thumb {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid rgba(128, 134, 144, 0.22);
  }
  .op-card__thumb::after {
    background: linear-gradient(to top, rgba(5, 6, 8, 0.3), transparent 42%);
  }
  .dur {
    right: 16px;
    left: auto;
  }
  .op-card__body {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding: 32px;
    background:
      radial-gradient(circle at 100% 0%, rgba(229, 51, 43, 0.09), transparent 34%),
      linear-gradient(145deg, #13161c, #0f1116 72%);
  }
}

@media (max-width: 760px) {
  .nav__links { display: none; }

  .hero__inner { padding: 96px var(--pad-x) 110px; }
  .hero__video { object-position: 70% center; }
  .enlist::before {
    background-size: cover;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .marquee__track li { font-size: 24px; }

  .op-card__body {
    padding: 28px 24px 26px;
  }
  .op-card__title { font-size: clamp(29px, 9vw, 38px); }
  .op-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .op-card__meta { flex-wrap: wrap; }

  .partner {
    --partner-art-x: 0px;
    grid-template-columns: 1fr;
    min-height: 420px;
  }
  .partner__visual {
    min-height: 0;
    border: 0;
  }
  .partner__visual::before {
    background:
      linear-gradient(
        to bottom,
        rgba(7, 8, 11, 0.04) 0%,
        rgba(7, 8, 11, 0.15) 30%,
        rgba(17, 19, 24, 0.86) 52%,
        rgba(17, 19, 24, 0.98) 70%,
        rgba(17, 19, 24, 0.99) 100%
      );
  }
  .partner--systems .partner__visual::before {
    background:
      linear-gradient(
        to bottom,
        rgba(7, 8, 11, 0.04) 0%,
        rgba(7, 8, 11, 0.15) 30%,
        rgba(17, 19, 24, 0.86) 52%,
        rgba(17, 19, 24, 0.98) 70%,
        rgba(17, 19, 24, 0.99) 100%
      );
  }
  .partner--systems .partner__image--backdrop {
    opacity: 1;
    filter: blur(8px) saturate(0.68) brightness(0.42);
    transform: scale(1.06);
  }
  .partner__image--art {
    inset: 0 0 auto;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .partner--systems .partner__image--art {
    left: 0;
    right: 0;
    width: 100%;
    object-fit: contain;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .partner__body {
    grid-column: 1;
    min-height: 420px;
    padding: 205px 24px 24px;
  }
  .partner__footer { flex-wrap: wrap; }

  .footer__top { gap: 40px; }
  .footer__cols { gap: 40px; }
  .footer__bot { flex-direction: column; align-items: flex-start; }

  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 420px) {
  .nav .brand { gap: 8px; }
  .nav .brand__emblem { width: 28px; height: 28px; }
  .nav .brand__word { font-size: 15px; letter-spacing: 0.8px; }
  .nav__socials { gap: 4px; }
  .nav__socials a { width: 30px; height: 30px; }
  .nav__socials .ico { width: 14px; height: 14px; font-size: 14px; }
  .footer__cols { flex-direction: column; }
}

/* Deliberate fade around cross-page navigation to hide the document swap. */
html { background: #0a0a0a; }
body {
  animation: page-fade-in 560ms cubic-bezier(.22, 1, .36, 1) both;
}
html.page-is-leaving body {
  animation: page-fade-out 420ms cubic-bezier(.4, 0, 1, 1) forwards;
  pointer-events: none;
}
@keyframes page-fade-out {
  to { opacity: 0; }
}
@keyframes page-fade-in {
  from { opacity: 0; }
}
