:root {
  --bg: #071411;
  --bg-soft: #0d1d19;
  --paper: #d9d7ce;
  --text: #f2efe6;
  --muted: #aab3ac;
  --line: rgba(217, 215, 206, 0.16);
  --accent: #9bc46d;
  --accent-strong: #c0df78;
  --danger: #d45656;
  --gold: #d6b879;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(155, 196, 109, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 184, 121, 0.12), transparent 24%),
    linear-gradient(180deg, #071411 0%, #081714 52%, #050d0b 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 30px;
  opacity: 0.25;
}

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

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

p,
li {
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5.6rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 20, 17, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header__inner,
.site-shell,
.site-footer__inner,
.legal-shell,
.gate-shell,
.denied-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 1.5rem;
}

.site-nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}

.site-nav a {
  color: var(--paper);
  text-decoration: none;
  font-size: 0.97rem;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--paper);
}

.nav-toggle span + span {
  margin-top: 6px;
}

.site-shell {
  padding: 3rem 0 5rem;
}

.hero,
.split-slice,
.form-layout {
  display: grid;
  gap: 2rem;
}

.hero {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 2rem 0 4rem;
}

.hero__copy {
  max-width: 640px;
}

.hero__copy h1 {
  max-width: 12ch;
}

.lede {
  font-size: 1.08rem;
  color: var(--paper);
  max-width: 63ch;
}

.eyebrow,
.gate-label,
.form-summary__label,
.compliance-note__label,
.footer-brand {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow,
.gate-label,
.form-summary__label,
.compliance-note__label {
  color: var(--accent-strong);
  margin-bottom: 0.9rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 2.2rem;
}

.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.1rem;
  border: 1px solid rgba(192, 223, 120, 0.34);
  border-radius: 999px;
  color: #071411;
  background: var(--accent-strong);
  text-decoration: none;
  font-weight: 800;
}

.text-button--muted {
  background: transparent;
  color: var(--paper);
}

.hero__media img,
.inline-figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.hero__facts div {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
}

.hero__facts dt {
  color: var(--muted);
  font-size: 0.85rem;
}

.hero__facts dd {
  margin: 0.3rem 0 0;
  font-weight: 700;
}

.content-slice {
  padding: 3rem 0;
  position: relative;
}

.content-slice--lined::before,
.page-intro::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-strong), transparent);
}

.slice-heading {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.slice-heading h2 {
  max-width: 16ch;
}

.section-note {
  color: var(--muted);
}

.prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.numbered-essay,
.game-list,
.support-list,
.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.numbered-essay li {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
}

.game-list li,
.support-list li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.game-list li:last-child,
.support-list li:last-child,
.numbered-essay li:last-child {
  border-bottom: 1px solid var(--line);
}

.game-index {
  color: var(--gold);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding-top: 0.3rem;
}

.game-list h3,
.support-list h3,
.team-person h3 {
  margin-bottom: 0.45rem;
}

.game-list p,
.support-list p,
.team-person p,
.footer-copy,
.compliance-note p {
  margin: 0;
  color: var(--muted);
}

.compliance-note,
.form-summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.03);
}

.split-slice {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.page-intro {
  position: relative;
  padding: 1rem 0 2.3rem;
  max-width: 900px;
}

.contact-lines p {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
}

.contact-lines p:last-child {
  border-bottom: 1px solid var(--line);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.team-person img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 0.9rem;
}

.form-layout {
  grid-template-columns: 1.1fr 0.8fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--paper);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(217, 215, 206, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0.92rem 1rem;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-line {
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 0.8rem;
}

.checkbox-line input {
  margin-top: 0.2rem;
}

.form-summary [data-summary-box] {
  display: grid;
  gap: 0.95rem;
}

.form-summary p {
  margin: 0;
  color: var(--paper);
}

.gate-body,
.denied-body {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.gate-shell,
.denied-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 0;
}

.gate-panel,
.denied-shell {
  width: min(100%, 580px);
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: rgba(7, 20, 17, 0.78);
  box-shadow: var(--shadow);
}

.gate-logo {
  margin-bottom: 1.5rem;
}

.gate-panel h1,
.denied-shell h1 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.gate-actions,
.gate-links,
.cookie-banner,
.cookie-banner__actions,
.site-footer__inner,
.footer-links {
  display: flex;
}

.gate-actions {
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0 1.1rem;
}

.gate-actions button {
  min-width: 180px;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gate-yes {
  background: #5ca24a;
  color: #04110d;
}

.gate-no {
  background: var(--danger);
  color: #fff;
}

.gate-links {
  justify-content: center;
  gap: 1.1rem;
  font-size: 0.93rem;
}

.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 1rem), 860px);
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(248, 244, 236, 0.95);
  color: #18231f;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  z-index: 30;
}

.cookie-banner a {
  color: #365c2f;
}

.cookie-banner__copy {
  display: grid;
  gap: 0.25rem;
}

.cookie-banner__actions {
  gap: 0.7rem;
}

.cookie-banner__actions button {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

[data-cookie-accept] {
  background: #193a2c;
  color: #fff;
}

[data-cookie-reject] {
  background: #fff;
  color: #193a2c;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.6rem 0 2.4rem;
}

.site-footer__inner {
  gap: 1.4rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-links {
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
}

.footer-links a {
  color: var(--paper);
  text-decoration: none;
}

.legal-body {
  background:
    radial-gradient(circle at top left, rgba(155, 196, 109, 0.12), transparent 22%),
    linear-gradient(180deg, #081512 0%, #050d0b 100%);
}

.legal-shell {
  max-width: 860px;
  padding: 3rem 0 4rem;
}

.legal-shell h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.legal-shell h2 {
  margin-top: 2rem;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

.legal-shell p,
.legal-shell li {
  color: var(--paper);
}

.external-links {
  padding-left: 1.2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split-slice,
  .form-layout,
  .prose-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .hero__facts {
    grid-template-columns: 1fr;
  }

  .game-list li,
  .support-list li {
    grid-template-columns: 58px 1fr;
  }

  .game-list li a,
  .support-list li a {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(7, 20, 17, 0.95);
  }

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

  .cookie-banner,
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .site-shell {
    padding-top: 1.6rem;
  }

  .hero {
    padding-top: 0;
  }

  .gate-actions {
    flex-direction: column;
  }

  .gate-actions button,
  .text-button {
    width: 100%;
  }

  .gate-links {
    flex-direction: column;
    gap: 0.55rem;
  }
}
