/* ===========================================================================
   Manifesto — same tokens, different rhythm.
   Declarative rather than explanatory: larger type, shorter measure, more air.
   The roman numerals are load-bearing. This is a four-part doctrinal sequence
   (truth / origin / cessation / path), so the order carries meaning and the
   numbers are structure rather than scaffolding.
   =========================================================================== */

/* padding-block, not the shorthand — `padding` here resets .wrap's
   padding-inline to 0, which pulled the title off the left edge the copy
   below it sits on and let it touch the screen edge on narrow viewports. */
.man-head {
  padding-block: clamp(4rem, 12vh, 8rem) clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line-soft);
}

.man-head h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.75rem, 8.5vw, 5.5rem);
  line-height: 0.97; letter-spacing: -0.032em;
  color: var(--ink); margin: 0; max-width: 13ch; text-wrap: balance;
}

.man-sub {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.6vw, 1.6rem);
  line-height: 1.35; color: var(--signal);
  margin: 1.5rem 0 0; max-width: 30ch; text-wrap: balance;
}

.man-truths {
  font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
  margin: clamp(3rem, 8vh, 5rem) 0 0;
  padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
}

/* ---------- the four ---------- */

.truths { display: flex; flex-direction: column; }

.truth {
  --truth-pad: clamp(3rem, 8vh, 5rem);
  position: relative;
  padding: var(--truth-pad) 0;
  border-bottom: 1px solid var(--line-soft);
}
.truth:last-child { border-bottom: 0; }

/* The numeral used to hold a 7rem column inside the measure. That pushed every
   line of the doctrine ~10rem off the left edge the masthead, the title and the
   coda all sit on, and left the copy running at two thirds of the width it had.
   A chapter mark belongs in the margin or above the heading — never inside the
   text column it is marking. */
.truth-num {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  margin: 0 0 0.9rem;
}

.truth-body { min-width: 0; max-width: 47rem; }

.truth h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.875rem, 4.4vw, 3rem);
  line-height: 1.1; letter-spacing: -0.022em;
  color: var(--ink); margin: 0 0 1.5rem; max-width: 20ch;
  text-wrap: balance;
}

/* Declarative text carries a larger size than the explanatory pages do. The
   measure is capped in ch rather than rem so it tracks that size instead of
   fighting it: the block gets physically wider without the line getting longer
   to read. */
.truth p {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(1.1875rem, 1.75vw, 1.375rem);
  line-height: 1.62;
  color: var(--ink-2);
  text-wrap: pretty;
}
.truth p + p { margin-top: 1em; }
.truth strong { color: var(--ink); font-weight: 400; }
.truth em { color: var(--signal); font-style: normal; }

/* Once the page has an outer gutter to spare, the numeral leaves the flow and
   hangs beside the copy, which keeps starting on the same left edge either way. */
@media (min-width: 78rem) {
  .truth-num {
    position: absolute;
    top: calc(var(--truth-pad) + 0.3rem);
    left: -7.5rem;
    width: 5.5rem;
    margin: 0;
    text-align: right;
  }
}

/* ---------- the close ---------- */

.man-close {
  padding-block: clamp(4rem, 11vh, 7rem) clamp(5rem, 13vh, 8rem);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2rem;
}

.man-line {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.6vw, 2.75rem);
  line-height: 1.18; letter-spacing: -0.022em;
  color: var(--ink); margin: 0; max-width: 22ch; text-wrap: balance;
}

.man-coda { display: flex; flex-direction: column; gap: 0.4rem; }
.man-coda p {
  margin: 0; font-family: var(--serif);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--ink-2);
}
.man-coda p.welcome { color: var(--signal); }
