/* Exact uploaded artwork, shared by every page without section restarts. */
body { isolation: isolate; background: #fff3f9; }
.site-background-layer { position: fixed; z-index: -1; inset: -6%; background: #fff3f9 url(/img/art/site-background.png) center top / cover no-repeat; pointer-events: none; }
body .site-surface { position: relative; isolation: isolate; min-height: 100svh; background: none !important; }
body .site-surface > #main,
body #main > :is(.hero, .sk, .sec, .mk-page, .card-sec, .page-head),
body #main #gallery.gal-sec,
body .hero > .wrap:has(> .mk-cta),
body .site-surface .ft2 { background: none !important; }
/* One shared image layer sits behind every page and its content. */
body.page-home .home-background { background: none; }
/* Remove older corner and petal compositions that would cover the uploaded image. */
body.page-home .hero > .wrap:has(> .mk-cta)::before,
body.page-home #gallery::before { content: none; }
@media print {
  body { background: white; }
  .site-background-layer { display: none; }
  body.page-home .home-background { display: none; }
}

/* Animated background layers (public/js/background-fx.js): bokeh glow + falling sakura petals, between the artwork and the content */
.bg-glow { position: fixed; z-index: -1; left: 0; right: 0; top: 0; height: 55vh; pointer-events: none; background: radial-gradient(ellipse 55% 60% at 50% 15%, #fffbe8cc, #fff3f900 70%); mix-blend-mode: screen; will-change: opacity, transform; }
.bg-petals { position: fixed; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; will-change: transform; }
.bg-petal { position: absolute; display: block; border-radius: 80% 0 80% 20%; background: linear-gradient(135deg, #ffe0ec, #ff9fc4 70%, #f77eaf); box-shadow: inset -2px -2px 5px #ffffff80; will-change: transform, opacity; }
@media print { .bg-glow, .bg-petals { display: none; } }

/* Mouse-follow layers (public/js/mouse-fx.js) */
.mouse-glow { position: fixed; z-index: -1; left: 0; top: 0; width: clamp(280px, 26vw, 460px); aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff6fbcc 0%, #ffd6ea88 38%, #ffd6ea00 70%); will-change: transform, opacity; }
.mouse-trail { position: fixed; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.mouse-petal { position: absolute; left: 0; top: 0; }
@media print { .mouse-glow, .mouse-trail { display: none; } }
@media (hover: none), (pointer: coarse) { .mouse-glow, .mouse-trail { display: none; } }
