/* Enhanced preview layer (GSAP + Lenis). Loaded only by `build_site.py --enhanced`.
   Everything here is additive: without this file the site looks exactly as before. */

/* Lenis smooth scrolling */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Header gains a soft shadow once the page has scrolled */
.site-head { transition: box-shadow .3s ease, background-color .3s ease; }
.site-head.is-scrolled { box-shadow: 0 6px 24px rgba(34, 34, 34, .08); background: rgba(250, 248, 245, .98); }

/* Photos sit in a frame so they can drift slightly inside it (parallax) */
.fx-frame { overflow: hidden; border-radius: var(--radius); }
.fx-frame > .photo { border-radius: 0; will-change: transform; }

/* Buttons: a gentle lift and glow on hover */
.btn--sun { box-shadow: 0 0 0 0 rgba(242, 107, 33, 0); transition: transform .2s ease, box-shadow .25s ease, background .15s ease, color .15s ease; }
.btn--sun:hover { box-shadow: 0 8px 22px -6px rgba(242, 107, 33, .55); }

/* Service and info cards lift slightly on hover */
.card, .service { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px -14px rgba(34, 34, 34, .25); }

@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}
