:root {
  color-scheme: dark;
  --black: #111313;
  --surface: #181a1a;
  --line: #353a37;
  --white: #f5f5ee;
  --muted: #bec2bd;
  --accent: #d3ef8f;
  --display: "Arial Narrow", "Liberation Sans Narrow", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font: 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: .96; letter-spacing: -.05em; }
h1 { font-size: clamp(4.5rem, 8.7vw, 9.5rem); font-weight: 900; }
h2 { font-size: clamp(3.7rem, 7.5vw, 7.15rem); font-weight: 900; }
h3 { font-size: clamp(2.05rem, 3.2vw, 3.3rem); }
section { scroll-margin-top: 85px; }
.shell { width: min(100% - 112px, 1440px); margin-inline: auto; }
.skip { position: fixed; top: 10px; left: 10px; padding: 10px; transform: translateY(-180%); background: var(--accent); color: var(--black); z-index: 20; }
.skip:focus { transform: none; }

.header { position: sticky; z-index: 5; top: 0; background: #111313; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: 15px; align-items: center; line-height: 1.15; font-weight: 650; font-size: .73rem; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.brand img { width: 90px; height: auto; }
.brand span { padding-left: 15px; border-left: 1px solid var(--line); }
nav { display: flex; gap: clamp(20px, 3.3vw, 52px); align-items: center; }
nav a, footer a { font-size: .94rem; font-weight: 600; text-decoration: none; }
nav a:hover, footer a:hover { color: var(--accent); }
.nav-cta { padding: 10px 16px; border: 1px solid #70786a; }
.menu { display: none; }
.eyebrow { font-size: .86rem; font-weight: 750; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 21px; height: 2px; background: currentColor; flex: 0 0 21px; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: min(700px, calc(100svh - 76px)); }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 39%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; filter: saturate(.72) brightness(.77); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #111313, #111313a3 16%, transparent 48%), linear-gradient(0deg,#111313d9,transparent 28%); }
.hero-inner { position: relative; padding-block: clamp(100px, 13vh, 156px) 118px; min-height: inherit; display: flex; align-items: center; }
.hero-text { max-width: 790px; }
.hero .eyebrow { margin-bottom: 26px; }
.hero-text > p:not(.eyebrow) { margin-top: 27px; max-width: 435px; color: #e4e6de; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; border: 1px solid transparent; padding: 10px 20px; font: 720 .95rem/1.3 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.primary { background: var(--accent); color: #171d10; }
.primary:hover { background: #ecffc1; }
.secondary { background: #11131372; border-color: #9a9f91; color: var(--white); }
.secondary:hover { border-color: var(--white); background: #272d26; }
.hero-caption { position: absolute; right: 0; bottom: 25px; padding-left: 13px; border-left: 2px solid var(--accent); font-size: .83rem; color: #e4e6de; }

.section { padding-block: clamp(70px, 8vw, 120px); border-top: 1px solid var(--line); }
.section .eyebrow { margin-bottom: 22px; }
.section-intro { display: grid; grid-template-columns: 1.45fr 1fr; gap: 30px; align-items: end; margin-bottom: 43px; }
.section-intro h2 { font-size: clamp(2.45rem, 5vw, 5.2rem); text-wrap: balance; }
.section-intro > p, .about p:not(.eyebrow), .contact p:not(.eyebrow) { max-width: 430px; font-size: 1.13rem; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-grid article { background: var(--surface); border: 1px solid var(--line); }
.service-grid img { width: 100%; aspect-ratio: 1.75; height: auto; object-fit: cover; filter: saturate(.76); }
.service-grid article:first-child img { object-position: 50% 62%; }
.service-grid article:nth-child(2) img { object-position: 50% 52%; }
.service-copy, .project-copy { padding: clamp(20px, 2.5vw, 34px); }
.service-copy p, .project-copy > p:not(.project-type) { margin-top: 13px; color: var(--muted); max-width: 48ch; }
.projects { background: #1b1e1b; }
.ongoing-projects { margin-top: clamp(52px, 7vw, 94px); }
.ongoing-projects > h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.project-card { background: #121514; border: 1px solid #3c4639; display: flex; flex-direction: column; }
.project-card img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; object-position: 50% 54%; }
.project-copy { flex: 1; display: flex; flex-direction: column; align-items: start; }
.project-type { color: var(--accent); font-size: .88rem; font-weight: 650; margin-bottom: 10px; }
.project-copy h3 { font-size: clamp(3.25rem, 6vw, 5.3rem); }
.text-link { display: inline-block; color: var(--accent); font-weight: 650; text-underline-offset: .3em; margin-top: 24px; }
.text-link:hover { color: #ecffc1; }
.project-copy .text-link { margin-top: auto; padding-top: 24px; }
.about-grid, .contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(35px, 9vw, 140px); }
.about h2 + p, .contact h2 + p { margin-top: 25px; }
.about h2 + p + p { margin-top: 14px; }
.steps { margin: 0; padding: 0; align-self: center; }
.steps li { border-top: 1px solid var(--line); padding: 22px 0 22px 4px; margin-left: 1.65rem; }
.steps li::marker { color: var(--accent); font-weight: 750; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps h3 { font-size: 1.85rem; margin-bottom: 8px; }
.about .steps p { font-size: 1rem; }
.contact { background: #1b1e1b; }
form { display: grid; gap: 8px; align-content: start; }
form label { font-weight: 650; }
input, select, textarea { min-width: 0; width: 100%; background: #121514; border: 1px solid #60665b; border-radius: 0; color: var(--white); font: inherit; padding: 11px 12px; margin-bottom: 10px; }
select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 47%, var(--muted) 50%, var(--muted) 68%, transparent 72%), linear-gradient(135deg, transparent 29%, var(--muted) 32%, var(--muted) 50%, transparent 53%); background-position: calc(100% - 19px) 50%, calc(100% - 12px) 50%; background-size: 7px 7px; background-repeat: no-repeat; }
textarea { resize: vertical; }
form .button { justify-self: start; }
.contact p.form-note { font-size: .9rem; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 100px; }
footer p { font-size: .9rem; }

@media (max-width: 920px) {
  .shell { width: calc(100% - 64px); }
  .hero-photo { left: 30%; }
  .hero-text { max-width: 100%; }
  .service-grid { gap: 10px; }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  section { scroll-margin-top: 62px; }
  .header-inner { min-height: 62px; position: relative; gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 73px; }
  .brand span { padding-left: 10px; }
  .menu { display: inline-flex; background: transparent; border: 1px solid #70786a; color: var(--white); padding: 9px 13px; font: 650 .93rem var(--body); cursor: pointer; }
  nav { display: none; position: absolute; top: 100%; right: 0; min-width: 185px; flex-direction: column; align-items: stretch; gap: 0; padding: 7px; background: var(--black); border: 1px solid var(--line); }
  .menu[aria-expanded="true"] + nav { display: flex; }
  nav a, .nav-cta { padding: 11px; }
  .nav-cta { border: 0; color: var(--accent); }
  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-photo { position: relative; inset: auto; order: 2; aspect-ratio: 1.52; }
  .hero-photo img { filter: saturate(.82) brightness(.92); }
  .hero-photo::after { background: linear-gradient(180deg,var(--black),transparent 14%); }
  .hero-inner { display: block; position: static; padding-block: 56px 10px; }
  .hero h1 { font-size: clamp(3.75rem, 12.5vw, 6.6rem); }
  .hero .eyebrow { margin-bottom: 18px; }
  .hero-text > p:not(.eyebrow) { margin-top: 18px; }
  .actions { margin-top: 23px; }
  .hero-caption { z-index: 1; bottom: 10px; right: 18px; background: #111313d9; padding: 4px 8px; }
  .section-intro, .service-grid, .project-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 17px; margin-bottom: 25px; }
  .service-grid, .project-grid { gap: 15px; }
  .service-grid img { aspect-ratio: 1.75; }
  .footer-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.specialties { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; }
.specialties div { border-top: 1px solid var(--line); padding-top: 14px; }
.specialties dt { font-weight: 750; }
.specialties dd { margin: 4px 0 0; color: var(--muted); }
.feature-project { display: grid; grid-template-columns: 1.35fr 1fr; margin-top: 38px; background: #121514; border: 1px solid #3c4639; }
.feature-project img { width: 100%; height: 100%; min-height: 285px; object-fit: cover; }
.feature-project .project-copy { justify-content: center; }
.feature-project .text-link { margin-top: 4px; }
.build-video { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 75px); align-items: center; padding: 32px 0; margin-top: 10px; }
.build-video p:not(.project-type) { margin-top: 12px; color: var(--muted); }
.build-video .channel-link { display: table; margin-top: 13px; }
.build-video iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; background: var(--black); }
.business-address { color: var(--muted); font-style: normal; margin-top: 20px; }
.business-address strong { color: var(--white); }

.gallery-section { padding-top: clamp(48px, 7vw, 96px); }
.gallery-section h1 { font-size: clamp(3.75rem, 8vw, 8rem); margin: 24px 0 16px; }
.gallery-section > .shell > p { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.gallery-grid a { display: block; overflow: hidden; background: var(--surface); }
.gallery-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.gallery-grid a:hover img { transform: scale(1.035); }
.gallery-dialog { padding: 13px; width: min(94vw, 1120px); max-width: none; max-height: 96dvh; border: 1px solid var(--line); background: var(--black); color: var(--white); }
.gallery-dialog::backdrop { background: #000c; }
.gallery-dialog img { width: 100%; max-height: 76dvh; object-fit: contain; }
.gallery-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.gallery-controls .button { min-height: 42px; padding: 8px 12px; }
.gallery-controls button:disabled { opacity: .44; cursor: default; }
.gallery-count { padding: 0 3px; }

@media (max-width: 760px) {
  .specialties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-project, .build-video { grid-template-columns: 1fr; }
  .feature-project img { height: auto; min-height: 0; aspect-ratio: 1.6; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
@media (max-width: 420px) {
  .gallery-page .brand span { display: none; }
}

.feature-project h4 {
  margin: 20px 0 6px;
  font-size: 1rem;
}
.project-equipment {
  color: var(--muted);
  margin: 0;
  padding-left: 1.15em;
}
.project-equipment li + li {
  margin-top: 5px;
}
.project-equipment li::marker {
  color: var(--accent);
}

.work-vehicles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 75px);
}
.work-vehicles-copy h2 {
  font-size: clamp(3.2rem, 6vw, 6.5rem);
}
.work-vehicles-copy p {
  max-width: 56ch;
  margin-top: 15px;
  color: var(--muted);
}
.work-vehicles-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  object-position: center 43%;
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .work-vehicles-grid { grid-template-columns: 1fr; }
}

.specialties dd { white-space: pre-line; }
.inline-link { color: var(--accent); text-underline-offset: .2em; }
#pmd2 { max-width: 760px; margin-top: 38px; }
.ongoing-projects .project-copy h3 { font-size: clamp(1.7rem, 2.8vw, 3.2rem); overflow-wrap: anywhere; }
@media (min-width: 701px) and (max-width: 1000px) {
  .ongoing-projects .project-grid { grid-template-columns: 1fr; }
}
.pmd2-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin-top: 21px;
}
.pmd2-photos a:first-child { grid-column: 1 / -1; }
.pmd2-photos img {
  aspect-ratio: 3 / 4;
  object-position: center;
}
.pmd2-photos a:first-child img { aspect-ratio: 4 / 3; }
@media (max-width: 430px) {
  .pmd2-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.footer-links, .privacy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.privacy-link { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.privacy-banner[hidden], [data-privacy-settings][hidden] { display: none; }
.privacy-banner, .privacy-dialog {
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.5rem);
}
.privacy-banner {
  position: fixed;
  z-index: 20;
  inset: auto 1rem 1rem;
  width: min(41rem, calc(100% - 2rem));
  margin-left: auto;
  box-shadow: 0 .75rem 3rem #0008;
}
.privacy-banner h2, .privacy-dialog h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.08; }
.privacy-banner p, .privacy-dialog p { margin: .65rem 0 1rem; color: var(--muted); }
.privacy-dialog { width: min(36rem, calc(100% - 2rem)); max-height: calc(100% - 2rem); overflow: auto; }
.privacy-dialog::backdrop { background: #000a; }
.privacy-dialog label { display: block; margin-block: 1rem; }
.privacy-dialog input[type="checkbox"] { width: 1rem; height: 1rem; margin: 0 .25rem 0 0; padding: 0; accent-color: var(--accent); }
.privacy-dialog small { display: block; margin-left: 1.5rem; color: var(--muted); }
.privacy-actions .button { min-height: 44px; padding: .55rem .9rem; }
.video-placeholder { min-height: 12rem; aspect-ratio: 16 / 9; background: var(--surface); display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1rem; text-align: center; }
.video-placeholder.has-video { display: block; padding: 0; }
.video-placeholder.has-video > :not(iframe) { display: none; }
.video-placeholder iframe { display: block; }
.legal-content { max-width: 52rem; }
.legal-content h1, .stats h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
.legal-content h2, .stats h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-block: 2rem .75rem; }
.legal-content p { margin-block: .75rem; }
.legal-content a, .stats a { text-underline-offset: .15em; }
.stats { max-width: 66rem; }
.stats > p { margin-block: 1rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.4rem 2rem; }
.stats table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stats td, .stats th { border-bottom: 1px solid var(--line); padding: .45rem .25rem; text-align: left; }
.stats td:not(:first-child), .stats thead th:not(:first-child) { text-align: right; }

@media (max-width: 420px) {
  .privacy-actions .button { flex: 1 1 100%; }
}
