:root {
  --bg: #F6F1E7;
  --bg-alt: #EFE7D8;
  --bg-sand: #E9E0CE;
  --card: #FBF8F2;
  --line: #E2D8C4;
  --line-strong: #D6CAB3;
  --ink: #1F2620;
  --text: #2C322B;
  --muted: #3E443C;
  --soft: #5C6157;
  --green: #2F4A2C;
  --green-hover: #23381F;
  --dark: #24332A;
  --darker: #1C2620;
  --on-dark: #F1EADC;
  --on-dark-muted: #D8D0BF;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-hover); }

h1, h2, h3 { margin: 0; }

p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand img { height: 36px; width: auto; }
.brand span {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}

.main-nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.main-nav a, .dropdown > button { white-space: nowrap; }
.site-header .brand { flex-shrink: 0; }
.main-nav > a,
.dropdown > button {
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 10px 0;
}
.main-nav > a:hover,
.dropdown > button:hover { color: var(--green); }
.main-nav a[aria-current="page"] { color: var(--green); font-weight: 600; }
.main-nav > a.btn { color: var(--on-dark); background: var(--green); padding: 10px 20px; }
.main-nav > a.btn:hover { color: var(--on-dark); background: var(--green-hover); }

.dropdown { position: relative; }
.dropdown > button::after { content: ' \25BE'; font-size: 12px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: 0 12px 32px rgba(31, 38, 32, 0.08);
}
.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
}
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--green); }
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }

.lang-switch { font-size: 14px; color: var(--soft); }
.lang-switch a { color: var(--soft); text-decoration: none; }
.lang-switch a[aria-current="true"] { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 999px;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--green); color: var(--on-dark); }
.btn-primary:hover { background: var(--green-hover); color: var(--on-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- Type ---------- */

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 12px;
}
.on-dark .eyebrow { color: #C9C0AC; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
}
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.muted { color: var(--muted); }
.small { font-size: 15px; color: var(--soft); }

/* ---------- Sections ---------- */

.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.bg-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-sand { background: var(--bg-sand); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark .muted, .bg-dark .lead { color: var(--on-dark-muted); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head > div { flex: 1 1 480px; min-width: 0; }
.section-head > p { flex: 1 1 340px; }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split.top { align-items: flex-start; }
.split .narrow { flex: 1 1 300px; }
.split .wide { flex: 2 1 520px; }

.stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Hero ---------- */

.hero { padding: 80px 0 72px; }
.hero .lead { margin-top: 28px; }
.hero-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: 4px 160px 4px 4px;
}
.page-hero { padding: 72px 0 56px; }
.page-hero .lead { margin-top: 24px; }
.page-hero-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 4px 120px 4px 4px;
}

/* ---------- Cards ---------- */

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 340px;
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card.wide { flex-basis: 520px; }
.card .card-link { margin-top: auto; font-weight: 500; }
.card .icon { width: 36px; height: 36px; color: var(--green); }
.tag {
  align-self: flex-start;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid #9FB098;
  padding: 4px 10px;
  border-radius: 999px;
}
.tag.solid { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.card-small { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 24px 32px; }
.card-small p { flex: 1 1 360px; }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px; }
.steps li { flex: 1 1 240px; min-width: 0; border-top: 2px solid var(--ink); padding-top: 20px; }
.steps .num { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--green); }
.steps h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; font-family: var(--sans); }
.steps p { font-size: 16px; color: var(--muted); }

/* ---------- Projects ---------- */

.project { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.project img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.project p { font-size: 16px; color: var(--muted); }
.teaser {
  flex: 1 1 340px;
  min-width: 0;
  min-height: 360px;
  background: var(--dark);
  color: var(--on-dark);
  border-radius: 4px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.teaser p { color: var(--on-dark-muted); font-size: 16px; }
.teaser .tag { color: var(--on-dark); border-color: #6F8467; }

/* ---------- Values ---------- */

.values { display: flex; flex-wrap: wrap; gap: 36px 40px; }
.values > div { flex: 1 1 240px; min-width: 0; }
.values h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin-bottom: 8px; }
.values p { font-size: 16px; color: var(--muted); }

/* ---------- Facts ---------- */

.facts { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 16px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.facts > div { flex: 1 1 180px; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.facts span { font-size: 15px; color: var(--soft); }

/* ---------- Before / after ---------- */

.ba-grid { display: flex; flex-wrap: wrap; gap: 32px; }
.ba { flex: 1 1 480px; min-width: 0; }
.ba-pair { display: flex; gap: 10px; }
.ba-pair figure { flex: 1 1 0; margin: 0; position: relative; }
.ba-pair img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }
.ba-pair figcaption {
  position: absolute;
  left: 10px;
  top: 10px;
  background: var(--bg);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.ba h3 { font-size: 17px; font-weight: 600; margin-top: 12px; }

/* ---------- Gallery ---------- */

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; }
.gallery .tall { grid-row: span 2; height: 492px; }
.gallery.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- People ---------- */

.people { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.person { flex: 1 1 260px; min-width: 0; max-width: 340px; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 4px; }
.person h3 { margin: 16px 0 2px; font-size: 18px; font-weight: 600; font-family: var(--sans); }
.person .role { font-size: 15px; color: var(--soft); }
.person .bio { font-size: 16px; color: var(--muted); margin-top: 10px; }
.people-note { flex: 1 1 320px; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Lists ---------- */

.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.check-list li { padding-left: 30px; position: relative; color: var(--muted); }
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}
.check-list strong { color: var(--ink); }

.table-two { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table-two th, .table-two td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-two th { font-family: var(--serif); font-weight: 500; font-size: 20px; background: var(--bg-alt); }
.table-two tr:last-child td { border-bottom: 0; }

.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin-top: 12px; color: var(--muted); max-width: 46em; }

/* ---------- CTA band ---------- */

.cta-band { text-align: left; }
.cta-band .inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band .inner > div { flex: 1 1 480px; }

/* ---------- Contact ---------- */

.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; font-size: 16px; }
.contact-info strong { display: block; font-weight: 600; }

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.form-card form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field .req { color: #9A3B2E; margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #CFC3AB;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: #9A3B2E; }
.field .error { color: #9A3B2E; font-size: 14px; min-height: 0; }
.field .help { font-size: 14px; color: var(--soft); }
.form-error { color: #9A3B2E; font-size: 15px; }
.form-note { font-size: 14px; color: var(--soft); }
.form-success { padding: 12px 0; }
.form-success p + p { margin-top: 12px; }
.skeleton { height: 48px; border-radius: 4px; background: linear-gradient(90deg, #EEE6D6, #F6F0E4, #EEE6D6); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Prose (privacy) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--darker); color: #CFC7B6; font-size: 15px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding: 56px 0 40px; }
.footer-brand { flex: 1 1 320px; min-width: 0; }
.footer-brand .brand span { color: var(--on-dark); }
.footer-brand p { margin-top: 14px; max-width: 26em; }
.footer-cols { flex: 2 1 480px; display: flex; flex-wrap: wrap; gap: 32px; }
.footer-cols > div { flex: 1 1 160px; }
.footer-cols h2 { font-family: var(--sans); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #A59D8C; margin-bottom: 12px; font-weight: 500; }
.footer-cols a { display: block; color: var(--on-dark); text-decoration: none; padding: 4px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; }
.footer-cols p { color: #CFC7B6; }
.footer-esg { border-top: 1px solid #34463A; padding: 18px 0; font-size: 14px; }
.footer-esg a { color: var(--on-dark); }
.footer-legal { border-top: 1px solid #34463A; padding: 20px 0 36px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 13px; color: #B3AB9A; }
.footer-legal a { color: #B3AB9A; }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
  }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav > a, .dropdown > button { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
  .dropdown-menu { position: static; display: block; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px 12px; }
  .main-nav > a.btn { margin-top: 16px; border-bottom: 0; text-align: center; }
  .lang-switch { padding-top: 14px; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .hero-img { height: 380px; border-radius: 4px 96px 4px 4px; }
  .page-hero-img { height: 300px; border-radius: 4px 80px 4px 4px; }
  .gallery, .gallery.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery .tall { grid-row: auto; height: 240px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand { gap: 8px; }
  .brand span { font-size: 18px; }
  .brand img { height: 26px; }
  .nav-toggle { padding: 8px 14px; }
  .card { padding: 24px; }
  .ba-pair img { height: 220px; }
  .project img { height: 280px; }
  .form-card { padding: 22px; }
}

@media (max-width: 400px) {
  .site-header .brand img { display: none; }
}

/* ---------- Stories ---------- */

.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.story-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.story-card:hover { color: var(--ink); }
.story-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.story-card .h3 { transition: color .15s; }
.story-card:hover .h3 { color: var(--green); }
.story-card p { color: var(--muted); font-size: 16px; }
.story-meta { font-size: 14px; color: var(--soft); }

.article-head { max-width: 820px; }
.article-head .eyebrow a { color: var(--soft); }
.article-head .display { font-size: clamp(36px, 4.6vw, 60px); }
.article-cover { margin-top: 40px; }
.article-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.prose h3 { font-family: var(--sans); font-weight: 600; font-size: 19px; margin: 28px 0 6px; color: var(--ink); }
.prose blockquote { margin: 20px 0; padding-left: 20px; border-left: 3px solid var(--green); font-family: var(--serif); font-size: 21px; color: var(--ink); }
.prose .source { font-size: 14px; color: var(--soft); margin-top: 6px; }
.prose .refs { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.prose .refs h2 { font-size: 22px; margin-top: 0; }
.prose .refs li { font-size: 14px; color: var(--soft); overflow-wrap: anywhere; }
.article-note { max-width: 760px; margin-top: 48px; padding: 24px 28px; background: var(--bg-alt); border-radius: var(--radius); }

@media (max-width: 720px) {
  .story-grid { grid-template-columns: 1fr; }
}
