.hero {
  position: relative;
  overflow: hidden;
  padding: 7.8rem 0 4.8rem;
  min-height: 720px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(25, 41, 36, 0.38), rgba(25, 41, 36, 0.54)),
    radial-gradient(circle at 18% 22%, rgba(111, 148, 114, 0.26), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(90, 129, 156, 0.24), transparent 28%),
    radial-gradient(circle at 50% 82%, rgba(159, 201, 215, 0.16), transparent 26%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -4% 0;
  background: url("../../homehero.jpg") center 134% / cover no-repeat;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.34);
  transform-origin: center center;
  will-change: transform;
  z-index: 0;
}

.hero > .shell {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: block;
}

.hero__copy {
  display: grid;
  gap: 0px;
  align-content: start;
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 0;
  margin: 0.6rem 1.4rem 37px auto;
  justify-items: start;
  text-align: left;
}

.hero__lede {
  max-width: 34rem;
  margin: 0 auto;
  color: rgba(255, 250, 244, 0.9);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero h1 {
  width: auto;
  max-width: 24ch;
  font-family: "Source Serif 4", serif;
  font-size: clamp(2.35rem, 65vw, 8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fffaf4;
  text-shadow: 0 18px 38px rgba(18, 30, 42, 0.34);
  white-space: normal;
  text-wrap: balance;
}

.hero__meta {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero__address,
.hero__time,
.hero__divider {
  font-size: 1.2rem;
  color: rgba(255, 250, 244, 0.94);
  font-weight: 100;
  line-height: 1.12;
  text-shadow: 0 10px 24px rgba(18, 30, 42, 0.28);
  -webkit-font-smoothing: antialiased;
  text-transform: uppercase;
}

.hero__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

body[data-page="home"] .hero .button {
  background: var(--olive);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

body[data-page="home"] .hero .button:hover,
body[data-page="home"] .hero .button:focus-visible {
  background: var(--pine);
}

.hero__visual {
  display: none;
}

.week-grid {
  display: grid;
  gap: 1.15rem;
}

.quick-link-row {
  display: grid;
  gap: 1.6rem;
}

.section--home-intro {
  padding-top: 5.8rem;
  padding-bottom: 5.8rem;
  background: var(--parchment);
}

.home-pitch {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.home-pitch p {
  max-width: 89rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--night) 86%, white);
  font-family: "Source Serif 4", serif;
  font-size: clamp(1.75rem, 5vw, 2.6rem);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

@media (min-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(560px, 1fr) minmax(470px, 0.98fr);
  }
}

@media (max-width: 860px) {
  .hero {
    align-items: end;
  }

  .hero__copy {
    max-width: 32rem;
    margin: 0 auto;
    justify-items: center;
    text-align: center;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 540px;
    padding: 7rem 0 2.6rem;
    align-items: end;
  }

  .hero::before {
    inset: 0;
    background-position: center 52%;
    transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.02);
  }

  .hero__copy {
    max-width: 100%;
    margin: 0 auto;
    padding-inline: 0;
    gap: 0.65rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8vw, 2.25rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .hero__meta {
    display: flex;
    align-items: center;
    max-width: none;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.12rem;
    text-align: center;
  }

  .hero__address,
  .hero__time,
  .hero__divider {
    width: auto;
    font-size: clamp(0.72rem, 3.05vw, 0.82rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  .hero__divider {
    display: inline;
    opacity: 0.72;
  }

  .section--home-intro {
    padding-top: 3.85rem;
    padding-bottom: 3.85rem;
  }

  .home-pitch p {
    max-width: 90%;
    font-size: clamp(1rem, 4.15vw, 1.08rem);
    line-height: 1.45;
  }
}

@media (max-width: 370px) {
  .hero__address,
  .hero__time,
  .hero__divider {
    font-size: 0.7rem;
  }
}
