:root {
  color-scheme: dark;
  --ink: #0b130f;
  --night: #111e16;
  --forest: #163022;
  --muted: #aabbb0;
  --text: #f6faf4;
  --paper: #f2f5e9;
  --paper-muted: #47584a;
  --acid: #dbfa76;
  --rule: #3c4d42;
  --paper-rule: #b9c7b4;
  --heading: "Arial", "Helvetica Neue", sans-serif;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 1rem/1.58 var(--body); }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a, button, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
::selection { color: var(--ink); background: var(--acid); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: .99; letter-spacing: -.06em; }
h2 { font-size: clamp(2.75rem, 6.55vw, 6.1rem); }
h3 { font-size: clamp(1.35rem, 2.6vw, 2.15rem); }
.frame { width: min(calc(100% - clamp(2rem, 9.5vw, 9rem)), 1320px); margin-inline: auto; }
.section-space { padding-block: clamp(4.5rem, 9vw, 9rem); }
.eyebrow { margin-bottom: 1.15rem; font-size: .875rem; font-weight: 750; letter-spacing: .11em; line-height: 1.45; text-transform: uppercase; color: var(--acid); }
.paper { color-scheme: light; background: var(--paper); color: var(--ink); }
.paper .eyebrow { color: #305c38; }
.skip { position: fixed; z-index: 10; inset: .75rem auto auto 1rem; padding: .65rem 1rem; background: var(--acid); color: var(--ink); transform: translateY(-170%); }
.skip:focus { transform: none; }

.topbar { position: relative; z-index: 2; background: var(--ink); border-bottom: 1px solid var(--rule); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.brand { display: inline-flex; align-items: center; width: clamp(115px, 12vw, 150px); }
.brand img { width: 100%; max-height: 44px; object-fit: contain; object-position: left center; }
.nav { display: flex; align-items: center; gap: clamp(1rem, 3.1vw, 3rem); }
.nav a { font-size: .95rem; text-decoration: none; font-weight: 650; padding-block: .55rem; }
.nav a:hover, .nav a[aria-current] { color: var(--acid); }
.nav .nav-contact { margin-left: .3rem; padding: .58rem 1.05rem; border: 1px solid var(--rule); }
.nav .nav-contact:hover { border-color: var(--acid); }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(560px, 49vw, 760px); background: var(--night); overflow: hidden; }
.hero-image, .hero::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { z-index: -2; object-fit: cover; object-position: center 48%; }
.hero::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #08120e 0%, rgba(8,18,14,.95) 15%, rgba(8,18,14,.76) 37%, rgba(8,18,14,.27) 66%, rgba(8,18,14,.05) 100%), linear-gradient(0deg, rgba(8,18,14,.64), transparent 52%);
}
.hero-inner { padding-block: clamp(3rem, 7vw, 6rem); }
.hero-copy { max-width: 46rem; }
.hero h1 { font-size: clamp(4.1rem, 10.1vw, 10.55rem); font-weight: 850; letter-spacing: -.092em; line-height: .8; margin-left: -.06em; }
.hero h1 em { font-style: normal; color: var(--acid); }
.hero-copy > p:not(.eyebrow) { max-width: 29rem; margin-top: 1.7rem; font-size: clamp(1rem, 1.5vw, 1.3rem); color: #e4eee4; }
.hero .eyebrow { margin-bottom: 1.65rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.85rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: .62rem 1.12rem;
  border: 1px solid transparent;
  font-size: .94rem;
  line-height: 1.25;
  text-decoration: none;
  font-weight: 720;
  transition: background-color .18s, border-color .18s, color .18s;
}
.primary { background: var(--acid); color: var(--ink); }
.primary:hover { background: #eefdb9; }
.outline { border-color: #78887e; color: var(--text); }
.outline:hover { border-color: var(--acid); color: var(--acid); }
.paper-outline { border-color: #718273; color: var(--ink); }
.paper-outline:hover { border-color: var(--forest); background: #e1e9d9; }
.dark-button { background: var(--ink); color: var(--text); }
.dark-button:hover { background: var(--forest); }

.agenda { padding-block: clamp(3.5rem, 7.2vw, 7rem); }
.agenda-layout, .expertise-grid, .roots-layout, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.agenda-note { border-left: 1px solid var(--paper-rule); padding: 1rem 0 1rem clamp(2rem, 5vw, 5rem); }
.agenda-note p, .roots-layout > div + div p, .about-grid > div + div p { font-size: clamp(1.05rem, 1.8vw, 1.36rem); margin-bottom: 1.4rem; max-width: 34rem; }
.agenda-note p { color: var(--paper-muted); }
.feature { background: var(--night); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-bottom: clamp(1.9rem, 4.5vw, 4.5rem); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.65rem, 3vw, 2.75rem) clamp(.9rem, 2.25vw, 2rem); }
.project-card a { display: block; text-decoration: none; }
.project-image { overflow: hidden; position: relative; aspect-ratio: 1 / 1.12; background: var(--forest); }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card a:hover img { transform: scale(1.035); }
.project-info { display: flex; justify-content: space-between; align-items: flex-end; gap: .65rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.project-info p { margin-bottom: .4rem; color: var(--muted); font-size: .875rem; }
.project-info span { flex-shrink: 0; color: var(--acid); font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.services-home .button { margin-top: 1.55rem; }
.expertise-grid { align-items: start; }
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--paper-rule); }
.service-list li { padding-block: 1.25rem; border-bottom: 1px solid var(--paper-rule); }
.service-list p { margin-top: .45rem; color: var(--paper-muted); }
.roots { background: var(--forest); }
.contact-band { padding-block: clamp(2.5rem, 5.5vw, 5rem); background: var(--acid); color: var(--ink); }
.contact-band .frame { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.35rem; }
.contact-band h2 { font-size: clamp(2.55rem, 5.5vw, 5.5rem); }
.contact-band .eyebrow { color: #28432b; }
.footer { background: var(--ink); }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 6vw, 5rem); }
.footer-main p { color: var(--muted); margin-top: .85rem; }
.footer h2 { margin-bottom: .5rem; font: 750 .875rem/1.5 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--acid); }
.footer nav a { display: block; width: fit-content; margin-block: .25rem; color: var(--muted); text-decoration: none; }
.footer nav a:hover, .footer-bottom a:hover { color: var(--acid); }
.footer-bottom { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding-block: 1.2rem; color: var(--muted); font-size: .875rem; }

.masthead { padding-block: clamp(4rem, 9.5vw, 9rem); background: var(--forest); }
.masthead h1, .detail-copy h1 { font-size: clamp(3.7rem, 9vw, 9.5rem); max-width: 14ch; }
.lede { color: #e1ebe1; font-size: clamp(1.15rem, 2.05vw, 1.55rem); max-width: 36rem; margin-top: 1.4rem; }
.archive { padding-top: clamp(2.2rem, 5vw, 4.25rem); }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: .9rem; padding-bottom: 1.5rem; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); border-bottom: 1px solid var(--rule); }
.filters label { display: block; margin-bottom: .45rem; font-weight: 620; font-size: .875rem; }
.filters select { appearance: none; background: var(--night) linear-gradient(45deg, transparent 48%, var(--muted) 49% 57%, transparent 58%) calc(100% - 18px) 52% / 6px 6px no-repeat; border: 1px solid #78887e; color: var(--text); font: inherit; padding: .56rem 2rem .56rem .7rem; min-width: 9rem; border-radius: 0; }
#results { margin-left: auto; color: var(--muted); font-size: .9rem; padding-bottom: .5rem; }
.no-results { padding: 2rem 0; }
.archive-link { margin-top: 2rem; }
.service-full h2 { font-size: clamp(1.9rem, 4.2vw, 3.8rem); }
.service-full li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: clamp(1.4rem, 4vw, 3rem); }
.service-full .button { flex: 0 0 auto; }
.about-grid h2, .contact-grid h2 { font-size: clamp(2.2rem, 4.9vw, 4.6rem); }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.contact-grid article { padding-top: 1.6rem; border-top: 1px solid var(--paper-rule); }
.contact-grid article p { margin: .95rem 0 1.2rem; color: var(--paper-muted); }
.text-link { display: block; width: fit-content; text-underline-offset: .25em; margin-top: 1rem; }
.project-detail { background: var(--night); padding-block: clamp(2.5rem, 6vw, 6rem); }
.detail-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.75rem, 6vw, 7rem); align-items: center; }
.detail-grid img { width: 100%; max-height: 720px; object-fit: contain; }
.detail-copy > .eyebrow { margin-top: 2rem; }
.detail-copy .place { margin-top: .9rem; color: var(--acid); font-weight: 650; }
.detail-copy .text-link { margin-top: 1.25rem; }
.case-stat { display: block; color: var(--acid); font: bold clamp(2.9rem, 6vw, 5.25rem)/1 var(--heading); letter-spacing: -.07em; margin-bottom: .45rem; }

@media (max-width: 799px) {
  .nav-shell { min-height: 66px; flex-wrap: wrap; gap: 0 1.5rem; }
  .nav { width: 100%; flex-wrap: wrap; gap: .35rem 1.5rem; padding-block: .25rem .9rem; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; border: 1px solid #78887e; padding: .3rem .75rem; background: transparent; color: var(--text); font: 650 .9rem var(--body); }
  .menu-toggle:not([hidden]) + .nav:not([data-open]) { display: none; }
  .nav .nav-contact { margin-left: 0; }
  .hero { min-height: 560px; }
  .hero-image { object-position: 63% center; }
  .hero::before { background: linear-gradient(90deg, rgba(8,18,14,.93), rgba(8,18,14,.30)), linear-gradient(0deg, rgba(8,18,14,.90), transparent 72%); }
  .hero h1 { font-size: clamp(4.1rem, 13.7vw, 7.25rem); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-info { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 590px) {
  .hero { min-height: 540px; align-items: end; }
  .hero::before { background: linear-gradient(0deg, #08120e 1%, rgba(8,18,14,.88) 32%, rgba(8,18,14,.26) 85%), linear-gradient(90deg, rgba(8,18,14,.55), transparent); }
  .hero .eyebrow { max-width: 260px; }
  .hero-inner { padding-block: 5rem 2.8rem; }
  .agenda-layout, .expertise-grid, .roots-layout, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; }
  .agenda-note { border-left: 0; border-top: 1px solid var(--paper-rule); padding: 1.25rem 0 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-info { flex-direction: row; align-items: end; }
  .service-full li { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main > div { grid-column: 1 / -1; }
  .detail-grid img { max-height: 580px; }
}

@media (max-width: 350px) {
  .hero h1 { font-size: 3.45rem; }
  .filters select { min-width: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.initiatives { padding-block: clamp(2rem, 4.5vw, 4rem); }
.initiatives .frame { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2.5rem; }
.initiatives h2 { font-size: clamp(1.95rem, 3.6vw, 3.2rem); }
.initiatives .frame > div { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.initiatives .text-link { margin: 0; }
