/* ==========================================================================
   Pine & Dandy Studio — shared styles
   Palette and type live in :root. Change them there, not per page.
   ========================================================================== */

:root {
  /* Pine & Dandy brand palette (Brand Identity Starter Kit, Sept 2026).
     Forest on Cream is the body-text pairing. Sage, Moss and Pale Yellow
     are for fills, accents and large display only — not body text on Cream. */
  --forest: #1F3A2E;
  --forest-deep: #152A20;
  --sage: #6B7F61;
  --moss: #9AA57A;
  --cream: #F6F1E4;
  --pale-yellow: #E4C86B;

  /* Derived tints */
  --paper: var(--cream);
  --paper-light: #FCFAF3;
  --paper-deep: #ECE5D2;
  --sage-soft: #E3E7D6;
  --ink: var(--forest);
  --ink-soft: #46564C;
  --on-dark: #D9DDD0;
  --line: rgba(31, 58, 46, .2);

  /* Road Trip Bingo game palette — games may have their own look under the studio brand */
  --tile: #FBF0D9; /* matches the cream baked into the sight illustrations */
  --shutter: rgba(58, 92, 64, .8);
  --card-green: var(--moss);

  /* Type: Fraunces for display, Source Sans 3 for body/UI (loaded from Google Fonts) */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: var(--font-body);

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1160px;
  --ease-mech: cubic-bezier(.25, .9, .3, 1);

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  /* Subtle printed-paper grain; tiny inline SVG, no request */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .19 0 0 0 0 .17 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--forest-deep); text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -100px;
  z-index: 100;
  background: var(--forest); color: var(--paper-light);
  padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-label); font-size: .95rem;
}
.skip-link:focus { top: 12px; color: var(--paper-light); }

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

/* Labels — the game-box voice */
.eyebrow {
  font-family: var(--font-label);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--forest);
  margin: 0 0 .9rem;
}
.lede { font-size: clamp(1.15rem, 1.9vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  position: relative;
  z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 96px;
}

.brand-logo {
  display: inline-flex; align-items: center;
  /* clear space: at least the height of the word STUDIO */
  padding: 10px 0;
}
.brand-logo img { width: 220px; height: auto; } /* guide minimum for the primary horizontal logo */

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-label); font-size: .9rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-radius: 999px;
}
.site-nav a:hover { background: var(--sage-soft); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--forest); color: var(--paper-light); }

.nav-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--ink); border-radius: 999px;
  font: 700 .82rem var(--font-label); letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -5px; }
.nav-toggle-bars::after { position: absolute; top: 5px; }

@media (max-width: 640px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper-light);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(44, 48, 45, .08);
    padding: 8px var(--gutter) 16px;
  }
  .js .site-nav:not(.is-open) { display: none; }
  .js .site-nav ul { flex-direction: column; gap: 2px; }
  .js .site-nav a { width: 100%; border-radius: 10px; }
  /* Without JS, links simply wrap under the wordmark */
  html:not(.js) .site-header .wrap { flex-wrap: wrap; padding-bottom: 8px; }
}

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

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 700 .9rem var(--font-label); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; cursor: pointer;
  border: 2px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary { background: var(--forest); color: var(--paper-light); box-shadow: 3px 3px 0 var(--forest-deep); }
.btn-primary:hover { background: var(--forest-deep); color: var(--paper-light); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-secondary { background: var(--paper-light); color: var(--ink); }
.btn-secondary:hover { background: var(--sage-soft); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: .8rem; }

/* ------------------------------------------------------------- Sections */

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { max-width: 42em; margin-bottom: clamp(28px, 4vw, 48px); }

.rule {
  border: 0; height: 10px; margin: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) top / 100% 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) bottom / 100% 1px no-repeat;
}

/* Forest band — the green-forward "box lid" */
.band-forest {
  background: var(--forest);
  color: var(--paper-light);
}
.band-forest h2, .band-forest h3 { color: var(--paper-light); }
.band-forest .eyebrow { color: var(--pale-yellow); }
.band-forest a:not(.btn) { color: var(--paper-light); }
.band-forest .lede, .band-forest p { color: var(--on-dark); }

.band-sage { background: var(--sage-soft); }

/* ---------------------------------------------------------------- Hero */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 100px); }
.hero-grid {
  display: grid; gap: clamp(36px, 5vw, 64px); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1.08fr; }
}
.hero h1 { max-width: 12em; }

/* Framed print: cream mat, ink keyline, flat offset shadow */
.print {
  position: relative;
  margin: 0;
  background: var(--paper-light);
  padding: clamp(10px, 1.6vw, 16px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--forest);
}
.print img { border-radius: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.print figcaption {
  font-family: var(--font-label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); padding: 10px 4px 0; display: flex; justify-content: space-between; gap: 12px;
}

.hero-art { position: relative; margin: 0 0 40px; }

/* Three-tile fragment of a card sitting on the print */
.card-fragment {
  position: absolute; left: clamp(-8px, -1.5vw, -24px); bottom: -34px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  width: min(62%, 300px);
  padding: 8px;
  background: var(--card-green);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2.5deg);
}
.card-fragment .mini {
  position: relative; overflow: hidden;
  aspect-ratio: 1; border-radius: 9px;
  background: var(--tile);
  border: 1.5px solid var(--ink);
}
.card-fragment .mini img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.card-fragment .mini.is-shut .shutter { transform: translateX(0); }

/* --------------------------------------------------------- Game feature */

.game-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  line-height: .95;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .35em;
}
.game-title span { display: block; }
.tagline { font-family: var(--font-display); font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-style: italic; font-weight: 500; line-height: 1.25; margin: 0 0 .5em; }
.subtag {
  font-family: var(--font-label); font-weight: 700; font-size: .95rem;
  letter-spacing: .2em; text-transform: uppercase; margin: 0 0 1.5rem;
}

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  font-family: var(--font-label); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px solid currentColor;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.feature-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; }
.checklist li::before {
  content: "✓"; flex: none; font-weight: 700; color: var(--sage);
}

.region-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 2rem;
}
.region-strip img {
  aspect-ratio: 1; object-fit: cover; border-radius: 12px;
  border: 2px solid var(--paper-light);
}

/* ---------------------------------------------------------- About/values */

.about-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .about-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.about-grid .lede { color: var(--ink); }

.values { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1.5px solid var(--ink); }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { padding: 24px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) {
  .values li { padding: 28px 28px 8px 0; border-bottom: 0; }
  .values li + li { padding-left: 28px; border-left: 1px solid var(--line); }
}
.values h3 {
  font-family: var(--font-label); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--forest); margin-bottom: .6em;
}
.values p { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------- Steps */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 18px 18px 22px;
  counter-increment: step;
}
.step-art {
  position: relative; border-radius: 12px; overflow: hidden;
  background: var(--paper-deep); aspect-ratio: 16 / 10; margin-bottom: 18px;
  display: grid; place-items: center;
}
.step-art > img { width: 100%; height: 100%; object-fit: cover; }
.step-art:has(.sight-pair) { background: var(--tile); }
.step-art .sight-pair { display: flex; gap: 6%; width: 86%; justify-content: center; }
.step-art .sight-pair img { width: 46%; }
.step-art .demo-tile { position: relative; width: 44%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--tile); border: 2px solid var(--ink); }
.step-art .demo-tile img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.step-art .demo-tile .shutter { transform: translateX(0); }
.step h3 {
  font-family: var(--font-label); font-size: 1rem; letter-spacing: .16em; text-transform: uppercase;
  display: flex; gap: 12px; align-items: center;
}
.step h3::before {
  content: counter(step);
  display: inline-grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--forest); color: var(--paper-light);
  font-size: .9rem; letter-spacing: 0;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* --------------------------------------------------------------- Modes */

.modes { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .modes { grid-template-columns: 1fr 1fr; } }
.mode {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: var(--paper-light); border: 1.5px solid var(--ink); border-radius: var(--radius-lg);
  padding: 22px;
}
.mode h3 { font-family: var(--font-label); letter-spacing: .12em; text-transform: uppercase; font-size: 1.35rem; margin-bottom: .25em; }
.mode .mode-size { font-family: var(--font-label); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin-bottom: .6em; }
.mode p:last-child { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }
.grid-glyph {
  display: grid; gap: 3px; width: 92px; padding: 6px;
  background: var(--card-green); border: 1.5px solid var(--ink); border-radius: 10px;
}
.grid-glyph.g4 { grid-template-columns: repeat(4, 1fr); }
.grid-glyph.g5 { grid-template-columns: repeat(5, 1fr); }
.grid-glyph span { aspect-ratio: 1; background: var(--paper-light); border-radius: 3px; }
.grid-glyph span.shut { background: var(--forest); }
.grid-glyph span.free { background: var(--pale-yellow); }

/* ------------------------------------------------------------- Regions */

.regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .regions { grid-template-columns: repeat(3, 1fr); } }
.region {
  background: var(--paper-light); border: 1.5px solid var(--ink); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.region img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border-bottom: 1.5px solid var(--ink); }
.region-body { padding: 16px 18px 20px; }
.region h3 { font-family: var(--font-label); letter-spacing: .14em; text-transform: uppercase; font-size: 1.1rem; margin-bottom: .3em; }
.region p { margin: 0; font-size: 1rem; color: var(--ink-soft); }
.region .tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--font-label); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--pale-yellow); color: var(--ink); padding: 4px 10px; border-radius: 999px;
}

/* ===================================================================
   Shutter — the signature detail. Shared by the playable card, the
   hero fragment and the step illustration.
   =================================================================== */

.shutter {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-items: center;
  background:
    /* molded ribs, like the plastic slider on the cardboard card */
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 9px),
    var(--shutter);
  border-right: 4px solid rgba(34, 54, 38, .85);
  box-shadow: inset -6px 0 0 rgba(255, 255, 255, .08);
  transform: translateX(-102%);
  transition: transform .38s var(--ease-mech);
  pointer-events: none;
}
/* Grip notch on the leading edge */
.shutter::after {
  content: ""; position: absolute; right: 7px; top: 50%;
  width: 4px; height: 34%; min-height: 14px;
  transform: translateY(-50%);
  border-left: 1.5px solid rgba(255, 255, 255, .28);
  border-right: 1.5px solid rgba(255, 255, 255, .28);
}
.shutter-mark {
  display: grid; place-items: center;
  width: clamp(26px, 34%, 44px); aspect-ratio: 1; border-radius: 50%;
  background: var(--paper-light); color: var(--forest-deep);
  border: 2px solid var(--ink);
  font: 800 clamp(.85rem, 2.4vw, 1.2rem)/1 var(--font-label);
}

/* ------------------------------------------------------- Playable card */

.sample-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 940px) {
  .sample-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .sample-grid .bingo-card { order: -1; }
}

.bingo-card {
  position: relative;
  background: var(--card-green);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: clamp(10px, 2.2vw, 18px);
  box-shadow: 6px 6px 0 var(--ink);
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}
.bingo-card-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 2px 6px 12px;
  font-family: var(--font-label); text-transform: uppercase;
  color: var(--ink);
}
.bingo-card-head strong { font-size: clamp(1rem, 2.6vw, 1.3rem); letter-spacing: .12em; }
.bingo-card-head span { font-size: .72rem; letter-spacing: .18em; font-weight: 700; }

.board {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(5px, 1.3vw, 10px);
}
.board li { min-width: 0; }

.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: stretch;
  width: 100%; aspect-ratio: 1 / 1.08;
  padding: 0; margin: 0;
  background: var(--tile);
  border: 2px solid var(--ink);
  border-radius: 12px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: box-shadow .2s ease;
}
.tile:hover { box-shadow: inset 0 0 0 2px var(--forest); }
.tile:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px var(--paper-light); }
.tile-art { flex: 1; min-height: 0; position: relative; }
.tile-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8% 8% 2%; }
.tile-label {
  display: block; padding: 4px 4px 7%;
  font-family: var(--font-label); font-weight: 700;
  font-size: clamp(.55rem, 1.55vw, .78rem);
  letter-spacing: .06em; line-height: 1.15; text-transform: uppercase;
  text-align: center;
}
.tile[aria-pressed="true"] .shutter { transform: translateX(0); }

/* Winning line: an ink ring around each tile in the line */
.tile.is-win { border-color: var(--ink); box-shadow: 0 0 0 3px var(--pale-yellow), 0 0 0 5px var(--ink); z-index: 1; overflow: hidden; }

.bingo-stamp {
  position: absolute; left: 50%; top: 50%; z-index: 5;
  transform: translate(-50%, -50%) rotate(-8deg) scale(1);
  padding: .2em .55em .12em;
  font: 700 clamp(2.4rem, 9vw, 4.2rem)/1 var(--font-display);
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--pale-yellow);
  border: 4px solid var(--ink);
  border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink);
  pointer-events: none;
  animation: stamp .5s var(--ease-mech) both;
}
.bingo-stamp[hidden] { display: none; }
.bingo-stamp.is-fading { opacity: 0; transition: opacity .6s ease; }
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scale(1.6); }
  60% { opacity: 1; transform: translate(-50%, -50%) rotate(-7deg) scale(.94); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-8deg) scale(1); }
}

.sample-side h2 { margin-bottom: .4em; }
.sample-status {
  margin: 1.25rem 0 0; padding: 16px 18px;
  background: var(--paper-light);
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  font-size: 1.05rem;
}
.sample-status strong { font-family: var(--font-label); letter-spacing: .1em; text-transform: uppercase; font-size: .95rem; }
.sample-status.is-bingo { background: var(--pale-yellow); }
.sample-note { font-size: .95rem; color: var(--ink-soft); margin-top: 1rem; }

/* --------------------------------------------------------- Plain pages */

.page-head { padding: clamp(44px, 7vw, 84px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { margin-bottom: .35em; }

.prose { max-width: 44em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--forest); }

.panel {
  background: var(--paper-light);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3.5vw, 32px);
}

.contact-card {
  display: grid; gap: 6px;
  background: var(--forest); color: var(--paper-light);
  border: 2px solid var(--ink); border-radius: var(--radius-lg);
  box-shadow: 6px 6px 0 var(--ink);
  padding: clamp(22px, 4vw, 34px);
  max-width: 44em;
}
.contact-card .eyebrow { color: var(--pale-yellow); margin: 0; }
.contact-card a {
  color: var(--paper-light);
  font-size: clamp(1.15rem, 3.6vw, 1.7rem);
  font-weight: 700;
  word-break: break-word;
  min-height: 44px; display: inline-flex; align-items: center;
}
.contact-card p { margin: 0; color: var(--on-dark); font-size: 1rem; }

.faq { max-width: 44em; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--ink); font-family: var(--font-label); font-weight: 700;
}
.faq details[open] summary::after { content: "–"; background: var(--forest); color: var(--paper-light); border-color: var(--forest); }
.faq details > div { padding: 0 0 18px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

.meta-line { font-family: var(--font-label); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

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

.site-footer {
  padding: 8px 0 40px;
  font-size: 1rem;
}
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr auto; } }
.footer-brand img { width: 220px; height: auto; margin-bottom: 6px; }
.footer-brand p { margin: 4px 0 0; color: var(--ink-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-links a, .footer-email { display: inline-flex; align-items: center; min-height: 44px; }
.footer-legal { margin: 18px 0 0; font-size: .88rem; color: var(--ink-soft); }

/* --------------------------------------------------------------- 404 */

.lost { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.lost .lede { margin: 0 auto; }
.lost .btn-row { justify-content: center; }
.lost .sign {
  display: inline-grid; place-items: center; width: 120px; height: 120px; margin-bottom: 28px;
  background: var(--pale-yellow); border: 3px solid var(--ink); border-radius: 14px; transform: rotate(45deg);
}
.lost .sign span { transform: rotate(-45deg); font: 700 1.6rem var(--font-display); letter-spacing: .02em; }

/* ------------------------------------------------------ Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media print {
  body { background: #fff; }
  .site-header nav, .nav-toggle, .skip-link { display: none !important; }
}

/* ------------------------------------------------------------- Games list
   One card per game. Add a new <li class="game-card"> for each future title. */

.game-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.game-card {
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  background: var(--paper-light); border: 1.5px solid var(--ink); border-radius: var(--radius-lg);
}
@media (min-width: 820px) { .game-card { grid-template-columns: 1.05fr 1fr; } }
.game-card-art { position: relative; background: var(--paper-deep); min-height: 240px; }
.game-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; position: absolute; inset: 0; }
.game-card-body { padding: clamp(22px, 4vw, 40px); }
.game-card .game-title { font-size: clamp(2rem, 4.6vw, 3rem); }
.game-card .status { color: var(--forest); }
.game-card-soon {
  display: grid; place-items: center; text-align: center; gap: 10px;
  padding: 36px 24px; border: 1.5px dashed var(--line); border-radius: var(--radius-lg); color: var(--ink-soft);
}
.game-card-soon img { width: 48px; height: auto; opacity: .85; }
.game-card-soon p { margin: 0; }

.divider-cone { display: flex; align-items: center; gap: 16px; margin: 0 auto; max-width: var(--max); padding: 0 var(--gutter); }
.divider-cone::before, .divider-cone::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider-cone img { width: 26px; height: auto; opacity: .9; }

/* Game cards sitting on the forest band keep light-surface colors */
.band-forest .game-card { color: var(--ink); }
.band-forest .game-card p, .band-forest .game-card li { color: var(--ink-soft); }
.band-forest .game-card .game-title, .band-forest .game-card .tagline, .band-forest .game-card .subtag { color: var(--ink); }
.band-forest .game-card .eyebrow { color: var(--forest); }
.band-forest .game-card .status { color: var(--forest); margin-top: 1rem; }
.band-forest .game-card-soon { border-color: rgba(246, 241, 228, .35); }
.band-forest .game-card-soon p { color: var(--on-dark); }
.game-list + .game-card-soon { margin-top: 22px; }

/* Sage ampersand in the hero headline, echoing the logo (large display text, 3.8:1 on Cream). */
/* Fraunces draws a swash loop around "&" at display optical sizes (reads like "@"). Pin a text optical size for a plain ampersand. */
.amp { color: var(--sage); font-style: normal; font-weight: 700; font-variation-settings: "opsz" 9; }
.nowrap { white-space: nowrap; }

/* ------------------------------------------------------ App screenshots */

.screens { display: grid; gap: clamp(14px, 2.4vw, 24px); grid-template-columns: 1fr 1fr; grid-auto-flow: dense; align-items: start; }
.screen { margin: 0; }
.screen-tablet { grid-column: span 2; }
@media (min-width: 820px) {
  .screens { grid-template-columns: minmax(0, .462fr) minmax(0, 1.44fr); }
  .screen-tablet { grid-column: auto; }
}
.screen img { width: 100%; border: 3px solid var(--ink); background: var(--ink); }
.screen-phone img { border-radius: 26px; }
.screen-tablet img { border-radius: 18px; }
.screen figcaption {
  margin-top: 10px; font-family: var(--font-label); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}

.story { max-width: 50em; }
.story .lede { color: var(--ink); }

/* ------------------------------------------------- Sample card controls */

.sample-controls { display: flex; flex-wrap: wrap; gap: 14px 20px; margin: 1.25rem 0 0; align-items: flex-end; }
.field { display: grid; gap: 6px; }
.field label, .field-label {
  font-family: var(--font-label); font-size: .75rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.field select {
  min-height: 44px; padding: 0 40px 0 16px;
  font: 600 1rem var(--font-body); color: var(--ink);
  background: var(--paper-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F3A2E' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  border: 1.5px solid var(--ink); border-radius: 999px;
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.segmented { display: inline-flex; padding: 3px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--paper-light); }
.segmented button {
  min-height: 38px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .8rem var(--font-label); letter-spacing: .12em; text-transform: uppercase;
  background: transparent; color: var(--ink);
}
.segmented button[aria-pressed="true"] { background: var(--forest); color: var(--paper-light); }

/* 5×5 All Ages card */
.board.is-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(4px, 1vw, 8px); }
.board.is-5 .tile-label { font-size: clamp(.46rem, 1.15vw, .64rem); letter-spacing: .03em; }
.board.is-5 .tile { border-radius: 10px; }
.free-space {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1.08;
  background: var(--pale-yellow); border: 2px solid var(--ink); border-radius: 10px;
  font: 700 clamp(.8rem, 2.2vw, 1.2rem) var(--font-display); color: var(--ink); text-transform: uppercase; letter-spacing: .04em;
}
.free-space.is-win { box-shadow: 0 0 0 3px var(--pale-yellow), 0 0 0 5px var(--ink); }

/* Region cards that link to region pages */
.region a.region-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.region a.region-link:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.region .more { margin-top: 10px; font-family: var(--font-label); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--forest); }

/* ------------------------------------------------------- Region pages */

.crumbs { font-family: var(--font-label); font-size: .78rem; font-weight: 600; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.region-hero .meta-line { margin-top: -.25rem; }

.sight-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(8px, 1.6vw, 14px);
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}
.sight {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--tile); border: 1.5px solid var(--ink); border-radius: 12px;
}
.sight-art { aspect-ratio: 17 / 16; display: block; padding: 8% 8% 0; }
.sight-art img { width: 100%; height: 100%; object-fit: contain; }
.sight-label {
  padding: 6px 8px 10px; text-align: center;
  font-family: var(--font-label); font-size: .78rem; font-weight: 700; line-height: 1.2;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink);
}
.other-regions { margin-top: 1.5rem; }
.band-forest .other-regions a { color: var(--paper-light); }
.region .more { display: block; }

/* ------------------------------------------------------------- Press */

.press-grid { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .press-grid { grid-template-columns: .9fr 1.1fr; } }
.press-grid h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); }
.press-grid h2 + h3, .press-grid p + h2 { margin-top: 1.5em; }
.press-label { font-family: var(--font-label); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--forest); margin: 1.2em 0 .4em; }
.facts { margin: 0; border-top: 1.5px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 8.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-label); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); padding-top: 3px; }
.facts dd { margin: 0; }
.press-assets { list-style: none; margin: 1rem 0 2.5rem; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; }
.press-assets img { width: 100%; border: 1.5px solid var(--ink); border-radius: 12px; background: var(--paper-light); }
.press-assets.logos img { padding: 20px; object-fit: contain; aspect-ratio: 16 / 9; }
.press-assets li.tall img { max-height: 420px; width: auto; }
.site-footer .divider-cone { margin-bottom: 28px; }
.divider-cone::before, .divider-cone::after { background: var(--ink); height: 1.5px; }

/* Play Together */
.together { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 820px) { .together { grid-template-columns: 1.3fr .7fr; } }
.together .screen { max-width: 300px; margin: 0 auto; }
.together .screen img { border-color: var(--paper-light); }
.band-forest .checklist li::before { color: var(--pale-yellow); }
.signoff { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; margin: 1.25rem 0 0; color: var(--ink); }
