:root {
  --ink: #111a38;
  --ink-2: #1a2752;
  --paper: #f7f3ec;
  --white: #ffffff;
  --muted: #66708d;
  --line: #d9d7d0;
  --blue: #3155ff;
  --blue-light: #aabdff;
  --red: #ff5d4d;
  --yellow: #ffd45c;
  --shadow: 0 30px 80px rgba(18, 28, 62, .16);
  --radius: 28px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 120px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-ink { color: var(--white); background: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 10px; padding: 10px 15px; color: var(--white); background: var(--blue); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(17, 26, 56, .96); box-shadow: 0 1px rgba(255,255,255,.12); backdrop-filter: blur(15px); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; transform: rotate(45deg); }
.brand-mark i { display: block; background: var(--red); border-radius: 3px; }
.brand-mark i:nth-child(2) { background: var(--yellow); }
.brand-mark i:nth-child(3) { grid-column: 1 / -1; background: var(--blue-light); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy b { font-size: 16px; letter-spacing: -.01em; }
.brand-copy small { margin-top: 5px; color: #aab4d4; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 700; font-size: 14px; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta) { color: #d5dcf2; }
.main-nav a:not(.nav-cta):hover { color: var(--white); }
.nav-cta { padding: 13px 21px; color: var(--ink); background: var(--yellow); border-radius: 999px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 820px; padding: 146px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 30%, #000); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr); gap: 82px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 25px; color: var(--blue-light); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 32px; height: 3px; background: var(--red); }
.hero h1, .section-heading h2, .program-intro h2, .gallery-heading h2, .documents-heading h2, .help-copy h2, .closing h2 { margin: 0; font-size: clamp(52px, 6.1vw, 90px); line-height: .96; letter-spacing: -.055em; }
.hero h1 em, .closing h2 em { color: var(--yellow); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-lead { max-width: 670px; margin: 32px 0 0; color: #c5cee9; font-size: 19px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.button { min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 25px; border: 0; border-radius: 999px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 12px 28px rgba(255, 93, 77, .25); }
.button-primary:hover { background: #ff4938; box-shadow: 0 16px 35px rgba(255, 93, 77, .32); }
.text-link { color: var(--white); font-weight: 700; text-underline-offset: 5px; }
.text-link span { color: var(--blue-light); }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 48px 0 0; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.16); }
.hero-facts div { padding-right: 20px; }
.hero-facts dt { font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.hero-facts dd { margin: 3px 0 0; color: #929dbd; font-size: 12px; }
.hero-visual { position: relative; min-height: 615px; }
.portrait-frame { position: absolute; inset: 0 24px 20px 34px; overflow: hidden; border-radius: 220px 220px 30px 30px; background: #273152; box-shadow: 0 40px 80px rgba(0,0,0,.25); }
.portrait-frame::after { content: ""; position: absolute; inset: auto 0 0; height: 36%; background: linear-gradient(transparent, rgba(17,26,56,.86)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.portrait-label { position: absolute; z-index: 2; left: 28px; bottom: 25px; font-family: Georgia, serif; font-size: 23px; }
.goal-card { position: absolute; z-index: 3; left: -32px; bottom: 56px; width: 260px; padding: 22px 24px; color: var(--ink); background: var(--yellow); border-radius: 18px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.goal-card span, .goal-card small { display: block; }
.goal-card span { font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.goal-card strong { display: block; margin: 7px 0 4px; font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.goal-card small { font-size: 11px; line-height: 1.35; }
.hero-dot { position: absolute; border-radius: 50%; }
.dot-one { width: 54px; height: 54px; right: 1px; top: 48px; background: var(--blue); }
.dot-two { width: 20px; height: 20px; left: 2px; top: 112px; background: var(--red); }
.scroll-cue { position: absolute; left: max(24px, calc((100vw - var(--container)) / 2)); bottom: 25px; display: inline-flex; align-items: center; gap: 12px; color: #8994b5; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.scroll-cue span { width: 38px; height: 1px; background: #8994b5; }

.purpose-strip { padding: 36px 0; color: var(--ink); background: var(--yellow); }
.purpose-inner { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.purpose-inner p, .purpose-inner strong { margin: 0; }
.purpose-inner p { font-size: 16px; }
.purpose-inner strong { max-width: 620px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; text-align: right; }

.section-heading { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 70px; margin-bottom: 75px; }
.section-heading h2, .gallery-heading h2, .documents-heading h2, .help-copy h2 { font-size: clamp(48px, 5.8vw, 78px); }
.kicker { margin: 0 0 20px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kicker-light { color: var(--yellow); }
.heading-copy { margin: 0; color: var(--muted); font-size: 18px; }
.story-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 86px; align-items: start; }
.story-image { position: relative; }
.story-image::before { content: ""; position: absolute; z-index: -1; width: 78%; height: 72%; left: -22px; top: -22px; background: var(--blue); border-radius: 26px; }
.story-image img { width: 100%; aspect-ratio: .78; object-fit: cover; object-position: center 30%; border-radius: 26px; box-shadow: var(--shadow); }
.image-caption { display: flex; gap: 14px; align-items: center; margin-top: 18px; color: var(--muted); font-size: 13px; }
.image-caption span { color: var(--red); font-weight: 800; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 114px 1fr; gap: 34px; padding: 36px 0 40px; border-bottom: 1px solid var(--line); }
.timeline-number { color: var(--red); font-family: Georgia, serif; font-size: 62px; line-height: 1; }
.timeline-number.now { font-family: Arial, sans-serif; font-size: 17px; font-weight: 800; writing-mode: vertical-rl; transform: rotate(180deg); letter-spacing: .08em; text-transform: uppercase; }
.timeline-label { margin: 0 0 5px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.timeline h3 { margin: 0 0 11px; font-size: 27px; line-height: 1.13; letter-spacing: -.03em; }
.timeline p:last-child { margin: 0; color: var(--muted); }

.program-intro { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: end; margin-bottom: 70px; }
.program-intro h2 { font-size: clamp(48px, 5.8vw, 78px); }
.program-intro > p { margin: 0; color: #c4cbea; font-size: 18px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.program-card { min-height: 270px; padding: 30px 28px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; transition: transform .25s, background .25s; }
.program-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.09); }
.program-card-accent { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.program-card-accent:hover { background: #ffdc76; }
.program-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 34px; color: var(--ink); background: var(--blue-light); border-radius: 50%; font-size: 11px; font-weight: 800; }
.program-card-accent .program-icon { color: var(--white); background: var(--red); }
.program-card h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.17; letter-spacing: -.03em; }
.program-card p { margin: 0; color: #aeb8d7; font-size: 14px; }
.program-card-accent p { color: #48506b; }
.funding-note { display: grid; grid-template-columns: .55fr 1fr auto; gap: 45px; align-items: center; margin-top: 58px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.16); }
.funding-amount small, .funding-amount strong { display: block; }
.funding-amount small { color: #8d98ba; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.funding-amount strong { margin-top: 5px; font-size: 34px; letter-spacing: -.04em; }
.funding-note p { margin: 0; color: #b5bfdc; font-size: 14px; }
.funding-note a { color: var(--yellow); font-weight: 800; white-space: nowrap; text-underline-offset: 5px; }

.gallery-heading { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: end; margin-bottom: 62px; }
.gallery-heading > p { margin: 0; color: var(--muted); font-size: 18px; }
.photo-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 22px; }
.photo-grid figure { position: relative; margin: 0; overflow: hidden; background: #ddd; border-radius: 24px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.photo-grid figure:hover img { transform: scale(1.025); }
.photo-large { height: 640px; }
.photo-small { height: 480px; align-self: end; }
.photo-large img { object-position: center 29%; }
.photo-small img { object-position: center 28%; }
.photo-grid figcaption { position: absolute; inset: auto 18px 18px; padding: 13px 16px; color: var(--white); background: rgba(17,26,56,.88); border-radius: 12px; font-size: 13px; backdrop-filter: blur(10px); }

.documents { background: var(--white); }
.documents-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; align-items: end; margin-bottom: 70px; }
.documents-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.documents-copy a { color: var(--blue); font-weight: 800; text-underline-offset: 5px; }
.document-groups { display: grid; gap: 70px; }
.doc-group { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; padding-top: 32px; border-top: 1px solid var(--line); }
.doc-group-title { display: flex; gap: 18px; }
.doc-group-title > span { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; color: var(--white); background: var(--ink); border-radius: 50%; font-size: 11px; font-weight: 800; }
.doc-group-title h3 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.doc-group-title p { margin: 0; color: var(--muted); font-size: 13px; }
.doc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.doc-cards-four { grid-template-columns: repeat(4, 1fr); }
.doc-card { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 1px solid #e3e1dc; border-radius: 14px; background: #f2efe9; cursor: zoom-in; aspect-ratio: .78; }
.doc-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.85); transition: transform .35s, filter .35s; }
.doc-card span { position: absolute; right: 10px; bottom: 10px; padding: 7px 10px; color: var(--white); background: var(--ink); border-radius: 9px; font-size: 11px; font-weight: 800; }
.doc-card:hover img, .doc-card:focus-visible img { transform: scale(1.035); filter: saturate(1); }

.help { color: var(--white); background: var(--blue); }
.help-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.help-copy { padding-top: 20px; }
.help-copy h2 { margin-bottom: 30px; }
.help-copy > p { max-width: 520px; margin: 0; color: #d5dcff; font-size: 18px; }
.help-assurance { display: flex; gap: 15px; max-width: 525px; margin-top: 32px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.22); }
.help-assurance > span { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; color: var(--ink); background: var(--yellow); border-radius: 50%; font-weight: 900; }
.help-assurance p { margin: 0; color: #d5dcff; font-size: 14px; }
.help-assurance strong { color: var(--white); }
.social-link { display: flex; align-items: center; gap: 14px; max-width: 525px; margin-top: 38px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.26); border-radius: 14px; text-decoration: none; transition: background .2s; }
.social-link:hover { background: rgba(255,255,255,.08); }
.social-link > span { display: grid; place-items: center; flex: 0 0 44px; height: 44px; color: var(--blue); background: var(--white); border-radius: 12px; font-weight: 900; }
.social-link div { display: flex; flex-direction: column; }
.social-link b { font-size: 14px; }
.social-link small { color: #bdc8f4; font-size: 12px; }
.social-link i { margin-left: auto; font-style: normal; }
.donation-card { padding: 38px; color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 35px 80px rgba(8, 23, 93, .28); }
.donation-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.donation-top p { margin: 0 0 2px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.donation-top h3 { margin: 0; font-size: 28px; }
.bank-badge { display: grid; place-items: center; width: 52px; height: 52px; background: var(--yellow); border-radius: 16px; font-size: 25px; font-weight: 900; }
.recipient { padding: 24px 0; }
.recipient span, .payment-row span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.recipient strong { font-size: 23px; line-height: 1.15; }
.payment-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 0; border-top: 1px solid var(--line); }
.payment-row strong { font-size: 19px; letter-spacing: .015em; }
.copy-button { flex: 0 0 auto; padding: 8px 11px; color: var(--blue); background: #edf0ff; border: 0; border-radius: 9px; font-size: 11px; font-weight: 800; cursor: pointer; }
.copy-button:hover { background: #dfe5ff; }
.qr-block { display: grid; grid-template-columns: 122px 1fr; gap: 18px; align-items: center; margin-top: 15px; padding: 18px; background: #f5f4f0; border-radius: 16px; }
.qr-block a { display: grid; place-items: center; width: 122px; height: 122px; padding: 8px; overflow: hidden; align-self: center; background: var(--white); border-radius: 10px; }
.qr-block img { width: 100%; height: 100%; object-fit: contain; aspect-ratio: 1 / 1; image-rendering: pixelated; }
.qr-block span { font-size: 13px; font-weight: 800; }
.qr-block p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.button-payment { width: 100%; margin-top: 20px; color: var(--white); background: var(--ink); }
.button-payment:hover { background: var(--ink-2); }
.donation-note { margin: 13px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.closing { padding: 115px 0; text-align: center; }
.closing-inner > p { margin: 0 0 22px; color: var(--blue-light); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.closing h2 { font-size: clamp(45px, 5.7vw, 76px); }
.closing-actions { display: flex; justify-content: center; gap: 16px; margin-top: 38px; }
.share-button { min-height: 56px; padding: 0 25px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; font-weight: 800; cursor: pointer; }
.share-button:hover { border-color: var(--white); }
.site-footer { padding: 34px 0; color: #9ca6c7; background: #0c132a; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 45px; align-items: center; }
.brand-footer { color: var(--white); }
.footer-inner > p { margin: 0; max-width: 500px; font-size: 12px; }
.footer-links { display: flex; gap: 20px; font-size: 12px; }
.footer-links a { text-underline-offset: 4px; }
.mobile-help { display: none; }

.doc-dialog { width: min(960px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: hidden; color: var(--ink); background: var(--white); border: 0; border-radius: 18px; box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.doc-dialog::backdrop { background: rgba(5,9,24,.82); backdrop-filter: blur(5px); }
.dialog-bar { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 65px; padding: 12px 18px 12px 23px; background: var(--white); border-bottom: 1px solid var(--line); }
.dialog-bar h2 { margin: 0; font-size: 16px; }
.dialog-close { display: grid; place-items: center; width: 39px; height: 39px; color: var(--white); background: var(--ink); border: 0; border-radius: 50%; font-size: 24px; cursor: pointer; }
.dialog-body { max-height: calc(100vh - 95px); overflow: auto; padding: 20px; background: #e9e7e1; }
.dialog-body img { width: 100%; height: auto; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; padding: 11px 17px; color: var(--white); background: var(--ink); border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, 20px); pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr .88fr; gap: 38px; }
  .hero h1 { font-size: clamp(50px, 7vw, 72px); }
  .hero-visual { min-height: 560px; }
  .goal-card { left: -10px; }
  .story-layout, .help-grid { gap: 55px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .funding-note { grid-template-columns: .65fr 1fr; }
  .funding-note a { grid-column: 2; }
  .doc-group { grid-template-columns: 240px 1fr; }
  .documents-heading, .gallery-heading, .program-intro { gap: 50px; }
}

@media (max-width: 800px) {
  .container { width: min(calc(100% - 34px), var(--container)); }
  .section { padding: 84px 0; }
  .header-inner { min-height: 72px; }
  .menu-toggle { position: relative; z-index: 2; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
  .menu-toggle i { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 72px 0 auto; display: grid; gap: 0; padding: 8px 17px 22px; background: rgba(17,26,56,.98); border-top: 1px solid rgba(255,255,255,.12); transform: translateY(-130%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav a { padding: 16px 5px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav .nav-cta { margin-top: 10px; padding: 14px; text-align: center; border: 0; }
  .hero { min-height: auto; padding: 116px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 650px; margin-top: 10px; }
  .portrait-frame { inset-inline: 45px; }
  .goal-card { left: 8px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .scroll-cue { display: none; }
  .purpose-inner, .section-heading, .program-intro, .gallery-heading, .documents-heading { grid-template-columns: 1fr; display: grid; gap: 25px; }
  .purpose-inner strong { text-align: left; }
  .section-heading { margin-bottom: 55px; }
  .story-layout { grid-template-columns: 1fr; gap: 60px; }
  .story-image { max-width: 540px; }
  .program-intro { margin-bottom: 45px; }
  .gallery-heading { margin-bottom: 45px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-large, .photo-small { height: 490px; }
  .doc-group { grid-template-columns: 1fr; gap: 24px; }
  .doc-cards-four { grid-template-columns: repeat(4, 1fr); }
  .help-grid { grid-template-columns: 1fr; gap: 55px; }
  .help-copy { padding-top: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 560px) {
  body { padding-bottom: 74px; }
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 70px 0; }
  .brand-copy b { font-size: 15px; }
  .hero { padding-top: 108px; }
  .hero h1, .section-heading h2, .program-intro h2, .gallery-heading h2, .documents-heading h2, .help-copy h2, .closing h2 { font-size: 43px; line-height: 1; }
  .hero-lead, .heading-copy, .program-intro > p, .gallery-heading > p, .help-copy > p { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .text-link { text-align: center; }
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .hero-facts div:last-child { grid-column: 1 / -1; }
  .hero-visual { min-height: 510px; }
  .portrait-frame { inset: 0 15px 20px; border-radius: 160px 160px 26px 26px; }
  .goal-card { left: 0; bottom: 33px; width: 224px; padding: 19px; }
  .goal-card strong { font-size: 25px; }
  .dot-one { right: -3px; top: 35px; width: 42px; height: 42px; }
  .purpose-strip { padding: 30px 0; }
  .purpose-inner strong { font-size: 21px; }
  .story-layout { gap: 45px; }
  .timeline-item { grid-template-columns: 68px 1fr; gap: 18px; padding-block: 28px; }
  .timeline-number { font-size: 48px; }
  .timeline h3 { font-size: 22px; }
  .program-grid { grid-template-columns: 1fr; }
  .program-card { min-height: 230px; }
  .funding-note { grid-template-columns: 1fr; gap: 20px; }
  .funding-note a { grid-column: 1; }
  .photo-grid { grid-template-columns: 1fr; }
  .photo-large { height: 500px; }
  .photo-small { height: 390px; }
  .documents-heading { margin-bottom: 48px; }
  .document-groups { gap: 52px; }
  .doc-cards, .doc-cards-four { grid-template-columns: repeat(2, 1fr); }
  .donation-card { padding: 25px 19px; border-radius: 22px; }
  .recipient strong { font-size: 20px; }
  .payment-row { align-items: flex-start; }
  .payment-row strong { font-size: 16px; }
  .copy-button span { display: none; }
  .copy-button::after { content: "Копия"; }
  .qr-block { grid-template-columns: 104px 1fr; padding: 14px; }
  .qr-block a { width: 104px; height: 104px; padding: 7px; }
  .closing { padding: 80px 0; }
  .closing h2 { font-size: 38px; }
  .closing h2 br { display: none; }
  .closing-actions { flex-direction: column; }
  .closing-actions > * { width: 100%; }
  .site-footer { padding-bottom: 30px; }
  .footer-links { flex-wrap: wrap; }
  .mobile-help { position: fixed; z-index: 90; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 74px; padding: 10px 15px calc(10px + env(safe-area-inset-bottom)); color: var(--white); background: rgba(12,19,42,.97); border-top: 1px solid rgba(255,255,255,.14); box-shadow: 0 -10px 35px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
  .mobile-help span { display: flex; flex-direction: column; }
  .mobile-help small { color: #9da8c9; font-size: 10px; }
  .mobile-help strong { font-size: 17px; }
  .mobile-help a { padding: 12px 21px; color: var(--white); background: var(--red); border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; }
  .dialog-body { padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-help, .hero-actions, .closing, .site-footer, .doc-dialog, .toast { display: none !important; }
  body { padding: 0; color: #000; background: #fff; }
  .section, .hero { padding: 30px 0; }
  .hero, .section-ink, .help { color: #000; background: #fff; }
}
