@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/outfit-latin.woff2") format("woff2");
}

:root {
  --ink: #002d20;
  --brand: #00966c;
  --paper: #ffffff;
  --text: #2b3330;
  --muted: #5c6662;
  --line: #e3e7e5;
  --wash: #f4f6f5;
  --on-ink-soft: rgba(255, 255, 255, 0.78);

  --radius: 14px;
  --content: 1120px;
  --gutter: 20px;
  --section: clamp(72px, 9vw, 112px);

  --font: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 350;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-color: var(--brand);
}

::selection {
  background: var(--brand);
  color: var(--paper);
}

html {
  accent-color: var(--brand);
  caret-color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

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

.brand img:first-child {
  width: 40px;
  height: 40px;
}

.brand img:last-child {
  width: 168px;
  height: auto;
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--wash);
}

/* Hero */
.hero {
  padding-block: clamp(48px, 7vw, 96px) 48px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
}

.accent {
  color: var(--brand);
}

.hero .lede {
  margin-top: 28px;
  max-width: 58ch;
  font-size: 1.1875rem;
}

/* Sections */
.section {
  padding-block: var(--section);
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
}

/* Game card */
.game-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  color: inherit;
  text-decoration: none;
}

.game-card .media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--wash);
}

.game-card .media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 300ms ease;
}

.game-card:hover .media img {
  transform: scale(1.02);
}

.game-card h3 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  margin-top: 14px;
}

.game-card p {
  margin-top: 12px;
  max-width: 52ch;
}

.game-card .more .arrow {
  transition: transform 150ms ease;
}

.game-card:hover .more .arrow {
  transform: translateX(3px);
}

.game-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}


@media (min-width: 820px) {
  .game-card {
    grid-template-columns: 1.35fr 1fr;
    align-items: center;
    gap: 48px;
  }
}

/* Chips and buttons */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--wash);
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.chip.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.button:hover {
  background: var(--paper);
  color: var(--ink);
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button.ghost:hover {
  background: var(--wash);
}

/* Contact band */
.contact {
  background: var(--ink);
  color: var(--on-ink-soft);
  padding-block: clamp(56px, 6vw, 80px);
}

.contact h2 {
  color: var(--paper);
  font-size: clamp(2rem, 3vw + 1rem, 3.25rem);
}


.contact .label {
  color: var(--on-ink-soft);
}

.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.contact-list li {
  display: grid;
  gap: 4px;
  padding-block: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list a {
  color: var(--paper);
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.35rem);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brand);
}

@media (min-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 64px;
  }
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--on-ink-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 36px 14px;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer img {
  width: 150px;
  height: auto;
}

.site-footer a {
  color: var(--paper);
}

.footer-nav > a:not(.icon-link) {
  padding-block: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 20px;
  margin-left: auto;
}

.footer-sep {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.24);
}

.copyright {
  flex-basis: 100%;
  margin-top: 0;
  padding-top: 14px;
  line-height: 1.3;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.8rem;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--paper);
  transition: background-color 150ms ease, color 150ms ease;
}

.icon-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--brand);
}

.footer-nav .icon-link + .icon-link {
  margin-left: -16px;
}

/* Game page */
.game-hero {
  padding-block: clamp(48px, 7vw, 96px) 48px;
  display: grid;
  gap: 32px;
  align-items: center;
}

.game-hero .logo {
  width: min(100%, 520px);
  height: auto;
}

.game-hero .lede {
  font-size: 1.1875rem;
  max-width: 52ch;
}

.game-hero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.game-hero .chips {
  margin-top: 20px;
}

@media (min-width: 900px) {
  .game-hero {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.yt {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.yt iframe,
.yt-link,
.yt-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-link img {
  object-fit: cover;
  transition: transform 300ms ease;
}

.yt-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 45, 32, 0.72), rgba(0, 45, 32, 0) 45%);
}

.yt-link:hover img {
  transform: scale(1.015);
}

.yt-play {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  padding-left: 4px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: background-color 150ms ease, color 150ms ease;
}

.yt-link:hover .yt-play,
.yt-link:focus-visible .yt-play {
  background: var(--brand);
  color: var(--paper);
}

.yt-label {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 3vw, 32px);
  bottom: clamp(14px, 2.5vw, 28px);
  color: var(--paper);
  font-size: clamp(1rem, 1vw + 0.7rem, 1.35rem);
  font-weight: 600;
}

.yt-meta {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--on-ink-soft);
}

@media (max-width: 480px) {
  .yt-play {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
  }
}

.story {
  display: grid;
  gap: clamp(56px, 7vw, 96px);
}

.beat {
  display: grid;
  gap: 24px;
  align-items: center;
}

.beat h3 {
  font-size: clamp(1.5rem, 1.6vw + 1rem, 2.1rem);
}

.beat p {
  margin-top: 14px;
  max-width: 52ch;
}

.beat video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}

@media (min-width: 820px) {
  .beat {
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
  }

  .beat:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
  }

  .beat:nth-child(even) .beat-text {
    order: 2;
  }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--wash);
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}

.features {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.features li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.125rem;
}

.features li:first-child {
  border-top: 0;
}

.features li:last-child {
  border-bottom: 1px solid var(--line);
}

.features li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--brand);
}

@media (min-width: 820px) {
  .features {
    grid-template-columns: 1fr 1fr;
    column-gap: 48px;
  }

  .features li:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .features li:nth-child(2) {
    border-top: 0;
  }
}

.cta-band {
  background: var(--wash);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  gap: 24px;
  justify-items: start;
}

.cta-contact {
  color: var(--muted);
}

.soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 500;
}

.soon::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem);
  max-width: 20ch;
}

/* 404 */
.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 20px;
  padding-block: var(--section);
}

.not-found h1 {
  font-size: clamp(2.4rem, 5vw + 1rem, 4.5rem);
}

@media (max-width: 400px) {
  :root {
    --gutter: 16px;
  }

  .brand img:last-child {
    width: 132px;
  }

  .nav a {
    padding: 8px 9px;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


.contact-intro {
  margin-top: 20px;
  max-width: 40ch;
}

