/* Enhancements layered over the existing editorial system. */
.reading-progress { position: absolute; inset: 100% 0 auto; block-size: 2px; background: #e9e3d7; pointer-events: none; }
.reading-progress span { display: block; inline-size: 100%; block-size: 100%; background: #b5935e; transform: scaleX(var(--reading-progress, 0)); transform-origin: left; }
.primary-header #primary-nav { z-index: 1; }
.error-path { background: var(--night); color: var(--surface); min-block-size: 60vh; }
.error-path h1 { max-inline-size: 18ch; margin-block: .5rem 1.15rem; }
.error-path .section-number, .error-path a { color: var(--gold); }
.error-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-block-start: 1rem; }
.error-links a { display: inline-flex; align-items: center; min-block-size: 44px; }
@media print {
  .reading-progress { display: none; }
  .editorial details:not([open])::details-content { content-visibility: visible; display: contents; }
  .editorial .hero-plate.signature-work { display: block !important; max-inline-size: 95mm; }
  .editorial figure[id^='figure-'] { break-inside: avoid; page-break-inside: avoid; }
  .editorial figure[id^='figure-'] img { height: auto; max-block-size: 90mm; object-fit: contain; }
  .editorial .hero-grid { display: block; }
  .editorial h2, .editorial h3 { break-after: avoid; }
  .editorial .exhibit { display: block; }
  .editorial .exhibit figure { margin-block: .5rem 0; }
}
