/* ARNOLD RELIEF IN NEED — shared stylesheet
   Garden Folk · Forest Green & Bone */

:root {
  --ink:       #10221A;
  --soft:      #F2EDDE;
  --accent:    #2D5A3C;
  --accent-2:  #143821;
  --charcoal:  #0A1810;
  --grey:      #4F5E54;
  --hairline:  #D4CFBD;
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  background: var(--soft);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

.font-display { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
.font-mono    { font-family: 'JetBrains Mono', ui-monospace, monospace; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* — Skip link — */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--soft);
  padding: 12px 18px;
  z-index: 200;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* — Eyebrow — */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  margin-right: 12px;
}
.eyebrow--light { color: var(--soft); }
.eyebrow--light::before { background: var(--soft); }

/* — Header — */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(242,237,222,0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow 200ms ease, border-color 200ms ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 24px -16px rgba(16,34,26,0.25);
}
.nav-link {
  position: relative;
  font-size: 14.5px;
  padding: 8px 0;
  color: var(--ink);
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 200ms ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link[aria-current="page"] { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  transition: transform 150ms ease, background 200ms ease, color 200ms ease;
  line-height: 1;
}
.btn-primary {
  background: var(--accent);
  color: var(--soft);
}
.btn-primary:hover { background: var(--accent-2); color: var(--soft); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--soft); }
.btn-soft {
  background: var(--soft);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-soft:hover { background: #ebe5d2; }
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding-left: 0; padding-right: 0;
}
.btn-ghost:hover { color: var(--accent-2); }

/* — Mobile menu — */
.mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--soft);
  z-index: 80;
  transform: translateX(100%);
  transition: transform 280ms cubic-bezier(.22,.61,.36,1);
  padding: 28px 24px;
  box-shadow: -24px 0 48px -24px rgba(0,0,0,0.25);
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-backdrop {
  position: fixed; inset: 0;
  background: rgba(10,24,16,0.45);
  backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 70;
}
.mobile-backdrop.is-open { opacity: 1; pointer-events: auto; }
body.is-locked { overflow: hidden; }

/* — Pull quote — */
.pull-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.25;
  font-style: italic;
  color: var(--ink);
  margin: 36px 0;
  padding-left: 28px;
  border-left: 2px solid var(--accent);
  position: relative;
}
.pull-quote::before {
  content: '“';
  position: absolute;
  left: 6px; top: -14px;
  font-size: 60px; color: var(--accent);
  font-style: normal;
  line-height: 1;
}

/* — Glass card — */
.glass-card {
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 18px 40px -28px rgba(16,34,26,0.35);
}

/* — Organic shape — */
.organic-shape {
  border-radius: 71% 29% 64% 36% / 41% 60% 40% 59%;
  background: var(--accent);
  opacity: 0.08;
  position: absolute;
  pointer-events: none;
}

/* — Timeline — */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 1px; background: var(--hairline);
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--soft);
  border: 2px solid var(--accent);
}
.timeline-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 6px;
}

/* — Progress rail — */
.progress-rail {
  height: 6px;
  background: var(--hairline);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 999px;
  transition: width 1400ms cubic-bezier(.22,.61,.36,1);
}

/* — Reveal — */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* — Bar chart — */
.bar-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
  align-items: end;
  height: 260px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 4px;
}
.bar-chart .bar {
  background: var(--accent);
  width: 100%;
  height: 0;
  transition: height 1200ms cubic-bezier(.22,.61,.36,1);
  position: relative;
  border-radius: 2px 2px 0 0;
}
.bar-chart .bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px; left: 0; right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--grey);
}
.bar-chart .bar .bar-value {
  position: absolute;
  top: -22px; left: 0; right: 0;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ink);
}

/* — Testimonial carousel — */
.testimonial-track {
  display: flex;
  transition: transform 500ms cubic-bezier(.22,.61,.36,1);
}
.testimonial-track > * {
  flex: 0 0 100%;
  padding: 8px 4px;
}
.carousel-dot {
  width: 9px; height: 9px;
  background: var(--hairline);
  border-radius: 50%;
  border: none;
  padding: 0; cursor: pointer;
  transition: background 200ms ease, transform 200ms ease;
}
.carousel-dot[aria-current="true"] {
  background: var(--accent);
  transform: scale(1.25);
}

/* — FAQ accordion — */
.faq-item {
  border-top: 1px solid var(--hairline);
}
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 200ms ease;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 11px;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--soft); border-color: var(--accent); }
.faq-item .faq-body {
  padding: 0 4px 28px 4px;
  color: var(--grey);
  max-width: 70ch;
}

/* — Drop cap — */
.drop-cap::first-letter {
  float: left;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4em;
  line-height: 0.85;
  padding: 6px 8px 0 0;
  color: var(--accent);
  font-weight: 600;
}

/* — Modal — */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal-backdrop.is-open { display: flex; }
.modal-card {
  background: var(--soft);
  border-left: 4px solid var(--accent);
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5);
  animation: modalIn 280ms cubic-bezier(.22,.61,.36,1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  font-size: 14px;
}
.modal-close:hover { background: rgba(0,0,0,0.06); }

/* — Cookie banner — */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: var(--ink);
  color: var(--soft);
  padding: 18px 22px;
  border-radius: 6px;
  z-index: 150;
  display: none;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
  max-width: 720px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner a { color: var(--soft); text-decoration: underline; }
.cookie-banner button {
  background: var(--soft); color: var(--ink);
  border: none; border-radius: 999px; padding: 10px 18px;
  font-weight: 600; cursor: pointer; font-size: 13px;
}

/* — Marquee — */
.marquee {
  display: flex;
  gap: 64px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover { animation-play-state: paused; }
.marquee-mask {
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  overflow: hidden;
}

/* — Forms — */
.field {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font: inherit;
  color: var(--ink);
  transition: border-color 200ms ease, background 200ms ease;
}
.field:focus { outline: none; border-color: var(--accent); background: #fff; }
.field-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
  display: block;
  margin-bottom: 8px;
}
textarea.field { min-height: 140px; resize: vertical; }

/* — Donation tiles — */
.donation-tile {
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.5);
  padding: 22px 16px;
  border-radius: 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, transform 150ms ease;
}
.donation-tile:hover { border-color: var(--accent); transform: translateY(-1px); }
.donation-tile.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--soft);
}

/* — Hairline rules — */
.hr-soft { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* — Stat row — */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
}
.stat .stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  color: var(--ink);
  line-height: 1;
}
.stat .stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 8px;
}

/* — Hero image edge — */
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* — Card photo — */
.card-photo {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* — Breadcrumb — */
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--grey);
}
.breadcrumb a { color: var(--grey); }
.breadcrumb a:hover { color: var(--accent); }

/* — Theory of change diagram — */
.toc-step {
  border: 1px solid var(--hairline);
  background: rgba(255,255,255,0.5);
  padding: 24px;
  border-radius: 4px;
  position: relative;
}
.toc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

/* — In-short box — */
.in-short {
  background: var(--accent);
  color: var(--soft);
  padding: 28px 30px;
  border-radius: 6px;
}
.in-short .eyebrow { color: var(--soft); }
.in-short .eyebrow::before { background: var(--soft); }
.in-short ul { list-style: none; padding: 0; margin: 14px 0 0 0; }
.in-short li {
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.in-short li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute; left: 0; top: 2px;
  font-size: 12px;
  color: var(--soft);
}

/* — Footer — */
.site-footer {
  background: var(--charcoal);
  color: rgba(242,237,222,0.78);
  font-size: 14.5px;
  line-height: 1.65;
}
.site-footer a { color: var(--soft); }
.site-footer a:hover { color: #fff; }
.site-footer .footer-heading {
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(242,237,222,0.55);
  margin-bottom: 18px;
}
.site-footer hr { border: 0; border-top: 1px solid rgba(242,237,222,0.14); }

/* — Utility overrides Tailwind cannot do cleanly — */
.no-bleed { overflow: clip; }
.botanical-divider {
  display: flex; align-items: center; justify-content: center;
  margin: 36px 0;
  color: var(--accent);
  gap: 14px;
  opacity: 0.7;
}
.botanical-divider::before,
.botanical-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline);
  max-width: 120px;
}

/* — Tag chip — */
.chip {
  display: inline-flex; align-items: center;
  padding: 5px 12px;
  background: rgba(45,90,60,0.08);
  color: var(--accent);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* — News card hover — */
.news-card { transition: transform 200ms ease; }
.news-card:hover { transform: translateY(-3px); }

/* — Honest box — */
.honest-box {
  border: 1px solid var(--hairline);
  background: rgba(45,90,60,0.05);
  padding: 28px 30px;
  border-radius: 4px;
  border-left: 4px solid var(--accent);
}
