/* ============================================================
   THE LINEN CLOSET — Design System
   Color palette: Soft blush, warm gold, near-black text
   Fonts: Playfair Display (headings) + Nunito (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Nunito:wght@300;400;600;700&display=swap');

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
  /* Blush — muted dusty mauve, less rose-forward */
  --rose:          #C4A4AE;
  --rose-dark:     #7A6070;
  --rose-deeper:   #5E4858;
  --rose-light:    #EAE2E6;
  --rose-mist:     #F9F6F8;

  /* Gold — unchanged, works well against the cleaner palette */
  --gold:          #C9A454;
  --gold-dark:     #A0803A;
  --gold-light:    #F0E3C0;
  --cream:         #FDFAF5;

  /* Gray — shifted darker for near-black body text */
  --gray-900:      #111111;
  --gray-700:      #282828;
  --gray-500:      #5A626E;
  --gray-400:      #9CA3AF;
  --gray-200:      #E5E7EB;
  --gray-100:      #F3F4F6;

  /* White */
  --white:         #FFFFFF;

  /* Semantic */
  --text-primary:    var(--gray-700);
  --text-secondary:  var(--gray-500);
  --text-light:      var(--gray-400);
  --bg-page:         #FFFFFF;
  --bg-muted:        #F7F5F5;
  --border:          var(--gray-200);
  --border-light:    var(--gray-200);

  /* Typography */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body:       'Nunito', system-ui, sans-serif;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* Layout */
  --container:  1120px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  /* Shadows — neutral, no pink tint */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.14);

  /* Transitions */
  --transition: 200ms ease;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--rose-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--rose-deeper);
}

ul, ol {
  padding-left: 1.5rem;
}

/* ── Typography ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--gray-900);
  font-weight: 600;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.175rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ── Layout Utilities ──────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section {
  padding-block: var(--space-4xl);
}

.section--muted {
  background-color: var(--bg-muted);
}

.section--cream {
  background-color: var(--cream);
}

.section--rose {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose-deeper) 100%);
  color: var(--white);
}

.section--rose h1,
.section--rose h2,
.section--rose h3,
.section--rose p,
.section--rose .eyebrow {
  color: var(--white);
}

.section--rose .eyebrow {
  color: var(--gold-light);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-3xl);
}

.section-header .eyebrow {
  margin-bottom: var(--space-sm);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

/* Gold rule divider */
.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: var(--space-md) auto;
  border-radius: 2px;
}

.divider--left {
  margin-inline: 0;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--rose-light);
  color: var(--rose-deeper);
  border-color: var(--rose-light);
}

.btn--primary:hover {
  background-color: var(--rose);
  border-color: var(--rose);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.btn--gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background-color: transparent;
  color: var(--rose-dark);
  border-color: var(--rose-dark);
}

.btn--outline:hover {
  background-color: var(--rose-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--rose-dark);
}

.btn--lg {
  font-size: 1rem;
  padding: 0.9rem 2.25rem;
}

.btn-group {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  align-items: center;
}

/* ── Header & Navigation ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(253, 250, 249, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-md);
  gap: var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rose-deeper);
  line-height: 1.2;
}

.nav__logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--rose-dark);
  border-bottom-color: var(--rose);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Nav */
@media (max-width: 860px) {
  .nav__hamburger { display: flex; }

  .nav__links,
  .nav__cta {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
  }

  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    z-index: 200;
  }

  .nav__cta {
    display: none;
  }

  .site-header.menu-open .nav__links {
    display: flex;
  }
}

/* ── Hero Section ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(100, 42, 58, 0.72) 0%,
    rgba(140, 65, 82, 0.58) 40%,
    rgba(190, 115, 132, 0.28) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-4xl);
}

.hero__content .eyebrow {
  color: var(--gold-light);
  margin-bottom: var(--space-md);
}

.hero__content h1 {
  color: var(--white);
  max-width: 620px;
  margin-bottom: var(--space-lg);
}

.hero__content .lead {
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  margin-bottom: var(--space-xl);
}

/* ── Impact Stats ────────────────────────────────────────── */
.stats {
  background: var(--white);
  border-top: 3px solid var(--gold);
  padding-block: var(--space-2xl);
  box-shadow: var(--shadow-sm);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--rose-dark);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Cards ───────────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  border: 1px solid var(--border-light);
}

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

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--rose-light);
}

.card__image--placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--gold-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-dark);
  font-size: 2.5rem;
}

.card__body {
  padding: var(--space-lg);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
}

.card__date {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--rose-dark);
  background: var(--rose-mist);
  padding: 2px 8px;
  border-radius: 50px;
}

.card__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.card__title a {
  color: var(--gray-900);
  text-decoration: none;
}

.card__title a:hover {
  color: var(--rose-dark);
}

.card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.card__link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card__link::after {
  content: '→';
  transition: transform var(--transition);
}

.card__link:hover::after {
  transform: translateX(4px);
}

/* ── Responsive Video Embed ──────────────────────────────── */
.video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--gray-900);
  box-shadow: var(--shadow-md);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition), transform var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.video-card__body {
  padding: var(--space-lg);
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.video-card__meta {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.video-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

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

/* ── Story Page ──────────────────────────────────────────── */
.story-hero {
  background: linear-gradient(135deg, var(--rose-mist) 0%, var(--cream) 100%);
  padding-block: var(--space-3xl);
  border-bottom: 1px solid var(--border);
}

.story-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.story-hero__back {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-hero__back::before { content: '←'; }

.story-hero__title {
  max-width: 760px;
  margin-bottom: var(--space-md);
}

.story-hero__date {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.story-featured-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-block: var(--space-2xl);
  box-shadow: var(--shadow-md);
}

.story-body {
  padding-block: var(--space-3xl);
}

.story-body .prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.story-body .prose h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.story-body .prose h3 { margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.story-body .prose p  { margin-bottom: var(--space-lg); }
.story-body .prose ul, .story-body .prose ol { margin-bottom: var(--space-lg); }
.story-body .prose li { margin-bottom: var(--space-sm); }
.story-body .prose blockquote {
  border-left: 4px solid var(--rose);
  padding-left: var(--space-lg);
  margin-left: 0;
  margin-block: var(--space-xl);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--rose-dark);
}

/* ── Organizations Page ──────────────────────────────────── */
.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.org-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.org-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--rose-light);
}

.org-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.org-card__location {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.org-card__link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose-dark);
}

/* ── Donate Section ──────────────────────────────────────── */
.donate-block {
  background: linear-gradient(135deg, var(--rose-mist) 0%, var(--cream) 100%);
  border: 2px solid var(--rose-light);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-block::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: var(--gold-light);
  border-radius: 50%;
  opacity: 0.4;
}

.donate-block::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 120px;
  height: 120px;
  background: var(--rose-light);
  border-radius: 50%;
  opacity: 0.3;
}

.donate-block h2 {
  position: relative;
  margin-bottom: var(--space-md);
}

.donate-block p {
  position: relative;
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  color: var(--text-secondary);
}

.paypal-btn-wrap {
  position: relative;
  display: inline-block;
}

/* ── Forms ───────────────────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-700);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(200, 126, 142, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

/* ── Newsletter Signup ───────────────────────────────────── */
.newsletter-section {
  background: linear-gradient(135deg, var(--rose-dark) 0%, var(--rose-deeper) 100%);
  padding-block: var(--space-3xl);
  text-align: center;
}

.newsletter-section h2,
.newsletter-section p {
  color: var(--white);
}

.newsletter-section .lead {
  color: rgba(255,255,255,0.85);
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.newsletter-embed {
  max-width: 480px;
  margin-inline: auto;
}

/* MailerLite overrides — force white on dark bg */
.newsletter-embed .ml-embedded input {
  border-radius: 50px !important;
}

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--rose-mist) 0%, var(--cream) 100%);
  padding-block: var(--space-3xl);
  border-bottom: 1px solid var(--border);
}

.page-hero .eyebrow {
  margin-bottom: var(--space-sm);
}

.page-hero h1 {
  margin-bottom: var(--space-md);
  max-width: 640px;
}

.page-hero .lead {
  max-width: 560px;
}

/* ── About Page ──────────────────────────────────────────── */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.team-card {
  flex: 0 0 260px;
  text-align: center;
}

.team-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--gold-light) 100%);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--rose-dark);
  font-weight: 600;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
  text-align: center;
}

.team-card__role {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.08em;
}

/* Values / mission two-col */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

/* Mission + Vision side-by-side */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

@media (max-width: 720px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.mission-grid__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.mission-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ── Quote / Callout ─────────────────────────────────────── */
.callout {
  background: var(--rose-mist);
  border-left: 4px solid var(--rose);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-xl);
  margin-block: var(--space-lg);
}

.callout--gold {
  background: var(--gold-light);
  border-left-color: var(--gold);
}

.callout p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--rose-deeper);
  margin: 0;
}

/* ── How to Help page ───────────────────────────────────── */
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.help-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  text-align: center;
}

.help-card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  display: block;
}

.help-card h3 {
  margin-bottom: var(--space-sm);
}

.help-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.75);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand .nav__logo-text {
  color: var(--white);
  font-size: 1.25rem;
}

.footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-top: var(--space-md);
  color: rgba(255,255,255,0.6);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--rose-light);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__legal {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-rose    { color: var(--rose-dark); }
.text-gold    { color: var(--gold-dark); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ── Story Search ───────────────────────────────────────── */
.story-search {
  margin-bottom: var(--space-2xl);
}

.story-search__form {
  position: relative;
  max-width: 560px;
}

.story-search__input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 3rem 0.85rem 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: 50px;
  background: var(--white);
  color: var(--gray-700);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.story-search__input:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(200, 126, 142, 0.15);
}

.story-search__input::placeholder {
  color: var(--gray-400);
}

.story-search__icon {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}

.story-search__clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-200);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-500);
  font-size: 0.75rem;
  line-height: 1;
  transition: background var(--transition);
  display: none;
}

.story-search__clear:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
}

.story-search__clear.visible { display: flex; }
.story-search__icon.hidden   { display: none; }

.story-search__meta {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  min-height: 1.4em;
}

.story-search__meta strong {
  color: var(--rose-dark);
}

/* Search results — replaces the paginated grid when active */
.search-results {
  display: none;
}

.search-results.active {
  display: block;
}

.search-results .cards {
  margin-bottom: var(--space-2xl);
}

.search-empty {
  text-align: center;
  padding: var(--space-4xl) 0;
  color: var(--text-secondary);
}

.search-empty__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

/* Hide the normal paginated grid during search */
.stories-paginated.hidden {
  display: none;
}

/* ── Pagination ─────────────────────────────────────────── */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

.pager__pages {
  display: flex;
  gap: var(--space-xs);
}

.pager__page {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  text-decoration: none;
  transition: all var(--transition);
}

.pager__page:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
  background: var(--rose-mist);
}

.pager__page--active {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

.pager__page--active:hover {
  background: var(--rose-deeper);
  border-color: var(--rose-deeper);
  color: var(--white);
}

.pager__arrow {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rose-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--rose-light);
  transition: all var(--transition);
}

.pager__arrow:hover {
  background: var(--rose-dark);
  border-color: var(--rose-dark);
  color: var(--white);
}

.pager__arrow--disabled {
  color: var(--text-light);
  border-color: var(--gray-200);
  pointer-events: none;
  opacity: 0.45;
}

/* ── Contact two-col layout ──────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
  align-items: start;
}

@media (max-width: 720px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

/* ── Story bottom nav ────────────────────────────────────── */
.story-footer-nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section { padding-block: var(--space-3xl); }
  .cards   { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero { min-height: 480px; }
  .hero__content h1 { font-size: 2rem; }
  .donate-block { padding: var(--space-xl); }
  .story-footer-nav { flex-direction: column; align-items: flex-start; }
  .story-footer-nav .btn { width: 100%; justify-content: center; }
  .page-hero { padding-block: var(--space-2xl); }
  .stat__number { font-size: 2rem; }
}

/* ── Skip link (accessibility) ───────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: var(--space-md);
  background: var(--rose-dark);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 1000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--space-md);
}
