/* One full-width, proportional photograph per slide. No blurred filler or
   whole-image colour treatment. The active source determines its own height. */
.home-page .hero {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.home-page .hero-slide[data-slide] {
  position: relative;
  inset: auto;
  display: none;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  background: none;
}
.home-page .hero-slide[data-slide].is-active { display: block; }
.responsive-photo { display:block; width:100%; }
.hero-media-status { position:absolute; right:20px; bottom:20px; padding:10px 14px; margin:0; background:#fff; color:#172f42; z-index:5; font-size:14px; }
.hero-media-status[hidden] { display:none; }
.home-page .hero-slide::before,
.home-page .hero-slide::after,
.home-page .hero-media::before,
.home-page .hero-media::after { content: none; display: none; }
.home-page .hero-slide[data-slide] .hero-media {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  overflow: hidden;
}
.home-page .hero-slide[data-slide] .hero-media img {
  display: block;
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  max-width: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  transform: none;
  opacity: 1;
}
.home-page .hero-slide[data-slide] .hero-copy {
  position: absolute;
  inset: clamp(28px, 4vw, 80px) auto auto var(--page-pad);
  width: min(43%, 620px);
  height: auto;
  min-height: 0;
  padding: clamp(20px, 2vw, 32px);
  color: #172f42;
  background: rgba(248, 247, 243, .94);
  text-shadow: none;
}
.home-page .hero-slide[data-slide] h1,
.home-page .hero-slide[data-slide] h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(30px, 3.3vw, 60px);
  line-height: 1.24;
  color: #172f42;
  text-shadow: none;
  text-wrap: balance;
}
.home-page .hero-slide[data-slide] .hero-summary {
  margin-top: 20px;
  color: #344c59;
  line-height: 1.75;
  font-size: clamp(15px, 1.15vw, 18px);
  text-shadow: none;
}
.home-page .hero-slide[data-slide] .hero-actions { margin-top: 24px; }
.home-page .hero-route {
  position: absolute;
  inset: auto auto 0 var(--page-pad);
  width: min(620px, 45%);
  height: auto;
  padding: 22px 20px 18px;
  background: rgba(248, 247, 243, .94);
  border: 0;
  text-shadow: none;
}
.home-page .hero-route::before,
.home-page .route-item::before { content: none; }
.home-page .hero .route-item,
.home-page .hero[data-active] .route-item { color: #40545e; text-shadow: none; }
.home-page .hero .route-item.is-active { color: #172f42; }
.home-page .hero .route-node { background: #b7c4c7; box-shadow: none; }
.home-page .hero .route-item.is-active .route-node { background: #2d6870; }
.home-page .hero .route-step { color: inherit; }
@media (min-width: 821px) {
  /* The first image already has light, open sky for dark type. */
  .home-page .hero-slide[data-slide="0"] .hero-copy { background: none; padding: 0; }
}
@media (max-width: 820px) {
  .home-page .hero-slide[data-slide] .hero-copy {
    position: relative;
    inset: auto;
    width: 100%;
    margin: 0;
    padding: 28px var(--page-pad) 32px;
    background: #f8f7f3;
  }
  .home-page .hero-slide[data-slide] h1,
  .home-page .hero-slide[data-slide] h2 { font-size: clamp(28px, 7.6vw, 44px); }
  .home-page .hero-slide[data-slide].is-active { display: flex; flex-direction: column; }
  .home-page .hero-slide[data-slide] .hero-media { order: -1; }
  .home-page .hero-route {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 22px var(--page-pad);
    background: #f8f7f3;
    border-top: 1px solid #d8deda;
  }
}
