.hero-carousel { display: flex; flex-direction: column; }
.hero-slides { display: grid; position: relative; }
.hero-slide {
  grid-area: 1 / 1;
  min-width: 0;
  position: relative;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 480ms ease, visibility 480ms;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide--photo { display: flex; align-items: center; background: #0b2545; }
.hero-photo-media { position: absolute; inset: 0 0 0 36%; }
.hero-photo-media picture, .hero-photo-media img { display: block; width: 100%; height: 100%; }
.hero-photo-media img { object-fit: cover; object-position: 75% 45%; }
.hero-photo-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b2545 0%, rgba(11,37,69,0.78) 14%, rgba(11,37,69,0.06) 54%);
  pointer-events: none;
}
.hero-slide--photo .hero-copy { max-width: min(540px, 45%); }
.hero-slide--photo h2 { font-size: clamp(2rem, 3.1vw, 3.5rem); line-height: 1.1; }
.hero-slide--photo .hero-copy p { color: #f0f4f8; }
.hero-slide--photo .hero-copy > * { animation: none !important; }
.hero-photo-credit { position: absolute; right: 24px; bottom: 16px; padding: 4px 8px; font-size: 12px; color: #fff; background: #0b2545; }
.hero-carousel-controls {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 12px;
  background: #0b2545;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-carousel-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #60748c;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: 700 13px/1 system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.hero-carousel-controls button:hover { background: #173b65; border-color: #fff; }
.hero-carousel-controls button[aria-current="true"] { background: #dc0b27; border-color: #dc0b27; }
.hero-carousel-controls button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hero-carousel-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
[data-hero-play][data-playing="true"] .hero-play-icon,
[data-hero-play][data-playing="false"] .hero-pause-icon { display: none; }
.hero-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 960px) {
  .hero-slide--photo { flex-direction: column; align-items: stretch; }
  .hero-slide--photo .hero-inner { width: 100%; padding: 48px 24px 28px; }
  .hero-slide--photo .hero-copy { max-width: 620px; margin-inline: auto; }
  .hero-photo-media { position: relative; inset: auto; flex: 1; min-height: 420px; width: 100%; }
  .hero-photo-media picture { position: absolute; inset: 0; }
  .hero-photo-media::after { background: linear-gradient(180deg, #0b2545, transparent 14%); }
  .hero-photo-media img { object-position: 75% center; }
  .hero-photo-credit { bottom: 12px; right: 12px; }
  .hero-carousel-controls { order: -1; border-top: 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
}
@media (max-width: 620px) {
  .hero-carousel .hero-inner { padding-block: 32px; }
  .hero-carousel .hero-copy { gap: 18px; }
  .hero-carousel .hero-stage .spec-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hero-carousel .spec-chip { padding: 10px 8px; }
  .hero-carousel .spec-chip strong { font-size: 13px; }
  .hero-carousel .spec-chip span { font-size: 12px; }
  .hero-slide--photo .hero-inner { padding: 32px 12px 24px; }
  .hero-slide--photo h2 { font-size: 2rem; }
  .hero-slide--photo .hero-copy { gap: 18px; }
  .hero-photo-media { flex: none; min-height: 0; height: 420px; }
  .hero-photo-media img { object-position: 85% center; }
  .hero-slide--photo .hero-inner { flex: 1; display: flex; align-items: center; }
  .hero-carousel-controls { gap: 0; padding: 10px 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-carousel-controls button { transition-duration: 80ms; }
}
