:root {
  --paper: #f6f3ec;
  --ink: #1f2a24;
  --soft: #5d665f;
  --rule: #ddd7c9;
  --accent: #b9801f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #161b18;
    --ink: #ece8dd;
    --soft: #a3aaa2;
    --rule: #2c342f;
    --accent: #d9a441;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  hyphens: manual;
}

main {
  max-width: 36rem;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3rem;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 5rem;
  font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--accent);
}

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--soft);
  text-wrap: pretty;
}

section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

h2 {
  margin: 0 0 0.9rem;
  font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--soft);
}

p { margin: 0 0 1rem; text-wrap: pretty; }

.contact { margin-top: 1.5rem; font-size: 1.3rem; }

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

a:hover { color: var(--accent); }

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

footer {
  margin-top: 5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--soft);
}

footer p { margin: 0; }

@media (max-width: 30rem) {
  main { padding-top: 3rem; }
  .mark { margin-bottom: 3.5rem; }
}
