:root {
  --bg: #f4efe6;
  --ink: #1c1914;
  --muted: #5c564c;
  --line: #d8d0c3;
  --accent: #8a3b12;
  --paper: #fbf8f2;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #efe4d2 0%, transparent 55%),
    var(--bg);
  line-height: 1.55;
}

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

.site-header,
footer,
main {
  width: min(760px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}

.mark {
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
}

nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.95rem;
}

nav a {
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--ink);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(2.1rem, 5vw, 3.35rem);
  line-height: 1.12;
  font-weight: 600;
}

.lede {
  margin: 0;
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.cta {
  margin: 2rem 0 0;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  border-radius: 2px;
}

.button:hover {
  background: var(--accent);
}

.panel {
  padding: 0 0 3rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--muted);
  font-weight: 600;
}

.work-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-list li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.work-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.legal {
  padding: 3rem 0 4rem;
}

.legal h1 {
  font-size: 2.2rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.legal ul {
  padding-left: 1.2rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-header,
  footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 3rem;
  }
}
