:root {
  --paper: #f3efe6;
  --ink: #1c1915;
  --muted: #5e584e;
  --line: #d8d0c2;
  --oxide: #9c3418;
  --oxide-deep: #7a2610;
  --card: #fffdf8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
section { scroll-margin-top: 76px; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #efe8da 0, transparent 280px),
    var(--paper);
  font: 17px/1.55 "Avenir Next", "Segoe UI", sans-serif;
}
a { color: var(--oxide); }
img { display: block; }

.top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 6vw;
  background: rgba(243, 239, 230, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 14px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 4px;
}
nav { display: flex; gap: 22px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
nav a:hover { color: var(--ink); }

main { padding: 0 6vw 72px; }

.hero {
  max-width: 980px;
  padding: 72px 0 28px;
}
.kicker {
  margin: 0 0 18px;
  color: var(--oxide);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.kicker a { color: inherit; }
h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}
.btn {
  display: inline-block;
  padding: 13px 18px;
  background: var(--oxide);
  color: #fffaf4;
  text-decoration: none;
  font-weight: 700;
}
.btn:hover { background: var(--oxide-deep); }
.btn-line {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--paper); }

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.services article {
  padding: 28px 28px 32px 0;
}
.services article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.num {
  margin: 0 0 18px;
  color: var(--oxide);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
h2 {
  margin: 0 0 10px;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.services p:last-child { margin: 0; color: var(--muted); }

.panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  margin-top: 64px;
}
.panel-head p { margin: 0; color: var(--muted); }
.panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.panel li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.panel li:last-child { border-bottom: 1px solid var(--line); }

.steps { margin-top: 64px; }
.steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.steps li {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--oxide);
}
.steps span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--oxide);
}
.steps p { margin: 0; }

.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-top: 64px;
  padding: 36px 40px;
  background: var(--ink);
  color: #f6f1e7;
}
.contact h2,
.contact p { color: inherit; }
.contact p { margin: 0; color: #cfc6b6; }
.mail {
  color: #fff;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid #f6f1e7;
}
.mail:hover { color: #f0c7b6; border-color: #f0c7b6; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 6vw 36px;
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 0; }

@media (max-width: 900px) {
  h1 { font-size: 42px; }
  .services,
  .steps ol,
  .panel { grid-template-columns: 1fr; }
  .services article + article {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }
  .mail { font-size: 28px; }
}
@media (max-width: 700px) {
  .top { flex-direction: column; align-items: flex-start; }
  nav { flex-wrap: wrap; gap: 10px 16px; }
  .hero { padding-top: 40px; }
}
