:root {
  --paper: #f3efe6;
  --paper-2: #eae4d8;
  --ink: #1b1915;
  --muted: #5e584e;
  --line: #d4ccc0;
  --brick: #8d3b2a;
  --brick-dark: #6e2c1f;
  --stamp: #24382f;
  --white: #faf8f4;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; }
img { max-width: 100%; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.top {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand strong {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand span {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}
nav a { text-decoration: none; color: var(--ink); }
nav a:hover { color: var(--brick); }
nav a.active { box-shadow: inset 0 -1px 0 var(--ink); }
.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  text-decoration: none;
  padding: 10px 14px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.nav-cta:hover { background: var(--brick); color: var(--white) !important; }

.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line);
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin: 0 0 16px;
}
h1 {
  font-family: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  font-weight: 600;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  max-width: 14ch;
}
.lede {
  max-width: 42rem;
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 28px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 13px 16px;
  background: var(--brick);
  color: var(--white);
}
.btn:hover { background: var(--brick-dark); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--white); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}
.fact {
  padding: 28px 0;
  border-right: 1px solid var(--line);
}
.facts .wrap { display: contents; }
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  padding: 28px 24px 28px 0;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: 0; padding-right: 0; }
.fact b {
  display: block;
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 6px;
}
.fact p { margin: 0; color: var(--muted); font-size: 15px; }

.section { padding: 72px 0; }
.section.alt { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  max-width: 16ch;
}
.section .intro { color: var(--muted); max-width: 38rem; margin: 0 0 32px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.num {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 22px;
  color: var(--brick);
}

.permit {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(27, 25, 21, 0.06);
}
.permit header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #f7f6f2;
}
.permit header strong { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.permit header span { color: var(--muted); font-size: 13px; }
.permit .body { padding: 8px 18px 16px; }
.row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.row:last-child { border-bottom: 0; }
.row h3 { margin: 0 0 4px; font-size: 16px; font-weight: 600; }
.row p { margin: 0; color: var(--muted); font-size: 15px; }
.skip { color: var(--brick); font-weight: 600; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
}
.card h3 {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 24px;
  margin: 0 0 8px;
}
.card p { margin: 0; color: var(--muted); }

.price-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}
.price {
  background: var(--ink);
  color: var(--white);
  padding: 36px;
}
.price h2 { color: var(--white); max-width: none; }
.price .amount {
  font-family: "Iowan Old Style", Palatino, Georgia, serif;
  font-size: 64px;
  line-height: 1;
  margin: 8px 0;
}
.price .amount span { font-size: 22px; }
.price ul { margin: 18px 0 0; padding-left: 18px; }
.price li { margin: 8px 0; }
.note {
  border: 1px solid var(--line);
  padding: 28px;
  background: var(--white);
}
.note h3 { margin-top: 0; font-family: "Iowan Old Style", Palatino, Georgia, serif; font-size: 28px; }

.letter {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px 40px;
  max-width: 720px;
}
.letter .meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.letter h2 { font-size: 28px; max-width: none; margin-bottom: 18px; }
.letter p { margin: 0 0 14px; }
.item { margin: 0 0 16px; }

.page-head { padding: 56px 0 12px; }
.page-head h1 { font-size: clamp(36px, 5vw, 56px); }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: var(--ink); }

@media (max-width: 800px) {
  .top-inner { flex-direction: column; align-items: flex-start; padding: 16px 0; }
  nav { flex-wrap: wrap; gap: 14px; }
  .fact-grid, .cards, .split, .price-box { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .letter { padding: 22px; }
  .hero { padding-top: 40px; }
}
