:root {
  --bg: #0f1110;
  --bg-alt: #161a18;
  --surface: #1c211e;
  --surface-soft: #222826;
  --text: #eef1ec;
  --muted: #a7b0a7;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #c8a96b;
  --accent-2: #8fb39a;
  --accent-glow: rgba(200, 169, 107, 0.35);
  --danger: #e57373;
  --ok: #8fb39a;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(200, 169, 107, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(143, 179, 154, 0.1), transparent 50%),
    var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #e4cf9f;
}

code {
  font-size: 0.92em;
  background: var(--surface-soft);
  padding: 0.15em 0.4em;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #1a1a1a;
  border-radius: 999px;
  font-weight: 600;
  z-index: 1000;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
  font-size: 1.2rem;
}

.logo--footer {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.site-nav {
  display: none;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: #dfe6df;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: #fff;
}

.site-nav.is-open {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  top: 4.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(15, 17, 16, 0.98);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

@media (min-width: 960px) {
  .site-nav {
    display: flex;
    position: static;
    padding: 0;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .nav-toggle {
    display: none;
  }
}

.nav-toggle {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.site-nav__cta {
  text-decoration: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), #e8d4a8);
  color: #1b1c1a;
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn--primary:hover {
  box-shadow: 0 16px 50px var(--accent-glow);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--large {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
}

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  padding-bottom: 4rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 16, 0.1) 0%, rgba(15, 17, 16, 0.55) 35%, rgba(15, 17, 16, 0.92) 100%),
    linear-gradient(110deg, rgba(15, 17, 16, 0.85) 0%, rgba(15, 17, 16, 0.35) 55%, rgba(15, 17, 16, 0.75) 100%);
}

.hero__content {
  position: relative;
  padding-top: 6rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  max-width: 16ch;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: #d5ddd5;
  max-width: 60ch;
  margin: 0 0 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 58ch;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero__trust li {
  position: relative;
  padding-left: 1.35rem;
}

.hero__trust li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-2);
  position: absolute;
  left: 0;
  top: 0.55rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(22, 26, 24, 0.9), rgba(15, 17, 16, 0.2));
  border-block: 1px solid var(--line);
}

.section--donate {
  background: radial-gradient(800px 400px at 20% 20%, rgba(200, 169, 107, 0.18), transparent 60%),
    radial-gradient(700px 400px at 80% 40%, rgba(143, 179, 154, 0.12), transparent 55%),
    var(--surface);
  border-block: 1px solid var(--line);
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.prose {
  margin: 0 0 1rem;
  color: #d5ddd5;
}

.prose--center {
  text-align: center;
  margin-inline: auto;
  max-width: 68ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .split--reverse {
    direction: rtl;
  }
  .split--reverse > * {
    direction: ltr;
  }
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.panel--soft {
  background: linear-gradient(160deg, var(--surface), #141815);
}

.panel--form {
  background: var(--surface-soft);
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.list-check li {
  padding-left: 1.6rem;
  position: relative;
  color: #d8dfd8;
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-2);
  font-weight: 700;
}

.list-dot {
  margin: 0;
  padding-left: 1.1rem;
  color: #d8dfd8;
}

.list-dot li {
  margin-bottom: 0.45rem;
}

.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cards--2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.cards--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.card--plain {
  background: rgba(28, 33, 30, 0.65);
}

.card--placeholder {
  border-style: dashed;
  background: rgba(28, 33, 30, 0.35);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
  }
}

.timeline__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(28, 33, 30, 0.55);
}

.timeline__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.15);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.callout {
  margin-top: 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(143, 179, 154, 0.35);
  background: rgba(143, 179, 154, 0.08);
  color: #dfe8df;
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.fund-meter {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.fund-meter__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.fund-meter__track {
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.fund-meter__fill {
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #121512;
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(200, 169, 107, 0.45);
  outline-offset: 1px;
}

.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #0b0d0c;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-heading {
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flash-wrap {
  padding: 0.75rem 0 0;
}

.flash {
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
}

.flash--success {
  border-color: rgba(143, 179, 154, 0.45);
  background: rgba(143, 179, 154, 0.12);
  color: #e5efe6;
}

.flash--error {
  border-color: rgba(229, 115, 115, 0.45);
  background: rgba(229, 115, 115, 0.1);
  color: #fdecea;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.section--heartbeat {
  background: linear-gradient(165deg, rgba(200, 169, 107, 0.08), transparent 45%), var(--bg-alt);
  border-block: 1px solid var(--line);
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.85rem;
  max-width: 920px;
  margin: 2rem auto 0;
}

.donate-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  text-decoration: none !important;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.donate-tile:hover {
  border-color: rgba(200, 169, 107, 0.45);
  transform: translateY(-2px);
}

.donate-tile--featured {
  border-color: rgba(200, 169, 107, 0.55);
  box-shadow: 0 0 0 1px rgba(200, 169, 107, 0.25);
  background: linear-gradient(160deg, rgba(200, 169, 107, 0.12), var(--surface));
}

.donate-tile__badge {
  position: absolute;
  top: -0.55rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent);
  color: #1a1a1a;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 800;
}

.donate-tile__amt {
  font-size: 1.45rem;
  font-family: var(--font-display);
}

.donate-tile__type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.35rem;
  font-weight: 600;
}

.thrift-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
}

.thrift-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.thrift-card__img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.thrift-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.thrift-price {
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}

.thrift-card__actions {
  margin-top: auto;
  padding-top: 1rem;
}
