:root {
  --ink: #172018;
  --muted: #586553;
  --leaf: #2f4528;
  --leaf-2: #465f37;
  --moss: #e8eddf;
  --paper: #fbfaf4;
  --stone: #d8d0c2;
  --timber: #9a623b;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(23, 32, 24, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  z-index: 20;
  background: var(--white);
  padding: 0.75rem 1rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(251, 250, 244, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(47, 69, 40, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
}

.brand strong,
.brand small {
  display: block;
}

.brand small,
.eyebrow,
.fine,
.form-note,
.site-footer p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a,
.site-footer a {
  text-decoration: none;
  font-weight: 700;
}

.header-call {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: none;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 18, 13, 0.78), rgba(12, 18, 13, 0.44), rgba(12, 18, 13, 0.12));
  pointer-events: none;
}

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

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

.hero-media picture {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
  padding: clamp(7rem, 15vw, 12rem) clamp(1rem, 6vw, 5rem) clamp(4rem, 10vw, 7rem);
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(2.6rem, 7vw, 6.2rem);
  line-height: 0.96;
}

.hero p {
  max-width: 700px;
  font-size: 1.16rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 0.85rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.actions,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
}

.btn-primary {
  background: var(--leaf);
  color: var(--white);
}

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

.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.section > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  margin-bottom: 2rem;
}

.section-head h2,
.contact-band h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.section-head p {
  max-width: 760px;
  line-height: 1.7;
  color: var(--muted);
  font-size: 1.06rem;
}

.intro-band {
  background: var(--leaf);
  color: var(--white);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.visual-impact {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(180px, 0.85fr));
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--ink);
}

.visual-impact figure {
  position: relative;
  min-height: 280px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--leaf);
}

.visual-impact-main {
  min-height: 420px;
}

.visual-impact img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-impact figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.25rem;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(0deg, rgba(12, 18, 13, 0.82), rgba(12, 18, 13, 0));
  font-weight: 900;
}

.visual-impact figcaption span {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  line-height: 1.45;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.metrics div {
  background: var(--leaf);
  padding: 1.5rem;
}

.metrics strong,
.metrics span {
  display: block;
}

.metrics strong {
  font-size: 1.35rem;
}

.metrics span {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 0.35rem;
}

.split,
.contact-grid,
.project-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.feature-panel,
.card,
.quote-form,
details,
.spec-list,
.project-card {
  background: var(--white);
  border: 1px solid rgba(47, 69, 40, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 24, 0.08);
}

.feature-panel,
.card,
details,
.spec-list {
  padding: 1.35rem;
}

.feature-panel h3,
.card h3,
.project-card h3 {
  margin-top: 0;
}

.feature-panel li,
.card p,
.project-card p,
details p,
.spec-list dd {
  color: var(--muted);
  line-height: 1.65;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 220px;
  border-color: rgba(47, 69, 40, 0.2);
}

.card h3,
.card p {
  margin-bottom: 0;
}

.card a,
.project-card a,
.pill-row a {
  color: var(--leaf);
  font-weight: 900;
}

.earth {
  background: var(--moss);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.photo-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: minmax(220px, 28vw);
  gap: 1rem;
}

.showcase-tile {
  position: relative;
  min-height: 220px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--leaf);
  box-shadow: 0 12px 32px rgba(23, 32, 24, 0.08);
}

.showcase-tile.is-large {
  grid-row: span 2;
}

.showcase-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(0deg, rgba(12, 18, 13, 0.78), rgba(12, 18, 13, 0));
}

.showcase-tile strong,
.showcase-tile span {
  display: block;
}

.showcase-tile span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.project-story-grid {
  display: grid;
  gap: 1.25rem;
}

.project-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: stretch;
  padding: 1rem;
  background: var(--white);
  border: 1px solid rgba(47, 69, 40, 0.14);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 24, 0.08);
}

.project-story-copy {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: clamp(0.5rem, 2vw, 1rem);
}

.project-story-copy h3,
.project-story-copy p,
.project-story-copy ul {
  margin: 0;
}

.project-story-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.project-story-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  list-style: none;
}

.project-story-copy li {
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 0.45rem 0.65rem;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

.project-story-copy .btn {
  justify-self: start;
}

.project-story-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(160px, 1fr));
  gap: 0.6rem;
  min-height: 360px;
}

.project-story-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.project-story-gallery img:first-child {
  grid-row: span 2;
}

.project-card {
  overflow: hidden;
}

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

.project-card div {
  padding: 1.25rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(47, 69, 40, 0.14);
}

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

.gallery figcaption {
  padding: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.pill-row a {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.spec-list {
  display: grid;
  gap: 1rem;
}

.spec-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
}

.spec-list dt {
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
}

.quote-form {
  padding: 1.35rem;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  padding: 0.75rem;
  font: inherit;
  background: var(--paper);
}

textarea {
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.contact-band {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  background: var(--leaf);
  color: var(--white);
}

.contact-band > * {
  max-width: 1180px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding: 3rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid rgba(47, 69, 40, 0.14);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fine {
  grid-column: 1 / -1;
  margin: 0;
}

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

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav,
  .header-call {
    display: none;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    display: grid;
    justify-content: stretch;
  }

  .nav-toggle {
    display: inline-grid;
    gap: 5px;
    justify-self: end;
    border: 0;
    background: var(--leaf);
    border-radius: 6px;
    padding: 0.75rem;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
  }

  .metrics,
  .visual-impact,
  .card-grid,
  .project-grid,
  .photo-showcase,
  .project-story,
  .gallery,
  .split,
  .contact-grid,
  .project-detail,
  .site-footer,
  .form-row {
    grid-template-columns: 1fr;
  }

  .visual-impact figure,
  .visual-impact-main {
    min-height: 260px;
  }

  .showcase-tile.is-large {
    grid-row: span 1;
  }

  .project-story-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .project-story-gallery img {
    aspect-ratio: 4 / 3;
  }

  .project-story-gallery img:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }

  .hero {
    min-height: 74vh;
  }

  .contact-band {
    display: grid;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .brand small {
    display: none;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
