/* ------------------------------------------------------------------
   Support the Bird Family — stylesheet
   Look: pressed wildflowers on warm paper. Deep green-slate ink, sage
   links, a little gold for labels, white cards. Fraunces for headings,
   Source Sans 3 for everything else.
   ------------------------------------------------------------------ */

:root {
  --paper: #f8f4ec;
  --paper-alt: #f1ebe0;
  --ink: #27312f;
  --ink-soft: #3f4845;
  --ink-muted: #5c655f;
  --ink-faint: #6f6a60;
  --line: #e2dacc;
  --line-strong: #d9d1c2;
  --sage: #5c6b48;      /* olive, from the shirts and the hillside */
  --wine: #7a4349;      /* muted burgundy, from the family's shirts */
  --wine-deep: #5f3338;
  --denim: #5f7390;     /* a touch of denim, used sparingly */
  --gold: #b08a4a;      /* warm tan, from the late-summer grass */
  --white: #ffffff;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 16px 36px -24px rgba(39, 49, 47, 0.4);
  --max: 1100px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage); }
a:hover { color: var(--ink); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.6rem; }

/* Small floral divider under every section heading */
.section h2::after {
  content: ""; display: block; width: 150px; height: 26px; margin: 0.6rem 0 0.4rem;
  background: url("assets/floral-divider.svg") no-repeat center / contain;
}
.share-inner h2::after { margin-left: auto; margin-right: auto; }

p { margin: 0 0 1em; }

.label {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 600; margin: 0;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.container.narrow { max-width: 720px; }

.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--paper-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 640px; color: var(--ink-soft); margin-bottom: 2rem; }

.skip-link {
  position: absolute; left: -999px; top: 0.5rem;
  background: var(--ink); color: #fff; padding: 0.5rem 1rem; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500;
  text-decoration: none; color: var(--ink);
}
.site-nav { display: flex; gap: 1.5rem; font-size: 0.95rem; font-weight: 600; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink-muted); }
.site-nav a:hover { color: var(--ink); }
.nav-donate { margin-left: 0.5rem; }
@media (max-width: 720px) {
  .site-nav { display: none; }
  .brand span { font-size: 1.15rem; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy { max-width: 520px; }
.eyebrow {
  font-size: 0.8rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
  margin-bottom: 0.35em;
}
.hero-dates {
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  color: var(--ink-muted); margin-bottom: 1.25rem;
}
.hero-lede { font-size: 1.125rem; color: var(--ink-soft); margin-bottom: 1.75rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); padding: 5px;
  box-shadow: var(--shadow);
}
.hero-photo figcaption {
  margin: 0.75rem 0 0 0.25rem;
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-faint);
}
@media (max-width: 900px) {
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero-photo { order: -1; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0.6rem 1.6rem; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 1.05rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--wine); color: var(--paper); }
.btn-primary:hover { background: var(--wine-deep); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink-muted); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-small { min-height: 40px; padding: 0.35rem 1.1rem; font-size: 0.95rem; }

/* ---------- Ways to help ---------- */
.help-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}
.help-head .section-intro { margin-bottom: 0; }
.help-bouquet {
  width: 240px; height: auto; margin: 0 1.5rem 0 0; opacity: 0.95;
  justify-self: end; align-self: end;
}
@media (max-width: 760px) {
  .help-head { grid-template-columns: 1fr; gap: 1.5rem; }
  .help-bouquet { width: 170px; margin: 0; justify-self: center; }
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.help-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.help-card h3 { margin: 0; }
.help-card p { margin: 0; color: var(--ink-soft); }
.help-card .label + h3 { margin-top: -0.25rem; }
.covers { margin: 0; padding-left: 1.25rem; color: var(--ink-soft); line-height: 1.7; }
.card-action { margin-top: auto; padding-top: 0.5rem; }
.card-foot { margin-top: auto !important; padding-top: 0.5rem; }

.account { margin: 0.25rem 0 0; display: grid; gap: 0.9rem; }
.account dd { margin: 0.15rem 0 0; font-size: 1.05rem; color: var(--ink); }
.account-number {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 1.35rem !important; letter-spacing: 0.06em;
}
.copy-btn {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600;
  min-height: 36px; padding: 0 0.9rem; border-radius: 999px; cursor: pointer;
  background: var(--paper-alt); color: var(--ink); border: 1px solid var(--line-strong);
}
.copy-btn:hover { background: #eadfd8; }
.copy-btn.copied { background: var(--wine); color: var(--paper); border-color: var(--wine); }

.fine-print { font-size: 0.88rem; color: var(--ink-faint); }
.fraud-note {
  margin: 2rem auto 0; max-width: 640px; text-align: center;
  font-size: 0.95rem; color: var(--ink-faint);
}
.fraud-note strong { color: var(--wine); }

/* ---------- Updates + News band ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 3.5rem;
}
@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; gap: 2.5rem; }
}
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--line-strong); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1.25rem - 6px); top: 0.45rem;
  width: 10px; height: 10px; border-radius: 50%; background: var(--gold);
}
.timeline time { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.timeline p { margin: 0.25rem 0 0; color: var(--ink-soft); }

.band-col { display: flex; flex-direction: column; }
.news-cards { display: grid; gap: 1rem; }

.news-card {
  display: flex; flex-direction: column; gap: 0.35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.4rem; text-decoration: none;
  transition: border-color 0.15s;
}
.news-card:hover { border-color: var(--ink-muted); }
.news-title { font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; color: var(--ink); }
.news-more { font-size: 0.9rem; font-weight: 600; color: var(--denim); }

/* ---------- Share ---------- */
.share-inner { text-align: center; }
.share-inner p { color: var(--ink-soft); }
.share-row {
  display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 1.5rem;
}
.site-qr { width: 170px; height: 170px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 8px; box-shadow: var(--shadow); }
.share-actions { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.share-url { font-size: 1.15rem; color: var(--ink); background: var(--paper-alt); padding: 0.45rem 1rem; border-radius: 8px; }
.share-buttons { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem; text-align: center; color: var(--ink-soft);
  font-family: var(--serif); font-size: 1.15rem;
}
.site-footer::before {
  content: ""; display: block; width: 150px; height: 26px; margin: 0 auto 1.25rem;
  background: url("assets/floral-divider.svg") no-repeat center / contain;
}
.site-footer .fine-print { font-family: var(--sans); max-width: 600px; margin: 0.5rem auto 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-actions, .share-buttons, .copy-btn { display: none !important; }
  body { background: #fff; }
  .section { padding: 1.5rem 0; }
}
