/* Live In Hope Foundation — Minimalist Humanitarian Theme */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --hope-forest: #163020;
  --hope-sage: #588157;
  --hope-sage-soft: #edf4ee;
  --hope-ink: #1f2923;
  --hope-muted: #526357;
  --hope-bg: #fcfdfc;
  --hope-line: #e3ebe4;
  --hope-font-display: 'Fraunces', Georgia, serif;
  --hope-font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
  background-color: var(--hope-bg);
  color: var(--hope-ink);
  font-family: var(--hope-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hope-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOPBAR */
.hope-topbar {
  background: rgba(252, 253, 252, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hope-line);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
}

.hope-topbar-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hope-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hope-mark-box {
  display: flex;
  align-items: center;
}

.hope-brand-name {
  font-family: var(--hope-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--hope-forest);
  line-height: 1.1;
  display: block;
}

.hope-brand-sub {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hope-sage);
  display: block;
  font-weight: 500;
}

.hope-links-group {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.hope-nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--hope-muted);
  transition: color 0.15s ease;
}

.hope-nav-link:hover, .hope-nav-link.active {
  color: var(--hope-forest);
}

.hope-action-link {
  background: var(--hope-forest);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.hope-action-link:hover {
  opacity: 0.88;
}

/* CSS-ONLY MOBILE DRAWER (ZERO JAVASCRIPT FOOTPRINT) */
.hope-drawer-checkbox {
  display: none;
}

.hope-drawer-label {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--hope-forest);
}

/* HERO SECTION */
.hope-lead-section {
  padding: 64px 0 56px;
}

.hope-hero-columns {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
}

.hope-status-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hope-sage);
  margin-bottom: 20px;
}

.hope-status-dot::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hope-sage);
}

.hope-headline {
  font-family: var(--hope-font-display);
  font-size: 48px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--hope-forest);
  margin-bottom: 20px;
}

.hope-headline em {
  font-style: italic;
  font-weight: 400;
}

.hope-lede-text {
  font-size: 18px;
  color: var(--hope-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 520px;
}

.hope-hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.hope-btn-solid {
  background: var(--hope-forest);
  color: #fff;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s;
}

.hope-btn-solid:hover {
  opacity: 0.9;
}

.hope-btn-ghost {
  border: 1px solid var(--hope-line);
  color: var(--hope-forest);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
}

.hope-btn-ghost:hover {
  border-color: var(--hope-forest);
}

.hope-portrait-frame {
  position: relative;
}

.hope-portrait-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--hope-line);
  box-shadow: 0 12px 32px rgba(22, 48, 32, 0.06);
}

/* MINIMALIST METRICS DECK */
.hope-metrics-deck {
  border-top: 1px solid var(--hope-line);
  border-bottom: 1px solid var(--hope-line);
  padding: 40px 0;
  margin: 16px 0 64px;
}

.hope-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hope-tile-figure {
  font-family: var(--hope-font-display);
  font-size: 38px;
  font-weight: 600;
  color: var(--hope-forest);
  line-height: 1;
  margin-bottom: 6px;
}

.hope-tile-caption {
  font-size: 13px;
  font-weight: 500;
  color: var(--hope-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* INITIATIVES LIST */
.hope-initiatives-section {
  padding-bottom: 64px;
}

.hope-section-intro {
  margin-bottom: 40px;
}

.hope-section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hope-sage);
  margin-bottom: 8px;
  display: block;
}

.hope-section-heading {
  font-family: var(--hope-font-display);
  font-size: 34px;
  font-weight: 600;
  color: var(--hope-forest);
}

.hope-initiatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hope-initiative-box {
  background: #ffffff;
  border: 1px solid var(--hope-line);
  border-radius: 8px;
  padding: 32px 26px;
  transition: border-color 0.2s;
}

.hope-initiative-box:hover {
  border-color: var(--hope-sage);
}

.hope-box-index {
  font-family: var(--hope-font-display);
  font-size: 17px;
  color: var(--hope-sage);
  margin-bottom: 14px;
  display: block;
}

.hope-box-title {
  font-family: var(--hope-font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--hope-forest);
  margin-bottom: 10px;
}

.hope-box-desc {
  font-size: 14px;
  color: var(--hope-muted);
  line-height: 1.6;
}

/* NARRATIVE & STORY SPOTLIGHT */
.hope-spotlight-panel {
  background: var(--hope-sage-soft);
  border-radius: 12px;
  padding: 48px;
  margin-bottom: 64px;
  border: 1px solid #dce8dd;
}

.hope-spotlight-flex {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

.hope-spotlight-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.hope-spotlight-quote {
  font-family: var(--hope-font-display);
  font-size: 22px;
  line-height: 1.5;
  color: var(--hope-forest);
  margin-bottom: 18px;
}

.hope-spotlight-cite {
  font-size: 14px;
  font-weight: 600;
  color: var(--hope-muted);
}

/* MINIMAL COLOPHON FOOTER */
.hope-colophon-footer {
  border-top: 1px solid var(--hope-line);
  padding: 56px 0 32px;
  background: #ffffff;
}

.hope-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.hope-footer-lead h4 {
  font-family: var(--hope-font-display);
  font-size: 21px;
  color: var(--hope-forest);
  margin-bottom: 10px;
}

.hope-footer-lead p {
  font-size: 14px;
  color: var(--hope-muted);
  line-height: 1.65;
  max-width: 360px;
}

.hope-footer-links-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hope-forest);
  margin-bottom: 14px;
}

.hope-footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: var(--hope-muted);
}

.hope-footer-links-col a:hover {
  color: var(--hope-forest);
}

.hope-colophon-bar {
  border-top: 1px solid var(--hope-line);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--hope-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* INNER PAGES HELPERS & FORM STYLING */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.page-top { padding: 48px 0 34px; border-bottom: 1px solid var(--hope-line); margin-bottom: 44px; }
.page-top h1 { font-family: var(--hope-font-display); font-size: 38px; color: var(--hope-forest); margin-bottom: 10px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--hope-sage); font-weight: 600; margin-bottom: 10px; }
.lede { font-size: 18px; color: var(--hope-muted); line-height: 1.6; max-width: 700px; }
.section { padding: 44px 0; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.rows { display: flex; flex-direction: column; gap: 20px; }
.row { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--hope-line); }
.number { font-family: var(--hope-font-display); font-size: 24px; color: var(--hope-sage); font-weight: 600; }
.btn { background: var(--hope-forest); color: #fff; padding: 12px 24px; border-radius: 6px; display: inline-block; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn:hover { opacity: 0.9; }
.btn.secondary { background: #fff; color: var(--hope-forest); border: 1px solid var(--hope-line); }
.card { background: #fff; border: 1px solid var(--hope-line); border-radius: 8px; padding: 30px; }
.cta, .s-cta { background: var(--hope-forest); color: #fff; padding: 52px 0; text-align: center; border-radius: 10px; margin: 44px 0; }
.cta h2 { font-family: var(--hope-font-display); font-size: 32px; margin-bottom: 14px; }

/* COMPLETE FORM STYLES */
form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 500;
  font-size: 14px;
  color: var(--hope-ink);
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="number"],
form select,
form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--hope-line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  box-sizing: border-box;
}

form textarea {
  min-height: 110px;
  resize: vertical;
}

form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--hope-sage);
  box-shadow: 0 0 0 3px rgba(88, 129, 87, 0.15);
}

/* ORGANIZATION RECORD CARD */
.record {
  background: #ffffff;
  border: 1px solid var(--hope-line);
  border-radius: 8px;
  padding: 24px;
  margin-top: 28px;
}

.record dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px 16px;
  align-items: baseline;
  font-size: 14px;
}

.record dt {
  font-weight: 600;
  color: var(--hope-muted);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.record dd {
  margin: 0;
  color: var(--hope-ink);
  word-break: break-word;
}

.record code {
  background: var(--hope-sage-soft);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--hope-forest);
}

.record .btn-copy {
  background: #fff;
  border: 1px solid var(--hope-line);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  margin-left: 6px;
}

/* RESPONSIVE & PURE-CSS DRAWER */
@media (max-width: 900px) {
  .hope-hero-columns { grid-template-columns: 1fr; }
  .hope-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hope-initiatives-grid { grid-template-columns: 1fr; }
  .hope-spotlight-flex { grid-template-columns: 1fr; text-align: center; }
  .hope-spotlight-img { max-width: 180px; margin: 0 auto; }
  .hope-footer-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .record dl { grid-template-columns: 1fr; gap: 4px; }
  .record dd { margin-bottom: 12px; }

  .hope-drawer-label { display: block; }
  .hope-links-group {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--hope-line);
    gap: 20px;
  }
  .hope-drawer-checkbox:checked ~ .hope-links-group {
    display: flex;
  }
}

/* DONATION TIERS, GIVING PANEL & FORM STATUS STYLES */
.tiers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.tier {
  padding: 12px 20px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.tier.active, .tier[aria-pressed="true"] {
  background: currentColor;
  color: #fff !important;
}
.giving-panel {
  padding: 36px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
}
.status-box {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: none;
  font-size: 14px;
}
.status-box.success {
  background: #edf7ee;
  border: 1px solid #4caf50;
  color: #2e7d32;
  display: block;
}
.status-box.error {
  background: #fdf2f2;
  border: 1px solid #ef5350;
  color: #c62828;
  display: block;
}
