@font-face {
  font-family: "Instrument Serif";
  src: url("./instrument-serif.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./dm-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --display: "Instrument Serif", Georgia, serif;
  --ember: #c4611f;
  --paper: #fff;
  --mist: #f6f5f9;
  --ink: #282534;
  --violet: #7e79a4;
  --deep: #5a5573;
  --turquoise: #129d9a;
  --rule: #dfdce6;
  --gutter: clamp(1.25rem, 5.6vw, 6.5rem);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: .23em; }
a:focus-visible, main:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 5px;
}
::selection { background: var(--deep); color: var(--paper); }
.frame {
  width: min(calc(100% - 2 * var(--gutter)), 81rem);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: .75rem;
  left: var(--gutter);
  z-index: 2;
  transform: translateY(-180%);
  padding: .7em 1em;
  color: var(--paper);
  background: var(--deep);
}
.skip-link:focus { transform: none; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.home-link { display: inline-flex; align-items: center; min-height: 44px; }
.home-link img { width: clamp(12rem, 16vw, 15rem); }
.masthead nav { display: flex; align-items: center; gap: clamp(1.125rem, 3vw, 3rem); }
.masthead nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: .94rem;
  text-decoration-color: transparent;
}
.masthead nav a:hover, .masthead nav a:focus-visible { text-decoration-color: currentColor; }

.pin, .arrow {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.arrow { width: 1.1em; height: 1.1em; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  margin-top: 1.75rem;
  padding: .77rem 1.13rem;
  border: 1px solid transparent;
  border-radius: 2rem;
  background: var(--deep);
  color: var(--paper);
  text-decoration: none;
  font-weight: 550;
}
.button:hover { background: var(--ink); }

h2 {
  font-size: clamp(2.15rem, 3.8vw, 3.8rem);
  line-height: 1.08;
  font-weight: 550;
  letter-spacing: -.035em;
}
.footer {
  border-top: 1px solid var(--rule);
  color: var(--deep);
  font-size: .875rem;
  padding-block: 1.25rem;
}
@media (max-width: 44rem) {
  .masthead-inner { min-height: 4.25rem; gap: .85rem; flex-wrap: wrap; }
  .home-link img { width: clamp(8.9rem, 39vw, 12rem); }
  .masthead nav { gap: 1.05rem; }
  .masthead nav a { font-size: .87rem; }
}
@media (forced-colors: active) {
  .button { border-color: ButtonText; }
}
