/* pumpkinsquash.space — the reading pages
   Play is loud; these are quiet. Parchment, serif, one accent. */

body.page {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--face-text);
  line-height: 1.62;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

.masthead {
  background: var(--ink);
  color: var(--parchment);
  padding: 1rem var(--edge);
}

.masthead__inner {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.masthead a {
  font-family: var(--face-display);
  text-decoration: none;
}

.backlink {
  font-weight: 600;
  font-size: var(--step--1);
  border-bottom: 2px solid var(--ember);
  padding-bottom: 2px;
}
.backlink:hover { border-bottom-color: var(--gourd); }

.masthead__mark {
  font-family: var(--face-display);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--gourd);
  margin: 0;
}

.sheetpage {
  flex: 1;
  width: min(46rem, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 3.5rem) var(--edge) 3rem;
}

.sheetpage h1 {
  font-size: var(--step-2);
  max-width: 20ch;
}

.stamp {
  font-family: var(--face-display);
  font-size: 0.8rem;
  color: var(--rind);
  margin-top: 0.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 3px solid var(--ember);
}

.sheetpage h2 {
  font-size: var(--step-1);
  margin-top: 2.4rem;
  margin-bottom: 0.5rem;
}

.sheetpage p,
.sheetpage ul,
.sheetpage ol,
.sheetpage dl {
  margin-top: 0.9rem;
  max-width: 68ch;
}

.sheetpage ul, .sheetpage ol { padding-inline-start: 1.3rem; }
.sheetpage li { margin-top: 0.4rem; }

.sheetpage a { color: var(--rind); }
.sheetpage a:hover { color: var(--apple); }

.lead {
  font-size: var(--step-1);
  line-height: 1.45;
}

.draft {
  border-inline-start: 6px solid var(--gourd);
  background: rgba(244, 183, 49, 0.18);
  padding: 0.9rem 1.1rem;
  margin-top: 1.6rem;
  font-family: var(--face-display);
  font-size: var(--step--1);
  line-height: 1.5;
  max-width: 64ch;
}

dl.terms dt {
  font-family: var(--face-display);
  font-weight: 600;
  margin-top: 1.1rem;
}
dl.terms dd { margin: 0.2rem 0 0; }

.pagefoot {
  background: var(--ink);
  color: var(--parchment);
  padding: 1.6rem var(--edge) calc(1.6rem + var(--safe-b));
  font-family: var(--face-display);
  font-size: 0.82rem;
}
.pagefoot__inner {
  max-width: 46rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  align-items: baseline;
}
.pagefoot a { color: var(--parchment); opacity: 0.72; text-decoration: none; }
.pagefoot a:hover { opacity: 1; border-bottom: 1px solid var(--gourd); }
.pagefoot p { opacity: 0.55; width: 100%; margin-top: 0.7rem; }

/* ---------- masthead logo + hero banner ----------
   Reading pages only — the play screen keeps its plain text wordmark. */

.masthead__inner { flex-wrap: nowrap; }

.masthead__logo {
  height: 2.1rem;
  width: auto;
  border-radius: 6px;
  flex: none;
}

.masthead__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.pagebanner {
  width: 100%;
  max-height: min(38vw, 20rem);
  object-fit: cover;
  object-position: center 42%;
  display: block;
  border-bottom: 3px solid var(--ember);
}

/* ---------- beta notice ---------- */
/* A short strip on every reading page (index.html has its own, longer
   version at the bottom of the play screen instead). */

.betanotice {
  margin: 1.4rem 0 0 !important;
  padding: 0.7rem 1rem;
  background: rgba(242, 121, 42, 0.14);
  border-inline-start: 6px solid var(--gourd);
  font-family: var(--face-display);
  font-size: var(--step--1) !important;
  max-width: 64ch;
}

/* ---------- decorative video embeds ----------
   Both come from an external host (Imgur), the one deliberate exception to
   this site's "everything from our own origin" rule — see the privacy
   policy and white paper for the disclosure. Both are muted, looping,
   aria-hidden decoration; js/media.js stops them for prefers-reduced-motion. */

.contactvideo {
  width: 100%;
  border-radius: 6px;
  display: block;
  margin: 1.6rem 0 0.4rem;
}

.pagevideo-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem var(--edge) 0;
}

.pagevideo {
  width: 280px;
  max-width: 100%;
  border-radius: 6px;
  flex-shrink: 0;
}