:root {
  --green-950: #06291f;
  --green-900: #073c2d;
  --green-700: #146149;
  --stone-50: #f6f5f1;
  --stone-100: #ece9e1;
  --stone-300: #c9c4b8;
  --ink: #171b19;
  --white: #fff;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--stone-50); font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.site-header { position: sticky; top: 0; z-index: 20; min-height: 86px; padding: 14px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(7,60,45,.1); backdrop-filter: blur(12px); }
.brand { flex: 0 1 370px; }
.brand img { width: 100%; max-width: 370px; }
nav { display: flex; align-items: center; gap: 30px; font-size: .88rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
nav a { text-decoration: none; }
nav a:not(.nav-contact):hover { color: var(--green-700); }
.nav-contact { padding: 12px 18px; color: var(--white); background: var(--green-900); }

.hero { min-height: min(760px, calc(100vh - 86px)); display: grid; grid-template-columns: minmax(390px,.88fr) minmax(0,1.12fr); background: var(--green-900); }
.hero-copy { padding: clamp(70px,9vw,136px) clamp(34px,7vw,112px); display: flex; flex-direction: column; justify-content: center; color: var(--white); }
.hero-image {
  min-height: 590px;
  background:
    linear-gradient(90deg,rgba(7,60,45,.78),rgba(7,60,45,.32) 48%,rgba(7,60,45,.18)),
    linear-gradient(rgba(16,76,58,.22),rgba(5,43,33,.28)),
    url("assets/projects/mechanical-plant.webp") 58% center/cover no-repeat;
  background-blend-mode: multiply, color, normal;
}
.eyebrow { margin: 0 0 20px; color: var(--stone-300); font-size: .78rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green-700); }
.eyebrow.light { color: #d5d0c4; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 26px; font-size: clamp(3.25rem,6.2vw,6.6rem); line-height: .96; letter-spacing: -.055em; }
.hero-lead { max-width: 640px; margin-bottom: 34px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem,1.5vw,1.3rem); line-height: 1.65; }
.hero-actions,.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.button { min-height: 52px; padding: 14px 22px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; font-size: .86rem; font-weight: 800; letter-spacing: .045em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease,background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--green-950); background: var(--white); }
.button-light:hover { background: var(--stone-100); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.service-area { margin: 34px 0 0; color: rgba(255,255,255,.58); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.proof-strip { padding: 21px max(24px,calc((100vw - var(--max))/2)); display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; color: var(--green-950); background: var(--stone-100); border-bottom: 1px solid #ddd9cf; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-align: center; text-transform: uppercase; }
.proof-strip span + span { border-left: 1px solid #cfcabe; }
.section-shell { width: min(var(--max),calc(100% - 48px)); margin-inline: auto; padding-block: clamp(86px,10vw,144px); }
.section-heading { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; align-items: start; }
h2 { margin-bottom: 30px; font-size: clamp(2.35rem,4.4vw,4.9rem); line-height: 1.04; letter-spacing: -.045em; }
.intro-copy { max-width: 770px; margin: 0 0 66px auto; color: #4f5551; font-size: clamp(1.05rem,1.5vw,1.25rem); }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid #cec9be; border-bottom: 1px solid #cec9be; }
.service-card { min-height: 350px; padding: 36px; }
.service-card + .service-card { border-left: 1px solid #cec9be; }
.service-number { color: var(--green-700); font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
.service-card h3 { margin: 72px 0 18px; font-size: 1.35rem; line-height: 1.2; }
.service-card p { margin-bottom: 0; color: #5b615d; }
.sector-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; }
.sector-row span { padding: 9px 14px; border: 1px solid #cac6bb; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

.projects-section { color: var(--white); background: var(--green-950); }
.projects-heading { margin-bottom: 56px; display: grid; grid-template-columns: 1.1fr .7fr; gap: 9vw; align-items: end; }
.projects-heading h2 { margin-bottom: 0; }
.projects-heading > p { margin-bottom: 6px; color: rgba(255,255,255,.65); }
.project-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.project-card { position: relative; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; background: #0c211b; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease,filter .55s ease; }
.project-card:hover img { transform: scale(1.035); filter: brightness(.82); }

.approach-heading { margin-bottom: 62px; }
.approach-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.approach-grid article { min-height: 250px; padding: 28px; background: var(--white); border-top: 4px solid var(--green-900); box-shadow: 0 10px 30px rgba(5,34,25,.06); }
.approach-grid h3 { margin: 24px 0 16px; font-size: 1.18rem; }
.approach-grid p { margin: 0; color: #5b615d; }

.contact-section { padding: 0 24px 24px; background: var(--stone-50); }
.contact-inner { width: min(1500px,100%); margin: auto; padding: clamp(68px,9vw,130px) clamp(28px,8vw,130px); color: var(--white); background: var(--green-900); }
.contact-inner h2 { max-width: 900px; margin-bottom: 20px; }
.contact-inner > p:not(.eyebrow) { max-width: 680px; margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: 1.1rem; }
.text-link { color: var(--white); font-weight: 750; text-underline-offset: 5px; }

footer { width: min(var(--max),calc(100% - 48px)); margin-inline: auto; padding: 44px 0; display: grid; grid-template-columns: minmax(260px,370px) 1fr auto; gap: 42px; align-items: center; color: #6d716e; font-size: .82rem; }
footer img { width: 340px; }
footer p { margin: 0; }
footer a { color: var(--green-900); font-weight: 750; }

@media (min-width:781px) {
  .intro .section-heading,
  .approach .section-heading { max-width: 940px; margin-inline: auto; display: block; text-align: center; }
  .intro-copy { margin: 0 auto 66px; text-align: center; }
}

@media (max-width:1050px) {
  .site-header { min-height: 74px; }
  .brand { flex-basis: 290px; }
  nav { gap: 18px; font-size: .76rem; }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 74px 40px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .approach-grid { grid-template-columns: repeat(2,1fr); }
  footer { grid-template-columns: 1fr 1fr; }
  footer a { grid-column: 2; }
}

@media (max-width:780px) {
  .site-header { position: relative; padding: 14px 20px; }
  .brand img { max-width: 285px; }
  nav a:not(.nav-contact) { display: none; }
  .nav-contact { padding: 10px 14px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: 570px; padding: 74px 24px 64px; }
  .hero-image { min-height: 390px; }
  h1 { font-size: clamp(3.05rem,14vw,5.1rem); }
  .proof-strip { grid-template-columns: 1fr 1fr; gap: 16px 8px; font-size: .68rem; }
  .proof-strip span + span { border-left: 0; }
  .section-shell { width: min(100% - 32px,var(--max)); padding-block: 82px; }
  .section-heading,.projects-heading { grid-template-columns: 1fr; gap: 18px; }
  .intro-copy { margin: 0 0 48px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 30px 8px; }
  .service-card + .service-card { border-left: 0; border-top: 1px solid #cec9be; }
  .service-card h3 { margin-top: 30px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article { min-height: 0; }
  .contact-section { padding: 0 12px 12px; }
  .contact-inner { padding: 64px 24px; }
  footer { grid-template-columns: 1fr; gap: 22px; }
  footer a { grid-column: auto; overflow-wrap: anywhere; }
}

@media (max-width:480px) {
  .brand img { max-width: 220px; }
  .hero-actions .button { width: 100%; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-actions .button { width: 100%; font-size: .73rem; overflow-wrap: anywhere; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; }
}
