:root {
  color-scheme: light;
  --paper: #f6f2ea;
  --ink: #1c1a17;
  --muted: #625c53;
  --rule: #d8d0c2;
  --accent: #a94f2c;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

main {
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: clamp(4rem, 12vh, 8rem) 0;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 12vw, 8rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.tagline {
  max-width: 28ch;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.5;
}

.contact {
  margin: 1.75rem 0 0;
  font-size: 0.95rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
}

.site-footer p {
  max-width: 70ch;
  margin: 0 auto 0.2rem;
}

.copyright {
  padding-top: 0.6rem;
  letter-spacing: 0.04em;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}
