:root {
  --rose: #B26D69;
  --rose-deep: #8F4F4B;
  --bg: #F5F0E6;
  --ink: #201A1B;
  --muted: #5C5553;
  --rule: #D4C4B0;
}

@media (prefers-color-scheme: dark) {
  :root {
    --rose: #E3A19C;
    --rose-deep: #F2C3BF;
    --bg: #1C1817;
    --ink: #F3ECE8;
    --muted: #B5ABA7;
    --rule: #3A3331;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.mark { margin-bottom: 1.5rem; }

h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.lede {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-style: italic;
  color: var(--muted);
}

.contact {
  margin: 2.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.95rem;
}

a {
  color: var(--rose);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

a:hover, a:focus-visible { color: var(--rose-deep); }

footer {
  padding: 1.5rem 1rem;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
}
