@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/EBGaramond-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/EBGaramond-Italic.woff2") format("woff2");
}

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

@font-face {
  font-family: "EB Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/EBGaramond-SemiBoldItalic.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { max-width: 100%; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--type-base);
  line-height: var(--line-height-body);
  font-feature-settings: "kern", "liga", "onum";   /* old-style numerals, ligatures */
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.5rem;
}

a { color: var(--color-accent-gold); text-decoration: underline; text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 0.1em; }

.hero h1 {
  font-size: var(--type-scale-h1);
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-paragraph);
}

.hero .through-line {
  font-style: italic;
  margin: 0 0 var(--space-paragraph);
}

.hero .tagline {
  font-style: italic;
  font-size: var(--type-scale-tagline);
  color: var(--color-accent-gold);
  margin: 0 0 var(--space-paragraph);
}

.hero .hero-photo-slot {
  min-height: 0;
  height: 0;
}

.spine {
  border-top: 1px solid var(--color-hairline);
  padding-top: var(--space-section);
  margin-top: var(--space-section);
}

.spine p {
  margin: 0 0 var(--space-paragraph);
}

.spine .dropcap {
  float: left;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--type-scale-dropcap);
  line-height: 0.9;
  margin-right: 0.5rem;
  margin-top: 0.1em;
  color: var(--color-accent-gold);
}
