:root {
  --black: #0b0d10;
  --panel: #101319;
  --white: #f4f3ee;
  --muted: #9b9fa6;
  --line: rgba(255, 255, 255, 0.18);
  --red: #ed5b62;
  --blue: #318fc1;
  --content: 1320px;
  --gutter: clamp(24px, 5vw, 76px);
  --transition: 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.presentation-page {
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 24px;
  right: 0;
  left: 0;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin-inline: auto;
}

.nav-shell {
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 8px 10px 8px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(17, 20, 25, 0.72);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: block;
  overflow: hidden;
}

.brand {
  width: 146px;
  height: 50px;
}

.brand img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  filter: brightness(0) invert(1);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.76rem;
  font-weight: 650;
}

nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  transition: color 180ms ease;
}

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

nav a:hover,
nav a:focus-visible,
nav a.is-active {
  color: #fff;
}

nav a.is-active::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
}

.contact-button {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.31);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 680;
  transition: background 180ms ease, color 180ms ease;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--white);
  color: var(--black);
}

.stage {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.panel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 560ms;
}

.panel.is-active,
.panel.is-exiting {
  z-index: 1;
  visibility: visible;
  transition-delay: 0s;
}

.panel.is-active {
  pointer-events: auto;
}

.presentation-page.is-transitioning .panel {
  pointer-events: none;
}

.panel-background,
.panel-shade {
  position: fixed;
  inset: 0;
  transition: opacity 560ms ease;
}

.panel-background {
  opacity: 0;
}

.panel-shade {
  opacity: 1;
}

.panel-background {
  background-color: var(--panel);
  background-position: center;
  background-size: cover;
  transform: scale(1.035) translate3d(0, 0, 0);
  transition:
    opacity 560ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panel.is-active .panel-background {
  opacity: 1;
}

.panel.is-active .panel-shade {
  opacity: 0;
}

.panel.is-active .panel-background {
  transform: scale(1);
}

.panel-home .panel-background {
  background-image: url("hero-bg.webp");
  background-position: center;
}

.panel-games .panel-background {
  background-image: url("circulate-bg.webp");
  background-position: center;
}

.panel-about .panel-background {
  background-image: url("hero-bg.webp");
  background-position: 72% center;
  filter: saturate(0.45);
}

.panel-contact .panel-background {
  background:
    linear-gradient(110deg, #0b0d10 0%, #11151a 62%, #0d1115 100%);
}

.panel-shade {
  background: rgba(6, 8, 11, 0.55);
}



.panel-about .panel-shade {
  background: rgba(7, 9, 12, 0.84);
}

.panel-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  min-height: 100%;
  margin-inline: auto;
  padding: 132px 0 94px;
}

.platforms a {
  color: inherit;
  text-decoration: none;
}

.platforms a:hover {
  text-decoration: underline;
}


.panel-content h1,
.panel-content h2,
.panel-content .panel-kicker,
.panel-content .home-statement,
.panel-content .game-type,
.panel-content .games-copy,
.panel-content.about-content > p:last-child,
.panel-content .contact-heading > a,
.panel-content form {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 220ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.panel.is-exiting .panel-content h1,
.panel.is-exiting .panel-content h2 {
  opacity: 0;
  transform: translate3d(-24px, 0, 0);
}

.panel.is-exiting .panel-content .panel-kicker,
.panel.is-exiting .panel-content .home-statement,
.panel.is-exiting .panel-content .game-type,
.panel.is-exiting .panel-content .games-copy,
.panel.is-exiting .panel-content.about-content > p:last-child,
.panel.is-exiting .panel-content .contact-heading > a,
.panel.is-exiting .panel-content form {
  opacity: 0;
  transform: translate3d(20px, 0, 0);
}

.panel.is-entering .panel-content h1,
.panel.is-entering .panel-content h2 {
  opacity: 0;
  transform: translate3d(24px, 0, 0);
}

.panel.is-entering .panel-content .panel-kicker,
.panel.is-entering .panel-content .home-statement,
.panel.is-entering .panel-content .game-type,
.panel.is-entering .panel-content .games-copy,
.panel.is-entering .panel-content.about-content > p:last-child,
.panel.is-entering .panel-content .contact-heading > a,
.panel.is-entering .panel-content form {
  opacity: 0;
  transform: translate3d(-20px, 0, 0);
}

.panel-kicker,
.game-type,
.platforms {
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.panel-kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
}

.home-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.home-content::after {
  content: "";
  width: min(420px, 42vw);
  height: 2px;
  margin-top: 36px;
  background: linear-gradient(90deg, var(--blue) 0 24%, rgba(255, 255, 255, 0.35) 24% 100%);
}

.home-content h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(4.8rem, 8.5vw, 7.8rem);
  font-weight: 790;
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.home-statement {
  max-width: 100%;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.45vw, 1.3rem);
  font-weight: 520;
  line-height: 1.24;
}

.games-content {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(310px, 0.6fr);
  align-items: center;
  gap: clamp(52px, 8vw, 130px);
}

.games-heading h2,
.about-content h2,
.contact-heading h2 {
  margin: 0;
  font-weight: 790;
  line-height: 0.82;
  letter-spacing: -0.02em;
}

.games-heading h2 {
  font-size: clamp(4.8rem, 11vw, 10rem);
}

.game-type {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 0;
  color: var(--red);
}

.game-type::before {
  content: "";
  width: 40px;
  height: 2px;
  background: var(--red);
}

.games-copy {
  align-self: end;
  padding-bottom: clamp(20px, 10vh, 105px);
}

.game-description {
  margin: 0 0 30px;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  font-weight: 460;
  line-height: 1.36;
}

.game-metadata {
  padding-top: 22px;
  margin: 0 0 35px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.9;
}

.game-metadata span {
  color: var(--blue);
}

.platforms {
  margin: 0;
}

.platforms span {
  color: var(--red);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-content h2 {
  font-size: clamp(4rem, 6.3vw, 6.4rem);
}

.about-content > p:last-child {
  max-width: 820px;
  padding-left: clamp(22px, 5vw, 74px);
  margin: 58px 0 0;
  border-left: 2px solid var(--blue);
  color: #d6d6d3;
  font-size: clamp(1.35rem, 2.8vw, 2.5rem);
  font-weight: 420;
  line-height: 1.32;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(430px, 1.22fr);
  align-items: center;
  gap: clamp(70px, 11vw, 170px);
}

.contact-heading h2 {
  font-size: clamp(3.8rem, 5.6vw, 5.8rem);
}

.contact-heading > a {
  display: inline-block;
  margin-top: 34px;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}

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

.field {
  margin-bottom: 31px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #c8cacc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  user-select: text;
  -webkit-user-select: text;
}

input {
  height: 45px;
}

textarea {
  min-height: 116px;
  padding: 12px 0;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-bottom-color: var(--blue);
  box-shadow: 0 1px 0 var(--blue);
}

button {
  font: inherit;
}

form button {
  min-width: 158px;
  min-height: 51px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 7px;
  background: var(--white);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 720;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

form button span {
  margin-left: 27px;
  color: var(--red);
}

form button:hover,
form button:focus-visible {
  background: transparent;
  color: var(--white);
}

.presentation-footer {
  position: fixed;
  z-index: 10;
  bottom: 38px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.66rem;
}

.presentation-footer a:hover,
.presentation-footer a:focus-visible {
  color: #fff;
}

.presentation-footer p {
  margin: 0;
}

.scene-rail {
  position: fixed;
  z-index: 16;
  top: 50%;
  left: clamp(12px, 2vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-50%);
}

.scene-rail::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 17px;
  bottom: 17px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.scene-dot {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.scene-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: #a8adb2;
  box-shadow: 0 0 0 4px rgba(11, 13, 16, 0.72);
  transition:
    width 220ms ease,
    height 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.scene-dot:hover::before,
.scene-dot:focus-visible::before {
  border-color: #fff;
  background: #fff;
}

.scene-dot.is-active::before {
  width: 15px;
  height: 15px;
  border-color: var(--red);
  background: var(--red);
}

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

/* Privacy remains a conventional readable document. */
.privacy-page {
  min-height: 100vh;
  overflow-y: auto;
}

.privacy-page .site-header {
  position: relative;
  top: 0;
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.privacy-page .site-header .brand {
  width: 148px;
}

.privacy-page .site-header nav {
  margin-left: auto;
}

.legal-main {
  width: min(calc(100% - (var(--gutter) * 2)), 980px);
  margin-inline: auto;
  padding: 100px 0 150px;
}

.legal-main > .eyebrow {
  margin: 0 0 23px;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 27px;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 740;
  line-height: 0.95;
}

.legal-intro {
  max-width: 670px;
  margin: 0 0 84px;
  color: var(--muted);
  font-size: 1.03rem;
}

.legal-card section {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 2fr;
  gap: 52px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.legal-card section:last-child {
  border-bottom: 1px solid var(--line);
}

.legal-card h2 {
  margin: 0;
  font-size: 0.94rem;
}

.legal-card p,
.legal-card ul {
  margin-top: 0;
  color: #b2b5b8;
}

.legal-card section > p:last-child,
.legal-card section > ul:last-child {
  margin-bottom: 0;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card a {
  color: #d8ebf5;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 4px;
}

.privacy-page footer {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}

.privacy-page footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: auto 1fr;
  }

  .nav-shell nav {
    justify-self: end;
  }

  .contact-button {
    display: none;
  }

  .games-content,
  .contact-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 46px;
  }

  .games-copy {
    max-width: 660px;
    align-self: auto;
    padding-bottom: 0;
  }

  .contact-heading > a {
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 22px;
  }

  .presentation-page {
    height: 100dvh;
  }

  .presentation-page .site-header {
    top: 10px;
    width: calc(100% - 24px);
  }

  .presentation-page .nav-shell {
    position: relative;
    min-height: 58px;
    grid-template-columns: 1fr 44px;
    gap: 0;
    padding: 6px 7px 6px 14px;
    border-radius: 14px;
  }

  .presentation-page .brand {
    width: 92px;
    height: 34px;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--white);
    cursor: pointer;
  }

  .menu-button span {
    width: 17px;
    height: 1px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

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

  .menu-open .menu-button span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-button span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .presentation-page .nav-shell nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(224px, calc(100vw - 24px));
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(17, 20, 25, 0.94);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-7px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .menu-open .nav-shell nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .presentation-page .nav-shell nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .presentation-page .nav-shell nav a::after {
    right: 13px;
    bottom: 3px;
    left: 13px;
  }

  .panel-home .panel-background {
    background-position: 67% center;
  }

  .panel-games .panel-background {
    background-position: 67% center;
  }

  .panel-about .panel-background {
    background-position: 71% center;
  }

  .panel-content {
    width: auto;
    margin-right: 20px;
    margin-left: 46px;
    padding: 84px 0 62px;
  }

  .panel-kicker {
    margin-bottom: 10px;
    font-size: 0.64rem;
  }

  .home-content h1 {
    max-width: 310px;
    font-size: clamp(3rem, 14vw, 4rem);
    line-height: 0.92;
  }

  .home-statement {
    max-width: 275px;
    margin-top: 24px;
    font-size: clamp(0.95rem, 4.2vw, 1.08rem);
    line-height: 1.38;
  }

  .home-content::after {
    width: min(210px, 66vw);
    margin-top: 26px;
  }

  .games-content {
    align-content: center;
    gap: 22px;
  }

  .games-heading h2 {
    font-size: clamp(2.65rem, 12.2vw, 3.5rem);
    line-height: 0.88;
  }

  .game-type {
    margin-top: 13px;
    font-size: 0.64rem;
  }

  .game-description {
    max-width: 325px;
    margin-bottom: 16px;
    font-size: clamp(0.96rem, 4vw, 1.06rem);
    line-height: 1.35;
  }

  .game-metadata {
    max-width: 330px;
    padding-top: 13px;
    margin-bottom: 17px;
    font-size: 0.67rem;
    line-height: 1.5;
  }

  .platforms {
    font-size: 0.66rem;
  }

  .about-content h2 {
    font-size: clamp(2.7rem, 11.5vw, 3.35rem);
    line-height: 0.9;
  }

  .about-content > p:last-child {
    max-width: 330px;
    padding-left: 14px;
    margin-top: 25px;
    font-size: clamp(1rem, 4.5vw, 1.16rem);
    line-height: 1.42;
  }

  .panel-contact {
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  .contact-content {
    min-height: 100%;
    align-content: start;
    gap: 18px;
    padding-top: 86px;
    padding-bottom: 68px;
  }

  .contact-heading h2 {
    font-size: clamp(2.35rem, 10.5vw, 3rem);
    line-height: 0.9;
  }

  .contact-heading > a {
    margin-top: 12px;
    font-size: 0.7rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field {
    margin-bottom: 14px;
  }

  label {
    margin-bottom: 5px;
    font-size: 0.62rem;
  }

  input {
    height: 40px;
  }

  textarea {
    min-height: 72px;
    padding: 8px 0;
  }

  form button {
    width: auto;
    min-width: 148px;
    min-height: 46px;
  }

  .presentation-footer {
    bottom: 16px;
    left: 46px;
    font-size: 0.62rem;
  }

  .presentation-footer p {
    display: none;
  }

  .scene-rail {
    left: -6px;
  }

  .scene-dot {
    width: 44px;
    height: 44px;
  }

  .scene-rail::before {
    top: 22px;
    bottom: 22px;
  }

  .privacy-page .site-header {
    min-height: 112px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .privacy-page .site-header .brand {
    width: 108px;
    height: 38px;
  }

  .privacy-page .site-header nav {
    width: 100%;
    justify-content: space-between;
    margin: 0;
    font-size: 0.62rem;
  }

  .legal-main {
    padding: 75px 0 110px;
  }

  .legal-card section {
    grid-template-columns: 1fr;
    gap: 11px;
  }
}

@media (max-width: 380px) {
  .panel-content {
    margin-right: 16px;
    margin-left: 42px;
  }

  .home-content h1 {
    max-width: 285px;
    font-size: clamp(2.8rem, 13.8vw, 3.3rem);
  }

  .games-heading h2 {
    font-size: clamp(2.45rem, 11.8vw, 2.85rem);
  }

  .presentation-footer {
    left: 42px;
  }
}

@media (max-width: 620px) and (max-height: 700px) {
  .panel-content {
    padding-top: 78px;
    padding-bottom: 52px;
  }

  .presentation-footer {
    display: none;
  }

  .games-content {
    gap: 16px;
  }

  .game-metadata {
    margin-bottom: 12px;
  }

  .contact-content {
    padding-top: 78px;
    padding-bottom: 54px;
  }
}

@media (max-height: 700px) and (min-width: 621px) {
  .site-header {
    top: 14px;
  }

  .nav-shell {
    min-height: 62px;
  }

  .panel-content {
    padding-top: 98px;
    padding-bottom: 68px;
  }

  .home-content h1 {
    max-width: 700px;
    font-size: clamp(4.5rem, 8vw, 6.8rem);
  }

  .home-statement {
    margin-top: 32px;
  }

  .games-heading h2 {
    font-size: clamp(4.5rem, 9vw, 7.5rem);
  }

  .about-content h2 {
    font-size: clamp(3.8rem, 6vw, 5.5rem);
  }

  .about-content > p:last-child {
    margin-top: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition: 1ms linear;
  }

  .panel-background {
    transition: none;
  }
}
