@charset "UTF-8";

:root {
  color-scheme: light;
  --forest: #172720;
  --dark: #111e18;
  --ink: #182620;
  --muted: #4c5d53;
  --paper: #f5f3ea;
  --white: #fffdf5;
  --lime: #d9ed87;
  --line: #c7cbb9;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-family: "Instrument Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ol { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ad6400; outline-offset: 4px; }
.header :focus-visible, .hero :focus-visible, .footer :focus-visible { outline-color: var(--lime); }
.wrap { width: min(1240px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-160%); z-index: 2; padding: .75rem; background: var(--white); }
.skip:focus { transform: none; }

.header { background: var(--dark); color: var(--white); border-bottom: 1px solid #ffffff26; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 700; font-size: 1.05rem; line-height: 1.04; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--dark); background: var(--lime); font: 700 1.65rem/1 var(--display); letter-spacing: -.045em; }
.brand-sub { display: block; margin-top: .22rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); font-size: .9rem; font-weight: 600; }
nav a { text-decoration: none; }
nav a:hover, .text-link:hover { text-decoration: underline; }
.nav-cta { color: var(--lime); }
.nav-cta span { margin-left: .35rem; }

.hero { background: var(--forest); color: var(--white); }
.hero-grid { display: grid; grid-template-columns: 1.07fr 1fr; min-height: 550px; }
.hero-copy { align-self: center; padding: 4.5rem 2.5rem 5rem 0; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--lime); font-weight: 700; font-size: .75rem; text-transform: uppercase; letter-spacing: .13em; }
.marker { width: .48rem; height: .48rem; background: currentColor; transform: rotate(45deg); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; }
h1 { font-size: clamp(4rem, 8.1vw, 8rem); text-transform: uppercase; line-height: .88; letter-spacing: -.018em; margin: 1.4rem 0; }
.hero-description { max-width: 28rem; color: #e1e6d8; font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.2rem; min-height: 49px; padding: .7rem 1rem; border: 1px solid transparent; font-weight: 700; text-decoration: none; }
.primary { background: var(--lime); color: var(--dark); }
.primary:hover { background: #edf8bc; }
.text-link { color: var(--white); text-decoration: none; font-size: .93rem; font-weight: 600; }
.text-link span { margin-left: .25rem; }
.hero-figure { position: relative; align-self: stretch; min-width: 0; background: #374b40; }
.hero-figure img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-figure figcaption { position: absolute; bottom: 0; left: 0; background: var(--dark); color: var(--white); padding: .55rem .85rem; font-size: .75rem; }

.section { padding-block: clamp(3.3rem, 7vw, 6rem); }
h2 { font-size: clamp(2.8rem, 5.8vw, 5.3rem); line-height: .93; letter-spacing: -.012em; }
h3 { font-size: 1.9rem; line-height: 1; }
.section-heading { display: grid; grid-template-columns: 1.07fr 1fr; align-items: end; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading p, .process-grid > div > p, .estimate-grid > div > p { max-width: 29rem; color: var(--muted); line-height: 1.55; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; padding: 1.4rem 1.1rem 1.5rem; border-right: 1px solid var(--line); }
.service:first-child { padding-left: 0; }
.service:last-child { border-right: 0; }
.service p, .steps p { color: var(--muted); line-height: 1.55; }
.service a { margin-top: auto; padding-top: .55rem; font-size: .9rem; font-weight: 700; }
.service a:hover, .contact a:hover { color: #506621; }

.process { background: #e9ebdb; }
.process-grid, .estimate-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(2rem, 6vw, 6rem); }
.process-grid > div > p, .estimate-grid > div > p { margin-top: 1rem; }
.steps { padding-left: 1.65rem; }
.steps li { border-top: 1px solid var(--line); padding: 1rem 0 1rem .5rem; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::marker { color: var(--muted); font-weight: 700; }
.steps p { margin-top: .45rem; }

.estimate { background: var(--lime); }
.estimate-grid > div > p, .contact { color: #364620; }
.contact { display: grid; justify-items: start; gap: .35rem; margin-top: 1.75rem; }
.contact span { font-size: .82rem; font-weight: 700; }
.contact a { margin-bottom: .6rem; overflow-wrap: anywhere; }
.form-panel { padding: clamp(1.15rem, 3vw, 2rem); background: var(--white); border: 1px solid #aab970; }
form, .fields { display: grid; gap: 1rem; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label { display: block; font-size: .92rem; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-height: 44px; margin-top: .35rem; padding: .55rem .65rem; color: var(--ink); background: #fff; border: 1px solid #849283; border-radius: 0; }
textarea { resize: vertical; }
.optional, .form-note, #draft-status { color: var(--muted); font-size: .88rem; font-weight: 400; line-height: 1.5; }
.dark-button { justify-self: start; background: var(--forest); color: var(--white); }
.dark-button:hover { background: #304639; }
.draft { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.draft h3 { margin-bottom: .65rem; }
.draft-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: .8rem; }
.copy-button { min-height: 44px; color: var(--ink); background: transparent; border: 1px solid #849283; padding: .45rem .7rem; font-weight: 600; }
.copy-button:hover { background: #e9ebdb; }
#draft-status:not(:empty) { margin-top: .65rem; }

.footer { background: var(--dark); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding-block: 1.8rem; font-size: .9rem; line-height: 1.5; }
.credit { color: #ccd6c9; font-size: .75rem; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-grid { min-height: 470px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(3) { padding-left: 0; }
  .service:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { flex-wrap: wrap; gap: .85rem; padding-block: .9rem; }
  nav { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: .55rem; font-size: .83rem; }
  .hero-grid, .section-heading, .process-grid, .estimate-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 0 2.5rem; }
  .hero-figure { min-height: 340px; }
  h1 { font-size: clamp(3.35rem, 12vw, 5.5rem); }
  .section-heading { gap: .8rem; }
}

@media (max-width: 420px) {
  .service-grid, .fields { grid-template-columns: 1fr; }
  .service { padding-inline: 0; border-right: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .hero-figure { min-height: 270px; }
  .footer-inner { grid-template-columns: 1fr; }
}
