/* =========================================================
   Thervalon — warm editorial / kinetic-grid stylesheet
   ========================================================= */

:root {
  --bg: #151817;
  --surface: #F3EFE7;
  --surface-2: #202725;
  --terra: #C9684B;
  --teal: #4D8B83;
  --amber: #D6A64F;
  --text-light: #F5F1E8;
  --text-dark: #1B211F;
  --muted: #9EA8A3;
  --muted-dark: #56605C;
  --line-light: rgba(245, 241, 232, 0.14);
  --line-dark: rgba(27, 33, 31, 0.16);

  --font-head: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--amber);
  color: var(--text-dark);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--terra); color: var(--text-dark); }
.btn-primary:hover { background: var(--amber); }

.btn-line { border-color: var(--line-light); color: var(--text-light); background: transparent; }
.btn-line:hover { border-color: var(--text-light); }

.btn-dark { background: var(--text-dark); color: var(--text-light); }
.btn-dark:hover { background: var(--teal); }

.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 24, 23, 0.94);
  border-bottom: 1px solid var(--line-light);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(21, 24, 23, 0.82); backdrop-filter: blur(8px); }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.22em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.main-nav a:hover { color: var(--text-light); background: var(--surface-2); }
.main-nav a[aria-current="page"] {
  color: var(--text-light);
  box-shadow: inset 0 -2px 0 var(--terra);
  border-radius: 0;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-light);
  border-radius: 12px;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line-light);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a {
    padding: 14px 4px;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-light);
    border-radius: 0;
  }
  .main-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--terra); padding-left: 14px; }
}

/* ---------- Home: hero ---------- */

.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--surface);
  margin: 0 0 22px;
}
.hero-wordmark .lambda { color: var(--terra); }
.hero h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  color: var(--text-light);
  max-width: 17ch;
  margin-bottom: 24px;
}
.hero-lede { color: var(--muted); max-width: 46ch; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 30px; }
.hero-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
  font-size: 1rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}
.hero-note::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.collage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  position: relative;
}
.collage figure { margin: 0; position: relative; }
.collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.collage figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: var(--surface);
  color: var(--text-dark);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}
.collage-a { grid-column: 1 / 13; aspect-ratio: 16 / 8; }
.collage-b { grid-column: 1 / 6; aspect-ratio: 1 / 1; margin-top: -48px !important; margin-left: -28px !important; border: 8px solid var(--bg); border-radius: 28px; }
.collage-c { grid-column: 6 / 13; aspect-ratio: 16 / 10; }
.collage-tag {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: 22px;
  background: var(--teal);
  color: var(--text-light);
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------- Home: statement band ---------- */

.statement {
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
}
.statement h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0; max-width: 12ch; }
.statement-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}
.statement-blocks div { padding: 22px 22px 0 0; }
.statement-blocks div + div { border-left: 1px solid var(--line-dark); padding-left: 22px; }
.statement-blocks h3 { font-size: 1.15rem; margin-bottom: 8px; }
.statement-blocks p { margin: 0; color: var(--muted-dark); font-size: 1rem; }

/* ---------- Home: nature of business ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }

.nob {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.nob-heading {
  position: sticky;
  top: 110px;
}
.nob-heading h2 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  margin: 0;
}
.nob-heading h2 span { display: block; }
.nob-heading h2 span:nth-child(2) { color: var(--terra); font-weight: 400; padding-left: 0.6em; }
.nob-heading h2 span:nth-child(3) { padding-left: 1.2em; }
.nob-heading p { color: var(--muted); margin-top: 28px; max-width: 30ch; }

.nob-body { font-size: 1.08rem; }
.nob-body p { color: #D9D6CE; }
.nob-part { padding: 28px 0; border-top: 1px solid var(--line-light); }
.nob-part:first-child { border-top: 0; padding-top: 0; }
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.nob-callout {
  background: var(--surface-2);
  border-left: 3px solid var(--teal);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 8px 0 0;
  color: var(--text-light) !important;
}

/* ---------- Game cards ---------- */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); margin: 0; }
.section-head p { color: var(--muted); max-width: 44ch; margin: 0; }

.stagger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.stagger .game-card:nth-child(2) { margin-top: 64px; }
.stagger .game-card:nth-child(3) { margin-top: 128px; }

.game-card {
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}
.game-card:hover { transform: translateY(-4px); }
.game-card .media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.game-card .media img { width: 100%; height: 100%; object-fit: cover; }
.game-card .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.game-card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.game-card p { color: var(--muted-dark); font-size: 1rem; }
.game-card .btn { align-self: flex-start; margin-top: auto; }
.game-card .meta {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

.center-link { text-align: center; margin-top: 56px; }

/* ---------- Home: how it works ---------- */

.how {
  background: var(--surface-2);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}
.how-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
}
.how-grid > * { padding: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 32px); }
.how-grid > * + * { border-left: 1px solid var(--line-light); }
.how-title h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.how-step h3 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 400;
  margin-bottom: 14px;
}
.how-step:nth-child(2) h3 { color: var(--terra); }
.how-step:nth-child(3) h3 { color: var(--amber); }
.how-step:nth-child(4) h3 { color: var(--teal); }
.how-step p { color: var(--muted); margin: 0; }

/* ---------- Home: principles ---------- */

.principles-intro { max-width: 52ch; color: var(--muted); margin-bottom: 40px; }
.principles h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.principles-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 18px;
  column-gap: 20px;
}
.principle {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}
.principle h3 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 500;
  margin: 0;
  line-height: 1;
}
.principle p { margin: 0; color: var(--muted); max-width: 34ch; }
.principle:nth-child(1) { grid-column: 1 / 10; }
.principle:nth-child(1) h3 { color: var(--surface); }
.principle:nth-child(2) { grid-column: 4 / 13; }
.principle:nth-child(2) h3 { color: var(--terra); }
.principle:nth-child(3) { grid-column: 2 / 12; }
.principle:nth-child(3) h3 { color: var(--surface); font-weight: 400; }
.principle:nth-child(4) { grid-column: 5 / 13; }
.principle:nth-child(4) h3 { color: var(--teal); }

/* ---------- Home: final note ---------- */

.final-note {
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 4vw, 64px);
  position: relative;
  overflow: hidden;
}
.final-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--terra);
}
.final-note h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin: 0; max-width: 12ch; }
.final-note p { color: #36403C; }
.final-note .strong-line {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text-dark);
  border-top: 1px solid var(--line-dark);
  padding-top: 16px;
  margin-bottom: 8px;
}
.final-note a { color: var(--text-dark); font-weight: 600; }

/* ---------- Inner page intros ---------- */

.page-intro { padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 72px); }
.page-intro h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); max-width: 16ch; }
.page-intro .lede { color: var(--muted); font-size: 1.12rem; max-width: 60ch; }

/* Games page */
.games-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 40px;
}
.games-intro p { color: var(--muted); margin: 0; }

.games-list { display: flex; flex-direction: column; gap: 28px; padding-bottom: 40px; }
.game-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.game-row:hover { transform: translateY(-3px); }
.game-row:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.game-row:nth-child(even) .media { order: 2; }
.game-row .media { min-height: 300px; background: var(--surface-2); }
.game-row .media img { width: 100%; height: 100%; object-fit: cover; }
.game-row .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.game-row h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.game-row p { color: var(--muted-dark); }
.game-row .btn { align-self: flex-start; margin-top: 8px; }
.game-row .meta {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 12px;
}

.games-aside {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-light);
  margin-top: 32px;
}
.games-aside div { padding: 28px 24px 0 0; }
.games-aside div + div { border-left: 1px solid var(--line-light); padding-left: 24px; }
.games-aside h3 { font-size: 1.1rem; color: var(--amber); }
.games-aside p { color: var(--muted); font-size: 1rem; margin: 0; }

/* About page */
.about-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px);
  align-items: stretch;
}
.vertical-title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(4rem, 10vw, 8.5rem);
  line-height: 0.9;
  margin: 0;
  color: var(--terra);
  letter-spacing: -0.03em;
}
.about-hero .statement-text {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 32px;
  align-self: end;
}
.about-hero .sub { color: var(--muted); max-width: 60ch; }

.full-statement {
  background: var(--surface);
  color: var(--text-dark);
  padding: clamp(40px, 6vw, 80px) 0;
}
.full-statement p {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.45;
  max-width: 50ch;
  margin: 0;
}

.columns {
  column-count: 2;
  column-gap: clamp(32px, 5vw, 64px);
  column-rule: 1px solid var(--line-light);
}
.columns p { color: #D9D6CE; break-inside: avoid-column; }
.columns h2 { column-span: all; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 28px; }

.pull-quote {
  margin: clamp(48px, 7vw, 88px) 0;
  padding: 0 0 0 clamp(20px, 4vw, 48px);
  border-left: 3px solid var(--amber);
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.25;
  max-width: 30ch;
}
.pull-quote.right { margin-left: auto; border-left: 0; border-right: 3px solid var(--teal); padding: 0 clamp(20px, 4vw, 48px) 0 0; text-align: right; }

.about-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-principles article {
  background: var(--surface-2);
  border-radius: var(--radius);
  padding: 28px;
  border-top: 3px solid var(--teal);
}
.about-principles article:nth-child(2) { border-top-color: var(--terra); transform: translateY(24px); }
.about-principles article:nth-child(4) { border-top-color: var(--amber); transform: translateY(24px); }
.about-principles h3 { font-size: 1.3rem; }
.about-principles p { color: var(--muted); margin: 0; }

.about-nob {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(28px, 5vw, 72px);
  border-top: 1px solid var(--line-light);
  padding-top: 48px;
}
.about-nob h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.about-nob p { color: #D9D6CE; }

.closing {
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0;
}
.closing p.big {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.6vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 24ch;
  margin: 0 auto 32px;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(64px, 9vw, 120px);
}
.contact-mail {
  border-top: 1px solid var(--line-light);
  padding-top: 28px;
}
.contact-mail .label { color: var(--muted); font-size: 1rem; margin-bottom: 6px; }
.contact-mail a.email {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 600;
  text-decoration: none;
  color: var(--amber);
  border-bottom: 2px solid var(--terra);
  word-break: break-word;
}
.contact-mail a.email:hover { color: var(--surface); }
.contact-topics { list-style: none; padding: 0; margin: 32px 0 0; }
.contact-topics li { padding: 14px 0; border-bottom: 1px solid var(--line-light); color: var(--muted); }
.contact-topics strong { color: var(--text-light); font-weight: 600; display: block; }

.contact-form {
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.contact-form h2 { font-size: 1.7rem; }
.contact-form .form-note { color: var(--muted-dark); font-size: 1rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: #FFFDF8;
  border: 1px solid #C9C3B6;
  border-radius: 10px;
  padding: 13px 14px;
  transition: border-color 0.2s ease;
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(77, 139, 131, 0.25); }
.field textarea { min-height: 150px; resize: vertical; }

/* Legal pages: Terms & Privacy share a document layout with side index */
.doc {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(32px, 5vw, 72px);
  padding-bottom: clamp(64px, 9vw, 120px);
  align-items: start;
}
.doc-index {
  position: sticky;
  top: 100px;
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
}
.doc-index p { font-family: var(--font-head); font-weight: 600; margin-bottom: 10px; }
.doc-index ol { margin: 0; padding-left: 20px; color: var(--muted); }
.doc-index li { margin: 6px 0; font-size: 1rem; }
.doc-index a { text-decoration: none; color: var(--muted); }
.doc-index a:hover { color: var(--text-light); }
.doc-body {
  background: var(--surface);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
}
.doc-body section { padding: 8px 0 20px; border-bottom: 1px solid var(--line-dark); margin-bottom: 20px; scroll-margin-top: 100px; }
.doc-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.doc-body h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.doc-body p, .doc-body li { color: #2E3734; }
.doc-body ul { padding-left: 20px; margin: 0 0 1.1em; }
.doc-body li { margin-bottom: 6px; }
.doc-body a { color: #2F6A63; font-weight: 600; }
.doc-meta { color: var(--muted); font-size: 1rem; }

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}
.privacy-summary div {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px;
}
.privacy-summary h2 { font-size: 1.1rem; color: var(--teal); margin-bottom: 8px; }
.privacy-summary p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Responsible gaming page */
.rg-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.rg-card {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.6vw, 44px);
}
.rg-card h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.rg-card p:last-child { margin-bottom: 0; }
.rg-card.light { background: var(--surface); color: var(--text-dark); }
.rg-card.light p { color: #36403C; }
.rg-card.dark { background: var(--surface-2); }
.rg-card.dark p { color: #CFCCC4; }
.rg-card.teal { background: var(--teal); color: var(--text-light); }
.rg-card.teal p { color: #EAF1EF; }
.rg-a { grid-column: 1 / 8; }
.rg-b { grid-column: 8 / 13; }
.rg-c { grid-column: 1 / 6; }
.rg-d { grid-column: 6 / 13; }
.rg-e { grid-column: 2 / 12; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-light); position: relative; color: #CFCCC4; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 2px; background: var(--amber); }

/* Disclaimer page — stacked panels with a side label */
.disc-list { border-top: 1px solid var(--line-light); padding-bottom: clamp(48px, 8vw, 96px); }
.disc-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 40px 0;
  border-bottom: 1px solid var(--line-light);
}
.disc-item h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--surface); }
.disc-item p { color: #D0CDC5; }
.disc-item p:last-child { margin-bottom: 0; }
.disc-banner {
  background: var(--terra);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(48px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.disc-banner p {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line-light);
  padding: clamp(48px, 7vw, 88px) 0 32px;
  margin-top: clamp(40px, 6vw, 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-grid h2 {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); max-width: 38ch; font-size: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 4px; }
.footer-grid li a {
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-light);
  transition: color 0.2s ease;
}
.footer-grid li a:hover { color: var(--amber); }
.footer-mail { color: var(--amber) !important; word-break: break-word; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 1rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }

/* ---------- Game launcher ---------- */

.launcher {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 12, 11, 0.86);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.launcher.is-open { opacity: 1; visibility: visible; }
.launcher-panel {
  width: 100%;
  max-width: 1180px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--surface-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.launcher-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4px 14px;
}
.launcher-bar h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); margin: 0; }
.launcher-close {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  background: var(--bg);
  color: var(--text-light);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.launcher-close:hover { background: var(--terra); color: var(--text-dark); }
.launcher-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.launcher-frame iframe { display: block; max-width: 100%; }
body.launcher-active { overflow: hidden; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid > * { border-left: 0 !important; border-top: 1px solid var(--line-light); }
  .how-title { grid-column: 1 / -1; border-top: 0 !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid,
  .statement,
  .nob,
  .final-note,
  .games-intro,
  .about-nob,
  .contact-grid,
  .doc,
  .disc-item,
  .disc-banner { grid-template-columns: 1fr; }

  .collage-b { margin-left: 0 !important; }
  .nob-heading { position: static; }
  .doc-index { position: static; }

  .stagger { grid-template-columns: 1fr 1fr; }
  .stagger .game-card:nth-child(2) { margin-top: 40px; }
  .stagger .game-card:nth-child(3) { margin-top: 0; }

  .game-row,
  .game-row:nth-child(even) { grid-template-columns: 1fr; }
  .game-row:nth-child(even) .media { order: 0; }
  .game-row .media { min-height: 0; aspect-ratio: 16 / 9; }

  .principle,
  .principle:nth-child(n) { grid-column: 1 / -1; }

  .columns { column-count: 1; }
  .rg-grid > * { grid-column: 1 / -1 !important; }
  .privacy-summary { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .statement-blocks,
  .games-aside { grid-template-columns: 1fr; }
  .statement-blocks div,
  .games-aside div { padding: 18px 0 !important; border-left: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .games-aside div { border-bottom-color: var(--line-light); }

  .stagger { grid-template-columns: 1fr; }
  .stagger .game-card:nth-child(n) { margin-top: 0; }

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

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

  .about-hero { grid-template-columns: 1fr; }
  .vertical-title { writing-mode: horizontal-tb; transform: none; font-size: clamp(3.2rem, 16vw, 5rem); }
  .about-principles { grid-template-columns: 1fr; }
  .about-principles article:nth-child(n) { transform: none; }

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

  .hero-actions .btn { flex: 1 1 100%; }

  .collage { gap: 10px; }
  .collage-b,
  .collage-c { grid-column: span 6; aspect-ratio: 1 / 1; margin: 0 !important; border: 0; border-radius: var(--radius-lg); }
  .collage-tag { top: -14px; right: 12px; }
  .collage figcaption { left: 10px; bottom: 10px; font-size: 0.8rem; }
  .collage-c figcaption { display: none; }

  .launcher { padding: 8px; }
  .launcher-panel { padding: 10px; max-height: calc(100vh - 16px); }
  .launcher-frame iframe { height: min(600px, calc(100vh - 110px)) !important; }

}
