/* Per-page rising edges; homepage and booking retain their own presentation. */
.page-shape-hero{position:sticky!important;top:0;z-index:0}
.page-shape-content{position:relative;z-index:1;isolation:isolate;background:#0e1012;display:flow-root}
.page-shape-edge{position:absolute;left:0;right:0;bottom:100%;height:clamp(116px,20vw,205px);pointer-events:none;z-index:2}
.page-shape-side{position:absolute;bottom:0;width:20%;height:100%;overflow:visible}
.page-shape-side.left{left:0}.page-shape-side.right{right:0}
.shape-fire{filter:drop-shadow(0 0 3px #38c4ce) drop-shadow(0 0 7px #38c4ce90);animation:page-shape-glow 4.8s ease-in-out infinite alternate;animation-delay:var(--ember-delay)}
@keyframes page-shape-glow{from{opacity:.7;filter:drop-shadow(0 0 2px #38c4ce) drop-shadow(0 0 4px #38c4ce70)}to{opacity:1;filter:drop-shadow(0 0 4px #38c4ce) drop-shadow(0 0 9px #38c4cea0)}}
body:has(.page-shape-content)>footer{position:relative;z-index:1;background:#0e1012}
@media(prefers-reduced-motion:reduce){.page-shape-hero{position:relative!important}.shape-fire{animation:none}}

/* v45: teal embers rise from the two shape edges. */
.page-ember-particle{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:calc(var(--size) * 1.45);border-radius:50%;background:#78edf2;box-shadow:0 0 4px #38c4ce,0 0 9px #38c4ce;opacity:0;animation:page-ember-rise var(--duration) linear infinite;animation-delay:var(--delay);will-change:transform,opacity;pointer-events:none}
/* A few warm sparks accent the teal embers on each edge. */
.page-shape-edge > .page-ember-particle:nth-of-type(3),
.page-shape-edge > .page-ember-particle:nth-of-type(8),
.page-shape-edge > .page-ember-particle:nth-of-type(10){
  background:#ffc34d;
  width:calc(var(--size) * 1.25);height:calc(var(--size) * 1.8);
  box-shadow:0 0 5px #ffc34d,0 0 12px #ffb347cc;
}
.page-shape-edge > .page-ember-particle:nth-of-type(8){
  background:#fff0bc;
  box-shadow:0 0 4px #fff0bc,0 0 10px #ffc34d;
}
@keyframes page-ember-rise{0%{transform:translate(0,8px) scale(.7);opacity:0}18%{opacity:.85}60%{opacity:.5}100%{transform:translate(var(--drift),-85px) scale(.25);opacity:0}}
/* Video pages keep the solid rising content overlay without a faded edge. */
/* Match Paint Correction: the header scrolls naturally in the document. */
.coatings-body>header{position:relative;top:auto;left:auto;right:auto;z-index:30;background:#0e1012}
@media(prefers-reduced-motion:reduce){.page-ember-particle{display:none;animation:none}}
