:root {
  --bg: #2b2b2b;
  --bg-deep: #1f1f1f;
  --panel: #252525;
  --panel-lift: #303030;
  --text: #ffffff;
  --muted: #b8b8b8;
  --cyan: #5ec8e8;
  --cyan-deep: #3aaed0;
  --magenta: #e83d8a;
  --magenta-deep: #c72f72;
  --header-h: 4.5rem;
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Saira", "Manrope", system-ui, sans-serif;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--cyan);
  color: #111;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo img {
  height: 2.75rem;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.35rem;
}

.nav a {
  position: relative;
  padding: 0.35rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.nav a:hover,
.nav a:focus-visible {
  color: #fff;
}

.nav a.is-active::after,
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--cyan);
}

/* Page chrome */
.page-title {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 1.75rem clamp(1rem, 3vw, 2rem) 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) 3.5rem;
}

/* Home hero */
.home-hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
}

.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  padding: 2rem 1.25rem 3rem;
  display: grid;
  gap: 1.35rem;
  justify-items: center;
}

.home-hero__title {
  margin: 0;
  max-width: 20ch;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

/* Home content below hero */
.home-section {
  padding: 2.75rem 0 1rem;
}

.home-section--panel {
  padding: 2.5rem 0 2.75rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.home-section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-section__lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--muted);
}

.home-section__more {
  margin: 1.75rem 0 0;
  color: var(--muted);
}

.home-prose {
  max-width: 46rem;
}

.home-prose p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

.home-prose p:last-child {
  margin-bottom: 0;
}

a.text-link {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a.text-link:hover,
a.text-link:focus-visible {
  color: #fff;
}

.video-frame {
  position: relative;
  width: min(100%, 42rem);
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame.is-playing {
  background: #000;
}

.video-frame__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: inherit;
}

.video-frame__play span {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: rgba(80, 80, 80, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-frame__play span::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 0.25rem;
  border-style: solid;
  border-width: 0.7rem 0 0.7rem 1.15rem;
  border-color: transparent transparent transparent #fff;
}

.video-frame__play:hover span,
.video-frame__play:focus-visible span {
  background: rgba(94, 200, 232, 0.9);
  transform: scale(1.05);
}

.btn-skew {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 2.4rem;
  border: 0;
  background: var(--cyan);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(0.7rem 0, 100% 0, calc(100% - 0.7rem) 100%, 0 100%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-skew:hover,
.btn-skew:focus-visible {
  background: var(--cyan-deep);
  transform: translateY(-1px);
}

.btn-skew--magenta {
  background: var(--magenta);
}

.btn-skew--magenta:hover,
.btn-skew--magenta:focus-visible {
  background: var(--magenta-deep);
}

.btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.5rem;
  border: 0;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.btn-block:hover,
.btn-block:focus-visible {
  background: var(--magenta-deep);
}

/* Games grid */
.game-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.game-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border-radius: 0.35rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

.game-card:hover {
  transform: translateY(-3px);
}

.game-card__media {
  aspect-ratio: 16 / 10;
  background: #111;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card__body {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem 1.35rem;
  padding-right: 3rem;
  background: var(--bg-deep);
  flex: 1;
}

.game-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.25;
}

.game-card__title a:hover,
.game-card__title a:focus-visible {
  color: var(--cyan);
}

.game-card__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.game-card__go {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  background: var(--magenta);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 35% 100%);
  color: #fff;
  font-size: 0.85rem;
}

/* Section banners */
.banner {
  display: flex;
  align-items: center;
  width: min(72%, 42rem);
  min-height: 3.25rem;
  margin: 2rem 0 1.35rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.banner--cyan {
  margin-left: auto;
  justify-content: flex-end;
  background: var(--cyan);
  clip-path: polygon(1.5rem 0, 100% 0, 100% 100%, 0 100%);
}

.banner--magenta {
  margin-right: auto;
  justify-content: flex-start;
  background: var(--magenta);
  clip-path: polygon(0 0, 100% 0, calc(100% - 1.5rem) 100%, 0 100%);
}

/* Game detail */
.game-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 16rem;
  background: #0a0a0a;
  overflow: hidden;
}

.game-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.game-hero .video-frame__play {
  position: absolute;
}

.story-block {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

.story-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #111;
}

.story-block p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.shot-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #151515;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* Panels */
.panel {
  background: var(--panel);
  border-radius: 0.4rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.panel h2,
.panel h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.about-top {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.about-top img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about-pair {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.about-pair img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Blog */
.news-card {
  background: var(--panel-lift);
  border-radius: 0.4rem;
  overflow: hidden;
}

.news-card__media {
  aspect-ratio: 21 / 8;
  background: #111;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__body {
  position: relative;
  padding: 1.35rem 1.35rem 2.5rem;
}

.news-card__body h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-meta {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__body p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.news-card__body a.text-link {
  color: var(--magenta);
  font-weight: 600;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 2rem;
}

.pager span,
.pager a {
  display: grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  color: #fff;
  font-weight: 600;
}

.pager .is-current {
  color: var(--magenta);
}

.pager .dot {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--magenta);
}

.pager .dot--cyan {
  background: var(--cyan);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-radius: 0.35rem;
  padding: 0.85rem 0.95rem;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #8a8a8a;
}

.contact-panel {
  max-width: 36rem;
}

.contact-status {
  margin: 0.35rem 0 0;
  min-height: 1.4em;
  color: var(--cyan);
  font-size: 0.95rem;
}

.contact-status.is-error {
  color: #ff7aa8;
}

.contact-info {
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.contact-info dt {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2rem) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

@media (min-width: 800px) {
  .story-block {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
  }

  .about-top {
    grid-template-columns: 1.05fr 1fr;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

}

@media (max-width: 700px) {
  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-pair {
    grid-template-columns: 1fr;
  }

  .nav {
    gap: 0.25rem 0.9rem;
  }

  .nav a {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .game-card,
  .btn-skew,
  .video-frame__play span {
    transition: none;
  }
}
