:root {
  --background: #f7f6f2;
  --text: #222724;
  --muted: #686e6a;
  --line: #d8d8d1;
  --accent: #536a60;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  margin: 0 auto;
  max-width: 1280px;
  min-height: 100vh;
  padding: 0 clamp(1.4rem, 5vw, 5rem);
}

.header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 80px;
}

.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.75rem;
  letter-spacing: 0.01em;
}

.wordmark > span {
  background: var(--accent);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}

nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
}

nav a {
  color: var(--muted);
  font-size: 0.76rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--text);
}

.hero {
  min-height: 630px;
  padding: clamp(6rem, 12vw, 10rem) 0 6rem;
}

.label {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  margin: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 2rem 0 0;
  max-width: 900px;
}

.introduction {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  margin: 2.5rem 0 0;
  max-width: 660px;
}

.contact-link {
  align-items: center;
  border-bottom: 1px solid var(--text);
  display: inline-flex;
  font-size: 0.78rem;
  gap: 0.7rem;
  margin-top: 2.25rem;
  padding-bottom: 0.25rem;
}

.contact-link span,
.contact a span {
  color: var(--accent);
}

.services,
.about,
.contact {
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(3rem, 8vw, 8rem);
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-intro > p:last-child {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 1.4rem 0 0;
  max-width: 260px;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-list article {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 2rem minmax(180px, 0.7fr) minmax(260px, 1fr);
  padding: 2.1rem 0;
}

.service-list article > span {
  color: var(--muted);
  font-size: 0.62rem;
}

.service-list h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
}

.service-list p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
  max-width: 500px;
}

.about > div,
.contact > div {
  max-width: 760px;
}

.about h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0;
}

.about div > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
  margin: 2rem 0 0;
  max-width: 650px;
}

.contact {
  padding-bottom: clamp(6rem, 12vw, 11rem);
}

.contact a {
  align-items: center;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.75rem;
  margin-top: 2rem;
}

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

footer p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .header {
    min-height: 70px;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 560px;
  }

  .services,
  .about,
  .contact {
    gap: 2.5rem;
    grid-template-columns: 1fr;
  }

  .section-intro > p:last-child {
    max-width: 480px;
  }

  .service-list article {
    grid-template-columns: 2rem 1fr;
  }

  .service-list article > p {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 520px;
    padding-top: 5rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 16vw, 4.4rem);
  }

  .contact-link {
    font-size: 0.7rem;
  }
}

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