:root {
  color-scheme: light;
  --paper: #faf9f3;
  --ink: #1c3226;
  --muted: #405649;
  --green: #24533b;
  --pale: #e7ecdf;
  --line: #b8c6b7;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { max-width: 13ch; font-size: clamp(3rem, 6.8vw, 6.1rem); }
h2 { font-size: clamp(2.3rem, 4.7vw, 4.1rem); }
h3 { line-height: 1.23; font-size: 1.15rem; }
p { color: var(--muted); }
a { color: var(--green); text-underline-offset: .26em; }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.skip { position: absolute; z-index: 2; top: .4rem; left: .5rem; padding: .6rem; background: var(--paper); transform: translateY(-150%); }
.skip:focus { transform: none; }

.header { min-height: 76px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .2rem 1.25rem; }
.wordmark { font: 700 clamp(1.1rem, 2.1vw, 1.45rem)/1.1 Georgia, serif; text-decoration: none; color: var(--ink); }
nav { display: flex; flex-wrap: wrap; column-gap: clamp(.8rem, 3vw, 2rem); }
nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: .95rem; text-decoration: none; }
nav a:hover { text-decoration: underline; }

.hero { background: var(--pale); border-block: 1px solid var(--line); }
.hero-layout { display: grid; grid-template-columns: 1.14fr 1fr; gap: clamp(1.8rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.location { margin-bottom: 1rem; color: var(--green); font-size: .88rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.intro { max-width: 43ch; margin-top: 1.25rem; font-size: 1.1rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.2rem; margin-top: 1.5rem; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: .7rem 1.25rem; border-radius: 2rem; background: var(--green); color: #fff; font-weight: 750; text-decoration: none; }
.button:hover { background: #163d29; }
.secondary { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.brand-panel { display: grid; place-items: center; min-height: clamp(225px, 32vw, 395px); padding: clamp(1.5rem, 4vw, 3.5rem); background: var(--paper); border: 1px solid var(--line); border-radius: 48% 48% 1rem 1rem / 21% 21% 1rem 1rem; }
.brand-panel img { display: block; width: 100%; height: auto; }

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem 2rem; margin-top: 1.6rem; }
.services article { padding-top: 1rem; border-top: 2px solid var(--line); }
.services p, .split p { margin-top: .65rem; }
.about { background: #edf1e8; border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5.2rem); align-items: start; }
.split p { max-width: 54ch; }
.contact-details { display: grid; gap: .55rem; justify-items: start; min-width: 0; padding: clamp(1rem, 4vw, 2rem); background: var(--pale); border: 1px solid var(--line); border-radius: .8rem; }
.contact-details a { overflow-wrap: anywhere; }
footer { border-top: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem; padding-block: 1.25rem; font-size: .9rem; }

@media (max-width: 800px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 2rem); }
  .header { padding-block: .75rem .3rem; }
  nav { width: 100%; }
  .hero-layout, .split { grid-template-columns: 1fr; }
  .brand-panel { width: min(100%, 440px); }
}
@media (max-width: 390px) {
  .services { grid-template-columns: 1fr; }
}

.phone-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: .8rem;
  width: 100%;
  border-bottom: 1px solid var(--line);
}
.phone-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: .2rem;
  font-weight: 700;
}

.estimate-section { border-top: 1px solid var(--line); }

#projects { border-top: 1px solid var(--line); }
.project-intro { margin-block: 1rem 1.45rem; max-width: 64ch; }
.project-intro p { margin-top: .4rem; }
.project-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.project-photos figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: var(--pale); }
.project-photos img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: center 82%; }
.project-photos figcaption { padding: .55rem .75rem; font-weight: 700; line-height: 1.35; }

@media (max-width: 620px) {
  .project-photos { gap: .65rem; }
}
