/* The Lifting Up Children Fund — shared styles */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;600;700&family=Archivo+Black&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --gold: #E8A93B;
  --gold-deep: #C98A22;
  --black: #1B1712;
  --cream: #F4ECDB;
  --cream-soft: #FBF7ED;
  --rust: #7A3B26;
  --rust-deep: #5C2B1B;
  --slate: #33495A;
  --slate-soft: #587288;

  --font-display: 'Roboto Slab', serif;
  --font-bold: 'Archivo Black', sans-serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 62ch; }

a { color: var(--rust); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: var(--black);
  color: var(--cream-soft);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream-soft);
}

.brand img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--cream-soft);
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--gold);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

nav.main-nav li {
  flex-shrink: 0;
}

.nav-and-donate {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

nav.main-nav {
  flex-shrink: 0;
}

nav.main-nav a {
  color: var(--cream-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 8px 14px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover {
  background: rgba(232, 169, 59, 0.15);
  color: var(--gold);
}

nav.main-nav a.current {
  color: var(--gold);
  background: rgba(232, 169, 59, 0.1);
}

.nav-donate {
  background: var(--gold) !important;
  color: var(--black) !important;
  margin-left: 6px;
  display: inline-block;
  padding: 8px 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 3px;
}

.nav-donate-wrap {
  display: flex;
  align-items: center;
  margin-left: 48px;
  flex-shrink: 0;
}

.nav-donate-wrap givebutter-widget {
  display: inline-block;
  line-height: 1;
}

.nav-donate:hover {
  background: var(--gold-deep) !important;
  color: var(--black) !important;
}

/* ---------- Mobile header/nav ---------- */
/* Below this width, brand + 6 nav links + donate button no longer
   fit on one row. Stack the nav onto its own row and let it scroll
   horizontally rather than clipping or forcing page-wide overflow. */
@media (max-width: 900px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-and-donate {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .nav-donate-wrap {
    order: -1;
    margin-left: 0;
    justify-content: center;
  }

  .nav-donate-wrap .nav-donate {
    width: 100%;
    text-align: center;
  }

  nav.main-nav {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  nav.main-nav::-webkit-scrollbar {
    display: none;
  }

  nav.main-nav ul {
    width: max-content;
  }

  nav.main-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .brand-text { font-size: 0.92rem; }
  .brand img { height: 40px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-deep);
  color: var(--black);
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--cream);
  border-color: transparent;
  color: var(--black);
}
.btn-outline:hover {
  background: var(--cream-soft);
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  color: var(--cream-soft);
}
.btn-dark:hover {
  background: #302921;
  color: var(--cream-soft);
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  background: linear-gradient(180deg, var(--black) 0%, var(--black) 52%, var(--rust-deep) 78%, var(--gold) 100%);
  color: var(--cream-soft);
  overflow: hidden;
  padding: 90px 0 0;
}

.hero-sun {
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: 380px;
  height: 380px;
  margin-left: -190px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #FFE8B0 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow: 0 0 90px 30px rgba(232, 169, 59, 0.45);
  animation: rise 1.8s ease-out;
}

@keyframes rise {
  from { transform: translateY(120px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-bottom: 160px;
}

.hero-eyebrow {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
}

.hero p.lede {
  color: #E9E2D2;
  font-size: 1.15rem;
  max-width: 54ch;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  background: var(--black);
  color: var(--cream-soft);
  padding: 36px 0;
  border-bottom: 3px solid var(--gold);
}

.page-hero .hero-eyebrow { margin-bottom: 10px; }
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: #E9E2D2; font-size: 1.05rem; }

.page-hero.compact {
  padding: 42px 0;
}
.page-hero.compact h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  white-space: nowrap;
  margin-bottom: 0;
}
@media (max-width: 560px) {
  .page-hero.compact h1 { white-space: normal; }
}

/* ---------- Sections ---------- */

section { padding: 72px 0; }

section.alt {
  background: var(--cream-soft);
  border-top: 1px solid rgba(27,23,18,0.08);
  border-bottom: 1px solid rgba(27,23,18,0.08);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

/* ---------- Horizon stat bar ---------- */

.stat-horizon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--black);
  padding-top: 28px;
}

.stat-horizon div + div {
  border-left: 1px solid rgba(27,23,18,0.15);
  padding-left: 28px;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--rust);
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--black);
  max-width: 30ch;
}

@media (max-width: 720px) {
  .stat-horizon { grid-template-columns: 1fr; gap: 24px; }
  .stat-horizon div + div { border-left: none; padding-left: 0; border-top: 1px solid rgba(27,23,18,0.15); padding-top: 20px; }
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream-soft);
  border: 1px solid rgba(27,23,18,0.12);
  border-radius: 4px;
  padding: 28px;
}

/* ---------- Donate amount grid ---------- */

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 32px;
}

@media (max-width: 640px) {
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
}

.amount-option {
  background: var(--cream-soft);
  border: 2px solid var(--black);
  border-radius: 4px;
  padding: 18px 10px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.amount-option small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  margin-top: 4px;
  max-width: 16ch;
  margin-inline: auto;
}

.amount-option:hover,
.amount-option.selected {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Stories list ---------- */

.story {
  border-top: 1px solid rgba(27,23,18,0.15);
  padding: 36px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
}

.story:first-of-type { border-top: none; padding-top: 0; }

@media (max-width: 640px) {
  .story { grid-template-columns: 1fr; gap: 12px; }
}

.story-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rust);
  font-size: 0.95rem;
  padding-top: 4px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-line {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.contact-line strong {
  min-width: 90px;
  color: var(--rust);
}

/* ---------- Footer ---------- */

footer {
  background: var(--black);
  color: #C9BFA9;
  padding: 48px 0 32px;
  font-size: 0.92rem;
}

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

footer a { color: #C9BFA9; }
footer a:hover { color: var(--gold); }

footer .foot-brand {
  font-family: var(--font-display);
  color: var(--cream-soft);
  font-weight: 700;
  margin-bottom: 6px;
}

.foot-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.legal-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #948A76;
}

/* ---------- Cinematic story panels ---------- */

.story-intro {
  padding: 32px 0 8px;
}

.story-panel {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.story-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,14,10,0) 25%, rgba(17,14,10,0.55) 70%, rgba(17,14,10,0.8) 100%);
}

.story-panel.accent::before {
  background: linear-gradient(180deg, rgba(92,43,27,0) 20%, rgba(92,43,27,0.6) 70%, rgba(92,43,27,0.85) 100%);
}

.story-panel-inner {
  position: relative;
  z-index: 2;
  padding: 56px;
  max-width: 760px;
}

.story-panel-time {
  font-family: var(--font-bold);
  color: var(--gold);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.75), 0 1px 3px rgba(0,0,0,0.9);
}

.story-panel.accent .story-panel-time {
  color: #FBD9BE;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.85);
}

.story-panel-text {
  font-size: 1.65rem;
  line-height: 1.42;
  max-width: 44ch;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8), 0 1px 4px rgba(0,0,0,0.95);
}

.big-quote {
  font-family: var(--font-bold);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 22px;
  max-width: 16ch;
  text-shadow: 0 4px 28px rgba(0,0,0,0.8), 0 2px 6px rgba(0,0,0,0.95);
}

@media (max-width: 720px) {
  .story-panel { min-height: 70vh; }
  .story-panel-inner { padding: 32px 24px; }
}

/* ---------- Editorial asymmetric gallery ---------- */

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 170px;
  gap: 10px;
}

.editorial-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.editorial-grid .feature {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 800px) {
  .editorial-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .editorial-grid .feature { grid-column: span 2; grid-row: span 2; }
}

.photo-story-bg {
  position: relative;
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
  color: #fff;
  padding-bottom: 80px;
}

.photo-story-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,12,9,0.45);
  pointer-events: none;
}

.photo-story-bg .wrap {
  position: relative;
  z-index: 2;
}

.photo-story-bg h1,
.photo-story-bg h2,
.photo-story-bg p {
  color: #FFFFFF;
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1), 0 0 24px rgba(0,0,0,0.6);
}

.photo-story-bg h2 {
  margin-top: 8px;
}

.photo-story-bg .pull-quote {
  color: var(--gold);
  border-left-color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1);
}

.photo-story-bg .hero-eyebrow {
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,1);
}

/* iOS Safari doesn't support background-attachment:fixed reliably; falls back to scroll (still fully readable, just no parallax pin) */
@supports (-webkit-touch-callout: none) {
  .photo-story-bg { background-attachment: scroll; }
}

/* ---------- Aspiration panels ---------- */

.aspiration-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.aspiration-card {
  background: var(--cream-soft);
  border: 1px solid rgba(27,23,18,0.12);
  border-radius: 4px;
  padding: 32px 28px;
}

.aspiration-card h2 {
  color: var(--rust);
  margin-bottom: 12px;
}

.aspiration-card p {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .aspiration-grid { grid-template-columns: 1fr; }
}

/* ---------- Impact badge button ---------- */

.impact-badge-link {
  position: absolute;
  top: 40px;
  right: 48px;
  z-index: 5;
  display: block;
  width: 150px;
  transition: transform 0.15s ease;
}

.impact-badge-link:hover {
  transform: scale(1.05);
}

.impact-badge-link img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.5));
}

@media (max-width: 720px) {
  .impact-badge-link {
    width: 96px;
    top: 16px;
    right: 16px;
  }
}

/* Badge centered beneath the hero CTA button (home page) */
.hero-badge-below {
  text-align: center;
  margin-top: 0.5in;
}

.hero-badge-below .impact-badge-link {
  position: static;
  display: inline-block;
  z-index: auto;
}

@media (max-width: 720px) {
  .hero-badge-below .impact-badge-link {
    width: 96px;
  }
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .focus-list { grid-template-columns: 1fr; }
}

.focus-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(27,23,18,0.15);
  border-radius: 4px;
  padding: 18px;
  background: var(--cream-soft);
}

.focus-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--rust);
  min-width: 28px;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.gallery-grid img,
.gallery-grid video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  background: var(--cream-soft);
}

/* ---------- Story feature ---------- */

.story-feature {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(27,23,18,0.15);
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-soft);
}

.story-feature img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.story-feature .story-feature-body {
  padding: 24px 28px 24px 0;
}

@media (max-width: 700px) {
  .story-feature { grid-template-columns: 1fr; }
  .story-feature .story-feature-body { padding: 0 20px 24px; }
  .story-feature img { min-height: 200px; }
}

/* ---------- Team grid ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}

.team-card {
  text-align: left;
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.team-card h3 { margin-bottom: 2px; font-size: 1.05rem; }
.team-card p { color: var(--slate); font-size: 0.92rem; margin: 0; }

/* ---------- Field team profiles (photo + bio) ---------- */

.field-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .field-team-grid { grid-template-columns: 1fr; }
}

.field-team-card {
  background: var(--cream-soft);
  border: 1px solid rgba(27,23,18,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.field-team-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.field-team-card-body {
  padding: 22px 24px 26px;
}

.field-team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.field-team-card .role {
  color: var(--rust);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.field-team-card .bio-placeholder {
  color: var(--slate);
  font-style: italic;
  font-size: 0.92rem;
  border-top: 1px dashed rgba(27,23,18,0.2);
  padding-top: 14px;
  margin-bottom: 0;
}

.bio-scroll {
  border-top: 1px dashed rgba(27,23,18,0.2);
  padding-top: 14px;
  max-height: 220px;
  overflow-y: auto;
}

.bio-scroll p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--black);
}

.bio-scroll p:last-child {
  margin-bottom: 0;
}

/* ---------- Pricing tiers ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  border: 2px solid var(--black);
  border-radius: 4px;
  padding: 26px 22px;
  background: var(--cream-soft);
  text-align: left;
}

.pricing-card.featured {
  border-color: var(--rust);
  background: #FBEFE7;
}

.pricing-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--rust);
  margin: 6px 0 10px;
}

.pricing-card .price span {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--slate);
}

/* ---------- Pull quote ---------- */

.pull-quote {
  border-left: 4px solid var(--gold);
  padding-left: 20px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
}

/* ---------- Breadcrumb-ish back link ---------- */

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 600;
}

/* ---------- Day-in-the-life story ---------- */

.story-disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--slate);
  max-width: 60ch;
  margin-bottom: 36px;
}

.day-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.day-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid rgba(27,23,18,0.15);
}

.day-block:first-child { border-top: none; }

.day-block img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.day-time {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rust);
  font-size: 1rem;
  margin-bottom: 6px;
}

.day-block.donor-turn {
  background: #FBEFE7;
  border-radius: 6px;
  padding: 32px 28px;
  border-top: none;
}

.day-block.donor-turn .day-time { color: var(--rust-deep); }

@media (max-width: 720px) {
  .day-block { grid-template-columns: 1fr; }
  .day-block img { height: 220px; }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--rust);
  color: #fff;
  padding: 56px 0;
  text-align: left;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #F0DFD3; }

.cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* ---------- FAQ accordion ---------- */

.faq-list {
  border-top: 1px solid rgba(27,23,18,0.15);
}

.faq-item {
  border-bottom: 1px solid rgba(27,23,18,0.15);
  padding: 4px 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 24px 24px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.15;
  color: var(--black);
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-item summary:hover {
  color: var(--rust);
}

.faq-item .faq-answer {
  padding: 0 4px 22px;
  color: var(--slate);
  max-width: 65ch;
}

/* ---------- Accomplishments: "Where are they now" highlight cards ---------- */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .highlight-grid { grid-template-columns: 1fr; }
}

.highlight-card {
  background: var(--cream-soft);
  border: 1px solid var(--black);
  border-radius: 4px;
  overflow: hidden;
}

.highlight-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(27,23,18,0.12);
}

.highlight-photos img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.highlight-card-body {
  padding: 20px 24px 24px;
}

.highlight-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border: 2px dashed rgba(27,23,18,0.2);
  border-radius: 4px;
  color: var(--slate);
  font-style: italic;
  text-align: center;
  padding: 24px;
}

/* ---------- Detail popup (budget breakdown, etc.) ---------- */

.detail-trigger-wrap {
  text-align: center;
  margin-top: 32px;
}

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(27,23,18,0.72);
  z-index: 1000;
  padding: 24px 16px;
  overflow-y: auto;
}

.modal-overlay.is-open {
  display: block;
}

.modal-box {
  background: var(--cream-soft);
  border-radius: 6px;
  max-width: 820px;
  width: 100%;
  margin: 40px auto;
  padding: 36px 40px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.modal-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: -12px -16px 12px 0;
}

.modal-donate-widget {
  flex-shrink: 0;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: var(--black);
  padding: 8px 12px;
  flex-shrink: 0;
}

.modal-close:hover { color: var(--rust); }

.modal-box h2 {
  margin-top: 0;
  margin-bottom: 4px;
}

.modal-intro {
  color: var(--slate);
  margin-top: 0;
  margin-bottom: 28px;
}

.budget-detail h3 {
  font-family: var(--font-display);
  color: var(--rust);
  font-size: 1.1rem;
  margin: 30px 0 4px;
}

.budget-detail > h3:first-child { margin-top: 0; }

.budget-detail-total {
  font-weight: 700;
  margin: 0 0 12px;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.budget-table th,
.budget-table td {
  text-align: left;
  padding: 7px 6px;
  border-bottom: 1px solid rgba(27,23,18,0.1);
}

.budget-table th {
  font-weight: 700;
  color: var(--black);
  border-bottom: 2px solid var(--black);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.budget-table td:last-child,
.budget-table th:last-child {
  text-align: right;
  white-space: nowrap;
}

.budget-table tr.subtotal-row td {
  font-weight: 700;
  border-top: 1px solid rgba(27,23,18,0.25);
  border-bottom: none;
}

.budget-detail-note {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0 0 8px;
}

.modal-grand-total {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 2px solid var(--black);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

@media (max-width: 640px) {
  .modal-box { padding: 26px 20px 24px; margin: 16px auto; }
  .budget-table { font-size: 0.82rem; }
  .budget-table th, .budget-table td { padding: 6px 4px; }
}

/* ---------- Inline donate widgets (aspiration card / page hero) ---------- */

.aspiration-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.aspiration-card-donate-widget {
  flex-shrink: 0;
}

@media (max-width: 420px) {
  .aspiration-card-footer { align-items: flex-start; }
}

.page-hero-with-donate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-hero-copy {
  flex: 1 1 240px;
}

.page-hero-donate-widget {
  flex-shrink: 0;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .page-hero-donate-widget { margin-top: 16px; }
}

/* ---------- Hero CTA (secondary button, e.g. 2026 Projects) ---------- */

.page-hero-with-cta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.page-hero-copy {
  flex: 1 1 240px;
}

.page-hero-cta {
  flex-shrink: 0;
  margin-top: calc(6px - 0.2in);
}

@media (max-width: 640px) {
  .page-hero-cta { margin-top: calc(16px - 0.2in); }
}

/* ---------- Detail line (project line item with donate widget) ---------- */

.detail-line-group {
  margin: 28px 0 4px;
}

.detail-line-group h3 {
  margin-bottom: 4px;
}

.detail-line-group .detail-line-group-total {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 0 0 14px;
}

.detail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27,23,18,0.1);
}

.detail-line-copy strong {
  display: block;
  margin-bottom: 2px;
}

.detail-line-copy a {
  font-size: 0.9rem;
}

.detail-line-widget {
  flex-shrink: 0;
}

/* ---------- Section head with inline donate widget (multi-project pages) ---------- */

.section-head-with-donate {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.section-head-with-donate .section-head {
  margin-bottom: 0;
  flex: 1 1 240px;
}

.section-head-donate-widget {
  flex-shrink: 0;
  margin-top: 6px;
}

@media (max-width: 640px) {
  .section-head-donate-widget { margin-top: 16px; }
}

/* ---------- Starfish link line (keep "Read more" on the same line) ---------- */

.starfish-line {
  white-space: nowrap;
  overflow-x: auto;
}

@media (max-width: 640px) {
  .starfish-line { white-space: normal; overflow-x: visible; }
}

.project-category-head {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  margin-top: 48px;
  margin-bottom: 20px;
}

.project-category-head:first-of-type {
  margin-top: 0;
}

/* ---------- Project cards (Adopt a project / 2026 budget pages) ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 40px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
}

.project-card {
  background: var(--cream-soft);
  border: 1px solid rgba(27,23,18,0.12);
  border-radius: 4px;
  padding: 24px;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: static !important;
}

@media (max-width: 560px) {
  .project-card { min-height: 0; }
}

.project-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
}

.project-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.project-stat {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rust);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.project-stat span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--slate);
  font-size: 0.85rem;
  margin-top: 2px;
}

.project-card p:last-of-type {
  margin-bottom: 0;
}

.project-card-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.detail-link-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--rust);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  text-align: left;
}

.detail-link-btn:hover {
  color: var(--rust-deep);
}

.project-card-donate {
  flex-shrink: 0;
}

.project-card-progress {
  position: static;
  margin-top: 16px;
}
</content>
