:root {
  --ink: #171819;
  --coal: #24201b;
  --steel: #59656f;
  --steel-light: #d6dde1;
  --concrete: #f2f0ea;
  --paper: #fffdf8;
  --safety-green: #17664c;
  --safety-green-dark: #0f4938;
  --safety-orange: #d8752a;
  --hazard: #f0c35b;
  --line: rgba(23, 24, 25, 0.14);
  --line-strong: rgba(23, 24, 25, 0.24);
  --shadow: 0 24px 64px rgba(23, 24, 25, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(23, 24, 25, 0.035) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(23, 24, 25, 0.028) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--concrete);
  color: var(--ink);
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 80;
  transform: translateY(-140%);
  padding: 10px 12px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto minmax(260px, 1fr);
  gap: 18px;
  align-items: center;
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(23, 24, 25, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 44px rgba(23, 24, 25, 0.11);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--hazard);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 800;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand-text small {
  margin-top: 3px;
  color: var(--steel);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: inline-flex;
  justify-content: center;
  gap: 2px;
}

.nav a,
.header-link,
.header-call,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav a {
  padding: 0 12px;
  color: #2c3236;
}

.nav a:hover {
  background: rgba(23, 102, 76, 0.1);
}

.header-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
}

.header-link {
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--steel);
}

.header-call {
  padding: 0 16px;
  background: var(--safety-green);
  color: var(--paper);
  white-space: nowrap;
}

.button {
  min-width: 150px;
  padding: 0 20px;
  border: 1px solid transparent;
}

.button.primary {
  background: var(--safety-orange);
  color: #fffaf2;
}

.button.secondary {
  border-color: rgba(255, 253, 248, 0.38);
  background: rgba(255, 253, 248, 0.1);
  color: var(--paper);
}

.button:hover,
.header-call:hover,
.header-link:hover,
.contact-card:hover,
.gallery-item:hover,
.facebook-link:hover {
  transform: translateY(-2px);
}

.button:active,
.header-call:active,
.header-link:active,
.contact-card:active,
.gallery-item:active,
.facebook-link:active {
  transform: translateY(0) scale(0.99);
}

.hero {
  width: min(var(--max), calc(100% - 28px));
  min-height: 540px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 0.9fr);
  gap: 42px;
  align-items: center;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(23, 24, 25, 0.97), rgba(36, 32, 27, 0.91)),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.hero-facts dt,
.proof-strip span,
.contact-card span {
  margin: 0;
  color: var(--safety-orange);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.quote-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 12px;
  max-width: 720px;
  font-size: 54px;
  line-height: 0.95;
}

.hero-lede,
.section-heading p:not(.eyebrow),
.about-copy p,
.quote-copy > p {
  margin: 18px 0 0;
  color: #dfe7e4;
  font-size: 19px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.14);
}

.hero-facts div {
  padding: 12px;
  background: rgba(255, 253, 248, 0.055);
}

.hero-facts dd {
  margin: 8px 0 0;
  color: var(--paper);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 850;
}

.hero-media {
  position: relative;
  min-height: 480px;
}

.hero-photo-main,
.hero-photo-side {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--coal);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.hero-photo-main {
  right: 0;
  top: 0;
  width: 72%;
  height: 450px;
}

.hero-photo-side {
  left: 0;
  top: 82px;
  width: 56%;
  height: 210px;
  border: 8px solid var(--ink);
}

.hero-photo-main img,
.hero-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-main figcaption,
.hero-photo-side figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 9px 10px;
  border-radius: 6px;
  background: rgba(23, 24, 25, 0.76);
  color: var(--paper);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
}

.customer-note {
  position: absolute;
  left: 8%;
  right: 9%;
  bottom: 8px;
  padding: 16px;
  border-left: 5px solid var(--hazard);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.94);
  color: var(--ink);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.customer-note span,
.customer-note strong {
  display: block;
}

.customer-note span {
  color: var(--safety-green);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.customer-note strong {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.15;
}

.proof-strip {
  width: min(var(--max), calc(100% - 28px));
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(23, 24, 25, 0.06);
}

.proof-strip div {
  min-height: 120px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.proof-strip div:last-child {
  border-right: 0;
}

.proof-strip strong {
  display: block;
  margin-top: 9px;
  font-size: 24px;
  line-height: 1.12;
}

.section {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto;
  padding: 96px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.58fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.about-copy h2,
.quote-copy h2 {
  font-size: 56px;
  line-height: 1;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.quote-copy > p {
  color: #4f585e;
}

.section-heading.compact {
  display: block;
  max-width: 830px;
}

.section-heading.compact h2 {
  margin-top: 10px;
}

.section-heading.compact p:not(.eyebrow) {
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-grid article,
.process-list li {
  min-height: 292px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(23, 24, 25, 0.08);
}

.service-grid article:nth-child(2),
.service-grid article:nth-child(4) {
  background: #e9efec;
}

.service-grid span {
  color: var(--safety-orange);
  font-weight: 950;
}

.service-grid h3 {
  margin: 72px 0 0;
  font-size: 25px;
  line-height: 1.05;
}

.service-grid p {
  margin: 15px 0 0;
  color: #566066;
  font-size: 15px;
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 118px;
  gap: 12px;
}

.gallery-item {
  position: relative;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(23, 24, 25, 0.16);
  transition: transform 180ms ease;
}

.gallery-item.large {
  grid-column: span 4;
  grid-row: span 5;
}

.gallery-item.wide {
  grid-column: span 5;
  grid-row: span 3;
}

.gallery-item:not(.large):not(.wide) {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.045);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 10px 11px;
  border-radius: 6px;
  background: rgba(23, 24, 25, 0.78);
  color: var(--paper);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: left;
}

.brand-tile img {
  object-fit: contain;
  padding: 18px;
  background: #120806;
}

.process {
  padding-top: 86px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  min-height: 230px;
  position: relative;
  counter-increment: step;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--safety-green);
  color: var(--paper);
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-top: 38px;
  font-size: 21px;
  line-height: 1.1;
}

.process-list span {
  margin-top: 13px;
  color: #566066;
  font-size: 15px;
  line-height: 1.55;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: 58px;
  align-items: center;
}

.about-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-copy ul {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.about-copy li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  color: #293035;
  font-weight: 800;
}

.quote-section {
  width: min(var(--max), calc(100% - 28px));
  margin: 96px auto 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.82fr);
  gap: 40px;
  align-items: start;
  padding: 44px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(23, 24, 25, 0.97), rgba(15, 73, 56, 0.94)),
    var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.quote-copy > p {
  color: #dce8e4;
}

.contact-options {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-card,
.facebook-link {
  display: block;
  padding: 17px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  text-decoration: none;
  background: rgba(255, 253, 248, 0.07);
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-card.primary-card {
  background: var(--safety-orange);
  border-color: transparent;
}

.contact-card strong {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.25;
}

.facebook-link {
  color: var(--hazard);
  font-weight: 900;
  text-align: center;
}

.contact-card:hover,
.facebook-link:hover {
  background: rgba(255, 253, 248, 0.12);
}

.contact-card.primary-card:hover {
  background: #e18235;
}

.quote-form {
  padding: 22px;
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  position: relative;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quote-form label {
  display: grid;
  gap: 7px;
}

.quote-form label.full {
  grid-column: 1 / -1;
}

.quote-form .hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.quote-form label span {
  color: #dce8e4;
  font-size: 13px;
  font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 253, 248, 0.22);
  border-radius: 6px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  padding: 11px 12px;
}

.quote-form textarea {
  resize: vertical;
  min-height: 128px;
}

.submit-button {
  width: 100%;
  margin-top: 16px;
  border: 0;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  margin: 12px 0 0;
  color: #dce8e4;
  font-size: 13px;
  line-height: 1.45;
}

.form-status:empty {
  display: none;
}

.form-status.active {
  color: #dce8e4;
}

.form-status.success {
  color: #cdeede;
}

.form-status.error {
  color: #ffd7d1;
}

.site-footer {
  width: min(var(--max), calc(100% - 28px));
  margin: 0 auto 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 0;
  color: #515b61;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 850;
  text-decoration: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(11, 12, 12, 0.9);
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  max-width: min(980px, 100%);
  margin: 0;
}

.lightbox img {
  max-height: 78svh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.lightbox figcaption {
  margin-top: 14px;
  color: var(--paper);
  text-align: center;
}

.lightbox figcaption strong,
.lightbox figcaption span {
  display: block;
}

.lightbox figcaption strong {
  font-size: 18px;
  line-height: 1.2;
}

.lightbox figcaption span {
  max-width: 640px;
  margin: 7px auto 0;
  color: #d7e2df;
  font-size: 14px;
  line-height: 1.45;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-actions {
    grid-column: 2;
  }

  .hero,
  .quote-section,
  .about,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 520px;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 148px;
  }

  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item:not(.large):not(.wide) {
    grid-column: span 3;
    grid-row: span 2;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .proof-strip,
  .section,
  .quote-section,
  .site-footer {
    width: calc(100% - 20px);
  }

  .hero,
  .quote-section {
    padding: 26px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .section-heading h2,
  .about-copy h2,
  .quote-copy h2 {
    font-size: 40px;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .about-copy p,
  .quote-copy > p {
    font-size: 16px;
  }

  .proof-strip,
  .hero-facts,
  .service-grid,
  .process-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .service-grid article,
  .process-list li {
    min-height: auto;
  }

  .service-grid h3 {
    margin-top: 42px;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 255px;
  }

  .gallery-item.large,
  .gallery-item.wide,
  .gallery-item:not(.large):not(.wide) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .about-media img {
    height: 290px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    margin-top: 10px;
  }

  .brand {
    justify-content: flex-start;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1;
    justify-content: end;
    display: block;
  }

  .header-link {
    display: none;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0;
  }

  .nav a {
    padding: 0 8px;
  }

  .header-link,
  .header-call,
  .button {
    width: 100%;
  }

  .header-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    margin-top: 10px;
    padding: 20px;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 1;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .button {
    min-height: 40px;
  }

  .hero-media {
    min-height: 160px;
    margin-top: 18px;
  }

  .hero-photo-main {
    position: relative;
    width: 100%;
    height: 160px;
  }

  .hero-photo-side {
    display: none;
  }

  .customer-note {
    display: none;
  }

  .hero-facts {
    display: none;
  }

  .section {
    padding-top: 74px;
  }

  .section-heading h2,
  .about-copy h2,
  .quote-copy h2 {
    font-size: 34px;
  }

  .quote-section {
    margin-top: 74px;
  }

  .site-footer {
    display: block;
  }

  .site-footer a {
    display: inline-block;
    margin-top: 8px;
  }
}
