@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  color-scheme: light;
  --forest: #102721;
  --forest-deep: #0b1c18;
  --green: #295347;
  --ivory: #f8f6ef;
  --paper: #fffdf7;
  --ink: #142722;
  --body: #42524a;
  --gold: #e3c280;
  --gold-dark: #886124;
  --line: #dadcd0;
  --sans: 'Instrument Sans', 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --pad: clamp(1.25rem, 5.4vw, 6rem);
  --section-space: clamp(4.25rem, 8vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.55 var(--sans); }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #b78538; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(100% - var(--pad) * 2, 83rem); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; transform: translateY(-200%); padding: .7rem 1rem; background: white; }
.skip-link:focus { transform: translateY(0); }
.icon { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.section { padding-block: var(--section-space); }
.eyebrow { display: flex; align-items: center; gap: .6rem; color: var(--green); font: 700 .71rem/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 1.4rem; height: 1px; flex: none; background: var(--gold-dark); }
.period { color: var(--gold-dark); }

.site-header { position: sticky; top: 0; z-index: 4; background: var(--forest-deep); color: var(--ivory); border-bottom: 1px solid #ffffff20; }
.header-inner { display: flex; min-height: 5.35rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; width: max-content; max-width: 100%; }
.brand img { flex: none; }
.brand span { display: grid; }
.brand strong { font-size: 1.28rem; line-height: 1; letter-spacing: .125em; }
.brand small { margin-top: .36rem; color: #d7e1d9; font-size: .68rem; line-height: 1.2; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.1rem, 3.3vw, 3.1rem); font-size: .9rem; font-weight: 600; }
.site-header nav > a:hover { color: var(--gold); }
.nav-cta { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .6rem; border: 1px solid #e3c28085; color: var(--gold); padding: .42rem .85rem .42rem 1rem; transition: background .2s; }
.site-header .nav-cta:hover { background: var(--gold); color: var(--forest-deep); }
.nav-cta .icon { width: 1rem; height: 1rem; }
.menu-toggle { display: none; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-rows: 1fr auto; min-height: clamp(37rem, 75vh, 54rem); background: #172f27; color: var(--ivory); }
.hero-visual { position: absolute; inset: 0; z-index: -1; background: linear-gradient(89deg, #0c211bf7 0%, #102721e5 17%, #0f251ec4 39%, #10262055 68%, #142a2020 100%), linear-gradient(0deg, #0b201bd9, transparent 36%), url('industry.jpg') center 52% / cover; }
.hero-inner { align-self: center; padding-block: clamp(4.5rem, 9vw, 8rem) 2.1rem; }
.hero .eyebrow, .contact .eyebrow { color: var(--gold); }
.hero .eyebrow > span, .contact .eyebrow > span { background: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.027em; }
h1 { margin-block: 1.15rem 1.4rem; font-size: clamp(3.8rem, 8vw, 7.7rem); line-height: .9; }
.hero .period, .contact .period { color: var(--gold); }
.hero-deck { max-width: 34rem; color: #f0f3eb; font-size: clamp(1.03rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 3.25rem; padding: .67rem 1rem .67rem 1.15rem; font-size: .94rem; font-weight: 700; transition: background .2s, transform .2s; }
.button-gold { background: var(--gold); color: var(--forest-deep); }
.button-gold:hover { background: #f4d796; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; width: fit-content; min-height: 2.75rem; color: var(--green); font-weight: 700; }
.text-link .icon { width: 1.04rem; height: 1.04rem; transition: transform .2s; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.text-link:hover .icon { transform: translate(2px, -2px); }
.text-link.light { color: var(--ivory); }
.hero-end { min-height: 4.05rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #ffffff44; color: #e5ece5; font-size: .82rem; }
.hero-end span, .hero-end a { display: inline-flex; align-items: center; gap: .55rem; }
.hero-end a { border-radius: 50%; min-width: 2.75rem; min-height: 2.75rem; justify-content: center; border: 1px solid #f8f6ef70; }
.hero-end a:hover { background: #f8f6ef24; }
.hero-end span .icon { color: var(--gold); width: 1rem; height: 1rem; }

.proof { background: #eaece2; border-bottom: 1px solid var(--line); }
.proof-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.55rem; }
.proof-inner > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .18rem; padding: .4rem 1.45rem; border-left: 1px solid #c9d0c3; }
.proof-inner > div:first-child { padding-left: 0; border: 0; }
.proof dt { color: var(--body); font-size: .83rem; font-weight: 600; }
.proof dd { color: var(--green); font: 400 clamp(2.4rem, 5vw, 4rem)/.96 var(--serif); letter-spacing: -.04em; }
.proof dd span { margin-left: .1em; color: var(--gold-dark); }

.section-heading { display: grid; grid-template-columns: 1.45fr .7fr; gap: clamp(1.1rem, 5vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4.5vw, 3.75rem); }
h2 { font-size: clamp(3rem, 6.15vw, 6rem); line-height: .92; margin-top: .65rem; text-wrap: balance; }
.section-heading > p, .about-intro > p:not(.eyebrow) { max-width: 36rem; color: var(--body); font-size: clamp(1rem, 1.45vw, 1.16rem); }
.section-heading > p { padding-bottom: .2rem; }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; align-items: start; }
.service { border: 1px solid var(--line); background: var(--paper); transition: background .2s, border-color .2s; }
.service:hover, .service[open] { border-color: #9cae9b; background: #f1f3e9; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.service summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .95rem; padding: clamp(.9rem, 2.05vw, 1.65rem); }
.service-icon { width: 2.66rem; height: 2.66rem; padding: .58rem; color: var(--green); border: 1px solid #a5baaa; border-radius: 50%; }
.service summary strong { display: block; font-size: clamp(.97rem, 1.45vw, 1.15rem); line-height: 1.25; }
.service summary small { display: block; margin-top: .3rem; color: var(--body); font-size: .86rem; line-height: 1.36; }
.expand { color: var(--green); }
details summary .icon:last-child { transition: transform .24s; }
details[open] summary .icon:last-child { transform: rotate(45deg); }
.service-detail { margin: 0 clamp(.9rem, 2.05vw, 1.65rem); border-top: 1px solid var(--line); padding-block: .8rem 1.1rem; color: var(--body); font-size: .92rem; }
.service-detail ul { padding-left: 1.2rem; margin-bottom: 0; }
.service-detail li + li { margin-top: .25rem; }
.audit-callout { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem; border-left: 3px solid var(--gold-dark); margin-top: 1.25rem; background: #edeee3; padding: clamp(1rem, 2.1vw, 1.6rem); }
.audit-callout > .icon { width: 1.65rem; height: 1.65rem; align-self: start; color: var(--green); }
.audit-callout h3 { font-size: 1rem; }
.audit-callout p { margin-top: .25rem; color: var(--body); font-size: .88rem; }
.audit-callout .text-link { font-size: .83rem; white-space: nowrap; }

.work { background: #eeeee5; border-block: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .48rem; margin-bottom: 1.25rem; }
.filters button { cursor: pointer; min-height: 2.75rem; padding: .45rem .8rem; border: 1px solid #aab8a9; color: var(--green); background: transparent; font-size: .86rem; font-weight: 700; transition: color .2s, background .2s; }
.filters button:hover { background: #dce6da; }
.filters button[aria-pressed=true] { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
.projects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.project { background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.project-image { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; height: clamp(7.7rem, 12vw, 11rem); color: #f4ddad; background: var(--project-bg, #27473f); }
.project-image::before { content: ''; position: absolute; z-index: -1; inset: -36%; background: var(--pattern); opacity: .30; transform: rotate(-13deg) scale(1.06); transition: transform .5s; }
.project:hover .project-image::before { transform: rotate(-5deg) scale(1.14); }
.project-image .icon { width: clamp(2.35rem, 4.2vw, 3.5rem); height: auto; stroke-width: 1.15; overflow: visible; filter: drop-shadow(0 2px 12px #132722); }
.textile { --project-bg: #2b5147; --pattern: repeating-linear-gradient(90deg, transparent 0 1.25rem, #d9c58d 1.3rem 1.35rem), repeating-linear-gradient(0deg, transparent 0 .7rem, #f0e1b8 .74rem .77rem); }
.water { --project-bg: #25434b; --pattern: repeating-radial-gradient(ellipse at 62% 55%, transparent 0 .78rem, #c6e5d9 .83rem .86rem); }
.climate { --project-bg: #405939; --pattern: repeating-radial-gradient(ellipse at 40% 25%, transparent 0 1.2rem, #ead8a0 1.24rem 1.27rem); }
.compliance { --project-bg: #514637; --pattern: repeating-linear-gradient(135deg, transparent 0 1rem, #e3c384 1.02rem 1.06rem), repeating-linear-gradient(45deg, transparent 0 1rem, #e3c384 1.02rem 1.06rem); }
.investment { --project-bg: #233e38; --pattern: repeating-linear-gradient(95deg, transparent 0 2.25rem, #c8d8a6 2.3rem 2.34rem), linear-gradient(140deg, transparent 30%, #c1b581 31%, transparent 32% 70%, #d0ca9a 71%, transparent 72%); }
.evaluation { --project-bg: #3a4740; --pattern: radial-gradient(circle, #ead8a0 1.2px, transparent 1.7px) 0 0 / 16px 16px; }
.project-body { padding: clamp(.95rem, 2vw, 1.65rem); }
.project-meta { display: flex; flex-wrap: wrap; gap: .25rem .48rem; align-items: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1.4; text-transform: uppercase; color: var(--green); }
.project-meta span { width: .22rem; height: .22rem; background: var(--gold-dark); border-radius: 50%; }
.project h3 { margin-top: .6rem; font: 400 clamp(1.68rem, 2.8vw, 2.38rem)/1.02 var(--serif); }
.project-body > p:not(.project-meta), .project details > p { margin-top: .7rem; color: var(--body); font-size: .89rem; }
.project details { margin-top: .9rem; border-top: 1px solid var(--line); }
.project details summary { min-height: 2.75rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--green); font-size: .86rem; font-weight: 700; padding-top: .35rem; }
.project details summary:hover { text-decoration: underline; text-underline-offset: .25em; }
.project details > p { margin-top: 0; }

.partners { background: var(--forest); color: var(--ivory); padding-block: 2rem 2.55rem; }
.partners h2 { margin: 0 0 1rem; color: var(--gold); }
.partners h2 span { background: var(--gold); }
.partners ul { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; }
.partners li { display: grid; align-items: center; min-height: 3.5rem; border-left: 1px solid #ffffff30; padding-inline: 1rem; color: #e9eee6; font-size: clamp(.85rem, 1.45vw, 1.11rem); font-weight: 600; line-height: 1.2; }
.partners li:first-child { padding-left: 0; border: 0; }
.about-grid, .contact-grid { display: grid; grid-template-columns: 1.2fr .85fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.about h2 { max-width: 13ch; }
.about-intro > p:not(.eyebrow) { margin-top: 1.3rem; }
.sectors { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: 1.55rem; }
.sectors span { border: 1px solid #bdcbb9; color: var(--green); font-size: .76rem; font-weight: 600; padding: .32rem .57rem; }
.process { position: relative; background: #ecefe4; border-top: 3px solid var(--gold-dark); padding: clamp(1.2rem, 3.25vw, 2.65rem); }
.process h3 { font: 400 2.1rem/1 var(--serif); }
.process ol { list-style: none; counter-reset: step; margin: 1rem 0 0; padding: 0; }
.process li { counter-increment: step; display: grid; grid-template-columns: 1.8rem 1fr; align-items: start; gap: .7rem; padding: .67rem 0; border-top: 1px solid #cfd8c8; }
.process li::before { content: counter(step, decimal-leading-zero); padding-top: .1rem; color: var(--gold-dark); font-size: .73rem; font-weight: 700; letter-spacing: .07em; }
.process li strong { font-size: .95rem; }
.process li p { margin-top: .15rem; color: var(--body); font-size: .85rem; }

.contact { background: radial-gradient(ellipse at 2% 25%, #2a4b3d, transparent 60%), var(--forest); color: var(--ivory); }
.contact h2 { max-width: 11ch; }
.contact-grid { align-items: center; }
.contact-grid > div > p:not(.eyebrow) { max-width: 32rem; margin-top: 1.35rem; color: #e1eae0; font-size: 1.06rem; }
.contact .button { margin-top: 1.5rem; }
.contact-details { border-block: 1px solid #f8f6ef50; font-style: normal; }
.contact-details > div { display: flex; gap: .85rem; align-items: start; padding-block: 1.02rem; }
.contact-details > div + div { border-top: 1px solid #f8f6ef35; }
.contact-details .icon { color: var(--gold); margin-top: .2rem; }
.contact-details span { display: block; color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .17rem; }
.contact-details a { display: block; min-height: 1.75rem; width: fit-content; overflow-wrap: anywhere; }
.contact-details a:hover { text-decoration: underline; text-underline-offset: .22em; }
.footer { padding-block: 1.5rem; background: var(--forest-deep); color: #d7e1d9; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.35rem; }
.footer p, .footer .text-link { font-size: .78rem; }

@media (prefers-reduced-motion: no-preference) {
  .hero-inner { animation: enter .68s ease-out both; }
  .reveal.is-visible { animation: enter .48s ease-out both; }
  .project.reappearing { animation: enter .3s ease-out both; }
  @keyframes enter { from { opacity: .42; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 940px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners ul { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: .65rem; }
  .partners li:nth-child(4) { padding-left: 0; border: 0; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 5rem; }
  .header-inner { min-height: 4.35rem; }
  .site-header nav { gap: .65rem 1rem; flex-wrap: wrap; padding-block: .75rem; }
  .js .menu-toggle { display: grid; place-content: center; gap: .35rem; width: 2.75rem; height: 2.75rem; flex: none; background: transparent; color: var(--ivory); border: 1px solid #f8f6ef55; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { width: 1.1rem; height: 1px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded=true] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded=true] span:nth-child(2) { transform: translateY(-.2rem) rotate(-45deg); }
  .js .site-header nav { display: none; position: absolute; top: 100%; inset-inline: 0; width: 100%; background: var(--forest-deep); padding: .55rem var(--pad) 1rem; border-bottom: 1px solid #f8f6ef42; }
  .js .site-header nav.is-open { display: grid; }
  .js .site-header nav > a { min-height: 2.75rem; display: flex; align-items: center; }
  .js .nav-cta { width: fit-content; }
  .hero { min-height: clamp(35rem, 80svh, 45rem); }
  .hero-visual { background-position: center, center, 63% center; }
  .hero-inner { padding-block: 4rem 2rem; }
  .hero-end { min-height: 3.55rem; }
  .section-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 1rem; }
  .proof-inner > div { padding-inline: .8rem; }
  .proof dt { font-size: .74rem; }
  .services { grid-template-columns: 1fr; }
  .audit-callout { grid-template-columns: auto 1fr; gap: .7rem .85rem; }
  .audit-callout a { grid-column: 2; }
  .about h2, .contact h2 { max-width: 15ch; }
}

@media (max-width: 450px) {
  h1 { font-size: clamp(3.25rem, 13vw, 4.25rem); }
  .hero .eyebrow { font-size: .61rem; letter-spacing: .1em; }
  .hero-actions { gap: .65rem .85rem; }
  .hero-actions .text-link, .hero-actions .button { font-size: .87rem; }
  .proof-inner { grid-template-columns: 1fr 1fr; padding-block: .82rem; }
  .proof-inner > div { min-height: 5.1rem; padding-block: .55rem; }
  .proof-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-inner > div:nth-child(n+3) { border-top: 1px solid #c9d0c3; padding-top: .72rem; }
  .projects { grid-template-columns: 1fr; }
  .project-image { height: 8rem; }
  .partners ul { grid-template-columns: 1fr 1fr; }
  .partners li:nth-child(4) { padding-left: 1rem; border-left: 1px solid #ffffff30; }
  .partners li:nth-child(odd) { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
