:root {
  color-scheme: light;
  --paper: #eef0e6;
  --ink: #212c23;
  --forest: #294434;
  --muted: #4d5a4e;
  --line: #b6bfb0;
  --white: #f9faf5;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-padding-top: 24px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
}

a { color: inherit; }

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.wrap {
  width: min(100% - 2 * clamp(18px, 5vw, 80px), 1320px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  transform: translateY(-170%);
  padding: 8px 16px;
  background: var(--white);
}

.skip-link:focus { transform: none; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  min-height: 76px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font: 1.35rem/1.2 var(--display);
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
}

nav a {
  display: grid;
  align-items: center;
  min-height: 44px;
  font-size: .94rem;
  text-decoration: none;
}

nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px);
  padding-block: clamp(32px, 5vw, 76px) clamp(54px, 8vw, 112px);
}

h1 {
  font-size: clamp(2.9rem, 6.1vw, 6rem);
  letter-spacing: -.058em;
}

.hero-copy p {
  max-width: 34ch;
  margin-block: 22px 28px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 26px;
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: #1d3226; }
.button:focus-visible { outline-color: var(--forest); }

.hero-figure {
  overflow: hidden;
  aspect-ratio: 1.12;
  border-radius: 38% 3px 3px 3px / 34% 3px 3px 3px;
  background: #c9d2be;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.services { padding-bottom: clamp(56px, 8vw, 106px); }

h2 {
  font-size: clamp(2.45rem, 4.7vw, 4.25rem);
  letter-spacing: -.045em;
}

.service-list {
  margin-top: clamp(18px, 3vw, 32px);
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr) minmax(0, .7fr);
  align-items: baseline;
  gap: 16px 26px;
  padding-block: clamp(22px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.service h3 {
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  letter-spacing: -.035em;
}

.service p { color: var(--muted); }

.service .price {
  justify-self: end;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 600;
  text-align: right;
}

.contact {
  background: var(--forest);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding-block: clamp(38px, 6vw, 76px);
}

.contact p {
  margin-top: 13px;
  color: #e2e8df;
}

.button-light {
  justify-self: start;
  background: var(--white);
  color: var(--forest);
}

.button-light:hover { background: #e2e8df; }
.button-light:focus-visible { outline-color: var(--white); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 22px;
  color: var(--muted);
  font-size: .91rem;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-break { display: none; }
  h1 { font-size: clamp(2.5rem, 8.8vw, 4.65rem); }
  .hero-figure { aspect-ratio: 1.48; }

  .service {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
  }

  .service p:not(.price) {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 56ch;
  }

  .service .price { font-size: .98rem; }
}

@media (max-width: 520px) {
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 370px) {
  .service { grid-template-columns: 1fr; }
  .service .price {
    justify-self: start;
    text-align: left;
  }
}
