:root {
  --green: #123a2f;
  --green-dark: #0b2820;
  --brass: #b39052;
  --brass-light: #d1b87f;
  --ink: #17201d;
  --muted: #5d6864;
  --ivory: #f5f1e8;
  --paper: #fbfaf6;
  --line: rgba(18, 58, 47, .18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-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.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { min-height: 86px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: rgba(251,250,246,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; min-width: max-content; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--green); font-family: var(--serif); font-size: 1.15rem; letter-spacing: .08em; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--green); font-family: var(--serif); font-size: 1.2rem; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
nav a { text-decoration: none; font-size: .88rem; font-weight: 600; letter-spacing: .04em; }
.nav-cta { border-bottom: 1px solid var(--brass); padding-bottom: .25rem; }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; padding: .6rem .8rem; color: var(--green); }

.hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); background: var(--green); color: white; }
.hero-copy { padding: clamp(4rem, 8vw, 8.5rem) clamp(1.5rem, 5vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 1.2rem; color: var(--brass); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 1.5rem; font-size: clamp(3rem, 5.5vw, 6.5rem); letter-spacing: -.045em; }
.hero-lead { max-width: 590px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.45vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; margin-top: 2.5rem; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; padding: .8rem 1.4rem; text-decoration: none; font-size: .9rem; font-weight: 700; cursor: pointer; }
.button-primary { background: var(--brass); color: #10251f; }
.button-primary:hover, .button-primary:focus-visible { background: var(--brass-light); }
.text-link { color: white; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.hero-facts { margin: auto 0 0; padding-top: 4rem; display: flex; gap: 3rem; }
.hero-facts div { border-left: 1px solid rgba(209,184,127,.5); padding-left: 1rem; }
.hero-facts dt { color: var(--brass-light); font-family: var(--serif); font-size: 1.4rem; }
.hero-facts dd { margin: 0; color: rgba(255,255,255,.62); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
.hero-image { margin: 0; min-height: 700px; position: relative; overflow: hidden; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,40,32,.2), transparent 35%); pointer-events: none; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 1; padding: .5rem .75rem; background: rgba(11,40,32,.82); color: rgba(255,255,255,.8); font-size: .75rem; letter-spacing: .05em; }

.intro { padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 8vw, 10rem); display: grid; grid-template-columns: .4fr 1.6fr; gap: 3rem; align-items: start; background: var(--ivory); }
.intro p { color: var(--green); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.intro h2 { max-width: 1100px; margin: 0; color: var(--green); font-size: clamp(2.2rem, 4.2vw, 5rem); letter-spacing: -.03em; }
.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); }
.section-heading { margin-bottom: 3rem; display: grid; grid-template-columns: 1.1fr .65fr; gap: 3rem; align-items: end; }
.section-heading h2 { margin-bottom: 0; color: var(--green); font-size: clamp(2.6rem, 4.8vw, 5.5rem); letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { grid-template-columns: 1fr; }

.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.project { grid-column: span 4; grid-row: span 2; position: relative; overflow: hidden; border: 0; padding: 0; background: var(--green); color: white; text-align: left; cursor: zoom-in; }
.project-wide { grid-column: span 8; }
.project-tall { grid-row: span 3; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .4s ease; }
.project::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(4,20,15,.82)); pointer-events: none; }
.project:hover img, .project:focus-visible img { transform: scale(1.025); opacity: .88; }
.project > span { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.25rem; z-index: 2; }
.project strong, .project small { display: block; }
.project strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.project small { color: rgba(255,255,255,.7); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }

.services { background: var(--green); color: white; }
.services .section-heading h2 { color: white; }
.service-list { border-top: 1px solid rgba(255,255,255,.18); }
.service-list article { padding: 2.2rem 0; display: grid; grid-template-columns: .15fr .65fr 1fr; gap: 2rem; border-bottom: 1px solid rgba(255,255,255,.18); align-items: baseline; }
.service-list article > span { color: var(--brass); font-family: var(--serif); }
.service-list h3 { margin: 0; font-size: clamp(1.6rem, 2.4vw, 2.5rem); }
.service-list p { max-width: 620px; margin: 0; color: rgba(255,255,255,.68); }

.process { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); background: var(--ivory); }
.process-copy { position: sticky; top: 140px; align-self: start; }
.process h2 { color: var(--green); font-size: clamp(2.6rem, 4.6vw, 5rem); letter-spacing: -.035em; }
.process-copy > p:last-child { color: var(--muted); font-size: 1.05rem; }
.process ol { margin: 0; padding: 0; list-style: none; }
.process li { padding: 2rem 0; display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; border-top: 1px solid var(--line); }
.process li:last-child { border-bottom: 1px solid var(--line); }
.process li > span { color: var(--brass); font-family: var(--serif); }
.process h3 { margin: 0 0 .45rem; color: var(--green); font-size: 1.8rem; }
.process li p { margin: 0; color: var(--muted); }

.about { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.about-card { padding: clamp(3rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; background: var(--green-dark); color: white; }
.about-card h2 { max-width: 650px; margin-bottom: 2rem; font-size: clamp(2.8rem, 4.6vw, 5rem); letter-spacing: -.035em; }
.about-card > p:not(.eyebrow):not(.signature) { max-width: 640px; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.signature { margin-top: 2.5rem; color: var(--brass-light); font-family: var(--serif); font-size: 1.4rem; }
.signature span { display: block; color: rgba(255,255,255,.55); font-family: var(--sans); font-size: .72rem; text-transform: uppercase; letter-spacing: .13em; }
.about-image { background: url('/assets/office.webp') 72% center / cover no-repeat; }

.estimate { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); background: white; }
.estimate-copy h2 { color: var(--green); font-size: clamp(2.8rem, 4.8vw, 5.5rem); letter-spacing: -.035em; }
.estimate-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.direct-contact { margin-top: 2rem; display: grid; gap: .35rem; }
.direct-contact a { color: var(--green); font-family: var(--serif); font-size: 1.35rem; text-decoration-color: var(--brass); text-underline-offset: .25rem; }
form { padding: clamp(1.5rem, 4vw, 3rem); background: var(--ivory); border-top: 3px solid var(--brass); }
label { display: grid; gap: .45rem; margin-bottom: 1.1rem; color: var(--green); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, select, textarea { width: 100%; border: 1px solid rgba(18,58,47,.25); border-radius: 0; background: white; color: var(--ink); padding: .8rem .9rem; font-size: 1rem; text-transform: none; letter-spacing: normal; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
textarea { resize: vertical; }
.form-note { margin: .7rem 0 0; color: var(--muted); font-size: .78rem; }

footer { padding: 2.5rem clamp(1.25rem, 5vw, 5rem); display: grid; grid-template-columns: 1fr auto auto; gap: 3rem; align-items: center; background: #071d17; color: rgba(255,255,255,.6); font-size: .8rem; }
.footer-brand .brand-mark, .footer-brand strong { color: white; }
.footer-brand small { color: rgba(255,255,255,.5); }

dialog { width: min(94vw, 1200px); padding: 0; border: 0; background: #071d17; box-shadow: 0 28px 100px rgba(0,0,0,.5); }
dialog::backdrop { background: rgba(2,14,10,.88); }
dialog img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox-close { position: absolute; top: .75rem; right: .75rem; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--green); font-size: 1.8rem; cursor: pointer; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  nav.open { display: flex; }
  nav a { padding: .55rem 0; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; }
  .hero-image { min-height: 65vh; }
  .intro, .section-heading, .process, .about, .estimate { grid-template-columns: 1fr; }
  .intro { gap: 1rem; }
  .project-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 300px; }
  .project, .project-wide { grid-column: span 1; }
  .project-tall { grid-row: span 2; }
  .service-list article { grid-template-columns: 50px 1fr; }
  .service-list article p { grid-column: 2; }
  .process-copy { position: static; }
  .about-image { min-height: 560px; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 600px) {
  .site-header { min-height: 74px; padding-inline: 1rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand small { display: none; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 570px; padding: 4.5rem 1.25rem 3rem; }
  h1 { font-size: clamp(2.75rem, 14vw, 4.6rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-facts { width: 100%; margin-top: 4rem; gap: 1.25rem; }
  .hero-image { min-height: 470px; }
  .intro { padding-block: 5rem; }
  .section { padding-block: 5rem; }
  .project-grid { display: block; }
  .project { width: 100%; height: 420px; margin-bottom: 1rem; }
  .project-wide { height: 330px; }
  .service-list article { grid-template-columns: 38px 1fr; gap: 1rem; }
  .process li { grid-template-columns: 48px 1fr; }
  .about { padding-inline: 0; }
  .about-card { padding: 4.5rem 1.25rem; }
  .about-image { min-height: 430px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

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