:root {
  --forest: #1c3a2e;
  --forest-deep: #12261e;
  --moss: #3f6b52;
  --sage: #8fa892;
  --stone: #ece9e2;
  --stone-dark: #d8d3c8;
  --ink: #161816;
  --muted: #5c635e;
  --paper: #f6f4ef;
  --white: #ffffff;
  --brass: #b08d4a;
  --font-display: "Newsreader", "Georgia", serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 4.25rem;
  --radius: 0.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

a {
  color: var(--forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--moss);
}

h1,
h2,
h3,
.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(22, 24, 22, 0.08);
  min-height: var(--header-h);
}

.site-header .navbar-brand img {
  height: 42px;
  width: auto;
}

.site-header .nav-link {
  color: var(--ink) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--forest) !important;
}

.btn-phone {
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-forest {
  --bs-btn-bg: var(--forest);
  --bs-btn-border-color: var(--forest);
  --bs-btn-hover-bg: var(--forest-deep);
  --bs-btn-hover-border-color: var(--forest-deep);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--forest-deep);
  --bs-btn-active-border-color: var(--forest-deep);
  --bs-btn-active-color: #fff;
}

.btn-outline-ink {
  --bs-btn-color: var(--ink);
  --bs-btn-border-color: rgba(22, 24, 22, 0.35);
  --bs-btn-hover-bg: var(--ink);
  --bs-btn-hover-border-color: var(--ink);
  --bs-btn-hover-color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) alternate infinite;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(18, 38, 30, 0.25) 0%, rgba(18, 38, 30, 0.72) 55%, rgba(18, 38, 30, 0.92) 100%),
    linear-gradient(90deg, rgba(18, 38, 30, 0.55) 0%, rgba(18, 38, 30, 0.15) 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 clamp(2.75rem, 7vw, 4.5rem);
  max-width: 40rem;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin-bottom: 1rem;
  color: var(--white);
}

.hero h1 em {
  font-style: italic;
  color: #e6d7b0;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-bottom: 1.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.hero-meta span::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brass);
  margin-right: 0.55rem;
  vertical-align: middle;
}

.page-hero {
  min-height: 52vh;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-tight {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section-muted {
  background: var(--stone);
}

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

.section-forest a {
  color: #e6d7b0;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

.section-forest .eyebrow {
  color: var(--sage);
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--moss);
}

.section-forest .section-title em {
  color: #e6d7b0;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.section-forest .section-lead {
  color: rgba(255, 255, 255, 0.8);
}

.split-panel {
  min-height: 70vh;
  display: grid;
}

@media (min-width: 992px) {
  .split-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.split-panel .panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
}

.split-panel .panel-media {
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

.split-panel .panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.panel-copy.dark {
  background: var(--forest-deep);
  color: var(--white);
}

.panel-copy.light {
  background: var(--paper);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.service-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(22, 24, 22, 0.1);
}

.panel-copy.dark .service-list li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.service-list .num {
  font-family: var(--font-display);
  color: var(--brass);
  font-size: 1.05rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--moss);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-grid .gallery-item:nth-child(1),
  .gallery-grid .gallery-item:nth-child(6) {
    grid-column: span 2;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: var(--forest-deep);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(18, 38, 30, 0.85));
  color: #fff;
  font-size: 0.9rem;
}

.feature-block {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(22, 24, 22, 0.1);
}

.feature-block h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.stat-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .stat-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  padding: 1.25rem 0;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(18, 38, 30, 0.92), rgba(28, 58, 46, 0.88)),
    url("../images/project-dusk.jpeg") center/cover;
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.cta-band h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.cta-band h2 em {
  font-style: italic;
  color: #e6d7b0;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3.5rem 0 2rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: #e6d7b0;
}

.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer .footer-brand img {
  height: 48px;
  width: auto;
  margin-bottom: 1rem;
}

.form-control,
.form-select {
  border-radius: var(--radius);
  border-color: rgba(22, 24, 22, 0.18);
  padding: 0.8rem 0.95rem;
  background: #fff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--moss);
  box-shadow: 0 0 0 0.2rem rgba(63, 107, 82, 0.2);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .gallery-item img,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
