:root {
  --forest: #123f2d;
  --forest-deep: #0b2b20;
  --leaf: #44a84a;
  --lime: #bddc21;
  --ink: #1e2922;
  --muted: #6f786d;
  --paper: #f5f3eb;
  --stone: #e7e4d9;
  --line: rgba(30, 41, 34, .18);
  --line-light: rgba(255, 255, 255, .26);
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --max: 1260px;
}

* { 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.menu-is-open { overflow: hidden; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { max-width: 100%; }
.page-width { width: min(calc(100% - 56px), var(--max)); margin-inline: auto; }

.site-header { position: relative; z-index: 5; display: flex; height: 88px; align-items: center; gap: 32px; padding: 0 28px; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: flex; width: 174px; height: 64px; align-items: center; }
.brand img { width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: auto; color: #46554a; font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.site-nav a, .footer-links a { transition: color .2s ease, opacity .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--leaf); }
.header-cta { display: inline-flex; align-items: center; gap: 10px; padding: 11px 15px; border: 1px solid var(--forest); color: var(--forest); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: background .2s ease, color .2s ease, transform .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: var(--forest); color: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; width: 42px; height: 42px; cursor: pointer; border: 1px solid var(--forest); background: transparent; }
.menu-toggle span { display: block; width: 17px; height: 1px; margin: 5px auto; background: var(--forest); transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu { position: fixed; z-index: 4; inset: 88px 0 auto; display: grid; min-height: calc(100svh - 88px); align-content: space-between; padding: 38px 28px 42px; background: var(--forest); color: #fff; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; gap: 16px; }
.mobile-menu nav a { font-family: var(--display); font-size: clamp(2.4rem, 11vw, 5rem); line-height: .95; }
.mobile-menu-contact { color: var(--lime); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }

.hero { position: relative; min-height: min(780px, calc(100svh - 88px)); overflow: hidden; background: var(--forest); color: #fff; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; transform: scale(1.05); will-change: transform; }
.hero-overlay { background: linear-gradient(90deg, rgba(7, 27, 18, .83) 0%, rgba(7, 27, 18, .48) 43%, rgba(7, 27, 18, .06) 100%), linear-gradient(0deg, rgba(7, 27, 18, .53), transparent 38%); }
.hero-inner { position: relative; z-index: 1; display: flex; min-height: inherit; align-items: center; justify-content: space-between; padding-top: 58px; padding-bottom: 82px; }
.hero-copy { max-width: 720px; }
.eyebrow, .section-kicker { margin: 0 0 22px; color: var(--leaf); font-size: .67rem; font-weight: 700; letter-spacing: .2em; line-height: 1.2; text-transform: uppercase; }
.eyebrow { color: var(--lime); }
h1, h2, p { margin-top: 0; }
h1, h2 { margin-bottom: 0; font-weight: 400; letter-spacing: 0; line-height: .93; }
h1 { max-width: 760px; font-size: clamp(4rem, 9vw, 9rem); }
h2 { font-size: clamp(3.2rem, 6.6vw, 7rem); }
h1 em, h2 em { color: var(--lime); font-family: var(--display); font-style: italic; }
.hero-lead { max-width: 430px; margin: 32px 0 30px; color: rgba(255, 255, 255, .84); font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 17px; padding: 13px 18px; border: 1px solid transparent; font-size: .69rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-accent { background: var(--lime); color: var(--forest-deep); }
.button-accent:hover, .button-accent:focus-visible { background: #d2eb56; }
.button-ghost { border-color: rgba(255, 255, 255, .62); color: #fff; }
.button-ghost:hover, .button-ghost:focus-visible { border-color: #fff; background: rgba(255, 255, 255, .13); }
.hero-note { display: grid; gap: 11px; align-self: flex-end; max-width: 165px; padding-left: 18px; border-left: 1px solid rgba(255,255,255,.55); color: rgba(255,255,255,.78); font-size: .67rem; letter-spacing: .12em; line-height: 1.3; text-transform: uppercase; }
.hero-note span:first-child { color: var(--lime); }
.hero-scroll { position: absolute; z-index: 2; right: 28px; bottom: 26px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: .65rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-scroll-line { width: 54px; height: 1px; background: rgba(255,255,255,.7); }

.statement { padding-top: 150px; padding-bottom: 130px; }
.statement-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(270px, .68fr); gap: 80px; align-items: end; }
.statement h2 { color: var(--forest); }
.statement-copy { max-width: 420px; }
.statement-copy .lead { margin-bottom: 17px; color: var(--forest); font-family: var(--display); font-size: 1.65rem; font-style: italic; line-height: 1.2; }
.statement-copy > p:not(.lead) { margin-bottom: 28px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: .69rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s ease; }
.text-link:hover, .text-link:focus-visible { color: var(--leaf); }
.statement-rule { height: 1px; margin-top: 92px; background: var(--line); }
.statement-foot { display: flex; justify-content: space-between; gap: 24px; padding-top: 16px; color: var(--muted); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; }

.services-band { padding: 120px 0 136px; background: var(--forest); color: #fff; }
.services-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(50px, 9vw, 130px); align-items: start; }
.section-kicker-light { color: var(--lime); }
.services-intro h2 { color: #fff; font-size: clamp(3rem, 5.5vw, 6rem); }
.services-intro > p { max-width: 400px; margin-top: 30px; color: rgba(255,255,255,.76); }
.services-list { border-top: 1px solid var(--line-light); }
.service-row { display: grid; grid-template-columns: 45px minmax(170px, .88fr) minmax(145px, 1fr) 25px; gap: 17px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line-light); transition: color .2s ease, padding .25s ease; }
.service-row:hover, .service-row:focus-visible { padding-left: 10px; color: var(--lime); }
.service-row > span { color: var(--lime); font-size: .67rem; letter-spacing: .12em; }
.service-row strong { font-size: 1.02rem; font-weight: 500; }
.service-row small { color: rgba(255,255,255,.58); font-size: .82rem; }
.service-row i { font-size: 1.2rem; font-style: normal; text-align: right; }

.project-feature { padding: 138px 0 150px; background: var(--paper); }
.project-feature-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-bottom: 24px; }
.project-feature-head p { margin: 0; color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.project-image-wrap { position: relative; width: min(calc(100% - 56px), 1450px); margin-inline: auto; overflow: hidden; }
.project-image-wrap img { display: block; width: 100%; height: min(70vw, 680px); object-fit: cover; object-position: center; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.project-image-wrap.is-visible img { transform: scale(1); }
.image-index { position: absolute; right: 24px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.image-index i { display: block; width: 64px; height: 1px; background: rgba(255,255,255,.75); }
.project-feature-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, .62fr); gap: 80px; align-items: end; padding-top: 58px; }
.project-feature-copy h2 { color: var(--forest); }
.project-feature-note { max-width: 400px; }
.project-feature-note p { margin-bottom: 27px; color: var(--muted); }

.gallery-section { padding: 118px 0 150px; background: var(--stone); }
.gallery-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .55fr); gap: 80px; align-items: end; padding-bottom: 58px; }
.gallery-heading h2 { color: var(--forest); }
.gallery-heading > p { max-width: 370px; margin: 0 0 8px; color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 85px; gap: 12px; }
.gallery-item { position: relative; min-width: 0; cursor: zoom-in; overflow: hidden; padding: 0; border: 0; background: var(--forest); color: #fff; text-align: left; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .45s ease; }
.gallery-item::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(7,27,18,.72), transparent 58%); }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.06); filter: saturate(1.08); }
.gallery-item > span { position: absolute; z-index: 1; right: 17px; bottom: 16px; left: 17px; display: grid; gap: 3px; }
.gallery-item strong { font-size: 1.02rem; font-weight: 500; }
.gallery-item small { color: var(--lime); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery-item-large { grid-column: span 7; grid-row: span 6; }
.gallery-item-tall { grid-column: span 5; grid-row: span 6; }
.gallery-item-wide { grid-column: span 6; grid-row: span 5; }
.gallery-item-small { grid-column: span 3; grid-row: span 5; }

.team-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .72fr); gap: 95px; align-items: center; padding-top: 150px; padding-bottom: 160px; }
.team-image { position: relative; }
.team-image img { display: block; width: 100%; height: min(51vw, 600px); object-fit: cover; object-position: center; }
.image-caption { position: absolute; right: 16px; bottom: 14px; color: #fff; font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.team-copy { max-width: 440px; }
.team-copy h2 { color: var(--forest); }
.team-copy > p { margin: 30px 0; color: var(--muted); }
.team-signature { color: var(--forest); font-family: var(--display); font-size: 1.55rem; font-style: italic; }

.contact-section { padding: 120px 0 130px; background: var(--forest); color: #fff; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .86fr) minmax(330px, 1.14fr); gap: 100px; align-items: end; }
.contact-intro h2 { color: #fff; font-size: clamp(4rem, 7vw, 8rem); }
.contact-intro > p { max-width: 390px; margin-top: 30px; color: rgba(255,255,255,.75); }
.contact-details { border-top: 1px solid var(--line-light); }
.contact-line { display: grid; grid-template-columns: 90px 1fr 25px; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-light); transition: color .2s ease, padding .25s ease; }
.contact-line:hover, .contact-line:focus-visible { padding-left: 10px; color: var(--lime); }
.contact-line span { color: rgba(255,255,255,.54); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-line strong { font-size: 1rem; font-weight: 400; }
.contact-line i { font-size: 1.1rem; font-style: normal; text-align: right; }
.contact-socials { display: flex; gap: 22px; padding-top: 24px; color: var(--lime); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.contact-socials a { transition: color .2s ease; }
.contact-socials a:hover, .contact-socials a:focus-visible { color: #fff; }

.site-footer { padding: 30px 0 35px; background: var(--paper); }
.footer-layout { display: flex; align-items: center; justify-content: space-between; gap: 26px; color: var(--muted); font-size: .68rem; }
.footer-brand { display: flex; align-items: baseline; gap: 12px; color: var(--forest); }
.footer-brand strong { font-size: 1.75rem; letter-spacing: .12em; }
.footer-brand span { font-size: .63rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-layout > p { margin: 0; font-family: var(--display); font-size: 1rem; font-style: italic; }
.footer-links { display: flex; gap: 17px; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--forest); }

.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 100px rgba(0,0,0,.36); }
.lightbox::backdrop { background: rgba(7, 27, 18, .84); }
.lightbox-close { position: absolute; z-index: 1; top: 12px; right: 14px; width: 40px; height: 40px; cursor: pointer; border: 0; background: rgba(245,243,235,.9); font-size: 1.6rem; line-height: 1; }
.lightbox-image-wrap { background: var(--forest); }
.lightbox-image { display: block; width: 100%; max-height: 67vh; object-fit: contain; }
.lightbox-copy { padding: 30px 34px 36px; }
.lightbox-copy h2 { margin: 0 0 11px; color: var(--forest); font-size: clamp(2.2rem, 4vw, 4rem); }
.lightbox-description { max-width: 610px; margin: 0; color: var(--muted); }

.legal-page { background: var(--paper); }
.site-header-solid { position: relative; }
.legal-content { max-width: 820px; padding-top: 120px; padding-bottom: 140px; }
.legal-content h1 { margin-bottom: 78px; color: var(--forest); font-size: clamp(4rem, 8vw, 7rem); }
.legal-content h1 em { color: var(--leaf); }
.legal-content h2 { margin-top: 48px; margin-bottom: 15px; color: var(--forest); font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.legal-content p { max-width: 660px; color: var(--muted); }
.legal-content a:not(.text-link) { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.legal-content .text-link { margin-top: 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 880px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .statement-grid, .services-layout, .project-feature-copy, .gallery-heading, .team-section, .contact-layout { grid-template-columns: 1fr; gap: 42px; }
  .hero-note { align-self: end; }
  .services-intro > p, .team-copy, .contact-intro > p { max-width: 560px; }
  .project-feature-copy { gap: 30px; }
  .team-image img { height: min(68vw, 520px); }
}

@media (max-width: 620px) {
  .page-width { width: min(calc(100% - 36px), var(--max)); }
  .site-header { height: 76px; padding: 0 18px; }
  .brand { width: 140px; height: 58px; }
  .mobile-menu { inset: 76px 0 auto; min-height: calc(100svh - 76px); padding: 30px 18px 34px; }
  .hero { min-height: 690px; }
  .hero-inner { display: block; padding-top: 110px; padding-bottom: 106px; }
  h1 { font-size: clamp(3.7rem, 17vw, 7rem); }
  h2 { font-size: clamp(2.8rem, 14vw, 5rem); }
  .hero-lead { max-width: 340px; font-size: .98rem; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .hero-actions .button { width: 100%; }
  .hero-note { margin-top: 55px; }
  .hero-scroll { right: 18px; bottom: 18px; }
  .statement { padding-top: 100px; padding-bottom: 96px; }
  .statement-grid { gap: 38px; }
  .statement-rule { margin-top: 65px; }
  .statement-foot { align-items: start; flex-direction: column; gap: 8px; }
  .services-band, .contact-section { padding: 92px 0 100px; }
  .service-row { grid-template-columns: 35px 1fr 20px; gap: 10px; }
  .service-row small { grid-column: 2; }
  .service-row i { grid-column: 3; grid-row: 1 / span 2; }
  .project-feature, .gallery-section { padding: 92px 0 104px; }
  .project-feature-head { align-items: start; flex-direction: column; gap: 8px; }
  .project-image-wrap { width: calc(100% - 36px); }
  .project-image-wrap img { height: 72vw; min-height: 250px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 8px; }
  .gallery-item-large, .gallery-item-tall, .gallery-item-wide, .gallery-item-small { grid-column: span 1; grid-row: span 2; }
  .gallery-item-large, .gallery-item-wide { grid-column: span 2; grid-row: span 3; }
  .gallery-item strong { font-size: .94rem; }
  .team-section { padding-top: 100px; padding-bottom: 110px; }
  .team-image img { height: 76vw; min-height: 280px; }
  .contact-line { grid-template-columns: 70px 1fr 18px; gap: 10px; }
  .contact-line strong { font-size: .92rem; }
  .footer-layout { align-items: start; flex-direction: column; }
  .footer-layout > p { order: -1; }
  .legal-content { padding-top: 85px; padding-bottom: 100px; }
}
