:root {
  --ink: #161816;
  --muted: #5b625b;
  --line: #dfe4dd;
  --paper: #f7f8f4;
  --white: #ffffff;
  --green: #597344;
  --green-dark: #35452c;
  --steel: #2e3436;
  --gold: #c89b3c;
  --shadow: 0 18px 45px rgba(18, 26, 16, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 105px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(89, 115, 68, 0.18);
  backdrop-filter: blur(16px);
  transition: min-height 180ms ease, padding 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 58px;
  padding-top: 4px;
  padding-bottom: 4px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(18, 26, 16, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  width: min(130px, 34vw);
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand {
  width: min(78px, 24vw);
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:not(.nav-call) {
  color: var(--steel);
}

.nav-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.nav-call,
.button-primary {
  color: var(--white);
  background: var(--green);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button-outline {
  color: var(--green-dark);
  border: 1px solid var(--green);
}

.contact .button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 105px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("assets/images/hero.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 16, 12, 0.86), rgba(12, 16, 12, 0.55) 44%, rgba(12, 16, 12, 0.18)),
    linear-gradient(0deg, rgba(12, 16, 12, 0.7), rgba(12, 16, 12, 0.08) 46%);
}

.hero-content {
  position: relative;
  width: min(920px, calc(100% - 36px));
  padding: min(11vh, 110px) 0 clamp(56px, 10vh, 110px);
  margin: 0 auto;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1 {
  font-family: "Josefin Sans", Inter, sans-serif;
  max-width: 760px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

h2 {
  max-width: 850px;
  font-size: clamp(2rem, 4.2vw, 4.15rem);
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 690px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
}

.copy-block p,
.about-text p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.copy-block p:first-child,
.about-text p:first-of-type {
  margin-top: 0;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 32px;
}

.services {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.team-grid article,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p,
.team-grid p,
figcaption {
  color: var(--muted);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.capability-list li {
  min-height: 58px;
  padding: 14px;
  border-left: 4px solid var(--green);
  background: #eef2ea;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 700;
}

.projects {
  background: #ecf0e8;
}

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

figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

figcaption {
  min-height: 76px;
  padding: 16px;
  font-weight: 700;
}

.about {
  padding-top: 0;
  background: var(--white);
}

.about-media {
  height: clamp(260px, 38vw, 480px);
  background:
    linear-gradient(0deg, rgba(20, 25, 19, 0.25), rgba(20, 25, 19, 0.25)),
    url("assets/images/about-hero.webp") center / cover no-repeat;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding-top: clamp(48px, 7vw, 82px);
  align-items: start;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.team-grid article {
  overflow: hidden;
}

.team-grid img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
}

.team-grid h3,
.team-grid p {
  padding: 0 16px;
}

.team-grid h3 {
  margin-top: 16px;
}

.team-grid p {
  margin-top: 6px;
  padding-bottom: 16px;
}

.contact {
  background: var(--green-dark);
  color: var(--white);
}

.contact .eyebrow {
  color: #e0bd70;
}

.contact h2 {
  max-width: 680px;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(330px, 0.55fr);
  gap: clamp(28px, 7vw, 84px);
  align-items: start;
}

.contact-panel {
  color: var(--ink);
  padding: 30px;
}

dl,
dd {
  margin: 0;
}

.contact-panel dl {
  display: grid;
  gap: 24px;
}

dt {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-weight: 800;
}

dd {
  color: var(--muted);
}

dd a {
  color: var(--green-dark);
  font-weight: 700;
}

.site-footer {
  padding: 34px 18px;
  background: var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.footer-inner img {
  width: 190px;
  background: var(--white);
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 980px) {
  .service-grid,
  .project-grid,
  .about-content,
  .contact-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .team-grid {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 97px;
  }

  .site-header.is-scrolled {
    min-height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 12px auto 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
  }

  .nav-call {
    margin-top: 8px;
  }

  .hero {
    min-height: calc(100svh - 97px);
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .project-grid,
  .team-grid,
  .capability-list {
    grid-template-columns: 1fr;
  }

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