:root {
  --forest: #365447;
  --forest-dark: #22372e;
  --moss: #6f8f6a;
  --sand: #f4f1ea;
  --ink: #1d2420;
  --muted: #56615b;
  --line: #d9d4c8;
  --white: #ffffff;
  --radius: 10px;
  --max: 1080px;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--sand); }
img { max-width: 100%; height: auto; }
a { color: var(--forest); }
a:hover { color: var(--forest-dark); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--forest-dark); }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--white); padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { background: var(--forest); color: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand { color: var(--white); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; letter-spacing: .02em; display: flex; align-items: center; gap: .6rem; }
.brand:hover { color: var(--white); }
.brand img { display: block; width: auto; height: 40px; }
.nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { color: #e8efe9; text-decoration: none; font-size: .98rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%); color: #eef3ef; padding: 5rem 0 5.5rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(111,143,106,.35), transparent 70%); }
.hero h1 { color: var(--white); max-width: 18ch; }
.hero p { max-width: 58ch; font-size: 1.12rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: #b9cdb9; margin-bottom: 1rem; }
.page-hero { padding: 3.5rem 0 3rem; }

/* Buttons */
.btn { display: inline-block; padding: .8rem 1.4rem; border-radius: 999px; text-decoration: none; font-weight: 600; border: 2px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-light { background: var(--white); color: var(--forest-dark); }
.btn-light:hover { background: #e7eee8; color: var(--forest-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-primary { background: var(--forest); color: var(--white); }
.btn-primary:hover { background: var(--forest-dark); color: var(--white); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Sections */
section.block { padding: 4.5rem 0; }
section.block.alt { background: var(--white); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.alt .card { background: var(--sand); }
.card p:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
/* Team (About): two equal cards, photo beside text; stacks on small screens */
.team { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.person { display: flex; gap: 1.4rem; align-items: flex-start; }
.person-photo { flex: none; width: 160px; height: 160px; object-fit: cover; border-radius: var(--radius); }
.callout { background: var(--forest); color: #eef3ef; border-radius: var(--radius); padding: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.callout h2 { color: var(--white); margin: 0 0 .3em; }
.callout p { margin: 0; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: .3rem; }
.form input, .form textarea { width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: var(--white); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form small { color: var(--muted); }

/* Prose (privacy) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; background: var(--white); }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: #ebe7dd; }

/* Footer */
.site-footer { background: var(--forest-dark); color: #c9d6cc; padding: 2.5rem 0; font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer a { color: #e8efe9; }
.footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: #e8efe9; text-decoration: underline; cursor: pointer; }

/* ---------- Cookie consent ---------- */
.cc-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000; display: flex; justify-content: center; }
.cc-banner[hidden] { display: none; }
.cc-banner__inner { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 1.2rem 1.4rem; max-width: 960px; width: 100%; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.cc-banner__inner p { margin: 0; flex: 1 1 380px; font-size: .95rem; }
.cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
/* Equal visual weight for every choice (no dark patterns) */
.cc-btn { font: 600 .95rem var(--sans); padding: .65rem 1.15rem; border-radius: 999px; border: 2px solid var(--forest); background: var(--forest); color: var(--white); cursor: pointer; min-width: 120px; }
.cc-btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); }

.cc-overlay { position: fixed; inset: 0; background: rgba(20,28,24,.55); z-index: 1001; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cc-overlay[hidden] { display: none; }
.cc-dialog { background: var(--white); border-radius: 14px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 1.8rem; }
.cc-dialog h2 { margin-top: 0; }
.cc-dialog > p { color: var(--muted); font-size: .95rem; }
.cc-cat { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; border-top: 1px solid var(--line); padding: 1rem 0; }
.cc-cat h3 { font-family: var(--sans); font-size: 1rem; margin: 0 0 .2rem; color: var(--ink); }
.cc-cat p { margin: 0; font-size: .9rem; color: var(--muted); }
.cc-note { margin-top: .4rem !important; font-style: italic; }
.cc-always { font-size: .8rem; font-weight: 700; color: var(--forest); white-space: nowrap; padding-top: .2rem; }
.cc-actions--dialog { border-top: 1px solid var(--line); padding-top: 1.2rem; justify-content: flex-end; }
.cc-switch { position: relative; width: 48px; height: 28px; flex: none; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch span { position: absolute; inset: 0; background: #c5cbc6; border-radius: 999px; transition: background .2s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); transition: transform .2s; }
.cc-switch input:checked + span { background: var(--forest); }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-switch input:focus-visible + span { outline: 3px solid var(--moss); outline-offset: 2px; }
.cc-switch input:disabled + span { opacity: .5; }
html.cc-locked { overflow: hidden; }

@media (max-width: 640px) {
  .cc-actions { width: 100%; }
  .cc-btn { flex: 1 1 100%; }
  .hero { padding: 3.5rem 0 4rem; }
  .person { flex-direction: column; }
  .person-photo { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.mt { margin-top: 1.75rem; }
