/* /agentic-erp/ · Control and Ledger in the Workspace chapter's structure (2026-10-21).
   Saife: "it doesn't match the same structure as the other pages above as i scroll down". The chapter opener is centred and
   the product rises into the same screen beneath it, as on the Workspace (ws.css) and the Kernel (mill.css). The reused
   section's own headline and button are gone; its notes sit in one row under the window. */

.erp .erpch--stage { height: auto; min-height: 100svh; padding: clamp(110px, 16vh, 170px) 0 clamp(80px, 12vh, 130px); }
.erp .erpch--stage .lh__plate { inset: 0 -3% auto; height: clamp(640px, 96svh, 940px); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.erp .erpch--stage::before { height: 12vh; }
.erp .erpch--stage .lh__copy { position: relative; left: auto; right: auto; bottom: auto; margin: 0 auto; max-width: min(900px, 86vw); text-align: center; }
.erp .erpch--stage .lh__h { font-size: clamp(38px, 4.6vw, 72px); text-wrap: balance; }
.erp .erpch--stage .lh__sub { max-width: 54ch; margin-inline: auto; text-wrap: pretty; }
.erp .erpch--stage .lh__scrim { background: radial-gradient(46% 30% at 50% 16%, rgb(10 8 20 / .6), rgb(10 8 20 / .2) 55%, transparent 76%); }

/* the product, then its notes */
.erp .erpst { position: relative; z-index: 7; width: min(var(--st-w), calc(100% - 2 * clamp(20px, 7vw, 120px))); margin: clamp(64px, 8vw, 120px) auto 0; }
.erp .erpst--desk { --st-w: 1000px; }
.erp .erpst--board { --st-w: 920px; }
.erp .erpst > .mock { margin: 0; }
.erp #desk.erpst .adc { max-height: 720px; }

.erp .erpch__notes { display: grid; gap: 22px clamp(24px, 3vw, 40px); margin: clamp(36px, 4vw, 52px) 0 0; padding: 0; }
.erp .erpch__notes--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.erp .erpch__notes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.erp .erpch__notes div { padding-top: 14px; border-top: 1px solid rgb(244 243 239 / .14); }
.erp .erpch__notes dt { font: 600 15px/1.35 var(--sc-font-display); color: #f4f3ef; letter-spacing: -.01em; }
.erp .erpch__notes dd { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: rgb(233 228 247 / .74); max-width: 44ch; text-wrap: pretty; }

@media (max-width: 1100px) { .erp .erpch__notes--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .erp .erpch--stage { padding-top: 96px; }
  .erp .erpch--stage .lh__copy { margin: 0 20px; max-width: none; text-align: left; }
  .erp .erpch--stage .lh__plate { height: 100svh; }
  .erp .erpch--stage .lh__h { font-size: clamp(34px, 9.6vw, 46px); }
  .erp .erpst { width: calc(100% - 24px); margin-top: 48px; }
  .erp #desk.erpst .adc { max-height: 78svh; }
  .erp .erpch__notes--4, .erp .erpch__notes--2 { grid-template-columns: 1fr; gap: 18px; margin-inline: 8px; }
}
