/* Copyright © 2026 Recreari Studios. All rights reserved. */

:root {
  --space-950: #03070e;
  --space-900: #07101c;
  --space-800: #0b1928;
  --ink: #eef9ff;
  --muted: #a9c3d0;
  --moonstone: #b9c3c8;
  --steel: #77838a;
  --orange: #f36b28;
  --brand-red: #ff2438;
  --panel: rgb(7 16 28 / 82%);
  --line: rgb(185 195 200 / 24%);
  --shadow: 0 1.25rem 4rem rgb(0 0 0 / 42%);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Arial Narrow", "Roboto Condensed", Impact, var(--sans);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: radial-gradient(circle at 12% 8%, #14334a 0, var(--space-900) 31rem, transparent 80rem), radial-gradient(circle at 88% 52%, rgb(24 52 70 / 28%), transparent 42rem), linear-gradient(155deg, var(--space-900), var(--space-950) 62%);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .22vw, 1.125rem);
  line-height: 1.6;
}

body::after {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .18;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgb(185 195 200 / 4%) 4px);
  mix-blend-mode: screen;
}

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

a {
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--moonstone);
  outline-offset: 4px;
  box-shadow: 0 0 0 .45rem rgb(185 195 200 / 18%);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  transform: translateY(-180%);
  color: var(--space-950);
  background: var(--moonstone);
  font-weight: 800;
  transition: transform .2s ease;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2.5rem, 76rem);
  min-height: 6.75rem;
  margin: 0 auto;
  border-bottom: 1px solid rgb(185 195 200 / 16%);
  background: linear-gradient(180deg, rgb(3 7 14 / 88%), rgb(3 7 14 / 26%));
  backdrop-filter: blur(.65rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  color: var(--ink);
  letter-spacing: .12em;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 700;
}

.brand > span {
  display: grid;
  line-height: .82;
}

.brand b {
  color: var(--moonstone);
  font-weight: 800;
}

.brand-mark {
  width: 5rem;
  height: auto;
  filter: drop-shadow(0 0 .65rem rgb(255 36 56 / 34%));
}

#primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

#primary-navigation a {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  color: var(--ink);
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

#primary-navigation a::after {
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--orange);
  content: "";
  transition: transform .2s ease;
}

#primary-navigation a:hover::after, #primary-navigation a:focus-visible::after, #primary-navigation a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

#primary-navigation a.is-active {
  color: var(--moonstone);
}

.menu-toggle {
  display: none;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgb(3 7 14 / 65%);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(42rem, 100svh);
  isolation: isolate;
  overflow: hidden;
  align-items: start;
  padding: clamp(11.5rem, 12vh, 12rem) max(1.25rem, calc((100% - 71rem) / 2)) clamp(4.5rem, 10vh, 7rem);
}

.hero::before, .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.hero::before {
  background: linear-gradient(90deg, rgb(3 7 14 / 88%) 0%, rgb(3 7 14 / 36%) 53%, rgb(3 7 14 / 75%) 100%), linear-gradient(0deg, var(--space-950), transparent 45%);
}

.hero::after {
  background: radial-gradient(ellipse at center, transparent 25%, rgb(0 2 7 / 50%) 100%);
}

.hero-background {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.8) contrast(1.08);
  transform: scale(1.035);
  animation: background-drift 30s ease-in-out infinite alternate;
}

.hero-stars, .hero-stars::after {
  position: absolute;
  z-index: -2;
  inset: -8%;
  background-image: radial-gradient(circle, rgb(238 249 255 / 72%) 0 1px, transparent 1.5px);
  background-size: 5.5rem 5.5rem;
  content: "";
  opacity: .34;
  animation: star-drift 32s linear infinite alternate;
}

.hero-stars::after {
  inset: 0;
  background-size: 9rem 9rem;
  opacity: .22;
  animation-duration: 48s;
  animation-direction: alternate-reverse;
}

.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  pointer-events: none;
}

.hero-art img:first-child {
  position: absolute;
  top: clamp(7rem, 16vh, 10rem);
  right: max(2rem, calc((100% - 71rem) / 2 + 1rem));
  width: min(39vw, 31rem);
  opacity: .9;
  filter: drop-shadow(0 1.5rem 1.5rem rgb(0 0 0 / 45%));
  animation: asteroid-drift 17s ease-in-out infinite alternate;
  z-index: 1;
}

.hero-art img:last-child {
  position: absolute;
  z-index: 2;
  top: calc(clamp(7rem, 16vh, 10rem) + min(39vw, 31rem) - min(6.7vw, 5.2rem));
  right: max(6rem, calc((100% - 71rem) / 2 + 6rem));
  width: min(22vw, 17rem);
  filter: drop-shadow(0 0 1.6rem rgb(185 195 200 / 25%));
  animation: ship-arrival 1.15s cubic-bezier(.2, .75, .25, 1) both, ship-hover 5.5s 1.15s ease-in-out infinite alternate;
}

.hero-content {
  width: min(100%, 47rem);
}

.hero-content > .eyebrow, .hero-content > h1, .hero-content > .hero-game, .hero-content > p:not(.eyebrow, .hero-game), .hero-actions {
  opacity: 0;
  transform: translateY(1rem);
  animation: hero-reveal .65s ease-out var(--hero-delay, 0s) both;
}

.hero-content > .eyebrow {
  --hero-delay: .12s;
}

.hero-content > h1 {
  --hero-delay: .24s;
}

.hero-content > .hero-game {
  --hero-delay: .42s;
}

.hero-content > p:not(.eyebrow, .hero-game) {
  --hero-delay: .56s;
}

.hero-actions {
  --hero-delay: .7s;
}

.hero-game {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem .85rem;
  margin: 1.25rem 0 0;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}

.hero-game strong {
  color: var(--moonstone);
  font-size: 1rem;
}

.hero-game span:last-child {
  color: var(--orange);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
}

.steam-status {
  display: inline-grid;
  min-height: 44px;
  place-items: center;
  padding: .65rem 1rem;
  border: 1px solid rgb(243 107 40 / 50%);
  color: #ffd0b5;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 800;
}

.hero-telemetry {
  position: absolute;
  right: max(1.25rem, calc((100% - 71rem) / 2));
  bottom: 2rem;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .62rem;
}

.hero-telemetry li {
  opacity: 0;
  transform: translateY(.6rem);
  animation: hero-reveal .55s ease-out var(--hero-delay, .84s) both;
}

.hero-telemetry li:nth-child(2) {
  --hero-delay: .96s;
}

.hero-telemetry li:nth-child(3) {
  --hero-delay: 1.08s;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .7rem;
  color: var(--moonstone);
  letter-spacing: .17em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
  transition: transform .12s ease, border-color .2s ease, box-shadow .12s ease;
}

.eyebrow::before {
  width: 1.9rem;
  height: 1px;
  background: var(--orange);
  content: "";
}

h1, h2 {
  margin: 0;
  font-family: var(--display);
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.25rem, 8.6vw, 7.75rem);
  text-wrap: balance;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  text-wrap: balance;
}

.hero-content > p:not(.eyebrow, .hero-game) {
  max-width: 39rem;
  margin: 1rem 0 1.4rem;
  color: #d4e9f2;
  font-size: clamp(1.05rem, 1rem + .45vw, 1.35rem);
}

.button {
  position: relative;
  display: inline-grid;
  min-height: 44px;
  overflow: hidden;
  place-items: center;
  padding: .74rem 1.15rem;
  border: 1px solid var(--moonstone);
  color: var(--ink);
  background: rgb(7 16 28 / 70%);
  box-shadow: inset 0 0 1.25rem rgb(185 195 200 / 7%), 0 .4rem 1.5rem rgb(0 0 0 / 22%);
  letter-spacing: .095em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.button::before {
  position: absolute;
  inset: 0;
  transform: translateX(-115%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(185 195 200 / 42%), transparent);
  content: "";
  transition: transform .45s ease;
}

.button:hover::before, .button:focus-visible::before {
  transform: translateX(115%) skewX(-20deg);
}

.button:hover {
  border-color: var(--orange);
  color: #fff;
}

.button:active {
  transform: translateY(2px) scale(.99);
  box-shadow: inset 0 0 1.25rem rgb(185 195 200 / 15%), 0 .1rem .5rem rgb(0 0 0 / 30%);
}

.main-content > [role="region"] {
  scroll-margin-top: 5.5rem;
}

.main-content > [role="region"]:not(.hero) {
  position: relative;
  width: min(100% - 2.5rem, 71rem);
  margin: 0 auto;
  padding: clamp(5rem, 11vw, 9rem) 0;
}

.main-content {
  background: radial-gradient(circle at 8% 24%, rgb(31 76 105 / 24%), transparent 34rem), radial-gradient(circle at 92% 56%, rgb(243 107 40 / 9%), transparent 30rem), radial-gradient(circle at 20% 88%, rgb(28 74 103 / 26%), transparent 38rem), linear-gradient(180deg, transparent 18%, rgb(11 25 40 / 32%) 54%, rgb(13 32 49 / 62%) 100%);
}

.featured-game {
  padding-top: clamp(3.5rem, 5vw, 5rem) !important;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading::after, .featured-game::before, .manifesto::before, .contact::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--moonstone), transparent 64%);
  content: "";
}

.section-heading::after {
  top: auto;
  bottom: -1rem;
  opacity: .35;
}

.game-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, .7fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
}

.game-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.game-slides {
  position: relative;
  aspect-ratio: 1066 / 600;
  overflow: hidden;
  background: #03070e;
}

.slide-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  place-items: center;
  gap: .85rem;
  color: var(--moonstone);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .68rem;
  transition: opacity .5s ease;
}

.slide-loader-graphic {
  width: 2.75rem;
  aspect-ratio: 1;
  border: 2px solid rgb(185 195 200 / 20%);
  border-top-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 1.5rem rgb(243 107 40 / 18%);
  animation: slide-loader-spin 1s linear infinite;
}

.game-slides.is-ready .slide-loader {
  opacity: 0;
  pointer-events: none;
}

.game-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: contain;
  background: #03070e;
  transition: opacity 1.5s ease-in-out, filter .35s ease;
}

.game-slide.is-active {
  z-index: 1;
  opacity: 1;
}

.game-art:hover .game-slide {
  filter: saturate(1.08) brightness(1.04);
}

@keyframes slide-loader-spin {
  to {
    transform: rotate(1turn);
  }
}

.game-caption {
  position: static;
  margin: 0;
  padding: .75rem 1rem;
  border-top: 1px solid var(--line);
  color: #e6f9ff;
  background: rgb(3 7 14 / 98%);
  font-size: .75rem;
}

.game-copy {
  padding: clamp(1.3rem, 3vw, 2.3rem);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgb(16 38 56 / 88%), var(--panel));
  box-shadow: var(--shadow);
}

.game-copy > :first-child {
  margin-top: 0;
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.75rem);
  line-height: 1.2;
}

.game-copy > :last-child {
  margin-bottom: 0;
}

.coming-soon {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .65rem;
  color: var(--orange);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
}

.coming-soon span:last-child {
  color: var(--moonstone);
}

.editorial-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin: 1.25rem 0;
}

.editorial-panels p {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: .8rem;
  border-left: 1px solid var(--steel);
  background: rgb(3 7 14 / 40%);
}

.editorial-panels strong {
  color: var(--ink);
  text-transform: uppercase;
  font-size: .75rem;
}

.editorial-panels span {
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.4;
}

[data-depth-card] {
  transform: perspective(60rem) rotateX(var(--depth-rotate-x, 0deg)) rotateY(var(--depth-rotate-y, 0deg)) translateY(var(--depth-lift, 0));
  transform-style: preserve-3d;
  transition: transform .18s ease-out;
}

[data-depth-card].is-depth-active {
  --depth-lift: -.22rem;
  will-change: transform;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, .7fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
}

.manifesto > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -1rem;
}

.manifesto-copy {
  color: var(--muted);
}

.manifesto-copy p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 1rem + .48vw, 1.45rem);
  line-height: 1.45;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.transmission {
  width: 100% !important;
  min-height: 27rem;
  padding-right: max(1.25rem, calc((100% - 71rem) / 2)) !important;
  padding-left: max(1.25rem, calc((100% - 71rem) / 2)) !important;
  overflow: hidden;
  text-align: right;
  background: linear-gradient(105deg, rgb(3 7 14 / 88%), rgb(10 25 39 / 34%)), url("assets/images/background.jpg") center / cover;
  box-shadow: inset 0 0 8rem rgb(0 0 0 / 75%);
}

.transmission::after {
  position: absolute;
  top: 50%;
  right: -8rem;
  width: 25rem;
  aspect-ratio: 1;
  border: 1px solid rgb(185 195 200 / 28%);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgb(185 195 200 / 4%), 0 0 0 8rem rgb(185 195 200 / 3%);
  content: "";
  transform: translateY(-50%);
}

.transmission > * {
  position: relative;
  z-index: 1;
  max-width: 45rem;
}

.transmission > * {
  margin-left: auto;
  text-align: right;
}

.transmission > .eyebrow {
  justify-content: flex-end;
}

.transmission > p:last-child {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(14rem, .7fr) minmax(0, 1fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}

.contact > div > p:last-child {
  color: var(--muted);
}

#contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.form-field {
  display: grid;
  gap: .35rem;
}

.form-field label {
  color: #c8e7ef;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}

.form-field input, .form-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgb(185 195 200 / 32%);
  border-radius: 0;
  padding: .65rem .75rem;
  color: var(--ink);
  background: rgb(0 5 11 / 64%);
}

.form-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-field input:focus, .form-field textarea:focus {
  border-color: var(--moonstone);
  outline: none;
  box-shadow: 0 0 0 3px rgb(185 195 200 / 16%);
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

#form-status {
  min-height: 1.6em;
  margin: 0;
  color: var(--moonstone);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.5;
}

#form-status:empty {
  display: none;
}

#form-status:not(:empty) {
  padding: .85rem 1rem;
  border: 1px solid rgb(185 195 200 / 48%);
  background: rgb(7 16 28 / 88%);
  box-shadow: inset .25rem 0 0 var(--moonstone), 0 .5rem 1.25rem rgb(0 0 0 / 22%);
}

#form-status.is-success {
  border-color: rgb(102 225 166 / 58%);
  color: #b7f7d4;
  background: rgb(13 55 42 / 72%);
  box-shadow: inset .25rem 0 0 #66e1a6, 0 .5rem 1.25rem rgb(0 0 0 / 22%);
}

#form-status.is-error {
  border-color: rgb(255 126 94 / 68%);
  color: #ffd0c2;
  background: rgb(83 27 25 / 76%);
  box-shadow: inset .25rem 0 0 #ff7e5e, 0 .5rem 1.25rem rgb(0 0 0 / 22%);
}

#contact-form.is-sending .button {
  cursor: progress;
  opacity: .72;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, 71rem);
  margin: 0 auto;
  padding: 1.8rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--moonstone);
  text-underline-offset: .25em;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  gap: .65rem;
  color: var(--moonstone) !important;
  text-decoration: none;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
}

.footer-brand .brand-mark {
  width: 8rem;
  height: auto;
}

.footer-meta {
  display: grid;
  justify-items: end;
}

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity .65s ease, transform .65s ease;
}

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

.nav-open {
  overflow: hidden;
}

@keyframes ship-hover {
  from {
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(-.8rem, -1rem, 0) rotate(2deg);
  }

}

@keyframes ship-arrival {
  from {
    opacity: 0;
    transform: translate3d(5rem, 3rem, 0) rotate(8deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(-2deg);
  }

}

@keyframes asteroid-drift {
  from {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }

  to {
    transform: translate3d(-1.5rem, 1rem, 0) rotate(5deg);
  }

}

@keyframes star-drift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(2rem, 1.25rem, 0);
  }

}

@keyframes background-drift {
  from {
    object-position: 48% 50%;
  }

  to {
    object-position: 52% 48%;
  }

}

@keyframes hero-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (hover: hover) and (pointer: fine) {
  .hero-background {
    transform: scale(1.035) translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    transition: transform .35s ease-out;
  }

  .hero-art img:last-child {
    transition: transform .35s ease-out;
  }

}

@media (max-width: 960px) {
  .hero {
    min-height: max(44rem, 100svh);
  }

  .hero-art img:first-child {
    right: -3rem;
    width: min(54vw, 30rem);
  }

  .hero-art img:last-child {
    top: calc(clamp(7rem, 16vh, 10rem) + min(54vw, 30rem) - min(8.85vw, 4.6rem));
    right: 8%;
    width: min(29vw, 15rem);
  }

  .game-grid, .manifesto, .contact {
    grid-template-columns: 1fr;
  }

  .manifesto > .eyebrow {
    grid-column: auto;
  }

  .manifesto h2 {
    max-width: 13ch;
  }

  .contact > div {
    max-width: 35rem;
  }

}

@media (max-width: 680px) {
  .site-header {
    flex-wrap: wrap;
    align-content: center;
    width: calc(100% - 1.5rem);
    min-height: 5.75rem;
    padding: .35rem 0 .5rem;
  }

  .brand {
    letter-spacing: .035em;
    font-size: 2rem;
  }

  .brand-mark {
    width: 4.4rem;
    height: auto;
  }

  #primary-navigation {
    position: static;
    display: grid;
    flex: 1 0 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: .35rem 0 0;
    border-top: 1px solid var(--line);
    background: rgb(3 7 14 / 78%);
  }

  #primary-navigation a {
    justify-content: center;
    padding: .35rem .25rem;
  }

  .js-enabled .site-header {
    flex-wrap: nowrap;
    padding: 0;
  }

  .js-enabled .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .js-enabled #primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: .5rem;
    border: 1px solid var(--line);
    background: rgb(3 7 14 / 96%);
    box-shadow: var(--shadow);
  }

  .js-enabled:not(.nav-open) #primary-navigation {
    display: none;
  }

  .js-enabled.nav-open #primary-navigation {
    display: grid;
  }

  .js-enabled #primary-navigation a {
    justify-content: start;
    padding: .55rem .8rem;
  }

  .hero {
    min-height: max(40rem, 100svh);
    padding-right: 1.25rem;
    padding-bottom: 4rem;
    padding-left: 1.25rem;
  }

  .hero::before {
    background: linear-gradient(90deg, rgb(3 7 14 / 90%), rgb(3 7 14 / 48%)), linear-gradient(0deg, var(--space-950), transparent 52%);
  }

  .hero-art img:first-child {
    top: 7rem;
    right: -4rem;
    width: 19rem;
    opacity: .58;
  }

  .hero-art img:last-child {
    top: 22rem;
    right: 1.25rem;
    bottom: auto;
    width: 7.8rem;
  }

  .hero-stars {
    opacity: .24;
  }

  .hero-telemetry {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .hero-telemetry li:nth-child(n+3) {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .main-content > [role="region"]:not(.hero) {
    width: calc(100% - 2.5rem);
    padding: 4.5rem 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 1rem;
  }

  .transmission {
    min-height: 24rem;
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
  }

  .transmission::after {
    right: -13rem;
    opacity: .55;
  }

  .editorial-panels {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
    width: calc(100% - 2.5rem);
  }

  .footer-meta {
    justify-items: start;
  }

}

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

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

  .hero-background, .hero-stars, .hero-stars::after, .hero-art img, .hero-content > *, .hero-telemetry li {
    animation: none !important;
  }

  .hero-background, .hero-art img {
    transform: none !important;
  }

  .hero-content > .eyebrow, .hero-content > h1, .hero-content > .hero-game, .hero-content > p:not(.eyebrow, .hero-game), .hero-actions, .hero-telemetry li {
    opacity: 1;
    transform: none;
  }

  [data-depth-card], .button:active {
    transform: none !important;
    transition: none !important;
  }

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

}
