@font-face {
  font-family: "DM Mono";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/dm-mono-regular.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/dm-mono-medium.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/libre-baskerville-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Libre Baskerville";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("/fonts/libre-baskerville-italic.woff2") format("woff2");
}

:root {
  --paper: #eae8df;
  --ink: #29241f;
  --muted: #70695f;
  --line: #c8c4ba;
  --accent: #873d25;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: min(100% - 3rem, 72rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  font-family: "DM Mono", monospace;
  font-size: .73rem;
  letter-spacing: .025em;
}

.header-inner,
.site-footer > .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner { min-height: 5.5rem; }

.wordmark {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: -.04em;
  text-decoration: none;
}

nav { display: flex; gap: 1.5rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover, nav a:focus-visible, .contact-link:hover, .contact-link:focus-visible { color: var(--accent); }

.language-switcher {
  display: flex;
  gap: .5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--line);
  text-transform: uppercase;
}

.language-switcher a[aria-current="true"] { color: var(--ink); }

.hero {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 10.75rem);
  padding-block: 7rem 8rem;
}

.eyebrow {
  margin: 0 0 1.75rem;
  color: var(--accent);
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: 1.08;
}

.hero-foot {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 3.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.hero-foot p { margin: 0; }
.contact-link { color: var(--ink); text-underline-offset: .25em; }
.contact-link span { margin-left: .35em; color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: .68rem;
  letter-spacing: .02em;
}

.site-footer > .shell { min-height: 5.25rem; }

.social-links {
  display: flex;
  gap: .9rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
}

.social-links svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.imprint-link {
  color: var(--muted);
  text-decoration: none;
}

.imprint-link:hover, .imprint-link:focus-visible { color: var(--accent); }

.legal-page {
  min-height: calc(100vh - 10.75rem);
  max-width: 48rem;
  padding-block: 6rem 8rem;
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-content { margin-top: 3.5rem; }
.legal-content h2 {
  margin: 2.5rem 0 .75rem;
  font-family: "DM Mono", monospace;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.legal-content p { margin: 0; }
.legal-content p + h2 { margin-top: 2.5rem; }
.legal-content a { color: var(--accent); text-underline-offset: .25em; }

@media (max-width: 38rem) {
  .shell { width: min(100% - 2rem, 72rem); }
  .header-inner { min-height: 4.5rem; }
  .hero { min-height: calc(100vh - 9.75rem); padding-block: 5rem; }
  .hero-foot, .site-footer > .shell { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .site-footer > .shell { justify-content: center; padding-block: 1.25rem; }
}
