/* Responsive and accessibility refinements layered over the core design. */
body {
  overflow-x: hidden;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

p,
blockquote {
  text-wrap: pretty;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.mobile-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.treatment-row h3 {
  min-width: 0;
}

.feature h3 {
  overflow-wrap: normal;
  hyphens: auto;
}

.feature-gold h3 {
  font-size: clamp(29px, 2.15vw, 35px);
}

.review-card blockquote {
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .mobile-menu a {
    font-size: clamp(34px, 11.5vw, 46px);
  }

  .hero h1 {
    font-size: clamp(56px, 18vw, 64px);
  }

  .intro h2,
  .section-heading h2,
  .about h2,
  .visit h2,
  .instagram h2 {
    font-size: clamp(44px, 13.5vw, 53px);
  }

  .hero-copy {
    min-height: auto;
    padding-block: 64px;
  }

  .hero-actions {
    align-items: flex-start;
    gap: 22px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 44px;
  }

  .visit h2 {
    overflow-wrap: anywhere;
  }

  .visit-card {
    padding-inline: 24px;
  }

  .review-card {
    min-height: 280px;
    padding: 28px;
  }

  .review-card blockquote {
    font-size: 23px;
  }

  .final-copy {
    width: 100%;
  }

  .final-copy h2 {
    font-size: clamp(50px, 16vw, 72px);
  }

  .final-copy .button {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .section-shell {
    width: calc(100% - 20px);
  }

  .site-header {
    padding-inline: 10px;
  }

  .brand {
    width: 122px;
  }

  .header-actions {
    gap: 8px;
  }

  .language button {
    padding-inline: 5px;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-copy {
    padding: 54px 20px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-frame {
    inset: 12px;
  }

  .availability {
    top: 22px;
    right: 22px;
  }

  .hero-caption {
    left: 24px;
    bottom: 24px;
  }

  .feature {
    min-height: 440px;
  }

  .treatment-row {
    grid-template-columns: 28px minmax(0, 1fr);
    column-gap: 10px;
  }

  .treatment-row .meta {
    grid-column: 2;
  }

  .treatment-row .book-link {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    margin-top: 3px;
    padding-block: 4px;
  }

  .visit-details {
    margin-top: 42px;
  }

  .instagram-tiles img {
    height: 260px;
  }

  .final-cta {
    min-height: 560px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-book,
  .footer-bottom {
    grid-column: 1;
  }
}
