:root {
  --forest: #2e563f;
  --forest-dark: #183526;
  --leaf: #517051;
  --mist: #e9efe9;
  --cream: #f7f5ef;
  --ink: #1b2820;
  --muted: #647169;
  --white: #fff;
  --line: rgba(24, 53, 38, .16);
  --shadow: 0 24px 70px rgba(17, 48, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--cream); color: var(--ink); font-family: "Merriweather", Georgia, serif; font-size: 1rem; line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.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; z-index: 100; top: 10px; left: 10px; transform: translateY(-140%); padding: .7rem 1rem; background: #fff; color: var(--forest-dark); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; height: 86px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.25rem, 5vw, 5.5rem); color: #fff; transition: background .3s, box-shadow .3s, height .3s; }
.site-header.scrolled { height: 72px; background: rgba(24, 53, 38, .96); box-shadow: 0 10px 30px rgba(0,0,0,.14); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font: 600 clamp(1.15rem, 2vw, 1.45rem)/1 "Poppins", sans-serif; letter-spacing: .01em; }
.brand img, .footer-brand img { object-fit: contain; filter: brightness(0) invert(1); }
nav { display: flex; gap: clamp(1.5rem, 3vw, 3.5rem); font: 500 .92rem/1 "Poppins", sans-serif; }
nav a { position: relative; text-decoration: none; }
nav a::after { position: absolute; left: 0; right: 100%; bottom: -.55rem; height: 2px; background: #fff; content: ""; transition: right .2s; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.menu-button { display: none; border: 0; background: transparent; padding: .5rem; }

.hero { position: relative; min-height: min(860px, 92vh); display: grid; align-items: center; overflow: hidden; color: #fff; background: var(--forest-dark); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: settle 1.2s ease-out both; }
.hero-shade { background: linear-gradient(90deg, rgba(11, 32, 21, .88) 0%, rgba(20, 55, 34, .62) 46%, rgba(20, 55, 34, .12) 80%), linear-gradient(0deg, rgba(13, 41, 25, .35), transparent 45%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 88vw); margin-left: clamp(1.25rem, 10vw, 10rem); padding: 9rem 0 5rem; }
.eyebrow { margin: 0 0 1.1rem; color: #9fc2a8; font: 600 .76rem/1.4 "Poppins", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 800px; margin: 0; font: 600 clamp(2.7rem, 6.2vw, 5.8rem)/1.05 "Poppins", sans-serif; letter-spacing: -.045em; text-wrap: balance; }
.hero-copy { max-width: 590px; margin: 1.6rem 0 2.3rem; font-size: clamp(1.05rem, 1.7vw, 1.25rem); line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem; min-height: 54px; padding: .85rem 1.45rem; border: 1px solid transparent; text-decoration: none; font: 600 .9rem/1 "Poppins", sans-serif; letter-spacing: .02em; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #fff; color: var(--forest-dark); }
.button-dark { background: var(--forest-dark); color: #fff; }
.scroll-cue { position: absolute; z-index: 2; right: clamp(1.25rem, 5vw, 5rem); bottom: 2.3rem; width: 34px; height: 52px; border: 1px solid rgba(255,255,255,.55); border-radius: 99px; }
.scroll-cue span { position: absolute; top: 10px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #fff; animation: scroll 1.8s infinite; }

.stats { position: relative; z-index: 3; width: min(1120px, calc(100% - 2.5rem)); margin: -72px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; box-shadow: var(--shadow); }
.stat { min-height: 145px; display: flex; align-items: center; justify-content: center; gap: 1.25rem; padding: 1.5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { color: var(--forest); font: 600 clamp(2.4rem, 4vw, 4rem)/1 "Poppins", sans-serif; letter-spacing: -.05em; }
.stat span { color: var(--muted); font: 500 .82rem/1.5 "Poppins", sans-serif; text-transform: uppercase; letter-spacing: .08em; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 7rem); }
.section-heading { width: min(710px, 100%); margin: 0 auto 3.5rem; text-align: center; }
.section-heading h2, .mission h2, .contact h2 { margin: 0; font: 600 clamp(2.15rem, 4.5vw, 4.2rem)/1.12 "Poppins", sans-serif; letter-spacing: -.04em; text-wrap: balance; }
.section-heading > p:last-child { color: var(--muted); }
.section-heading.light .eyebrow { color: #b9d1bf; }

.values { margin-top: 7rem; color: #fff; background: var(--forest); }
.values-grid { width: min(1240px, 100%); margin: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.24); border-bottom: 1px solid rgba(255,255,255,.24); }
.values article { min-height: 320px; padding: 2rem 1.6rem 2.4rem; border-right: 1px solid rgba(255,255,255,.24); }
.values article:last-child { border-right: 0; }
.values article > span, .card-number { color: #a9c8b0; font: 600 .72rem/1 "Poppins", sans-serif; letter-spacing: .15em; }
.values h3, .service-card h3 { margin: 4.2rem 0 1rem; font: 600 1.3rem/1.35 "Poppins", sans-serif; }
.values p { margin: 0; color: rgba(255,255,255,.78); font-size: .95rem; line-height: 1.7; }

.mission { width: min(1450px, 100%); margin: auto; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.mission-image-wrap { position: relative; min-height: 530px; display: grid; place-items: center; background: transparent; }
.mission-mark { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 3vw, 2.4rem); width: 100%; padding: clamp(1.5rem, 4vw, 3rem); color: #91c8d8; }
.mission-mark img { width: clamp(120px, 16vw, 205px); height: auto; object-fit: contain; }
.mission-mark span { font: 400 clamp(2.1rem, 4.5vw, 4.5rem)/1 Georgia, serif; letter-spacing: -.045em; }
.image-note { position: absolute; right: -2rem; bottom: -2rem; max-width: 280px; padding: 1.4rem 1.6rem; background: var(--forest-dark); color: #fff; font: 500 .86rem/1.6 "Poppins", sans-serif; }
.mission-copy { max-width: 620px; }
.mission-copy > p:not(.eyebrow) { color: var(--muted); }
.text-link { display: inline-flex; gap: 1rem; margin-top: 1rem; color: var(--forest); font: 600 .9rem/1.4 "Poppins", sans-serif; text-underline-offset: .35rem; }

.services { background: #fff; }
.services-grid { width: min(1240px, 100%); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { position: relative; min-height: 520px; padding: 2.25rem; border: 1px solid var(--line); background: var(--cream); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card.featured { background: var(--forest); color: #fff; }
.service-card .card-number { position: absolute; top: 2.4rem; right: 2.2rem; color: var(--muted); }
.service-card.featured .card-number { color: #b9d1bf; }
.service-icon { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; background: var(--mist); color: var(--forest); }
.featured .service-icon { background: rgba(255,255,255,.12); color: #fff; }
.service-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-top: 3.5rem; font-size: 1.55rem; }
.service-card ul { margin: 0; padding: 0; list-style: none; }
.service-card li { padding: .8rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; line-height: 1.65; }
.featured li { border-color: rgba(255,255,255,.17); color: rgba(255,255,255,.77); }
.service-card li strong { color: var(--ink); }
.featured li strong { color: #fff; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); background: var(--mist); }
.contact-intro { max-width: 570px; }
.contact-intro > p:not(.eyebrow) { color: var(--muted); }
.email-link { display: inline-block; margin-top: 1.3rem; color: var(--forest); font: 600 clamp(1rem, 2vw, 1.35rem)/1.4 "Poppins", sans-serif; text-underline-offset: .35rem; }
.contact-form { padding: clamp(1.5rem, 4vw, 3.5rem); background: #fff; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form label { display: grid; gap: .45rem; margin-bottom: 1rem; font: 600 .78rem/1.4 "Poppins", sans-serif; letter-spacing: .04em; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #abb8ae; border-radius: 0; background: transparent; padding: .75rem .1rem; color: var(--ink); font: 400 1rem/1.5 "Merriweather", serif; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { display: flex; align-items: flex-start; gap: .7rem; color: var(--muted); font-family: "Merriweather", serif; font-weight: 300; letter-spacing: 0; }
.consent input { width: 18px; height: 18px; margin-top: .28rem; accent-color: var(--forest); }
.form-note { margin: .9rem 0 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }

footer { padding: 3.2rem clamp(1.25rem, 6vw, 7rem) 1.8rem; background: var(--forest-dark); color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand div { display: grid; }
.footer-brand strong { font: 600 1.25rem/1.2 "Poppins", sans-serif; }
.footer-brand span { color: rgba(255,255,255,.62); font-size: .75rem; }
.footer-links { display: flex; justify-content: flex-end; gap: 1.5rem; margin-top: -2.6rem; font: 500 .82rem/1.4 "Poppins", sans-serif; }
.footer-links a, .footer-links button { border: 0; background: none; color: inherit; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: .35rem; }
.legal-panel { max-width: 900px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.74); }
.legal-panel h2 { margin-top: 0; color: #fff; font: 600 1.25rem/1.3 "Poppins", sans-serif; }
.legal-panel h3 { margin: 1.5rem 0 .45rem; color: rgba(255,255,255,.92); font: 600 .82rem/1.4 "Poppins", sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.legal-panel p { margin: .4rem 0 1rem; }
.legal-panel a { color: #fff; text-underline-offset: .25rem; }
.imprint-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5rem); }
.copyright { margin: 3rem 0 0; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .72rem; }

@keyframes settle { from { transform: scale(1.06); opacity: .5; } to { transform: scale(1); opacity: 1; } }
@keyframes scroll { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 75% { opacity: 1; } 100% { transform: translateY(25px); opacity: 0; } }

@media (max-width: 980px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .values article:nth-child(2) { border-right: 0; }
  .values article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.24); }
  .mission { grid-template-columns: 1fr; }
  .mission-image-wrap { width: min(760px, 100%); }
  .mission-copy { max-width: 760px; }
  .services-grid { grid-template-columns: 1fr; max-width: 760px; }
  .service-card { min-height: 0; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { height: 72px; padding-inline: 1rem; }
  .brand img { width: 40px; height: 40px; }
  .menu-button { position: fixed; z-index: 60; top: 1rem; right: 1rem; display: grid; gap: 5px; }
  .menu-button span:not(.sr-only) { width: 25px; height: 2px; background: currentColor; }
  nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 1rem; background: var(--forest-dark); transform: translateY(-140%); transition: transform .25s; }
  nav.open { transform: none; }
  nav a { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero { min-height: 780px; }
  .hero-image { object-position: 60% center; }
  .hero-content { margin: 0; width: 100%; padding: 8rem 1.25rem 6rem; }
  .hero h1 { max-width: 100%; font-size: clamp(2.2rem, 10vw, 2.8rem); overflow-wrap: normal; }
  .section-heading h2, .mission h2, .contact h2 { max-width: 100%; font-size: clamp(1.95rem, 9vw, 2.5rem); overflow-wrap: anywhere; }
  .scroll-cue { display: none; }
  .stats { grid-template-columns: 1fr; margin-top: -35px; }
  .stat { min-height: 110px; justify-content: flex-start; padding-left: 15%; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .values { margin-top: 4rem; }
  .values-grid { grid-template-columns: 1fr; }
  .values article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .values article:last-child { border-bottom: 0; }
  .values h3 { margin-top: 2.5rem; }
  .mission-image-wrap { min-height: 360px; }
  .mission-mark { flex-direction: column; text-align: center; }
  .mission-mark img { width: 130px; }
  .image-note { right: 0; bottom: -2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; margin-top: 2rem; }
  .imprint-grid { grid-template-columns: 1fr; gap: 0; }
}

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