:root {
  --green-900: #092818;
  --green-800: #123c25;
  --green-700: #1d6c41;
  --green-500: #3a9a5f;
  --leaf: #9fd16d;
  --rust: #b76332;
  --ink: #101612;
  --muted: #5d685f;
  --line: #dfe7dd;
  --paper: #f7f8f2;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 38, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Be Vietnam Pro", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--green-900);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 221, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 74px;
  height: 52px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(12, 38, 24, 0.1);
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  color: var(--green-900);
  font-size: 1.04rem;
  letter-spacing: 0;
}

.brand-copy em {
  color: var(--green-500);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #3b443e;
}

.site-nav a {
  position: relative;
  padding-block: 10px;
}

.site-nav a:not(.nav-pill)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green-500);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-pill {
  background: var(--green-500);
  color: var(--white);
  border-radius: 999px;
  padding: 11px 18px;
  box-shadow: 0 12px 28px rgba(58, 154, 95, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  place-items: center;
  gap: 4px;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-900);
}

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - 132px));
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green-900);
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 40, 24, 0.9) 0%, rgba(9, 40, 24, 0.68) 42%, rgba(9, 40, 24, 0.16) 100%),
    linear-gradient(0deg, rgba(9, 40, 24, 0.82) 0%, rgba(9, 40, 24, 0.02) 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(74px, 12vh, 118px) 0 44px;
  color: var(--white);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--rust);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--leaf);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.35rem, 6.2vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.16rem);
}

.hero-actions,
.section-head-row,
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  padding: 13px 22px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(23, 118, 67, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.metric-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0;
}

.hero-metrics div {
  padding: 22px 28px 24px 0;
}

.hero-metrics dt {
  margin: 0;
  color: var(--green-700);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.ticker {
  overflow: hidden;
  background: var(--green-800);
  color: var(--white);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.ticker span {
  padding: 16px 26px;
  font-weight: 800;
  text-transform: uppercase;
}

.ticker span::before {
  content: "•";
  color: var(--leaf);
  margin-right: 26px;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(70px, 10vw, 118px) 0;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 8vw, 96px);
}

.section h2 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.02rem;
}

.vision-band {
  background: var(--green-900);
  color: var(--white);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.vision-grid article {
  padding: clamp(28px, 5vw, 46px);
  background: var(--green-900);
}

.vision-grid span,
.service-list span,
.timeline span {
  color: var(--leaf);
  font-weight: 800;
  text-transform: uppercase;
}

.vision-grid h3,
.timeline h3,
.service-list h3,
.values-grid h3,
.news-grid h3,
.project-card h3,
.field-card h3 {
  margin: 10px 0 8px;
  color: inherit;
  line-height: 1.25;
  letter-spacing: 0;
}

.vision-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head-row {
  max-width: none;
  align-items: end;
}

.section-head-row > p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

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

.field-card,
.project-card,
.news-grid article,
.values-grid article,
.service-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12, 38, 24, 0.04);
}

.field-card {
  overflow: hidden;
}

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

.field-card:first-child img {
  object-position: center 32%;
}

.field-card div {
  padding: 24px;
}

.field-card p,
.project-tag,
.news-grid p {
  margin: 0;
  color: var(--rust);
  font-weight: 800;
  text-transform: uppercase;
}

.field-card span {
  color: var(--muted);
}

.process-section {
  background: #edf3e9;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(36px, 7vw, 78px);
  align-items: start;
}

.process-copy {
  position: sticky;
  top: 116px;
}

.process-copy p:not(.section-label) {
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.timeline article span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--green-900);
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline p {
  color: var(--muted);
}

.project-section {
  background: var(--white);
}

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

.project-card {
  overflow: hidden;
}

.project-card-featured {
  grid-column: span 2;
  background: var(--green-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.project-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.project-card-featured img {
  height: 310px;
}

.project-card-body {
  padding: 24px;
}

.project-card:not(.project-card-featured) h3 {
  color: var(--green-900);
}

.project-card ul {
  margin: 14px 0 20px;
  padding-left: 18px;
  color: var(--muted);
}

.project-card-featured ul,
.project-card-featured dd {
  color: rgba(255, 255, 255, 0.76);
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 22px;
}

.project-stats div {
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.project-stats dt {
  margin: 0;
  color: var(--leaf);
  font-weight: 800;
}

.project-stats dd {
  margin: 4px 0 0;
  font-size: 0.86rem;
}

.text-button,
.small-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--green-700);
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.project-card-featured .text-button {
  color: var(--leaf);
}

.text-button::after,
.small-link::after {
  content: "→";
  margin-left: 8px;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 8vw, 86px);
}

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

.service-list article {
  padding: 26px;
}

.service-list p,
.values-grid p,
.news-grid span {
  margin: 0;
  color: var(--muted);
}

.values-section {
  background: var(--green-800);
}

.values-section .section-label,
.values-section h2 {
  color: var(--white);
}

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

.values-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.values-grid p {
  color: rgba(255, 255, 255, 0.72);
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 72px);
  align-items: start;
}

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

.media-grid img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  border-radius: 8px;
}

.media-grid img:nth-child(1) {
  grid-column: span 4;
  grid-row: span 2;
}

.media-grid img:nth-child(2),
.media-grid img:nth-child(3) {
  grid-column: span 2;
}

.media-grid img:nth-child(4) {
  grid-column: span 3;
  max-height: 230px;
}

.media-grid img:nth-child(5) {
  grid-column: span 3;
  max-height: 230px;
  object-position: center 35%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.video-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(12, 38, 24, 0.04);
}

.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--green-900);
  object-fit: contain;
}

.video-card figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 20px;
}

.video-card strong {
  color: var(--green-900);
}

.video-card span {
  color: var(--muted);
}

.news-section {
  background: #f1f3ed;
}

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

.news-grid article {
  padding: 28px;
}

.news-grid h3 {
  color: var(--green-900);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 8vw, 90px);
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p,
.contact-list {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list strong {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--green-900);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfa;
  padding: 13px 14px;
  color: var(--ink);
  outline: 0;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(58, 154, 95, 0.14);
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green-700);
  font-weight: 700;
}

.site-footer {
  background: #071e12;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
}

.footer-grid {
  align-items: center;
}

.footer-brand .brand-copy strong,
.footer-brand .brand-copy em {
  color: var(--white);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-weight: 700;
}

.copyright {
  margin: 0;
}

.project-modal {
  width: min(760px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.project-modal::backdrop {
  background: rgba(4, 18, 10, 0.72);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-content {
  padding: clamp(28px, 5vw, 44px);
}

.modal-content h2 {
  margin: 0 44px 18px 0;
  color: var(--green-900);
  line-height: 1.16;
}

.modal-content p {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.detail-grid dt {
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-grid dd {
  margin: 4px 0 0;
  color: var(--green-900);
  font-weight: 800;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    inset: 82px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    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-pill {
    text-align: center;
    margin-top: 8px;
  }

  .split-grid,
  .process-layout,
  .service-layout,
  .media-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-copy {
    position: static;
  }

  .vision-grid,
  .field-grid,
  .values-grid,
  .news-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .project-card-featured {
    grid-column: span 2;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 112px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .brand-logo-wrap {
    width: 58px;
    height: 44px;
  }

  .brand-copy em {
    display: none;
  }

  .hero-content {
    padding: 86px 0 34px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .hero-metrics,
  .vision-grid,
  .field-grid,
  .project-grid,
  .service-list,
  .values-grid,
  .news-grid,
  .video-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .section-head-row,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .project-stats {
    grid-template-columns: 1fr;
  }

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

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

  .media-grid img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    max-height: none;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
