/* ===========================================================
   Base / Reset
   =========================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-warm-white);
  color: var(--c-black);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-black);
}

h1, h2 {
  font-family: var(--f-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); letter-spacing: -0.015em; line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--c-accent);
  display: inline-block;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--c-charcoal);
  max-width: 62ch;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
}
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--dark {
  background: var(--c-black);
  color: var(--c-warm-white);
}
.section--dark h2, .section--dark h3 { color: var(--c-warm-white); }
.section--soft { background: var(--c-soft-gray); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { margin-top: 14px; }

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

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

hr.rule {
  border: none;
  border-top: 1px solid var(--c-line);
  margin: 0;
}
.section--dark hr.rule { border-top-color: var(--c-line-dark); }
