.day-hero,
.route-section {
  --hero-scroll-range: 100svh;
}

.day-hero {
  --hero-viewport-height: max(520px, calc(100svh - var(--header-height)));
  position: relative;
  height: calc(var(--hero-viewport-height) + var(--hero-scroll-range));
  color: var(--color-white);
  background: #6a4937;
}

.route-section {
  margin-top: 0;
}

.day-hero-viewport {
  position: sticky;
  top: var(--header-height);
  height: var(--hero-viewport-height);
  overflow: hidden;
}

.day-hero-media,
.day-hero-image,
.day-hero-shade {
  position: absolute;
  inset: 0;
}

.day-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity;
}

.day-hero-image[data-time="morning"] {
  z-index: 1;
  opacity: 1;
}

.day-hero-image[data-time="noon"] {
  z-index: 2;
  opacity: 0;
}

.day-hero-image[data-time="evening"] {
  z-index: 3;
  opacity: 0;
}

.day-hero-shade {
  z-index: 4;
  background: rgba(20, 16, 13, 0.22);
  pointer-events: none;
}

.day-hero-inner {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  width: min(calc(100% - 48px), 1320px);
  height: 100%;
  margin-inline: auto;
  padding-bottom: 72px;
}

.day-hero-copy {
  max-width: 650px;
}

.day-hero-kicker {
  margin-bottom: 13px;
  font-size: 15px;
  font-weight: 800;
}

.day-hero h1 {
  margin-bottom: 18px;
  font-size: 48px;
  text-shadow: 0 3px 22px rgba(15, 10, 8, 0.58);
}

.day-hero-copy p {
  max-width: 590px;
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(15, 10, 8, 0.68);
}

.day-hero-times {
  position: absolute;
  right: max(24px, calc((100vw - 1320px) / 2));
  bottom: 36px;
  z-index: 6;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 16px;
  list-style: none;
}

.day-hero-times button {
  display: flex;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border: 0;
  color: inherit;
  background: transparent;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0.66;
}

.day-hero-times button::before {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
}

.day-hero-times button:hover,
.day-hero-times button:focus-visible,
.day-hero-times button.is-current {
  opacity: 1;
}

.day-hero-times button.is-current::before {
  background: currentColor;
}

.home-intro-copy {
  max-width: 750px;
}

.home-fee-band {
  position: relative;
  overflow: hidden;
}

.home-fee-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 52px;
}

.home-fee-number {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.home-fee-number strong {
  font-size: 54px;
  line-height: 1;
}

.recruit-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  min-height: 430px;
  color: var(--color-white);
  background: var(--color-navy);
}

.recruit-copy {
  align-self: center;
  padding: clamp(36px, 6vw, 82px);
}

.recruit-image {
  min-height: 430px;
  overflow: hidden;
}

.recruit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .day-hero h1 {
    font-size: 44px;
  }

  .home-fee-grid {
    grid-template-columns: 1fr;
  }

  .recruit-band {
    grid-template-columns: 1fr;
  }

  .recruit-image {
    min-height: 350px;
  }
}

@media (max-width: 767px) {
  .day-hero {
    --hero-viewport-height: max(560px, calc(100svh - var(--header-height)));
    height: calc(var(--hero-viewport-height) + var(--hero-scroll-range));
  }

  .day-hero-inner {
    width: calc(100% - 32px);
    padding-bottom: 76px;
  }

  .day-hero h1 {
    font-size: 32px;
  }

  .day-hero-copy p {
    font-size: 17px;
    line-height: 1.75;
  }

  .day-hero-image {
    object-position: 32% center;
  }

  .day-hero-times {
    right: 10px;
    bottom: 14px;
    gap: 4px;
  }

  .home-fee-number strong {
    font-size: 44px;
  }

  .recruit-copy {
    padding: 48px 16px;
  }

  .recruit-image {
    min-height: 290px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day-hero-image[data-time="morning"],
  .day-hero-image[data-time="noon"] {
    opacity: 0 !important;
  }

  .day-hero-image[data-time="evening"] {
    opacity: 1 !important;
  }
}
