/* ============================================================
   GOF, Shared Design System (Phase 1)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand: #0A2540;
  --brand-light: #1B3A5C;
  --accent: #C9A227;
  --accent-light: #E0BF4D;
  --action: #C0392B;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --muted: #595959;
  --border: #E5E5E0;
  --shadow-sm: 0 1px 3px rgba(10,37,64,.06), 0 1px 2px rgba(10,37,64,.04);
  --shadow-md: 0 4px 16px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.04);
  --shadow-lg: 0 16px 48px rgba(10,37,64,.12), 0 4px 12px rgba(10,37,64,.06);
  --max-w: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--brand);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }

/* Utility bar + header */
.utility-bar { background: var(--brand); color: #fff; font-size: 13px; padding: 8px 0; }
.utility-bar .container { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.utility-bar a { opacity: .85; transition: opacity .15s; }
.utility-bar a:hover { opacity: 1; }
.utility-bar .sep { opacity: .3; }
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.95);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.logo .accent { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color .15s;
  position: relative;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.nav-links a.active { color: var(--brand); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.btn-donate {
  background: var(--action);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 4px;
  font-weight: 600 !important;
  transition: transform .15s, box-shadow .15s;
}
.btn-donate:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-donate:hover::after { display: none; }

/* Page hero (lighter than homepage hero) */
.page-hero {
  background: linear-gradient(135deg, #0A2540 0%, #1B3A5C 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
}
.page-hero .breadcrumb {
  font-size: 13px;
  opacity: .75;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.page-hero .breadcrumb a { color: var(--accent-light); }
.page-hero .eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.page-hero h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  color: #fff;
  margin-bottom: 16px;
  font-weight: 500;
  max-width: 820px;
}
.page-hero p.lead {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  line-height: 1.55;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--accent);
  color: var(--brand);
}
.btn-accent:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand); }

/* Sections */
section.block { padding: 80px 0; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(30px, 3.5vw, 44px);
  margin-bottom: 16px;
  max-width: 800px;
}
.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 720px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  transition: all .2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

/* Footer */
footer.site-footer {
  background: #051628;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
  font-size: 14px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { color: #fff; margin-bottom: 14px; display: block; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.footer-brand .ein { font-size: 11px; color: rgba(255,255,255,0.4); }
.site-footer h4 {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.7); transition: color .15s; font-size: 13px; }
.site-footer a:hover { color: var(--accent-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* Form elements */
input[type="text"], input[type="email"], input[type="number"], input[type="search"], textarea, select {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,.15);
}
label { font-size: 13px; font-weight: 600; color: var(--brand); display: block; margin-bottom: 6px; }

/* Badges */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(201,162,39,.15);
  color: #8E7220;
  letter-spacing: 0.04em;
}
.badge-brand { background: rgba(10,37,64,.08); color: var(--brand); }
.badge-green { background: rgba(46,125,50,.1); color: #2E7D32; }
.badge-red { background: rgba(192,57,43,.1); color: var(--action); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links { gap: 14px; }
  .nav-links li:not(:last-child) { display: none; }
  .container { padding: 0 20px; }
  section.block { padding: 56px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
