@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --pine: #193b35;
  --porcelain: #f3f6f0;
  --mint: #8fd4b5;
  --subtle: #415e56;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --gutter: clamp(24px, 5vw, 84px);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--pine);
  background: var(--porcelain);
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 1420px);
  margin-inline: auto;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1,
h2,
.tile-title,
.phrases h3 {
  font-family: var(--serif);
}
h1,
h2 {
  line-height: 0.98;
  letter-spacing: -0.038em;
}
h1 {
  font-size: clamp(5rem, 8.2vw, 8.5rem);
}
h2 {
  font-size: clamp(4rem, 5.9vw, 6.25rem);
}
em {
  font-weight: 400;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover,
summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
:focus-visible {
  outline: 3px solid #31765e;
  outline-offset: 4px;
}
section {
  scroll-margin-top: 28px;
}
.skip {
  position: absolute;
  left: 24px;
  top: 8px;
  transform: translateY(-200%);
  background: var(--pine);
  padding: 10px 20px;
  color: white;
  z-index: 4;
}
.skip:focus {
  transform: none;
}
.site-head,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-head {
  min-height: 90px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.brand:hover {
  text-decoration: none;
}
.wordmark {
  font: 400 3.55rem/0.9 var(--serif);
  letter-spacing: -0.072em;
}
.brand-sub {
  font-size: 0.66rem;
  line-height: 1.32;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding-top: 6px;
}
nav {
  display: flex;
  gap: clamp(20px, 2.5vw, 50px);
  font-size: 0.94rem;
  font-weight: 500;
}
footer {
  padding: 38px 0 40px;
  flex-wrap: wrap;
}
footer .wordmark {
  font-size: 2.8rem;
}
footer small {
  font-size: 0.78rem;
  color: var(--subtle);
}
footer nav {
  font-size: 0.875rem;
  gap: 20px;
}

@media (max-width: 680px) {
  .site-head {
    min-height: 80px;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 12px;
  }
  nav {
    gap: 14px;
    font-size: 0.875rem;
  }
  .wordmark {
    font-size: 2.8rem;
  }
  h1 {
    font-size: clamp(3.7rem, 13vw, 5rem);
  }
  h2 {
    font-size: 3.8rem;
  }
  footer {
    flex-direction: column;
    align-items: start;
    gap: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
