:root {
  color-scheme: light;
  --forest: #101710;
  --leaf: #83c66d;
  --paper: #f0eee3;
  --ink: #1b241b;
  --muted: #687064;
  --sans: 'DM Sans', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 64px, 1320px);
  height: 96px;
  margin: auto;
}

.studio-mark {
  color: #d9dfcd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: #e6e8dc;
  font-size: 13px;
}

.site-nav a { text-decoration: none; }

.site-nav .nav-link { opacity: 0.8; }
.site-nav .nav-link:hover { opacity: 1; }

.nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(230, 232, 220, 0.48);
  transition: background 180ms ease, color 180ms ease;
}

.nav-cta:hover {
  background: var(--paper);
  color: var(--forest);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 720px;
  min-height: max(720px, 100svh);
  overflow: hidden;
  padding: 128px max(8vw, calc((100vw - 1320px) / 2)) 112px;
  background: var(--forest);
  color: #f4f0df;
}

.hero-art,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  object-fit: cover;
  object-position: center 52%;
  animation: reveal-art 1.2s ease-out both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 13, 10, 0.96) 0%, rgba(8, 13, 10, 0.78) 27%, rgba(8, 13, 10, 0.18) 67%, rgba(8, 13, 10, 0.08) 100%),
    linear-gradient(0deg, rgba(8, 13, 10, 0.55) 0%, transparent 36%, rgba(8, 13, 10, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 540px);
  animation: rise-in 800ms 120ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--leaf);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 { margin: 0; }

.hero-logo {
  display: block;
  width: min(430px, 100%);
  height: auto;
}

.hero-description {
  max-width: 360px;
  margin: 25px 0 30px;
  color: rgba(244, 240, 223, 0.84);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

.steam-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 56px;
  padding: 0 22px;
  background: var(--leaf);
  color: #142012;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.steam-button:hover {
  background: #a2dc89;
  transform: translateY(-2px);
}

.steam-button span { font-size: 18px; line-height: 1; }

.hero-note {
  position: absolute;
  z-index: 1;
  right: max(8vw, calc((100vw - 1320px) / 2));
  bottom: 34px;
  color: rgba(244, 240, 223, 0.7);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.hero-note:hover { color: var(--leaf); }

.world {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(48px, 9vw, 140px);
  width: min(100% - 64px, 1180px);
  margin: auto;
  padding: 132px 0;
}

.world-copy .eyebrow { color: #557e48; }

.world h2 {
  max-width: 470px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1.04;
}

.world h2 em {
  color: #557e48;
  font-weight: 400;
}

.world-copy > p:not(.eyebrow) {
  max-width: 400px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #31552b;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.world-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #182119;
}

.world-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px max(32px, calc((100vw - 1180px) / 2));
  background: #182119;
  color: rgba(240, 238, 227, 0.65);
  font-size: 11px;
}

.site-footer p { margin: 0; }
.site-footer a { color: #d9dfcd; text-decoration: none; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-art {
  from { opacity: 0.65; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 40px);
    height: 76px;
  }

  .site-nav { gap: 0; }
  .site-nav .nav-link { display: none; }
  .nav-cta { padding: 10px 13px; font-size: 12px; }

  .hero {
    min-height: max(700px, 100svh);
    padding: 130px 26px 118px;
  }

  .hero-art { object-position: 53% center; }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 13, 10, 0.78), rgba(8, 13, 10, 0.34)),
      linear-gradient(0deg, rgba(8, 13, 10, 0.76), transparent 60%, rgba(8, 13, 10, 0.35));
  }

  .hero-content { width: min(100%, 430px); }
  .hero-logo { width: min(360px, 100%); }
  .hero-description { font-size: 22px; }

  .hero-note {
    right: 26px;
    bottom: 27px;
  }

  .world {
    grid-template-columns: 1fr;
    gap: 42px;
    width: calc(100% - 52px);
    padding: 86px 0;
  }

  .world h2 { max-width: 390px; }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}