.v70-fountain .page-hero {
  padding-block: clamp(36px, 5vw, 76px) clamp(48px, 6vw, 86px);
}

.v70-fountain .hero-grid {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 82px);
}

.v70-fountain .page-hero h1 {
  font-size: clamp(39px, 5.1vw, 82px);
  text-wrap: balance;
  overflow-wrap: normal;
}

.v70-fountain .page-lead {
  max-width: 36rem;
}

.v70-fountain .fountain-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 26px 0 0;
  padding-top: 16px;
  border-top: 1px solid #dfd9e9;
}

.v70-fountain .fountain-facts dt {
  color: #655c77;
  font-size: 0.8rem;
}

.v70-fountain .fountain-facts dd {
  margin: 2px 0 0;
  font-weight: 800;
}

.v70-fountain figure {
  margin: 0;
}

.v70-fountain .fountain-frame {
  position: relative;
  isolation: isolate;
  aspect-ratio: 5 / 4;
  border-radius: clamp(18px, 3vw, 34px);
  overflow: hidden;
  background: #eeebf5;
  box-shadow: 0 18px 48px rgb(29 23 90 / 12%);
}

.v70-fountain .fountain-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.v70-fountain .fountain-photo[data-view="day"] {
  object-position: center 72%;
}

.v70-fountain .fountain-feedback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  text-align: center;
  pointer-events: none;
}

.v70-fountain .fountain-frame[data-state="loading"] .fountain-photo,
.v70-fountain .fountain-frame[data-state="error"] .fountain-photo {
  visibility: hidden;
}

.v70-fountain .fountain-feedback button {
  pointer-events: auto;
}

.v70-fountain .fountain-caption {
  margin-top: 16px;
}

.v70-fountain .fountain-tools,
.v70-fountain .fountain-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.v70-fountain .fountain-tools {
  align-items: center;
  gap: 12px;
}

.v70-fountain [hidden] {
  display: none !important;
}

.v70-fountain .fountain-control {
  border: 1px solid #d9cde7;
  border-radius: 999px;
  padding: 6px 14px;
  min-height: 44px;
  color: #2d205d;
  background: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
}

.v70-fountain .fountain-control[aria-pressed="true"] {
  background: #44286f;
  border-color: #44286f;
  color: #fff;
}

.v70-fountain .fountain-control:focus-visible {
  outline: 2px solid #8951a4;
  outline-offset: 2px;
}

.v70-fountain .fountain-control:disabled {
  opacity: 0.56;
  cursor: default;
}

.v70-fountain .fountain-caption p {
  margin: 10px 0 2px;
  font-size: 0.9rem;
}

.v70-fountain .fountain-credit,
.v70-fountain .fountain-detail figcaption {
  color: #655c77;
  font-size: 0.8rem;
}

.v70-fountain .fountain-credit,
.v70-fountain .fountain-scenario a,
.v70-fountain .fountain-caption noscript a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.v70-fountain .fountain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  align-items: center;
  gap: clamp(28px, 7vw, 110px);
}

.v70-fountain .fountain-layout h2,
.v70-fountain .fountain-scenario h2 {
  font-size: clamp(34px, 4vw, 60px);
  text-wrap: balance;
}

.v70-fountain .fountain-layout-copy {
  display: block;
  margin: 0;
}

.v70-fountain .fountain-layout p {
  max-width: 38rem;
  margin: 18px 0 0;
}

.v70-fountain .fountain-detail img {
  width: 100%;
  max-width: 434px;
  height: auto;
  border-radius: 22px;
}

.v70-fountain .fountain-detail figcaption {
  margin-top: 8px;
}

.v70-fountain .fountain-scenario .section-head {
  align-items: center;
  margin: 0;
}

.v70-fountain .fountain-scenario a {
  display: block;
  width: fit-content;
  margin-top: 8px;
}

.v70-fountain .fountain-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 0;
  border-radius: 20px;
  background: #faf8ff;
  color: #25174e;
}

.v70-fountain .fountain-dialog::backdrop {
  background: rgb(15 9 41 / 87%);
}

.v70-fountain:has(.fountain-dialog[open]) {
  overflow: hidden;
}

.v70-fountain .fountain-close {
  display: block;
  position: sticky;
  top: 0;
  margin: 0 0 8px auto;
}

.v70-fountain .fountain-dialog img {
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 155px);
  height: auto;
  margin-inline: auto;
  border-radius: 12px;
}

.v70-fountain .fountain-dialog figcaption {
  max-width: 36rem;
  margin: 8px auto 0;
  font-size: 0.875rem;
  text-align: center;
}

@media (max-width: 900px) {
  .v70-fountain .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .v70-fountain .fountain-frame {
    max-height: 520px;
  }

  .v70-fountain .fountain-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
  }
}

@media (max-width: 620px) {
  .v70-fountain .fountain-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .v70-fountain .fountain-facts {
    margin-top: 20px;
  }
}
