@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/newsreader-500.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/newsreader-600.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/source-sans-500.woff2") format("woff2");
}

:root {
  --paper: #f3efe6;
  --paper-deep: #e6e0d4;
  --ink: #1c1916;
  --muted: #5c564c;
  --line: #d2cbbd;
  --accent: #234237;
  --measure: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

.wrap {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

.site-header {
  padding: 1.35rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
}

.mark {
  margin: 0;
  font-family: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.mark span {
  color: var(--muted);
  font-weight: 500;
}

.hero {
  padding: 4.5rem 0 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1 {
  max-width: 11em;
  margin: 0;
  font-family: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(2.7rem, 6.4vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.lede {
  max-width: var(--measure);
  margin: 1.6rem 0 0;
  font-size: 1.3rem;
  line-height: 1.45;
}

.surfaces {
  padding: 4.75rem 0 0;
}

.section-label {
  margin: 0 0 1.35rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.surfaces ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: surface;
}

.surfaces li {
  counter-increment: surface;
  min-width: 0;
}

.surfaces li::before {
  content: counter(surface, decimal-leading-zero);
  display: block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.surfaces h3 {
  margin: 0 0 0.55rem;
  font-family: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.surfaces p {
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.close {
  margin-top: 4.75rem;
  padding: 3.25rem 0 3.5rem;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.close h2 {
  max-width: 12em;
  margin: 0;
  font-family: "Newsreader", "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.close p {
  max-width: 40rem;
  margin: 1.15rem 0 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.site-footer {
  padding: 0 0 2rem;
  background: var(--paper-deep);
}

.site-footer p {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .wrap {
    width: min(100% - 2rem, 68rem);
  }

  .hero {
    padding-top: 2.75rem;
  }

  h1 {
    max-width: 12em;
  }

  .lede {
    font-size: 1.15rem;
  }

  .surfaces {
    padding-top: 3.25rem;
  }

  .surfaces ol {
    grid-template-columns: 1fr;
    gap: 2.1rem;
  }

  .close {
    margin-top: 3.25rem;
    padding: 2.5rem 0 2.75rem;
  }

  .close p {
    font-size: 1.125rem;
  }
}

@media print {
  body,
  .close,
  .site-footer {
    background: #fff;
  }
}
