/* Keep the supplied digital lockup at its native proportions on every study. */
img[src*="heritage-horizontal-"] { height: auto; object-fit: contain; }
:where(a, button, summary) { touch-action: manipulation; -webkit-tap-highlight-color: #784b6b33; }
:where(a:hover) { text-decoration: underline; text-underline-offset: .2em; }
:where(a:active, button:active, summary:active) { opacity: .83; }
:where([id]) { scroll-margin-top: .5rem; }
@media (pointer: fine) { html { overscroll-behavior: none; } }

/* Only shown when a visitor follows a route beyond the private homepage studies. */
dialog.destination-preview {
  position: fixed;
  inset: 0;
  margin: auto;
  box-sizing: border-box;
  width: min(28rem, calc(100vw - 40px));
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid #b3a4ad;
  background: #faf7f1;
  color: #30262c;
  font: 16px/1.5 DM, "DM Sans", Arial, sans-serif;
  color-scheme: light;
  overscroll-behavior: contain;
}
.destination-preview::backdrop { background: rgb(26 21 22 / 60%); }
dialog.destination-preview h2 {
  margin: 0;
  font: 400 34px/1.08 Georgia, serif;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
}
dialog.destination-preview p { margin: 15px 0 24px; color: #554b50; font: inherit; }
dialog.destination-preview button {
  font: inherit;
  color: #fff;
  background: #4e3147;
  border: 0;
  border-radius: 0;
  padding: 10px 16px;
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
}
dialog.destination-preview button:hover, dialog.destination-preview button:active { background: #352031; }
dialog.destination-preview button:focus-visible { outline: 2px solid #4e3147; outline-offset: 3px; }
