:root {
  --black: #050608;
  --ink: #11141a;
  --white: #f6f7f8;
  --blue: #9dcbf3;
  --blue-bright: #b9dcfa;
  --muted: #9299a6;
  --orange: #ffab32;
  --line: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.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;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 4.5vw;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.65) translateY(-10%);
}

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

.site-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

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

.nav-contact {
  padding: 12px 18px;
  color: var(--black);
  background: var(--white);
  border-radius: 100px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 190px 7vw 90px;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 77% 48%, rgba(120, 178, 229, 0.17), transparent 23%),
    radial-gradient(circle at 70% 65%, rgba(255, 255, 255, 0.07), transparent 32%);
  content: "";
}

.hero-stars {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.65;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle, #a9d4f5 0 1px, transparent 1.5px);
  background-position: 0 0, 48px 72px;
  background-size: 137px 137px, 193px 193px;
  mask-image: linear-gradient(to right, transparent 10%, black 65%);
}

.eyebrow {
  margin: 0 0 25px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(68px, 9vw, 144px);
  line-height: 0.83;
}

.hero h1 em {
  color: var(--blue-bright);
  font-weight: 400;
}

.hero-copy {
  max-width: 530px;
  margin: 42px 0 0;
  color: #bcc2cb;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 40px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--blue);
  gap: 42px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-cta span {
  color: var(--blue);
  transition: transform 180ms ease;
}

.hero-cta:hover span {
  transform: translateY(4px);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  right: -2vw;
  bottom: -12vw;
  width: min(52vw, 730px);
  aspect-ratio: 1;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(178, 217, 250, 0.18);
  border-radius: 50%;
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  border: 1px solid rgba(178, 217, 250, 0.09);
  border-radius: 50%;
  content: "";
}

.orbit-ring::before {
  inset: 10%;
}

.orbit-ring::after {
  inset: 25%;
}

.penguin-cameo {
  position: absolute;
  top: 12%;
  left: 12%;
  width: 67%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 100px rgba(137, 194, 240, 0.15);
}

.penguin-cameo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateY(-8%);
}

.games-section {
  padding: 150px 6vw 180px;
  background: var(--white);
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto 110px;
  border-bottom: 1px solid #ccd0d5;
  padding-bottom: 45px;
}

.section-heading .eyebrow {
  color: #397cad;
}

.section-heading h2 {
  font-size: clamp(50px, 7vw, 100px);
  line-height: 0.95;
  text-align: right;
}

.game-card {
  display: grid;
  max-width: 1320px;
  margin: 0 auto 150px;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

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

.game-card-reverse {
  grid-template-columns: minmax(310px, 0.75fr) minmax(0, 1.45fr);
}

.game-card-reverse .game-art {
  grid-column: 2;
}

.game-card-reverse .game-details {
  grid-row: 1;
  grid-column: 1;
}

.game-art {
  position: relative;
  overflow: hidden;
  background: #111;
  box-shadow: 0 28px 65px rgba(15, 24, 35, 0.18);
}

.game-art::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  content: "";
  pointer-events: none;
}

.game-art img {
  aspect-ratio: 1.6;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.game-card:hover .game-art img {
  transform: scale(1.035);
}

.game-number {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-family: Georgia, serif;
  font-size: 34px;
}

.game-meta {
  margin: 0 0 22px;
  color: #457da7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.game-details h3 {
  margin: 0 0 27px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 5vw, 77px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.game-details > p:not(.game-meta) {
  margin: 0;
  color: #5d636c;
  font-size: 17px;
  line-height: 1.75;
}

.status {
  display: flex;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
  color: #2f343a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status i {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 171, 50, 0.13);
}

.about-section {
  display: grid;
  min-height: 760px;
  grid-template-columns: 0.9fr 1.1fr;
  background:
    radial-gradient(circle at 20% 45%, rgba(124, 183, 231, 0.14), transparent 31%),
    #080a0e;
}

.about-mark {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.about-mark::before {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(168, 211, 246, 0.16);
  border-radius: 50%;
  content: "";
}

.about-mark img {
  position: relative;
  width: min(65%, 480px);
  border-radius: 50%;
  clip-path: circle(36% at 50% 36%);
  transform: scale(1.28) translateY(8%);
}

.about-copy {
  display: flex;
  max-width: 790px;
  padding: 110px 9vw 110px 8vw;
  flex-direction: column;
  justify-content: center;
}

.about-copy h2 {
  margin-bottom: 42px;
  font-size: clamp(57px, 6.5vw, 98px);
  line-height: 0.92;
}

.about-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 22px;
  color: #aeb5bf;
  font-size: 17px;
  line-height: 1.75;
}

.about-copy .about-lead {
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1.55;
}

.contact-section {
  padding: 150px 7vw;
  text-align: center;
  background: var(--blue-bright);
  color: var(--ink);
}

.contact-section .eyebrow {
  color: #306a94;
}

.contact-section h2 {
  font-size: clamp(65px, 9vw, 130px);
  line-height: 0.86;
}

.contact-section > p:not(.eyebrow) {
  margin: 35px 0 30px;
  color: #3d5263;
  font-size: 17px;
}

.email-link {
  display: inline-flex;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
  gap: 35px;
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 600;
  text-decoration: none;
}

.email-link span {
  transition: transform 180ms ease;
}

.email-link:hover span {
  transform: translate(4px, -4px);
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 4.5vw;
  color: #7f8792;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

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

@media (max-width: 900px) {
  .site-header {
    padding: 18px 22px;
  }

  .menu-toggle {
    position: relative;
    z-index: 30;
    display: flex;
    width: 42px;
    height: 42px;
    padding: 11px 9px;
    border: 0;
    background: transparent;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--white);
    transition: transform 200ms ease;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    transform: translateY(-3px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    opacity: 0;
    visibility: hidden;
    background: rgba(5, 6, 8, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 38px;
    transition:
      opacity 200ms ease,
      visibility 200ms ease;
  }

  .site-nav a {
    font-family: Georgia, serif;
    font-size: 35px;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .nav-contact {
    padding: 13px 24px;
    color: var(--black);
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
  }

  .menu-open .site-nav {
    opacity: 1;
    visibility: visible;
  }

  .hero {
    padding: 150px 24px 80px;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(62px, 16.5vw, 115px);
  }

  .hero-copy {
    max-width: 470px;
  }

  .hero-orbit {
    right: -20vw;
    bottom: -4vw;
    width: 76vw;
    opacity: 0.75;
  }

  .games-section {
    padding: 100px 24px 110px;
  }

  .section-heading {
    display: block;
    margin-bottom: 70px;
  }

  .section-heading h2 {
    text-align: left;
  }

  .game-card,
  .game-card-reverse {
    display: flex;
    margin-bottom: 100px;
    flex-direction: column;
    gap: 38px;
    align-items: stretch;
  }

  .game-card-reverse .game-art,
  .game-card-reverse .game-details {
    grid-column: auto;
    grid-row: auto;
  }

  .game-details {
    max-width: 620px;
  }

  .about-section {
    display: block;
  }

  .about-mark {
    min-height: 500px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .about-copy {
    padding: 90px 24px 100px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 860px;
  }

  .hero h1 {
    font-size: 63px;
  }

  .hero-orbit {
    right: -26vw;
    bottom: -2vw;
    width: 95vw;
  }

  .game-art img {
    aspect-ratio: 1.25;
  }

  .game-details h3 {
    font-size: 46px;
  }

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

  .contact-section {
    padding: 110px 20px;
  }

  .contact-section h2 {
    font-size: 61px;
  }

  .email-link {
    gap: 15px;
    font-size: 16px;
  }

  footer {
    gap: 12px;
    flex-direction: column;
    text-align: center;
  }
}

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

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