:root {
  --ink: #15201b;
  --muted: #63706a;
  --line: #dfe5df;
  --paper: #f6f7f3;
  --white: #ffffff;
  --green: #1d6b4f;
  --green-dark: #0d3f31;
  --gold: #c89b3c;
  --clay: #b65f3f;
  --shadow: 0 22px 60px rgba(21, 32, 27, 0.16);
}

* {
  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;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(21, 32, 27, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  width: 150px;
  height: 54px;
  align-items: center;
}

.brand img {
  width: 100%;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

.site-header.is-scrolled .brand img,
.site-header.is-open .brand img {
  filter: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.nav a,
.header-wa,
.btn,
.project-card a {
  text-decoration: none;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
}

.header-wa {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 6px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 800;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
  background: var(--green-dark);
}

.hero picture,
.hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 28, 22, 0.84) 0%, rgba(8, 28, 22, 0.62) 44%, rgba(8, 28, 22, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 28, 22, 0.4), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 36px));
  padding: 28vh 0 170px clamp(18px, 7vw, 92px);
}

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

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

h1 {
  margin: 0;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

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

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 22px;
  font-weight: 800;
  line-height: 1.1;
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 34px rgba(29, 107, 79, 0.35);
}

.btn-primary:hover {
  background: var(--green-dark);
}

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

.hero-panel {
  position: absolute;
  right: clamp(18px, 5vw, 64px);
  bottom: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  width: min(560px, calc(100% - 36px));
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  padding: 18px;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-panel strong {
  display: block;
  font-size: 24px;
}

.hero-panel span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.section {
  padding: 92px clamp(18px, 6vw, 76px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 86px);
  background: var(--white);
}

.section-heading h2,
.feature-content h2,
.cta h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.intro-copy p {
  margin: 0;
}

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

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f2f5ef;
}

.service-strip article {
  padding: 38px clamp(18px, 5vw, 64px);
}

.service-strip article + article {
  border-left: 1px solid var(--line);
}

.service-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-strip h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.08;
}

.service-strip p {
  max-width: 330px;
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.feature-media {
  aspect-ratio: 5 / 4;
  max-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content > p:last-of-type {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.feature-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list span {
  color: var(--clay);
  font-weight: 800;
}

.feature-list h3,
.feature-list p {
  grid-column: 2;
}

.feature-list h3,
.project-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.feature-list p,
.project-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.compact-project {
  display: flex;
  min-height: 100%;
}

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

.project-label {
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.legacy-projects {
  display: grid;
  grid-template-columns: minmax(220px, 0.5fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
}

.legacy-projects .eyebrow {
  color: #f3cf7a;
}

.legacy-projects h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.legacy-projects ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legacy-projects li {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.gallery-grid img {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 38px;
  align-items: center;
  margin: 0 clamp(18px, 6vw, 76px) 92px;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-dark), #24634e 62%, #9a6b26);
}

.cta .eyebrow {
  color: #f3cf7a;
}

.cta p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.contact-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.contact-card span,
.contact-card strong {
  display: block;
}

.contact-card span {
  color: rgba(255, 255, 255, 0.74);
}

.contact-card strong {
  margin: 8px 0 20px;
  font-size: 25px;
  overflow-wrap: anywhere;
}

.footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 42px 18px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
}

.footer img {
  width: 150px;
}

.footer p {
  margin: 0;
}

.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  background: #18a958;
  box-shadow: 0 16px 34px rgba(24, 169, 88, 0.4);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 920px) {
  .site-header {
    gap: 14px;
    padding: 12px 18px;
  }

  .brand {
    width: 126px;
  }

  .menu-toggle {
    display: inline-grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-left: auto;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: inherit;
    background: transparent;
  }

  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 22px 42px rgba(21, 32, 27, 0.14);
  }

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

  .nav a {
    padding: 13px 10px;
  }

  .header-wa {
    display: none;
  }

  .hero {
    min-height: 920px;
  }

  .hero-content {
    width: 100%;
    padding: 190px 18px 340px;
  }

  .hero-panel {
    left: 18px;
    right: 18px;
    bottom: 24px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }

  .intro,
  .feature-band,
  .cta {
    grid-template-columns: 1fr;
  }

  .service-strip,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .legacy-projects,
  .legacy-projects ul {
    grid-template-columns: 1fr;
  }

  .service-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

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

  .gallery-grid .wide {
    grid-column: span 1;
  }

  .gallery-grid img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .cta {
    margin-bottom: 72px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 42px;
  }

  .section-heading h2,
  .feature-content h2,
  .cta h2 {
    max-width: 330px;
    font-size: 26px;
  }

  .hero-copy {
    width: min(100%, 330px);
    font-size: 16px;
  }

  .section,
  .service-strip,
  .cta {
    width: 100%;
    max-width: 100vw;
  }

  .hero-content,
  .section-heading,
  .intro-copy,
  .feature-content,
  .contact-card {
    min-width: 0;
    max-width: 100%;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .hero-actions {
    width: min(100%, 330px);
  }

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

  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}
