*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: var(--lh-latin);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  background: var(--ink);
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) {
  a:hover {
    color: var(--gold);
  }
}

:focus {
  outline: none;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: max(var(--s4), var(--safe-l));
  top: max(var(--s4), var(--safe-t));
  z-index: 200;
  padding: var(--s3) var(--s4);
  background: var(--gold);
  color: var(--ink);
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  transform: translateY(-120%);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
select,
textarea {
  font: inherit;
  font-size: 1rem;
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

.page-main {
  min-height: 70vh;
  min-height: 70dvh;
  padding: calc(var(--header-h) + var(--safe-t) + var(--s7)) max(var(--s5), var(--safe-r)) max(var(--s8), var(--safe-b)) max(var(--s5), var(--safe-l));
  max-width: var(--measure);
  margin: 0 auto;
}

.page-main--hero-preview {
  min-height: 120vh;
  max-width: none;
  padding: 0;
}

.shell-placeholder {
  padding: calc(var(--header-h) + var(--s8)) var(--s5) var(--s10);
  max-width: var(--measure);
  margin: 0 auto;
}

.shell-placeholder h1 {
  font-size: var(--fs-h2);
  margin-bottom: var(--s4);
}

.shell-placeholder p {
  color: var(--text-caption);
  font-size: var(--fs-caption);
  max-width: 40rem;
}

.shell-placeholder__note {
  margin-top: var(--s3);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .skip-link {
    transform: none;
    opacity: 0;
  }

  .skip-link:focus,
  .skip-link:focus-visible {
    opacity: 1;
  }
}
