/* Homepage-only photo carousel; copy and CTAs remain stationary. */
body .hero-carousel { min-height: 100svh; padding: calc(var(--nav-height) + 64px) 0 132px; isolation: isolate; display: flex; flex-direction: column; justify-content: center; align-items: stretch; touch-action: pan-y; }
body .hero-carousel::before { inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(9,18,28,.90),rgba(9,18,28,.65) 48%,rgba(9,18,28,.18)),linear-gradient(0deg,rgba(9,18,28,.65),transparent 35%); }
.hero-slides,.hero-slide,.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slide { opacity: 0; visibility: hidden; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { object-fit: cover; object-position: center; }
body .hero-carousel .hero-content { width: 100%; grid-template-columns: minmax(0,640px); gap: 0; }
body .hero-carousel .hero-desc { color: #fff; }
.hero-carousel-controls { position: relative; z-index: 3; display: flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 48px auto -80px; padding: 10px 16px; max-width: calc(100% - 32px); background: rgba(9,18,28,.88); border: 1px solid #788694; border-radius: 12px; color: #fff; }
.hero-carousel-controls button { min-width: 44px; min-height: 44px; border: 1px solid #788694; border-radius: 8px; background: #22303f; color: #fff; cursor: pointer; padding: 8px 12px; font-size: .875rem; }
.hero-carousel-controls :is(.hero-prev,.hero-next) { font-size: 1.4rem; }
.hero-dots { display: flex; }
.hero-dots button { position: relative; border: 0; background: transparent; padding: 0; }
.hero-dots button::after { content: ''; display: block; margin: auto; width: 8px; height: 8px; border: 1px solid #fff; border-radius: 8px; }
.hero-dots button[aria-current="true"]::after { width: 24px; background: #fff; }
.hero-count { font-size: .75rem; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .hero-carousel-controls button:hover { background: #465767; } }
@media (prefers-reduced-motion: no-preference) { .hero-slide { transition: opacity 600ms cubic-bezier(0.2,0,0,1), visibility 600ms; } .hero-carousel-controls button:active { transform: scale(.96); transition: transform 150ms ease-out; } }
@media (max-width: 600px) {
 body .hero-carousel { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 56px; }
 body .hero-carousel::before { background: linear-gradient(90deg,rgba(9,18,28,.86),rgba(9,18,28,.61)); }
 body .hero-carousel .hero-content { padding-bottom: 0; }
 .hero-carousel-controls { gap: 4px; padding: 8px; margin: 32px auto 0; }
 .hero-rotation { flex-basis: 100%; }
 .hero-count { margin-inline: 8px; }
}
