/* =========================================================================
   Standing pages: About, Contact, Privacy, Terms. Loaded after style.css,
   which supplies the tokens, topbar, nav and footer.

   This is the one place on the property where the reader is meant to read a
   PAGE rather than scan a list, so the measure is narrow, the leading is
   long and nothing is a link target except real links. Generated by
   tools/gen_pages.py; nothing here is per-page.
   ========================================================================= */


/* Same opt-out as style.css: furniture takes the sans, copy keeps the serif. */
.pagehead__eyebrow,
.prose__dated {
  font-family: var(--sans);
}

/* ------------------------------------------------------- page masthead */

/* Deliberately quieter than .deskhead. A desk name is the loudest thing on
   its page because the desk IS the product; a policy page heading is not,
   so this runs at roughly half the display size and drops the giant caps. */
.pagehead {
  padding: clamp(24px, 3.4vw, 40px) 0 clamp(20px, 2.6vw, 30px);
  background: var(--paper);
  text-align: center;
}

.pagehead__parent {
  display: inline-block;
  text-decoration: none;
}
.pagehead__parent img {
  width: clamp(120px, 15vw, 168px);
  height: auto;
  margin-inline: auto;
}

/* Same rule treatment as the desks, so a standing page still reads as part
   of the same paper rather than as a bolted-on legal annex. */
.pagehead__rule {
  margin: clamp(16px, 2.2vw, 24px) 0 clamp(18px, 2.4vw, 26px);
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  height: 5px;
  position: relative;
}
.pagehead__rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  width: 86px;
  height: 4px;
  background: var(--red);
  transform: translateX(-50%);
}

.pagehead__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.pagehead__standfirst {
  margin: clamp(14px, 1.8vw, 20px) auto 0;
  max-width: 58ch;
  font-size: clamp(15px, 1.3vw, 17.5px);
  line-height: 1.62;
  color: #3d3d3d;
}

/* ----------------------------------------------------------- page body */

.pagebody {
  padding: clamp(40px, 5vw, 68px) 0 clamp(48px, 6vw, 80px);
  background: var(--paper-warm);
}

/* One column, centred, capped at a reading measure rather than at --wrap.
   68ch is long-form territory; the desks never need it because a headline
   list is scanned, not read. */
.prose {
  max-width: 68ch;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 56px) clamp(22px, 4vw, 60px);
}

.prose h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.012em;
  margin: clamp(34px, 4vw, 48px) 0 0;
  padding-top: clamp(20px, 2.4vw, 26px);
  border-top: 1px solid var(--rule);
}

/* The first heading sits directly under the standfirst, so it needs neither
   the rule above it nor the space that rule earns. */
.prose > h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.prose p {
  margin-top: 1.05em;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
  color: var(--ink-soft);
}

.prose ul {
  margin: 1.05em 0 0;
  padding-inline-start: 0;
  list-style: none;
}

/* Hanging red rule instead of a bullet: the same hairline-and-red vocabulary
   the desk cards use, at list scale. */
.prose li {
  position: relative;
  margin-top: 0.85em;
  padding-inline-start: 22px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.68;
  color: var(--ink-soft);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 11px;
  height: 2px;
  background: var(--red);
}

.prose strong {
  font-weight: 700;
  color: var(--ink);
}

.prose a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}
.prose a:hover {
  color: var(--red);
}

.prose__dated {
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid var(--rule);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ------------------------------------------------------------ narrow */

@media (max-width: 640px) {
  /* The card border and inset stop earning their keep once the viewport is
     narrower than the measure: it becomes a frame around nothing. */
  .prose {
    border-inline: 0;
    padding-inline: 0;
  }
}
