:root {
  --ink: #162019;
  --muted: #59645d;
  --paper: #f3f0e7;
  --surface: #fffdf7;
  --accent: #285841;
  --accent-dark: #173d2b;
  --highlight: #d7e8a9;
  --line: rgba(22,32,25,.18);
  --measure: 76rem;
  --radius: 1.15rem;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; width: 100%; height: auto; background: #dce3d9; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .75rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.demo-notice { padding: .58rem 1rem; background: var(--accent-dark); color: #fff; text-align: center; font-size: .76rem; font-weight: 750; letter-spacing: .045em; }
.site-header, main, footer { width: min(var(--measure), calc(100% - 2rem)); margin-inline: auto; }
.site-header { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.05rem; font-weight: 850; letter-spacing: -.025em; text-decoration: none; }
.brand span { color: var(--accent); font-weight: 600; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a { font-size: .92rem; font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.2rem; padding: .72rem 1.15rem; border: 2px solid var(--accent); border-radius: 999px; background: var(--accent); color: #fff; font-weight: 760; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.button:hover { background: var(--accent-dark); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible { outline: 3px solid #a87011; outline-offset: 3px; }
.button-small { min-height: 2.65rem; padding: .5rem .9rem; }

.hero { min-height: calc(100svh - 7.3rem); display: grid; grid-template-columns: minmax(0,.88fr) minmax(22rem,1.12fr); gap: clamp(2.4rem,6vw,6rem); align-items: center; padding: clamp(3rem,7vw,6.5rem) 0; }
.hero-copy { padding-block: 2rem; }
.eyebrow { margin: 0 0 .65rem; color: var(--accent); font-size: .76rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2 { max-width: 17ch; margin: .18em 0 .45em; line-height: .98; letter-spacing: -.052em; }
h1 { font-size: clamp(3.3rem,7vw,7.1rem); }
h2 { font-size: clamp(2.4rem,5vw,4.7rem); }
h3 { margin: 0 0 .45rem; font-size: clamp(1.25rem,2vw,1.65rem); line-height: 1.1; letter-spacing: -.025em; }
.lede, .section-heading > p, .contact > p { max-width: 43rem; color: var(--muted); font-size: clamp(1.05rem,1.6vw,1.24rem); }
.hero-actions { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; flex-wrap: wrap; }
.fact-chip { display: inline-flex; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 750; }
.hero-image { margin: 0; }
.hero-image img { min-height: 32rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: calc(var(--radius) * 1.4); box-shadow: 0 1.8rem 4rem rgba(23,61,43,.14); }
.generic-image { position: relative; }
.generic-image figcaption { margin-top: .7rem; color: var(--muted); font-size: .74rem; line-height: 1.45; }
.generic-image figcaption strong { color: var(--accent-dark); }

.section { padding: clamp(5rem,10vw,9rem) 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(18rem,.72fr); align-items: end; gap: clamp(2rem,6vw,6rem); margin-bottom: 3rem; }
.section-heading > p { margin: 0 0 .5rem; }
.section-heading.compact { align-items: start; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.service-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.service-card img { aspect-ratio: 4 / 3; object-fit: cover; }
.service-card > div { padding: 1.35rem; }
.service-card p { margin: 0; color: var(--muted); }
.service-card .card-index { margin-bottom: 1.2rem; color: var(--accent); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.generic-disclosure { max-width: 58rem; margin: 1.3rem 0 0; padding: 1rem 1.1rem; border-left: 3px solid var(--accent); background: rgba(215,232,169,.3); color: var(--muted); font-size: .84rem; }

.gallery { padding-bottom: clamp(6rem,12vw,11rem); }
.gallery-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery-grid .gallery-wide { grid-row: span 2; }
.gallery-grid .gallery-wide img { height: calc(100% - 2.5rem); min-height: 36rem; aspect-ratio: auto; }
.source-policy { background: var(--accent-dark); color: #fff; width: 100%; max-width: none; padding-inline: max(1rem,calc((100vw - var(--measure))/2)); }
.source-policy .eyebrow { color: var(--highlight); }
.source-policy h2 { max-width: 19ch; }
.policy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3.5rem; }
.policy-grid p { margin: 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.78); }
.policy-grid strong { color: #fff; }
.contact { margin-bottom: 4rem; padding-inline: clamp(1.4rem,5vw,4rem); border: 0; border-radius: calc(var(--radius) * 1.3); background: var(--highlight); }
.contact h2 { max-width: 18ch; }
footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2.4rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer p { margin: .2rem 0; }
.credits { text-align: right; }

@media (max-width: 850px) {
  .site-header nav a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-image { order: -1; }
  .hero-image img { min-height: 22rem; max-height: 62svh; aspect-ratio: 4 / 3; }
  .section-heading, .service-grid, .policy-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .gallery-wide { grid-row: auto; }
  .gallery-grid .gallery-wide img { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
  .demo-notice { text-align: left; }
  h1 { font-size: clamp(3rem,16vw,4.5rem); }
  .site-header, main, footer { width: min(100% - 1.25rem,var(--measure)); }
  .site-header { min-height: 4.3rem; }
  .button-small { font-size: .78rem; }
  .hero { padding-top: 1.5rem; }
  .hero-image img { border-radius: var(--radius); }
  .contact { margin-inline: .625rem; width: calc(100% - 1.25rem); }
  footer { grid-template-columns: 1fr; }
  .credits { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
