:root {
  --bg: #f3f0e8;
  --bg-band: #e7e1d6;
  --ink: #161513;
  --soft: #3c3934;
  --muted: #5c564c;
  --line: #d5cec2;
  --accent: #9a3b1a;
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

.kicker {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  text-decoration: none;
  line-height: 1;
}

.nav nav {
  display: flex;
  gap: 1.5rem;
}

.nav nav a {
  text-decoration: none;
  font-size: 0.92rem;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.7fr);
  gap: 4rem;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 11em;
  margin-top: 0.85rem;
}

.lead {
  max-width: 36rem;
  margin-top: 1.35rem;
  color: var(--soft);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  padding: 0.85rem 1.15rem;
}

.button::after {
  content: "→";
}

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

.text-link {
  font-size: 0.92rem;
  text-underline-offset: 0.22em;
}

.text-link:hover {
  color: var(--accent);
}

.hero-aside {
  border-left: 1px solid var(--line);
  padding: 0.25rem 0 0.25rem 1.75rem;
}

.hero-aside div + div {
  margin-top: 1.35rem;
}

.hero-aside dt {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-aside dd {
  margin: 0.3rem 0 0;
  font-size: 1.02rem;
}

.section {
  padding: 4.5rem 0 5rem;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2rem;
}

h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-top: 0.55rem;
}

.section-lead {
  margin-top: 0.75rem;
  color: var(--soft);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) minmax(11rem, 15rem);
  gap: 1.25rem 2rem;
  align-items: start;
  padding: 1.7rem 0.15rem;
  border-top: 1px solid var(--line);
}

.num,
.step-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.num {
  font-size: 0.85rem;
  padding-top: 0.45rem;
}

.service h3,
.steps h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.service p {
  margin-top: 0.45rem;
  color: var(--soft);
  max-width: 40rem;
}

.tags {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.band {
  background: var(--bg-band);
  padding: 4.5rem 0 5rem;
}

.steps {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 1;
  margin-bottom: 0.85rem;
}

.steps p {
  margin-top: 0.45rem;
  color: var(--soft);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 1rem;
  color: var(--soft);
  max-width: 28rem;
}

.contact-copy a {
  color: var(--ink);
  text-underline-offset: 0.2em;
}

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

.office {
  margin-top: 1.75rem;
  color: var(--soft);
  font-style: normal;
  line-height: 1.55;
}

.office .kicker {
  display: block;
  margin-bottom: 0.45rem;
}

.field {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

input,
textarea,
select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.7rem 0;
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 L6 6.5 L11 1.5' fill='none' stroke='%23161513' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.15rem center;
  padding-right: 1.5rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--ink);
}

input::placeholder,
textarea::placeholder {
  color: #8a8378;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  color: var(--soft);
  font-size: 0.92rem;
}

.form-status.is-error {
  color: var(--accent);
}

.footer {
  background: var(--ink);
  color: #e4ddd2;
  padding: 2.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem 2.5rem;
  flex-wrap: wrap;
}

.footer-logo {
  color: #f3f0e8;
  margin-bottom: 0.55rem;
}

.footer-legal p + p {
  margin-top: 0.15rem;
}

.footer a {
  color: inherit;
}

.footer p {
  font-size: 0.92rem;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 860px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero-aside {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 1.5rem 0 0;
  }

  .service {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    gap: 0.35rem 1.1rem;
  }

  .tags {
    grid-column: 2;
    margin-top: 0.15rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (min-width: 861px) {
  .tags {
    text-align: right;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 6.75rem;
  }

  .wrap {
    width: min(1080px, calc(100% - 32px));
  }

  .nav-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 0.9rem 0;
    gap: 0.65rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .section,
  .band {
    padding: 3.25rem 0;
  }
}

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