:root {
  --color-ink: #121212;
  --color-ink-soft: #2b2b2b;
  --color-paper: #f6efe7;
  --color-cream: #f1e3d3;
  --color-ember: #d1493f;
  --color-ember-dark: #a53832;
  --color-copper: #b06d3b;
  --color-slate: #233038;
  --color-mist: #e4dfd8;
  --shadow-soft: 0 24px 60px rgba(18, 18, 18, 0.12);
  --shadow-card: 0 18px 40px rgba(18, 18, 18, 0.08);
}

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

body {
  margin: 0;
  font-family: "Fraunces", "Times New Roman", serif;
  color: var(--color-ink);
  background: radial-gradient(circle at top, #fff5ea 0%, #f6efe7 50%, #efe6dc 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 20%, rgba(209, 73, 63, 0.08), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(176, 109, 59, 0.12), transparent 35%);
  z-index: 0;
}

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

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

.container {
  width: min(1120px, 90vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(246, 239, 231, 0.85);
  border-bottom: 1px solid rgba(18, 18, 18, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.footer-brand .brand-logo {
  height: 44px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.95rem;
}

.nav-links a {
  padding: 6px 4px;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-ember);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  padding: 90px 0 110px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: clamp(2.2rem, 2.6vw + 1.6rem, 3.6rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.kicker {
  font-family: "Space Grotesk", "Arial", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--color-ember-dark);
  margin-bottom: 18px;
}

.lede {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 28px;
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 10px;
}

.btn.primary {
  background: var(--color-ember);
  color: white;
  box-shadow: 0 14px 26px rgba(209, 73, 63, 0.3);
}

.btn.ghost {
  border-color: rgba(18, 18, 18, 0.2);
  background: rgba(246, 239, 231, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.hero-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: "Space Grotesk", "Arial", sans-serif;
}

.hero-stats div {
  background: rgba(255, 255, 255, 0.6);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ember-dark);
  margin-bottom: 4px;
}

.stat-value {
  font-weight: 600;
}

.hero-panel {
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 20px;
}

.hero-panel img {
  border-radius: 18px;
  background: var(--color-cream);
  padding: 16px;
}

.hero-panel-copy h2 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-bottom: 10px;
}

.section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.section.alt {
  background: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(18, 18, 18, 0.06);
  border-bottom: 1px solid rgba(18, 18, 18, 0.06);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
  max-width: 720px;
}

.section-heading h2 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: clamp(1.8rem, 1.6vw + 1.2rem, 2.6rem);
  margin: 0;
}

.section-heading p {
  margin: 0;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.card h3 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-top: 0;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  background: white;
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.timeline-year {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-weight: 700;
  color: var(--color-ember-dark);
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.governance-card {
  background: white;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.governance-card h3 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-top: 0;
}

.governance-card ul {
  padding-left: 18px;
  margin: 0;
  color: var(--color-ink-soft);
}

.governance-card li {
  margin-bottom: 8px;
}

.support {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  align-items: center;
}

.donation-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.donation-tags span {
  background: var(--color-cream);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.9rem;
}

.support-card {
  background: var(--color-slate);
  color: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.support-card h3 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-top: 0;
}

.support-card .btn.primary {
  background: white;
  color: var(--color-slate);
  margin-top: 18px;
  box-shadow: none;
}

.btn-icon {
  width: 18px;
  height: 18px;
}

.support-note {
  margin-top: 14px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.donation-hero h1 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3rem);
  margin: 0;
}

.notice {
  margin-top: 24px;
  background: var(--color-cream);
  padding: 16px 20px;
  border-radius: 16px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-card);
}

.donation-card h2 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-top: 0;
}

.address {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.95rem;
  word-break: break-all;
  color: var(--color-ink-soft);
}

.policy-hero h1,
.philosophy-hero h1 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3rem);
  margin: 0;
}

.policy-meta,
.philosophy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.policy-meta span,
.philosophy-meta span {
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.policy-highlight,
.philosophy-highlight {
  margin-top: 24px;
  background: white;
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.policy-highlight h2,
.philosophy-highlight h2 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin-top: 0;
}

.policy-body,
.philosophy-body {
  display: grid;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.policy-section,
.philosophy-section {
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 18, 18, 0.05);
}

.policy-section h2,
.philosophy-section h2,
.philosophy-section h3 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin: 0 0 12px;
  font-size: 1.4rem;
  line-height: 1.2;
}

.policy-section h3 {
  font-family: "Space Grotesk", "Arial", sans-serif;
  margin: 18px 0 8px;
  color: var(--color-ember-dark);
  font-size: 1rem;
  font-weight: 600;
}

.philosophy-section h3 {
  margin: 0 0 12px;
  color: var(--color-ember-dark);
}

.policy-section p,
.philosophy-section p {
  margin: 0 0 12px;
  color: var(--color-ink-soft);
  line-height: 1.6;
}

.policy-section ul,
.philosophy-section ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--color-ink-soft);
}

.policy-section li,
.philosophy-section li {
  margin-bottom: 8px;
}

.card-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--color-ink-soft);
}

.card-list li {
  margin-bottom: 8px;
}

.site-footer {
  padding: 50px 0 30px;
  background: #161616;
  color: #f6efe7;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px 20px;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.95rem;
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-family: "Space Grotesk", "Arial", sans-serif;
}

.footer-contact h4 {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 239, 231, 0.65);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-list li {
  display: grid;
  gap: 4px;
}

.contact-list span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 239, 231, 0.6);
}

.contact-list a {
  color: #f6efe7;
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top: 1px solid rgba(246, 239, 231, 0.15);
  margin-top: 26px;
  padding-top: 18px;
  font-size: 0.85rem;
  color: rgba(246, 239, 231, 0.7);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 70px 0 90px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
