@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --jade: #123f36;
  --greenhouse: #092a26;
  --jade-soft: #2f6154;
  --parchment: #f3ebdd;
  --paper: #fffaf0;
  --sage: #d5e0d3;
  --sun: #e9ad3c;
  --terracotta: #c8664b;
  --aubergine: #513548;
  --ink: #17251f;
  --muted: #58635d;
  --line: rgba(18, 63, 54, 0.28);
  --line-strong: rgba(18, 63, 54, 0.65);
  --display: "Fraunces", "Iowan Old Style", "Baskerville", Georgia, serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --mono: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  --page: min(1340px, calc(100vw - 56px));
  --reading: 760px;
  --shadow: 0 28px 80px rgba(9, 42, 38, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(233, 173, 60, 0.08), transparent 25rem),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(18, 63, 54, 0.012) 5px 6px),
    var(--parchment);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 400;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--greenhouse);
  padding: 12px 18px;
  font-weight: 600;
}

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

.compliance-bar {
  position: relative;
  z-index: 90;
  background: var(--greenhouse);
  color: var(--paper);
}

.compliance-bar__inner {
  width: var(--page);
  min-height: 36px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.compliance-bar__inner strong {
  color: var(--sun);
  font-weight: 500;
}

.compliance-bar__dot {
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  background: rgba(255, 250, 240, 0.45);
  transform: rotate(45deg);
}

.compliance-bar__links {
  display: flex;
  gap: 15px;
  margin-left: auto;
}

.compliance-bar a {
  text-decoration-color: rgba(255, 250, 240, 0.4);
  text-underline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 235, 221, 0.96);
}

.site-nav {
  width: var(--page);
  min-height: 96px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-grid;
  grid-template-columns: 40px auto;
  align-items: center;
  justify-self: start;
  gap: 13px;
  color: var(--jade);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 34px;
  height: 49px;
  display: grid;
  place-items: end center;
  overflow: visible;
  border: 2px solid currentColor;
  border-bottom-width: 5px;
  border-radius: 18px 18px 0 0;
  color: transparent;
}

.brand__mark::before {
  position: absolute;
  right: 7px;
  bottom: 5px;
  width: 12px;
  height: 22px;
  transform: rotate(-28deg);
  border-radius: 100% 0 100% 0;
  background: var(--sun);
  content: "";
}

.brand__mark::after {
  position: absolute;
  top: -9px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--terracotta);
  box-shadow: -10px 4px 0 -0.25px var(--terracotta), 10px 4px 0 -0.25px var(--terracotta);
  content: "";
}

.brand__type {
  font-family: var(--display);
  font-size: 1.28rem;
  font-variation-settings: "opsz" 48;
  font-weight: 760;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  color: var(--jade);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  justify-self: end;
  border-bottom: 1px solid var(--jade);
  padding: 8px 0;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-cta span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.nav-cta:hover span {
  transform: translate(3px, -3px);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  justify-self: end;
  border: 1px solid var(--jade);
  border-radius: 0;
  background: transparent;
  color: var(--jade);
  cursor: pointer;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  width: 19px;
  height: 1px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.nav-toggle__lines::before {
  transform: translateY(-6px);
}

.nav-toggle__lines::after {
  transform: translateY(5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after {
  transform: rotate(-45deg) translateY(-1px);
}

.hero {
  width: var(--page);
  min-height: 720px;
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 24px;
  align-items: center;
}

.hero__copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / span 6;
  grid-row: 1;
  padding: 60px 4vw 54px 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow--light {
  color: var(--sun);
}

.eyebrow--orange {
  color: var(--terracotta);
}

.hero h1,
.section-heading h2,
.ledger-heading h2,
.page-hero h1,
.game-hero h1,
.responsible-panel h2,
.manifesto h2,
.contact-card h2,
.empty-state h1 {
  font-family: var(--display);
  font-variation-settings: "opsz" 100, "SOFT" 40, "WONK" 0;
}

.hero h1 {
  max-width: 830px;
  margin: 0;
  color: var(--jade);
  font-size: clamp(4rem, 8vw, 8.8rem);
  font-weight: 610;
  letter-spacing: -0.07em;
  line-height: 0.79;
}

.hero h1 em {
  display: block;
  margin-left: 0.44em;
  color: var(--aubergine);
  font-weight: 430;
}

.hero__lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: #344c44;
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 0 100%);
  padding: 13px 23px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.04);
}

.button--dark,
.button--jade,
.button--acid {
  background: var(--jade);
  color: var(--paper);
}

.button--terracotta,
.button--orange {
  background: var(--terracotta);
  color: var(--paper);
}

.button--sun {
  background: var(--sun);
  color: var(--greenhouse);
}

.button--paper {
  border: 1px solid var(--jade);
  background: var(--paper);
  color: var(--jade);
}

.button--ghost {
  border: 1px solid rgba(255, 250, 240, 0.55);
  background: transparent;
  color: var(--paper);
}

.text-link {
  border-bottom: 1px solid var(--jade);
  color: var(--jade);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.button:hover .arrow {
  transform: translate(3px, -3px);
}

.hero__notice {
  max-width: 660px;
  margin: 28px 0 0;
  border-left: 2px solid var(--terracotta);
  padding-left: 15px;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.55;
}

.hero__art {
  position: relative;
  grid-column: 7 / -1;
  grid-row: 1;
  height: min(72vw, 760px);
  min-height: 610px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--jade);
  border-radius: 320px 320px 0 0;
  background: var(--sage);
  box-shadow: var(--shadow);
}

.hero__art::after {
  position: absolute;
  inset: 0;
  border: 13px solid rgba(243, 235, 221, 0.35);
  border-bottom-width: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.hero__art img {
  width: 100%;
  height: calc(100% - 48px);
  object-fit: cover;
  object-position: 60% center;
}

.hero__art figcaption {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  padding: 0 18px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero__index {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
}

.hero__index a {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 18px 24px;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease;
}

.hero__index a + a {
  border-left: 1px solid var(--jade);
}

.hero__index a:hover {
  background: rgba(213, 224, 211, 0.7);
}

.hero__index span {
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.hero__stamp {
  position: absolute;
  top: 20px;
  right: 20px;
}

.fact-strip {
  width: var(--page);
  margin: 68px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
}

.fact {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 24px clamp(20px, 4vw, 48px);
}

.fact + .fact {
  border-left: 1px solid var(--jade);
}

.fact strong {
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 560;
  letter-spacing: -0.05em;
  line-height: 1;
}

.fact span {
  max-width: 160px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.section {
  width: var(--page);
  margin: clamp(110px, 13vw, 190px) auto 0;
}

.section--compact {
  margin-top: clamp(80px, 10vw, 130px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(38px, 8vw, 130px);
  margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading h2,
.ledger-heading h2 {
  max-width: 920px;
  margin: 0;
  color: var(--jade);
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
}

.game-folios {
  display: grid;
  gap: clamp(80px, 11vw, 150px);
}

.game-folios .section-heading {
  margin-bottom: 0;
}

.game-folio {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  align-items: stretch;
  gap: clamp(34px, 6vw, 84px);
}

.game-folio--cinnamon {
  grid-template-columns: minmax(320px, 0.55fr) minmax(0, 1.45fr);
}

.game-folio--cinnamon .game-folio__media {
  grid-column: 2;
  grid-row: 1;
}

.game-folio--cinnamon .game-folio__body {
  grid-column: 1;
  grid-row: 1;
}

.game-folio__media {
  position: relative;
  min-height: 650px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--jade);
  background: var(--sage);
  text-decoration: none;
}

.game-folio__media::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 250, 240, 0.58);
  pointer-events: none;
  content: "";
}

.game-folio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

.game-folio__media:hover img {
  transform: scale(1.025);
}

.game-folio__number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 72px;
  background: var(--paper);
  color: var(--jade);
  padding: 16px 19px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.game-folio__body {
  align-self: center;
}

.game-folio__body h3 {
  margin: 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 560;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.game-folio__body > p:not(.eyebrow) {
  max-width: 470px;
  margin: 28px 0 0;
  color: var(--muted);
}

.game-folio__meta {
  margin: 32px 0;
  border-top: 1px solid var(--line);
}

.game-folio__meta div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}

.game-folio__meta dt,
.game-folio__meta dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.game-folio__meta dt {
  color: var(--muted);
}

.game-folio__meta dd {
  color: var(--jade);
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--jade);
  border-left: 1px solid var(--jade);
}

.game-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(420px, 1fr) auto;
  border-right: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
  background: rgba(255, 250, 240, 0.4);
}

.game-card__media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.game-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.game-card:hover .game-card__media img {
  transform: scale(1.025);
}

.game-card__number {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--paper);
  padding: 13px 18px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.game-card__tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--jade);
  color: var(--paper);
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.game-card__body {
  padding: clamp(28px, 4vw, 50px);
}

.game-card__body h3 {
  margin: 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.7vw, 4.9rem);
  font-weight: 550;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.game-card__body > p {
  color: var(--muted);
}

.game-card__meta,
.game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 22px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.game-card__meta span,
.game-badges span {
  flex: 1 1 auto;
  padding: 9px 12px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.055em;
  text-align: center;
  text-transform: uppercase;
}

.game-card__meta span + span,
.game-badges span + span {
  border-left: 1px solid var(--line);
}

.game-card__actions {
  display: grid;
  justify-items: start;
  gap: 15px;
  margin-top: 26px;
}

.game-card__fineprint {
  color: var(--muted);
  font-size: 0.7rem;
}

.ledger-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(34px, 7vw, 100px);
  margin-bottom: 60px;
}

.ledger-heading .eyebrow {
  margin-top: 15px;
}

.principles {
  border-top: 1px solid var(--jade);
}

.principle {
  min-height: 150px;
  display: grid;
  grid-template-columns: 90px minmax(190px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
  border-bottom: 1px solid var(--jade);
  padding: 28px 0;
}

.principle__icon {
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.principle h3 {
  margin: 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 3.7rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 1;
}

.principle > div {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 70px);
}

.principle p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.manifesto {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
  padding: clamp(50px, 8vw, 104px) 0;
}

.manifesto::before {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 170px;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 1px solid var(--sun);
  border-radius: 50%;
  box-shadow: 0 0 0 18px transparent, 0 0 0 19px rgba(233, 173, 60, 0.35);
  content: "";
}

.manifesto__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.55fr);
  gap: clamp(50px, 9vw, 140px);
}

.manifesto h2 {
  max-width: 850px;
  margin: 0;
  color: var(--jade);
  font-size: clamp(3.4rem, 7vw, 7rem);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.manifesto__copy {
  align-self: end;
}

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

.responsible-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--greenhouse);
  color: var(--paper);
}

.responsible-panel__lead {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 90px);
}

.responsible-panel__lead::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  aspect-ratio: 1;
  border: 1px solid rgba(233, 173, 60, 0.35);
  border-radius: 50%;
  content: "";
}

.responsible-panel h2 {
  max-width: 620px;
  margin: 0;
  color: var(--paper);
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  font-weight: 480;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.responsible-panel__lead > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 250, 240, 0.7);
}

.responsible-panel__list {
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.rule {
  min-height: 190px;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: start;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  padding: clamp(34px, 5vw, 58px);
}

.rule:last-child {
  border-bottom: 0;
}

.rule__number {
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.rule h3 {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.rule p {
  margin: 10px 0 0;
  color: rgba(255, 250, 240, 0.62);
}

.rule a {
  color: var(--sun);
}

.faq {
  border-top: 1px solid var(--jade);
}

.faq details {
  border-bottom: 1px solid var(--jade);
}

.faq summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 28px 62px 28px 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.5vw, 2.15rem);
  font-weight: 520;
  letter-spacing: -0.025em;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid var(--jade);
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.75rem;
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  max-width: 760px;
  margin: -8px 0 30px;
  color: var(--muted);
}

.page-hero {
  width: var(--page);
  min-height: 430px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.45fr);
  align-items: end;
  gap: clamp(45px, 8vw, 120px);
  border-top: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
  padding: clamp(50px, 8vw, 100px) 0 48px;
}

.page-hero--orange,
.page-hero--ice {
  background: transparent;
  color: inherit;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--jade);
  font-size: clamp(4.2rem, 9vw, 9rem);
  font-weight: 520;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.page-hero__aside p {
  margin: 0;
  color: var(--muted);
}

.page-hero__facts {
  display: grid;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.page-hero__facts span {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-hero__facts span::before {
  color: var(--terracotta);
  content: "↳";
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(230px, 0.4fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(50px, 9vw, 150px);
}

.content-grid__rail {
  position: sticky;
  top: 35px;
  border-top: 4px solid var(--jade);
  padding-top: 20px;
}

.content-grid__rail h2 {
  margin: 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.9rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

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

.prose {
  max-width: var(--reading);
}

.prose h2 {
  margin: 64px 0 17px;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  line-height: 0.95;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 34px 0 10px;
  color: var(--jade);
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 560;
  letter-spacing: -0.025em;
}

.prose p,
.prose li {
  color: #46564f;
}

.prose p {
  margin: 0 0 19px;
}

.prose ul,
.prose ol {
  margin: 18px 0 28px;
  padding-left: 1.35rem;
}

.prose li {
  margin-bottom: 10px;
}

.prose a {
  color: var(--jade);
  font-weight: 600;
  text-decoration-color: var(--terracotta);
  text-underline-offset: 3px;
}

.prose code {
  background: var(--sage);
  padding: 2px 5px;
  color: var(--greenhouse);
  font-family: var(--mono);
  font-size: 0.8em;
}

.callout {
  position: relative;
  margin: 40px 0;
  border: 1px solid var(--jade);
  background: rgba(255, 250, 240, 0.68);
  padding: clamp(28px, 5vw, 45px);
}

.callout::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 54px;
  height: 6px;
  background: var(--sun);
  content: "";
}

.callout--acid {
  background: var(--sage);
}

.callout--ice {
  background: var(--paper);
}

.callout strong:first-child {
  display: block;
  margin-bottom: 9px;
  color: var(--jade);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 560;
}

.callout p:last-child {
  margin-bottom: 0;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--jade);
  border-left: 1px solid var(--jade);
}

.mini-card {
  min-height: 230px;
  border-right: 1px solid var(--jade);
  border-bottom: 1px solid var(--jade);
  background: rgba(255, 250, 240, 0.38);
  padding: 30px;
}

.mini-card h3 {
  margin: 0 0 12px;
  color: var(--jade);
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 550;
  letter-spacing: -0.04em;
  line-height: 1;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
}

.game-hero {
  width: var(--page);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.55fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
}

.game-hero__image {
  min-height: 680px;
  overflow: hidden;
  border: 1px solid var(--jade);
  border-radius: 280px 280px 0 0;
  background: var(--sage);
  box-shadow: var(--shadow);
}

.game-hero__image img {
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
}

.game-hero__copy {
  padding: 40px 0;
}

.game-hero__copy h1 {
  margin: 0;
  color: var(--jade);
  font-size: clamp(4rem, 7vw, 7.3rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.game-hero__copy > p {
  margin: 28px 0 0;
  color: var(--muted);
}

.play-stage {
  overflow: hidden;
  border: 1px solid var(--jade);
  background: var(--greenhouse);
}

#play-game {
  scroll-margin-top: 38px;
}

.play-stage__top {
  min-height: 74px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.18);
  padding: 15px 22px;
  color: var(--paper);
}

.play-stage__identity {
  min-width: 0;
  display: grid;
  flex: 1 1 520px;
  gap: 4px;
}

.play-stage__top strong {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.play-stage__notice {
  color: rgba(255, 250, 240, 0.64);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.035em;
  line-height: 1.45;
  text-transform: uppercase;
}

.play-stage__frame {
  position: relative;
  min-height: min(72vh, 780px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(125deg, rgba(200, 102, 75, 0.12), transparent 35%),
    radial-gradient(circle at 78% 20%, rgba(233, 173, 60, 0.18), transparent 20rem),
    var(--greenhouse);
}

.play-stage__frame iframe {
  width: 100%;
  height: min(72vh, 780px);
  border: 0;
}

.play-stage__placeholder {
  max-width: 640px;
  display: grid;
  justify-items: start;
  padding: 66px 34px;
  text-align: left;
}

.play-stage__placeholder[hidden] {
  display: none;
}

.play-stage__disc {
  width: 70px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sun);
  border-radius: 35px 35px 0 0;
  color: var(--sun);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.play-stage__placeholder h2 {
  margin: 28px 0 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.play-stage__placeholder p {
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.64);
}

.play-stage__placeholder .button {
  margin-top: 26px;
  cursor: pointer;
}

.provider-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  border: 1px solid var(--jade);
  background: var(--paper);
}

.contact-card__copy,
.contact-card__details {
  padding: clamp(38px, 7vw, 82px);
}

.contact-card__details {
  border-left: 1px solid var(--jade);
  background: var(--sage);
}

.contact-card h2 {
  margin: 0;
  color: var(--jade);
  font-size: clamp(3.3rem, 7vw, 7rem);
  font-weight: 510;
  letter-spacing: -0.07em;
  line-height: 0.84;
}

.contact-card p,
.contact-card__details p {
  color: var(--muted);
}

.contact-routes {
  display: grid;
  gap: 22px;
  margin-top: 32px;
}

.contact-route {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.contact-route > strong {
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.contact-route p {
  max-width: 580px;
  margin: 7px 0 0;
  font-size: 0.9rem;
}

.contact-email {
  display: inline-block;
  margin-top: 10px;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(9, 42, 38, 0.9);
  padding: 20px;
}

.age-modal[hidden] {
  display: none;
}

.age-modal__card {
  width: min(650px, 100%);
  border: 1px solid var(--paper);
  background: var(--parchment);
  color: var(--ink);
  box-shadow: 18px 18px 0 var(--terracotta);
}

.age-modal__top {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--jade);
  padding: 14px 22px;
  color: var(--jade);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.age-modal__age {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--jade);
  color: var(--jade);
  font-family: var(--mono);
}

.age-modal__body {
  padding: clamp(34px, 7vw, 62px);
}

.age-modal h2 {
  max-width: 540px;
  margin: 0;
  color: var(--jade);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 520;
  letter-spacing: -0.065em;
  line-height: 0.84;
}

.age-modal p {
  margin: 23px 0 0;
  color: var(--muted);
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.age-modal__actions button {
  cursor: pointer;
}

.age-modal__note {
  font-size: 0.74rem;
}

.site-footer {
  margin-top: clamp(100px, 14vw, 190px);
  border-top: 7px solid var(--jade);
  background:
    linear-gradient(90deg, rgba(233, 173, 60, 0.1), transparent 35%),
    var(--paper);
  color: var(--ink);
}

.site-footer__main {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(150px, 0.38fr) minmax(380px, 1.25fr);
  gap: clamp(35px, 6vw, 90px);
  padding: 72px 0 58px;
}

.site-footer__brand p {
  max-width: 390px;
  margin: 26px 0 0;
  color: var(--muted);
}

.site-footer__heading {
  display: block;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-footer__links {
  display: grid;
  justify-items: start;
  gap: 9px;
}

.site-footer__links a {
  color: var(--jade);
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}

.site-footer__links a:hover {
  text-decoration-color: currentColor;
}

.site-footer__legal {
  display: grid;
  gap: 11px;
}

.site-footer__legal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.55;
}

.site-footer__legal strong {
  color: var(--jade);
}

.site-footer__legal a {
  color: var(--jade);
  text-decoration-color: var(--terracotta);
  text-underline-offset: 3px;
}

.site-footer__bottom {
  width: var(--page);
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.empty-state {
  min-height: calc(100vh - 200px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
}

.empty-state__card {
  width: min(800px, 100%);
  text-align: center;
}

.empty-state__code {
  color: var(--sun);
  font-family: var(--display);
  font-size: clamp(8rem, 24vw, 17rem);
  font-weight: 520;
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.empty-state h1 {
  margin: 32px 0 0;
  color: var(--jade);
  font-size: clamp(2.7rem, 6vw, 5rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

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

@media (max-width: 1100px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 96px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--jade);
    background: var(--parchment);
    padding: 18px 28px 24px;
  }

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

  .nav-links a {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
  }

  .nav-links a::after,
  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 0;
  }

  .hero__copy {
    grid-column: 1 / span 7;
    padding-right: 0;
  }

  .hero__art {
    grid-column: 8 / -1;
    min-height: 560px;
  }

  .hero h1 {
    font-size: clamp(4rem, 9vw, 7rem);
  }

  .game-folio,
  .game-folio--cinnamon {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  }

  .game-folio__media {
    min-height: 560px;
  }

  .game-hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  }

  .game-hero__image,
  .game-hero__image img {
    min-height: 560px;
  }

  .site-footer__main {
    grid-template-columns: 1fr 0.5fr;
  }

  .site-footer__legal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 32px, 1340px);
  }

  .compliance-bar__inner {
    min-height: 48px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 7px;
    padding: 8px 0;
    font-size: 0.57rem;
    text-align: center;
  }

  .compliance-bar__links {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 30px;
  }

  .hero__copy {
    padding: 30px 0 20px;
  }

  .hero__art {
    width: min(100%, 650px);
    height: 660px;
    min-height: 0;
    align-self: flex-end;
  }

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

  .hero__index a + a {
    border-top: 1px solid var(--jade);
    border-left: 0;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact + .fact {
    border-top: 1px solid var(--jade);
    border-left: 0;
  }

  .section-heading,
  .ledger-heading,
  .manifesto__grid,
  .responsible-panel,
  .page-hero,
  .content-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .ledger-heading {
    gap: 24px;
  }

  .game-folio,
  .game-folio--cinnamon {
    grid-template-columns: 1fr;
  }

  .game-folio--cinnamon .game-folio__media,
  .game-folio--cinnamon .game-folio__body {
    grid-column: 1;
  }

  .game-folio--cinnamon .game-folio__media {
    grid-row: 1;
  }

  .game-folio--cinnamon .game-folio__body {
    grid-row: 2;
  }

  .game-folio__media {
    min-height: 520px;
  }

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

  .principle {
    grid-template-columns: 60px 1fr;
    gap: 20px;
  }

  .principle p {
    grid-column: 2;
  }

  .principle > div {
    grid-column: 2;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .principle > div p {
    grid-column: auto;
  }

  .responsible-panel__list {
    border-top: 1px solid rgba(255, 250, 240, 0.18);
    border-left: 0;
  }

  .page-hero {
    min-height: 0;
    gap: 40px;
  }

  .content-grid__rail {
    position: static;
  }

  .game-hero {
    grid-template-columns: 1fr;
  }

  .game-hero__image {
    border-radius: 240px 240px 0 0;
  }

  .contact-card__details {
    border-top: 1px solid var(--jade);
    border-left: 0;
  }
}

@media (max-width: 560px) {
  :root {
    --page: min(100% - 22px, 1340px);
  }

  .site-nav {
    min-height: 78px;
  }

  .nav-links {
    top: 78px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    grid-template-columns: 30px auto;
    gap: 9px;
  }

  .brand__mark {
    width: 28px;
    height: 40px;
    border-radius: 15px 15px 0 0;
  }

  .brand__type {
    font-size: 1rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 18vw, 5.8rem);
  }

  .hero h1 em {
    margin-left: 0;
  }

  .hero__art {
    height: 510px;
    border-radius: 220px 220px 0 0;
  }

  .hero__art figcaption {
    font-size: 0.52rem;
  }

  .hero__index a {
    grid-template-columns: 38px 1fr;
    padding: 16px 12px;
  }

  .fact {
    min-height: 100px;
  }

  .section {
    margin-top: 90px;
  }

  .section-heading h2,
  .ledger-heading h2 {
    font-size: clamp(3.1rem, 15vw, 4.9rem);
  }

  .game-folios {
    gap: 78px;
  }

  .game-folio__media {
    min-height: 390px;
  }

  .game-folio__body h3 {
    font-size: clamp(3.3rem, 16vw, 5rem);
  }

  .game-card {
    grid-template-rows: 330px auto;
  }

  .game-card__media {
    min-height: 330px;
  }

  .principle {
    min-height: 0;
    grid-template-columns: 42px 1fr;
    padding: 25px 0;
  }

  .responsible-panel__lead,
  .rule {
    padding: 34px 25px;
  }

  .rule {
    min-height: 0;
    grid-template-columns: 36px 1fr;
  }

  .page-hero {
    margin-top: 30px;
    padding-top: 48px;
  }

  .page-hero h1 {
    font-size: clamp(4rem, 19vw, 6.2rem);
  }

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

  .game-hero {
    margin-top: 30px;
  }

  .game-hero__image,
  .game-hero__image img {
    min-height: 410px;
  }

  .game-hero__copy h1 {
    font-size: clamp(4rem, 18vw, 6rem);
  }

  .play-stage__frame,
  .play-stage__frame iframe {
    min-height: 580px;
    height: 580px;
  }

  .play-stage__placeholder {
    padding: 48px 22px;
  }

  .age-modal__card {
    box-shadow: 8px 8px 0 var(--terracotta);
  }

  .age-modal__actions .button {
    width: 100%;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .site-footer__legal {
    grid-column: auto;
  }

  .site-footer__bottom {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > *,
  .hero__art,
  .page-hero > *,
  .game-hero > * {
    animation: reveal 700ms both cubic-bezier(0.2, 0.65, 0.25, 1);
  }

  .hero__art,
  .page-hero > *:nth-child(2),
  .game-hero > *:nth-child(2) {
    animation-delay: 100ms;
  }

  .hero__copy > *:nth-child(2) {
    animation-delay: 60ms;
  }

  .hero__copy > *:nth-child(3) {
    animation-delay: 110ms;
  }

  .hero__copy > *:nth-child(4) {
    animation-delay: 160ms;
  }
}

@keyframes reveal {
  from {
    transform: translateY(14px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
