:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a46;
  --cream: #faf6ee;
  --cream-deep: #f1e9d8;
  --gold: #b8923f;
  --gold-deep: #8f6f28;
  --gold-light: #e6d5a8;
  --black: #15130f;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(21, 19, 15, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--black);
  line-height: 1.15;
  margin: 0 0 20px;
}

p { margin: 0 0 16px; }

a { color: var(--gold-deep); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}

section[id] {
  scroll-margin-top: 96px;
}

@media (max-width: 600px) {
  section[id] { scroll-margin-top: 76px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}


.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.15s ease;
}

.wordmark:hover {
  color: var(--black);
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  transition: color 0.15s ease;
  padding: 4px 0;
}

.site-nav a:hover { color: var(--gold-deep); }

.site-nav .nav-donate {
  background: var(--gold-deep);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 3px 10px rgba(143, 111, 40, 0.3);
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-nav .nav-donate:hover {
  background: var(--black);
  color: var(--white) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}

.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 720px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .wordmark { font-size: 12px; }
}

@media (max-width: 560px) {
  .wordmark { font-size: 11.5px; letter-spacing: 0.02em; }
}

@media (max-width: 560px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-deep);
    box-shadow: 0 10px 24px rgba(21, 19, 15, 0.1);
    padding: 4px 24px 16px;
  }

  .site-nav.open { display: flex; }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--cream-deep);
  }

  .site-nav .nav-donate {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    padding: 14px 20px;
    border-bottom: none;
    box-shadow: none;
  }
}

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

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1.5px solid transparent;
  box-shadow: 0 3px 10px rgba(21, 19, 15, 0.14);
}

.btn-primary {
  background: var(--black);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(143, 111, 40, 0.3);
}

.btn-secondary {
  background: var(--white);
  color: var(--black) !important;
  border-color: var(--black);
  box-shadow: 0 3px 10px rgba(21, 19, 15, 0.1);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white) !important;
}

.btn-lg {
  padding: 17px 36px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.btn-primary.btn-lg {
  background: var(--gold-deep);
  color: var(--white) !important;
}

.btn-primary.btn-lg:hover {
  background: var(--white);
  color: var(--black) !important;
}


/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 44px 0 72px;
  text-align: center;
}

.hero-inner { max-width: 760px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 24px;
}

.hero-sub {
  display: inline-block;
  color: var(--gold-deep);
  font-size: 0.55em;
  font-weight: 600;
  margin-top: 10px;
}

.hero-lede {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

.hero-callout {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(22px, 3.5vw, 28px);
  line-height: 1.25;
  color: var(--black);
  margin: 28px auto 32px;
  max-width: 620px;
}

.hero-mobile-donate {
  display: none;
}

/* ---------- Hero photo ---------- */

.hero-photo-wrap {
  margin: 28px 0 32px;
  position: relative;
}

.hero-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.story {
  padding: 72px 0;
  background: var(--cream);
}


.story-text {
  max-width: 680px;
  margin: 48px auto 0;
}

.story-text p { color: var(--ink-soft); font-size: 16.5px; }

.legacy-frames {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 56px;
  margin: 64px auto 0;
  max-width: 680px;
}

.legacy-frame {
  margin: 0;
  width: 140px;
  text-align: center;
}

.legacy-frame img,
.legacy-frame-placeholder {
  width: 140px;
  height: 180px;
  object-fit: cover;
  border-radius: 50% / 58%;
  border: 6px solid var(--gold-light);
  outline: 1px solid var(--gold-deep);
  outline-offset: -3px;
  box-shadow: 0 10px 24px rgba(21, 19, 15, 0.2);
  background: #efe7d6;
}

.legacy-frame img { filter: sepia(0.35) contrast(1.02); }

.legacy-frame-photo-top { object-position: center 20%; }

.legacy-frame img.legacy-frame-icon {
  filter: none;
  object-fit: contain;
  padding: 30px;
  background: var(--white);
}

.legacy-frame-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-deep);
}

.legacy-frame-tilt-a { transform: rotate(-4deg); }
.legacy-frame-tilt-b { transform: rotate(3deg); }

.legacy-frame figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
}

.legacy-frame figcaption span {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 4px;
}

.story-ornament {
  text-align: center;
  max-width: 480px;
  margin: 48px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--cream-deep);
}

.story-ornament-top {
  margin: 0 auto 48px;
  padding-top: 0;
  border-top: none;
}


.story-quote {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--black);
  margin: 0;
  line-height: 1.15;
}

.story-quote-sub {
  display: block;
  color: var(--gold-deep);
  font-size: 19px;
  font-weight: 600;
  margin-top: 10px;
}

/* ---------- Action ---------- */

.action {
  background: var(--white);
  padding: 72px 0;
  border-top: 1px solid var(--cream-deep);
  border-bottom: 1px solid var(--cream-deep);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 48px;
}

.action-lede {
  text-align: center;
  color: var(--ink-soft);
  max-width: 620px;
  margin: -24px auto 48px;
}

.action-card {
  padding: 36px 0;
  border-top: 1px solid var(--cream-deep);
}

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

.action-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.action-content .action-body {
  flex: 2 1 0;
  min-width: 0;
}

.action-photo {
  flex: 1 1 0;
  margin: 0;
}

.action-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.action-num {
  margin-right: 2px;
}

.action-lead {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.action-body h3 {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.action-body p { color: var(--ink-soft); font-size: 15.5px; }

.action-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15.5px;
}

.action-list li { margin-bottom: 8px; }

.fine-print {
  font-size: 13px;
  color: #8a8578;
  margin: 12px 0 0;
}


@media (max-width: 560px) {
  .action-card {
    text-align: left;
  }
  .action-content {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .action-photo { width: 100%; }
  .action-photo img { height: 220px; }
  .action-list {
    text-align: left;
  }
}

/* ---------- Event ---------- */

.event {
  background: var(--black);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}

.event h2 {
  color: var(--white);
  font-size: clamp(26px, 4vw, 36px);
}

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

.event p { color: #cfc9bd; max-width: 620px; margin-left: auto; margin-right: auto; }

.event-meta {
  font-weight: 600;
  color: var(--gold-light) !important;
  margin: 20px 0 28px;
}

/* ---------- Closing ---------- */

.closing {
  padding: 72px 0;
  text-align: center;
  background: var(--cream-deep);
}

.closing-inner { max-width: 640px; position: relative; }

.closing h2 { font-size: clamp(26px, 4vw, 34px); }

.closing p { color: var(--ink-soft); }


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

.gallery-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
}

.gallery-marquee {
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.gallery-marquee::-webkit-scrollbar { display: none; }

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.gallery-track figure {
  flex: 0 0 auto;
  width: 260px;
  margin: 0;
}

.gallery-track img {
  width: 260px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.gallery-nav {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(21, 19, 15, 0.14);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.gallery-nav:hover {
  background: var(--gold-deep);
  border-color: var(--gold-deep);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .gallery-track figure { width: 200px; }
  .gallery-track img { width: 200px; height: 250px; }
}

@media (max-width: 480px) {
  .gallery-carousel { gap: 12px; padding: 0 16px; }
  .gallery-track { gap: 14px; }
  .gallery-nav { width: 40px; height: 40px; font-size: 14px; }
}

@media (max-width: 600px) {
  .gallery-nav { display: none; }
}

/* ---------- Archive (historical photos) ---------- */

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 24px 28px 8px;
  max-width: 1040px;
  margin: 80px auto 0;
}

.archive-card {
  margin: 0;
  background: #fdfbf5;
  padding: 10px 10px 18px;
  box-shadow: 0 6px 16px rgba(21, 19, 15, 0.18);
  filter: sepia(0.25) contrast(1.02);
  transition: transform 0.2s ease;
}

.archive-card:hover {
  transform: scale(1.04) rotate(0deg) !important;
  z-index: 2;
}

.archive-tilt-a { transform: rotate(-2deg); }
.archive-tilt-b { transform: rotate(2deg); }

.archive-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 20px 24px 8px; }
  .archive-card img { height: 200px; }
}

@media (max-width: 480px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .archive-card:nth-child(n+7) { display: none; }
}

/* ---------- Share ---------- */

.share {
  padding: 72px 0;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--gold-light);
  position: relative;
}

.share h2 {
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 10px;
}

.share p {
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 24px;
}

/* ---------- Form embed pages ---------- */

.form-embed-section {
  background: var(--white);
  padding: 56px 0 72px;
}

.form-embed-wrap {
  max-width: 680px;
  display: flex;
  justify-content: center;
}

.form-embed-wrap iframe {
  width: 100%;
  max-width: 640px;
  border: none;
}

@media (max-width: 600px) {
  .form-embed-section { padding: 40px 0 48px; }
}

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

.faq {
  background: var(--white);
  padding: 72px 0;
  border-top: 1px solid var(--cream-deep);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--cream-deep);
}

.faq-item:first-child {
  border-top: 1px solid var(--cream-deep);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  padding: 22px 4px;
  cursor: pointer;
}

.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform 0.2s ease;
}

.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  color: var(--ink-soft);
  margin: 0 4px 22px;
}

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

.site-footer {
  background: var(--black);
  color: #a9a398;
  padding: 28px 0;
  font-size: 13.5px;
  text-align: center;
}

.site-footer a { color: var(--gold-light); }

.footer-inner p { margin: 4px 0; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  transition: background 0.15s ease, color 0.15s ease;
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-links a:hover {
  background: var(--gold-light);
  color: var(--black);
}

.footer-disclaimer {
  margin-top: 16px !important;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11.5px;
  color: #8a8578;
  line-height: 1.5;
  text-align: center;
  width: 100%;
}

/* ---------- Mobile tightening ---------- */

@media (max-width: 600px) {
  .wrap { padding: 0 24px; }

  .header-inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }

  .hero { padding: 24px 0 48px; }
  .hero-lede { font-size: 15.5px; }
  .hero-callout { font-size: 21px; margin: 22px auto 26px; }
  .hero-mobile-donate { display: block; }
  .hero-photo-wrap { margin: 20px 0 24px; }
  .hero-photo { max-height: 260px; }

  .story { padding: 44px 0; }
  .story-ornament-top { padding-top: 0; margin-top: 0; }
  .story-quote-sub { font-size: 16px; }
  .legacy-frames { gap: 32px 28px; margin-top: 48px; }
  .legacy-frame { width: 108px; }
  .legacy-frame img,
  .legacy-frame-placeholder { width: 108px; height: 140px; }
  .legacy-frame img.legacy-frame-icon { padding: 22px; }

  .action { padding: 48px 0; }
  .section-title { margin-bottom: 32px; }
  .action-card { padding: 28px 0; gap: 16px; }

  .event { padding: 48px 0; }
  .closing { padding: 48px 0; }
  .share { padding: 48px 0; }

  .hero-inner .btn,
  .action-body .btn,
  .event-inner .btn,
  .closing-inner .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }

  .hero,
  .story-ornament,
  .section-title,
  .action-lede,
  .event,
  .closing,
  .share {
    text-align: left;
  }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 28px; }
}

/* ---------- Lightbox ---------- */

.archive-card img { cursor: zoom-in; }

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(21, 19, 15, 0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--black);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.lightbox-close:hover { background: var(--gold-light); }

@media (max-width: 480px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 20px; }
}
