:root {
  --mg-deep: #010724;
  --mg-navy: #03113d;
  --mg-blue-dark: #061a57;
  --mg-blue: #1748f5;
  --mg-blue-light: #3e8dff;
  --mg-cyan: #43d9ff;
  --mg-red: #e51b2b;
  --mg-ice: #edf4ff;
  --mg-white: #fff;
  --mg-ink: #10172a;
  --mg-muted: #53627b;
  --mg-line: rgba(23, 72, 245, .18);
  --mg-scroll: 0;
  --mg-hero: 0;
  --mg-tilt-x: 0deg;
  --mg-tilt-y: 0deg;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; background: var(--mg-deep); }
html.mg-splash-lock { overflow: hidden; overscroll-behavior: none; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--mg-ink);
  background: var(--mg-deep);
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body, button, input, textarea, select { font: inherit; }
button, input, textarea, select { border: 0; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--mg-deep); background: var(--mg-cyan); }
:focus-visible { outline: 2px solid var(--mg-cyan); outline-offset: 4px; }

.mg-main { position: relative; overflow: clip; }
.mg-scroll-progress {
  position: fixed;
  z-index: 1200;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--mg-cyan), var(--mg-blue) 72%, var(--mg-red));
  box-shadow: 0 0 18px rgba(67, 217, 255, .72);
  transform: scaleX(var(--mg-scroll));
  transform-origin: left;
  pointer-events: none;
}

.mg-site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 84px;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 4.5vw, 72px);
  color: #fff;
  border-bottom: 1px solid rgba(67, 217, 255, .22);
  background: rgba(1, 7, 36, .9);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px) saturate(145%);
  transition: height .35s ease, background .35s ease;
}

.mg-site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 2%, var(--mg-cyan) 22% 46%, var(--mg-blue) 62%, var(--mg-red) 82%, transparent 96%);
  background-size: 220% 100%;
  animation: mgHeaderSignal 7s linear infinite;
}

.mg-site-header.is-compact { height: 68px; background: rgba(1, 7, 36, .97); }
.mg-brand { width: clamp(146px, 15vw, 208px); display: inline-flex; align-items: center; }
.mg-brand img, .mg-footer-logo img { display: block; width: 100%; height: auto; filter: brightness(1.45) saturate(1.3) drop-shadow(0 0 10px rgba(67, 217, 255, .22)); }
.mg-brand .custom-logo-link { display: block; width: 100%; }
.mg-brand .custom-logo { width: 100%; height: auto; }

.mg-desktop-nav .mg-nav-list,
.mg-footer-nav,
.mg-mobile-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3.2vw, 50px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg-desktop-nav a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.mg-desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 1px;
  background: var(--mg-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .32s ease;
}

.mg-desktop-nav a:hover::after,
.mg-desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.mg-header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  color: #fff;
  background: var(--mg-red);
  box-shadow: 0 0 28px rgba(229, 27, 43, .25);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.mg-header-cta:hover { color: var(--mg-deep); background: #fff; transform: translateY(-2px); }
.mg-arrow { display: inline-flex; transition: transform .22s ease; }
a:hover .mg-arrow, button:hover .mg-arrow { transform: translate(3px, -2px); }
.mg-menu-button { display: none; width: 44px; height: 44px; padding: 0; color: #fff; background: transparent; cursor: pointer; }
.mg-menu-button span { display: block; width: 26px; height: 1px; margin: 7px auto; background: currentColor; transition: transform .3s ease; }
.mg-menu-button.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.mg-menu-button.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mg-mobile-menu {
  position: fixed;
  z-index: 90;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  color: #fff;
  background: radial-gradient(circle at 82% 85%, rgba(23, 72, 245, .55), transparent 38%), var(--mg-deep);
  transition: opacity .3s ease, visibility .3s ease;
}
.mg-mobile-menu.is-open { visibility: visible; opacity: 1; }
.mg-mobile-menu-inner { min-height: 100%; display: grid; align-content: center; gap: 24px; padding: 86px 22px 110px; }
.mg-mobile-menu-inner > p { margin: 0; color: var(--mg-cyan); font: 800 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-mobile-menu .mg-nav-list, .mg-mobile-nav-list { display: grid; gap: 0; }
.mg-mobile-menu .mg-nav-list a, .mg-mobile-nav-list a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: clamp(30px, 9vw, 48px); font-weight: 900; letter-spacing: -.05em; }
.mg-mobile-menu-contact { display: flex; justify-content: space-between; margin-top: 12px; padding: 18px; background: var(--mg-red); font-weight: 900; }

/* Splash */
.mg-splash {
  position: fixed;
  z-index: 2000;
  inset: 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: var(--mg-deep);
  transform-origin: top;
  animation: mgSplashExit 3.35s cubic-bezier(.78, 0, .18, 1) forwards;
}
.mg-splash::before { content: ""; position: absolute; z-index: 20; inset: 0; pointer-events: none; background: #fff; opacity: 0; animation: mgSplashFlash 3.35s linear forwards; }
.mg-splash-grid { position: absolute; inset: -15%; opacity: .48; background-image: linear-gradient(rgba(67,217,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(67,217,255,.14) 1px, transparent 1px), radial-gradient(circle, rgba(67,217,255,.65) 1px, transparent 1.3px); background-size: 72px 72px, 72px 72px, 36px 36px; mask-image: radial-gradient(circle at center, #000, transparent 70%); transform: perspective(900px) rotateX(58deg) scale(1.5); animation: mgSplashGrid 2.7s ease-out both; }
.mg-splash-scan { position: absolute; z-index: 8; left: -10%; right: -10%; top: -4px; height: 4px; background: linear-gradient(90deg, transparent, var(--mg-cyan), #fff, var(--mg-blue), transparent); box-shadow: 0 0 22px var(--mg-cyan), 0 0 70px var(--mg-blue); animation: mgSplashScan 2.25s .1s cubic-bezier(.2,.8,.2,1) forwards; }
.mg-splash-orbit { position: absolute; z-index: 7; left: 50%; top: 50%; width: min(72vw, 780px); aspect-ratio: 1; translate: -50% -50%; opacity: 0; animation: mgSplashOrbitIn 2.5s .15s ease-out forwards; }
.mg-splash-orbit i { position: absolute; inset: 0; border: 1px solid rgba(67,217,255,.42); border-radius: 50%; animation: mgSpin 6s linear infinite; }
.mg-splash-orbit i:nth-child(2) { inset: 18%; border-style: dashed; animation-direction: reverse; animation-duration: 4.2s; }
.mg-splash-orbit i:nth-child(3) { inset: 36%; border-color: rgba(229,27,43,.72); animation-duration: 2.4s; }
.mg-splash-telemetry { position: absolute; z-index: 12; left: clamp(20px, 4vw, 64px); top: clamp(22px, 4vw, 60px); display: grid; gap: 7px; color: var(--mg-cyan); font: 800 7px/1 ui-monospace, monospace; letter-spacing: .17em; opacity: 0; animation: mgSplashTelemetry 2.5s steps(5,end) forwards; }
.mg-splash-word { position: absolute; z-index: 9; inset: 0; display: flex; justify-content: center; align-items: center; font-size: clamp(100px, 23vw, 370px); font-weight: 950; line-height: .72; letter-spacing: -.13em; pointer-events: none; }
.mg-splash-word span { color: transparent; -webkit-text-stroke: 2px rgba(67,217,255,.68); opacity: 0; text-shadow: 0 0 34px rgba(23,72,245,.35); }
.mg-splash-word span:first-child { animation: mgSplashWordA 2.35s .12s cubic-bezier(.18,.82,.18,1) forwards; }
.mg-splash-word span:last-child { animation: mgSplashWordB 2.35s .12s cubic-bezier(.18,.82,.18,1) forwards; }
.mg-splash-core { position: absolute; z-index: 13; left: 50%; top: 50%; width: clamp(108px, 13vw, 184px); aspect-ratio: 1; display: grid; place-items: center; translate: -50% -50%; opacity: 0; animation: mgSplashCore 2.3s .2s cubic-bezier(.2,.8,.2,1) forwards; }
.mg-splash-core i { position: absolute; inset: 0; border: 1px dashed rgba(67,217,255,.68); border-radius: 50%; animation: mgSpin 2.2s linear infinite reverse; }
.mg-splash-core b { display: grid; place-items: center; width: 44%; aspect-ratio: 1; color: #fff; border: 1px solid #fff; background: var(--mg-red); box-shadow: 0 0 30px var(--mg-red), 0 0 80px rgba(67,217,255,.35); font-size: clamp(15px, 2vw, 25px); }
.mg-splash-lockup { position: absolute; z-index: 16; left: 50%; top: 50%; width: min(570px, 64vw); min-height: 116px; display: grid; place-items: center; gap: 7px; padding: 20px 34px 15px; color: var(--mg-ink); background: #fff; box-shadow: 16px 16px 0 var(--mg-red), 0 0 90px rgba(23,72,245,.52); clip-path: inset(0 100% 0 0); translate: -50% -50%; opacity: 0; animation: mgSplashLockup 3s .12s cubic-bezier(.2,.8,.2,1) forwards; }
.mg-splash-lockup img { width: min(390px, 84%); height: auto; }
.mg-splash-lockup .custom-logo-link { display: grid; place-items: center; }
.mg-splash-lockup p { margin: 0; color: #3e4758; font-size: 7px; font-weight: 900; letter-spacing: .24em; text-align: center; }
.mg-splash-progress { position: absolute; z-index: 17; left: clamp(20px, 4vw, 64px); right: clamp(20px, 4vw, 64px); bottom: clamp(25px, 5vw, 58px); height: 26px; color: rgba(255,255,255,.65); font: 800 7px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-splash-progress::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: rgba(255,255,255,.15); }
.mg-splash-progress i { position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, var(--mg-blue), var(--mg-cyan), #fff); box-shadow: 0 0 18px var(--mg-cyan); transform: scaleX(0); transform-origin: left; animation: mgSplashProgress 2.5s .12s ease-out forwards; }
.mg-splash-progress span { position: absolute; left: 0; bottom: 0; }
.mg-splash-skip { position: absolute; z-index: 22; right: clamp(20px, 4vw, 64px); bottom: clamp(56px, 7.2vw, 90px); padding: 8px 0; color: rgba(255,255,255,.8); background: transparent; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; cursor: pointer; }

/* Hero */
.mg-hero { position: relative; height: 176svh; min-height: 1120px; color: #fff; background: var(--mg-deep); }
.mg-hero-pin { position: sticky; top: 0; height: 100svh; min-height: 680px; overflow: hidden; isolation: isolate; }
.mg-hero-video { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: calc(.86 * (1 - var(--mg-hero))); filter: grayscale(.3) saturate(1.25) contrast(1.1) brightness(.62); transform: scale(calc(1.02 + var(--mg-hero) * .25)); }
.mg-hero-overlay { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(1,7,36,.98), rgba(3,17,61,.82) 45%, rgba(3,17,61,.14) 78%), linear-gradient(180deg, rgba(1,7,36,.08), transparent 54%, rgba(1,7,36,.97)); }
.mg-hero-grid { position: absolute; z-index: -2; inset: 0; opacity: calc(.44 * (1 - var(--mg-hero))); background-image: radial-gradient(circle, rgba(67,217,255,.68) 1px, transparent 1.3px); background-size: 48px 48px; transform: translate3d(calc(var(--mg-hero) * -30px), calc(var(--mg-hero) * 28px), 0); }
.mg-hero-beam { position: absolute; z-index: -1; top: -20%; bottom: -20%; left: -28%; width: 16%; background: linear-gradient(90deg, transparent, rgba(67,217,255,.2), rgba(255,255,255,.38), transparent); transform: skewX(-18deg); animation: mgHeroBeam 6s ease-in-out infinite; }
.mg-hero-velocity { position: absolute; inset: 0; pointer-events: none; }
.mg-hero-velocity i { position: absolute; right: -22vw; width: 26vw; height: 1px; opacity: 0; background: linear-gradient(90deg, transparent, var(--mg-cyan), transparent); animation: mgVelocity 4.4s linear infinite; }
.mg-hero-velocity i:nth-child(1) { top: 15%; animation-delay: -.3s; }
.mg-hero-velocity i:nth-child(2) { top: 26%; animation-delay: -1.8s; }
.mg-hero-velocity i:nth-child(3) { top: 38%; animation-delay: -3s; }
.mg-hero-velocity i:nth-child(4) { top: 47%; animation-delay: -.9s; }
.mg-hero-velocity i:nth-child(5) { top: 59%; animation-delay: -2.5s; }
.mg-hero-velocity i:nth-child(6) { top: 69%; animation-delay: -1.2s; }
.mg-hero-velocity i:nth-child(7) { top: 79%; animation-delay: -3.5s; }
.mg-hero-velocity i:nth-child(8) { top: 89%; animation-delay: -2s; }
.mg-hero-mega { position: absolute; z-index: 0; inset: 13% -4vw auto; display: flex; justify-content: space-between; opacity: calc(.17 * (1 - var(--mg-hero))); font-size: clamp(130px, 24vw, 400px); font-weight: 950; line-height: .7; letter-spacing: -.12em; pointer-events: none; transform: translate3d(calc(var(--mg-hero) * -16vw), 0, 0); }
.mg-hero-mega span:first-child { color: rgba(255,255,255,.3); }
.mg-hero-mega span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.7); transform: translate3d(calc(var(--mg-hero) * 30vw), 0, 0); }
.mg-hero-content { position: absolute; z-index: 6; left: clamp(24px, 7vw, 110px); top: 48%; width: min(850px, 63vw); transform: translateY(calc(-50% - var(--mg-hero) * 26vh)) scale(calc(1 - var(--mg-hero) * .12)); opacity: calc(1 - var(--mg-hero) * 1.7); }
.mg-hero-kicker { width: fit-content; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; background: var(--mg-red); box-shadow: 0 0 26px rgba(229,27,43,.28); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-hero-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: mgPulse 1.7s ease-in-out infinite; }
.mg-hero-title { margin: 27px 0 0; font-size: clamp(64px, 8.6vw, 140px); line-height: .84; letter-spacing: -.08em; }
.mg-hero-title span, .mg-hero-title strong { display: table; padding: .08em .1em .12em; }
.mg-hero-title span { color: var(--mg-deep); background: #fff; box-shadow: 10px 10px 0 rgba(67,217,255,.25); }
.mg-hero-title strong { color: #fff; background: var(--mg-blue); box-shadow: 10px 10px 0 var(--mg-red); }
.mg-hero-copy { width: fit-content; max-width: 640px; margin: 31px 0 0; padding: 14px 17px; color: #fff; border-left: 3px solid var(--mg-red); background: rgba(3,17,61,.9); box-shadow: 0 0 0 1px rgba(67,217,255,.18), 0 18px 44px rgba(0,0,0,.24); font-size: clamp(13px, 1.05vw, 17px); font-weight: 500; line-height: 1.85; }
.mg-hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 28px; }
.mg-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; padding: 0 20px; border: 0; font-size: 11px; font-weight: 900; letter-spacing: .06em; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.mg-button:hover { transform: translateY(-3px); }
.mg-button-red { color: #fff; background: var(--mg-red); box-shadow: 0 14px 36px rgba(229,27,43,.22); }
.mg-button-red:hover { color: var(--mg-deep); background: #fff; box-shadow: 0 18px 48px rgba(67,217,255,.22); }
.mg-text-link { padding-bottom: 7px; color: #fff; border-bottom: 1px solid var(--mg-cyan); font-size: 11px; font-weight: 900; }
.mg-hero-hud { position: absolute; z-index: 5; right: clamp(50px, 7vw, 120px); top: 45%; width: min(31vw, 440px); aspect-ratio: 1; transform: translateY(calc(-50% + var(--mg-hero) * 14vh)) scale(calc(1 - var(--mg-hero) * .25)); opacity: calc(1 - var(--mg-hero) * 2); pointer-events: none; }
.mg-hud-orbit { position: absolute; inset: 17%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(23,72,245,.45), rgba(1,7,36,.24) 61%, transparent 62%); }
.mg-hud-orbit > i { position: absolute; inset: -10%; border: 1px solid rgba(67,217,255,.56); border-radius: 50%; animation: mgSpin 8s linear infinite; }
.mg-hud-orbit > i:nth-child(2) { inset: 7%; border-style: dashed; animation-direction: reverse; animation-duration: 5.2s; }
.mg-hud-orbit > i:nth-child(3) { inset: 24%; border-color: rgba(229,27,43,.75); animation-duration: 3.2s; }
.mg-hud-orbit > i::after { content: ""; position: absolute; left: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--mg-cyan); box-shadow: 0 0 18px var(--mg-cyan); }
.mg-hud-orbit strong { font-size: clamp(18px, 2.2vw, 34px); letter-spacing: -.05em; }
.mg-hud-orbit small { position: absolute; bottom: 24%; color: #8bc8ff; font: 800 7px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-hud-card { position: absolute; min-width: 145px; padding: 14px 16px; border: 1px solid rgba(67,217,255,.28); color: #fff; background: rgba(3,17,61,.84); box-shadow: 0 16px 38px rgba(0,0,0,.22); backdrop-filter: blur(12px); animation: mgHudFloat 4.8s ease-in-out infinite; }
.mg-hud-card span, .mg-hud-card small { display: block; color: #8bc8ff; font: 800 6px/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.mg-hud-card b { display: block; margin: 7px 0; font-size: 17px; }
.mg-hud-a { left: -4%; top: 10%; }
.mg-hud-b { right: -4%; bottom: 7%; animation-delay: -2.2s; }
.mg-hero-transition { position: absolute; z-index: 7; left: clamp(24px, 8vw, 120px); top: 48%; transform: translate3d(0, calc((1 - var(--mg-hero)) * 23vh), 0); opacity: clamp(0, calc((var(--mg-hero) - .45) * 2.8), 1); }
.mg-hero-transition p { margin: 0 0 20px; color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .2em; }
.mg-hero-transition span, .mg-hero-transition strong { display: table; padding: .08em .12em; font-size: clamp(48px, 7vw, 112px); font-weight: 950; line-height: .96; letter-spacing: -.07em; }
.mg-hero-transition span { color: #fff; background: var(--mg-blue); }
.mg-hero-transition strong { color: var(--mg-deep); background: #fff; box-shadow: 10px 10px 0 var(--mg-red); }
.mg-hero-stats { position: absolute; z-index: 8; inset: auto 0 0; height: 116px; display: grid; grid-template-columns: repeat(3, 1fr) 116px; color: #fff; border-top: 1px solid rgba(67,217,255,.25); background: rgba(1,7,36,.94); box-shadow: 0 -18px 46px rgba(0,0,0,.28); }
.mg-hero-stats > div { display: grid; align-content: center; gap: 7px; padding: 0 clamp(18px, 3.5vw, 56px); border-right: 1px solid rgba(67,217,255,.18); }
.mg-hero-stats strong { font-size: clamp(20px, 2.1vw, 34px); letter-spacing: -.04em; }
.mg-hero-stats span { color: #8bc8ff; font: 800 7px/1.2 ui-monospace, monospace; letter-spacing: .15em; }
.mg-hero-stats > a { display: grid; place-content: center; gap: 8px; text-align: center; background: var(--mg-blue); }
.mg-hero-stats > a i { font-style: normal; animation: mgScrollArrow 1.5s ease-in-out infinite; }

/* Shared section elements */
.mg-section { position: relative; overflow: hidden; padding: clamp(100px, 12vw, 190px) clamp(24px, 7vw, 108px); }
.mg-section-head { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(170px, .7fr) 1.35fr 1fr; gap: clamp(25px, 5vw, 78px); align-items: start; }
.mg-section-head > div { display: flex; align-items: center; gap: 12px; padding-top: 12px; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .17em; }
.mg-section-head > div span { display: grid; place-content: center; min-width: 60px; height: 24px; color: #fff; background: var(--mg-red); }
.mg-section-head h2 { margin: 0; font-size: clamp(43px, 6.2vw, 94px); line-height: 1.05; letter-spacing: -.07em; }
.mg-section-head > p { margin: 10px 0 0; color: inherit; opacity: .75; font-size: clamp(13px, 1.12vw, 16px); font-weight: 500; line-height: 1.9; }
.js .mg-reveal { opacity: 0; transform: translate3d(0, 44px, 0); transition: opacity .8s cubic-bezier(.16,.84,.22,1), transform .8s cubic-bezier(.16,.84,.22,1); }
.js .mg-reveal.is-visible { opacity: 1; transform: none; }
[data-tilt] { transform: perspective(1000px) rotateX(var(--mg-tilt-x)) rotateY(var(--mg-tilt-y)); transform-style: preserve-3d; transition: transform .18s ease-out; }
.mg-marquee, .mg-signal { position: relative; z-index: 5; overflow: hidden; color: #fff; border-block: 1px solid rgba(255,255,255,.24); background: var(--mg-blue); }
.mg-marquee > div, .mg-signal > div { width: max-content; display: flex; animation: mgMarquee 28s linear infinite paused; }
.mg-marquee.is-active > div, .mg-signal.is-active > div { animation-play-state: running; }
.mg-marquee span, .mg-signal span { display: inline-flex; align-items: center; gap: 18px; padding: 15px 19px; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-marquee i, .mg-signal i { color: var(--mg-red); font-style: normal; }
.mg-signal { background: var(--mg-deep); }
.mg-signal > div { animation-direction: reverse; animation-duration: 34s; }

/* Proof */
.mg-proof { color: #fff; background: linear-gradient(135deg, rgba(67,217,255,.08), transparent 38%), linear-gradient(145deg, #103bb8, var(--mg-navy)); }
.mg-proof-head { display: grid; grid-template-columns: .55fr 1.15fr 1fr; gap: clamp(30px, 5vw, 78px); align-items: end; }
.mg-proof-head > span { align-self: start; color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-proof-head h2 { margin: 0; font-size: clamp(48px, 6.8vw, 104px); line-height: 1.03; letter-spacing: -.07em; }
.mg-proof-head p { margin: 0; color: #c6d4ec; font-size: clamp(13px, 1.12vw, 16px); line-height: 1.9; }
.mg-proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 110px); background: rgba(255,255,255,.22); }
.mg-proof-card { position: relative; min-height: 330px; display: grid; align-content: space-between; gap: 24px; padding: clamp(26px, 3vw, 44px); overflow: hidden; background: rgba(1,7,36,.4); contain: layout paint style; }
.mg-proof-card::before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 30%; background: var(--mg-red); animation: mgCardRail 5s ease-in-out infinite; }
.mg-proof-card > span { color: #8bc8ff; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-proof-card > strong { color: var(--mg-cyan); font-size: clamp(34px, 4vw, 62px); line-height: .92; letter-spacing: -.07em; }
.mg-proof-card h3 { margin: auto 0 0; font-size: clamp(19px, 2vw, 28px); }
.mg-proof-card p { margin: 0; color: #c1cde2; font-size: 13px; line-height: 1.8; }

/* Statement / AI */
.mg-statement { min-height: 800px; display: grid; grid-template-columns: .38fr 1.5fr; align-items: center; color: #fff; background: linear-gradient(90deg, transparent 0 72%, rgba(23,72,245,.32) 72%), var(--mg-deep); }
.mg-section-index { align-self: start; padding-top: 10px; color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-statement-copy { position: relative; z-index: 2; }
.mg-statement-copy > span { color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .2em; }
.mg-statement-copy h2 { width: min(980px, 100%); margin: 24px 0 0; font-size: clamp(48px, 7vw, 112px); line-height: 1.04; letter-spacing: -.07em; }
.mg-statement-copy p { width: min(620px, 100%); margin: 42px 0 0; color: #b9cbec; font-size: clamp(14px, 1.18vw, 17px); line-height: 1.95; }
.mg-statement-orbit { position: absolute; right: -12vw; top: 10%; width: 50vw; aspect-ratio: 1; opacity: .6; }
.mg-statement-orbit i { position: absolute; inset: 0; border: 1px solid rgba(67,217,255,.2); border-radius: 50%; animation: mgSpin 26s linear infinite; }
.mg-statement-orbit i:nth-child(2) { inset: 20%; animation-direction: reverse; animation-duration: 18s; }
.mg-statement-orbit i:nth-child(3) { inset: 40%; border-color: rgba(229,27,43,.55); animation-duration: 11s; }
.mg-ai { background: radial-gradient(circle at 88% 20%, rgba(67,217,255,.16), transparent 26%), #eaf2ff; }
.mg-ai-panel { width: min(1260px, 100%); display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 6vw, 92px); margin: 0 auto; padding: clamp(28px, 4.5vw, 70px); background: #fff; box-shadow: 20px 20px 0 var(--mg-blue); }
.mg-code-window { align-self: center; overflow: hidden; color: #fff; border: 1px solid rgba(67,217,255,.34); background: var(--mg-deep); box-shadow: 0 24px 70px rgba(1,7,36,.25); }
.mg-code-top { min-height: 50px; display: flex; align-items: center; gap: 8px; padding: 0 17px; border-bottom: 1px solid rgba(67,217,255,.18); }
.mg-code-top i { width: 7px; height: 7px; border-radius: 50%; background: var(--mg-red); }
.mg-code-top i:nth-child(2) { background: var(--mg-cyan); }
.mg-code-top i:nth-child(3) { background: var(--mg-blue); }
.mg-code-top b { margin-left: auto; color: #8bc8ff; font: 800 7px/1 ui-monospace, monospace; letter-spacing: .12em; }
.mg-code-body { padding: clamp(22px, 3vw, 40px); font: 600 clamp(10px, 1vw, 13px)/1.7 ui-monospace, monospace; }
.mg-code-body p { position: relative; margin: 0; padding: 9px 12px; color: #9db2d5; }
.mg-code-body p i { color: var(--mg-cyan); font-style: normal; }
.mg-code-body p.is-active { color: #fff; background: rgba(23,72,245,.3); }
.mg-code-body p.is-active::before { content: ""; position: absolute; left: 0; inset-block: 0; width: 3px; background: var(--mg-red); }
.mg-code-status { display: flex; justify-content: space-between; padding: 14px 18px; border-top: 1px solid rgba(67,217,255,.18); color: var(--mg-cyan); font: 800 7px/1 ui-monospace, monospace; letter-spacing: .1em; }
.mg-ai-copy > span { color: var(--mg-blue); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-ai-copy h2 { margin: 24px 0 0; font-size: clamp(42px, 5.8vw, 82px); line-height: 1.05; letter-spacing: -.07em; }
.mg-ai-copy > p { margin: 28px 0 0; color: #4b5870; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.9; }
.mg-ai-copy ul { display: grid; gap: 1px; margin: 36px 0 0; padding: 0; list-style: none; background: var(--mg-line); }
.mg-ai-copy li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: 16px; padding: 18px; background: #f4f8ff; }
.mg-ai-copy li > i { color: var(--mg-blue); font: 900 11px/1 ui-monospace, monospace; }
.mg-ai-copy li strong, .mg-ai-copy li small { display: block; }
.mg-ai-copy li small { margin-top: 5px; color: #63718a; font-size: 10px; }

/* Technical architecture */
.mg-tech { color: #fff; background: linear-gradient(125deg, rgba(67,217,255,.08), transparent 34%), radial-gradient(circle at 85% 16%, rgba(23,72,245,.42), transparent 28%), var(--mg-deep); }
.mg-tech::before { content: ""; position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(67,217,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(67,217,255,.14) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 28%, #000 82%, transparent); }
.mg-tech-bg { position: absolute; right: -4vw; top: 2%; color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.16); font-size: clamp(120px, 24vw, 380px); font-weight: 950; letter-spacing: -.09em; line-height: .8; transform: translate3d(calc((var(--mg-hero) - .5) * 5vw), 0, 0); }
.mg-tech-head { position: relative; z-index: 2; width: min(760px, 100%); }
.mg-tech-head > span { display: inline-flex; align-items: center; gap: 10px; color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .2em; }
.mg-tech-head > span::before { content: ""; width: 22px; height: 2px; background: var(--mg-red); box-shadow: 0 0 14px var(--mg-red); }
.mg-tech-head h2 { margin: 24px 0 0; font-size: clamp(46px, 6.6vw, 104px); line-height: 1.02; letter-spacing: -.07em; }
.mg-tech-head p { width: min(620px,100%); margin: 30px 0 0; color: #b9cbec; font-size: clamp(13px, 1.12vw, 16px); line-height: 1.9; }
.mg-tech-console { position: relative; z-index: 2; width: min(1180px,100%); margin: clamp(60px,8vw,110px) auto 0; overflow: hidden; border: 1px solid rgba(67,217,255,.34); background: rgba(3,17,61,.9); box-shadow: 20px 20px 0 var(--mg-blue), 0 30px 90px rgba(0,0,0,.32); contain: layout paint style; }
.mg-tech-console::after { content: ""; position: absolute; inset: 0 auto 0 -22%; width: 18%; pointer-events: none; background: linear-gradient(90deg, transparent, rgba(67,217,255,.2), rgba(255,255,255,.32), transparent); transform: skewX(-15deg); animation: mgConsoleSweep 5.8s ease-in-out infinite; }
.mg-tech-console:not(.is-active)::after,
.mg-tech-console:not(.is-active) .mg-console-rail i,
[data-scroll-scene]:not(.is-active) .mg-works-radar,
[data-scroll-scene]:not(.is-active) .mg-works-radar span,
[data-scroll-scene]:not(.is-active) .mg-news-motion,
[data-scroll-scene]:not(.is-active) .mg-statement-orbit i { animation-play-state: paused; }
.mg-console-status { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; border-bottom: 1px solid rgba(67,217,255,.22); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .17em; }
.mg-console-status i { display: inline-flex; align-items: center; gap: 8px; font-style: normal; }
.mg-console-status i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mg-red); box-shadow: 0 0 0 6px rgba(229,27,43,.1), 0 0 18px var(--mg-red); animation: mgPulse 1.8s ease-in-out infinite; }
.mg-console-rail { position: absolute; left: 8%; right: 8%; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--mg-cyan) 12% 88%, transparent); }
.mg-console-rail i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px var(--mg-cyan); animation: mgPacket 4.2s linear infinite; }
.mg-console-rail i:nth-child(2) { animation-delay: -1.4s; }
.mg-console-rail i:nth-child(3) { animation-delay: -2.8s; }
.mg-console-nodes { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 34px; background: rgba(67,217,255,.12); }
.mg-console-node { min-height: 140px; display: grid; align-content: center; gap: 10px; padding: 28px; border: 1px solid rgba(67,217,255,.12); background: rgba(1,7,36,.94); transition: transform .32s ease, border-color .32s ease, background .32s ease; }
.mg-console-node:hover { z-index: 2; border-color: var(--mg-cyan); background: var(--mg-blue); transform: translateY(-5px); }
.mg-console-node > i { width: 11px; height: 11px; border: 2px solid var(--mg-cyan); border-radius: 50%; box-shadow: 0 0 18px rgba(67,217,255,.55); }
.mg-console-node:nth-child(3n) > i { border-color: var(--mg-red); box-shadow: 0 0 18px rgba(229,27,43,.48); }
.mg-console-node span { font-size: clamp(14px, 1.6vw, 22px); font-weight: 900; letter-spacing: -.03em; }
.mg-console-node small { color: #8bc8ff; font: 800 7px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-console-code { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; color: #8bc8ff; border-top: 1px solid rgba(67,217,255,.18); font: 500 8px/1 ui-monospace, monospace; }

/* Services / Strengths */
.mg-services { color: #fff; background: linear-gradient(128deg, transparent 0 72%, rgba(67,217,255,.11) 72%), var(--mg-blue-dark); }
.mg-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(60px,8vw,110px); background: rgba(67,217,255,.18); }
.mg-service-card { position: relative; min-height: 390px; display: grid; align-content: start; padding: clamp(25px,3vw,42px); overflow: hidden; color: var(--mg-deep); background: #fff; contain: layout paint style; transition: color .35s ease, background .35s ease; }
.mg-service-card > div:first-child { display: flex; justify-content: space-between; color: #53627b; font: 900 7px/1 ui-monospace, monospace; letter-spacing: .14em; }
.mg-service-card > b { position: absolute; right: -3%; top: 7%; color: var(--mg-blue); opacity: .12; font-size: 150px; line-height: .8; letter-spacing: -.08em; transition: transform .45s ease, color .35s ease; }
.mg-service-card h3 { position: relative; margin: auto 0 20px; padding-top: 120px; font-size: clamp(25px,3vw,42px); letter-spacing: -.05em; }
.mg-service-card > p { position: relative; margin: 0; color: #4d5a71; font-size: 13px; line-height: 1.85; }
.mg-service-card:hover { color: #fff; background: var(--mg-blue); }
.mg-service-card:hover > p { color: #dbe6ff; }
.mg-service-card:hover > b { color: #fff; transform: rotate(-8deg) scale(1.08); }
.mg-tags { position: relative; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 27px; }
.mg-tags span { padding: 7px 9px; border: 1px solid currentColor; font: 800 7px/1 ui-monospace, monospace; }
.mg-service-cta { color: #fff; background: var(--mg-red); }
.mg-service-cta > span { color: #fff; font: 900 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.mg-service-cta h3 { margin: 70px 0 20px; padding: 0; }
.mg-service-cta > p { color: rgba(255,255,255,.82); }
.mg-service-cta > a { width: fit-content; display: inline-flex; gap: 14px; margin-top: auto; padding-bottom: 8px; border-bottom: 1px solid #fff; font-size: 10px; font-weight: 900; }
.mg-service-cta:hover { color: var(--mg-deep); background: #fff; box-shadow: inset 0 0 0 3px var(--mg-red); }
.mg-service-cta:hover > p { color: #4d5a71; }
.mg-strengths { color: #fff; background: radial-gradient(circle at 8% 70%, rgba(67,217,255,.12), transparent 23%), var(--mg-deep); }
.mg-kinetic-word { position: absolute; right: -5vw; top: 7%; color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.2); font-size: clamp(110px,19vw,300px); font-weight: 950; letter-spacing: -.1em; white-space: nowrap; }
.mg-strength-list { position: relative; z-index: 2; margin-top: clamp(60px,8vw,110px); border-top: 1px solid rgba(255,255,255,.22); }
.mg-strength-item { position: relative; display: grid; grid-template-columns: 80px 1.05fr 1fr .75fr; gap: clamp(20px,4vw,60px); align-items: center; min-height: 150px; border-bottom: 1px solid rgba(255,255,255,.22); }
.mg-strength-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mg-blue); transform: scaleY(0); transform-origin: bottom; transition: transform .42s cubic-bezier(.16,.84,.22,1); }
.mg-strength-item:hover::after { transform: scaleY(1); }
.mg-strength-item > span { color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; }
.mg-strength-item small { color: var(--mg-cyan); font: 900 7px/1 ui-monospace, monospace; letter-spacing: .15em; }
.mg-strength-item h3 { margin: 10px 0 0; font-size: clamp(20px,2.1vw,31px); letter-spacing: -.04em; }
.mg-strength-item > p { margin: 0; color: #c0cce3; font-size: 13px; line-height: 1.75; }
.mg-strength-item > strong { justify-self: end; padding: 10px 12px; color: var(--mg-cyan); background: rgba(67,217,255,.08); font-size: 10px; }
.mg-team-ribbon { display: grid; grid-template-columns: 1fr auto 1fr 1fr; align-items: stretch; margin-top: 70px; color: var(--mg-deep); background: #fff; box-shadow: 18px 18px 0 var(--mg-blue); }
.mg-team-ribbon > div { display: grid; place-content: center; gap: 9px; min-height: 160px; padding: 28px; text-align: center; }
.mg-team-ribbon > div span { color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .17em; }
.mg-team-ribbon > div strong { font-size: 18px; }
.mg-team-ribbon > i { align-self: center; color: var(--mg-red); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .15em; }
.mg-team-ribbon > b { display: grid; place-content: center; padding: 25px; color: #fff; background: var(--mg-blue); font-size: clamp(36px,4.4vw,66px); line-height: .82; letter-spacing: -.06em; }
.mg-team-ribbon > b small { margin-top: 12px; font: 800 7px/1.4 ui-monospace, monospace; letter-spacing: .13em; }

/* Works / News */
.mg-works { background: linear-gradient(145deg, rgba(23,72,245,.08), transparent 38%), var(--mg-ice); }
.mg-works-radar { position: absolute; right: 7vw; top: 6%; width: clamp(160px,23vw,340px); aspect-ratio: 1; border: 1px solid var(--mg-blue); border-radius: 50%; opacity: .27; animation: mgSpin 20s linear infinite; }
.mg-works-radar i { position: absolute; inset: 20%; border: 1px dashed var(--mg-blue); border-radius: 50%; }
.mg-works-radar i:nth-child(2) { inset: 40%; border-color: var(--mg-red); }
.mg-works-radar span { position: absolute; left: 50%; top: 50%; width: 48%; height: 1px; background: var(--mg-cyan); transform-origin: left; animation: mgRadar 4s linear infinite; }
.mg-case-grid { position: relative; z-index: 2; display: grid; gap: clamp(34px,5vw,70px); margin-top: clamp(60px,8vw,110px); }
.mg-case-card { display: grid; grid-template-columns: .78fr 1.22fr; min-height: 440px; border: 1px solid rgba(23,72,245,.3); background: #fff; box-shadow: 18px 18px 0 var(--mg-blue); }
.mg-case-card:nth-child(even) { color: #fff; background: var(--mg-navy); box-shadow-color: var(--mg-red); }
.mg-case-visual { position: relative; display: grid; place-content: center; overflow: hidden; background: linear-gradient(140deg, #dceaff, #f6f9ff); }
.mg-case-card:nth-child(even) .mg-case-visual { background: linear-gradient(140deg, #071a57, #103bb8); }
.mg-case-visual::before, .mg-case-visual::after { content: ""; position: absolute; left: 50%; top: 50%; width: 68%; aspect-ratio: 1; border: 1px solid rgba(23,72,245,.38); border-radius: 50%; translate: -50% -50%; animation: mgSpin 13s linear infinite; }
.mg-case-visual::after { width: 42%; border-style: dashed; animation-direction: reverse; animation-duration: 8s; }
.mg-case-visual i { position: absolute; left: -20%; right: -20%; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, var(--mg-cyan), transparent); animation: mgCaseScan 4.8s ease-in-out infinite; }
.mg-case-visual > span { position: relative; z-index: 2; color: var(--mg-blue); font-size: clamp(86px,13vw,190px); font-weight: 950; letter-spacing: -.1em; }
.mg-case-card:nth-child(even) .mg-case-visual > span { color: var(--mg-cyan); }
.mg-case-content { display: grid; align-content: center; padding: clamp(30px,5vw,78px); }
.mg-case-content > div:first-child { display: flex; justify-content: space-between; gap: 20px; color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .14em; }
.mg-case-card:nth-child(even) .mg-case-content > div:first-child { color: var(--mg-cyan); }
.mg-case-content h3 { margin: 27px 0 0; font-size: clamp(34px,5vw,72px); line-height: 1.12; letter-spacing: -.06em; }
.mg-case-content > p { margin: 27px 0 0; color: #526078; font-size: 14px; line-height: 1.85; }
.mg-case-card:nth-child(even) .mg-case-content > p { color: #becce7; }
.mg-case-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.mg-case-facts span { padding: 9px 11px; border: 1px solid currentColor; font-size: 9px; font-weight: 800; }
.mg-news { color: #fff; background: linear-gradient(120deg, transparent 0 66%, rgba(67,217,255,.12) 66%), #092777; }
.mg-news-motion { position: absolute; right: -8vw; top: 15%; color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.38); font-size: 17vw; font-weight: 950; letter-spacing: -.08em; white-space: nowrap; opacity: .45; animation: mgNewsDrift 9s ease-in-out infinite alternate; }
.mg-news-list { position: relative; z-index: 2; margin-top: clamp(60px,8vw,110px); border-top: 1px solid #fff; }
.mg-news-row { display: grid; grid-template-columns: 150px 1fr 54px; gap: 24px; align-items: center; min-height: 130px; padding: 22px 8px; border-bottom: 1px solid rgba(255,255,255,.25); background-image: linear-gradient(90deg, transparent 0 50%, var(--mg-red) 50% 100%); background-size: 200% 100%; background-position: 0 0; transition: background-position .45s ease, padding .35s ease; }
.mg-news-row:hover { padding-inline: 22px; background-position: -100% 0; }
.mg-news-row time { color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .12em; }
.mg-news-row h3, .mg-news-row h2 { margin: 0; font-size: clamp(18px,2vw,28px); line-height: 1.45; }
.mg-news-row p { margin: 8px 0 0; color: #c7d6f1; font-size: 12px; line-height: 1.7; }
.mg-news-row > .mg-arrow { width: 48px; height: 48px; display: grid; place-content: center; border: 1px solid currentColor; }
.mg-news-empty { padding: 64px 8px; border-bottom: 1px solid rgba(255,255,255,.25); }
.mg-news-empty span { color: var(--mg-cyan); font: 900 9px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-news-empty p { margin: 14px 0 0; }
.mg-news-all { position: relative; z-index: 2; width: fit-content; display: inline-flex; gap: 14px; margin-top: 42px; padding-bottom: 9px; border-bottom: 2px solid var(--mg-red); font-size: 11px; font-weight: 900; }

/* Process / About */
.mg-process { background: var(--mg-ice); }
.mg-process-track { position: absolute; left: -5vw; top: 22%; color: transparent; -webkit-text-stroke: 1px rgba(23,72,245,.25); font-size: 10vw; font-weight: 950; white-space: nowrap; transform: translate3d(calc(var(--mg-scroll) * -45vw),0,0); }
.mg-process-list { position: relative; z-index: 2; margin-top: clamp(60px,8vw,110px); border-top: 1px solid rgba(3,17,61,.24); }
.mg-process-step { position: relative; display: grid; grid-template-columns: 90px 1fr 1fr 58px; gap: 28px; align-items: center; min-height: 142px; border-bottom: 1px solid rgba(3,17,61,.24); overflow: hidden; }
.mg-process-step::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--mg-red); box-shadow: 0 0 14px rgba(229,27,43,.5); }
.mg-process-step::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--mg-navy); transform: translateX(-102%); transition: transform .45s cubic-bezier(.16,.84,.22,1); }
.mg-process-step:hover { color: #fff; }
.mg-process-step:hover::after { transform: translateX(0); }
.mg-process-step > span { padding-left: 24px; color: var(--mg-blue); font: 900 9px/1 ui-monospace, monospace; }
.mg-process-step h3 { margin: 0; font-size: clamp(27px,3.5vw,50px); letter-spacing: -.05em; }
.mg-process-step strong { display: block; margin-top: 7px; font-size: 12px; }
.mg-process-step > p { margin: 0; color: #5b677c; font-size: 12px; line-height: 1.7; }
.mg-process-step:hover > p { color: #c8d4e9; }
.mg-process-step > .mg-arrow { width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid var(--mg-blue); }
.mg-engagement { display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; margin-top: 72px; padding: clamp(28px,4vw,58px); background: #fff; box-shadow: 14px 14px 0 #cbdcff; }
.mg-engagement > div:first-child > span { color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-engagement h3 { margin: 18px 0 0; font-size: clamp(26px,3.2vw,46px); letter-spacing: -.05em; }
.mg-engagement p { margin: 20px 0 0; color: #58667b; font-size: 13px; line-height: 1.8; }
.mg-engagement > div:last-child { display: grid; gap: 1px; background: var(--mg-line); }
.mg-engagement > div:last-child span { display: grid; place-content: center; min-height: 62px; color: var(--mg-blue); background: #f4f8ff; font: 900 10px/1 ui-monospace, monospace; letter-spacing: .12em; }
.mg-flexible { display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center; margin-top: 54px; padding: clamp(28px,4vw,58px); background: #fff; box-shadow: 14px 14px 0 var(--mg-blue); }
.mg-flexible > div > span { color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-flexible strong { display: block; margin-top: 16px; font-size: clamp(36px,5vw,72px); letter-spacing: -.06em; }
.mg-flexible strong i { color: var(--mg-red); font-style: normal; }
.mg-flexible p { margin: 0; color: #58667b; font-size: 13px; line-height: 1.85; }
.mg-about { color: #fff; background: radial-gradient(circle at 82% 24%, rgba(67,217,255,.13), transparent 25%), var(--mg-navy); }
.mg-about-mega { position: absolute; inset: 7% -5vw auto; display: flex; justify-content: space-between; color: rgba(67,217,255,.12); font-size: clamp(120px,25vw,390px); font-weight: 950; line-height: .75; letter-spacing: -.13em; }
.mg-about-mega span:last-child { color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.3); }
.mg-about-intro { position: relative; z-index: 2; width: min(980px,100%); }
.mg-about-intro > span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-about-intro > small { display: table; margin-top: 22px; padding: 9px 12px; color: #fff; background: var(--mg-red); font: 900 7px/1 ui-monospace, monospace; letter-spacing: .15em; }
.mg-about-intro h2 { margin: 34px 0 0; font-size: clamp(50px,7.5vw,114px); line-height: 1.02; letter-spacing: -.07em; }
.mg-about-intro p { width: min(680px,100%); margin: 35px 0 0; color: #c1cde4; font-size: clamp(13px,1.15vw,16px); line-height: 1.95; }
.mg-grit-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 80px; background: rgba(67,217,255,.18); }
.mg-grit-card { min-height: 190px; display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 26px; padding: 32px; color: var(--mg-deep); background: #fff; }
.mg-grit-card:nth-child(even) { color: #fff; background: var(--mg-blue); }
.mg-grit-card > strong { font-size: 92px; line-height: .8; letter-spacing: -.09em; }
.mg-grit-card span { font: 900 9px/1 ui-monospace, monospace; letter-spacing: .15em; }
.mg-grit-card p { margin: 12px 0 0; font-size: 13px; }
.mg-company { position: relative; z-index: 2; margin-top: 80px; padding: clamp(28px,4vw,58px); color: var(--mg-deep); background: #fff; box-shadow: 18px 18px 0 var(--mg-red); }
.mg-company > div:first-child { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--mg-line); }
.mg-company > div:first-child span { color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-company > div:first-child p { margin: 0; font-weight: 900; }
.mg-company dl { margin: 0; }
.mg-company dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--mg-line); }
.mg-company dt { color: #68758b; font-size: 11px; font-weight: 800; }
.mg-company dd { margin: 0; font-size: 13px; line-height: 1.7; }
.mg-company > a { display: inline-flex; gap: 14px; margin-top: 28px; padding-bottom: 8px; color: var(--mg-blue); border-bottom: 2px solid var(--mg-blue); font-size: 10px; font-weight: 900; }

/* Contact / Footer */
.mg-contact { color: #fff; background: var(--mg-deep); }
.mg-contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(23,72,245,.25), transparent 28%), linear-gradient(120deg, transparent 0 68%, rgba(23,72,245,.2) 68%); }
.mg-contact-word { position: absolute; left: -8vw; top: 8%; color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.4); font-size: 12vw; font-weight: 950; white-space: nowrap; opacity: .6; animation: mgContactDrift 12s ease-in-out infinite alternate; }
.mg-contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .78fr 1fr 1fr; gap: clamp(24px,3vw,54px); align-items: stretch; }
.mg-contact-copy > span { display: table; padding: 9px 12px; background: var(--mg-red); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-contact-copy h2 { margin: 28px 0 0; font-size: clamp(48px,7vw,104px); line-height: 1.02; letter-spacing: -.07em; }
.mg-contact-copy > p { margin: 32px 0 0; color: #c2cee5; font-size: 14px; line-height: 1.9; }
.mg-contact-copy > a { display: inline-block; margin-top: 30px; padding-bottom: 8px; color: var(--mg-cyan); border-bottom: 1px solid var(--mg-cyan); font-weight: 800; }
.mg-contact-form { display: grid; gap: 16px; min-width: 0; margin: 0; padding: clamp(24px,3vw,46px); border: 0; color: var(--mg-deep); background: #fff; box-shadow: 12px 12px 0 var(--mg-blue); }
.mg-contact-form legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; color: var(--mg-blue); }
.mg-contact-form legend span { font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-contact-form legend strong { font-size: 13px; }
.mg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mg-contact-form label { display: grid; gap: 9px; }
.mg-contact-form label > span { color: #42506a; font-size: 10px; font-weight: 800; }
.mg-contact-form input, .mg-contact-form select, .mg-contact-form textarea { width: 100%; border: 1px solid rgba(23,72,245,.2); border-radius: 0; color: var(--mg-deep); background: #f7f9ff; outline: 0; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.mg-contact-form input, .mg-contact-form select { height: 52px; padding: 0 15px; }
.mg-contact-form textarea { min-height: 160px; padding: 15px; resize: vertical; }
.mg-contact-form input:focus, .mg-contact-form select:focus, .mg-contact-form textarea:focus { border-color: var(--mg-blue); background: #fff; box-shadow: 0 0 0 4px rgba(23,72,245,.1); }
.mg-contact-form [aria-invalid="true"] { border-color: var(--mg-red); box-shadow: 0 0 0 4px rgba(229,27,43,.1); }
.mg-contact-form ::placeholder { color: #8b96a9; }
.mg-contact-form .mg-button { width: 100%; }
.mg-contact-form > small { color: #6a7589; font-size: 9px; line-height: 1.6; }
.mg-contact-error { min-height: 0; margin: 0; color: #a81221; font-size: 10px; font-weight: 800; line-height: 1.45; }
.mg-contact-error:empty { display: none; }
.mg-contact-next { display: flex; align-items: center; justify-content: space-between; min-height: 50px; margin-top: auto; padding: 0 16px; border: 0; color: #fff; background: var(--mg-blue); font-size: 11px; font-weight: 900; cursor: pointer; }
.mg-contact-next span { color: var(--mg-cyan); font-size: 20px; }
.mg-contact-back { justify-self: start; padding: 6px 0; border: 0; color: var(--mg-blue); background: transparent; font-size: 9px; font-weight: 900; cursor: pointer; }
.mg-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.mg-form-notice { padding: 14px 16px; font-size: 12px; font-weight: 700; }
.mg-form-notice.is-success { color: #075d43; background: #dbfff1; }
.mg-form-notice.is-error { color: #8d1320; background: #ffe7e9; }
.mg-footer { position: relative; z-index: 4; color: #fff; border-top: 3px solid var(--mg-red); background: #01051a; }
.mg-footer-top { min-height: 180px; display: flex; align-items: center; justify-content: space-between; padding: 40px clamp(24px,7vw,108px); border-bottom: 1px solid rgba(255,255,255,.14); }
.mg-footer-logo { width: clamp(170px,19vw,280px); }
.mg-footer-top > a { font: 900 9px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-footer-bottom { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 32px; padding: 36px clamp(24px,7vw,108px) 46px; color: #9eabc2; font-size: 10px; line-height: 1.8; }
.mg-footer-bottom > p { margin: 0; }
.mg-footer-bottom > p:last-child { text-align: right; }
.mg-footer-bottom .mg-footer-nav, .mg-footer-bottom .mg-nav-list { justify-content: center; gap: 18px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.mg-footer-bottom a { color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.mg-mobile-sticky-cta { display: none; }

/* News and content pages */
.mg-news-shell, .mg-article-shell { min-height: 100svh; color: #fff; background: var(--mg-navy); padding-top: 84px; }
.mg-news-hero { position: relative; min-height: 520px; display: grid; align-content: end; padding: 80px clamp(24px,7vw,108px) 70px; overflow: hidden; background: linear-gradient(135deg, var(--mg-blue), var(--mg-navy)); }
.mg-news-hero::before { content: "NEWS"; position: absolute; right: -5vw; bottom: -8%; color: transparent; -webkit-text-stroke: 1px rgba(67,217,255,.4); font-size: 30vw; font-weight: 950; line-height: .7; letter-spacing: -.1em; }
.mg-news-hero > p { position: relative; z-index: 2; margin: 0; color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-news-hero > h1 { position: relative; z-index: 2; margin: 23px 0 0; font-size: clamp(90px,18vw,280px); line-height: .72; letter-spacing: -.1em; }
.mg-news-hero > strong { position: relative; z-index: 2; margin-top: 34px; font-size: clamp(17px,2vw,27px); }
.mg-news-orbit { position: absolute; right: 7vw; top: 70px; width: 230px; aspect-ratio: 1; }
.mg-news-orbit i { position: absolute; inset: 0; border: 1px solid rgba(67,217,255,.5); border-radius: 50%; animation: mgSpin 12s linear infinite; }
.mg-news-orbit i:nth-child(2) { inset: 24%; border-style: dashed; animation-direction: reverse; }
.mg-news-orbit i:nth-child(3) { inset: 45%; border-color: var(--mg-red); }
.mg-news-archive { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0 130px; }
.mg-news-archive > header { display: flex; justify-content: space-between; align-items: end; padding-bottom: 32px; }
.mg-news-archive > header span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-news-archive > header h2 { margin: 12px 0 0; font-size: clamp(42px,6vw,76px); letter-spacing: -.06em; }
.mg-news-archive > header p { margin: 0; color: #b8c6e1; font-size: 11px; }
.mg-news-list-archive .mg-news-row { grid-template-columns: 150px 1fr 54px; }
.navigation.pagination { margin-top: 54px; }
.nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid rgba(255,255,255,.24); font: 900 9px/1 ui-monospace, monospace; }
.page-numbers.current { color: #fff; border-color: var(--mg-red); background: var(--mg-red); }
.page-numbers.prev, .page-numbers.next { padding-inline: 18px; }
.mg-article { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0 130px; }
.mg-article-head { padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.32); }
.mg-article-head > p { margin: 0; color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .16em; }
.mg-article-head h1 { margin: 26px 0 0; font-size: clamp(42px,7vw,88px); line-height: 1.18; letter-spacing: -.06em; }
.mg-article-head > div { display: flex; gap: 24px; margin-top: 28px; color: #b7c5df; font-size: 10px; }
.mg-article-featured { margin: 52px 0; }
.mg-article-featured img { width: 100%; max-height: 620px; object-fit: cover; }
.mg-entry-content { margin-top: 54px; padding: clamp(34px,5vw,68px); color: #25282d; background: #fff; font-size: 16px; line-height: 2; }
.mg-entry-content > *:first-child { margin-top: 0; }
.mg-entry-content > *:last-child { margin-bottom: 0; }
.mg-entry-content h2 { margin: 2.4em 0 .8em; font-size: clamp(28px,4vw,42px); line-height: 1.35; }
.mg-entry-content h3 { margin: 2.1em 0 .7em; font-size: clamp(22px,3vw,30px); }
.mg-entry-content p { margin: 1.4em 0; }
.mg-entry-content a { color: var(--mg-blue); text-decoration: underline; text-underline-offset: 4px; }
.mg-entry-content img, .mg-entry-content video, .mg-entry-content iframe { max-width: 100%; height: auto; }
.mg-entry-content blockquote { margin: 2em 0; padding: 18px 24px; border-left: 5px solid var(--mg-blue); background: var(--mg-ice); }
.mg-entry-content pre { max-width: 100%; overflow-x: auto; padding: 20px; color: #fff; background: var(--mg-deep); }
.mg-article-footer { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.26); font-size: 10px; font-weight: 900; }
.mg-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mg-archive-card { color: var(--mg-deep); background: #fff; }
.mg-archive-card a { display: block; height: 100%; padding: 18px; }
.mg-archive-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.mg-archive-card span { display: block; margin-top: 20px; color: var(--mg-blue); font: 900 8px/1 ui-monospace, monospace; }
.mg-archive-card h2 { margin: 12px 0 0; font-size: 25px; line-height: 1.35; }
.mg-archive-card p { color: #58667b; font-size: 12px; line-height: 1.75; }
.mg-archive-card strong { display: inline-flex; gap: 10px; margin-top: 12px; font-size: 9px; }
.mg-not-found { min-height: 100svh; display: grid; place-content: center; padding: 120px 24px; color: #fff; background: radial-gradient(circle at 75% 24%, rgba(23,72,245,.45), transparent 28%), var(--mg-deep); text-align: center; }
.mg-not-found > span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
.mg-not-found h1 { margin: 24px 0 0; font-size: clamp(44px,8vw,92px); letter-spacing: -.07em; }
.mg-not-found p { color: #bac8e2; }
.mg-not-found .mg-button { width: fit-content; margin: 28px auto 0; }

@supports (content-visibility: auto) {
  .mg-proof, .mg-statement, .mg-ai, .mg-tech, .mg-services, .mg-strengths, .mg-works, .mg-news, .mg-process, .mg-about, .mg-contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 1000px;
  }
}

@media (max-width: 1100px) {
  .mg-site-header { grid-template-columns: 1fr auto; }
  .mg-desktop-nav { display: none; }
  .mg-menu-button { display: block; }
  .mg-header-cta { margin-left: auto; }
  .mg-hero-content { width: 68vw; }
  .mg-hero-hud { right: 3vw; width: 32vw; }
  .mg-section-head, .mg-proof-head { grid-template-columns: .55fr 1.45fr; }
  .mg-section-head > p, .mg-proof-head p { grid-column: 2; }
  .mg-service-grid { grid-template-columns: 1fr 1fr; }
  .mg-strength-item { grid-template-columns: 62px 1fr 1fr; }
  .mg-strength-item > strong { grid-column: 2 / -1; justify-self: start; margin-bottom: 22px; }
  .mg-team-ribbon { grid-template-columns: 1fr auto 1fr; }
  .mg-team-ribbon > b { grid-column: 1 / -1; }
  .mg-contact-inner { grid-template-columns: 1fr; }
  .mg-contact-copy { width: min(720px,100%); }
}

@media (max-width: 767px) {
  .mg-site-header, .mg-site-header.is-compact { height: 64px; grid-template-columns: 1fr auto; padding: 0 17px; backdrop-filter: none; }
  .mg-brand { width: 148px; }
  .mg-header-cta { display: none; }
  .mg-menu-button { display: block; }
  .mg-mobile-menu-inner { padding-inline: 18px; }
  .mg-splash { animation-duration: 2.75s; }
  .mg-splash-orbit, .mg-splash-word, .mg-splash-telemetry { display: none; }
  .mg-splash-grid { opacity: .3; background-size: 44px 44px, 44px 44px, 22px 22px; animation: none; transform: none; }
  .mg-splash-core { width: 106px; }
  .mg-splash-core i { animation-duration: 3s; }
  .mg-splash-lockup { width: calc(100% - 46px); min-height: 96px; padding: 16px 17px 13px; box-shadow: 8px 8px 0 var(--mg-red); animation-duration: 2.55s; }
  .mg-splash-lockup img { width: min(310px,88%); }
  .mg-splash-lockup p { font-size: 5px; letter-spacing: .15em; }
  .mg-splash-progress { left: 18px; right: 18px; bottom: 28px; }
  .mg-splash-skip { right: 18px; bottom: 57px; font-size: 7px; }
  .mg-hero { height: 140svh; min-height: 850px; }
  .mg-hero-pin { min-height: 100svh; }
  .mg-hero-video { opacity: calc(.42 * (1 - var(--mg-hero))); filter: none; transform: scale(calc(1.02 + var(--mg-hero) * .08)); }
  .mg-hero-overlay { background: linear-gradient(180deg, rgba(1,7,36,.96), rgba(3,17,61,.74) 44%, rgba(3,17,61,.26) 70%, rgba(1,7,36,.98)); }
  .mg-hero-grid { background-size: 38px 38px; opacity: calc(.25 * (1 - var(--mg-hero))); }
  .mg-hero-beam, .mg-hero-velocity, .mg-hero-hud { display: none; }
  .mg-hero-mega { inset: 18% -10vw auto; font-size: 30vw; opacity: calc(.12 * (1 - var(--mg-hero))); }
  .mg-hero-content { left: 18px; top: 45%; width: calc(100% - 36px); transform: translateY(calc(-50% - var(--mg-hero) * 17vh)) scale(calc(1 - var(--mg-hero) * .06)); }
  .mg-hero-kicker { padding: 8px 10px; font-size: 6px; }
  .mg-hero-title { margin-top: 22px; font-size: clamp(52px,16vw,72px); }
  .mg-hero-title span, .mg-hero-title strong { box-shadow: 6px 6px 0 rgba(67,217,255,.22); }
  .mg-hero-title strong { box-shadow-color: var(--mg-red); }
  .mg-hero-copy { width: 100%; margin-top: 24px; padding: 11px 13px; font-size: 12px; line-height: 1.75; }
  .mg-hero-actions { gap: 17px; margin-top: 22px; }
  .mg-button { min-height: 48px; padding: 0 15px; font-size: 9px; }
  .mg-text-link { font-size: 9px; }
  .mg-hero-transition { left: 18px; top: 43%; width: calc(100% - 36px); }
  .mg-hero-transition p { font-size: 6px; }
  .mg-hero-transition span, .mg-hero-transition strong { font-size: 12vw; box-shadow: 6px 6px 0 var(--mg-red); }
  .mg-hero-stats { height: 106px; grid-template-columns: 1fr 84px; }
  .mg-hero-stats > div { padding: 0 18px; }
  .mg-hero-stats > div:nth-child(2), .mg-hero-stats > div:nth-child(3) { display: none; }
  .mg-hero-stats strong { font-size: 22px; }
  .mg-section { padding: 92px 18px 104px; }
  .mg-section-head, .mg-proof-head { grid-template-columns: 1fr; gap: 22px; }
  .mg-section-head > p, .mg-proof-head p { grid-column: auto; }
  .mg-section-head > div { padding-top: 0; }
  .mg-section-head h2, .mg-proof-head h2 { font-size: clamp(42px,12.4vw,58px); }
  .mg-proof-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .mg-proof-card { min-height: 250px; padding: 24px 20px; }
  .mg-proof-card > strong { font-size: 45px; }
  .mg-statement { min-height: auto; grid-template-columns: 1fr; }
  .mg-section-index { margin-bottom: 44px; }
  .mg-statement-copy h2 { font-size: 12vw; }
  .mg-statement-orbit { right: -40vw; width: 120vw; opacity: .25; }
  .mg-ai-panel { grid-template-columns: 1fr; padding: 22px 18px 28px; box-shadow: 8px 8px 0 var(--mg-blue); }
  .mg-code-body { padding: 18px 12px; font-size: 8px; overflow: hidden; }
  .mg-code-top b { font-size: 5px; }
  .mg-ai-copy h2 { font-size: 11.7vw; }
  .mg-ai-copy li { grid-template-columns: 44px 1fr; padding: 14px; }
  .mg-tech::before { background-size: 42px 42px; opacity: .18; }
  .mg-tech-bg { right: -20vw; top: 8%; font-size: 41vw; }
  .mg-tech-head h2 { font-size: 12.2vw; }
  .mg-tech-console { margin-top: 48px; box-shadow: 8px 8px 0 var(--mg-blue); }
  .mg-tech-console::after, .mg-console-rail, .mg-console-code { display: none; }
  .mg-console-status { min-height: 48px; padding: 0 14px; font-size: 6px; }
  .mg-console-nodes { grid-template-columns: 1fr 1fr; padding: 12px; }
  .mg-console-node { min-height: 108px; padding: 16px 13px; }
  .mg-console-node span { font-size: 11px; }
  .mg-service-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .mg-service-card { min-height: 330px; padding: 25px 20px; }
  .mg-service-card h3 { padding-top: 95px; }
  .mg-strength-list { margin-top: 48px; }
  .mg-strength-item { grid-template-columns: 42px 1fr; gap: 15px; min-height: 0; padding: 25px 0; }
  .mg-strength-item > p, .mg-strength-item > strong { grid-column: 2; }
  .mg-strength-item > p { margin: 0; }
  .mg-strength-item > strong { margin: 0; }
  .mg-team-ribbon { grid-template-columns: 1fr; margin-top: 48px; box-shadow: 8px 8px 0 var(--mg-blue); }
  .mg-team-ribbon > div { min-height: 110px; }
  .mg-team-ribbon > i { padding: 20px; text-align: center; }
  .mg-team-ribbon > b { grid-column: auto; }
  .mg-works-radar { right: -25vw; width: 70vw; }
  .mg-case-grid { margin-top: 48px; }
  .mg-case-card { grid-template-columns: 1fr; min-height: 0; box-shadow: 8px 8px 0 var(--mg-blue); }
  .mg-case-card:nth-child(even) { box-shadow-color: var(--mg-red); }
  .mg-case-visual { min-height: 230px; }
  .mg-case-content { padding: 27px 20px 32px; }
  .mg-case-content h3 { font-size: 10vw; }
  .mg-news-motion { top: 24%; font-size: 32vw; }
  .mg-news-list { margin-top: 48px; }
  .mg-news-row, .mg-news-list-archive .mg-news-row { grid-template-columns: 1fr 42px; gap: 8px 12px; min-height: 0; padding: 21px 4px; }
  .mg-news-row time { grid-column: 1; font-size: 7px; }
  .mg-news-row > div { grid-column: 1; }
  .mg-news-row > .mg-arrow { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; }
  .mg-news-row h3, .mg-news-row h2 { font-size: 18px; }
  .mg-process-track { top: 27%; font-size: 22vw; }
  .mg-process-list { margin-top: 48px; }
  .mg-process-step { grid-template-columns: 45px 1fr 40px; gap: 12px; padding: 22px 0; min-height: 0; }
  .mg-process-step > p { grid-column: 2; }
  .mg-process-step > .mg-arrow { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; }
  .mg-process-step h3 { font-size: 29px; }
  .mg-engagement, .mg-flexible { grid-template-columns: 1fr; gap: 30px; padding: 25px 20px; box-shadow: 8px 8px 0 #cbdcff; }
  .mg-flexible { box-shadow-color: var(--mg-blue); }
  .mg-flexible strong { font-size: 11vw; }
  .mg-about-mega { inset: 10% -15vw auto; font-size: 32vw; }
  .mg-about-intro h2 { font-size: 12vw; }
  .mg-grit-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .mg-grit-card { min-height: 145px; grid-template-columns: 80px 1fr; padding: 24px 18px; }
  .mg-grit-card > strong { font-size: 66px; }
  .mg-company { margin-top: 48px; padding: 24px 18px; box-shadow: 8px 8px 0 var(--mg-red); }
  .mg-company dl > div { grid-template-columns: 90px 1fr; gap: 16px; }
  .mg-contact-word { top: 6%; font-size: 31vw; }
  .mg-contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .mg-contact-copy h2 { font-size: 12vw; }
  .mg-contact-form { padding: 25px 18px; box-shadow: 8px 8px 0 var(--mg-blue); }
  .mg-form-row { grid-template-columns: 1fr; }
  .mg-footer-top { min-height: 120px; padding: 30px 18px; }
  .mg-footer-logo { width: 160px; }
  .mg-footer-bottom { grid-template-columns: 1fr; padding: 28px 18px 98px; }
  .mg-footer-bottom > p:last-child { text-align: left; }
  .mg-footer-bottom .mg-footer-nav, .mg-footer-bottom .mg-nav-list { justify-content: flex-start; }
  .mg-mobile-sticky-cta { position: fixed; z-index: 80; inset: auto 0 0; display: flex; justify-content: space-between; align-items: center; min-height: 68px; padding: 11px 18px max(11px, env(safe-area-inset-bottom)); color: #fff; background: var(--mg-red); box-shadow: 0 -10px 28px rgba(1,7,36,.24); }
  .mg-mobile-sticky-cta span { font-size: 12px; font-weight: 900; }
  .mg-mobile-sticky-cta small { display: block; margin-bottom: 4px; font: 800 6px/1 ui-monospace, monospace; letter-spacing: .14em; }
  .mg-news-shell, .mg-article-shell { padding-top: 64px; }
  .mg-news-hero { min-height: 380px; padding: 80px 18px 48px; }
  .mg-news-hero > h1 { font-size: 26vw; }
  .mg-news-orbit { right: -30px; top: 50px; width: 135px; opacity: .6; }
  .mg-news-archive { width: calc(100% - 36px); padding: 74px 0 100px; }
  .mg-news-archive > header { align-items: flex-start; gap: 20px; }
  .mg-news-archive > header p { text-align: right; }
  .mg-article { width: calc(100% - 36px); padding: 76px 0 100px; }
  .mg-article-head h1 { font-size: 36px; line-height: 1.35; }
  .mg-entry-content { margin: 38px -8px 0; padding: 38px 18px; font-size: 15px; line-height: 1.95; }
  .mg-article-footer { flex-direction: column; align-items: flex-start; }
  .mg-archive-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  .mg-hero-title { font-size: 14.6vw; }
  .mg-hero-actions { align-items: flex-start; flex-direction: column; }
  .mg-section-head h2, .mg-proof-head h2 { font-size: 11.5vw; }
  .mg-console-node span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .mg-splash { animation: mgSplashReduced .7s ease forwards !important; }
  .mg-splash-grid, .mg-splash-scan, .mg-splash-orbit, .mg-splash-word, .mg-splash-core, .mg-splash-progress { display: none; }
  .mg-splash-lockup { opacity: 1; clip-path: inset(0); animation: none !important; }
  .js .mg-reveal { opacity: 1; transform: none; }
  [data-tilt] { transform: none !important; }
}

@keyframes mgHeaderSignal { to { background-position: -220% 0; } }
@keyframes mgSpin { to { transform: rotate(360deg); } }
@keyframes mgPulse { 0%,100% { transform: scale(.78); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
@keyframes mgScrollArrow { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(5px); } }
@keyframes mgMarquee { to { transform: translate3d(-50%,0,0); } }
@keyframes mgHeroBeam { 0%,15% { transform: skewX(-18deg) translate3d(0,0,0); opacity: 0; } 26% { opacity: 1; } 75%,100% { transform: skewX(-18deg) translate3d(820%,0,0); opacity: 0; } }
@keyframes mgVelocity { 0% { transform: translateX(0); opacity: 0; } 12% { opacity: .8; } 100% { transform: translateX(-150vw); opacity: 0; } }
@keyframes mgHudFloat { 0%,100% { transform: translate3d(0,-5px,0); } 50% { transform: translate3d(0,7px,0); } }
@keyframes mgCardRail { 0%,100% { transform: translateY(-20%); } 50% { transform: translateY(260%); } }
@keyframes mgConsoleSweep { 0%,14% { transform: skewX(-15deg) translate3d(0,0,0); opacity: 0; } 24% { opacity: 1; } 74%,100% { transform: skewX(-15deg) translate3d(760%,0,0); opacity: 0; } }
@keyframes mgPacket { from { left: 0; opacity: 0; } 8%,88% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes mgRadar { to { transform: rotate(360deg); } }
@keyframes mgCaseScan { 0%,100% { transform: translateY(-150px); opacity: 0; } 30%,70% { opacity: 1; } 50% { transform: translateY(150px); } }
@keyframes mgNewsDrift { from { transform: translate3d(-2vw,0,0); } to { transform: translate3d(2vw,-1vh,0); } }
@keyframes mgContactDrift { from { transform: translateX(-2vw); } to { transform: translateX(4vw); } }
@keyframes mgSplashExit { 0%,82% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(-104%); opacity: 1; visibility: hidden; } }
@keyframes mgSplashFlash { 0%,74%,88%,100% { opacity: 0; } 82% { opacity: .9; } }
@keyframes mgSplashGrid { 0% { opacity: 0; transform: perspective(900px) rotateX(58deg) scale(2); } 60% { opacity: .48; } 100% { transform: perspective(900px) rotateX(58deg) scale(1.5); } }
@keyframes mgSplashScan { from { transform: translateY(-5vh); } to { transform: translateY(110vh); } }
@keyframes mgSplashOrbitIn { 0% { opacity: 0; transform: scale(.4) rotate(-40deg); } 35%,78% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25) rotate(25deg); } }
@keyframes mgSplashTelemetry { 0%,12% { opacity: 0; transform: translateX(-18px); } 18%,78% { opacity: .9; transform: none; } 100% { opacity: 0; } }
@keyframes mgSplashWordA { 0% { opacity: 0; transform: translateX(-30vw); } 28%,66% { opacity: .72; transform: translateX(-2vw); } 100% { opacity: 0; transform: translateX(-16vw) scale(1.15); } }
@keyframes mgSplashWordB { 0% { opacity: 0; transform: translateX(30vw); } 28%,66% { opacity: .72; transform: translateX(2vw); } 100% { opacity: 0; transform: translateX(16vw) scale(1.15); } }
@keyframes mgSplashCore { 0% { opacity: 0; transform: scale(.35) rotate(-90deg); } 30%,70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.45) rotate(35deg); } }
@keyframes mgSplashLockup { 0%,49% { opacity: 0; clip-path: inset(0 100% 0 0); transform: scale(.94); } 60%,82% { opacity: 1; clip-path: inset(0); transform: scale(1); } 100% { opacity: 0; clip-path: inset(0); transform: scale(1.08); } }
@keyframes mgSplashProgress { 0% { transform: scaleX(0); } 72%,100% { transform: scaleX(1); } }
@keyframes mgSplashReduced { 0%,72% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }

/* 1.0.1 / responsive geometry and interaction audit */
.mg-works-swipe-guide { display: none; }

.mg-process-step { grid-template-columns: 90px 1fr 1fr; }

@supports (content-visibility: auto) {
  .mg-proof,
  .mg-statement,
  .mg-ai,
  .mg-tech,
  .mg-services,
  .mg-strengths,
  .mg-works,
  .mg-news,
  .mg-process,
  .mg-about,
  .mg-contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 920px;
  }
}

@media (min-width: 768px) and (max-height: 760px) {
  .mg-hero-pin { min-height: 100svh; }
  .mg-hero-title { font-size: clamp(58px, 7.3vw, 108px); }
  .mg-hero-stats { height: 94px; }
}

@media (max-width: 767px) {
  /* Mobile-first rendering budget. Rich entrances remain, while offscreen
     layers and expensive paint effects are kept off the scroll path. */
  .mg-hero-ambient,
  .mg-hero-velocity i:nth-child(n + 3),
  .mg-statement-orbit i:nth-child(n + 2) {
    display: none !important;
  }

  .mg-section,
  .mg-proof,
  .mg-statement,
  .mg-ai,
  .mg-tech,
  .mg-services,
  .mg-strengths,
  .mg-works,
  .mg-news,
  .mg-process,
  .mg-about,
  .mg-contact {
    contain: layout paint style;
  }

  [data-scroll-scene] {
    --mg-scene: .5;
  }

  .mg-site-header,
  .mg-hud-card,
  .mg-hero-stat,
  .mg-contact-form {
    backdrop-filter: none !important;
  }

  .mg-works-radar,
  .mg-news-motion,
  .mg-contact-word,
  .mg-process-track,
  .mg-kinetic-word {
    will-change: auto;
  }

  .mg-splash-word {
    inset: 0;
    display: flex;
    width: 100%;
    padding: 0 10px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: clamp(48px, 18.3vw, 82px);
    line-height: 1;
    letter-spacing: -.1em;
    white-space: nowrap;
  }

  .mg-splash-word span:first-child { animation: mgSplashWordMobileA 2.15s .08s cubic-bezier(.18,.82,.18,1) forwards; }
  .mg-splash-word span:last-child { animation: mgSplashWordMobileB 2.15s .08s cubic-bezier(.18,.82,.18,1) forwards; }

  .mg-works-swipe-guide {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: 46px 0 16px;
    padding: 11px 13px;
    color: #fff;
    border: 1px solid rgba(67,217,255,.34);
    background: rgba(1,7,36,.76);
  }

  .mg-works-swipe-guide span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace, monospace; letter-spacing: .18em; }
  .mg-works-swipe-guide strong { font-size: 10px; letter-spacing: .04em; }
  .mg-works-swipe-guide i { color: var(--mg-cyan); font-size: 20px; font-style: normal; animation: mgWorksSwipe 1.35s cubic-bezier(.45,0,.2,1) infinite; }

  .mg-case-grid {
    display: flex;
    width: calc(100% + 18px);
    gap: 16px;
    margin: 0 -18px 0 0;
    padding-right: 18px;
    overflow-x: auto;
    scroll-padding-inline: 0 18px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .mg-case-grid::-webkit-scrollbar { display: none; }
  .mg-case-card { flex: 0 0 min(82vw, 350px); scroll-snap-align: start; }
  .mg-process-step { grid-template-columns: 45px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .mg-splash-word { display: none; }
  .mg-works-swipe-guide i { animation: none; }
}

@keyframes mgSplashWordMobileA {
  0% { opacity: 0; transform: translate3d(-28vw,0,0) skewX(-12deg); }
  24%,52% { opacity: .88; transform: translate3d(.5vw,0,0) skewX(0); }
  68% { opacity: .26; transform: translate3d(-.5vw,0,0) scale(.98); }
  100% { opacity: 0; transform: translate3d(-7vw,0,0) scale(1.04); }
}

@keyframes mgSplashWordMobileB {
  0% { opacity: 0; transform: translate3d(28vw,0,0) skewX(12deg); }
  24%,52% { opacity: .88; transform: translate3d(-.5vw,0,0) skewX(0); }
  68% { opacity: .26; transform: translate3d(.5vw,0,0) scale(.98); }
  100% { opacity: 0; transform: translate3d(7vw,0,0) scale(1.04); }
}

@keyframes mgWorksSwipe {
  0%,100% { transform: translateX(-4px); opacity: .55; }
  50% { transform: translateX(4px); opacity: 1; }
}

/* 1.2.0 / mobile full-page snap experience */
.mg-snap-nav,
.mg-mobile-swipe-guide { display: none; }

.mg-strength-mobile-track,
.mg-process-mobile-track,
.mg-about-mobile-track { display: contents; }

@media (max-width: 767px) {
  html.mg-snap-mobile {
    scroll-snap-type: y mandatory;
    scroll-padding-top: 0;
    overscroll-behavior-y: none;
  }

  html.mg-snap-mobile body { overscroll-behavior-y: none; }

  [data-snap-panel],
  .mg-footer {
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    overflow: hidden;
  }

  [data-snap-panel] {
    isolation: isolate;
    padding: max(76px, env(safe-area-inset-top)) 18px max(82px, env(safe-area-inset-bottom));
  }

  .mg-marquee,
  .mg-signal { display: none !important; }

  .mg-snap-nav {
    position: fixed;
    z-index: 92;
    right: 7px;
    top: 50%;
    display: grid;
    gap: 7px;
    transform: translateY(-50%);
  }

  .mg-snap-nav a { position: relative; display: grid; place-items: center; width: 16px; height: 7px; }
  .mg-snap-nav a i { display: block; width: 5px; height: 5px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; background: rgba(1,7,36,.42); transition: width .28s ease, height .28s ease, border-radius .28s ease, background .28s ease, box-shadow .28s ease; }
  .mg-snap-nav a span { position: absolute; right: 18px; color: #fff; font: 900 6px/1 ui-monospace, monospace; letter-spacing: .14em; opacity: 0; transform: translateX(5px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
  .mg-snap-nav a.is-current i { width: 5px; height: 18px; border: 0; border-radius: 2px; background: var(--mg-red); box-shadow: 0 0 14px rgba(229,27,43,.72); }
  .mg-snap-nav a.is-current span { opacity: .86; transform: none; }

  .mg-mobile-swipe-guide {
    position: relative;
    z-index: 8;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 36px;
    margin: 15px 0 12px;
    padding: 8px 10px;
    color: #fff;
    border: 1px solid rgba(67,217,255,.32);
    background: rgba(1,7,36,.78);
  }

  .mg-mobile-swipe-guide span { color: var(--mg-cyan); font: 900 7px/1 ui-monospace, monospace; letter-spacing: .18em; }
  .mg-mobile-swipe-guide strong { overflow: hidden; font-size: 9px; letter-spacing: .03em; white-space: nowrap; text-overflow: ellipsis; }
  .mg-mobile-swipe-guide i { color: var(--mg-cyan); font-size: 18px; font-style: normal; animation: mgSnapSwipe 1.25s cubic-bezier(.45,0,.2,1) infinite; }

  .mg-section,
  .mg-proof,
  .mg-statement,
  .mg-ai,
  .mg-tech,
  .mg-services,
  .mg-strengths,
  .mg-works,
  .mg-news,
  .mg-process,
  .mg-about,
  .mg-contact { display: flex; flex-direction: column; justify-content: center; }

  .mg-section-head,
  .mg-proof-head,
  .mg-tech-head,
  .mg-about-intro { flex: 0 0 auto; }

  .mg-section-head h2,
  .mg-proof-head h2,
  .mg-tech-head h2,
  .mg-about-intro h2 { font-size: clamp(36px,10.6vw,50px); line-height: 1.04; }

  .mg-section-head > p,
  .mg-proof-head > p,
  .mg-tech-head > p,
  .mg-about-intro > p { margin-top: 13px; font-size: 13px; line-height: 1.65; }

  .mg-hero { height: 100svh; min-height: 100svh; padding: 0; }
  .mg-hero-pin { position: relative; top: auto; width: 100%; height: 100svh; min-height: 100svh; }
  .mg-hero-content { top: 42%; transform: translateY(-50%) !important; opacity: 1 !important; }
  .mg-hero-video { opacity: .48 !important; transform: scale(1.04) !important; }
  .mg-hero-grid { opacity: .23 !important; transform: none !important; }
  .mg-hero-transition { display: none !important; }
  .mg-hero-title { font-size: clamp(50px,15vw,70px); }
  .mg-hero-copy { max-width: 94%; margin-top: 20px; }
  .mg-hero-actions { margin-top: 18px; }
  .mg-hero-stats { bottom: 68px; height: 76px; }

  .mg-proof-grid,
  .mg-service-grid,
  .mg-strength-mobile-track,
  .mg-case-grid,
  .mg-news-list,
  .mg-process-mobile-track,
  .mg-about-mobile-track,
  .mg-contact-inner,
  .mg-ai-panel {
    position: relative;
    z-index: 5;
    display: flex;
    flex: 0 1 auto;
    gap: 14px;
    width: calc(100% + 18px);
    min-height: 0;
    margin-right: -18px;
    padding: 2px 18px 14px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0 18px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .mg-proof-grid::-webkit-scrollbar,
  .mg-service-grid::-webkit-scrollbar,
  .mg-strength-mobile-track::-webkit-scrollbar,
  .mg-case-grid::-webkit-scrollbar,
  .mg-news-list::-webkit-scrollbar,
  .mg-process-mobile-track::-webkit-scrollbar,
  .mg-about-mobile-track::-webkit-scrollbar,
  .mg-contact-inner::-webkit-scrollbar,
  .mg-ai-panel::-webkit-scrollbar { display: none; }

  .mg-strength-list,
  .mg-process-list,
  .mg-grit-grid { display: contents; }

  .mg-proof-card,
  .mg-service-card,
  .mg-strength-item,
  .mg-case-card,
  .mg-news-row,
  .mg-process-step,
  .mg-grit-card,
  .mg-company,
  .mg-engagement,
  .mg-flexible,
  .mg-contact-copy,
  .mg-contact-form,
  .mg-code-window,
  .mg-ai-copy,
  .mg-team-ribbon { flex: 0 0 min(82vw,350px); scroll-snap-align: start; scroll-snap-stop: always; }

  .mg-proof-grid { margin-top: 24px; }
  .mg-proof-card { min-height: 340px; padding: 28px 22px; }
  .mg-statement-copy h2 { margin-top: 20px; font-size: clamp(42px,12.5vw,58px); }

  .mg-ai-panel { align-items: stretch; margin-top: 0; border: 0; background: transparent; box-shadow: none; transform: none !important; }
  .mg-code-window,
  .mg-ai-copy { min-height: min(49svh,420px); max-height: min(49svh,420px); overflow-y: auto; }
  .mg-code-window { margin: 0; }
  .mg-ai-copy { padding: 25px 21px; background: #fff; }
  .mg-ai-copy h2 { font-size: 32px; }
  .mg-ai-copy > p { font-size: 13px; line-height: 1.72; }

  .mg-tech-console { flex: 0 1 auto; max-height: 48svh; margin-top: 24px; overflow-y: auto; }

  .mg-service-grid { flex-wrap: nowrap; margin-top: 0; }
  .mg-service-card { min-height: min(48svh,410px); max-height: min(48svh,410px); padding: 25px 20px; overflow-y: auto; }
  .mg-service-card h3 { margin-top: 58px; padding-top: 0; font-size: 30px; }

  .mg-strength-mobile-track { margin-top: 0; }
  .mg-strength-item { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; min-height: min(44svh,370px); padding: 25px 22px; border: 1px solid rgba(67,217,255,.28); background: rgba(3,17,61,.86); }
  .mg-strength-item > p,
  .mg-strength-item > strong { grid-column: auto; }
  .mg-strength-item h3 { font-size: 30px; }
  .mg-team-ribbon { display: grid; min-height: min(44svh,370px); margin: 0; }

  .mg-works-swipe-guide { margin: 15px 0 12px; }
  .mg-case-grid { margin-top: 0; }
  .mg-case-card { min-height: min(48svh,410px); max-height: min(48svh,410px); overflow-y: auto; }
  .mg-case-visual { min-height: 150px; }
  .mg-case-content { padding: 20px 18px 24px; }
  .mg-case-content h3 { font-size: 30px; }

  .mg-news-list { margin-top: 0; border: 0; }
  .mg-news-row { display: flex; flex-direction: column; align-items: flex-start; min-height: min(36svh,310px); padding: 26px 22px; border: 1px solid rgba(255,255,255,.24); background: rgba(1,7,36,.72); }
  .mg-news-row > .mg-arrow { margin-top: auto; }
  .mg-news-row h3 { font-size: 21px; }
  .mg-news-all { margin-top: 12px; }

  .mg-process-mobile-track { margin-top: 0; }
  .mg-process-step { display: flex; flex-direction: column; align-items: flex-start; min-height: min(38svh,330px); padding: 25px 22px; border: 1px solid rgba(23,72,245,.22); background: #fff; }
  .mg-process-step > p { grid-column: auto; }
  .mg-engagement,
  .mg-flexible { display: flex; flex-direction: column; gap: 18px; min-height: min(38svh,330px); margin: 0; padding: 25px 22px; overflow-y: auto; }

  .mg-about-intro h2 { margin-top: 18px; }
  .mg-about-mobile-track { margin-top: 0; }
  .mg-grit-card { min-height: min(32svh,280px); padding: 25px 20px; }
  .mg-company { min-height: min(32svh,280px); max-height: min(32svh,280px); margin: 0; padding: 22px 18px; overflow-y: auto; }
  .mg-company dl > div { padding: 12px 0; }

  .mg-contact-inner { align-items: stretch; margin-top: 0; }
  .mg-contact-copy,
  .mg-contact-form { min-height: min(56svh,480px); max-height: min(56svh,480px); margin: 0; overflow-y: auto; }
  .mg-contact-copy { display: flex; flex-direction: column; justify-content: center; padding: 25px 20px; background: rgba(1,7,36,.78); }
  .mg-contact-copy h2 { font-size: 42px; }
  .mg-contact-form { padding: 23px 18px; box-shadow: 7px 7px 0 var(--mg-blue); }

  .mg-footer { display: grid; align-content: center; background: #010724; }

  [data-snap-panel].is-active .mg-kinetic-word,
  [data-snap-panel].is-active .mg-news-motion,
  [data-snap-panel].is-active .mg-process-track,
  [data-snap-panel].is-active .mg-about-mega { animation: mgSnapPanelDrift 4.8s ease-in-out infinite alternate; }

  [data-snap-panel]:not(.is-active) *,
  [data-snap-panel]:not(.is-active) *::before,
  [data-snap-panel]:not(.is-active) *::after { animation-play-state: paused !important; }
}

@keyframes mgSnapSwipe {
  0%,100% { transform: translateX(-4px); opacity: .48; }
  50% { transform: translateX(5px); opacity: 1; }
}

@keyframes mgSnapPanelDrift {
  from { transform: translate3d(-2vw,0,0); }
  to { transform: translate3d(2vw,-1vh,0); }
}

@media (max-width: 767px) and (max-height: 720px) {
  [data-snap-panel] { padding-top: 68px; padding-bottom: 72px; }
  .mg-section-head h2,
  .mg-proof-head h2,
  .mg-tech-head h2,
  .mg-about-intro h2 { font-size: 34px; }
  .mg-section-head > p,
  .mg-proof-head > p,
  .mg-tech-head > p,
  .mg-about-intro > p { display: none; }
  .mg-mobile-swipe-guide { margin-block: 9px; }
  .mg-hero-copy { display: none; }
  .mg-hero-content { top: 40%; }
}

/* 1.4.0 / canonical ten-screen swipe and lean contact flow */
.mg-front-page .mg-footer,
.mg-front-page .mg-mobile-sticky-cta { display: none !important; }

.mg-ai > .mg-section-head { margin-bottom: clamp(36px,5vw,64px); }
.mg-contact > .mg-contact-copy { position: relative; z-index: 2; width: min(920px,100%); margin-bottom: clamp(26px,4vw,52px); }
.mg-contact > .mg-contact-copy h2 { font-size: clamp(42px,6vw,82px); }
.mg-contact-direct { display: flex; flex-direction: column; min-width: 0; padding: clamp(24px,3vw,46px); overflow: hidden auto; border: 1px solid rgba(67,217,255,.34); background: rgba(3,17,61,.88); box-shadow: 12px 12px 0 var(--mg-blue); }
.mg-contact-direct > span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace,monospace; letter-spacing: .16em; }
.mg-contact-direct h3 { margin: 30px 0 0; font-size: clamp(26px,2.7vw,42px); line-height: 1.08; letter-spacing: -.05em; }
.mg-contact-direct p { margin: 18px 0 0; color: #c2cee5; font-size: 13px; line-height: 1.75; }
.mg-contact-direct > a { margin-top: 24px; color: var(--mg-cyan); font-weight: 900; word-break: break-word; }
.mg-contact-direct ul { margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid rgba(67,217,255,.18); list-style: none; }
.mg-contact-direct li { padding: 5px 0; color: #d1ddf3; font-size: 11px; }
.mg-contact-direct li::before { content: "→"; margin-right: 8px; color: var(--mg-cyan); }

@media (max-width: 767px) {
  .mg-ai > .mg-section-head { margin-bottom: 0; }
  .mg-contact > .mg-contact-copy {
    flex: 0 0 auto;
    width: min(100%,720px);
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
  }
  .mg-contact > .mg-contact-copy > span { padding: 0; color: var(--mg-cyan); background: transparent; }
  .mg-contact > .mg-contact-copy h2 { margin-top: 12px; font-size: clamp(32px,9vw,42px); line-height: .98; }
  .mg-contact > .mg-contact-copy > p { margin-top: 10px; font-size: 12px; line-height: 1.6; }
  .mg-contact-inner { flex: 0 1 auto; height: min(43svh,390px); }
  .mg-contact-form,
  .mg-contact-direct {
    flex: 0 0 min(calc(100vw - 52px),430px);
    height: 100%;
    min-height: 0;
    max-height: none;
    padding: 18px 16px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .mg-contact-direct { box-shadow: 7px 7px 0 var(--mg-blue); }
  .mg-contact-direct h3 { margin-top: 24px; font-size: 27px; }
  .mg-company dl > div { grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; }

  [data-snap-panel]:not(.is-active)::before,
  [data-snap-panel]:not(.is-active)::after { content: none !important; }
}

/* 1.5.0 / one story per screen, with a distinct visual system per story */
.mg-hero-system { display: none; }
[data-snap-panel]:not(.is-active) *,
[data-snap-panel]:not(.is-active) *::before,
[data-snap-panel]:not(.is-active) *::after { animation-play-state: paused !important; }
[data-snap-panel]:not(.is-active) .mg-hero-system { visibility: hidden; }
.mg-proof { background: radial-gradient(circle at 76% 58%, rgba(23,72,245,.3), transparent 32%), linear-gradient(118deg, #010724 0 58%, #03164f 58%); }
.mg-proof-card { isolation: isolate; position: relative; display: flex; flex-direction: column; color: #fff; border: 1px solid rgba(67,217,255,.38); border-bottom: 5px solid var(--mg-blue); background: linear-gradient(155deg, rgba(7,31,94,.96), rgba(1,7,36,.96)); box-shadow: none; }
.mg-proof-card:nth-child(2) { border-bottom-color: var(--mg-red); background: linear-gradient(155deg, rgba(19,55,151,.97), rgba(2,12,48,.98)); }
.mg-proof-card:nth-child(3) { border-bottom-color: var(--mg-cyan); }
.mg-proof-card > strong { margin-top: auto; padding-top: 70px; }
.mg-proof-module { position: absolute; z-index: -1; top: 18px; right: 18px; display: grid; place-items: center; width: 88px; aspect-ratio: 1; border: 1px solid rgba(67,217,255,.25); }
.mg-proof-module::before, .mg-proof-module::after { content: ""; position: absolute; inset: 18%; border: 1px dashed rgba(67,217,255,.28); border-radius: 50%; animation: mgSpin 11s linear infinite; }
.mg-proof-module::after { inset: 37%; border-style: solid; border-color: var(--mg-red); animation-direction: reverse; animation-duration: 6s; }
.mg-proof-module > i { position: absolute; width: 62%; height: 1px; background: rgba(67,217,255,.2); }
.mg-proof-module > i:nth-child(2) { rotate: 90deg; }
.mg-proof-module > b { color: rgba(255,255,255,.18); font: 900 30px/1 ui-monospace,monospace; }

.mg-ai { background: radial-gradient(circle at 14% 80%, rgba(23,72,245,.14), transparent 28%), linear-gradient(90deg, #f7faff, #eaf2ff); }
.mg-ai .mg-code-window { border: 0; border-top: 3px solid var(--mg-cyan); box-shadow: 10px 10px 0 var(--mg-blue); }
.mg-ai .mg-ai-copy { border: 1px solid rgba(23,72,245,.22); border-left: 7px solid var(--mg-red); box-shadow: none; }

.mg-services { background: radial-gradient(circle at 90% 18%, rgba(67,217,255,.2), transparent 22%), linear-gradient(135deg, #020a2a 0 48%, #061a57 48% 49%, #010724 49%); }
.mg-service-card { isolation: isolate; border: 0; border-left: 2px solid var(--mg-cyan); background: linear-gradient(150deg, rgba(9,40,120,.96), rgba(1,8,34,.98)); box-shadow: 9px 9px 0 rgba(67,217,255,.16); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.mg-service-card:nth-child(3n + 2) { border-left-color: var(--mg-red); background: linear-gradient(150deg, #0a2cab, #03113d); }
.mg-service-card:nth-child(3n) { border-left-color: #fff; background: linear-gradient(150deg, #071a57, #010724); }
.mg-service-axis { position: absolute; z-index: -1; inset: 58px 18px auto; height: 72px; border: 1px solid rgba(67,217,255,.16); }
.mg-service-axis::before, .mg-service-axis::after { content: ""; position: absolute; inset: 33% -12%; height: 1px; background: rgba(67,217,255,.18); transform: rotate(-12deg); }
.mg-service-axis::after { transform: rotate(12deg); }
.mg-service-axis i { position: absolute; top: 50%; width: 7px; aspect-ratio: 1; border: 1px solid var(--mg-cyan); border-radius: 50%; background: #010724; }
.mg-service-axis i:nth-child(1) { left: 12%; }
.mg-service-axis i:nth-child(2) { left: 49%; border-color: var(--mg-red); }
.mg-service-axis i:nth-child(3) { right: 12%; }

.mg-strengths { background: linear-gradient(135deg, rgba(67,217,255,.14) 0 18%, transparent 18%), radial-gradient(circle at 72% 78%, rgba(1,7,36,.48), transparent 34%), #123fd3; }
.mg-strength-item { isolation: isolate; color: var(--mg-ink); border: 0; background: #fff; box-shadow: 8px 8px 0 rgba(1,7,36,.72); }
.mg-strength-item:nth-child(2) { color: #fff; background: #010724; box-shadow-color: var(--mg-red); }
.mg-strength-item:nth-child(2) > p { color: #c3d3ef; }
.mg-strength-item:nth-child(3) { background: #dff8ff; box-shadow-color: #fff; }
.mg-strength-item > * { position: relative; z-index: 2; }
.mg-strength-item > span, .mg-strength-item small, .mg-strength-item > strong { color: var(--mg-blue); }
.mg-strength-item:nth-child(2) > span, .mg-strength-item:nth-child(2) small, .mg-strength-item:nth-child(2) > strong { color: var(--mg-cyan); }
.mg-strength-signal { position: absolute; z-index: 0; top: 0; right: 0; width: 78px; height: 100%; border-left: 1px solid rgba(23,72,245,.12); }
.mg-strength-signal i { position: absolute; left: 50%; width: 9px; aspect-ratio: 1; border: 1px solid var(--mg-blue); border-radius: 50%; background: #fff; transform: translateX(-50%); }
.mg-strength-signal i:nth-child(1) { top: 18%; }
.mg-strength-signal i:nth-child(2) { top: 50%; border-color: var(--mg-red); background: var(--mg-red); animation: mgPulse 1.5s ease-in-out infinite; }
.mg-strength-signal i:nth-child(3) { bottom: 18%; }

.mg-works { background: linear-gradient(115deg, #f8fbff 0 67%, #dfeaff 67%); }
.mg-case-card { border-color: rgba(23,72,245,.28); box-shadow: 9px 9px 0 var(--mg-blue); }
.mg-case-card:nth-child(even) { box-shadow-color: var(--mg-red); }

.mg-news { background: radial-gradient(circle at 88% 22%, rgba(229,27,43,.18), transparent 24%), linear-gradient(112deg, #010724 0 72%, #061a57 72%); }
.mg-news-row { border: 0; border-left: 6px solid var(--mg-red); background: rgba(1,7,28,.94); box-shadow: none; }
.mg-news-row:nth-child(even) { border-left-color: var(--mg-cyan); background: #092777; }

.mg-process { background: radial-gradient(circle at 16% 20%, rgba(67,217,255,.22), transparent 24%), linear-gradient(155deg, #0e3cc9, #020b30 78%); }
.mg-process-step { isolation: isolate; color: #fff; border: 1px solid rgba(67,217,255,.32); border-top: 5px solid var(--mg-cyan); background: rgba(1,7,36,.94); }
.mg-process-step:nth-child(even) { border-top-color: var(--mg-red); }
.mg-process-node { position: absolute; z-index: 0; top: 18px; right: 18px; width: 72px; aspect-ratio: 1; border: 1px dashed rgba(67,217,255,.28); border-radius: 50%; animation: mgSpin 10s linear infinite; }
.mg-process-node i { position: absolute; inset: 28%; border: 1px solid var(--mg-cyan); border-radius: 50%; }
.mg-process-node i:nth-child(2) { inset: 46%; border-color: var(--mg-red); background: var(--mg-red); }
.mg-process-step > *:not(.mg-process-node) { position: relative; z-index: 2; }

.mg-about { background: radial-gradient(circle at 8% 12%, rgba(23,72,245,.14), transparent 22%), linear-gradient(125deg, #f8fbff 0 63%, #e6efff 63%); }
.mg-grit-card:nth-child(odd) { color: #fff; background: var(--mg-blue); }
.mg-grit-card:nth-child(odd) > strong, .mg-grit-card:nth-child(odd) span { color: #fff; }
.mg-grit-card:nth-child(odd) p { color: #dce7ff; }
.mg-grit-card:nth-child(2) { border: 2px solid var(--mg-red); }
.mg-company { border-top: 6px solid var(--mg-red); box-shadow: 8px 8px 0 var(--mg-blue); }

@keyframes mgSystemFloat { from { transform: translate3d(0,-49%,0); } to { transform: translate3d(0,-47%,0); } }
@keyframes mgSystemSweep { from { transform: rotate(-35deg); } to { transform: rotate(325deg); } }
@keyframes mgNodeSignal { 0%,100% { opacity: .45; box-shadow: 0 0 0 rgba(67,217,255,0); } 50% { opacity: 1; box-shadow: 0 0 20px rgba(67,217,255,.8); } }
@keyframes mgMeterRun { from { transform: scaleX(.18); } to { transform: scaleX(1); } }

@media (min-width: 768px) {
  .mg-front-page .mg-main { height: 100vh; height: 100svh; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y mandatory; overscroll-behavior-y: contain; scrollbar-width: none; }
  .mg-front-page .mg-main::-webkit-scrollbar { display: none; }
  .mg-front-page [data-snap-panel] { width: 100%; height: 100vh; height: 100svh; min-height: 100vh; min-height: 100svh; max-height: 100svh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
  .mg-front-page .mg-section, .mg-front-page .mg-proof, .mg-front-page .mg-ai, .mg-front-page .mg-services, .mg-front-page .mg-strengths, .mg-front-page .mg-works, .mg-front-page .mg-news, .mg-front-page .mg-process, .mg-front-page .mg-about, .mg-front-page .mg-contact { display: flex; flex-direction: column; justify-content: center; padding: 104px clamp(44px,6vw,92px) 54px; }
  .mg-front-page .mg-hero { height: 100svh; min-height: 100svh; }
  .mg-front-page .mg-hero-pin { position: relative; top: auto; height: 100svh; min-height: 100svh; }
  .mg-front-page .mg-hero-content { top: 50%; width: min(43vw,720px); transform: translateY(-50%) !important; opacity: 1 !important; }
  .mg-front-page .mg-hero-title { font-size: clamp(78px,7.2vw,128px); }
  .mg-front-page .mg-hero-transition { display: none; }
  .mg-front-page .mg-hero-hud { display: none; }

  .mg-hero-system { position: absolute; z-index: 5; top: 50%; right: clamp(68px,7vw,132px); display: block; width: min(43vw,720px); aspect-ratio: 1.32; transform: translateY(-48%); filter: drop-shadow(0 28px 60px rgba(0,0,0,.28)); animation: mgSystemFloat 5s ease-in-out infinite alternate; }
  .mg-hero-system-frame { position: absolute; inset: 0; overflow: hidden; border: 1px solid rgba(67,217,255,.4); background: linear-gradient(145deg, rgba(5,28,92,.58), rgba(1,7,36,.84)); clip-path: polygon(0 0,94% 0,100% 9%,100% 100%,7% 100%,0 90%); }
  .mg-hero-system-frame::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: linear-gradient(rgba(67,217,255,.12) 1px,transparent 1px), linear-gradient(90deg,rgba(67,217,255,.12) 1px,transparent 1px); background-size: 36px 36px; }
  .mg-hero-system-topline { position: absolute; z-index: 2; inset: 0 0 auto; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; height: 44px; padding: 0 20px; color: #9eeaff; border-bottom: 1px solid rgba(67,217,255,.25); font: 900 8px/1 ui-monospace,monospace; letter-spacing: .16em; }
  .mg-hero-system-topline i { height: 1px; background: linear-gradient(90deg,rgba(67,217,255,.2),var(--mg-cyan)); }
  .mg-hero-system-topline b { color: #fff; }
  .mg-hero-system-core { position: absolute; z-index: 2; top: 51%; left: 52%; display: grid; place-items: center; width: min(43%,280px); aspect-ratio: 1; transform: translate(-50%,-50%); }
  .mg-hero-system-core > i { position: absolute; inset: 0; border: 1px solid rgba(67,217,255,.5); border-radius: 50%; animation: mgSpin 16s linear infinite; }
  .mg-hero-system-core > i:nth-child(2) { inset: 16%; border-style: dashed; border-color: rgba(255,255,255,.44); animation-direction: reverse; animation-duration: 11s; }
  .mg-hero-system-core > i:nth-child(3) { inset: 34%; border-color: var(--mg-red); animation-duration: 7s; }
  .mg-hero-system-core > span { position: absolute; left: 50%; top: 50%; width: 48%; height: 1px; transform-origin: left; background: linear-gradient(90deg,var(--mg-cyan),transparent); animation: mgSystemSweep 3.2s linear infinite; }
  .mg-hero-system-core > b { position: relative; z-index: 2; display: grid; place-items: center; width: 27%; aspect-ratio: 1; color: #fff; border: 1px solid rgba(255,255,255,.7); background: rgba(1,7,36,.82); font: 950 24px/1 ui-monospace,monospace; }
  .mg-hero-system-core > small { position: absolute; top: calc(50% + 48px); color: var(--mg-cyan); text-align: center; font: 900 7px/1.45 ui-monospace,monospace; letter-spacing: .18em; }
  .mg-hero-system-node { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; color: #b8d8ff; font: 900 7px/1 ui-monospace,monospace; letter-spacing: .15em; }
  .mg-hero-system-node i { width: 8px; aspect-ratio: 1; border: 1px solid var(--mg-cyan); border-radius: 50%; background: #010724; animation: mgNodeSignal 1.8s ease-in-out infinite; }
  .mg-node-a { left: 8%; top: 25%; } .mg-node-b { right: 8%; top: 28%; } .mg-node-c { left: 9%; bottom: 24%; } .mg-node-d { right: 9%; bottom: 26%; }
  .mg-node-b i, .mg-node-c i { border-color: var(--mg-red); animation-delay: -.9s; }
  .mg-hero-system-meters { position: absolute; z-index: 3; right: 20px; bottom: 17px; left: 20px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
  .mg-hero-system-meters span { display: grid; gap: 7px; color: #9fc8ef; font: 800 6px/1 ui-monospace,monospace; letter-spacing: .12em; }
  .mg-hero-system-meters i { width: 100%; height: 2px; background: linear-gradient(90deg,var(--mg-red),var(--mg-cyan)); transform-origin: left; animation: mgMeterRun 2.4s ease-in-out infinite alternate; }
  .mg-hero-system-meters span:nth-child(2) i { animation-delay: -.8s; } .mg-hero-system-meters span:nth-child(3) i { animation-delay: -1.6s; }

  .mg-mobile-swipe-guide { position: relative; z-index: 8; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 38px; margin: 18px 0 12px; padding: 8px 11px; color: #fff; border: 1px solid rgba(67,217,255,.36); background: rgba(1,7,36,.78); }
  .mg-mobile-swipe-guide span { color: var(--mg-cyan); font: 900 8px/1 ui-monospace,monospace; letter-spacing: .17em; }
  .mg-mobile-swipe-guide strong { font-size: 11px; }
  .mg-mobile-swipe-guide i { color: var(--mg-cyan); font-size: 20px; font-style: normal; animation: mgSnapSwipe 1.1s ease-in-out infinite; }
  .mg-proof-grid, .mg-service-grid, .mg-strength-mobile-track, .mg-case-grid, .mg-news-list, .mg-process-mobile-track, .mg-about-mobile-track, .mg-contact-inner, .mg-ai-panel { position: relative; z-index: 5; display: flex; flex: 0 1 auto; align-items: stretch; gap: 14px; width: 100%; min-height: 0; margin: 0; padding: 2px 0 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; }
  .mg-proof-grid::-webkit-scrollbar, .mg-service-grid::-webkit-scrollbar, .mg-strength-mobile-track::-webkit-scrollbar, .mg-case-grid::-webkit-scrollbar, .mg-news-list::-webkit-scrollbar, .mg-process-mobile-track::-webkit-scrollbar, .mg-about-mobile-track::-webkit-scrollbar, .mg-contact-inner::-webkit-scrollbar, .mg-ai-panel::-webkit-scrollbar { display: none; }
  .mg-strength-list, .mg-process-list, .mg-grit-grid { display: contents; }
  .mg-proof-card, .mg-service-card, .mg-strength-item, .mg-case-card, .mg-news-row, .mg-process-step, .mg-grit-card, .mg-company, .mg-contact-form, .mg-contact-direct, .mg-code-window, .mg-ai-copy { flex: 0 0 min(30vw,440px); min-height: 330px; max-height: 44svh; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden auto; }
  .mg-ai-panel > *:first-child { flex-basis: min(52vw,720px); }
  .mg-ai-panel > *:last-child { flex-basis: min(34vw,500px); }
  .mg-service-card { flex-basis: min(28vw,410px); }
  .mg-case-card { flex-basis: min(57vw,820px); }
  .mg-news-row { flex-basis: min(48vw,690px); display: flex; flex-direction: column; align-items: flex-start; padding: 34px 38px; }
  .mg-news-row > .mg-arrow { margin-top: auto; }
  .mg-process-step { flex-basis: min(24vw,340px); display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .mg-process-step > span { font-size: 64px; font-weight: 300; }
  .mg-process-step > p { margin-top: auto; }
  .mg-about-mobile-track .mg-grit-card { flex-basis: min(22vw,320px); }
  .mg-about-mobile-track .mg-company { flex-basis: min(46vw,660px); }
  .mg-contact-inner > * { flex-basis: min(44vw,520px); }
  .mg-contact > .mg-contact-copy { margin-bottom: 18px; }
}

@media (max-width: 767px) {
  .mg-proof-card > strong { padding-top: 52px; }
  .mg-service-axis { height: 58px; }
  .mg-strength-item { color: var(--mg-ink); background: #fff; }
  .mg-strength-item:nth-child(2) { color: #fff; background: #010724; }
  .mg-strength-item:nth-child(2) > p { color: #c3d3ef; }
  .mg-news-row { border-left-width: 5px; }
  .mg-process-step { color: #fff; background: rgba(1,7,36,.94); }
}
