@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f4eee5;
  --ink: #1a1614;

  --serif: "Instrument Serif", Georgia, serif;

  --fs-h1: clamp(3.5rem, 2rem + 6.4vw, 5rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html, body { margin: 0; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
}

.logo {
  display: block;
  margin-bottom: 32px;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -.01em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise .9s var(--ease) both; }
  h1 { animation-delay: .15s; }

  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}
