:root {
  --ink: #182029;
  --deep: #0f151b;
  --muted: #637181;
  --line: #dfe5df;
  --surface: #ffffff;
  --green: #8fbe7e;
  --green-dark: #315f2a;
  --green-black: #172414;
  --steel: #526373;
  --shadow: 0 24px 70px rgba(24, 32, 41, 0.14);
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, rgba(217, 237, 208, 0.38), rgba(255, 255, 255, 0) 430px), var(--surface);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img {
  display: block;
  max-height: 58px;
  max-width: 236px;
  width: auto;
}

.nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav a:hover {
  border-color: var(--green-dark);
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: minmax(360px, 0.82fr) minmax(520px, 1.18fr);
  min-height: calc(100vh - 86px);
  padding: clamp(46px, 7vw, 92px) clamp(18px, 4vw, 64px) clamp(38px, 5vw, 70px);
}

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

.eyebrow {
  color: var(--green-dark);
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.25;
  margin: 0 0 18px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.2rem, 6.7vw, 6.7rem);
  letter-spacing: 0;
  line-height: 0.94;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  line-height: 1.08;
  margin: 0;
}

.hero-copy p:not(.eyebrow),
.statement p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: var(--steel);
  font-size: clamp(1.06rem, 1.8vw, 1.32rem);
  max-width: 650px;
}

.hero-media {
  border: 1px solid rgba(49, 95, 42, 0.2);
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.hero-media img {
  aspect-ratio: 16 / 9;
  animation: heroDrift 13s ease-in-out infinite alternate;
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transform-origin: center;
  width: 100%;
}

@keyframes heroDrift {
  from {
    transform: scale(1.02) translate3d(-0.5%, 0, 0);
  }

  to {
    transform: scale(1.07) translate3d(1%, -0.6%, 0);
  }
}

.hero-media figcaption {
  background: linear-gradient(90deg, rgba(15, 21, 27, 0.96), rgba(15, 21, 27, 0.82));
  bottom: 0;
  color: white;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  left: 0;
  position: absolute;
  right: 0;
}

.hero-media figcaption span {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #eaf4e6;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 16px;
  text-transform: uppercase;
}

.statement {
  align-items: end;
  background: var(--green-black);
  color: white;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  padding: clamp(58px, 8vw, 108px) clamp(18px, 6vw, 84px);
}

.statement .eyebrow {
  color: var(--green);
}

.statement p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  color: #d7e8d0;
  margin-bottom: 0;
}

.section,
.project-presence,
.scope {
  padding: clamp(58px, 8vw, 112px) clamp(18px, 6vw, 84px);
}

.project-presence {
  padding-top: clamp(44px, 6vw, 84px);
}

.section-head {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  margin-bottom: 34px;
}

.gallery-shell {
  overflow: hidden;
}

.gallery-track {
  display: grid;
  gap: 18px;
  grid-auto-columns: minmax(265px, 31%);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.project-card {
  background: var(--green-black);
  border-radius: 10px;
  color: white;
  min-height: 390px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
}

.project-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.94;
  position: absolute;
  transition: opacity 400ms ease, transform 600ms ease;
  width: 100%;
}

.project-card:hover img {
  opacity: 1;
  transform: scale(1.02);
}

.workforce {
  background: white;
  padding: clamp(58px, 8vw, 112px) clamp(18px, 6vw, 84px);
}

.workforce-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr) minmax(280px, 0.9fr);
}

.workforce-card {
  background: var(--green-black);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(24, 32, 41, 0.08);
  min-height: 420px;
  overflow: hidden;
}

.workforce-card-large {
  min-height: 520px;
}

.workforce-card-wide {
  grid-column: span 2;
  min-height: 360px;
}

.workforce-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.systems {
  background: var(--green-black);
  color: white;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  padding: clamp(36px, 5vw, 56px) clamp(18px, 6vw, 84px);
}

.systems .eyebrow {
  color: var(--green);
  margin: 0;
}

.systems-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
}

.systems-grid span {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 237, 208, 0.14);
  color: #eaf4e6;
  display: block;
  font-size: clamp(0.86rem, 1vw, 1rem);
  font-weight: 900;
  padding: 18px;
  text-align: center;
}

.scope {
  background: linear-gradient(180deg, #f7faf5, #edf5ea);
}

.scope-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.scope-grid article {
  background: white;
  border: 1px solid rgba(49, 95, 42, 0.16);
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(24, 32, 41, 0.07);
  overflow: hidden;
}

.scope-grid img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.scope-grid h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  padding: 20px;
}

.contact {
  align-items: stretch;
  background: var(--deep);
  color: white;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 84px);
}

.contact .eyebrow {
  color: var(--green);
}

.contact-panel {
  align-self: end;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 237, 208, 0.22);
  border-radius: 8px;
}

.contact-panel a {
  display: grid;
  gap: 8px;
  padding: 28px;
}

.contact-panel span {
  color: #cbd3d9;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel strong {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 22px clamp(18px, 6vw, 84px);
}

.site-footer a {
  font-weight: 800;
}

.thanks-page {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 24px;
}

.thanks-panel {
  background: white;
  border: 1px solid rgba(49, 95, 42, 0.18);
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: auto;
  max-width: 720px;
  padding: clamp(28px, 6vw, 56px);
}

.thanks-panel img {
  display: block;
  max-width: 320px;
  width: 78%;
}

.thanks-panel h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-top: 28px;
}

.thanks-panel p:not(.eyebrow) {
  color: var(--steel);
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.privacy-panel a:not(.button) {
  color: var(--green-dark);
  font-weight: 800;
}

.button {
  align-items: center;
  background: linear-gradient(135deg, var(--green-dark), var(--green-black));
  border-radius: 4px;
  color: white;
  display: inline-flex;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

@media (max-width: 920px) {
  .hero,
  .statement,
  .section-head,
  .contact,
  .systems {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .gallery-track {
    grid-auto-columns: minmax(250px, 48%);
  }

  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workforce-grid {
    grid-template-columns: 1fr;
  }

  .workforce-card-wide {
    grid-column: auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .hero,
  .section,
  .project-presence,
  .workforce,
  .scope,
  .contact {
    padding-left: 28px;
    padding-right: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.35rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-media figcaption {
    grid-template-columns: 1fr 1fr;
  }

  .hero-media figcaption span {
    font-size: 0.76rem;
    padding: 12px;
  }

  .gallery-track {
    grid-auto-columns: minmax(235px, 84%);
  }

  .scope-grid {
    grid-template-columns: 1fr;
  }

  .systems-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img {
    animation: none;
    transform: none;
  }
}
