:root {
  --pine: #1a3c22;
  --pine-2: #275935;
  --cream: #fbfcfb;
  --cream-2: #eef2ec;
  --charcoal: #2b2b2b;
  --muted: #697269;
  --line: rgba(43, 43, 43, 0.14);
  --copper: #b7834f;
  --sky: #d7e6df;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(26, 60, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

h1,
h2,
h3 {
  margin: 0;
  font-family: Montserrat, Syne, Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.35rem, 7.5vw, 5.4rem);
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 3.25rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 54px);
  color: var(--cream);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
body:not(:has(.hero)) .site-header {
  background: rgba(251, 252, 251, 0.94);
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  opacity: 1;
  color: var(--copper);
}

.nav-cta {
  padding: 10px 15px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 128px clamp(18px, 5vw, 70px) 34px;
  overflow: hidden;
  color: var(--cream);
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 18, 12, 0.82), rgba(10, 18, 12, 0.36) 54%, rgba(10, 18, 12, 0.58)),
    linear-gradient(0deg, rgba(10, 18, 12, 0.82), rgba(10, 18, 12, 0.18) 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-bottom: 9vh;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(251, 252, 251, 0.84);
}

.hero-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 840px;
}

.hero-meta span {
  padding: 10px 14px;
  border: 1px solid rgba(251, 252, 251, 0.34);
  border-radius: 999px;
  color: rgba(251, 252, 251, 0.82);
}

.placeholder-video,
.placeholder-media,
.placeholder-thumb {
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 24%, rgba(183, 131, 79, 0.34), transparent 25%),
    linear-gradient(135deg, #102616, #1a3c22 45%, #728170);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-video::before,
.placeholder-media::before,
.placeholder-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 252, 251, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 252, 251, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
}

.placeholder-video span,
.placeholder-media span {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(18px, 4vw, 56px);
  z-index: 1;
  padding: 10px 13px;
  border: 1px solid rgba(251, 252, 251, 0.45);
  border-radius: 999px;
  color: rgba(251, 252, 251, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(251, 252, 251, 0.09), transparent);
  animation: scan 7s linear infinite;
}

@keyframes scan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

.eyebrow,
.section-kicker {
  color: var(--copper);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  font-size: 0.78rem;
}

.section-kicker {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.2;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  background: var(--cream);
  color: var(--pine);
}

.cta-section .button-primary,
.form-button {
  background: var(--pine);
  color: var(--cream);
}

.button-secondary {
  border: 1px solid rgba(251, 252, 251, 0.55);
  color: var(--cream);
}

.section,
.portfolio-section,
.contact-layout {
  padding: clamp(70px, 10vw, 130px) clamp(18px, 5vw, 70px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) 1fr;
  gap: clamp(30px, 7vw, 110px);
  border-bottom: 1px solid var(--line);
}

.split-copy p {
  max-width: 760px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-head {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-top: 10px;
}

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

.service-card,
.value-card,
.contact-form,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 12px 36px rgba(26, 60, 34, 0.06);
}

.service-card,
.value-card {
  padding: 26px;
}

.service-card h3,
.value-card h2 {
  margin-top: 30px;
  font-size: 1.4rem;
}

.service-card p,
.value-card p {
  margin-top: 14px;
  color: var(--muted);
}

.service-card a {
  display: inline-block;
  margin-top: 24px;
  color: var(--pine);
  font-weight: 900;
}

.card-number {
  color: var(--copper);
  font-weight: 900;
}

.trust-band {
  margin: 0 clamp(18px, 5vw, 70px) clamp(70px, 10vw, 120px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--pine);
  color: var(--cream);
  border-radius: var(--radius);
}

.trust-band > p {
  max-width: 900px;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1.16;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.logo-row span {
  min-height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(251, 252, 251, 0.25);
  border-radius: var(--radius);
  color: rgba(251, 252, 251, 0.76);
  text-align: center;
  font-weight: 800;
  font-size: 0.86rem;
}

.cta-section {
  padding-top: 0;
  max-width: 980px;
}

.cta-section h2 {
  margin: 10px 0 26px;
}

.page-hero {
  padding: 150px clamp(18px, 5vw, 70px) 62px;
  background:
    linear-gradient(135deg, rgba(26, 60, 34, 0.08), transparent 52%),
    var(--cream);
}

.services-hero {
  background:
    radial-gradient(circle at 78% 22%, rgba(183, 131, 79, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(26, 60, 34, 0.18), rgba(26, 60, 34, 0.05) 44%, var(--cream));
  border-bottom: 1px solid rgba(26, 60, 34, 0.18);
}

.page-hero h1 {
  max-width: 1060px;
  color: var(--pine);
}

.page-intro {
  max-width: 720px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.12rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: clamp(50px, 8vw, 100px) clamp(18px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.service-detail-green {
  background:
    linear-gradient(135deg, rgba(26, 60, 34, 0.97), rgba(39, 89, 53, 0.92)),
    var(--pine);
  color: var(--cream);
  border-top-color: rgba(251, 252, 251, 0.16);
}

.service-detail-green .eyebrow {
  color: #d9ad78;
}

.service-detail-green .detail-copy p:not(.eyebrow) {
  color: rgba(251, 252, 251, 0.76);
}

.service-detail-green .check-list li {
  border-top-color: rgba(251, 252, 251, 0.18);
}

.service-detail-green .check-list li::before {
  background: #d9ad78;
}

.service-detail-reverse .detail-copy {
  order: 2;
}

.detail-copy h2 {
  margin-top: 10px;
}

.detail-copy p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--line);
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
}

.media-card,
.about-media,
.mini-map {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.placeholder-alt {
  background:
    radial-gradient(circle at 75% 35%, rgba(215, 230, 223, 0.42), transparent 26%),
    linear-gradient(135deg, #183920, #315f3d 45%, #8f704d);
}

.placeholder-camera {
  background:
    radial-gradient(circle at 30% 30%, rgba(251, 252, 251, 0.2), transparent 22%),
    linear-gradient(135deg, #102616, #264f31 48%, #6f614a);
}

.placeholder-aerial {
  background:
    radial-gradient(circle at 30% 20%, rgba(215, 230, 223, 0.48), transparent 24%),
    linear-gradient(135deg, #17331e, #436e4e 48%, #243528);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: var(--pine);
  color: var(--cream);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 18px;
}

.portfolio-item {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item.tall {
  grid-row: span 2;
}

.portfolio-item.wide {
  grid-column: span 2;
}

.portfolio-thumb {
  position: relative;
  min-height: 240px;
  flex: 1;
}

.portfolio-copy {
  padding: 20px;
}

.portfolio-copy span {
  color: var(--copper);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.portfolio-copy h2 {
  margin-top: 6px;
  font-size: 1.35rem;
}

.portfolio-copy p {
  margin-top: 8px;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(8, 13, 9, 0.78);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-panel {
  width: min(1040px, 100%);
}

.lightbox-close {
  display: block;
  margin: 0 0 10px auto;
  border: 1px solid rgba(251, 252, 251, 0.45);
  border-radius: 999px;
  background: rgba(251, 252, 251, 0.1);
  color: var(--cream);
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #0f1711;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
}

.about-grid p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.contact-layout {
  align-items: start;
  padding-top: 34px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 38px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.form-button {
  grid-column: 1 / -1;
}

label {
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--pine);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--charcoal);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

.contact-card {
  padding: clamp(24px, 4vw, 38px);
}

.contact-card h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
}

.contact-card p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
}

.contact-methods {
  display: grid;
  gap: 10px;
  margin: 26px 0;
  font-weight: 900;
  color: var(--pine);
}

.mini-map {
  min-height: 230px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 46px clamp(18px, 5vw, 70px);
  background: var(--charcoal);
  color: var(--cream);
}

.site-footer p {
  max-width: 480px;
  margin-top: 12px;
  color: rgba(251, 252, 251, 0.68);
}

.site-footer a {
  color: inherit;
}

.footer-brand {
  color: var(--cream);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .site-nav {
    position: absolute;
    top: calc(100% - 8px);
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--charcoal);
    box-shadow: var(--shadow);
  }

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

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

  .nav-cta {
    border-radius: var(--radius);
  }

  .split-section,
  .service-detail,
  .about-grid,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-detail-reverse .detail-copy {
    order: 0;
  }

  .service-grid,
  .values,
  .logo-row,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item.wide,
  .portfolio-item.tall {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  .hero {
    min-height: 92svh;
  }

  .hero-content {
    padding-bottom: 4vh;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-meta {
    display: none;
  }

  .media-card,
  .about-media {
    min-height: 280px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

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