html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Hero slider */
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { transform: scale(1.08); transition: transform 7s ease; }
.slide.active img { transform: scale(1); }

/* Marquee */
.marquee { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Top-bar news ticker */
.ticker { display: inline-block; white-space: nowrap; animation: ticker 28s linear infinite; padding-left: 100%; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* Dropdown */
.dd:hover > .dd-menu, .dd:focus-within > .dd-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dd-menu { opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }

/* Header shrink */
#site-header.scrolled { box-shadow: 0 6px 24px -12px rgba(0,0,0,.25); }

/* Decorative pattern (echoes the brochure's geometric lines) */
.geo-bg {
  background-image:
    linear-gradient(135deg, rgba(242,86,26,.10) 0 1px, transparent 1px 100%),
    linear-gradient(45deg, rgba(242,86,26,.08) 0 1px, transparent 1px 100%);
  background-size: 46px 46px;
}

.text-gradient { background: linear-gradient(90deg, #F2561A, #FFA06E); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Lightbox */
#lightbox { display: none; }
#lightbox.open { display: flex; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .slide, .slide img { transition: none; }
  .marquee, .ticker { animation: none; }
}
