:root {
  --ink: #172823;
  --green: #19443b;
  --green-dark: #0f2e28;
  --mint: #dcece5;
  --paper: #f7f5ef;
  --white: #fff;
  --yellow: #f7c94b;
  --coral: #d96d59;
  --line: rgba(23, 40, 35, .17);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-header {
  height: 78px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
  background: rgba(247, 245, 239, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark {
  width: 43px; height: 43px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green); color: white;
  font-family: Georgia, serif; font-size: 24px;
}
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 15px; line-height: 1.2; }
.brand small { margin-top: 2px; color: #66736e; font-size: 10px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: 14px; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--coral); transition: right .2s; }
.site-nav a:hover::after { right: 0; }
.header-help {
  padding: 12px 18px; border-radius: 4px; background: var(--green); color: white;
  font-size: 14px; font-weight: 700;
}
.menu-button { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 11px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--ink); transition: transform .2s, opacity .2s; }

.hero {
  min-height: calc(100vh - 78px); max-height: 880px; position: relative;
  display: grid; align-items: end; color: white; overflow: hidden;
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 37, 31, .9) 0%, rgba(9, 37, 31, .68) 43%, rgba(9, 37, 31, .08) 76%), linear-gradient(0deg, rgba(9, 37, 31, .42), transparent 45%); }
.hero-inner { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 90px 0 112px; }
.eyebrow, .section-label { margin: 0 0 18px; color: var(--yellow); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.hero h1, .section h2, .donation h2, .contacts h2 {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: 0;
}
.hero h1 { max-width: 790px; font-size: clamp(54px, 7vw, 96px); line-height: .98; }
.hero-lead { max-width: 610px; margin: 30px 0 0; font-size: 20px; line-height: 1.55; }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; }
.button {
  min-height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; border-radius: 4px; font-weight: 800;
}
.button-primary { background: var(--yellow); color: var(--ink); }
.button-light { color: white; border-color: rgba(255,255,255,.65); }
.button:hover { transform: translateY(-1px); }
.hero-goal {
  position: absolute; z-index: 1; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 90px;
  width: 280px; padding: 18px 0 18px 24px; border-left: 3px solid var(--yellow);
}
.hero-goal span, .hero-goal small { display: block; }
.hero-goal span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.hero-goal strong { display: block; margin: 3px 0; font-size: 34px; line-height: 1.15; }
.hero-goal small { color: rgba(255,255,255,.78); font-size: 12px; }

.fact-strip {
  max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr);
  background: white; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.fact-strip div { min-height: 124px; padding: 28px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.fact-strip div:last-child { border-right: 0; }
.fact-strip span { color: #6d7773; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.fact-strip strong { margin-top: 7px; font-size: 17px; }

.section { max-width: var(--max); margin: 0 auto; padding: 120px 24px; }
.section-label { color: var(--coral); }
.section-label.light { color: var(--yellow); }
.story-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; align-items: start; }
.story h2, .rehab h2, .documents h2 { font-size: clamp(44px, 5vw, 70px); line-height: 1.03; }
.story-title { position: sticky; top: 115px; }
blockquote {
  margin: 50px 0 0; padding: 20px 0 20px 24px; border-left: 3px solid var(--yellow);
  color: var(--green); font: 24px/1.45 Georgia, serif;
}
.story-copy { font-size: 18px; }
.story-copy p { margin: 0 0 25px; }
.story-copy .lead { font: 27px/1.45 Georgia, serif; color: var(--green); }

.memory-grid {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr; min-height: 640px;
  background: var(--green-dark);
}
.memory-grid figure { margin: 0; min-height: 540px; position: relative; overflow: hidden; }
.memory-grid img { width: 100%; height: 100%; object-fit: cover; }
.memory-large figcaption {
  position: absolute; left: 30px; right: 30px; bottom: 28px; padding: 22px 24px;
  background: rgba(15,46,40,.87); color: white;
}
.memory-large figcaption strong, .memory-large figcaption span { display: block; }
.memory-large figcaption strong { font: 28px Georgia, serif; }
.memory-large figcaption span { margin-top: 6px; color: rgba(255,255,255,.8); }
.memory-note {
  padding: 54px 42px; color: white; display: flex; flex-direction: column; justify-content: center;
}
.memory-note p { font: 31px/1.35 Georgia, serif; }
.sun { width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 12px rgba(247,201,75,.14); }
.share-button { align-self: flex-start; margin-top: 18px; padding: 0 0 7px; border: 0; border-bottom: 1px solid var(--yellow); color: white; background: transparent; cursor: pointer; font-weight: 700; }

.rehab-head, .documents-head { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.rehab-head > p, .documents-head > p { margin: 0; font-size: 18px; }
.rehab-list { margin-top: 64px; border-top: 1px solid var(--line); }
.rehab-list article {
  display: grid; grid-template-columns: 80px .7fr 1.2fr; gap: 32px; padding: 31px 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.rehab-list article > span { color: var(--coral); font-weight: 800; }
.rehab-list h3 { margin: 0; font: 29px Georgia, serif; }
.rehab-list p { margin: 0; color: #4d5b56; }
.video-block {
  margin-top: 90px; display: grid; grid-template-columns: .8fr 1.2fr; background: var(--mint);
}
.video-block > div { padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow.dark { color: var(--coral); }
.video-block h3 { margin: 0; font: 40px/1.12 Georgia, serif; }
.video-block video { width: 100%; height: 520px; object-fit: cover; background: #102b26; }

.donation {
  display: grid; grid-template-columns: 1fr 1fr; color: white; background: var(--green);
}
.donation-intro, .payment { padding: 90px max(32px, calc((100vw - var(--max)) / 2)); }
.donation-intro { padding-right: 7vw; }
.donation h2 { font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.donation-intro > p:not(.section-label) { max-width: 570px; margin: 28px 0; color: rgba(255,255,255,.8); font-size: 18px; }
.button-yellow { background: var(--yellow); color: var(--ink); }
.payment { padding-left: 6vw; background: var(--green-dark); }
.recipient span, .recipient small, .payment-row span { display: block; color: rgba(255,255,255,.6); font-size: 11px; text-transform: uppercase; }
.recipient strong { display: block; margin: 6px 0; font: 28px/1.25 Georgia, serif; }
.payment-row { margin-top: 30px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.19); display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.payment-row b { display: block; margin-top: 5px; font-size: 22px; letter-spacing: 0; }
.payment-row button { border: 1px solid rgba(255,255,255,.45); border-radius: 4px; padding: 9px 12px; color: white; background: transparent; cursor: pointer; font-size: 12px; }
.payment-note { margin: 28px 0 0; color: rgba(255,255,255,.63); font-size: 12px; }

.document-grid { margin-top: 60px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 16px; }
.document-card { min-width: 0; padding: 0; border: 1px solid var(--line); background: white; text-align: left; cursor: zoom-in; }
.document-card img { width: 100%; height: 360px; object-fit: cover; object-position: top; }
.document-card.featured img { height: 430px; }
.document-card span { display: block; padding: 18px; }
.document-card b, .document-card small { display: block; }
.document-card b { font-size: 16px; }
.document-card small { margin-top: 4px; color: #69746f; }
.document-card:hover { border-color: var(--coral); }
.all-documents { margin-top: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.all-documents summary { padding: 22px 0; cursor: pointer; font-weight: 800; }
.document-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; padding-bottom: 22px; }
.document-thumbs button { padding: 0; border: 1px solid var(--line); background: white; cursor: zoom-in; }
.document-thumbs img { width: 100%; height: 180px; object-fit: cover; object-position: top; }

.contacts {
  padding: 90px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1fr 1fr;
  gap: 8vw; color: white; background: var(--coral);
}
.contacts h2 { font-size: clamp(42px, 5vw, 66px); line-height: 1.03; }
.social-links { display: grid; gap: 12px; align-content: center; }
.social-links a { padding: 20px; display: flex; align-items: center; gap: 16px; border: 1px solid rgba(255,255,255,.42); }
.social-links a > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--coral); font-weight: 900; }
.social-links strong, .social-links small { display: block; }
.social-links small { color: rgba(255,255,255,.72); }

footer {
  max-width: var(--max); margin: 0 auto; min-height: 160px; padding: 42px 24px; display: grid;
  grid-template-columns: 1fr 1.3fr auto; gap: 40px; align-items: center; font-size: 13px;
}
.footer-brand { margin: 0; }
footer p { color: #62706a; }
footer > a { font-weight: 800; }
.mobile-help { display: none; }
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 30px; transform: translate(-50%, 30px);
  padding: 12px 18px; border-radius: 4px; background: var(--ink); color: white; opacity: 0; pointer-events: none; transition: .2s;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.image-dialog {
  width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 54px 16px 20px;
  border: 0; background: #15221e; color: white;
}
.image-dialog::backdrop { background: rgba(6,16,13,.88); }
.image-dialog img { max-height: calc(100vh - 130px); width: 100%; object-fit: contain; }
.image-dialog p { margin: 12px 0 0; text-align: center; }
.dialog-close { position: absolute; right: 12px; top: 9px; width: 38px; height: 38px; border: 0; background: white; color: var(--ink); font-size: 28px; cursor: pointer; }

@media (max-width: 980px) {
  .site-header { height: 66px; padding: 0 16px; }
  .header-help { display: none; }
  .menu-button { display: block; z-index: 55; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 66px 0 0; display: none; padding: 36px 24px 110px;
    background: var(--paper); align-content: start; overflow-y: auto;
  }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font: 34px Georgia, serif; }
  .hero { min-height: calc(100svh - 66px); }
  .hero-inner { width: calc(100% - 32px); padding: 250px 0 170px; align-self: end; }
  .hero h1 { font-size: clamp(48px, 13vw, 68px); }
  .hero-lead { font-size: 17px; }
  .hero-shade { background: linear-gradient(0deg, rgba(9,37,31,.96) 0%, rgba(9,37,31,.68) 56%, rgba(9,37,31,.14) 100%); }
  .hero-image { object-position: 52% 25%; }
  .hero-goal { left: 16px; right: auto; bottom: 75px; width: calc(100% - 32px); }
  .hero-goal strong { font-size: 28px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip div { min-height: 88px; border-right: 0; border-bottom: 1px solid var(--line); }
  .story-layout, .rehab-head, .documents-head, .video-block, .donation, .contacts { grid-template-columns: 1fr; }
  .story-title { position: static; }
  .memory-grid { grid-template-columns: 1fr 1fr; }
  .memory-large { grid-column: 1 / -1; }
  .memory-note { min-height: 330px; }
  .rehab-list article { grid-template-columns: 50px 1fr; }
  .rehab-list article p { grid-column: 2; }
  .video-block video { height: min(650px, 80vh); }
  .document-grid { grid-template-columns: repeat(2, 1fr); }
  .document-card.featured img { height: 360px; }
  .document-thumbs { grid-template-columns: repeat(3, 1fr); }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .brand-mark { width: 38px; height: 38px; }
  .hero-inner { padding-top: 210px; }
  .hero h1 { font-size: 50px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-lead { margin-top: 22px; }
  .section { padding: 82px 18px; }
  .story h2, .rehab h2, .documents h2, .donation h2, .contacts h2 { font-size: 43px; }
  .story-copy .lead { font-size: 23px; }
  blockquote { font-size: 21px; margin-top: 30px; }
  .memory-grid { grid-template-columns: 1fr; }
  .memory-large { grid-column: auto; }
  .memory-grid figure { min-height: 480px; }
  .memory-note { min-height: 280px; padding: 42px 25px; }
  .memory-note p { font-size: 26px; }
  .rehab-list article { padding: 25px 0; gap: 18px; }
  .video-block > div { padding: 42px 24px; }
  .video-block h3 { font-size: 34px; }
  .video-block video { height: 530px; }
  .donation-intro, .payment { padding: 70px 20px; }
  .payment-row { align-items: flex-end; }
  .payment-row b { font-size: 17px; }
  .payment-row button { padding: 8px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card img, .document-card.featured img { height: 300px; }
  .document-thumbs { grid-template-columns: repeat(2, 1fr); }
  .contacts { padding: 70px 20px; }
  footer { padding-bottom: 92px; }
  .mobile-help {
    position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; height: 54px;
    display: flex; align-items: center; justify-content: center; border-radius: 4px;
    color: var(--ink); background: var(--yellow); box-shadow: 0 8px 28px rgba(0,0,0,.2); font-weight: 900;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
