/* ==========================================================================
   Rmoniz® — page.css
   Shared furniture for the inner pages (about, book, speaking, individuals,
   organizations, terms, 404). Kept as one sheet rather than five near-identical
   ones so the patterns cannot drift apart between pages.
   ========================================================================== */

/* ------------------------------------------------------------- page head
   A compact editorial opener. No 100vh, no photo behind type — the hero
   photograph belongs to the home page alone.
   -------------------------------------------------------------------------- */
.pagehead {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(3.5rem, 2.2rem + 5vw, 6rem);
}
.pagehead__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--gap-l);
  align-items: end;
}
@media (max-width: 900px) { .pagehead__grid { grid-template-columns: 1fr; align-items: start; } }

.pagehead h1 { font-size: var(--step-5); max-width: 17ch; }
.pagehead .lede { max-width: 46ch; }

/* --------------------------------------------------------------- prose
   Long-form story copy. Measure held near 65 characters.
   -------------------------------------------------------------------------- */
.longform { max-width: var(--measure); }
.longform p { color: var(--ink-2); font-size: var(--step-1); }
.longform p + p { margin-top: 1.15em; }
.longform h2,
.longform h3 {
  margin-top: 2.2em;
  margin-bottom: .5em;
  font-size: var(--step-3);
  max-width: 26ch;
}
.longform h2:first-child,
.longform h3:first-child { margin-top: 0; }
.longform em { color: var(--ink); }
.longform .callout {
  margin: 2em 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-family: var(--display);
  font-size: var(--step-3);
  line-height: 1.3;
  color: var(--ink);
  font-style: italic;
}

/* ---------------------------------------------------------------- panels
   Variable-height list, not a row of equal cards. Separated by hairlines.
   -------------------------------------------------------------------------- */
.panels { display: grid; gap: 0; }
.panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--gap-m);
  padding-block: var(--gap-l);
  border-top: 1px solid var(--rule);
  align-items: start;
}
.panel:last-child { border-bottom: 1px solid var(--rule); }
.panel h3 { font-size: var(--step-2); max-width: 24ch; }
.panel p { color: var(--ink-2); max-width: 60ch; }
.panel__label {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; gap: var(--gap-s); } }

/* --------------------------------------------------------------- topics
   Keynote titles set as a numbered editorial list — the numbering is real
   here only in the sense of enumeration, so it stays a plain rule-and-count
   rather than a decorative 01/02/03 badge.
   -------------------------------------------------------------------------- */
.topics { list-style: none; margin: 0; padding: 0; display: grid; }
.topics li {
  border-top: 1px solid var(--rule);
  padding-block: 1.35rem;
  font-family: var(--display);
  font-size: var(--step-2);
  line-height: 1.24;
  color: var(--ink);
  max-width: 46ch;
}
.topics li:last-child { border-bottom: 1px solid var(--rule); }
.on-plum .topics li { border-color: rgba(255, 255, 255, .16); color: #FFFFFF; }

/* --------------------------------------------------------------- credits */
.credgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
}
.credgrid div { background: var(--paper); padding: 1.35rem 1.4rem; }
.credgrid dt {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: .4rem;
}
.credgrid dd { margin: 0; font-size: var(--step--1); color: var(--ink); }

/* ------------------------------------------------------------ appearances */
.appearances { display: grid; gap: 0; }
.appearance {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto;
  gap: var(--gap-m);
  align-items: start;
  padding-block: var(--gap-m);
  border-top: 1px solid var(--rule);
}
.appearance:last-child { border-bottom: 1px solid var(--rule); }
.appearance__when {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.appearance h3 { font-size: var(--step-1); max-width: 34ch; }
.appearance p { color: var(--ink-2); font-size: var(--step--1); max-width: 62ch; margin-top: .5rem; }
@media (max-width: 860px) {
  .appearance { grid-template-columns: 1fr; gap: .5rem; }
  .appearance .tlink { justify-self: start; }
}

/* ------------------------------------------------------------------ stat */
.statband { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--gap-l); align-items: center; }
@media (max-width: 780px) { .statband { grid-template-columns: 1fr; gap: var(--gap-m); } }

/* ------------------------------------------------------------- cta band */
.ctaband { background: var(--plum-deep); color: #F3ECF5; }
.ctaband h2 { color: #FFFFFF; max-width: 20ch; }
.ctaband p { color: rgba(243, 236, 245, .82); max-width: 52ch; }
.ctaband .actions { margin-top: var(--gap-m); }
/* This band sits on plum-deep like .on-plum does, so it needs the same
   inversions. Without them .eyebrow and .tlink keep their light-theme plum
   and land at 1.36:1 against the dark ground. */
.ctaband .eyebrow { color: var(--gold-on-plum); }
.ctaband .eyebrow::after { background: rgba(255, 255, 255, .18); }
.ctaband .tlink { color: var(--gold-on-plum); border-color: rgba(255, 255, 255, .3); }
.ctaband .tlink:hover { border-color: var(--gold-on-plum); }
.ctaband .marks li { color: rgba(243, 236, 245, .84); }
.ctaband .marks li::before { background: var(--gold-on-plum); }

/* ------------------------------------------------------------ book cover */
.bookshot {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--gap-l);
  align-items: start;
}
@media (max-width: 860px) { .bookshot { grid-template-columns: 1fr; } }
.bookshot__plate {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 7px;
}
.bookshot__inner {
  border-radius: 10px;
  background: linear-gradient(150deg, var(--plum) 0%, var(--plum-deep) 100%);
  aspect-ratio: 2 / 3;
  display: grid;
  align-content: center;
  gap: .9rem;
  padding: clamp(1.4rem, 1rem + 2vw, 2.4rem);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
}
.bookshot__inner .k {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-on-plum);
}
.bookshot__inner .t {
  font-family: var(--display);
  font-size: var(--step-4);
  line-height: 1.02;
  font-weight: 500;
}
.bookshot__inner .a {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, .78);
  margin-top: .4rem;
}

/* ------------------------------------------------------------------- 6 Cs */
.sixcs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 0 var(--gap-m); }
.sixcs li {
  border-top: 1px solid var(--rule);
  padding-block: 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  align-items: baseline;
}
.sixcs .c {
  font-family: var(--display);
  font-size: var(--step-2);
  color: var(--gold);
  line-height: 1;
}
.sixcs span:last-child { color: var(--ink-2); font-size: var(--step--1); }

/* -------------------------------------------------------------- symptoms */
.symptoms { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.symptoms li {
  border-top: 1px solid var(--rule);
  padding-block: 1.15rem;
  color: var(--ink-2);
  max-width: 68ch;
  font-size: var(--step-1);
}
.symptoms li:last-child { border-bottom: 1px solid var(--rule); }
.on-plum .symptoms li { border-color: rgba(255, 255, 255, .16); color: rgba(243, 236, 245, .86); }

/* ------------------------------------------------------- gap: have / need */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ledger > div { padding: var(--gap-l) var(--gap-l) var(--gap-l) 0; }
.ledger > div + div { border-left: 1px solid var(--rule); padding-left: var(--gap-l); padding-right: 0; }
.ledger h3 { font-size: var(--step-2); max-width: 20ch; margin-bottom: var(--gap-s); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.ledger li { color: var(--ink-2); padding-left: 1.5rem; position: relative; max-width: 52ch; font-size: var(--step--1); }
.ledger li::before { content: ""; position: absolute; left: 0; top: .68em; width: 9px; height: 1.5px; background: var(--rule-strong); }
.ledger .delivers li::before { background: var(--gold); }
@media (max-width: 860px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger > div { padding: var(--gap-m) 0; }
  .ledger > div + div { border-left: none; border-top: 1px solid var(--rule); padding-left: 0; padding-top: var(--gap-l); }
}

/* ------------------------------------------------------------------- 404 */
.notfound { display: grid; place-items: center; text-align: center; padding-block: clamp(5rem, 4rem + 8vw, 9rem); }
.notfound h1 { font-size: var(--step-5); max-width: 18ch; }
.notfound p { color: var(--ink-2); max-width: 46ch; margin: var(--gap-m) auto 0; }
.notfound .actions { justify-content: center; margin-top: var(--gap-l); }
