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

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

:root {
  --aubergine: #2b1c33;
  --aubergine-line: #57445f;
  --night: #141016;
  --ivory: #f4ecdf;
  --ivory-dim: #c9bdc4;
  --gold: #d8b978;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
}

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

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

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

.credit-link {
  text-decoration-color: var(--aubergine-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.credit-link:hover,
.credit-link:hover em {
  color: var(--gold);
  text-decoration-color: var(--gold);
}

.label {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
