/* MKHCDO site styles */
:root {
  --green-900: #0b4437;
  --green-800: #0f5c4a;
  --green-700: #1d7a63;
  --green-100: #e3f1ec;
  --ochre: #d9822b;
  --ochre-dark: #b5651a;
  --cream: #fdf8ef;
  --sand: #f4ead8;
  --ink: #1c2421;
  --muted: #55615c;
  --line: #e2dccf;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 68, 55, 0.08);
  --max: 1160px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--green-800); }
a:hover { color: var(--ochre-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--sand { background: var(--sand); }
.section--green { background: var(--green-900); color: #d9ebe4; }
.section--green h2, .section--green h3 { color: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ochre-dark);
  margin-bottom: .8em;
}
.section--green .eyebrow { color: #f3b46e; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.section--green .lead { color: #c6ddd5; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Skip link */
.skip { position: absolute; left: -999px; top: 0; background: var(--ochre); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 239, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.02rem; line-height: 1.2; max-width: 330px; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  padding: 8px 12px; border-radius: 8px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; color: var(--green-900);
}
.nav-toggle svg { margin: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--ochre); color: #fff; }
.btn--primary:hover { background: var(--ochre-dark); color: #fff; }
.btn--green { background: var(--green-800); color: #fff; }
.btn--green:hover { background: var(--green-900); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--green-800); background: transparent; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav .btn { padding: 9px 18px; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--green-900); color: #d9ebe4; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 88px; padding-bottom: 96px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: #f3b46e; }
.hero .lead { color: #c6ddd5; }
.hero-art { position: relative; }
.hero-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 60% center;
  border-radius: 28px; box-shadow: 0 24px 50px rgba(0,0,0,.28);
}
.photo-credit { font-size: .72rem; color: #8fb3a7; margin: 10px 0 0; text-align: right; }
.photo-credit a { color: #b9d6cc; }
.container.narrow { max-width: 820px; }
.hero-card {
  position: static; margin-top: 14px; background: var(--cream); color: var(--ink);
  border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); max-width: 260px; font-size: .9rem;
}
.hero-card strong { display: block; font-family: var(--font-head); color: var(--green-900); font-size: 1.05rem; }

.page-hero { background: var(--green-900); color: #c6ddd5; padding: 72px 0 64px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); }
.page-hero .lead { color: #c6ddd5; }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: #9fc3b7; }
.crumbs a { color: #f3b46e; }

/* Grid & cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--green-100);
  display: grid; place-items: center; margin-bottom: 18px; color: var(--green-800);
}
.card--accent { border-top: 4px solid var(--ochre); }
.section--green .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; color: #d9ebe4; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--green-800); line-height: 1.1; }
.stat span { display: block; font-size: .95rem; color: var(--muted); margin-top: 6px; }
.source-note { font-size: .8rem; color: var(--muted); margin-top: 18px; }
.source-note a { color: var(--muted); }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230f5c4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Partnership band */
.partner {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: var(--shadow);
}
.partner-badge {
  width: 120px; height: 120px; border-radius: 50%; background: var(--green-100);
  display: grid; place-items: center; color: var(--green-800);
}

/* Steps / flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.flow li { list-style: none; position: relative; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 24px 22px 22px; }
.flow li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ochre); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.flow { padding: 0; margin: 0; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: #d9ebe4; border-radius: 24px; padding: 56px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center;
}
.cta h2 { color: #fff; }

/* Photo placeholder */
.photo-ph {
  aspect-ratio: 4 / 3; border-radius: var(--radius); border: 2px dashed #c9bfa9;
  background: repeating-linear-gradient(45deg, #f4ead8, #f4ead8 12px, #efe3cc 12px, #efe3cc 24px);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: .9rem; padding: 20px;
}

/* Forms */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; font-size: .92rem; display: block; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfc7b6; border-radius: 10px;
  font: inherit; background: #fff; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(217,130,43,.35); border-color: var(--ochre); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { flex: 0 0 40px; height: 40px; border-radius: 10px; background: var(--green-100); display: grid; place-items: center; color: var(--green-800); }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.map-frame { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }

.pill { display: inline-block; background: var(--green-100); color: var(--green-900); font-size: .8rem; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.notice { background: #fff7ea; border: 1px solid #f0d3a8; border-radius: 12px; padding: 16px 18px; font-size: .95rem; }

/* Footer */
.site-footer { background: #082f26; color: #a9c6bc; padding: 64px 0 28px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #d9ebe4; text-decoration: none; }
.site-footer a:hover { color: #f3b46e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.footer-brand img { width: 44px; }
.footer-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.3rem; }
.footer-reg { font-size: 1rem; color: #d9ebe4; }
.footer-reg span { display: inline-block; margin-top: 4px; font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: .03em; }
.site-footer a.footer-email { font-size: 1.2rem; font-weight: 700; color: #f3b46e; word-break: break-all; }
.site-footer a.footer-email:hover { color: #fff; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }

/* Reveal animation */
/* Only hidden when JS is running (html.js), so content always shows without JS */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .stats, .flow { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 16px 20px; gap: 2px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-top: 8px; }
  .hero .container, .split, .cta { grid-template-columns: 1fr; }
  .hero .container { padding-top: 56px; padding-bottom: 72px; }
  .hero-art { max-width: 460px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .partner { grid-template-columns: 1fr; text-align: left; }
  .cta { padding: 36px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .grid-4, .stats, .flow, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .brand img { width: 38px; height: 38px; }
  .brand-text strong { font-size: .86rem; max-width: 230px; }
  .hero-card { position: static; margin-top: 16px; max-width: none; }
  .card { padding: 22px; }
}
