:root {
  color-scheme: light dark;
  --bg: #f7f7f7;
  --fg: #161616;
  --muted: #474747;
  --hero-bg: #6f6f6f;
  --hero-fg: #ffffff;
  --link: #0b4f9c;
  --rule: #d4d4d4;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161616;
    --fg: #f1f1f1;
    --muted: #b8b8b8;
    --hero-bg: #2b2b2b;
    --hero-fg: #ffffff;
    --link: #8cbcf5;
    --rule: #3a3a3a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
.hero {
  background: var(--hero-bg);
  color: var(--hero-fg);
  text-align: center;
  padding: clamp(3rem, 12vw, 7rem) 1.25rem;
}
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.tagline {
  margin: 1rem 0 0;
  font-size: clamp(1rem, 3.2vw, 1.375rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 4rem) 1.25rem;
  text-align: center;
}
h2 {
  margin: 0 0 0.5rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 400;
}
main p { margin: 0 0 1rem; }
a.mail {
  display: inline-block;
  padding: 0.5rem 0.25rem;
  color: var(--link);
  font-weight: 600;
  overflow-wrap: anywhere;
}
a.mail:hover { text-decoration-thickness: 2px; }
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
  border-radius: 2px;
}
footer {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9375rem;
  text-align: center;
}
footer p { margin: 0; }
@media (forced-colors: active) {
  .hero { border-bottom: 1px solid CanvasText; }
}
