:root {
  --navy: #082c42;
  --green: #007b55;
  --accent: #0c9d6d;
  --line: #dce5e2;
  --paper: #fcfbf8;
  font: 16px/1.5 system-ui, sans-serif;
  color: var(--navy);
  background: var(--paper);
  scroll-padding-top: 1rem;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #087ab2;
  outline-offset: 4px;
}
header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: .8rem 4vw;
}
header { background: white; }
.brand img { display: block; width: auto; height: 5.2rem; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.8rem); }
nav a { font-weight: 650; text-decoration: none; }
nav a:hover, summary:hover { color: var(--green); }
.button, .float {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: .85rem 1.25rem;
  font: inherit;
  font-weight: 750;
  border: 0;
  border-radius: .65rem;
  cursor: pointer;
  text-decoration: none;
}
.button:hover, .float:hover { background: #005e40; }
.hero { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); }
.intro { padding: clamp(2.5rem, 6vw, 6rem) 2vw clamp(2.5rem, 6vw, 6rem) 4vw; }
.location { font-weight: 750; display: flex; align-items: center; gap: .75rem; }
.location::before, h2::after { content: ''; width: 2rem; height: 4px; background: var(--accent); border-radius: 2px; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 4.7vw, 5rem); margin: .35em 0; }
h2 { font-size: clamp(2rem, 3.35vw, 3.2rem); margin: 0 0 1.35rem; }
h2::after { display: block; margin-top: .75rem; }
.lead { font-size: clamp(1.13rem, 1.8vw, 1.65rem); line-height: 1.32; max-width: 32ch; }
.actions { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; margin-top: 2rem; }
.secondary { font-weight: 750; text-decoration-color: var(--accent); text-underline-offset: .35em; }
.hero-image { display: block; width: 100%; height: 100%; min-height: 28rem; object-fit: cover; }
.section { padding: 2.8rem 4vw; }
.cards, .projects { display: grid; gap: 1rem; align-items: start; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.projects, .quote { grid-template-columns: repeat(2, minmax(0, 1fr)); }
details, article {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: .8rem;
  background: white;
}
summary { cursor: pointer; font-weight: 750; font-size: 1.14rem; }
summary::marker { color: var(--green); }
details a { color: var(--green); font-weight: 700; }
article h3 { margin-top: 0; }
article p { margin-bottom: 0; }
.work { background: #edf5f1; }
.quote { display: grid; gap: 2rem; }
form { display: grid; gap: .55rem; width: min(100%, 38rem); }
label { font-weight: 650; }
input, select, textarea { font: inherit; color: inherit; border: 1px solid #80968e; background: white; border-radius: .4rem; padding: .65rem; width: 100%; }
form button { justify-self: start; margin-top: .4rem; }
footer { background: var(--navy); color: white; padding-bottom: 5rem; justify-content: flex-start; gap: .8rem 2rem; }
.float { position: fixed; right: 1rem; bottom: 1rem; border-radius: 2rem; box-shadow: 0 3px 14px #0003; }
@media (max-width: 850px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: 1fr; }
  .intro { padding-inline: 5vw; }
  .hero-image { height: clamp(15rem, 55vw, 30rem); min-height: 0; }
}
@media (max-width: 520px) {
  nav { order: 1; width: 100%; justify-content: center; }
  .brand img { height: 4rem; }
  header > .button { padding: .6rem .75rem; }
  .projects, .quote { grid-template-columns: 1fr; }
}

.page-intro { padding: clamp(2.6rem, 6vw, 6rem) 4vw; background: #edf5f1; }
.page-intro .lead { max-width: 46ch; }
.cards { align-items: stretch; }
.service-card {
  display: block;
  padding: 1.3rem;
  background: white;
  border: 1px solid var(--line);
  border-radius: .8rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.service-card:hover { border-color: var(--green); }
.service-card h3 { margin: 0 0 .65rem; font-size: 1.25rem; }
.service-card span { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.features h2 { font-size: 1.45rem; margin-bottom: .85rem; }
.features h2::after { display: none; }
.contact-options article { overflow-wrap: anywhere; }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }

.service-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2rem, 4vw, 4rem);
}
.service-intro h1 { font-size: clamp(2.5rem, 4.1vw, 4.65rem); }
.service-intro figure { position: relative; margin: 0; }
.service-intro img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; border-radius: 1rem; }
.service-intro figcaption { position: absolute; bottom: .7rem; right: .7rem; background: #082c42; color: #fff; padding: .2rem .55rem; border-radius: .35rem; font-size: .8rem; }
.service-card img { width: 100%; aspect-ratio: 1.65; object-fit: cover; display: block; border-radius: .45rem; margin-bottom: 1rem; }
.site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 1.6rem 2rem;
  align-items: start;
  padding: 2rem 4vw 5rem;
  border-top: 3px solid var(--accent);
}
.footer-brand { display: flex; align-items: center; gap: .85rem; }
.footer-brand img { display: block; border-radius: 24%; }
.footer-brand p { margin: .25rem 0 0; color: #dce5e2; }
.site-footer h2 { font-size: 1rem; letter-spacing: 0; margin: 0 0 .65rem; }
.site-footer h2::after { display: none; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer li a { display: inline-flex; gap: .55rem; align-items: center; overflow-wrap: anywhere; text-underline-offset: .25em; }
.site-footer svg { flex: 0 0 auto; color: #60e7b5; }
@media (max-width: 760px) { .service-intro { grid-template-columns: 1fr; } }

.contact-options .features {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  align-items: stretch;
}
.contact-options h2 {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.contact-options svg {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  color: var(--green);
}
.contact-options a { text-underline-offset: .22em; }
.quote-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.quote-actions .button-email {
  color: var(--green);
  background: white;
  box-shadow: inset 0 0 0 1px var(--green);
}
.quote-actions .button-email:hover { background: #edf5f1; }
