:root {
  color-scheme: light;
  --ink: #182620;
  --muted: #4e5e55;
  --green: #1d5844;
  --deep: #14382e;
  --light: #f1f5f1;
  --line: #dce5dd;
  --white: #fff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #a85221; outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.045em; }
h3 { font-size: 1.28rem; letter-spacing: -.025em; }
.wrap { width: min(100% - 5rem, 1180px); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .75rem; z-index: 10; padding: .6rem 1rem; transform: translateY(-180%); background: var(--white); }
.skip:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 4; background: var(--white); border-bottom: 1px solid #e9eee9; }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo img { width: 132px; height: auto; }
.header-inner nav { display: flex; align-items: center; gap: clamp(1.15rem, 3vw, 2.75rem); }
.header-inner nav a { text-decoration: none; font-weight: 640; }
.header-inner nav a:not(.button):hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; background: #213e35; color: var(--white); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 34 26 / .96), rgb(10 34 26 / .82) 36%, rgb(10 34 26 / .31) 73%, rgb(10 34 26 / .12)), linear-gradient(0deg, rgb(4 18 13 / .41), transparent 40%); z-index: -1; }
.hero-content { display: flex; flex-direction: column; justify-content: center; min-height: clamp(470px, 66vh, 680px); padding-block: 5.5rem; position: relative; }
.eyebrow { color: var(--green); font-size: .875rem; font-weight: 730; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .7rem; }
.hero .eyebrow, .contact .eyebrow { color: #c6e6d3; }
.hero h1 { font-size: clamp(3rem, 6.55vw, 6rem); letter-spacing: -.068em; line-height: .98; max-width: 15ch; }
.hero-copy { font-size: clamp(1.04rem, 1.8vw, 1.25rem); max-width: 36rem; margin-top: 1.45rem; color: #edf5ef; line-height: 1.55; }
.buttons { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .74rem 1.15rem; min-height: 46px; border: 1px solid transparent; border-radius: .42rem; text-decoration: none; font-size: .95rem; font-weight: 690; line-height: 1.25; }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:hover { background: #154433; }
.hero .button-primary { background: #dbefdf; color: #17382e; }
.hero .button-primary:hover { background: #f0faf2; }
.button-outline { color: var(--white); border-color: #c3d4c9; background: rgb(11 34 26 / .38); }
.button-outline:hover { background: rgb(11 34 26 / .76); }
.button-secondary { border-color: #a6bbad; color: var(--deep); }
.button-secondary:hover { background: #e3ede5; }
.hero-caption { position: absolute; right: 0; bottom: 1.35rem; padding: .25rem .6rem; border-radius: .22rem; color: #fff; background: rgb(8 28 22 / .78); font-size: .82rem; }

.section { padding-block: clamp(3rem, 6vw, 6rem); }
.soft { background: var(--light); }
.section-head { margin-bottom: 2rem; }
.section-head > p:not(.eyebrow), .about p:not(.eyebrow), .inner-hero .wrap > p { max-width: 60ch; margin-top: .8rem; color: var(--muted); }
.split-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.service-grid, .project-grid, .scope-grid { display: grid; gap: 1.2rem; }
.service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { min-height: 244px; display: flex; flex-direction: column; align-items: start; padding: 1.35rem; gap: .65rem; border-radius: .65rem; border: 1px solid var(--line); text-decoration: none; background: var(--white); }
.service-card:hover { border-color: #5f8874; background: #f7faf7; }
.symbol { width: 46px; height: 46px; display: grid; place-items: center; border-radius: .45rem; background: #eaf3ec; color: var(--green); margin-bottom: .3rem; }
.symbol svg { width: 1.45rem; }
.service-card p, .project-card p, .scope-item p { color: var(--muted); line-height: 1.5; }
.card-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--green); font-size: .9rem; font-weight: 700; margin-top: auto; padding-top: .45rem; }
.card-link svg { width: 1.05rem; }
.project-grid, .scope-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; background: var(--white); }
.project-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-card > div { padding: 1.25rem; }
.project-card h3 + p, .scope-item p { margin-top: .55rem; }
.project-card .place { color: var(--green); font-weight: 670; font-size: .875rem; margin-bottom: .4rem; }
.about { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); }
.about img { border-radius: .65rem; width: 100%; height: auto; }
.about .button { margin-top: 1.25rem; }

.contact { background: var(--deep); color: var(--white); padding-block: clamp(2.8rem, 5vw, 4.25rem); }
.contact-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; align-items: center; }
.contact-inner p:not(.eyebrow) { margin-top: .85rem; color: #d8e9df; }
.contact-links { display: grid; gap: .65rem; justify-items: start; }
.contact-links a { display: inline-flex; align-items: center; gap: .6rem; padding-block: .22rem; text-underline-offset: .24em; overflow-wrap: anywhere; }
.contact-links svg { width: 1.25rem; flex: none; }
.footer { background: #eef3ef; padding-block: 2rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 112px; height: auto; }
.footer p { color: var(--muted); font-size: .9rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; }
.footer nav a { text-decoration-thickness: 1px; text-underline-offset: .24em; }
.inner-hero { background: #e9f2eb; padding: clamp(2.2rem, 5vw, 4.5rem) 0; }
.inner-hero h1 { font-size: clamp(2.55rem, 5.5vw, 4.5rem); letter-spacing: -.055em; max-width: 18ch; }
.inner-hero .wrap > p { font-size: 1.11rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .42rem; color: var(--muted); font-size: .9rem; margin-bottom: 1.1rem; }
.breadcrumb a::after { content: "/"; display: inline-block; margin-left: .42rem; }
.scope-item { border-top: 2px solid #83a593; padding: 1.15rem .2rem .5rem; }

@media (max-width: 940px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { min-height: 200px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 5rem; }
  .wrap { width: calc(100% - 2.25rem); }
  .header-inner { min-height: 64px; }
  .logo img { width: 116px; }
  .menu-toggle { display: grid; place-items: center; width: 45px; height: 44px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: .4rem; }
  .menu-toggle svg { width: 1.35rem; }
  .header-inner nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.125rem; background: var(--white); border-bottom: 1px solid var(--line); align-items: start; flex-direction: column; gap: .8rem; }
  .menu-toggle[aria-expanded="true"] + nav { display: flex; }
  .hero-content { min-height: 495px; padding-block: 3.8rem 5rem; }
  .hero::before { background: linear-gradient(90deg, rgb(10 34 26 / .92), rgb(10 34 26 / .57)), linear-gradient(0deg, rgb(4 18 13 / .42), transparent 60%); }
  .hero-image { object-position: 60% center; }
  .hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); }
  .section-head { margin-bottom: 1.4rem; }
  .split-head { flex-direction: column; align-items: start; }
  .about, .contact-inner, .scope-grid, .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 475px) {
  .service-grid { grid-template-columns: 1fr; gap: .85rem; }
  .service-card { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.related-services { border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1.25rem; }
.related-services h2 { font-size: 1.4rem; letter-spacing: -.015em; }
.related-services ul { display: flex; flex-wrap: wrap; gap: .65rem 1.3rem; list-style: none; padding: 0; margin: .7rem 0 0; }
.related-services a, .reading a:not(.button) { color: var(--green); text-underline-offset: .2em; }
.service-detail, .case-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.service-detail .project-grid { grid-template-columns: 1fr; margin-top: 1rem; }
.reading { max-width: 75ch; }
.reading :is(p,ul) { margin: .7rem 0 1.25rem; }
.reading h2 { font-size: clamp(1.45rem, 3.4vw, 2.35rem); }
.reading .source-note, .case-detail figcaption { color: var(--muted); font-size: .91rem; }
.case-detail figure { margin: 0; }
.case-detail img { width: 100%; height: auto; border-radius: .65rem; }
.case-detail figcaption { margin-top: .6rem; }
@media (max-width: 750px) {
  .service-detail, .case-detail { grid-template-columns: 1fr; }
}
