:root {
  --green-950: #121c19;
  --green-900: #1e332c;
  --green-800: #2a4a40;
  --accent: #9c8560;
  --paper: #f4f0e8;
  --paper-2: #ebe6dc;
  --concrete: #d4cec3;
  --ink: #1a2422;
  --muted: #5f6763;
  --line: rgba(26, 36, 34, 0.12);
  --white: #f7f5f1;
  --header-h: 4.5rem;
  --wrap: 76rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Figtree, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: Syne, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.35rem, 5.6vw, 4.6rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--green-900);
  color: var(--paper);
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

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

.note,
.caption {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  max-width: none;
}

.text-link {
  font-weight: 600;
  text-underline-offset: 0.25em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font: 600 0.92rem/1 Figtree, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  background: none;
  color: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary,
.btn-header {
  background: var(--green-900);
  color: var(--paper);
}

.btn-primary:hover,
.btn-header:hover {
  background: var(--green-950);
}

.btn-ghost {
  border-color: var(--green-900);
  color: var(--green-900);
}

.btn-ghost:hover {
  background: var(--green-900);
  color: var(--paper);
}

.btn-light {
  background: var(--paper);
  color: var(--green-900);
}

.btn-light:hover {
  background: var(--white);
}

.btn-ghost-light {
  border-color: rgba(244, 240, 232, 0.45);
  color: var(--paper);
}

.btn-ghost-light:hover {
  background: rgba(244, 240, 232, 0.1);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: rgba(244, 240, 232, 0.97);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-bar {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 10.5rem;
  height: auto;
}

.brand-light img {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--green-900);
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  display: block;
  width: 1.25rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-lines::before {
  top: -6px;
}

.menu-toggle-lines::after {
  top: 6px;
}

body.nav-open .menu-toggle-lines {
  background: transparent;
}

body.nav-open .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(20rem, 1fr) minmax(18rem, 1fr);
  min-height: calc(100svh - var(--header-h));
  background: var(--paper);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.25rem clamp(1.25rem, 5vw, 5rem) 4.25rem clamp(1.25rem, 6vw, 7rem);
}

.hero-copy h1 {
  max-width: 14ch;
}

.hero-visual {
  margin: 0;
  min-height: 28rem;
  align-self: stretch;
  overflow: hidden;
  width: 100%;
}

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

.intro .split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.intro-text {
  color: var(--muted);
  font-size: 1.08rem;
}

.service-grid,
.project-grid,
.teaser-grid,
.why-grid {
  display: grid;
  gap: 1.35rem;
}

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

.teaser-grid,
.why-grid {
  grid-template-columns: repeat(3, 1fr);
}

.media-frame {
  overflow: hidden;
  background: var(--concrete);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.ratio-4-3 {
  aspect-ratio: 4 / 3;
}

.ratio-wide {
  aspect-ratio: 16 / 10;
}

.service-card,
.project-card {
  text-decoration: none;
  color: inherit;
}

.service-card:hover img,
.project-card:hover img,
.teaser-grid article:hover img {
  transform: scale(1.04);
}

.service-card-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 0.85rem;
  padding: 1rem 0 0.4rem;
}

.service-card-body span,
.feature-copy .num,
.steps span {
  font-family: Syne, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.service-card-body h3,
.service-card-body p {
  grid-column: 2;
}

.service-card-body p,
.project-card p {
  color: var(--muted);
}

.why {
  background: var(--paper-2);
}

.why-grid article {
  padding: 1.75rem 1.5rem;
  border-top: 1px solid var(--line);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: none;
}

.steps li {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.steps p,
.feature-copy p {
  color: var(--muted);
}

.work-teaser .note {
  margin: -1rem 0 2rem;
}

.teaser-grid h3 {
  margin-top: 0.9rem;
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: 46rem;
  margin-left: max(1.25rem, calc((100% - var(--wrap)) / 2 + 1.25rem));
}

.band {
  padding: 4.5rem 0;
}

.band-alt {
  background: var(--paper-2);
}

.split-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.split-feature.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.split-feature.reverse .feature-copy {
  order: -1;
}

.feature-copy ul {
  margin-top: 1.25rem;
  padding-left: 1.1rem;
  color: var(--ink);
}

.feature-copy li + li {
  margin-top: 0.4rem;
}

.project-card h2 {
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.project-card .eyebrow {
  margin-top: 1rem;
}

.cta-band {
  background: var(--green-900);
  color: var(--paper);
  padding: 5rem 0;
}

.cta-inner {
  max-width: 42rem;
}

.cta-band p {
  color: rgba(244, 240, 232, 0.78);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-facts {
  list-style: none;
  margin-top: 1.75rem;
}

.contact-facts li + li {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.contact-facts span {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.contact-form {
  background: var(--white);
  padding: 1.75rem;
  border: 1px solid var(--line);
}

.field {
  margin-bottom: 1rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0.75rem 0.8rem;
  font: inherit;
  border-radius: 2px;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--green-800);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.form-error {
  color: #8a2a22;
  font-size: 0.92rem;
}

.form-success {
  color: var(--green-800);
  font-weight: 600;
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 22rem;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.site-footer {
  background: var(--green-950);
  color: var(--paper);
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.site-footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-footer ul {
  list-style: none;
}

.site-footer a {
  text-decoration: none;
  color: rgba(244, 240, 232, 0.86);
}

.site-footer a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-brand p,
.site-footer address {
  color: rgba(244, 240, 232, 0.7);
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(244, 240, 232, 0.12);
  padding-top: 1.25rem;
  font-size: 0.88rem;
  color: rgba(244, 240, 232, 0.55);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .service-grid,
  .project-grid,
  .teaser-grid,
  .why-grid,
  .steps,
  .split-feature,
  .split-feature.reverse,
  .intro .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-feature.reverse .feature-copy {
    order: 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    padding: 3rem 1.25rem 2rem;
  }

  .hero-visual {
    min-height: 0;
    width: 100%;
    height: min(78vw, 28rem);
  }
}

@media (max-width: 860px) {
  .btn-header {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 50;
    margin: 0;
    background: var(--green-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 1.5rem 1.5rem 3rem;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .site-nav a {
    width: 100%;
    color: var(--paper);
    font-size: 1.35rem;
    font-family: Syne, sans-serif;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(244, 240, 232, 0.12);
  }

  body.nav-open .site-nav {
    transform: none;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.75rem));
  }

  .section {
    padding: 3.5rem 0;
  }

  .service-grid,
  .project-grid,
  .teaser-grid,
  .why-grid,
  .steps,
  .split-feature,
  .contact-grid,
  .footer-grid,
  .field-row,
  .section-head.row {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    margin-left: auto;
  }

  h1 {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
