/* Responsive refinements shared by all pages. */
@media (min-width: 768px) {
  .site-nav {
    padding-left: 64px;
    padding-right: 64px;
  }

  .desktop-nav {
    display: flex;
  }

  .mobile-menu-button {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }

  .site-footer-inner {
    padding-left: 64px;
    padding-right: 64px;
  }

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

  .md\:px-margin-desktop {
    padding-left: 64px !important;
    padding-right: 64px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --rh-header-height: 68px;
  }

  .brand-mark {
    font-size: 24px;
  }

  .detail-back {
    top: 14px;
    left: 14px;
    max-width: calc(100vw - 28px);
    padding: 10px 14px;
  }

  .detail-back span:last-child {
    max-width: 56vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .text-display-lg,
  .font-display-lg {
    font-size: clamp(3.05rem, 15vw, 4.9rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.03em !important;
  }

  .text-headline-lg,
  .font-headline-lg {
    font-size: clamp(2.35rem, 10vw, 3.6rem) !important;
    line-height: 1 !important;
  }

  .py-section-gap {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  .gap-gutter {
    gap: 22px !important;
  }

  .grid.grid-cols-2 {
    grid-template-columns: 1fr !important;
  }

  .h-screen {
    min-height: 680px;
  }

  .rounded-3xl,
  .rounded-t-full {
    border-radius: 18px !important;
  }
}
