:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: #101712;
  --panel-strong: #172217;
  --text: #f5f7f2;
  --muted: #c6d0c3;
  --soft: #8da08a;
  --green: #65c733;
  --green-dark: #3e951f;
  --green-soft: #b7ef84;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--green-soft);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--green);
  color: #051004;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.24));
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(5, 8, 7, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 42px);
  flex: 1;
}

.site-nav a,
.site-footer nav a {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--green-soft);
}

.book-tab {
  position: fixed;
  right: 0;
  top: 43vh;
  z-index: 21;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  border-radius: 8px 0 0 8px;
  background: var(--green);
  color: #051004;
  padding: 18px 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 118px clamp(20px, 5vw, 72px) 72px;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background: url("assets/hero-banner.jpg") center / cover no-repeat;
  transform: scale(1.03);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.66));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__logo {
  width: min(470px, 82vw);
  margin-bottom: 24px;
}

.eyebrow,
.kicker {
  color: var(--green-soft);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 12px;
}

.eyebrow {
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-style: italic;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero__copy {
  max-width: 600px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero__actions,
.section__action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button--primary {
  background: var(--green);
  color: #051004;
}

.button--primary:hover {
  background: var(--green-soft);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button--ghost:hover {
  border-color: var(--green-soft);
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 34px;
}

.section__intro p:not(.kicker) {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--dark {
  background:
    radial-gradient(circle at 82% 10%, rgba(101, 199, 51, 0.2), transparent 30%),
    linear-gradient(180deg, #081009, #030504);
}

.audience-grid,
.game-grid,
.promo-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.audience-card,
.promo-grid article,
.review-grid figure,
.values-list article,
.location-board article,
.game-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.audience-card {
  padding: 28px;
}

.audience-card img {
  width: 124px;
  height: 124px;
  object-fit: contain;
  margin-bottom: 18px;
}

.audience-card p,
.values-list p,
.promo-grid p,
.review-grid blockquote,
.location-cta p {
  color: var(--muted);
}

.definition {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.definition > * {
  max-width: none;
}

.definition__copy p {
  color: var(--muted);
}

.text-link {
  color: var(--green-soft);
  font-weight: 850;
  text-underline-offset: 5px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.values-list article,
.promo-grid article,
.review-grid figure {
  padding: 24px;
}

.location-board {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.location-board article {
  padding: 28px;
}

.location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location-list a {
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--text);
  text-decoration: none;
}

.location-list a:hover {
  border-color: var(--green);
  background: rgba(101, 199, 51, 0.1);
}

.location-cta {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.game-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 14px;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #051004;
}

.game-card {
  overflow: hidden;
  min-height: 100%;
}

.game-card[hidden] {
  display: none;
}

.game-card img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  background: #111;
}

.game-card div {
  padding: 18px;
}

.game-card p {
  color: var(--green-soft);
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.game-card h3 {
  margin-bottom: 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.steps-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #051004;
  font-weight: 950;
}

.steps-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.promo-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.promo-grid article {
  min-height: 230px;
}

.review-grid figure {
  margin: 0;
}

.review-grid blockquote {
  margin: 0 0 18px;
  font-size: 1.04rem;
}

.review-grid figcaption {
  color: var(--green-soft);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(46px, 7vw, 80px) clamp(20px, 5vw, 72px);
  background: linear-gradient(90deg, var(--green-dark), #111a10);
}

.final-cta > * {
  max-width: var(--max);
}

.final-cta h2 {
  margin-bottom: 0;
}

.final-cta .button--primary {
  flex: 0 0 auto;
  background: #f5f7f2;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #020302;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

@media (max-width: 1040px) {
  .site-header {
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 24px;
    background: rgba(5, 8, 7, 0.98);
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .definition,
  .location-board {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .book-tab {
    display: none;
  }

  .brand span {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 760px;
    align-items: end;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.92)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
  }

  .hero__actions,
  .section__action,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .audience-grid,
  .game-grid,
  .review-grid,
  .steps-list,
  .promo-grid,
  .values-list,
  .location-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
