:root {
  --bg: #f5eadf;
  --bg-strong: #e89d6d;
  --panel: rgba(255, 248, 241, 0.88);
  --panel-deep: #fff4eb;
  --ink: #332018;
  --ink-soft: #6e4f40;
  --line: rgba(93, 54, 31, 0.14);
  --primary: #b75024;
  --primary-deep: #8c3516;
  --accent: #647a3d;
  --accent-soft: #d7e1b8;
  --shadow: 0 18px 46px rgba(99, 53, 25, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shell-wide: 1220px;
  --shell-ultra: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top right, rgba(255, 199, 130, 0.38), transparent 28%),
    linear-gradient(180deg, #f8eee4 0%, #f3e5d8 42%, #efe0d1 100%);
  color: var(--ink);
  font-family: "Work Sans", "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

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

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

main {
  flex: 1 0 auto;
}

.shell {
  width: min(calc(100% - 32px), var(--shell-wide));
  margin: 0 auto;
}

.shell-wide {
  width: min(calc(100% - 32px), var(--shell-wide));
}

.shell-ultra {
  width: min(calc(100% - 32px), var(--shell-ultra));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(245, 234, 223, 0.9);
  border-bottom: 1px solid rgba(85, 47, 25, 0.08);
}

.header-meta,
.header-nav,
.header-brandline {
  width: min(calc(100% - 32px), var(--shell-wide));
  margin: 0 auto;
}

.header-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.header-meta p {
  margin: 0;
}

.header-brandline {
  padding: 10px 0 12px;
  text-align: center;
}

.brand {
  display: inline-block;
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  color: var(--primary-deep);
}

.brand-note {
  margin: 6px auto 0;
  max-width: 760px;
  color: var(--ink-soft);
}

.header-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 14px;
}

.header-nav a,
.header-nav span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(104, 74, 47, 0.12);
  font-weight: 600;
  color: var(--ink);
}

.hero-band {
  position: relative;
  overflow: clip;
  background: linear-gradient(180deg, #724021 0%, #ab5930 45%, #d27d48 100%);
}

.hero-scene {
  position: absolute;
  inset: 0;
}

.hero-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(48, 23, 8, 0.24), rgba(48, 23, 8, 0.18)),
    linear-gradient(90deg, rgba(68, 34, 14, 0.76) 0%, rgba(68, 34, 14, 0.34) 38%, rgba(68, 34, 14, 0.1) 100%);
}

.hero-scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 86px 0 92px;
}

.eyebrow,
.section-kicker,
.footer-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 239, 227, 0.9);
}

.hero-copy h1 {
  margin: 0;
  max-width: 920px;
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 0.94;
  color: #fff8f3;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 820px;
  font-size: 1.06rem;
  color: rgba(255, 244, 234, 0.95);
}

.hero-actions,
.game-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.cta-primary,
.cta-secondary,
.cta-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
}

.cta-primary {
  background: #fff0e6;
  color: var(--primary-deep);
  box-shadow: var(--shadow);
}

.cta-secondary {
  border: 1px solid rgba(255, 241, 229, 0.42);
  background: rgba(255, 248, 242, 0.12);
  color: #fff7f2;
}

.cta-text {
  color: var(--primary-deep);
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.mission-strip {
  position: relative;
  margin-top: -28px;
  z-index: 2;
}

.mission-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.mission-pill {
  padding: 20px 22px;
  border-radius: 26px;
  background: rgba(255, 246, 238, 0.94);
  border: 1px solid rgba(108, 69, 46, 0.12);
  box-shadow: var(--shadow);
}

.mission-pill__label {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4c5d2d;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mission-pill strong {
  display: block;
  font-size: 1.1rem;
}

.mission-pill p {
  margin: 8px 0 0;
  color: var(--ink-soft);
}

.games-ledger {
  padding: 54px 0 24px;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading--narrow {
  max-width: 780px;
}

.section-heading h2,
.support-note h2,
.signal-board h2,
.transparency-band h2,
.site-footer h2,
.page-shell h1,
.page-section h2,
.game-page-hero h1 {
  margin: 0;
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.section-heading h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-heading p:last-child {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.section-kicker {
  color: var(--primary);
}

.game-row {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 24px;
  margin-bottom: 22px;
  background: rgba(255, 248, 241, 0.74);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 38px rgba(122, 71, 37, 0.1);
}

.game-row--alt {
  background: linear-gradient(180deg, rgba(255, 244, 235, 0.92), rgba(244, 235, 224, 0.9));
}

.game-row__visual {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 28px;
  background: #ceb8a5;
}

.game-row__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.game-row__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 22, 10, 0.06), rgba(47, 22, 10, 0.24));
}

.play-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 242, 232, 0.96);
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-row__topline {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
}

.game-row__index {
  margin: 0;
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: 2.35rem;
  color: var(--primary);
}

.game-row__body h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.game-row__lead,
.game-row__note,
.page-section p,
.page-hero-text,
.site-footer p,
.site-footer li,
.support-note li,
.support-note p,
.signal-board p,
.transparency-band p {
  color: var(--ink-soft);
}

.game-row__lead {
  margin: 10px 0 0;
}

.stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.stat-list li {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(99, 122, 61, 0.12);
  color: #54692f;
  font-weight: 700;
}

.game-row__note {
  margin: 16px 0 0;
}

.support-band {
  padding: 28px 0 18px;
}

.support-band__grid,
.transparency-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.support-note,
.signal-board,
.criteria-grid article,
.transparency-band article,
.page-section,
.page-callout,
.legal-nav,
.game-frame {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 34px rgba(121, 73, 39, 0.08);
}

.support-note,
.signal-board,
.transparency-band article,
.page-section,
.page-callout,
.legal-nav,
.game-frame {
  padding: 28px;
}

.support-note ol,
.site-footer ul,
.legal-nav ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.criteria-board {
  padding: 26px 0 26px;
}

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

.criteria-grid article {
  padding: 24px;
}

.criteria-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(183, 80, 36, 0.12);
  color: var(--primary);
  font-family: "Archivo Black", Impact, Haettenschweiler, "Arial Black", sans-serif;
}

.criteria-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
}

.transparency-band {
  padding: 18px 0 54px;
}

.site-footer {
  margin-top: auto;
  padding: 26px 0 36px;
  background: #2e1d17;
  color: rgba(252, 240, 229, 0.92);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 24px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li + li {
  margin-top: 10px;
}

.footer-kicker {
  color: rgba(255, 208, 174, 0.9);
}

.page-shell {
  width: min(calc(100% - 32px), 1120px);
  margin: 0 auto;
  padding: 36px 0 60px;
}

.page-hero,
.game-page-hero {
  display: grid;
  gap: 24px;
  margin: 28px 0 24px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 241, 231, 0.95), rgba(247, 233, 220, 0.9));
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.page-hero h1,
.game-page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
}

.page-grid,
.game-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
}

.page-stack {
  display: grid;
  gap: 22px;
}

.page-callout {
  position: sticky;
  top: 162px;
  align-self: start;
}

.legal-nav h2,
.page-callout h2 {
  font-size: 1.25rem;
}

.game-page-hero {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
}

.game-page-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 250px;
}

.game-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page-hero__copy p {
  margin: 12px 0 0;
}

.game-frame {
  overflow: hidden;
  padding: 14px;
}

.game-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 22px;
  background: #18110f;
}

.micro-list {
  display: grid;
  gap: 14px;
}

.micro-list article {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 247, 240, 0.92);
  border: 1px solid var(--line);
}

.micro-list h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

@media (max-width: 1080px) {
  .game-row,
  .support-band__grid,
  .transparency-band__grid,
  .footer-grid,
  .page-grid,
  .game-page-grid,
  .game-page-hero {
    grid-template-columns: 1fr;
  }

  .mission-strip__grid,
  .criteria-grid {
    grid-template-columns: 1fr;
  }

  .page-callout {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: center;
  }

  .hero-copy {
    padding: 74px 0 84px;
  }

  .game-row {
    padding: 16px;
  }

  .game-row__topline {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .game-row__index {
    font-size: 1.6rem;
  }

  .game-row__visual {
    min-height: 220px;
  }

  .site-header {
    position: static;
  }
}
