/* Core starter — edit the brand tokens below for each client. */
:root {
  color-scheme: light;
  --brand: #246a48;
  --brand-strong: #155138;
  --brand-soft: #e7f2e9;
  --ink: #17312b;
  --muted: #51645b;
  --paper: #ffffff;
  --wash: #f4f7f3;
  --line: #d7e1d9;
  --radius: 1rem;
  --shadow: 0 12px 32px rgba(14, 47, 33, .08);
  --content: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--brand-strong); }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #b36b16; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { font-size: clamp(2.25rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.2rem; }
.container { width: min(calc(100% - 2.5rem), var(--content)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; top: -5rem; left: 1rem; background: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; font-size: 1.12rem; text-decoration: none; color: var(--ink); line-height: 1.2; }
.brand-mark { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; background: var(--brand); color: #fff; border-radius: .7rem; font-size: 1rem; flex-shrink: 0; }
.nav-list { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; gap: 1.4rem; }
.nav-list a { text-decoration: none; font-weight: 650; color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--brand-strong); text-decoration: underline; text-underline-offset: .3rem; }
.nav-toggle { display: none; align-items: center; gap: .4rem; background: #fff; border: 1px solid var(--line); padding: .5rem .75rem; border-radius: .65rem; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .4rem; background: var(--brand); color: #fff; padding: .8rem 1.1rem; min-height: 44px; border-radius: .65rem; border: 2px solid var(--brand); text-decoration: none; font: inherit; font-weight: 750; cursor: pointer; }
.button:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }
.button-outline { background: transparent; color: var(--brand-strong); }
.button-outline:hover { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand-strong); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--wash); }
.eyebrow { color: var(--brand-strong); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.lead { color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.22rem); max-width: 62ch; }
.hero { background: linear-gradient(140deg, var(--brand-soft), #ffffff 72%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.hero-visual, .project-visual { min-height: 320px; border-radius: var(--radius); background: linear-gradient(155deg, #427c5a, #9cbf88 60%, #d7e5be); position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; padding: 2rem; }
.hero-visual::after, .project-visual::after { content: ""; position: absolute; width: 75%; height: 68%; border: 2px solid rgba(255,255,255,.3); transform: rotate(-18deg); border-radius: 40%; }
.hero-visual span, .project-visual span { position: relative; z-index: 1; background: rgba(12, 55, 38, .72); border-radius: .5rem; padding: .6rem 1rem; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.3rem; }
.grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card p:last-child { margin-bottom: 0; }
.card-tag { color: var(--brand-strong); font-weight: 850; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.project-visual { min-height: 195px; border-radius: .75rem .75rem 0 0; }
.project-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.project-card .card-body { padding: 1.2rem; }
.project-card:nth-child(even) .project-visual { background: linear-gradient(145deg, #296b70, #8baeb2); }
.project-card:nth-child(3n) .project-visual { background: linear-gradient(145deg, #8b7144, #c8b48a); }
.page-heading { padding: 4.2rem 0 3rem; background: var(--wash); border-bottom: 1px solid var(--line); }
.page-heading h1 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: .8rem; }
.callout { background: var(--brand-strong); color: white; border-radius: var(--radius); padding: clamp(1.5rem,4vw,3rem); display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.callout p { color: #edf7f0; }
.callout .button { background: #fff; color: var(--brand-strong); border-color: #fff; white-space: nowrap; }
.callout .button:hover { background: var(--brand-soft); }
.form-panel { max-width: 720px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 750; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #869d8c; border-radius: .55rem; background: #fff; color: var(--ink); font: inherit; padding: .7rem .8rem; }
.field textarea { min-height: 150px; resize: vertical; }
.field small { color: var(--muted); }
.form-status { min-height: 1.7em; font-weight: 650; }
.form-status[data-state="error"] { color: #8f2525; }
.form-status[data-state="success"] { color: #155138; }
.site-footer { background: #102b21; color: #f5fbf7; padding: 2.5rem 0 1.2rem; }
.site-footer a { color: #f5fbf7; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: .35rem 0; }
.footer-bottom { border-top: 1px solid #496255; margin-top: 2rem; padding-top: 1rem; font-size: .85rem; }
@media (max-width: 780px) {
  .header-inner { min-height: 72px; flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-basis: 100%; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: .25rem 0 1rem; }
  .nav-list a { display: block; padding: .65rem .25rem; }
  .hero-grid,.grid,.grid-two,.footer-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 250px; }
  .callout { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
