/* Faberty — light only, Paper ground, hairlines not cards. */

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1B1A18;
  --paper: #F6F3ED;
  --stone: #A69E92;
  --mist: #E4DFD6;
  --bronze: #8A7357;

  /* single spacing scale */
  --space-2xs: 8px;
  --space-xs: 16px;
  --space-s: 24px;
  --space-m: 40px;
  --space-l: 64px;
  --space-xl: 104px;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}

.site-header,
main,
.site-footer {
  max-width: 44rem;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 40px);
}

h1, h2, p, ul, address {
  margin: 0;
  padding: 0;
}

strong {
  font-weight: 600;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

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

/* Header — the mark alone, small, top left */

.site-header {
  padding-top: var(--space-m);
}

.mark {
  display: block;
  height: 32px;
  width: auto;
}

/* Hero */

.hero {
  padding-block: var(--space-xl);
}

.lockup {
  display: block;
  width: clamp(150px, 32vw, 220px);
  height: auto;
}

.lede {
  margin-top: var(--space-l);
}

/* Sections */

.section {
  border-top: 1px solid var(--mist);
  padding-block: var(--space-l);
}

.eyebrow {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: var(--space-s);
}

/* Advisory rows */

.rows {
  list-style: none;
}

.rows li {
  padding-block: var(--space-s);
}

.rows li + li {
  border-top: 1px solid var(--mist);
}

.rows li:first-child {
  padding-top: 0;
}

.rows li:last-child {
  padding-bottom: 0;
}

/* Contact */

address {
  font-style: normal;
}

/* Footer */

.site-footer {
  padding-bottom: var(--space-l);
  font-size: 14px;
}

/* The hairline sits on the inner paragraph so it aligns with the
   section hairlines (the outer box adds inline padding). */
.site-footer p {
  border-top: 1px solid var(--mist);
  padding-top: var(--space-m);
}

@media (max-width: 600px) {
  .hero {
    padding-block: var(--space-l);
  }

  .lede {
    margin-top: var(--space-m);
  }

  .section {
    padding-block: var(--space-m);
  }
}
