@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --green: #104c3b;
  --spruce: #102a24;
  --silver: #cbd3cf;
  --zinc: #edf0ed;
  --enamel: #f8faf8;
  --muted: #465a50;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(60px, 8vw, 108px);
  --radius: 8px;
  --display: "Archivo Narrow", "Arial Narrow", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-bottom: 88px; }
body {
  margin: 0;
  color: var(--spruce);
  background: var(--enamel);
  font: 17px/1.55 "Instrument Sans", Arial, sans-serif;
  -webkit-tap-highlight-color: #cbd3cf80;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1; }
h1 { font-size: clamp(44px, 5.75vw, 78px); letter-spacing: -.035em; text-wrap: balance; }
h1 span { display: block; }
h2 { font-size: clamp(44px, 5.4vw, 72px); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: clamp(26px, 2.7vw, 34px); letter-spacing: -.02em; }
p { max-width: 63ch; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid #437e6b; outline-offset: 4px; }
.hero :focus-visible, .projects :focus-visible, footer :focus-visible { outline-color: var(--enamel); }
[id] { scroll-margin-top: 20px; }
.wrap { max-width: 1296px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.skip { position: absolute; left: 24px; top: -100px; z-index: 5; background: var(--enamel); }
.skip:focus { top: 12px; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; flex: none; }
.brand span { font: 700 32px/.95 var(--display); letter-spacing: -.025em; }
.brand img { flex: none; }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
nav a:hover, .contact-details a:hover, footer a:hover { text-decoration-thickness: 2px; text-decoration-line: underline; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 5px;
  font: 700 16px/1.15 "Instrument Sans", Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.header-call, .light-outline { color: var(--green); border-color: #81988e; }
.header-call:hover, .light-outline:hover { background: var(--zinc); }
.solid { background: var(--green); color: var(--enamel); }
.solid:hover { background: var(--spruce); }

.hero { display: grid; grid-template-columns: 1fr; color: var(--enamel); background: var(--spruce); border-radius: var(--radius); overflow: clip; box-shadow: 0 18px 40px -30px #102a247a; }
.hero-copy { position: relative; padding: 28px 20px 32px; }
.location { color: #e1ebe5; font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.hero h1 + p { color: #e1ebe5; margin-top: 16px; max-width: 35ch; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.primary { background: var(--enamel); color: var(--spruce); }
.primary:hover { background: var(--silver); }
.outline { border-color: #9fb4aa; color: var(--enamel); }
.outline:hover { background: #24463b; }
.hero-media { position: relative; min-width: 0; isolation: isolate; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; object-position: 55% 51%; }
.hero-media figcaption { position: absolute; bottom: 12px; right: 12px; background: var(--spruce); border-radius: 4px; color: var(--enamel); padding: 5px 10px; font-size: 15px; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--silver); font-size: 15px; font-weight: 650; }
.proof span { display: flex; align-items: center; gap: 8px; }
.proof span::before { content: ""; width: 4px; height: 14px; background: var(--green); border-radius: 1px; }

.service-layout, .contact { display: grid; gap: 32px; }
.service-layout h2 + p, .contact h2 + p, .section-heading p { color: var(--muted); margin-top: 16px; }
.service-list article { display: grid; gap: 10px 24px; padding-block: 20px; border-top: 1px solid var(--silver); }
.service-list article:last-child { border-bottom: 1px solid var(--silver); }
.service-list p { color: var(--muted); }

.projects { background: var(--spruce); color: var(--enamel); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 28px; }
.section-heading p { color: #e1ebe5; }
.projects .light-outline { color: var(--enamel); border-color: #9fb4aa; }
.projects .light-outline:hover { background: #24463b; }
.project-grid { display: grid; gap: 16px; }
.project-grid figure { display: grid; grid-template-rows: minmax(0,1fr) auto; overflow: hidden; border-radius: var(--radius); background: #1b3b31; }
.project-grid img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lead-project img { object-position: center 30%; }
.operator img { object-position: center 30%; }
.perimeter img { object-position: center 48%; }
.project-grid figcaption { padding: 12px 16px; font-size: 16px; font-weight: 650; }

.contact-details { display: grid; justify-items: start; gap: 4px; margin-top: 20px; color: var(--muted); }
.contact-details a, footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.contact-details p { margin-top: 8px; }
form { border: 1px solid var(--silver); background: var(--zinc); border-radius: var(--radius); padding: clamp(20px, 4vw, 40px); }
form > p { color: var(--muted); margin: 8px 0 20px; }
form label { display: grid; gap: 6px; font-size: 16px; font-weight: 650; margin-bottom: 16px; min-width: 0; }
.form-row { display: grid; gap: 0 16px; }
form input, form select, form textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #82948a;
  border-radius: 4px;
  background: var(--enamel);
  color: var(--spruce);
  font: 400 16px/1.4 "Instrument Sans", Arial, sans-serif;
}
form textarea { resize: vertical; }
footer { background: var(--spruce); color: var(--enamel); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: 28px; }
.footer-inner > div { display: grid; }
.phone-bar { position: fixed; inset: auto 0 0; z-index: 2; padding: 8px var(--gutter) max(8px, env(safe-area-inset-bottom)); background: var(--enamel); border-top: 1px solid var(--silver); }
.phone-bar .button { width: 100%; }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

@media (max-width: 599px) {
  .header { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; padding-block: 8px 4px; }
  .header .brand { min-width: 0; gap: 8px; }
  .header .brand img { width: 44px; height: 44px; }
  .header .brand span { font-size: 26px; }
  .header-call { grid-column: 2; grid-row: 1; padding-inline: 8px; font-size: 15px; }
  .header-call svg { display: none; }
  nav { grid-column: 1/-1; justify-content: space-between; }
  .hero .button { padding-inline: 10px; }
}
@media (min-width: 600px) {
  html { scroll-padding-bottom: 0; }
  body { padding-bottom: 0; }
  .phone-bar { display: none; }
  .hero-media img { aspect-ratio: 2/1; }
  .hero-copy { padding: 44px 36px; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .project-grid { grid-template-columns: 1.55fr 1fr; grid-template-rows: repeat(2, minmax(160px, 215px)); }
  .lead-project { grid-row: 1 / 3; }
  .project-grid img { aspect-ratio: auto; }
}
@media (min-width: 800px) {
  .hero { grid-template-columns: 1fr 1.08fr; min-height: clamp(400px, 40vw, 510px); }
  .hero-copy { container-type: inline-size; align-self: center; padding: clamp(32px, 5vw, 68px) clamp(24px, 4vw, 60px); }
  .hero h1 { font-size: clamp(36px, 13.8cqi, 70px); }
  .hero-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero-media::after {
    position: absolute; inset: 0 auto 0 0; width: 30px;
    content: "";
    background: repeating-linear-gradient(90deg, var(--spruce) 0 3px, transparent 3px 10px);
    pointer-events: none;
  }
  .proof { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 18px; }
  .service-layout { grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); }
  .service-list article { grid-template-columns: 1fr 1.25fr; }
  .project-grid { grid-template-rows: repeat(2, minmax(220px, 280px)); }
  .contact { grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 96px); }
}
