.page-home .site-header {
  position: fixed;
  z-index: 3;
  inset: 0 0 auto;
  color: #f8faff;
  border-color: #c9dbf432;
  background: rgb(6 21 44 / .85);
}
.page-home .site-header nav { gap: clamp(.55rem, 1.7vw, 1.8rem); }
.page-home .site-header nav a:hover { color: #f4d367; }
.page-home .wordmark { font-size: clamp(1rem, 1.9vw, 1.4rem); }

.home-scene {
  color: white;
  background: #081a38;
}
.scene-frame {
  --scene-progress: 0;
  position: relative;
  isolation: isolate;
  overflow: clip;
  block-size: 100vh;
  block-size: 100svh;
  min-block-size: 24rem;
  display: grid;
  align-items: center;
}
.scene-frame.scene-service { block-size: 64vh; block-size: 64svh; }
.home-scene.is-directed {
  min-block-size: calc(100vh + var(--scene-span) * 62vh);
  min-block-size: calc(100svh + var(--scene-span) * 62svh);
}
.is-directed .scene-stage {
  position: sticky;
  inset-block-start: 0;
  block-size: 100vh;
  block-size: 100svh;
  min-block-size: 24rem;
  background: #081a38;
}
.is-directed .scene-frame {
  position: absolute;
  inset: 0;
  block-size: 100%;
  opacity: var(--scene-opacity, 0);
}
.is-directed .scene-bridge { opacity: var(--scene-opacity, 1); }
.scene-art, .scene-art::after, .scene-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scene-art { z-index: -1; overflow: hidden; }
.scene-art::after {
  content: "";
  background:
    linear-gradient(90deg, #06152bdb, #07183385 30%, transparent 75%),
    linear-gradient(0deg, #071832b8, transparent 28%, transparent 76%, #06152b5e);
}
.scene-layer {
  transform: translate3d(
    calc(var(--scene-progress) * var(--scene-x)),
    calc(var(--scene-progress) * var(--scene-y)), 0
  ) scale(calc(1 + var(--scene-progress) * var(--scene-zoom)));
}
.scene-landscape {
  --scene-x: -2%;
  --scene-y: -5%;
  --scene-zoom: .19;
  transform-origin: 65% 56%;
  background: radial-gradient(ellipse at 70% 60%, #25598a, #0b2348 54%, #06142b);
}
.scene-landscape img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 62% center; }
.scene-mist {
  --scene-x: -22%;
  --scene-y: -7%;
  --scene-zoom: .1;
  inset: 12% -20% 0;
  background: radial-gradient(ellipse 45% 8% at 78% 55%, #9cc6ed2d, transparent);
}
.scene-water {
  --scene-x: 9%;
  --scene-y: -9%;
  --scene-zoom: .22;
  inset: 64% -22% -28%;
  background: repeating-linear-gradient(0deg, transparent 0 17px, #f2c66a34 18px 19px, transparent 21px 38px);
  mask-image: radial-gradient(ellipse 29% 31% at 73% 28%, #000, transparent);
  opacity: .75;
}
.scene-copy { inline-size: 100%; padding-block-start: 5rem; opacity: var(--text-opacity, 1); }
.scene-copy h1 {
  font-size: clamp(3.5rem, 7vw, 8.2rem);
  line-height: 1.1;
  letter-spacing: -.055em;
  font-weight: 800;
  text-shadow: 0 .1em .35em #07162a90;
}
.scene-copy h1 span { display: block; color: #f5d37c; }

.scene-service {
  align-items: end;
  background: #0b1b31;
}
.scene-service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #07152de0 0%, #07183362 27%, transparent 63%, #07152d54 100%);
}
.scene-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: var(--photo-focus, 50% 50%);
  transform-origin: var(--photo-focus, 50% 50%);
  transform: scale(calc(1 + var(--scene-progress) * var(--photo-zoom, .11)));
}
.scene-health { --photo-focus: 53% 45%; --photo-zoom: .15; }
.scene-supplies { --photo-focus: 53% 50%; }
.scene-mid-autumn { --photo-focus: 56% 56%; }
.scene-camp { --photo-focus: 49% 59%; }
.scene-harbour { --photo-focus: 52% 52%; --photo-zoom: .06; }
.scene-caption {
  inline-size: 100%;
  padding-block-end: clamp(3rem, 11svh, 8rem);
  line-height: 1.12;
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 780;
  letter-spacing: -.045em;
  opacity: var(--text-opacity, 1);
  text-shadow: 0 .08em .35em #041229;
}
.scene-caption::before {
  content: "";
  display: block;
  inline-size: clamp(2rem, 5vw, 5rem);
  block-size: 2px;
  background: #f5d37c;
  margin-block-end: .4em;
}
@media (max-width: 46rem) {
  .page-home .site-header nav { gap: .2rem .35rem; }
  .site-header nav a { font-size: clamp(.75rem, 3.35vw, .95rem); }
  .scene-landscape img { object-position: 70% center; }
  .scene-art::after {
    background: linear-gradient(0deg, #06152be8, #07183365 39%, transparent 70%, #06152b46);
  }
  .scene-frame { align-items: end; }
  .scene-copy { padding-block: 8rem clamp(3.5rem, 11svh, 7rem); }
  .scene-supplies { --photo-focus: 56% 48%; }
  .scene-health { --photo-focus: 72% 55%; }
  .scene-mid-autumn { --photo-focus: 51% 49%; }
  .scene-camp { --photo-focus: 51% 54%; }
  .scene-harbour { --photo-focus: 58% 48%; }
}

.home-main { background: #f6f8fb; color: var(--navy); }
.home-editorial { padding-block: clamp(2rem, 6vw, 6rem); }
.home-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  background: var(--navy);
  color: white;
}
.home-feature img { inline-size: 100%; block-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.home-feature-copy { align-self: center; padding: clamp(1.25rem, 4vw, 4.5rem); }
.home-feature h2 { font-size: clamp(2.35rem, 4vw, 4.75rem); line-height: 1.08; letter-spacing: -.055em; }
.home-feature p { color: #e1ebf8; margin-block: .9rem 1.4rem; max-inline-size: 32ch; }
.home-feature .button { gap: .6rem; }

@media (max-width: 47rem) {
  .home-feature { grid-template-columns: minmax(0, 1fr); }
  .home-feature img { aspect-ratio: 3 / 2; }
}
