:root {
  color-scheme: light;
  --ink: #211e1a;
  --muted: #55574e;
  --green: #244737;
  --dark: #20392e;
  --sage: #dce4d9;
  --linen: #f1ebe2;
  --paper: #faf7f1;
  --surface: #fffdf9;
  --line: #ded5c8;
  --control: #81877a;
  --title-font: Georgia, "Times New Roman", serif;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #476951; outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 1.5rem; }
.wrap { width: min(100% - 5rem, 78rem); margin-inline: auto; }

.skip {
  position: fixed;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  padding: .6rem 1rem;
  border-radius: .5rem;
  background: white;
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-inner { min-height: 6.5rem; justify-content: space-between; }
.brand {
  display: block;
  position: relative;
  flex: 0 0 auto;
  width: 13.5rem;
  aspect-ratio: 1270 / 464;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.brand img {
  position: absolute;
  /* Frame the lettering and signature inside the original artwork. */
  left: -11.26%;
  top: -62.93%;
  width: 120.94%;
  max-width: none;
  height: auto;
  filter: grayscale(1) brightness(1.08);
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.6rem); font-size: .95rem; font-weight: 600; }
nav a:hover, .footer-inner > a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 3rem;
  padding: .66rem 1.22rem .73rem;
  border: 1px solid transparent;
  border-radius: .44rem;
  font-weight: 650;
  font-size: .95rem;
  line-height: 1.3;
  text-align: center;
  transition: background-color .18s, border-color .18s;
}
.button-primary { color: #fff; background: var(--green); }
.button-primary:hover { background: #192f25; }
.button:disabled { cursor: default; opacity: .65; }
.button-outline, .button-plain { color: var(--green); border-color: var(--control); background: transparent; }
.button-outline:hover, .button-plain:hover { background: var(--sage); border-color: var(--green); }

.hero { background: var(--linen); padding-block: clamp(2rem, 4.4vw, 4.1rem); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: clamp(1.75rem, 4vw, 3.9rem); align-items: center; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .56rem;
  margin: 0 0 1rem;
  color: var(--green);
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .09em;
  line-height: 1.48;
  text-transform: uppercase;
}
.eyebrow span { width: 1.1rem; height: 1px; flex: 0 0 1.1rem; background: currentColor; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--title-font); font-weight: 400; letter-spacing: -.05em; }
h1 { font-size: clamp(2.53rem, 5.05vw, 4.95rem); line-height: 1.01; }
h1 em { color: var(--green); font-style: normal; }
.hero-description { max-width: 31rem; font-size: clamp(1.06rem, 1.45vw, 1.23rem); color: var(--muted); margin-top: 1.55rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .68rem; margin-top: 1.8rem; }
.hero-actions .button { min-height: 3.35rem; }
.hero-photo { overflow: hidden; border-radius: .75rem; background: var(--sage); box-shadow: 0 12px 32px #382f2614; }
.hero-photo img { width: 100%; aspect-ratio: 1.36; height: auto; object-fit: cover; object-position: 62% 50%; }

h2 { font-size: clamp(2.23rem, 4vw, 3.7rem); line-height: 1.05; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); line-height: 1.17; letter-spacing: -.039em; }
.services, .request-section, .faq { padding-block: clamp(3rem, 6vw, 6rem); }
.section-heading { display: flex; gap: 1.4rem 3rem; justify-content: space-between; align-items: end; margin-bottom: 1.8rem; }
.section-heading > p { max-width: 21rem; color: var(--muted); padding-bottom: .14rem; }
.catalog-jump { display: inline-block; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: .2em; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .7rem; background: var(--surface); }
.service img { width: 100%; height: auto; aspect-ratio: 1.88; object-fit: cover; object-position: center; background: var(--linen); }
.service-content { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(1rem, 2vw, 1.6rem); }
.service-content p { margin-top: .6rem; color: var(--muted); }
.service-content .service-rate { color: var(--green); font-size: 1.13rem; font-weight: 700; margin-top: 1rem; }
.service-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-top: .5rem; margin-top: auto; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-color: var(--control); text-underline-offset: .26em; }
.service-link:hover { text-decoration-color: var(--green); }

.catalog { margin-top: clamp(2rem, 5vw, 4rem); scroll-margin-top: 1.5rem; }
.catalog-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 16rem); align-items: end; gap: 1rem 2rem; margin-bottom: 1.2rem; }
.catalog-heading h3 { font-family: var(--title-font); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.65rem); }
.catalog-heading p { color: var(--muted); max-width: 44rem; margin-top: .5rem; }
.catalog-heading input { margin-top: .3rem; }
#catalog-status:not(:empty) { margin-bottom: .8rem; }
.catalog-group { border: 1px solid var(--line); border-radius: .65rem; background: var(--surface); margin-top: .6rem; }
.catalog-group summary { padding: .93rem clamp(.75rem, 2vw, 1.4rem); font-size: 1.05rem; }
.catalog-group[open] summary { color: var(--green); }
.catalog-group .catalog-description { margin-inline: clamp(.75rem, 2vw, 1.4rem); padding: 0 0 .9rem; }
.tariff-table { width: 100%; border-collapse: collapse; }
.tariff-table th, .tariff-table td { padding: .63rem clamp(.75rem, 2vw, 1.4rem); text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.tariff-table thead { color: var(--muted); background: var(--linen); font-size: .9rem; }
.tariff-table tbody th { font-weight: 600; }
.tariff-table thead th:last-child, .tariff-table td { width: 15rem; }
.tariff-table td { color: var(--green); font-weight: 650; }
.tariff-number { white-space: nowrap; }
.tariff-unit { color: var(--muted); font-weight: 400; }
.tariff-table a { display: block; color: var(--green); text-decoration: underline; text-decoration-color: var(--control); text-underline-offset: .2em; }
.tariff-table a:hover { text-decoration-color: var(--green); }
.tariff-table .tariff-description { max-width: 42rem; margin-top: .32rem; padding: 0; color: var(--muted); font-size: 1rem; font-weight: 400; line-height: 1.48; }

.process { background: var(--sage); padding-block: clamp(3rem, 6vw, 5rem); }
.process-inner, .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.8rem, 5vw, 4.5rem); }
.process-list { list-style: none; counter-reset: steps; margin: 0; padding: 0; }
.process-list li { display: grid; grid-template-columns: 2.55rem 1fr; gap: 1rem; padding-block: 1.12rem; border-bottom: 1px solid #b8c5b8; }
.process-list li:first-child { padding-top: 0; }
.process-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.process-list li::before { counter-increment: steps; content: counter(steps); display: grid; place-items: center; align-self: start; height: 2.55rem; border: 1px solid var(--control); border-radius: 50%; color: var(--green); background: var(--paper); font-weight: 750; font-variant-numeric: tabular-nums; }
.process-list h3 { font-size: 1.27rem; }
.process-list p { margin-top: .35rem; color: var(--muted); }

.calculator-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: start; gap: 1rem; }
.request-content, .estimate-panel { padding: clamp(1.22rem, 2.75vw, 2.4rem); border-radius: .8rem; }
.request-content { border: 1px solid var(--line); background: var(--surface); }
.service-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .65rem; margin-top: 1rem; }
.service-picker .button { min-height: 2.85rem; }
.catalog-pick { font-size: .9rem; margin-top: .65rem; }
.compact-estimate { display: none; }
.service-lines { display: grid; gap: .65rem; list-style: none; margin: 1.05rem 0 0; padding: 0; }
.service-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .58rem 1rem; padding: .9rem 1rem; border-radius: .5rem; border: 1px solid var(--line); background: var(--paper); scroll-margin: 1rem; }
.line-description h4 { font-size: 1.04rem; line-height: 1.3; margin: 0; }
.line-rate { color: var(--muted); font-size: .88rem; margin-top: .22rem; }
.line-quantity { max-width: 16rem; }
.line-quantity input { background: var(--surface); }
.line-subtotal { align-self: end; max-width: 14rem; padding-bottom: .54rem; color: var(--green); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.service-line-quote .line-subtotal { grid-column: 1 / -1; padding-bottom: 0; text-align: left; }
.remove-service { padding: .33rem .2rem; border: 0; background: transparent; color: var(--muted); font-size: .87rem; text-decoration: underline; text-underline-offset: .2em; }
.remove-service:hover { color: var(--green); }
.estimate-panel { position: sticky; top: 1rem; background: var(--dark); color: var(--paper); }
#estimate-title { scroll-margin-top: 1.25rem; }
.estimate-placeholder { margin-top: 1rem; color: var(--sage); }
.estimate-totals { display: grid; gap: .75rem; margin: .9rem 0 0; }
.estimate-totals div + div:not([hidden]) { padding-top: .65rem; border-top: 1px solid #faf7f145; }
.estimate-totals dt { color: var(--sage); font-size: .93rem; }
.estimate-totals dd { margin: .13rem 0 0; font-family: var(--title-font); font-size: clamp(1.65rem, 3.1vw, 2.65rem); line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.estimate-totals small { font-family: "Segoe UI", Arial, sans-serif; font-size: .85rem; letter-spacing: normal; color: var(--sage); white-space: nowrap; }
.estimate-message, .estimate-note { margin-top: .9rem; color: var(--sage); font-size: .9rem; }
.estimate-note { padding-top: .8rem; border-top: 1px solid #faf7f145; }
.demo-note { margin: .65rem 0 1.15rem; color: var(--muted); font-size: .92rem; }
#request-form, .request-details { display: grid; gap: 1rem; }
.request-details, .draft { max-width: 46rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.object-field { max-width: 24rem; }
label { display: block; color: var(--ink); font-size: .92rem; font-weight: 650; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid var(--control); padding: .64rem .78rem; border-radius: .4rem; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--paper); }
input, select { min-height: 2.85rem; }
form input, form select, form textarea, .draft textarea { display: block; margin-top: .3rem; }
select { appearance: none; padding-right: 1.9rem; background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%); background-size: .35rem .35rem, .35rem .35rem; background-position: calc(100% - 1.14rem) 54%, calc(100% - .79rem) 54%; background-repeat: no-repeat; text-overflow: ellipsis; }
textarea { resize: vertical; }
::placeholder { color: var(--muted); opacity: 1; }
.form-submit { justify-self: start; }
.draft { display: grid; gap: .55rem; margin-top: 1.15rem; }
.draft .button { justify-self: start; }
.form-status { margin-top: .6rem; color: var(--green); font-size: .92rem; }
.form-status:empty { margin: 0; }

.faq { padding-top: 0; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: .6rem; list-style: none; cursor: pointer; padding: .96rem 0; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: 0 0 1.9rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; color: var(--green); background: var(--sage); display: grid; place-items: center; font-size: 1.2rem; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { max-width: 40rem; color: var(--muted); padding: 0 2rem 1rem 0; }
.site-footer { border-top: 1px solid var(--line); background: var(--linen); }
.footer-inner { flex-wrap: wrap; min-height: 5.2rem; padding-block: 1rem; font-size: .95rem; font-weight: 600; }
.footer-inner .brand { width: 12rem; margin-right: auto; }

@media (max-width: 65rem) {
  .wrap { width: min(100% - 3rem, 78rem); }
  .hero-grid { gap: 1.65rem; }
  .header-inner { gap: 1rem; }
}
@media (max-width: 49rem) {
  .header-inner { flex-wrap: wrap; padding-block: .85rem .45rem; gap: .4rem 1rem; }
  .header-inner nav { width: 100%; order: 3; gap: 1.65rem; }
  nav a { display: inline-flex; align-items: center; min-height: 2.6rem; }
  .header-cta { min-height: 2.6rem; padding-inline: .78rem; }
  .hero-grid, .calculator-grid, .process-inner, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-photo img { aspect-ratio: 1.55; }
  .hero-copy { padding-bottom: .3rem; }
  .section-heading { align-items: start; flex-direction: column; gap: .65rem; }
  .section-heading > p { max-width: none; }
  .catalog-heading { grid-template-columns: minmax(0, 1fr); }
  .catalog-heading label { max-width: 22rem; }
  .tariff-table thead th:last-child, .tariff-table td { width: 40%; }
  .services-grid { gap: .75rem; }
  .service-content { padding: .85rem; }
  .service-content h3 { font-size: clamp(1rem, 2.4vw, 1.3rem); overflow-wrap: anywhere; }
  .estimate-panel { position: static; }
  .compact-estimate { display: block; position: sticky; top: .5rem; z-index: 1; margin-top: .8rem; padding: .58rem .75rem; border-radius: .4rem; background: var(--dark); color: var(--paper); font-size: .92rem; font-weight: 650; text-decoration: underline; text-underline-offset: .18em; }
}
@media (max-width: 37rem) {
  .wrap { width: calc(100% - 2rem); }
  .brand { width: 11.75rem; }
  .header-cta { display: none; }
  .hero-grid { gap: 1.25rem; }
  .hero-description { margin-top: 1.12rem; }
  .hero-actions { margin-top: 1.2rem; }
  .hero-actions .button { flex: 1 0 auto; padding-inline: .85rem; min-height: 3rem; }
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-content { padding: 1.15rem; }
  .service-content h3 { font-size: 1.43rem; overflow-wrap: normal; }
  .service-picker { grid-template-columns: minmax(0, 1fr); }
  .contact-fields { grid-template-columns: minmax(0, 1fr); }
  .service-picker .button { justify-self: start; }
  .service-line { padding: .68rem .76rem; gap: .5rem .62rem; }
  .line-quantity { grid-column: 1 / -1; }
  .line-subtotal { grid-column: 1 / -1; max-width: none; padding-bottom: 0; text-align: left; }
  .catalog-group summary { font-size: 1rem; }
  .tariff-table td, .tariff-table tbody th { font-size: .9rem; }
  .tariff-unit { display: block; }
}
@media (max-width: 23rem) {
  .header-inner { gap: .4rem .55rem; }
  .hero-actions .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .button { transition: none; }
}
