@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f9f8f0;
  --ink: #1d2b22;
  --dark: #182a20;
  --lime: #e0edb6;
  --sage: #eef0e4;
  --muted: #4e594e;
  --line: #cfd4c4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); }
h1, h2, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid #9b4b20; outline-offset: 5px; }
[id] { scroll-margin-top: 1rem; }

.wrap { width: min(100% - 5.5rem, 75rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 2;
  inset: .75rem auto auto .75rem;
  padding: .6rem 1rem;
  background: var(--paper);
}

.skip-link:not(:focus) { clip-path: inset(50%); }
.masthead { border-top: 3px solid var(--lime); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.65rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -.04em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.75vw, 2.4rem); }
.site-nav a { font-size: .9375rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-nav .header-contact { padding-block: .45rem; border-bottom: 1px solid #8b9b7d; }
.site-nav .header-contact:hover { border-color: var(--ink); text-decoration: none; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(31rem, 46vw, 43rem);
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
}

.hero-inner { position: relative; padding-block: clamp(3.75rem, 7vw, 6.5rem); }

.hero-image {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 33%;
}

.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 52%; }
.hero-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark), rgb(24 42 32 / 82%) 19%, transparent 63%);
  content: "";
}

.hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

.eyebrow {
  color: var(--lime);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .085em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, .price-amount {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.018em;
}

h1 { margin-top: 1.25rem; font-size: clamp(5rem, 9.6vw, 9.1rem); line-height: .9; }
h1 em { display: block; color: var(--lime); }
h2 { font-size: clamp(3.35rem, 6.25vw, 5.85rem); line-height: .94; }
h2 em { color: #4a664d; }

.hero-description {
  max-width: 28rem;
  margin-top: 1.55rem;
  color: #ebeee5;
  font-size: clamp(1rem, 1.55vw, 1.2rem);
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  min-height: 3.125rem;
  padding: .75rem 1.3rem;
  border-radius: .3rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button-lime { background: var(--lime); color: var(--dark); }
.button-lime:hover { background: #f1f7d8; }
.hero .button { margin-top: 1.55rem; }

.services { padding-block: clamp(3.5rem, 7.75vw, 7.5rem); }

.services-inner {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: start;
  gap: clamp(2.2rem, 7vw, 6.8rem);
}

.services-intro p, .pricing-inner > div:first-child p {
  max-width: 24rem;
  margin-top: 1.05rem;
  color: var(--muted);
}

.service-list { border-top: 1px solid var(--line); }
.service-list div {
  display: grid;
  grid-template-columns: minmax(9rem, .9fr) 1.1fr;
  gap: .4rem 1.3rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.service-list dt { font-weight: 700; letter-spacing: -.02em; }
.service-list dd { color: var(--muted); }

.pricing { padding-block: clamp(2.6rem, 5.75vw, 5rem); border-block: 1px solid var(--line); background: var(--sage); }
.pricing-inner {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6.8rem);
}
.pricing h2 { font-size: clamp(2.85rem, 5.1vw, 4.5rem); }

.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.85rem, 4vw, 3rem); }
.price-grid > div + div { padding-left: clamp(.85rem, 4vw, 3rem); border-left: 1px solid #b8c2ad; }
.price-amount { font-size: clamp(3.2rem, 6vw, 5.75rem); line-height: .95; }
.price-detail { margin-top: .45rem; color: var(--muted); font-size: .875rem; font-weight: 600; }

.contact, .site-footer { background: var(--dark); color: var(--paper); }
.contact { padding-block: clamp(3rem, 6vw, 5.6rem); }
.contact-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.15rem 2rem; }
.contact h2 em { color: var(--lime); }
.contact p { margin-top: .95rem; color: #e3e9dc; }
.contact .button { min-width: 8.5rem; }

.footer-inner { padding-block: 1.25rem; border-top: 1px solid #596c5d; color: #e3e9dc; font-size: .9375rem; }
.footer-inner strong { color: var(--paper); }
.footer-link { color: var(--lime); font-weight: 600; text-underline-offset: .25em; }

.not-found { padding-block: 4rem; }
.not-found h1 { font-size: clamp(3.65rem, 9vw, 6rem); }
.not-found p { margin-top: 1.5rem; }

@media (max-width: 1020px) {
  .hero-image { left: 30%; }
  .hero-image::after { background: linear-gradient(90deg, var(--dark), rgb(24 42 32 / 85%) 24%, transparent 76%); }
  .service-list div { grid-template-columns: 1fr; padding-block: 1.05rem; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 2.75rem); }
  .site-header { min-height: 4.2rem; }
  .hero { display: flex; flex-direction: column-reverse; align-items: stretch; min-height: 0; }
  .hero-inner { padding-block: 2.8rem 1.8rem; }
  .hero-image { position: relative; inset: auto; height: clamp(12rem, 48vw, 20rem); }
  .hero-image img { object-position: center 42%; }
  .hero-image::after { background: linear-gradient(var(--dark), rgb(24 42 32 / 22%) 42%, transparent 78%); }
  h1 { font-size: clamp(4.4rem, 12vw, 6.4rem); }
  .hero-description { margin-top: 1.25rem; }
  .hero .button { margin-top: 1.3rem; }
  .services-inner, .pricing-inner { grid-template-columns: 1fr; }
  .services-inner { gap: 1.7rem; }
  .pricing-inner { gap: 1.65rem; }
  .service-list div { grid-template-columns: minmax(8.5rem, .75fr) 1.25fr; }
  .price-grid { width: min(100%, 31rem); }
  .footer-inner { gap: .5rem 1.25rem; }
}

@media (max-width: 470px) {
  .site-nav a:not(.header-contact) { display: none; }
  .brand { gap: .45rem; }
  .brand img { width: 30px; height: auto; }
  .hero-inner { padding-top: 2.55rem; }
  h1 { font-size: clamp(3.65rem, 14vw, 4.7rem); }
  .eyebrow { max-width: 19rem; }
  .service-list div { grid-template-columns: 1fr; gap: .2rem; }
  .contact-inner { align-items: flex-start; flex-direction: column; }
}
