/* ============ v32: warmer paper, tighter spacing, and the tradition moves like the nine chapters ============ */
/* His paper colour, everywhere the page was white */
:root { --ivory: #F8F0E3; }
body, .p3-heritage, .p3-band { background: var(--ivory); }
.hero-stage .arch-clip, .hero-stage .hero-words, .pf-words, .p2-page { background: var(--ivory); }

/* Less empty space between the opening sections */
@media (min-width: 961px) {
  #why { padding-block: clamp(100px, 9vw, 140px); }
  #experience { padding-block: clamp(80px, 7vw, 110px); }
  #atelier { padding-top: clamp(80px, 7vw, 110px); }
}
@media (max-width: 960px) {
  #why { padding-block: 80px; }
  #experience { padding-block: 72px; }
  #atelier { padding-top: 80px; }
}

/* The tradition: the painting in focus grows to full size and lights up, the others recede and dim,
   exactly as the nine chapters do. */
.court-on .court-card, .court-on .court-card.is-on { opacity: 1; transition: none; }
.court-art { position: relative; }
.court-on .court-art { transform: scale(calc(.86 + .14 * var(--f, 1))); transform-origin: 50% 100%; will-change: transform; }
.court-on .court-art::after { content: ""; position: absolute; inset: 0; background: #12070B; opacity: calc(.62 * (1 - var(--f, 1))); pointer-events: none; }
.court-on .court-text { opacity: calc(.4 + .6 * var(--f, 1)); }
.court-year { font-variant-numeric: lining-nums tabular-nums; }
/* while the paintings glide, the whole section drifts up a little, as if the page keeps moving */
@keyframes courtDrift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -5svh, 0); } }
.court-css .court-on .court-pin { animation: courtDrift linear both; animation-timeline: --court; animation-range: contain 0% contain 100%; }
