@font-face {
  font-family: "UnifrakturMaguntia";
  src: url("/fonts/unifraktur-maguntia.woff2") format("woff2");
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --bg: #1a1714;
  --fg: #ece3d3;
  --muted: #bcae97;
  --accent: #f08b90;
  --line: #463d33;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3ede2;
    --fg: #1a1714;
    --muted: #574e44;
    --accent: #8e1219;
    --line: #cfc3b0;
  }
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.125rem/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
}
header, main, footer { max-width: 50rem; margin: 0 auto; padding: 0 1rem; }

.hero { padding-top: clamp(3rem, 12vw, 7rem); padding-bottom: 2rem; text-align: center; }
h1 {
  font-family: "UnifrakturMaguntia", serif;
  font-weight: 400;
  font-size: clamp(3.5rem, 16vw, 8rem);
  line-height: 1;
  margin: 0;
}
h1.plain { font-family: inherit; font-weight: 700; font-size: 2.25rem; margin: 4rem 0 1rem; }
.tagline { font-size: 1.25rem; color: var(--muted); margin: 1rem 0 0; }

h2 { font-size: 1.5rem; margin: 3rem 0 1rem; }
.video { position: relative; aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: .5rem; }

a { color: var(--accent); text-underline-offset: .15em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

footer { margin-top: 4rem; padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
