/* ============================================================
   Tablebound Games — Landing Page Styles
   Extends colors_and_type.css with page-level patterns,
   section rhythm, components, and theme variants.
   ============================================================ */

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

a {
  border-bottom: none; /* don't underline by default — links opt in */
}

/* ---------- Layout primitives ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Section rhythm — generous editorial spacing */
.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}
section[id] {
  scroll-margin-top: 96px;
}
[data-density="dense"] .section {
  padding: clamp(48px, 6vw, 80px) 0;
}

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 8px; z-index: 9999;
  background: var(--ink); color: var(--paper);
  padding: 8px 14px; border-radius: 6px;
  font-family: var(--font-serif); font-size: 14px;
}
.skip-link:focus { top: 8px; }

/* ---------- Section header (overline + number) ---------- */
.section-eyebrow {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--font-serif);
  font-size: var(--text-overline);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: var(--weight-semi);
  color: var(--ink-3);
}
.section-eyebrow .num {
  color: var(--clay);
  font-variant-numeric: tabular-nums;
}
.section-eyebrow .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--clay);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: var(--weight-semi);
  font-variation-settings: 'opsz' 24, 'SOFT' 80, 'WONK' 0;
  letter-spacing: 0.005em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  background: transparent;
  color: inherit;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:active { transform: scale(0.985); }

.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: #2D2A3A; }

.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink-soft); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink-line); }
.btn-ghost:hover { background: var(--ink-soft); border-color: var(--ink); }

.btn-highlight { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-highlight:hover { background: var(--gold-press); border-color: var(--gold-press); }

.btn-on-ink { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-on-ink:hover { background: var(--paper-3); }

/* ---------- Clay rule (signature divider) ---------- */
.clay-rule { display: inline-flex; align-items: center; }
.clay-rule .cap { width: 8px; height: 8px; background: var(--clay); flex: none; }
.clay-rule .bar { height: 1.5px; background: var(--clay); width: 56px; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-serif);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  color: var(--ink-2);
}
.pill .icon { width: 14px; height: 14px; }
.pill.on-ink {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.92);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-stagger="1"] { transition-delay: 70ms; }
.reveal[data-stagger="2"] { transition-delay: 140ms; }
.reveal[data-stagger="3"] { transition-delay: 210ms; }
.reveal[data-stagger="4"] { transition-delay: 280ms; }
.reveal[data-stagger="5"] { transition-delay: 350ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-slow) var(--ease-out),
              background var(--dur-slow) var(--ease-out);
}
.site-header.scrolled { border-bottom-color: var(--ink-line); }

.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 120px;
  transition: height var(--dur-slow) var(--ease-out);
}
.site-header .brand img {
  height: 60px;
  width: auto;
  transition: height var(--dur-slow) var(--ease-out);
}
.site-header .brand { display: flex; align-items: center; gap: 10px; }

.site-header.is-compact .inner { height: 72px; }
.site-header.is-compact .brand img { height: 40px; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  padding: 8px 2px;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 4px;
  height: 1px; background: var(--ink);
  transition: right var(--dur-base) var(--ease-out);
}
.nav-link:hover::after { right: 0; }

@media (max-width: 720px) {
  .nav-links .nav-link { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-surface);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 9vw, 112px);
  min-height: clamp(520px, 72vh, 720px);
}
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  min-height: 100%;
  background-image: url('../img/ventures-villainy-front-back.jpg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--hero-surface) 0%, rgba(232, 236, 239, 0.85) 10%, transparent 35%);
}
.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid {
  display: block;
  max-width: 52%;
}
.hero-content {
  position: relative;
  z-index: 1;
}
@media (max-width: 899px) {
  .hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.22;
  }
  .hero-bg::before {
    background: linear-gradient(to bottom, var(--hero-surface) 0%, rgba(232, 236, 239, 0.92) 35%, rgba(232, 236, 239, 0.75) 100%);
  }
  .hero-grid {
    max-width: 100%;
  }
}

.hero-display {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6.4vw, 5rem);
  line-height: 1.1;
  letter-spacing: -0.028em;
  font-weight: 700;
  font-variation-settings: 'opsz' 144, 'wght' 800, 'SOFT' 60, 'WONK' 1;
  color: var(--ink);
  text-wrap: balance;
  margin: 0;
}
.hero-sub {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 48ch;
}
.hero-actions {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex; gap: 12px; flex-wrap: wrap;
}

/* Hero meta strip (social links) */
.hero-meta {
  display: flex; align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 28px;
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero-meta .social-row {
  display: flex; gap: 16px;
}
.hero-meta .social-row a {
  width: 24px; height: 24px;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.75;
  transition: opacity var(--dur-base) var(--ease-out);
}
.hero-meta .social-row a:hover { opacity: 1; }
.social-row a svg,
.footer-bottom .social a svg {
  width: 22px;
  height: 22px;
}
/* ============================================================
   Studio (Who we are)
   ============================================================ */
.studio {
  background: var(--paper);
}
.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 900px) {
  .studio-grid {
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
  }
}
.studio-eyebrow-block {
  position: sticky;
  top: 96px;
}
.studio-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144, 'wght' 700, 'SOFT' 80, 'WONK' 1;
  color: var(--ink);
  margin: 0 0 28px 0;
  text-wrap: balance;
}
.studio-prose p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 24px 0;
}
.studio-prose p.lede {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: 'opsz' 36, 'wght' 500, 'SOFT' 60, 'WONK' 0;
}
.studio-prose p:last-child { margin-bottom: 0; }
.studio-prose .clay-rule { margin-top: 12px; }

/* ============================================================
   Featured (Ventures & Villainy)
   ============================================================ */
.featured {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.featured::before {
  /* subtle texture */
  content: '';
  position: absolute; inset: 0;
  background-image: url('../img/texture-parchment-dark.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.07;
  mix-blend-mode: lighten;
  pointer-events: none;
}
.featured .section-eyebrow {
  color: rgba(255,255,255,0.55);
}
.featured .section-eyebrow .num { color: var(--gold); }
.featured .section-eyebrow .dot { background: var(--gold); }

.featured-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 900px) {
  .featured-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

.featured-art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 320px;
}
.featured-art img.box {
  width: 100%; max-width: 460px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
  transition: transform 800ms var(--ease-out);
}
.featured-art:hover img.box { transform: translateY(-6px) rotate(-1deg); }
.featured-art img.card {
  position: absolute;
  width: 32%; max-width: 180px;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  transition: transform 800ms var(--ease-out);
}
.featured-art img.card.knight {
  bottom: 8%; left: -5%;
  transform: rotate(-9deg);
}
.featured-art img.card.assassin {
  top: 4%; right: -5%;
  transform: rotate(7deg);
}
.featured-art:hover img.card.knight { transform: rotate(-13deg) translateY(-8px); }
.featured-art:hover img.card.assassin { transform: rotate(11deg) translateY(-6px); }

.featured-copy {
  position: relative;
}
.featured-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 800;
  font-variation-settings: 'opsz' 144, 'wght' 800, 'SOFT' 80, 'WONK' 1;
  color: var(--paper);
  margin: 0;
}
.featured-blurb {
  margin-top: 20px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  max-width: 44ch;
}
.featured-pills {
  margin-top: 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.featured-actions {
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.featured-link-secondary {
  background: transparent;
  color: rgba(255,255,255,0.92);
  border-color: rgba(255,255,255,0.32);
}
.featured-link-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--paper);
}

/* ============================================================
   Games catalog
   ============================================================ */
.catalog-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 48px;
}
.catalog-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.catalog-head .blurb {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 36ch;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink-line);
}
.game-row {
  display: grid;
  grid-template-columns: 56px 1.4fr 1fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-line);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition: padding-left var(--dur-base) var(--ease-out);
}
.game-row:hover { padding-left: 12px; }
.game-row::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: var(--clay);
  transition: width var(--dur-base) var(--ease-out);
}
.game-row:hover::before { width: 4px; }

.game-row .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}
.game-row .title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  font-variation-settings: 'opsz' 60, 'wght' 700, 'SOFT' 80, 'WONK' 0;
}
.game-row .meta {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--ink-2);
}
.game-row .status {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.game-row .status.available { color: var(--gold); }
.game-row .status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; display: inline-block;
  margin-right: 8px; vertical-align: middle;
  transform: translateY(-1px);
}
.game-row .arrow {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  transition: color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.game-row:hover .arrow { color: var(--ink); transform: translateX(4px); }
.game-row[data-state="upcoming"] .title { color: var(--ink-3); }
.game-row[data-state="upcoming"]:hover .title { color: var(--ink); }

/* Hover preview (image floats in on hover) */
.game-row .preview {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%) translateX(20px) rotate(-3deg);
  width: 120px; height: 160px;
  border-radius: var(--radius-md);
  background-size: cover; background-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform 400ms var(--ease-out);
  box-shadow: 0 20px 40px rgba(33,31,44,0.18);
  z-index: 2;
}
.game-row:hover .preview {
  opacity: 1;
  transform: translateY(-50%) translateX(0) rotate(-3deg);
}
@media (max-width: 900px) {
  .game-row .preview { display: none; }
  .game-row {
    grid-template-columns: 32px 1fr auto;
    gap: 16px;
  }
  .game-row .meta, .game-row .status { display: none; }
}

/* ============================================================
   Events
   ============================================================ */
.events {
  background: var(--paper-2);
}
.events-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 16px;
  margin-bottom: 48px;
}
.events-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0;
}
.events-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--ink-line);
}
.event-row {
  display: grid;
  grid-template-columns: 120px 1.4fr 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-line);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-base) var(--ease-out), padding-left var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.event-row:hover { padding-left: 12px; background: rgba(255,255,255,0.6); }
.event-row .date {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.04em;
  font-variation-settings: 'opsz' 24, 'wght' 600, 'SOFT' 80;
}
.event-row .date .month {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay);
  display: block;
  margin-bottom: 2px;
}
.event-row .name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
  font-variation-settings: 'opsz' 36, 'wght' 600, 'SOFT' 80;
}
.event-row .where {
  font-size: 14px;
  color: var(--ink-2);
}
.event-row .badge {
  font-family: var(--font-serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--ink-line);
  color: var(--ink-2);
  white-space: nowrap;
}
.event-row .badge.demo { background: var(--gold-soft); color: #5C3F30; border-color: rgba(245,178,39,0.4); }
.event-row .badge.host { background: var(--clay-soft); color: #5C3F30; border-color: var(--clay-line); }

@media (max-width: 720px) {
  .event-row { grid-template-columns: 90px 1fr auto; }
  .event-row .where { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; }
}
.faq-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  text-wrap: balance;
}
.faq-help {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 32ch;
}
.faq-help a { color: var(--ink); border-bottom: 1px solid var(--ink-line); }
.faq-help a:hover { border-bottom-color: var(--ink); }

.faq-item {
  border-bottom: 1px solid var(--ink-line);
}
.faq-item:first-child { border-top: 1px solid var(--ink-line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  background: transparent; border: none; cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-variation-settings: 'opsz' 36, 'wght' 600, 'SOFT' 80;
  color: var(--ink);
  transition: color var(--dur-base) var(--ease-out);
}
.faq-q:hover { color: var(--clay); }
.faq-q .icon {
  width: 22px; height: 22px;
  flex: none;
  transition: transform var(--dur-base) var(--ease-out);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-in-out);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner {
  padding-bottom: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 60ch;
}

/* ---------- Title emphasis & ampersand ---------- */
.hero-display em,
.featured-headline em,
.game-row .title em,
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 800;
  color: var(--clay);
  font-variation-settings: 'opsz' 144, 'wght' 800, 'SOFT' 80, 'WONK' 0;
}
.featured-headline em {
  color: var(--gold);
}
.game-row .title em {
  font-variation-settings: 'opsz' 60, 'wght' 800, 'SOFT' 80, 'WONK' 0;
}
/* Fraunces WONK axis exaggerates & — dial it back on ampersands */
.amp {
  font-style: normal;
  font-weight: inherit;
  font-variation-settings: 'WONK' 0, 'SOFT' 0;
}

/* ============================================================
   Newsletter
   ============================================================ */
.newsletter {
  background: var(--gold);
  text-align: center;
}
.newsletter .section-eyebrow {
  color: var(--ink-2);
}
.newsletter .section-eyebrow .num {
  color: var(--clay);
}
.newsletter .section-eyebrow .dot {
  background: var(--clay);
}
.newsletter h2 em {
  color: var(--paper);
}
.newsletter-inner {
  display: flex; flex-direction: column; align-items: center;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 20px 0 12px 0;
  text-wrap: balance;
  color: var(--ink);
}
.newsletter p {
  font-size: 18px;
  color: var(--ink);
  max-width: 44ch;
  margin: 0;
}
.newsletter .form {
  display: flex; gap: 8px;
  width: 100%; max-width: 460px;
  margin-top: 32px;
}
.newsletter input {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--paper);
  color: var(--ink);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color var(--dur-base) var(--ease-out);
}
.newsletter input:focus { border-color: var(--ink); }
.newsletter .clay-rule .cap,
.newsletter .clay-rule .bar {
  background: var(--paper);
}
.newsletter input::placeholder { color: var(--ink-3); }
.newsletter .success {
  margin-top: 32px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  background: var(--gold-soft);
  color: #5C3F30;
  font-family: var(--font-serif);
  font-size: 15px;
  display: inline-flex; align-items: center; gap: 10px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-grid h5 {
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 20px 0;
  font-weight: var(--weight-semi);
}
.footer-grid ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-grid li a {
  font-family: var(--font-serif);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color var(--dur-base) var(--ease-out);
}
.footer-grid li a:hover { color: var(--gold); }

.footer-brand img {
  height: 36px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 32ch;
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-family: var(--font-serif);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .social {
  display: flex; gap: 16px;
}
.footer-bottom .social a {
  width: 24px; height: 24px;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur-base) var(--ease-out);
}
.footer-bottom .social a:hover { color: var(--paper); }

/* ============================================================
   Theme variants
   ============================================================ */

/* "paper" — light everywhere, even featured */
.theme-paper .featured {
  background: var(--paper-2);
  color: var(--ink);
}
.theme-paper .featured::before { display: none; }
.theme-paper .featured .featured-headline { color: var(--ink); }
.theme-paper .featured .featured-blurb { color: var(--ink-2); }
.theme-paper .featured .section-eyebrow { color: var(--ink-3); }
.theme-paper .featured .section-eyebrow .num,
.theme-paper .featured .section-eyebrow .dot { color: var(--clay); background: var(--clay); }
.theme-paper .featured .section-eyebrow .num { background: transparent; }
.theme-paper .featured .pill {
  background: var(--paper);
  border-color: var(--ink-line);
  color: var(--ink-2);
}
.theme-paper .featured .btn-on-ink {
  background: var(--ink); color: var(--paper); border-color: var(--ink);
}
.theme-paper .featured .btn-on-ink:hover { background: #2D2A3A; }

.theme-paper .site-footer { background: var(--paper-2); color: var(--ink); }
.theme-paper .footer-grid h5 { color: var(--ink-3); }
.theme-paper .footer-grid li a { color: var(--ink); }
.theme-paper .footer-grid li a:hover { color: var(--clay); }
.theme-paper .footer-brand img { filter: none; opacity: 1; }
.theme-paper .footer-brand p { color: var(--ink-2); }
.theme-paper .footer-bottom { border-top-color: var(--ink-line); color: var(--ink-3); }
.theme-paper .footer-bottom .social a { color: var(--ink); }

/* "ink" — dark everywhere */
.theme-ink {
  background: var(--ink);
}
.theme-ink body { background: var(--ink); }
.theme-ink .site-header {
  background: var(--ink);
  color: var(--paper);
}
.theme-ink .site-header.scrolled { border-bottom-color: rgba(255,255,255,0.15); }
.theme-ink .nav-link { color: var(--paper); }
.theme-ink .nav-link::after { background: var(--paper); }
.theme-ink .site-header .brand img { filter: brightness(0) invert(1); }
.theme-ink .btn-primary { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.theme-ink .btn-primary:hover { background: var(--gold-press); border-color: var(--gold-press); }

.theme-ink .hero,
.theme-ink .studio,
.theme-ink .events,
.theme-ink .newsletter,
.theme-ink main {
  background: var(--ink);
  color: var(--paper);
}
.theme-ink .hero-display,
.theme-ink .studio-title,
.theme-ink .catalog-head h2,
.theme-ink .events-head h2,
.theme-ink .faq-title,
.theme-ink .newsletter h2,
.theme-ink .faq-q,
.theme-ink .studio-value h4 { color: var(--paper); }
.theme-ink .hero-sub,
.theme-ink .studio-prose p,
.theme-ink .catalog-head .blurb,
.theme-ink .faq-help,
.theme-ink .newsletter p,
.theme-ink .event-row .where,
.theme-ink .studio-value p,
.theme-ink .faq-a-inner,
.theme-ink .event-row .name { color: rgba(255,255,255,0.78); }
.theme-ink .section-eyebrow { color: rgba(255,255,255,0.55); }
.theme-ink .section-eyebrow .num { color: var(--gold); }
.theme-ink .section-eyebrow .dot { background: var(--gold); }
.theme-ink .game-row,
.theme-ink .event-row,
.theme-ink .faq-item,
.theme-ink .catalog-list,
.theme-ink .events-list,
.theme-ink .hero-meta { border-color: rgba(255,255,255,0.12); }
.theme-ink .game-row .meta,
.theme-ink .game-row .status,
.theme-ink .event-row .badge,
.theme-ink .hero-meta { color: rgba(255,255,255,0.6); }
.theme-ink .game-row[data-state="upcoming"] .title { color: rgba(255,255,255,0.4); }
.theme-ink .game-row:hover .arrow,
.theme-ink .game-row[data-state="upcoming"]:hover .title { color: var(--paper); }
.theme-ink .event-row .badge {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.8);
}
.theme-ink .event-row:hover { background: rgba(255,255,255,0.03); }
.theme-ink .events { background: var(--ink); }
.theme-ink .featured { background: #15131c; }
.theme-ink .newsletter input {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255,255,255,0.22);
}
.theme-ink .newsletter input::placeholder { color: rgba(255,255,255,0.45); }
.theme-ink .newsletter input:focus { border-color: var(--paper); }
.theme-ink .btn-secondary { color: var(--paper); border-color: rgba(255,255,255,0.5); }
.theme-ink .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--paper); }
.theme-ink .hero-meta .social-row a,
.theme-ink .footer-bottom .social a { color: var(--paper); }
.theme-ink .studio-value .num,
.theme-ink .event-row .date .month,
.theme-ink .game-row .num { color: var(--gold); }
.theme-ink .clay-rule .cap,
.theme-ink .clay-rule .bar { background: var(--gold); }

/* ============================================================
   Responsive nits
   ============================================================ */
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .studio-eyebrow-block { position: static; }
}
