:root {
  --ink: #17232b;
  --muted: #55636f;
  --navy: #0c2c61;
  --blue: #155ea8;
  --orange: #f08a24;
  --paper: #f5f7f8;
  --line: rgba(23, 35, 43, 0.13);
  --shadow: 0 24px 60px rgba(9, 31, 48, 0.13);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 18px clamp(18px, 6vw, 82px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(12, 44, 97, 0.96);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled {
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 174px;
  min-height: 58px;
  padding: 8px 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  opacity: 1;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 12px 18px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 9px;
  background: #ffffff;
}

.hero,
.page-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  padding: 132px 0 64px;
  background: var(--navy);
}

.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(12, 44, 97, 0.94) 0%, rgba(12, 44, 97, 0.72) 43%, rgba(12, 44, 97, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 19, 34, 0.35), transparent 52%);
}

.hero-content,
.page-hero .section-inner {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(770px, calc(100% - 36px));
  margin-left: clamp(18px, 6vw, 82px);
}

.page-hero {
  min-height: 430px;
  background:
    linear-gradient(90deg, rgba(12, 44, 97, 0.94), rgba(12, 44, 97, 0.76)),
    url("../images/Contact-Banner.jpg") center / cover no-repeat;
}

.page-hero.compact {
  min-height: 360px;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(12, 44, 97, 0.94), rgba(12, 44, 97, 0.66)),
    url("../images/auger2.jpg") center / cover no-repeat;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(12, 44, 97, 0.94), rgba(12, 44, 97, 0.58)),
    url("../images/Contact-Banner.jpg") center / cover no-repeat;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.7vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.25;
}

.hero p,
.page-hero p {
  max-width: 670px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 13px 20px;
  font-weight: 800;
}

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

.button.secondary {
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.section {
  padding: clamp(76px, 9vw, 124px) 0;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.muted {
  background: var(--paper);
}

.split,
.image-band-grid,
.services-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.prose,
.image-band-grid p,
.contact-card span,
.service-card p,
.feature-card p,
.capability-panel li,
.status-card p,
.status-card dd {
  color: var(--muted);
  line-height: 1.7;
}

.service-strip {
  background: var(--navy);
  color: #ffffff;
}

.service-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.service-strip-grid span {
  min-height: 94px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: var(--navy);
  font-weight: 800;
}

.card-grid,
.value-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.value-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.value-grid article,
.contact-form,
.contact-card,
.status-card {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.service-card,
.value-grid article,
.contact-form,
.contact-card,
.status-card {
  padding: 28px;
}

.service-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--blue);
  font-weight: 800;
}

.image-band {
  background: #ffffff;
}

.image-band-grid {
  align-items: center;
}

.image-band-grid.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.image-band-grid img,
.feature-card img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-band-grid img {
  min-height: 420px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 800;
}

.feature-card {
  display: grid;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-card img {
  height: 320px;
  object-position: center;
}

.feature-card div {
  padding: 34px;
}

.capability-panel {
  padding: 34px;
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.capability-panel ul {
  margin: 22px 0 0;
  padding-left: 20px;
}

.capability-panel li {
  margin: 12px 0;
  color: rgba(255, 255, 255, 0.82);
}

.gallery-grid {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-grid figure {
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

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

.project-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.project-card figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-body {
  padding: 20px 22px 24px;
}

.project-card-body span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-body h2 {
  margin-bottom: 8px;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.project-card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.contact-layout {
  align-items: stretch;
}

.contact-card {
  display: grid;
  gap: 6px;
  margin-top: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.narrow {
  max-width: 780px;
}

.status-card dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 18px;
  margin: 22px 0;
}

.status-card dt {
  font-weight: 800;
}

.status-card.error {
  border-left: 5px solid #be2d2d;
}

.site-footer {
  background: #081f39;
  color: #ffffff;
  padding: 42px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 10px;
  font-weight: 800;
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .card-grid,
  .card-grid.four,
  .value-grid,
  .gallery-grid,
  .service-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card img {
    height: 300px;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 44, 97, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  }

  .nav-cta {
    border: 0;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
    padding-top: 118px;
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding-bottom: 42px;
  }

  .split,
  .image-band-grid,
  .image-band-grid.reverse,
  .services-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .brand {
    width: 148px;
    min-height: 50px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .card-grid,
  .card-grid.four,
  .value-grid,
  .gallery-grid,
  .service-strip-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    gap: 16px;
  }

  .project-card-body {
    padding: 16px;
  }

  .service-strip-grid span {
    min-height: 68px;
  }

  .image-band-grid img {
    min-height: 300px;
  }

  .feature-card img {
    height: 260px;
  }

  .gallery-grid figure {
    min-height: 230px;
  }

  .status-card dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}
