/* HEN — warm neighbourly charity site */
:root {
  --ink: #1c1917;
  --muted: #6b635c;
  --line: #e8e0d6;
  --bg: #faf7f2;
  --card: #ffffff;
  --terracotta: #c45c26;
  --terracotta-deep: #9a4318;
  --sand: #f3ebe1;
  --leaf: #2f6b4f;
  --leaf-soft: #e5f0ea;
  --radius: 16px;
  --shadow: 0 12px 28px rgba(28, 25, 23, 0.07);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: var(--terracotta); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.topbar {
  background: var(--terracotta-deep);
  color: #fde8d8;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }

.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--terracotta), var(--terracotta-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-text strong { display: block; font-size: 1.05rem; line-height: 1.15; }
.brand-text span { display: block; color: var(--muted); font-size: 0.78rem; }
.nav {
  display: flex;
  gap: 0.35rem 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.15rem;
}
.nav a:hover, .nav a.active { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta) !important;
  color: #fff !important;
  padding: 0.5rem 0.95rem !important;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--terracotta-deep) !important; text-decoration: none; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font-weight: 700;
}

.hero {
  background:
    radial-gradient(circle at 10% 15%, rgba(196,92,38,0.12), transparent 38%),
    radial-gradient(circle at 90% 0%, rgba(47,107,79,0.10), transparent 32%),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  padding: 3.4rem 0 2.8rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--sand);
  color: var(--terracotta-deep);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.12;
  margin: 0.85rem 0 1rem;
  letter-spacing: -0.02em;
}
.hero p { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.35rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  font-weight: 700;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; }
.btn-outline { background: #fff; color: var(--terracotta-deep); border-color: var(--line); }
.btn-outline:hover { border-color: var(--terracotta); }
.btn-leaf { background: var(--leaf); color: #fff; }
.btn-leaf:hover { filter: brightness(0.95); color: #fff; }

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.hero-card h3 { margin: 0 0 0.75rem; }
.hero-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.hero-card li { margin: 0.35rem 0; }

section { padding: 3rem 0; }
.section-alt { background: #fff; border-block: 1px solid var(--line); }
.section-title { margin-bottom: 1.5rem; max-width: 42rem; }
.section-title .label {
  color: var(--leaf);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-title h2 {
  margin: 0.35rem 0 0.55rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em;
}
.section-title p { margin: 0; color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 14px rgba(28,25,23,0.04);
}
.card h3 { margin: 0.4rem 0 0.5rem; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }
.icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--terracotta-deep);
  font-weight: 800;
}

.page-hero {
  background: linear-gradient(135deg, var(--terracotta-deep), var(--terracotta));
  color: #fff;
  padding: 2.5rem 0;
}
.page-hero h1 { margin: 0 0 0.4rem; font-size: clamp(1.8rem, 3.5vw, 2.35rem); }
.page-hero p { margin: 0; opacity: 0.93; max-width: 40rem; }

.prose h3 { color: var(--terracotta-deep); margin-top: 1.5rem; }
.prose p { color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.pill {
  background: var(--leaf-soft);
  color: var(--leaf);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.fact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact-table th, .fact-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fact-table th {
  width: 32%;
  background: var(--sand);
  color: var(--terracotta-deep);
  font-weight: 700;
}
.fact-table tr:last-child th,
.fact-table tr:last-child td { border-bottom: 0; }

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.person {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-align: center;
}
.person .avatar {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  background: var(--sand);
  color: var(--terracotta-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.person h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.person .role { color: var(--leaf); font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.person p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; margin-bottom: 0.15rem; }
.form-grid label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}
.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}
.form-note { color: var(--muted); font-size: 0.88rem; margin: 0.4rem 0 0; }
.form-msg { margin-top: 0.7rem; font-weight: 700; min-height: 1.2em; }
.form-msg.ok { color: var(--leaf); }
.form-msg.err { color: var(--terracotta); }
.notice {
  background: #fff8e8;
  border: 1px solid #efd99a;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: #6a5410;
}

.site-footer {
  background: #2a221c;
  color: #e8dfd5;
  padding: 2.5rem 0 1.4rem;
  margin-top: 1rem;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h4 { margin: 0 0 0.7rem; color: #fff; font-size: 0.95rem; }
.site-footer p, .site-footer li { color: #cfc3b6; font-size: 0.92rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #a89a8c;
}
.legal-line { font-size: 0.82rem; color: #a89a8c; }
.mt-0 { margin-top: 0; }

@media (max-width: 860px) {
  .hero-grid, .grid-3, .grid-2, .people, .footer-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.8rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .nav-cta { text-align: center; }
}
