/* Damask background of every .lh-grow section (2026-10-24). Linked by build.py like any section CSS.
   section.js appends one <div class="lhp"><div></div></div> to each .lh-grow section and sets --lhp-tile
   (the ogee damask tile) on it and --p (0..1, scroll progress) on the inner div.
   Growth: the inner div carries a soft-edged mask and slides down by --p while its ::before (the tile)
   slides back by the same amount, so the pattern stays put and only the soft edge travels down the
   section. Only transform changes per frame (compositor work, no repaint).
   Tone: --lhp-opacity, low enough that text reads straight on the pattern with no patch behind it (Matt,
   2026-10-26). A section may set its own --lhp-opacity. No pattern: leave .lh-grow off the section. */
/* :where() keeps the tone at zero specificity, so any section class can set its own --lhp-opacity. */
:where(.lh-grow){--lhp-opacity:.075}
:where(.lh-grow.is-forest){--lhp-opacity:.104}
.lh-grow{position:relative;isolation:isolate}
.lhp{position:absolute;inset:0;z-index:-1;contain:strict;pointer-events:none}
.lhp>div{--p:0;position:absolute;inset:0 0 auto;height:calc(100% + 55vh);opacity:var(--lhp-opacity);
  -webkit-mask-image:linear-gradient(#000 calc(100% - 55vh),rgba(0,0,0,.84) calc(100% - 41vh),rgba(0,0,0,.5) calc(100% - 27vh),rgba(0,0,0,.16) calc(100% - 14vh),transparent);
  mask-image:linear-gradient(#000 calc(100% - 55vh),rgba(0,0,0,.84) calc(100% - 41vh),rgba(0,0,0,.5) calc(100% - 27vh),rgba(0,0,0,.16) calc(100% - 14vh),transparent);
  transform:translate3d(0,calc((var(--p) - 1) * 100%),0);will-change:transform}
.lhp>div::before{content:"";position:absolute;inset:0;background:var(--lhp-tile) 50% 0/180px 300px;transform:translate3d(0,calc((1 - var(--p)) * 100%),0);will-change:transform}
