:root {
  --ink: #090b10;
  --surface: #10141b;
  --surface-soft: #171c25;
  --moon: #7792b7;
  --cream: #f2efe7;
  --muted: #aab0ba;
  --salmon: #ef7866;
  --salmon-deep: #bd4e42;
  --olive: #989a19;
  --line: rgba(242, 239, 231, 0.14);
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.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;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 3px;
  transform: translateY(-150%);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(to bottom, rgba(9, 11, 16, 0.98), rgba(9, 11, 16, 0.74), transparent);
  transition: background 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(9, 11, 16, 0.9);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 58px;
  height: 62px;
  overflow: visible;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 29px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--salmon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--cream);
}

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

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  align-items: center;
  width: var(--page);
  min-height: 880px;
  padding: 142px 0 90px;
  margin: auto;
  overflow: visible;
}

.hero-glow {
  position: absolute;
  top: 8%;
  right: -14%;
  width: 720px;
  height: 720px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(79, 108, 148, 0.2), transparent 64%);
  filter: blur(10px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 16px;
  color: var(--salmon);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cinzel", Georgia, serif;
}

h1 {
  margin-bottom: 32px;
  font-size: clamp(3.6rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

h1 em {
  color: var(--salmon);
  font-weight: 500;
}

.hero-intro {
  max-width: 510px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions,
.section-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.83rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #140a09;
  background: var(--salmon);
  box-shadow: 0 12px 40px rgba(239, 120, 102, 0.15);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fb8876;
}

.button-ghost {
  color: var(--cream);
  border-color: rgba(242, 239, 231, 0.3);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: var(--moon);
  background: rgba(119, 146, 183, 0.1);
}

.social-row {
  display: flex;
  gap: 22px;
  margin-top: 30px;
}

.social-row a,
.text-link,
.about-links a {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration-color: rgba(239, 120, 102, 0.5);
  text-underline-offset: 5px;
}

.social-row a:hover,
.text-link:hover,
.about-links a:hover {
  color: var(--cream);
}

.hero-art {
  position: relative;
  min-height: 745px;
  margin-right: 0;
  padding: 34px 24px 38px;
  perspective: 1200px;
}

.cover {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 231, 0.18);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.46);
  transition: transform 240ms ease, opacity 240ms ease, box-shadow 240ms ease;
}

.cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(5, 7, 11, 0.35), transparent 42%);
}

.cover-back {
  top: 50px;
  right: 7%;
  width: 285px;
  aspect-ratio: 1280 / 1980;
  opacity: 0.38;
  transform: rotateY(-10deg) rotateZ(8deg);
}

.cover-mid {
  top: 32px;
  right: 29%;
  width: 300px;
  aspect-ratio: 1280 / 1980;
  opacity: 0.62;
  transform: rotateY(-7deg) rotateZ(-5deg);
}

.cover-front {
  top: 106px;
  right: 12%;
  width: 330px;
  aspect-ratio: 1280 / 1980;
  z-index: 3;
  transform: rotateY(-6deg);
}

.cover:hover,
.cover:focus-visible {
  z-index: 6;
  opacity: 1;
  box-shadow: 0 45px 95px rgba(0, 0, 0, 0.58);
}

.cover-back:hover,
.cover-back:focus-visible {
  transform: translateY(-28px) rotateY(-10deg) rotateZ(5deg);
}

.cover-mid:hover,
.cover-mid:focus-visible {
  transform: translateY(-28px) rotateY(-7deg) rotateZ(-3deg);
}

.cover-front:hover,
.cover-front:focus-visible {
  transform: translateY(-28px) rotateY(-3deg);
}

.cover:focus-visible {
  outline: 2px solid var(--salmon);
  outline-offset: 5px;
}

.hero-caption {
  position: absolute;
  right: 28%;
  top: 650px;
  bottom: auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 15px 20px;
  border-left: 2px solid var(--salmon);
  background: rgba(9, 11, 16, 0.84);
  backdrop-filter: blur(12px);
}

.hero-caption span {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-caption strong {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-weight: 600;
}

.pax-banner {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  width: var(--page);
  padding: 26px 32px;
  margin: 0 auto 35px;
  border: 1px solid rgba(239, 120, 102, 0.42);
  background:
    linear-gradient(100deg, rgba(239, 120, 102, 0.15), transparent 38%),
    var(--surface);
}

.pax-banner > img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.pax-banner h2 {
  margin-bottom: 2px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  line-height: 1;
}

.pax-banner p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.pax-banner .eyebrow {
  margin-bottom: 9px;
}

.button-pax {
  gap: 13px;
  color: var(--cream);
  background: var(--ink);
  border-color: rgba(242, 239, 231, 0.28);
}

.button-pax:hover,
.button-pax:focus-visible {
  background: #11151d;
  border-color: rgba(244, 178, 35, 0.65);
}

.button-pax img {
  width: 40px;
  height: 30px;
  object-fit: contain;
}

.section {
  width: var(--page);
  padding: 130px 0;
  margin: auto;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 58px;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.section-heading > p:not(.eyebrow),
.about-copy > p {
  color: var(--muted);
  font-size: 1rem;
}

.section-actions {
  margin-top: 30px;
}

.cover-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  align-items: end;
}

.cover-gallery article {
  position: relative;
  scroll-margin-top: 125px;
  transition: transform 220ms ease;
}

.cover-gallery article:nth-child(even) {
  transform: translateY(24px);
}

.cover-gallery article:hover {
  transform: translateY(-8px);
  z-index: 2;
}

.cover-gallery article:nth-child(even):hover {
  transform: translateY(16px);
}

.cover-gallery img {
  width: 100%;
  aspect-ratio: 0.59;
  object-fit: cover;
  border: 1px solid rgba(242, 239, 231, 0.18);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.35);
}

.cover-gallery span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.issue-cover {
  display: block;
  color: inherit;
  text-decoration: none;
}

.issue-cover strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(239, 120, 102, 0.55);
  text-underline-offset: 4px;
}

.issue-cover:hover strong,
.issue-cover:focus-visible strong {
  color: var(--salmon);
}

.development-section {
  width: 100%;
  padding-inline: max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(20, 27, 37, 0.38), rgba(9, 11, 16, 0));
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wip-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 9px;
  color: var(--cream);
  background: rgba(9, 11, 16, 0.78);
  border: 1px solid rgba(242, 239, 231, 0.22);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.video-copy {
  padding: 27px 28px 30px;
}

.video-copy h3 {
  margin-bottom: 8px;
  font-size: 2.2rem;
  line-height: 1;
}

.video-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.video-copy .card-kicker {
  margin-bottom: 8px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.game-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  gap: 17px;
  min-height: 230px;
  padding: 32px;
  color: inherit;
  background: var(--surface);
  text-decoration: none;
  transition: background 220ms ease;
}

.game-card-featured {
  background:
    radial-gradient(circle at 90% 15%, rgba(239, 120, 102, 0.13), transparent 15rem),
    var(--surface);
}

.game-card:hover,
.game-card:focus-visible {
  background-color: var(--surface-soft);
}

.game-number {
  color: var(--salmon);
  font-family: "Cinzel", serif;
  font-size: 1.4rem;
}

.game-card h3 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.game-card p:last-child {
  max-width: 390px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.game-card .card-kicker {
  margin-bottom: 12px;
}

.card-arrow {
  color: var(--muted);
  font-size: 1.2rem;
  transition: color 180ms ease, transform 180ms ease;
}

.game-card:hover .card-arrow,
.game-card:focus-visible .card-arrow {
  color: var(--salmon);
  transform: translate(3px, -3px);
}

.more-games {
  margin-top: 32px;
}

.pong-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(45px, 7vw, 95px);
  align-items: center;
}

.pong-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 6vw, 5.7rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.pong-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.pong-copy .external-note {
  padding-left: 17px;
  margin: 26px 0;
  border-left: 1px solid var(--moon);
  font-size: 0.78rem;
}

.pong-console {
  overflow: hidden;
  border: 1px solid rgba(119, 146, 183, 0.38);
  border-radius: 5px;
  background: #05070a;
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.42);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.console-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.55;
}

.console-bar span:first-child {
  background: var(--salmon);
  opacity: 1;
}

.console-bar strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.57rem;
  letter-spacing: 0.14em;
}

.pong-frame {
  aspect-ratio: 1 / 1;
  background: #000;
}

.pong-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 85px;
  align-items: center;
}

.about-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(152, 154, 25, 0.16), transparent 60%),
    var(--surface);
}

.about-mark::before {
  position: absolute;
  inset: 20px;
  content: "";
  border: 1px solid rgba(239, 120, 102, 0.2);
}

.about-mark img {
  position: relative;
  width: 72%;
  max-height: 340px;
  object-fit: contain;
}

.about-copy .lead {
  color: var(--cream);
  font-size: 1.25rem;
}

.about-links {
  display: flex;
  gap: 22px;
  margin-top: 28px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  width: var(--page);
  padding: 55px 0;
  margin: auto;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  font-family: "Cinzel", serif;
  font-size: 1.35rem;
}

.footer-brand span,
.copyright {
  color: var(--muted);
  font-size: 0.72rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.76rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cream);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 1000px) {
  :root {
    --page: min(100% - 40px, 760px);
  }

  .site-header {
    padding-inline: 22px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--cream);
    background: transparent;
    border: 1px solid var(--line);
  }

  .menu-toggle span:not(.sr-only) {
    position: absolute;
    width: 18px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-toggle span:first-child {
    transform: translateY(-4px);
  }

  .menu-toggle span:nth-child(2) {
    transform: translateY(4px);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 87px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 22px 24px;
    background: rgba(9, 11, 16, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 150px;
  }

  .hero-art {
    min-height: 745px;
    margin: 60px 0 0;
  }

  .cover-back {
    right: 8%;
  }

  .cover-mid {
    right: 36%;
  }

  .cover-front {
    right: 22%;
  }

  .hero-caption {
    right: 19%;
    top: 650px;
  }

  .pax-banner {
    grid-template-columns: 95px 1fr;
  }

  .pax-banner > img {
    width: 82px;
    height: 82px;
  }

  .pax-banner .button {
    grid-column: 2;
    justify-self: start;
  }

  .cover-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-gallery article:nth-child(even) {
    transform: none;
  }

  .cover-gallery article:hover,
  .cover-gallery article:nth-child(even):hover {
    transform: translateY(-5px);
  }

  .development-section {
    padding-inline: max(20px, calc((100vw - 760px) / 2));
  }

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

  .pong-section {
    grid-template-columns: 1fr;
  }

  .pong-copy {
    max-width: 650px;
  }

  .pong-console {
    width: min(100%, 650px);
    margin: auto;
  }

  .about-section {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 45px;
  }
}

@media (max-width: 680px) {
  :root {
    --page: calc(100% - 32px);
  }

  .site-header {
    height: 76px;
    padding-inline: 16px;
  }

  .brand-mark {
    width: 52px;
    height: 58px;
  }

  .brand-name {
    font-size: 0.76rem;
    letter-spacing: 0.17em;
  }

  .site-nav {
    top: 75px;
  }

  .hero {
    padding-top: 130px;
  }

  h1 {
    font-size: clamp(2.65rem, 10.8vw, 3.4rem);
  }

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

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 555px;
    margin-top: 45px;
  }

  .cover-back {
    top: 42px;
    right: -7%;
    width: 210px;
  }

  .cover-mid {
    top: 20px;
    right: 35%;
    width: 215px;
  }

  .cover-front {
    top: 65px;
    right: 12%;
    width: 230px;
  }

  .hero-caption {
    right: 4%;
    top: 455px;
    bottom: auto;
  }

  .pax-banner {
    grid-template-columns: 74px 1fr;
    gap: 17px;
    padding: 22px 18px;
  }

  .pax-banner > img {
    width: 68px;
    height: 68px;
  }

  .pax-banner .button {
    grid-column: 1 / -1;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(3rem, 14vw, 4rem);
  }

  .cover-gallery {
    display: flex;
    gap: 12px;
    width: calc(100vw - 16px);
    padding: 0 16px 18px;
    margin-left: -16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .cover-gallery article {
    min-width: 62vw;
    scroll-snap-align: start;
  }

  .development-section {
    padding-inline: 16px;
  }

  .video-copy,
  .game-card {
    padding: 23px 20px;
  }

  .game-card {
    grid-template-columns: 36px 1fr 18px;
    min-height: 205px;
    gap: 10px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-mark {
    min-height: 350px;
  }

  .about-mark img {
    max-height: 270px;
  }

  .about-links,
  .site-footer,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    display: flex;
  }
}

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

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

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