/* =============================================================================
   RENQING — PAGE-SPECIFIC STYLES
   Load after common.css
   ============================================================================= */

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--ink); }
h4 { font-size: 1rem; font-weight: 700; margin-bottom: var(--space-xs); }
.breadcrumb__list a, .breadcrumb__list span { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); text-decoration: none; }
.article-header__glyph { font-family: var(--font-display); font-size: clamp(5rem, 14vw, 10rem); line-height: 0.9; color: var(--paper-tint); display: block; text-align: center; margin-bottom: var(--space-s); border-bottom: 2px solid var(--rule); padding-bottom: var(--space-m); }
@media (min-width: 960px) { .article-header__glyph { font-size: 8rem; text-align: right; color: rgba(212,207,197,0.5); border-bottom: none; padding-bottom: 0; margin-bottom: 0; } }
.ledger { margin-block: var(--space-l); border: 1px solid var(--rule); }
.ledger__header { display: grid; grid-template-columns: 1fr 1fr; background-color: var(--ink); color: var(--paper); }
.ledger__col-head { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; padding: var(--space-s) var(--space-m); color: rgba(247,244,238,0.55); }
.ledger__col-head:first-child { border-right: 1px solid rgba(255,255,255,0.1); }
.ledger__row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.ledger__cell { font-size: 0.88rem; line-height: 1.6; padding: var(--space-s) var(--space-m); color: var(--ink); }
.ledger__cell:first-child { border-right: 1px solid var(--rule); font-style: italic; color: var(--mid); }
.ledger__cell strong { font-weight: 600; color: var(--ink); font-style: normal; }
.rules-list { list-style: none; padding: 0; margin-block: var(--space-l); counter-reset: rules; }
.rules-list__item { counter-increment: rules; display: grid; grid-template-columns: 2.5rem 1fr; gap: var(--space-m); padding-block: var(--space-m); border-bottom: 1px solid var(--rule); align-items: start; }
.rules-list__item:first-child { border-top: 1px solid var(--rule); }
.rules-list__num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--rule); line-height: 1.1; padding-top: 0.1rem; }
.rules-list__rule { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.rules-list__desc { font-size: 0.9rem; color: var(--mid); line-height: 1.65; margin-bottom: 0; }
.scenario-list { margin-block: var(--space-l); }
.scenario-list__item { margin-bottom: var(--space-l); padding-bottom: var(--space-l); border-bottom: 1px solid var(--rule); }
.scenario-list__item:last-child { border-bottom: none; padding-bottom: 0; }
.scenario-list__trigger { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--ink); display: block; margin-bottom: var(--space-s); padding-left: var(--space-m); border-left: 2px solid var(--gold); line-height: 1.45; }
.scenario-list__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-s); }
@media (min-width: 580px) { .scenario-list__grid { grid-template-columns: repeat(3, 1fr); } }
.scenario-list__col-head { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 0.4rem; padding-bottom: 0.3rem; border-bottom: 1px solid var(--rule); }
.scenario-list__col p { font-size: 0.88rem; line-height: 1.6; color: var(--ink); margin-bottom: 0; }

@media print {
  .site-header, .site-nav, .article-sidebar, .site-footer, .breadcrumb { display: none; }
  h1,h2,h3 { page-break-after: avoid; }
  .pull-quote, .field-example, .key-fact, .ledger { page-break-inside: avoid; }
  .wrap, .wrap--wide { max-width: 100%; padding: 0; }
}
