@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

:root {
  --ink: #02090b;
  --ink-2: #061115;
  --panel: #09171b;
  --panel-light: #0d2025;
  --cyan: #4dfcff;
  --cyan-hot: #a4ffff;
  --cyan-dim: #1bb9bd;
  --cyan-rgb: 77, 252, 255;
  --white: #eaffff;
  --muted: #83a5aa;
  --line: rgba(77, 252, 255, .2);
  --danger: #ff5470;
  --font: "DM Sans", sans-serif;
  --mono: "Courier New", ui-monospace, monospace;
  --text-base: 1rem;
  --text-sm: .9375rem;
  --text-xs: .875rem;
  --leading-base: 1.65;
  --leading-sm: 1.55;
  --leading-xs: 1.45;
  --gutter: clamp(20px, 5vw, 80px);
  --container: 1440px;
  --section-space: clamp(88px, 11vw, 168px);
  --display-hero: clamp(1.85rem, 4.35vw, 4.5rem);
  --display-section: clamp(1.95rem, 3.5vw, 4rem);
  --display-contact: clamp(2.2rem, 5vw, 5.2rem);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; background: var(--ink); }
body {
  min-width: 320px;
  overflow-x: clip;
  color: var(--white);
  background: var(--ink);
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading-base);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--ink); background: var(--cyan); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; }

.skip-link { position: fixed; z-index: 200; left: 16px; top: 12px; padding: 10px 14px; color: var(--ink); background: var(--cyan); transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 clamp(20px, 2.5vw, 48px);
  border-bottom: 1px solid rgba(77, 252, 255, .12);
  background: linear-gradient(180deg, rgba(2, 9, 11, .93), rgba(2, 9, 11, .7));
  backdrop-filter: blur(12px);
  transition: min-height .3s, background .3s;
}
.site-header.is-scrolled { min-height: 62px; background: rgba(2, 9, 11, .95); }
.brand { justify-self: start; display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-family: var(--mono); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; }
.brand-role-slot { display: inline-flex; gap: 1ch; width: calc(12ch + .55em); overflow: hidden; color: var(--cyan); font-weight: 400; }
.brand-role {
  display: inline-block;
  flex: 0 0 auto;
  width: 0;
  overflow: hidden;
  letter-spacing: 0;
  white-space: nowrap;
  animation: brand-type 3.85s steps(11, end) .65s 1 both;
}
.brand-caret {
  align-self: center;
  flex: 0 0 .55em;
  width: .55em;
  height: .72em;
  background: var(--cyan);
  transform: translateY(-1px);
  animation: brand-caret-blink .9s steps(1, end) infinite;
}
@keyframes brand-type { to { width: 11ch; } }
@keyframes brand-caret-blink { 50% { opacity: 0; } }
.desktop-nav { justify-self: center; display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 52px); width: min(52vw, 760px); }
.desktop-nav a, .header-cta { font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .055em; text-transform: uppercase; }
.desktop-nav a { color: var(--muted); transition: color .2s, text-shadow .2s; }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--cyan); text-shadow: 0 0 12px rgba(var(--cyan-rgb), .55); }
.header-cta { justify-self: end; color: var(--cyan); }
.header-cta:hover { color: var(--cyan-hot); text-shadow: 0 0 14px var(--cyan); }
.menu-button, .mobile-nav { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(1000px, 100svh);
  padding: clamp(118px, 16vh, 178px) var(--gutter) 88px;
  overflow: hidden;
  background: #010709;
  border-bottom: 1px solid var(--line);
}
#invaders { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.hero-grid { position: absolute; z-index: -2; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(77, 252, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(77, 252, 255, .025) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black 20%, transparent 98%); }
.crt-overlay, .contact-noise {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(0, 6, 8, .18) 76%, rgba(0, 3, 4, .82) 112%),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0, rgba(0, 0, 0, .28) 1px, rgba(77, 252, 255, .035) 2px, transparent 4px);
  box-shadow: inset 0 0 140px rgba(0, 0, 0, .76);
}
.crt-overlay::after, .contact-noise::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: repeating-linear-gradient(90deg, rgba(255, 0, 0, .12) 0 1px, rgba(0, 255, 255, .08) 1px 2px, transparent 2px 4px); }
@media (hover: hover) and (pointer: fine) { .hero, .hero * { cursor: none; } }

.game-hud { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); top: 94px; display: flex; justify-content: space-between; max-width: var(--container); margin: auto; color: var(--cyan); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .09em; text-shadow: 0 0 10px rgba(var(--cyan-rgb), .8); }
.game-hud span { display: inline-flex; gap: 8px; }
.game-hud b { color: var(--white); font-weight: 400; }
.shield-hud { align-items: center; }
.shield-meter { width: clamp(54px, 6vw, 92px); height: 7px; padding: 1px; border: 1px solid rgba(var(--cyan-rgb), .48); background: rgba(2, 9, 11, .78); }
.shield-meter i { display: block; width: 0; height: 100%; background: var(--cyan); box-shadow: 0 0 9px rgba(var(--cyan-rgb), .85); transition: width .3s var(--ease); }
.game-control-rail { position: absolute; z-index: 6; right: max(var(--gutter), calc((100vw - var(--container)) / 2)); bottom: 38px; display: flex; align-items: center; justify-content: flex-end; gap: clamp(22px, 3vw, 46px); }
.game-options { display: flex; gap: 8px; }
.game-options button { min-height: 34px; padding: 6px 10px; border: 1px solid var(--line); color: var(--muted); background: rgba(2, 9, 11, .72); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .04em; cursor: none; transition: color .2s, border-color .2s, background .2s; }
.game-options button:hover, .game-options button[aria-pressed="true"] { color: var(--cyan); border-color: rgba(var(--cyan-rgb), .65); background: rgba(var(--cyan-rgb), .08); }
.game-options button b { color: currentColor; font-weight: 700; }
.powerup-toast { position: absolute; z-index: 7; top: 172px; left: 50%; padding: 7px 12px; border: 1px solid rgba(var(--cyan-rgb), .58); color: var(--cyan); background: rgba(2, 9, 11, .88); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .08em; opacity: 0; pointer-events: none; transform: translate(-50%, -8px); transition: opacity .18s, transform .25s var(--ease); }
.powerup-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.hero-content { position: relative; z-index: 5; width: 100%; max-width: var(--container); margin: 0 auto; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: clamp(24px, 4vh, 46px); color: var(--cyan); font-family: var(--mono); font-size: var(--text-xs); line-height: var(--leading-xs); letter-spacing: .08em; text-transform: uppercase; }
.status-dot { width: 8px; height: 8px; flex: none; background: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .12), 0 0 16px var(--cyan); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .55; box-shadow: 0 0 0 7px rgba(var(--cyan-rgb), .04), 0 0 8px var(--cyan); } }
h1 { width: max-content; max-width: 100%; overflow: visible; color: var(--white); font-size: var(--display-hero); font-weight: 650; line-height: .96; letter-spacing: .012em; text-transform: uppercase; text-shadow: 3px 0 0 rgba(255, 84, 112, .14), -3px 0 0 rgba(var(--cyan-rgb), .13); }
h1[data-powerup] { pointer-events: auto; }
h1 .hero-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}
h1 .hero-title-line--outline {
  padding: .12em .04em;
  margin: -.12em -.04em;
  overflow: visible;
  color: var(--ink);
  -webkit-text-stroke: 0;
  text-shadow: -1px -1px var(--cyan), 0 -1px var(--cyan), 1px -1px var(--cyan), -1px 0 var(--cyan), 1px 0 var(--cyan), -1px 1px var(--cyan), 0 1px var(--cyan), 1px 1px var(--cyan);
  white-space: nowrap;
}
.hero-copy { max-width: 620px; margin-top: clamp(26px, 3.5vh, 42px); color: #a5bdc1; font-size: var(--text-base); line-height: var(--leading-base); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; min-height: 54px; padding: 12px 18px 12px 24px; clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px)); font-family: var(--mono); font-size: var(--text-sm); font-weight: 700; line-height: var(--leading-sm); letter-spacing: .04em; text-transform: uppercase; transition: transform .25s var(--ease), filter .25s; }
.button span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid currentColor; }
.button:hover { transform: translateY(-3px); filter: brightness(1.14); }
.button--primary { color: var(--ink); background: var(--cyan); box-shadow: 0 0 26px rgba(var(--cyan-rgb), .18); }
.text-link { display: inline-flex; gap: 10px; color: var(--white); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: var(--text-sm); letter-spacing: .04em; text-transform: uppercase; }
.text-link span { color: var(--cyan); }
.game-instructions { display: flex; align-items: center; gap: 10px; color: var(--muted); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .06em; }
.key-icon { padding: 3px 7px; color: var(--cyan); border: 1px solid var(--line); background: rgba(2, 9, 11, .7); box-shadow: inset 0 -2px rgba(var(--cyan-rgb), .12); }
.divider { margin: 0 4px; color: rgba(var(--cyan-rgb), .35); }
.hero-side-note { position: absolute; z-index: 5; right: 16px; top: 50%; color: rgba(var(--cyan-rgb), .45); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .12em; writing-mode: vertical-rl; transform: translateY(-50%); }

.section { position: relative; padding: var(--section-space) var(--gutter); }
.section::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent); }
.section-label { display: flex; align-items: center; gap: 14px; max-width: var(--container); margin: 0 auto clamp(50px, 8vw, 100px); color: var(--cyan); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .11em; }
.section-label span { display: grid; place-items: center; width: 34px; aspect-ratio: 1; border: 1px solid var(--line); color: var(--muted); }
.display-title { color: var(--white); font-size: var(--display-section); font-weight: 570; line-height: .96; letter-spacing: .005em; text-transform: uppercase; }
.display-title em {
  color: var(--ink);
  font-style: normal;
  -webkit-text-stroke: 0;
  text-shadow: -1px -1px var(--cyan), 0 -1px var(--cyan), 1px -1px var(--cyan), -1px 0 var(--cyan), 1px 0 var(--cyan), -1px 1px var(--cyan), 0 1px var(--cyan), 1px 1px var(--cyan);
}

.intro { background: radial-gradient(circle at 76% 23%, rgba(var(--cyan-rgb), .065), transparent 26%), var(--ink); }
.intro-layout, .work-head, .process-layout, .faq-layout { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(320px, .78fr); gap: clamp(50px, 9vw, 150px); max-width: var(--container); margin: 0 auto; align-items: start; }
.intro-copy { padding-top: 10px; color: var(--muted); }
.intro-copy p + p { margin-top: 24px; }
.availability { display: grid; grid-template-columns: 10px 1fr; column-gap: 13px; margin-top: 42px; padding: 20px 0 0; border-top: 1px solid var(--line); }
.availability > span { width: 8px; height: 8px; margin-top: 7px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.availability strong { color: var(--white); font-size: var(--text-sm); line-height: var(--leading-sm); }
.availability small { grid-column: 2; color: var(--muted); font-family: var(--mono); font-size: var(--text-xs); line-height: var(--leading-xs); }
.skill-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--container); margin: clamp(72px, 10vw, 140px) auto 0; border: 1px solid var(--line); }
.skill-card { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: clamp(24px, 2.6vw, 40px); overflow: hidden; background: rgba(6, 17, 21, .54); transition: background .35s, transform .35s var(--ease); }
.skill-card + .skill-card { border-left: 1px solid var(--line); }
.skill-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -70px; bottom: -70px; border: 1px solid var(--line); transform: rotate(45deg); transition: background .3s, box-shadow .3s; }
.skill-card:hover { z-index: 2; background: var(--panel-light); transform: translateY(-8px); }
.skill-card:hover::after { background: rgba(var(--cyan-rgb), .15); box-shadow: 0 0 40px rgba(var(--cyan-rgb), .18); }
.skill-index { display: block; color: var(--muted); font-family: var(--mono); font-size: var(--text-xs); letter-spacing: .08em; }
.pixel-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-top: 50px; color: var(--cyan); border: 1px solid var(--line); font-family: var(--mono); font-size: 25px; box-shadow: inset 0 0 18px rgba(var(--cyan-rgb), .05); }
.skill-sprite {
  width: 34px;
  height: 34px;
  overflow: visible;
  fill: currentColor;
  filter: drop-shadow(2px 0 rgba(255, 84, 112, .22)) drop-shadow(0 0 6px rgba(var(--cyan-rgb), .62));
  transition: color .25s, filter .25s, transform .25s var(--ease);
}
.skill-sprite--ship { width: 35px; height: 30px; }
.skill-card:hover .skill-sprite {
  color: var(--cyan-hot);
  filter: drop-shadow(2px 0 rgba(255, 84, 112, .3)) drop-shadow(0 0 9px rgba(var(--cyan-rgb), .85));
  transform: translateY(-2px);
}
.skill-card h3 { margin-top: 34px; color: var(--white); font-size: clamp(1.5rem, 1.9vw, 2.1rem); font-weight: 480; line-height: 1.05; letter-spacing: .01em; text-transform: uppercase; }
.skill-card p { margin-top: 22px; color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.skill-card ul { display: grid; gap: 8px; margin-top: auto; padding-top: 28px; list-style: none; color: #b5c9cc; font-family: var(--mono); font-size: var(--text-xs); line-height: var(--leading-xs); }
.skill-card li::before { content: ">"; margin-right: 8px; color: var(--cyan); }

.work { background: #040c0f; }
.work-head { align-items: end; }
.work-head > p { max-width: 550px; padding-left: 20px; border-left: 1px solid var(--cyan); color: var(--muted); }
.mission-list { max-width: var(--container); margin: clamp(68px, 9vw, 120px) auto 0; border-top: 1px solid var(--line); }
.mission { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(280px, 1fr) 54px; gap: clamp(20px, 4vw, 64px); align-items: center; min-height: 170px; border-bottom: 1px solid var(--line); }
.mission-tag { color: var(--muted); font-family: var(--mono); font-size: var(--text-xs); line-height: var(--leading-xs); letter-spacing: .09em; }
.mission h3 { margin-top: 8px; color: var(--white); font-size: clamp(1.4rem, 2.1vw, 2.2rem); font-weight: 480; line-height: 1.12; letter-spacing: .01em; }
.mission > p { color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }
.mission-arrow { display: grid; place-items: center; width: 48px; aspect-ratio: 1; color: var(--cyan); border: 1px solid var(--line); transition: color .25s, background .25s; }
.mission:hover .mission-arrow { color: var(--ink); background: var(--cyan); }

.process { overflow: hidden; background: radial-gradient(circle at 0 70%, rgba(var(--cyan-rgb), .08), transparent 32%), var(--ink); }
.process-intro { max-width: 600px; margin-top: 36px; color: var(--muted); }
.process-steps { list-style: none; border-top: 1px solid var(--line); }
.process-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.process-steps li > span { color: var(--cyan); font-family: var(--mono); font-size: var(--text-sm); }
.process-steps h3 { color: var(--white); font-size: 1.35rem; font-weight: 500; line-height: 1.2; letter-spacing: .01em; }
.process-steps p { margin-top: 10px; color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }

.faq { background: #040c0f; }
.faq-layout > div:first-child > p { max-width: 500px; margin-top: 34px; color: var(--muted); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 0; color: var(--white); font-size: 1.1rem; font-weight: 500; line-height: 1.35; letter-spacing: .01em; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; color: var(--cyan); font-family: var(--mono); font-size: 1.5rem; font-weight: 400; transition: transform .25s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { max-width: 65ch; padding: 0 48px 26px 0; color: var(--muted); font-size: var(--text-sm); line-height: var(--leading-sm); }

.contact { position: relative; isolation: isolate; display: grid; place-items: center; min-height: min(900px, 90svh); padding: 110px var(--gutter); overflow: hidden; color: var(--ink); text-align: center; background: var(--cyan); }
.contact-game { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; opacity: .68; pointer-events: none; image-rendering: pixelated; mix-blend-mode: multiply; }
.contact::before { content: ""; position: absolute; z-index: -2; inset: 0; opacity: .24; background-image: linear-gradient(rgba(2, 9, 11, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 9, 11, .14) 1px, transparent 1px); background-size: 40px 40px; }
.contact-noise { z-index: 3; opacity: .38; }
.contact-content { position: relative; z-index: 1; display: grid; justify-items: center; gap: clamp(38px, 5vw, 62px); width: min(100%, 960px); }
.contact h2 { width: max-content; max-width: 100%; color: var(--ink); font-size: var(--display-contact); font-weight: 680; line-height: .88; letter-spacing: .005em; text-transform: uppercase; }
.contact-title-line { display: block; width: max-content; max-width: 100%; margin-inline: auto; white-space: nowrap; }
.contact h2 em {
  color: var(--cyan);
  font-style: normal;
  -webkit-text-stroke: 0;
  text-shadow: -2px -2px var(--ink), 0 -2px var(--ink), 2px -2px var(--ink), -2px 0 var(--ink), 2px 0 var(--ink), -2px 2px var(--ink), 0 2px var(--ink), 2px 2px var(--ink);
}
.button--dark { position: relative; color: var(--cyan); background: var(--ink); }

.site-footer { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 60px; align-items: end; padding: 64px var(--gutter); color: var(--muted); background: var(--ink); font-size: var(--text-sm); line-height: var(--leading-sm); }
.footer-brand { display: block; color: var(--white); font-family: var(--mono); font-size: 1.25rem; font-weight: 700; letter-spacing: .05em; }
.footer-brand span { color: var(--cyan); }
.site-footer > div:first-child p { max-width: 430px; margin-top: 14px; }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 8px; }
.footer-links a:hover, .footer-legal a:hover { color: var(--cyan); }
.footer-legal { align-items: flex-end; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 861px) {
  .hero { min-height: 100svh; }
}

@media (max-width: 1100px) {
  .skill-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .skill-card:nth-child(4) { border-top: 1px solid var(--line); }
  .mission { grid-template-columns: minmax(220px, .7fr) 1fr 48px; }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-cta { display: none; }
  .menu-button { justify-self: end; display: grid; gap: 7px; width: 42px; height: 42px; padding: 11px; border: 1px solid var(--line); background: transparent; }
  .menu-button span { display: block; width: 100%; height: 1px; background: var(--cyan); transition: transform .25s; }
  .menu-button[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-nav { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 1px); flex-direction: column; padding: 18px; border: 1px solid var(--line); background: rgba(2, 9, 11, .98); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 11px 8px; color: var(--muted); font-family: var(--mono); font-size: var(--text-sm); text-transform: uppercase; }
  .mobile-nav a:last-child { color: var(--cyan); }
  .hero-content { width: 100%; }
  .intro-layout, .work-head, .process-layout, .faq-layout { grid-template-columns: 1fr; gap: 52px; }
  .mission { grid-template-columns: 1fr 48px; padding: 30px 0; }
  .mission > p { grid-column: 1 / 3; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-legal { grid-column: 1 / -1; align-items: flex-start; flex-direction: row; flex-wrap: wrap; gap: 20px; padding-top: 26px; border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .site-header { min-height: 66px; }
  .hero { min-height: 820px; padding-top: 120px; padding-bottom: 110px; }
  .game-hud { top: 82px; }
  .hud-wave { display: none !important; }
  .shield-meter { width: 48px; }
  .game-control-rail { right: 20px; bottom: 24px; left: auto; }
  .game-options button { padding-inline: 8px; }
  .powerup-toast { top: 150px; width: max-content; max-width: calc(100% - 40px); text-align: center; }
  .hero-content { width: 100%; }
  .hero-copy { max-width: 92%; font-size: var(--text-base); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .game-instructions { display: none; }
  .hero-side-note { display: none; }
  .section-label { margin-bottom: 50px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card { min-height: 0; }
  .skill-card + .skill-card { border-left: 0; border-top: 1px solid var(--line); }
  .skill-card:hover { transform: none; }
  .mission { grid-template-columns: 1fr 42px; gap: 15px; }
  .mission > p { grid-column: 1 / -1; }
  .process-steps li { grid-template-columns: 38px 1fr; }
  .contact { min-height: 740px; }
  .site-footer { grid-template-columns: 1fr; gap: 36px; }
  .footer-legal { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
