:root {
  --brand-green: #ace061;
  --brand-green-soft: #d9f2a8;
  --ink: #111512;
  --muted: #657068;
  --line: rgba(17, 21, 18, 0.13);
  --header-height: 96px;
  --cream: #f7f8f4;
  --dark: #07100c;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
}

header {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 42px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(17, 21, 18, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 64px;
  max-width: 290px;
  object-fit: contain;
}

.brand-copy {
  padding-left: 18px;
  border-left: 1px solid var(--line);
  color: #426251;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.header-link {
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.header-link:hover {
  color: #517d2f;
}

.page-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #ffffff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 11, 8, 0.93) 0%, rgba(4, 11, 8, 0.77) 39%, rgba(4, 11, 8, 0.22) 72%, rgba(4, 11, 8, 0.08) 100%),
    linear-gradient(180deg, rgba(4, 11, 8, 0.12), rgba(4, 11, 8, 0.52));
}

.page-hero.infrastructure {
  background: url("infrastructure.jpg") center / cover no-repeat;
}

.page-hero.projects {
  background: url("project-management.jpg") center / cover no-repeat;
}

.page-hero.staffing {
  background: url("technical-staffing.jpg") center / cover no-repeat;
}

.page-hero.locations {
  background: url("header.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 82px clamp(28px, 8vw, 128px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--brand-green-soft);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.10rem;
  text-transform: uppercase;
}

h1 {
  max-width: 800px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero-text {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}

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

.button,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button {
  border: 1px solid var(--brand-green-soft);
  background: rgba(217, 242, 168, 0.12);
  color: #ffffff;
}

.button:hover {
  transform: translateY(-2px);
  background: rgba(217, 242, 168, 0.22);
}

.back-link {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: rgba(255, 255, 255, 0.92);
}

.back-link:hover {
  transform: translateY(-2px);
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.detail-section {
  padding: 88px 24px;
  background: #ffffff;
}

.detail-grid {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.detail-label {
  color: #537e35;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.11rem;
  text-transform: uppercase;
}

h2 {
  margin-top: 14px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.detail-copy p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.8;
}

.detail-copy p + p {
  margin-top: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.service-list li {
  min-height: 104px;
  padding: 22px;
  background: #ffffff;
  color: #28342d;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
}

.contact-band {
  padding: 74px 24px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.contact-band-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-band h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.contact-band p {
  max-width: 540px;
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: #111512;
  color: #ffffff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  background: #2c382f;
}

footer {
  padding: 34px 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: #111111;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 0.88rem;
  text-align: center;
}

@media (max-width: 760px) {
  :root {
    --header-height: 82px;
  }

  header {
    min-height: var(--header-height);
    padding: 0 20px;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    height: 52px;
    max-width: 180px;
  }

  .brand-copy {
    display: none;
  }

  .header-link {
    font-size: 0.84rem;
  }

  .page-hero {
    min-height: 580px;
  }

  .page-hero::before {
    background:
      linear-gradient(90deg, rgba(4, 11, 8, 0.94), rgba(4, 11, 8, 0.70) 66%, rgba(4, 11, 8, 0.28)),
      linear-gradient(180deg, rgba(4, 11, 8, 0.12), rgba(4, 11, 8, 0.54));
  }

  .hero-inner {
    padding: 70px 22px;
  }

  h1 {
    font-size: clamp(2.9rem, 13vw, 4.7rem);
  }

  .hero-text {
    max-width: 360px;
    font-size: 0.98rem;
  }

  .detail-section {
    padding: 62px 22px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  h2 {
    font-size: clamp(2.2rem, 10.5vw, 3.7rem);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 56px 22px;
  }

  .contact-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
