/* Assembly photographs retain their own space, clear of the welcome text. */
.hero-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "heading slideshow" "copy slideshow"; row-gap: 0; }
.hero-heading { grid-area: heading; align-self: end; min-width: 0; }
.hero-copy { grid-area: copy; align-self: start; min-width: 0; }
.hero-slideshow { grid-area: slideshow; min-width: 0; position: relative; }
.hero-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-deep); box-shadow: 0 0 0 1px #7890a2; }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: opacity 1.4s ease; pointer-events: none; }
.hero-slide.is-current { opacity: 1; z-index: 2; }
.hero-slide.is-leaving { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.is-enhanced .hero-slide.is-current img, .is-enhanced .hero-slide.is-leaving img { animation: assembly-ken-burns 10s linear both; animation-play-state: paused; transform-origin: var(--focus, 50% 50%); }
.is-enhanced .hero-slide:nth-child(even) img { animation-direction: reverse; }
.is-playing .hero-slide.is-current img, .is-playing .hero-slide.is-leaving img { animation-play-state: running; }
@keyframes assembly-ken-burns {
  from { transform: scale(1.015) translate(-.3%, .2%); }
  to { transform: scale(1.085) translate(.5%, -.4%); }
}
.hero-photo-footer { padding-top: 17px; display: grid; gap: 13px; }
.hero-photo-caption { font-size: .875rem; color: #e2edf5; line-height: 1.5; min-height: 2.625rem; text-decoration: none; }
.hero-photo-caption:hover { text-decoration: underline; }
.hero-controls { display: none; align-items: center; gap: 9px; }
.is-enhanced .hero-controls { display: flex; }
.hero-controls button { min-width: 44px; min-height: 44px; border: 1px solid #7890a2; color: #fff; background: var(--navy-deep); cursor: pointer; padding: 8px 12px; font-size: .875rem; }
.hero-controls button:hover { background: #214b6e; border-color: var(--gold-light); }
.hero-controls [data-hero-counter] { font-size: .875rem; color: #d6e2ec; font-variant-numeric: tabular-nums; margin-right: auto; }
.hero-controls [hidden] { display: none; }
@media(max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "heading" "slideshow" "copy"; gap: 30px; }
  .hero-copy { max-width: 620px; }
  .hero-intro { max-width: 560px; }
  .hero-heading { text-align: center; }
  .hero h1 { font-size: clamp(2.25rem, 9vw, 4rem); max-width: none; margin-bottom: 0; }
  .hero h1 br { display: initial; }
  .hero h1 span::before { content: none; }
  .hero-location { margin-top: 24px; font-size: .875rem; }
  .hero-photo-caption { min-height: 0; }
}
@media(prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide img { animation: none !important; transition: none !important; transform: none !important; }
}
