/* /gaming/ inner pages — DRAFT (Folio lane, 15 Sep 2026). The Chair's table look:
   wood ground, parchment panels, gilt rules. Georgia to match the apps. No web fonts. */
:root {
  --wood: #2a1a10;
  --parch: #efe2c4;
  --parch-panel: #241c14;
  --ink: #efe2c4;
  --ink-soft: #c3b291;
  --gold: #d3ad62;
  --gold-lit: #f0cf7a;
  --quiet: #b9a582;
  --rule: rgba(239, 226, 196, 0.22);
  --accent: #e2b264;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--wood) url("../img/ground.jpg") center / cover fixed;
  color: var(--parch);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  padding-inline: 16px;
  padding-block: 20px 48px;
}
a { color: var(--accent); }
.top {
  max-width: 980px; margin: 0 auto 18px; display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 8px 20px;
}
.top a { color: var(--gold-lit); text-decoration: none; }
.top .home { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; }
.top nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 16px; }
.top nav a[aria-current="page"] { color: var(--parch); border-bottom: 1px solid var(--gold-lit); }

.sheet {
  max-width: 980px; margin: 0 auto; background: linear-gradient(180deg, #2a2016 0%, #1d160f 100%); color: var(--ink);
  border: 1px solid #6d552a; border-radius: 4px;
  box-shadow: 0 0 0 6px rgba(10, 6, 3, .66), 0 18px 40px rgba(0, 0, 0, .55);
  padding: clamp(22px, 5vw, 56px);
}
.sheet > header { text-align: center; max-width: 40rem; margin: 0 auto 8px; }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 0; }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.1; margin: 8px 0 12px; text-wrap: balance; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.2; margin: 0 0 8px; color: var(--accent); text-wrap: balance; }
p { margin: 0 0 12px; }
.lede { font-size: 19px; color: var(--ink-soft); text-wrap: balance; }
.gilt { border: 0; height: 1px; margin: 40px auto; max-width: 60%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* A feature: words beside the screens that prove them. */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px 40px; align-items: center; }
.feature.flip .words { order: 2; }
.words { max-width: 34rem; }
.shots { display: flex; gap: 14px; align-items: flex-end; justify-content: center; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 10px 22px rgba(0,0,0,.28); }
.shots .ipad { flex: 1 1 64%; max-width: 380px; }
.shots .phone { flex: 0 1 32%; max-width: 190px; }
.shots .phone img { border-radius: 22px; }
figcaption { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 6px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 34px; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 18px; }
.steps > li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-size: 22px; font-weight: bold; color: var(--parch); background: var(--ink); border: 2px solid var(--gold); }
.steps .feature { grid-column: 2; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.fact { border-top: 2px solid var(--gold); padding-top: 10px; }
.fact b { display: block; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.fact span { font-size: 17px; }
.note { font-size: 15px; color: var(--ink-soft); }
.cta { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center; margin-top: 8px; }
.button { display: inline-block; background: var(--ink); color: var(--parch); text-decoration: none; padding: 12px 22px;
  border-radius: 999px; border: 1px solid var(--gold); font-size: 17px; }
.button:hover, .button:focus-visible { background: #4a3726; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

footer { max-width: 980px; margin: 24px auto 0; text-align: center; color: var(--quiet); font-size: 14px; line-height: 1.7; }
footer a { color: var(--parch); }

@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; }
  .feature.flip .words { order: 0; }
  .steps > li { grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; }
  .steps > li::before { width: 36px; height: 36px; font-size: 18px; }
  body { font-size: 17px; }
}

/* ===== folio/: the github.io page's layout, carried over and scoped ===== */
.folio-page { --rule: rgba(43, 33, 24, 0.22); --ink-soft: #5b4a37; }
.folio-page h2 { margin: 2.2rem 0 .7rem; }
.folio-page h3 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
.folio-page .price { font-weight: normal; color: var(--ink-soft); font-size: .95rem; margin-left: .35rem; }
.folio-page .card { background: rgba(255,255,255,.35); border: 1px solid var(--rule); border-radius: 10px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.folio-page ul { padding-left: 1.2rem; } .folio-page li { margin: .4rem 0; }
.folio-page hr:not(.gilt) { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
.folio-page figure { margin: 0; }
.folio-page figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: 0 2px 14px rgba(43, 33, 24, .18);
  background: rgba(255,255,255,.25);
}
.folio-page figcaption {
  text-align: center;
  font-style: italic;
  color: var(--ink-soft);
  font-size: .92rem;
  margin-top: .5rem;
}


.folio-page figure video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--rule);
  box-shadow: 0 2px 14px rgba(43, 33, 24, .18);
  background: #14100a;
}

.folio-page .credit {
  text-align: center;
  color: var(--ink-soft);
  font-size: .78rem;
  margin: .6rem 0 0;
}


.folio-page .hero { margin: .5rem 0 2rem; }
.folio-page .hero img { border-radius: 10px; }
.folio-page .wide { margin: 2rem 0; }


.folio-page .split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
}
.folio-page .split > div > p:first-child { margin-top: 0; }
.folio-page .split > div > p:last-child { margin-bottom: 0; }
.folio-page .split.reverse > figure { order: 2; }

.folio-page .gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.folio-page .heroes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}
.folio-page .heroes figcaption { font-size: .82rem; }


.folio-page .compare { overflow-x: auto; margin: 1.25rem 0 2rem; }
.folio-page .compare table {
  border-collapse: collapse;
  width: 100%;
  min-width: 34rem;
  font-size: .95rem;
}
.folio-page .compare th, .folio-page .compare td {
  text-align: left;
  vertical-align: top;
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--rule);
}
.folio-page .compare thead th {
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom-width: 2px;
}

.folio-page .compare tbody th { font-weight: 600; width: 26%; }

.folio-page .compare td:last-child { background: rgba(255, 255, 255, 0.35); }
.folio-page .compare tbody tr:last-child th, .folio-page .compare tbody tr:last-child td { border-bottom: none; }

@media (max-width: 46rem) {
.folio-page .split { grid-template-columns: 1fr; gap: 1.1rem; }
.folio-page .split.reverse > figure { order: 0; }
.folio-page .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.folio-page .heroes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 30rem) {
.folio-page .gallery, .folio-page .heroes { grid-template-columns: 1fr; }
}

/* Night table (Adam, 15 Sep 2026): the Chair's table, not a sheet of paper. */
.fact b { color: #c3b291; }
.folio-page .card,
.folio-page .compare td:last-child { background: rgba(239, 226, 196, .06); }
.folio-page figure img { background: rgba(239, 226, 196, .06); }
.shots img { border-color: rgba(239, 226, 196, .18); }
.steps > li::before { background: #efe2c4; color: #241c14; }
.button { background: #efe2c4; color: #241c14; border-color: #d3ad62; }
.button:hover, .button:focus-visible { background: #fff6e0; }

/* ═══ AGED PARCHMENT — the Chair page only (Adam, Sep 16 2026) ═══
   All five /gaming/ pages share this stylesheet. Rather than split it, the
   parchment palette is scoped to :root[data-palette="parchment"], and only
   gaming/chair/index.html sets that attribute. The other four pages never
   match these rules and keep the Night table palette untouched.
   Why the Chair alone: the Folio page glows because its screenshots are bright
   parchment against dark. The Chair's own screens ARE dark, so dark-on-dark read
   as dim — Adam's "blank with orange text". Same palette, opposite result,
   because the pictures differ. */
:root[data-palette="parchment"] {
  --parch-panel: #e6d6ae;
  --ink: #2b2118;
  --ink-soft: #5b4a37;
  --gold: #b88a35;
  --accent: #8c1f1a;
  --rule: rgba(43, 33, 24, 0.28);
}
:root[data-palette="parchment"] .sheet {
  background: var(--parch-panel);
  border-color: #b8975a;
  box-shadow: 0 0 0 6px rgba(42, 26, 16, .72), 0 18px 40px rgba(0, 0, 0, .5),
              inset 0 0 90px rgba(120, 85, 30, .18);
}
:root[data-palette="parchment"] .fact b { color: #5b4a37; }
:root[data-palette="parchment"] .shots img { border-color: rgba(0, 0, 0, .25); }
:root[data-palette="parchment"] .steps > li::before { background: #2b2118; color: #efe2c4; }
:root[data-palette="parchment"] .button { background: #2b2118; color: #efe2c4; border-color: #b88a35; }
:root[data-palette="parchment"] .button:hover { background: #4a3726; }

/* The hero. Art-forward, per Adam: lead with the world, not the UI. */
.chair-hero {
  max-width: 1180px;
  margin: 0 auto 22px;
  padding: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(214, 178, 94, .3), 0 22px 54px rgba(0, 0, 0, .6);
}
.chair-hero img { display: block; width: 100%; height: auto; }
