/* Thanksgiving 2026: photographic leaves drifting down in a fixed, non-interactive overlay. */
.tgd-leaves {
  position: fixed; inset: 0; z-index: 40; overflow: hidden;
  pointer-events: none !important; user-select: none; contain: strict;
  perspective: 900px;
}
.tgd-leaves * { pointer-events: none !important; }
.tgd-fall {
  position: absolute; top: 0; display: block;
  width: 40px; height: 40px;
  transform: translate3d(0, -140px, 0);
  will-change: transform;
}
.tgd-sway { display: block; width: 100%; height: 100%; transform-style: preserve-3d; will-change: transform; }
.tgd-leaf {
  display: block; width: 100%; height: 100%;
  background: center / contain no-repeat;
  backface-visibility: visible; transform-origin: 50% 45%;
  will-change: transform, opacity;
}
/* Only foreground leaves cast a soft, cool shadow onto the page beneath them. */
.tgd-near .tgd-leaf { filter: drop-shadow(0 10px 8px rgba(23, 30, 70, .16)); }
.tgd-far { z-index: 0; } .tgd-mid { z-index: 1; } .tgd-near { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .tgd-leaves { display: none !important; } }
@media print { .tgd-leaves { display: none !important; } }
