:root {
  --ink: #1a241c;
  --muted: #687168;
  --green: #173b25;
  --green-soft: #dfe9dc;
  --lime: #b8df45;
  --paper: #f2f0e9;
  --paper-deep: #e7e4da;
  --line: rgba(26, 36, 28, .18);
  --max: 1240px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.page-width { width: min(calc(100% - 56px), var(--max)); margin-inline: auto; }

.site-header { position: absolute; z-index: 4; top: 0; left: 0; right: 0; height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 28px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.23); }
.brand { display: flex; width: 165px; }
.brand-wordmark { align-items: flex-start; flex-direction: column; gap: 2px; color: #fff; }
.brand-wordmark strong, .footer-wordmark strong { font-size: 1.45rem; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.brand-wordmark small, .footer-wordmark small { color: var(--lime); font-size: .49rem; font-weight: 700; letter-spacing: .12em; line-height: 1; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a { opacity: .82; transition: opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; }
.header-call { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border: 1px solid rgba(255,255,255,.6); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.header-call:hover, .header-call:focus-visible { background: #fff; color: var(--green); }

.hero { position: relative; min-height: min(800px, 100svh); display: flex; align-items: center; overflow: hidden; background: var(--green); color: #fff; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; animation: hero-scale 12s ease-out both; }
.hero-shade { background: rgba(10, 29, 17, .62); }
.hero-content { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 136px; }
.eyebrow { margin: 0 0 22px; color: var(--lime); font-size: .69rem; font-weight: 700; letter-spacing: .18em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-dark { color: #4b7250; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-weight: 500; letter-spacing: -.045em; line-height: .94; }
h1 { max-width: 700px; font-size: clamp(4.1rem, 9vw, 8.2rem); }
h2 { font-size: clamp(3rem, 6vw, 6rem); }
h1 em, h2 em { color: var(--lime); font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.07em; }
.hero-copy { max-width: 430px; margin: 32px 0 31px; color: rgba(255,255,255,.82); font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 13px 18px; border: 1px solid transparent; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: var(--lime); color: var(--green); }
.button-primary:hover, .button-primary:focus-visible { background: #c6ec59; }
.button-quiet { border-color: rgba(255,255,255,.55); color: #fff; }
.button-quiet:hover, .button-quiet:focus-visible { border-color: #fff; background: rgba(255,255,255,.12); }
.button-light { margin-top: 30px; background: #fff; color: var(--green); }
.button-light:hover, .button-light:focus-visible { background: var(--lime); }
.hero-footer { position: absolute; z-index: 1; right: 0; bottom: 28px; left: 0; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-footer a { color: #fff; }

.motion-story { position: relative; overflow: hidden; padding: 118px 0 126px; background: var(--green); color: #fff; }
.motion-story-inner { display: grid; grid-template-columns: minmax(0, .78fr) minmax(340px, 1.22fr); gap: clamp(44px, 8vw, 112px); align-items: center; }
.motion-story-copy { max-width: 540px; }
.motion-story-copy h2 { max-width: 520px; font-size: clamp(3.5rem, 7vw, 7rem); }
.motion-story-copy > p:not(.eyebrow) { max-width: 400px; margin: 30px 0; color: rgba(255,255,255,.8); font-size: 1.02rem; }
.motion-story-stage { min-width: 0; }
.motion-story-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #0a1a0f; }
.motion-story-video { position: absolute; inset: -10%; width: 120%; height: 120%; object-fit: cover; object-position: center; will-change: transform; }
.motion-story-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 25, 15, .3), rgba(9, 25, 15, .04) 55%, rgba(9, 25, 15, .2)); pointer-events: none; }
.motion-story-meta { display: flex; width: 100%; align-items: center; gap: 14px; padding-top: 17px; color: rgba(255,255,255,.75); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.motion-story-progress { position: relative; width: 92px; height: 1px; overflow: hidden; background: rgba(255,255,255,.38); }
.motion-story-progress i { position: absolute; inset: 0 auto 0 0; width: 100%; transform: scaleX(var(--motion-progress, 0)); transform-origin: left; background: var(--lime); }
.motion-story-meta strong { color: var(--lime); font-size: 1.15rem; font-weight: 500; letter-spacing: 0; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); gap: 80px; align-items: end; padding-top: 148px; padding-bottom: 148px; }
.intro-note { max-width: 410px; padding-bottom: 8px; }
.intro-note p, .section-intro, .services-intro + .service-list p, .location-copy > p:not(.eyebrow) { color: var(--muted); }
.intro-note p { margin-bottom: 28px; font-size: 1.03rem; }
.text-link { display: inline-flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 7px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.text-link span { font-size: 1rem; }

.gallery-section { padding: 110px 0 145px; background: var(--paper-deep); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .72fr); gap: 80px; align-items: end; }
.section-intro { max-width: 390px; margin: 0 0 8px; }
.filter-row { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 31px; }
.filter-button { cursor: pointer; border: 1px solid var(--line); background: transparent; padding: 10px 14px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; transition: border .2s ease, background .2s ease, color .2s ease; }
.filter-button:hover, .filter-button:focus-visible, .filter-button.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 56px; padding-bottom: 31px; }
.gallery-count { color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.gallery-count strong { margin-right: 9px; color: var(--green); font-size: 1.2rem; letter-spacing: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 12px; }
.gallery-item { position: relative; cursor: zoom-in; grid-column: span 4; grid-row: span 3; min-width: 0; padding: 0; overflow: hidden; border: 0; background: var(--green); color: #fff; text-align: left; }
.gallery-item-wide { grid-column: span 7; grid-row: span 4; }
.gallery-item-tall { grid-column: span 5; grid-row: span 4; }
.gallery-item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1), filter .4s ease; }
.gallery-item::after { position: absolute; inset: 0; content: ""; background: rgba(7, 22, 12, .32); transition: background .35s ease; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.05); filter: saturate(1.1); }
.gallery-item:hover::after, .gallery-item:focus-visible::after { background: rgba(7, 22, 12, .12); }
.gallery-caption { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; display: grid; gap: 4px; }
.gallery-caption strong { font-size: 1.1rem; font-weight: 500; }
.gallery-caption small { color: var(--lime); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-item.is-hidden { display: none; }
.gallery-note { display: flex; grid-column: span 5; grid-row: span 4; flex-direction: column; justify-content: end; padding: 36px; background: var(--green); color: #fff; }
.gallery-note p:not(.eyebrow) { margin-bottom: 28px; font-size: 1.12rem; }
.gallery-note strong { font-weight: 500; }
.text-link-light { align-self: flex-start; border-color: rgba(255,255,255,.6); color: #fff; }

.services { display: grid; grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr); gap: 100px; padding-top: 150px; padding-bottom: 160px; }
.services-intro h2 { font-size: clamp(3rem, 5vw, 5rem); }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 40px minmax(160px, .7fr) minmax(160px, 1fr); gap: 20px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service-row > span { color: #4b7250; font-size: .7rem; letter-spacing: .08em; }
.service-row h3 { margin: 0; font-size: 1.1rem; font-weight: 500; }
.service-row p { margin: 0; font-size: .9rem; }

.location-section { padding: 135px 0; background: var(--green); color: #fff; }
.location-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(400px, 1.2fr); gap: 90px; align-items: center; }
.location-copy h2 { color: #fff; }
.location-copy > p:not(.eyebrow) { max-width: 430px; margin: 28px 0 31px; color: rgba(255,255,255,.77); font-size: 1rem; }
.contact-links { display: grid; gap: 12px; max-width: 400px; }
.contact-link { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.25); }
.contact-link span { color: rgba(255,255,255,.56); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-link strong { font-size: .88rem; font-weight: 500; text-align: right; }
.map-frame { position: relative; min-height: 520px; background: #d9dfd0; }
.map-frame iframe { width: 100%; height: 520px; display: block; border: 0; filter: saturate(.75) contrast(.95); }
.map-attribution { position: absolute; right: 10px; bottom: 8px; margin: 0; padding: 2px 5px; background: rgba(255,255,255,.85); color: #304235; font-size: .65rem; }
.map-attribution a { text-decoration: underline; }

.site-footer { display: flex; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.footer-wordmark { display: flex; flex-direction: column; gap: 4px; }
.footer-brand p { margin: 9px 0 0; color: var(--muted); font-family: var(--serif); font-size: 1.1rem; font-style: italic; }
.footer-meta { display: flex; align-items: end; gap: 26px; color: var(--muted); font-size: .73rem; }
.footer-meta a { color: var(--ink); border-bottom: 1px solid var(--ink); }

.lightbox { width: min(1080px, calc(100% - 34px)); max-height: calc(100% - 34px); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(5, 15, 8, .84); }
.lightbox-backdrop { position: fixed; inset: 0; z-index: -1; }
.lightbox-panel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, .7fr); min-height: min(650px, 80vh); }
.lightbox-image { width: 100%; height: 100%; max-height: 80vh; display: block; object-fit: cover; }
.lightbox-info { display: flex; flex-direction: column; justify-content: end; padding: 38px; }
.lightbox-info h2 { margin-bottom: 18px; font-size: clamp(2.3rem, 4vw, 4rem); }
.lightbox-description { margin: 0; color: var(--muted); }
.lightbox-close { position: absolute; z-index: 1; top: 11px; right: 15px; cursor: pointer; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.85); font-size: 1.8rem; line-height: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes hero-scale { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (max-width: 860px) {
  .page-width { width: min(calc(100% - 36px), var(--max)); }
  .site-header { height: 74px; padding: 0 18px; }
  .brand { width: 108px; }
  .site-nav { display: none; }
  .header-call { position: absolute; top: 17px; right: 18px; padding: 9px 11px; }
  .hero { min-height: 720px; }
  .hero-content { padding-top: 76px; padding-bottom: 120px; }
  h1 { max-width: 100%; font-size: clamp(2rem, 11.5vw, 6rem); }
  h2 { font-size: clamp(2.9rem, 13vw, 5rem); }
  .intro, .section-heading, .services, .location-grid { grid-template-columns: 1fr; gap: 36px; }
  .motion-story { padding: 88px 0 96px; }
  .motion-story-inner { grid-template-columns: 1fr; gap: 42px; }
  .motion-story-stage { width: min(100%, 720px); }
  .intro { padding-top: 100px; padding-bottom: 100px; }
  .section-intro { margin-bottom: 0; }
  .gallery-section { padding: 82px 0 96px; }
  .filter-row { padding-top: 38px; }
  .gallery-toolbar { padding-top: 38px; }
  .gallery-grid { grid-auto-rows: 125px; gap: 8px; }
  .gallery-item, .gallery-item-wide, .gallery-item-tall { grid-column: span 6; grid-row: span 3; }
  .gallery-item-wide { grid-column: span 12; grid-row: span 4; }
  .gallery-note { grid-column: span 6; grid-row: span 4; }
  .services { padding-top: 100px; padding-bottom: 110px; }
  .location-section { padding: 90px 0; }
  .location-grid { gap: 55px; }
  .map-frame, .map-frame iframe { min-height: 400px; height: 400px; }
  .site-footer { flex-direction: column; padding-top: 35px; padding-bottom: 35px; }
  .footer-meta { align-items: start; flex-direction: column; gap: 10px; }
  .lightbox-panel { grid-template-columns: 1fr; }
  .lightbox-image { max-height: 53vh; }
  .lightbox-info { padding: 26px; }
}

@media (max-width: 520px) {
  .hero-copy { font-size: .97rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-footer span:nth-child(2) { display: none; }
  .motion-story-copy h2 { font-size: clamp(3rem, 14vw, 5rem); }
  .motion-story-copy > p:not(.eyebrow) { font-size: .96rem; }
  .motion-story-meta { gap: 10px; padding-top: 13px; font-size: .6rem; }
  .filter-row { gap: 6px; }
  .filter-button { padding: 9px 10px; font-size: .62rem; }
  .gallery-toolbar { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-auto-rows: 115px; }
  .gallery-item, .gallery-item-wide, .gallery-item-tall { grid-column: span 12; grid-row: span 3; }
  .gallery-item-wide { grid-row: span 4; }
  .gallery-note { grid-column: span 12; grid-row: span 3; padding: 26px; }
  .service-row { grid-template-columns: 30px 1fr; gap: 7px 12px; }
  .service-row p { grid-column: 2; }
  .contact-link { align-items: start; flex-direction: column; gap: 4px; }
  .contact-link strong { text-align: left; }
}

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