@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600&display=swap');

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--outer); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--outer);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { background: var(--accent); color: var(--white); }

.site-frame {
  width: min(calc(100% - 32px), var(--frame-max));
  margin: 16px auto;
  background: var(--paper);
  box-shadow: var(--shadow-frame);
  overflow: clip;
  position: relative;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  transform: translateY(-220%);
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--white);
}
.skip-link:focus { transform: none; opacity: 1; pointer-events: auto; }

.container {
  width: min(100% - (var(--gutter) * 2), 1370px);
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
}

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: .99;
  letter-spacing: -.032em;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(44px, 4.3vw, 68px);
  line-height: 1;
  letter-spacing: -.032em;
  font-weight: 400;
  margin: 0;
}

.body-large {
  font-size: clamp(18px, 1.28vw, 21px);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.text-link:hover { gap: 19px; color: var(--accent-deep); }

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .075em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--outline { border-color: currentColor; background: transparent; }
.btn--light { color: var(--white); border-color: rgba(255,255,255,.72); }

:focus-visible { outline: 3px solid #bb8c70; outline-offset: 4px; }

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

section[id] { scroll-margin-top: 88px; }
