.about-panel {
  padding-inline: clamp(32px, 7vw, 110px);
}

.about-layout {
  display: block;
}

.about-copy {
  width: 100%;
}

.about-copy p {
  max-width: 1080px;
}

.about-disclosure {
  max-width: 1080px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(201, 193, 180, .8);
}

.about-disclosure h4 {
  margin: 0 0 10px;
  color: #3e382f;
  font: 400 16px/1.4 var(--song);
  letter-spacing: .08em;
}

.about-disclosure p {
  margin: 0;
  color: #6e675d;
  font: 13px/1.9 var(--song);
  letter-spacing: .04em;
}

.about-disclosure p + p {
  margin-top: 8px;
}

.copy-note {
  margin-top: 10px;
  color: #7f786d;
  font: 12px/1.8 var(--song);
  letter-spacing: .03em;
}

.about-credits {
  max-width: 1080px;
}

@media (max-width: 760px) {
  .about-panel {
    padding-inline: 24px;
  }
}

.overlay-close {
  position: fixed;
  z-index: 130;
  right: calc(env(safe-area-inset-right, 0px) + 12px);
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(18, 17, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f4efe6;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font: 300 34px/1 Arial;
  touch-action: manipulation;
}

@media (max-width: 900px) {
  .overlay {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    align-items: flex-start;
  }

  .overlay-content {
    max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  }

  .overlay-close {
    width: 48px;
    height: 48px;
    font-size: 30px;
    right: calc(env(safe-area-inset-right, 0px) + 10px);
    top: calc(env(safe-area-inset-top, 0px) + 10px);
  }
}

@media (max-width: 520px) {
  .overlay {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .overlay-close {
    width: 46px;
    height: 46px;
    font-size: 28px;
  }
}

@media (max-width: 700px) {
  .photo-display-switcher,
  .dialect-display-switcher {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 96px;
    width: auto;
    max-height: clamp(190px, 34dvh, 300px);
    padding: 14px 14px 12px;
    overflow: auto;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38);
  }

  .photo-display-switcher > div strong,
  .dialect-display-switcher > div strong {
    margin-top: 9px;
    font-size: 20px;
  }

  .photo-display-switcher .community-wall-heading {
    margin-top: 14px;
    padding-top: 12px;
  }

  .photo-display-switcher .community-wall-heading strong {
    font-size: 13px;
  }

  .photo-display-switcher .community-wall-nav,
  .dialect-display-switcher nav {
    margin-top: 12px;
  }

  .photo-display-switcher .community-wall-nav button,
  .dialect-display-switcher nav button {
    min-height: 46px;
    padding: 7px 4px;
    font-size: 10px;
  }

  .photo-display-switcher .community-wall-note,
  .dialect-display-switcher p {
    display: none;
  }

  .photo-display-switcher > button,
  .dialect-display-switcher > button {
    margin-top: 10px;
    padding: 10px;
  }
}

.brand small {
  font-size: 8.5px;
  letter-spacing: .19em;
  margin-top: 4px;
}

@media (max-width: 520px) {
  .brand small {
    font-size: 9px;
  }
}
