/* ============================================
   WRONGFUL DEATH HELP — Editorial Trust Design
   Cream background, Georgia serif, gold accent
   ============================================ */

:root {
  --cream: #FAF8F3;
  --cream-dark: #F0EDE5;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --gold: #B8960C;
  --gold-light: #D4AF37;
  --gold-bg: #F5F0E0;
  --dark: #1A1A1A;
  --white: #FFFFFF;
  --border: #D6D0C4;
  --link: #1A5276;
  --link-hover: #B8960C;
  --success: #27AE60;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --max-w: 820px;
  --max-w-wide: 1100px;
  --nav-h: 64px;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); }

body {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1 { font-size: 2.4rem; line-height: 1.2; margin-bottom: 1rem; color: var(--dark); font-weight: 700; }
h2 { font-size: 1.65rem; line-height: 1.3; margin: 2.5rem 0 1rem; color: var(--dark); font-weight: 700; border-bottom: 2px solid var(--gold); padding-bottom: 0.4rem; }
h3 { font-size: 1.25rem; line-height: 1.4; margin: 1.8rem 0 0.6rem; color: var(--dark); font-weight: 600; }
p { margin-bottom: 1.2rem; max-width: 72ch; }
a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
a:hover { color: var(--link-hover); }
ul, ol { margin: 0 0 1.2rem 1.5rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 700; }
blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gold-bg);
  font-style: italic;
  color: var(--text-light);
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--dark);
  height: var(--nav-h);
  will-change: transform;
  transform: translateZ(0);
}
.nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 24px;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.nav-logo:hover { color: var(--gold-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 20px 16px 24px;
  color: #E0E0E0;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links > li > a:hover { color: var(--gold); }

/* Dropdown — no gap via padding bridge */
.dropdown > a { padding-bottom: 28px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--dark);
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  list-style: none;
  padding: 8px 0;
  z-index: 1001;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #CCCCCC;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu a:hover { background: rgba(184,150,12,0.15); color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #E0E0E0;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a { padding: 12px 24px; }
  .dropdown > a { padding-bottom: 12px; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding-left: 20px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }
}

/* ---- HERO ---- */
.hero {
  padding: 120px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--dark) 0%, #2A2216 100%);
  color: var(--white);
}
.hero h1 { color: var(--white); font-size: 2.6rem; margin-bottom: 0.6rem; }
.hero .subtitle { font-size: 1.15rem; color: #C8C0B0; max-width: 600px; margin: 0 auto 2rem; line-height: 1.6; }
.hero .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.hero .cta-btn:hover { background: var(--gold-light); color: var(--white); }

/* ---- MAIN CONTENT ---- */
.page-body { padding: calc(var(--nav-h) + 32px) 24px 60px; }
.content-wrap {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 48px;
  align-items: start;
}
.main-content { max-width: var(--max-w); }

/* ---- STICKY TOC ---- */
.side-toc {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  max-height: calc(100vh - var(--nav-h) - 48px);
  overflow-y: auto;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  border-left: 2px solid var(--border);
  padding-left: 16px;
}
.side-toc-title {
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 12px;
}
.side-toc a {
  display: block;
  padding: 4px 0;
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s;
}
.side-toc a:hover, .side-toc a.active { color: var(--gold); font-weight: 600; }

@media (max-width: 1200px) {
  .side-toc { display: none; }
  .content-wrap { grid-template-columns: 1fr; }
}

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 6px; }

/* ---- STATE GRID (homepage) ---- */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 1.5rem 0 2rem;
}
.state-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.state-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.state-card h3 { font-size: 1rem; margin: 0 0 6px; font-family: var(--font-serif); }
.state-card p { font-size: 0.85rem; color: var(--text-light); margin: 0; font-family: var(--font-sans); }

/* ---- FAQ ---- */
.faq-section { margin: 3rem 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-serif);
  color: var(--text);
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--gold); transition: transform 0.3s; flex-shrink: 0; margin-left: 12px; }
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}
.faq-a.open { max-height: 600px; padding-bottom: 18px; }

/* ---- CAUSE CARDS ---- */
.cause-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 1.5rem 0 2rem;
}
.cause-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cause-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.cause-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.cause-card p { margin: 0; font-size: 0.88rem; color: var(--text-light); font-family: var(--font-sans); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--dark);
  color: var(--white);
  padding: 48px 24px;
  text-align: center;
  margin: 3rem 0;
  border-radius: 4px;
}
.cta-banner h2 { color: var(--gold); border: none; padding: 0; margin: 0 0 0.8rem; }
.cta-banner p { color: #C8C0B0; max-width: 500px; margin: 0 auto 1.5rem; }
.cta-banner .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.cta-banner .cta-btn:hover { background: var(--gold-light); }

/* ---- CONTACT FORM ---- */
.contact-form { max-width: 540px; }
.contact-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 18px;
  background: var(--white);
  color: var(--text);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  background: var(--gold);
  color: var(--white);
  border: none;
  padding: 14px 40px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--gold-light); }

/* ---- FOOTER ---- */
.footer {
  background: var(--dark);
  color: #999;
  padding: 48px 24px 32px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
}
.footer-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer h4 { color: var(--gold); font-family: var(--font-serif); margin-bottom: 12px; font-size: 1rem; }
.footer a { color: #BBB; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer-bottom {
  max-width: var(--max-w-wide);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: #666;
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 1.8rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.35rem; }
  body { font-size: 16px; }
}

/* ---- MODAL ---- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--cream);
  padding: 40px;
  border-radius: 8px;
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none; border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}
.modal h2 { border: none; margin-top: 0; }

/* ---- STAT BAR ---- */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 2rem 0;
}
.stat-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
}
.stat-num { font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-size: 0.82rem; color: var(--text-light); font-family: var(--font-sans); }

/* ---- TABLE ---- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-table th, .info-table td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.info-table th {
  background: var(--dark);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
}
.info-table tr:nth-child(even) { background: var(--cream-dark); }
