:root {
  --forest: #176b3a;
  --forest-dark: #0d4025;
  --leaf: #3e8e4d;
  --marigold: #f3a21b;
  --soil: #79583b;
  --cream: #f6f2e8;
  --paper: #fffefa;
  --ink: #252b25;
  --muted: #647065;
  --line: rgba(37, 43, 37, .13);
  --shadow: 0 18px 50px rgba(24, 53, 35, .12);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "Trebuchet MS", system-ui, sans-serif; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 20; background: var(--marigold); padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 12px; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(246,242,232,.93); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(23,107,58,.1); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--forest-dark); font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span { font-size: 1.18rem; line-height: 1.05; }
.brand em { display: block; margin-top: 4px; color: var(--marigold); font: 700 .56rem/1 Georgia, serif; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: .92rem; font-weight: 700; color: #36513e; }
.nav-links a { padding: 10px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--forest); border-color: var(--marigold); }
.nav-cta { padding: 11px 17px !important; color: var(--paper) !important; background: var(--forest); border: 0 !important; border-radius: 999px; }
.nav-cta:hover { background: var(--forest-dark); }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 8px 11px; color: var(--forest-dark); }

.hero { position: relative; min-height: min(640px, calc(100svh - 78px)); display: flex; align-items: center; overflow: hidden; isolation: isolate; background: var(--forest-dark); }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,42,24,.94) 0%, rgba(9,42,24,.72) 40%, rgba(9,42,24,.1) 78%), linear-gradient(0deg, rgba(9,42,24,.28), transparent 38%); z-index: 1; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; z-index: -1; }
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 56px 0 64px; color: var(--paper); }
.hero h1 { max-width: 760px; font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--marigold); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.04em; }
h1 { margin: 18px 0 22px; font-size: clamp(3rem, 7vw, 6.4rem); max-width: 720px; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); color: var(--forest-dark); }
h3 { font-size: 1.3rem; color: var(--forest-dark); }
.hero p { max-width: 575px; color: rgba(255,254,250,.85); font-size: 1.14rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; background: var(--marigold); color: #2f2410; font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); background: #ffb62d; box-shadow: 0 10px 22px rgba(0,0,0,.15); }
.btn.secondary { background: rgba(255,254,250,.08); color: var(--paper); border-color: rgba(255,254,250,.4); }
.btn.secondary:hover { background: rgba(255,254,250,.18); }
.btn.green { background: var(--forest); color: var(--paper); }
.btn.green:hover { background: var(--forest-dark); }

.page-hero { padding: 110px 0 90px; background: var(--forest-dark); color: var(--paper); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 400px; height: 400px; right: -150px; top: -170px; border: 1px solid rgba(243,162,27,.35); border-radius: 50%; box-shadow: 0 0 0 55px rgba(243,162,27,.08), 0 0 0 110px rgba(243,162,27,.04); }
.page-hero h1 { margin-bottom: 14px; font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 720px; }
.page-hero p { max-width: 680px; color: rgba(255,254,250,.78); font-size: 1.1rem; }
.page-hero .eyebrow { position: relative; z-index: 1; }

.section { padding: 110px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 0; max-width: 640px; }
.section-head p { max-width: 460px; color: var(--muted); margin-bottom: 0; }
.kicker { color: var(--forest); font-size: .78rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.intro-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(38px, 8vw, 110px); }
.intro-grid > img { width: 100%; height: 450px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-copy p { color: var(--muted); font-size: 1.05rem; }
.signature { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 800; color: var(--forest-dark); }
.signature span { width: 35px; height: 2px; background: var(--marigold); }

.stat-strip { background: var(--forest); color: var(--paper); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 30px; border-right: 1px solid rgba(255,254,250,.2); }
.stat:last-child { border: 0; }
.stat strong { display: block; color: var(--marigold); font-size: 1.05rem; margin-bottom: 3px; }
.stat span { color: rgba(255,254,250,.74); font-size: .92rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card { min-height: 250px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(23,107,58,.35); box-shadow: var(--shadow); }
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: rgba(23,107,58,.1); color: var(--forest); }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: .94rem; margin: 0; }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 800; font-size: .9rem; margin-top: 24px; }
.card-link::after { content: "→"; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

.mission-band { position: relative; background: var(--forest-dark); color: var(--paper); overflow: hidden; }
.mission-band::before { content: ""; position: absolute; inset: 0; opacity: .22; background: url("assets/ample10.jpg") center/cover; }
.mission-band > .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 50px; }
.mission-band h2 { color: var(--paper); max-width: 680px; }
.mission-band p { color: rgba(255,254,250,.78); font-size: 1.05rem; }
.mission-band .actions { margin-top: 12px; }

.project-feature { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.project-feature img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: var(--radius); }
.project-feature .project-copy { padding: 36px; background: var(--forest); border-radius: var(--radius); color: var(--paper); display: flex; flex-direction: column; justify-content: center; }
.project-copy h3 { color: var(--paper); font-size: 1.8rem; }
.project-copy p { color: rgba(255,254,250,.78); }
.project-copy .kicker { color: var(--marigold); }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 80px; gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: 18px; position: relative; background: #dcd5c7; }
.gallery figure:nth-child(1) { grid-column: span 7; grid-row: span 5; }
.gallery figure:nth-child(2) { grid-column: span 5; grid-row: span 3; }
.gallery figure:nth-child(3) { grid-column: span 5; grid-row: span 2; }
.gallery figure:nth-child(4) { grid-column: span 4; grid-row: span 3; }
.gallery figure:nth-child(5) { grid-column: span 4; grid-row: span 3; }
.gallery figure:nth-child(6) { grid-column: span 4; grid-row: span 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 12px; color: var(--paper); font-size: .8rem; font-weight: 800; padding: 5px 9px; border-radius: 99px; background: rgba(13,64,37,.72); backdrop-filter: blur(7px); }

.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { color: var(--forest-dark); font: 500 clamp(1.6rem, 3vw, 2.5rem)/1.2 Georgia, serif; }
.quote cite { color: var(--muted); font-size: .86rem; font-style: normal; }

.page-content { padding: 92px 0 118px; }
.prose { max-width: 780px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.prose h2 { margin-top: 56px; font-size: 2.4rem; }
.prose h3 { margin-top: 34px; }
.pillar-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 40px; }
.pillar { padding: 28px; border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); }
.pillar h3 { margin-bottom: 9px; }
.pillar p { margin: 0; font-size: .95rem; }
.content-image { margin: 52px 0; width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); align-items: start; }
.split-page > img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); position: sticky; top: 110px; }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.project-card img { width: 100%; height: 230px; object-fit: cover; }
.project-card-body { padding: 25px; }
.project-card-body h3 { margin-bottom: 9px; }
.project-card-body p { color: var(--muted); margin-bottom: 0; font-size: .94rem; }
.video-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 32px; }
.video-card { margin: 0; background: #15261b; border-radius: 18px; overflow: hidden; }
.video-card video { width: 100%; height: 280px; object-fit: cover; }
.video-card figcaption { padding: 12px; color: rgba(255,254,250,.74); font-size: .78rem; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: stretch; }
.contact-panel, .contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.contact-panel { background: var(--forest); color: var(--paper); }
.contact-panel h2 { color: var(--paper); font-size: 2.7rem; }
.contact-panel p { color: rgba(255,254,250,.75); }
.contact-detail { display: flex; gap: 13px; padding: 18px 0; border-bottom: 1px solid rgba(255,254,250,.17); }
.contact-detail:last-child { border: 0; }
.contact-detail strong { display: block; color: var(--marigold); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.contact-detail span, .contact-detail a { color: var(--paper); font-size: 1rem; }
.contact-form h3 { font-size: 1.7rem; margin-bottom: 25px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 800; margin-bottom: 7px; color: var(--forest-dark); }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(37,43,37,.2); background: #fff; padding: 13px 14px; border-radius: 12px; color: var(--ink); outline-color: var(--forest); }
.field textarea { resize: vertical; min-height: 140px; }
.form-note { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.success { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: rgba(62,142,77,.14); color: var(--forest-dark); font-size: .9rem; }
.success.show { display: block; }

.site-footer { background: #0a2d1b; color: var(--paper); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .65fr; gap: 50px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,254,250,.14); }
.footer-brand { max-width: 330px; }
.footer-brand .brand { color: var(--paper); }
.footer-brand .brand span { color: var(--paper); }
.footer-brand .brand em { color: var(--marigold); }
.footer-brand p { color: rgba(255,254,250,.68); font-size: .92rem; }
.footer-col h3 { color: var(--marigold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,254,250,.76); font-size: .9rem; margin: 9px 0; }
.footer-col a:hover { color: var(--marigold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; color: rgba(255,254,250,.5); font-size: .78rem; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; } [data-reveal] { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .nav-links { gap: 16px; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .video-grid { grid-template-columns: repeat(3,1fr); }
  .video-card video { height: 250px; }
  .intro-grid, .split-page, .contact-grid { grid-template-columns: 1fr; }
  .split-page > img { height: 360px; position: static; }
  .intro-grid > img { height: 380px; }
  .project-feature { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .nav { min-height: 68px; }
  .brand img { width: 39px; height: 39px; }
  .brand span { font-size: 1.03rem; }
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 14px; right: 14px; top: 72px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 13px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero { min-height: min(620px, calc(100svh - 68px)); }
  .hero::before { background: linear-gradient(180deg, rgba(9,42,24,.32), rgba(9,42,24,.9) 72%), linear-gradient(90deg, rgba(9,42,24,.15), transparent); }
  .hero img { object-position: 58% center; }
  .hero-content { align-self: end; padding: 66px 0 48px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.7rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .section, .page-content { padding: 76px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,254,250,.2); padding: 20px 0; }
  .card-grid, .pillar-grid, .project-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 210px; }
  .mission-band > .container { grid-template-columns: 1fr; gap: 5px; }
  .gallery { grid-auto-rows: 100px; gap: 10px; }
  .gallery figure:nth-child(1) { grid-column: span 12; grid-row: span 4; }
  .gallery figure:nth-child(2), .gallery figure:nth-child(3) { grid-column: span 6; grid-row: span 3; }
  .gallery figure:nth-child(n+4) { grid-column: span 4; grid-row: span 2; }
  .video-grid { grid-template-columns: repeat(2,1fr); }
  .video-card video { height: 260px; }
  .contact-panel, .contact-form { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 7px; }
}
@media (max-width: 430px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card video { height: 210px; }
  .gallery figure:nth-child(n+4) { grid-column: span 6; }
}
