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

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

:root {
  --base: 1.1rem;
  --padding: 1lh;
  --line-height: 1.25;
  --text-big: 1.5em;

  --color-black: #424242;
  --color-white: #fff;
  --color-grey: #8d8d8d;

  --color-light: #efefef;

  --color-text: var(--color-black);
  --color-text-grey: color-mix(in srgb, var(--color-text) 40%, transparent);
  --color-background: var(--color-white);

  --font-family: "garamond";
  --font-size: clamp(var(--base), var(--base) + 0.2vw, 10rem);

  --bold: 500;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: var(--line-height);
  scrollbar-width: none;
  /* overflow: -moz-scrollbars-none; */
  -ms-overflow-style: none;
}

html {
  color: var(--color-text);
  background: var(--color-background);
}

body {
  /* -webkit-font-smoothing: antialiased; */
  /* -moz-osx-font-smoothing: grayscale; */

  margin: 0 auto;
  padding: var(--padding);

  font-family: var(--font-family), "garamond", garamond, serif;
  font-size: var(--font-size);
  letter-spacing: 0.02rem;
  text-transform: uppercase;
  font-feature-settings: "smcp", "c2sc";
  font-variant: small-caps;
  font-size: var(--font-size);
  scroll-behavior: smooth;

  touch-action: manipulation;

}

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

/* link behaviour */

a {
  color: var(--color-text);
  text-decoration: none;
  text-decoration-thickness: 0.054em;
  text-underline-offset: 0.1em;
}

a:hover {
  text-decoration: none;
  text-decoration-thickness: 0.024em;
  text-underline-offset: 0.1em;
}

/* --- Header --- */

header a,
footer a {
  text-decoration: none;
}

ul,
ol,
details,
summary {
  list-style-type: none;
}

summary:hover {
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open]>summary {
  display: none !important;
}




/* --- footer --- */

footer {
  text-align: center;
  padding-top: 20vh;
}

.colophon {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  :root {
    --padding: 1lh;
  }
}

@media (hover: none) {
  body {
    text-stroke: .005rem black;
    -webkit-text-stroke: .005rem black;
  }
}