:root {
  --paper: #f3efe6;
  --paper-deep: #e7e1d4;
  --ink: #1a1916;
  --muted: #5c564c;
  --line: #d4ccbe;
  --sienna: #8a3412;
  --footer: #1c211e;
  --footer-text: #e6e0d4;
  --max: 72rem;
  --serif: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}

::selection {
  background: #e4d0c2;
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 2;
}

.skip:focus {
  transform: none;
}

a {
  color: var(--sienna);
  text-underline-offset: 0.18em;
}

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

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

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

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.mark {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--ink);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.15rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--sienna);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.8fr);
  gap: 3.5rem;
  align-items: end;
  padding: 4.2rem 0 3.5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--sienna);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  max-width: 18ch;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}

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

.button:hover,
.button:focus-visible {
  background: var(--sienna);
  color: var(--paper);
}

.quiet {
  color: var(--ink);
  font-weight: 600;
}

.hero-aside {
  margin: 0;
  padding: 1.4rem 1.3rem 0.4rem;
  background: var(--paper-deep);
  border-top: 3px solid var(--ink);
}

.hero-aside ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-aside li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.hero-aside li:last-child {
  border-bottom: 0;
}

.hero-aside span {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--sienna);
}

.hero-aside p {
  margin: 0;
}

.band {
  padding: 3.2rem 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 1.2rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.section-head h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.section-head p,
.about p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.section-head p {
  margin-top: 0.75rem;
}

.services,
.steps {
  display: grid;
  gap: 0;
}

.services {
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.services article,
.steps li {
  padding: 1.4rem 1.4rem 1.5rem 0;
}

.services article {
  border-bottom: 1px solid var(--line);
}

.services article:nth-child(odd) {
  padding-right: 2rem;
  border-right: 1px solid var(--line);
}

.services article:nth-child(even) {
  padding-left: 2rem;
  padding-right: 0;
}

.services h3,
.steps h3,
.pricing-grid h3,
.factors h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
}

.services p,
.steps p,
.pricing-grid p {
  margin: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem 2.75rem;
}

.steps li {
  padding: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 0.8fr);
  gap: 2.5rem;
}

.pricing-grid h3 {
  margin-top: 1.4rem;
}

.pricing-grid h3:first-child,
.factors h3 {
  margin-top: 0;
}

.factors {
  background: var(--paper-deep);
  padding: 1.3rem 1.3rem 1.1rem;
}

.factors ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.factors li + li {
  margin-top: 0.35rem;
}

.factor-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 40rem);
}

.about p + p,
.contact p + p {
  margin-top: 1rem;
}

.contact .button {
  margin-top: 0.4rem;
}

.contact-note {
  font-size: 1rem;
}

.site-footer {
  margin-top: 1rem;
  width: 100%;
  max-width: none;
  background: var(--footer);
  color: var(--footer-text);
  padding: 2.2rem 0 2.6rem;
}

.site-footer .footer-mark,
.site-footer p {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-footer .footer-mark {
  display: block;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--paper);
}

.site-footer p + p {
  margin-top: 0.4rem;
}

.footer-meta {
  color: #b7b1a6;
  font-size: 0.95rem;
}

:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  body {
    font-size: 1.05rem;
  }

  .hero,
  .services,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 16ch;
  }

  .services article:nth-child(odd),
  .services article:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .hero {
    gap: 1.8rem;
    padding-top: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
