/* Manrope throughout the public site. Local licensed files avoid remote font requests. */
@font-face{font-family:Manrope;src:url('fonts/manrope-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Manrope;src:url('fonts/manrope-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
:root{--am-font-heading:Manrope,Arial,sans-serif;--am-font-body:Manrope,Arial,sans-serif;--serif:Manrope,Arial,sans-serif;--sans:Manrope,Arial,sans-serif;--display:Manrope,Arial,sans-serif}
h1,h2,h3,.lead,.brand strong,.topic-card-copy strong{font-family:var(--sans)}
h1,h2,h3{line-height:1.2;letter-spacing:-.025em;overflow-wrap:anywhere}
h1,.page-top h1,.giving-masthead h1{font-size:clamp(34px,4.2vw,60px);line-height:1.16}
h2,.section-heading h2,.editorial-heading h2,.giving-copy h2,.giving-feature .giving-copy h2,.story-chapters h2,.ledger-empty h2{font-size:clamp(28px,3vw,42px);line-height:1.22}
h3,.ledger-note h3,.documentary-gallery .gallery-heading h3,.night-heading h3{font-size:26px;line-height:1.25}
.lead,.page-top .lead{font-size:24px;line-height:1.5;letter-spacing:-.02em}
.header .brand strong{font-size:24px;letter-spacing:-.03em;line-height:1.2}
.reference-copy h1{font-size:clamp(32px,3.5vw,52px);line-height:1.16;letter-spacing:-.03em}
.reference-form .reference-form-heading h2,.support-composition .donation-form h2{font-size:27px;line-height:1.25;letter-spacing:-.03em}
.photo-story-content h2{font-size:clamp(34px,4.6vw,64px);line-height:1.15;max-width:19ch}
.footer-invitation h2{font-size:clamp(30px,3.5vw,48px);line-height:1.2}
.footer .footer-brand strong{font-size:27px;line-height:1.2}
.footer-top h3{font-size:20px;letter-spacing:-.02em}
.clergy-card h3{font:600 30px/1.25 var(--sans);letter-spacing:-.03em;min-height:0}
.topic-card-copy strong{font:600 25px/1.25 var(--sans);letter-spacing:-.03em}
.info-card.info-photo-card summary h2,.info-card.info-quiet-card summary h2{font-size:29px;line-height:1.25}
.invitation-address-copy address>strong{font-size:clamp(30px,3vw,42px);line-height:1.25;letter-spacing:-.025em}
.editorial-heading>*{min-width:0}
.screen-heading{gap:20px;flex-wrap:wrap}
#result-dialog h2{font-size:32px;line-height:1.25}
@media(max-width:1100px){.header .brand strong{font-size:22px}}
@media(max-width:760px){
  h1,.page-top h1,.giving-masthead h1{font-size:34px;line-height:1.2}
  h2,.section-heading h2,.editorial-heading h2,.giving-copy h2,.giving-feature .giving-copy h2,.story-chapters h2,.ledger-empty h2,.prayer-section .section-heading h2{font-size:28px;line-height:1.25}
  h3,.ledger-note h3,.night-heading h3,.documentary-gallery .gallery-heading h3,.prose h2{font-size:24px;line-height:1.3}
  .lead,.page-top .lead{font-size:20px;line-height:1.5}
  .header .brand strong{font-size:20px}
  .header .brand small{font-size:16px}
  .reference-copy h1{font-size:32px;line-height:1.18}
  .reference-form .reference-form-heading h2,.support-composition .donation-form h2{font-size:25px}
  .clergy-card h3{font-size:27px;line-height:1.25}
  .topic-card-copy strong{font-size:20px;line-height:1.25}
  .info-card.info-photo-card summary h2,.info-card.info-quiet-card summary h2{font-size:27px;line-height:1.25}
  .photo-story-content h2{font-size:34px;line-height:1.2}
  .footer-invitation h2{font-size:30px;line-height:1.25}
  .footer .footer-brand strong{font-size:25px}
  .footer-top h3{font-size:19px}
  .invitation-address-copy address>strong{font-size:32px;line-height:1.25}
  .contact-phone strong{font-size:23px;line-height:1.35}
  .screen-heading h1{font-size:30px;line-height:1.2}
  #result-dialog h2{font-size:28px;line-height:1.25}
}
@media(max-width:360px){
  .header .brand strong{font-size:18px}
  .header .brand small{font-size:16px}
  .reference-copy h1{font-size:28px}
  .topic-photo-grid{grid-template-columns:1fr}
  .topic-photo-card{min-height:320px}
  .topic-card-copy strong{font-size:24px}
  body[data-page="privacy-policy"] .page-top h1{font-size:29px}
}

/* Photograph fills the existing imam card beneath its original gradient. */
.clergy-imam-photo{position:absolute;inset:0;z-index:-2;background:#173f35 url("photos/damir-mamin-enhanced.webp") no-repeat left top;background-size:auto 180%;background-position:0 32%}

/* Readability pass: preserve compositions, give supporting copy a readable scale. */
body{font-size:17px;line-height:1.65}
body .reference-purpose{font-size:20px;line-height:1.55;font-weight:500;color:#fff;max-width:34ch}
body .reference-remaining>span{font-size:18px;line-height:1.5;font-weight:600;color:#fff}
body .reference-values span{font-size:16px;color:#fff}
body .reference-destination{font-size:14px;font-weight:400;line-height:1.6;color:#e2eae5;background:none;border:0;padding:0;max-width:42ch;margin-block:14px}
body .reference-form .form-note,body .donation-form .form-note{font-size:14px;font-weight:400;line-height:1.6;color:#52695f;background:none;padding:0;margin-top:12px}
body .reference-form .consent,body .consent{font-size:16px;line-height:1.6;color:#354e42}
body .consent>span{min-width:0;overflow-wrap:anywhere}
body .reference-amount{flex-wrap:wrap;gap:10px;padding:12px}
body .reference-amount>label{flex:1 1 110px}
body .reference-form .amount-options{flex:1 1 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
body .reference-form .amount-options button{font-size:16px;min-height:44px;min-width:0}
body .reference-name{flex-wrap:wrap;row-gap:0}body .reference-name>label:first-child{flex-basis:150px}
body .reference-hero-links{flex-wrap:wrap}body .reference-hero-links>a{font-size:16px}
body .clergy-card p{font-size:17px;line-height:1.7}
body .clergy-source,body .clergy-note{font-size:16px;line-height:1.6}
body .text-link{white-space:normal}body .footer-bottom{flex-wrap:wrap}
body .header .brand small{font-size:14px;letter-spacing:0;line-height:1.4}
body .reference-under>a{min-width:0}body .reference-under p{min-width:0}
body input,body textarea,body select{font-size:16px}
@media(max-width:760px){body .reference-purpose{font-size:18px}body .reference-copy{padding:28px 24px}body .reference-under{grid-template-columns:1fr}body .reference-form .segmented span{padding-inline:8px}body .header .brand small{font-size:14px}}

body small{font-size:16px;line-height:1.6}
body .reference-account small{color:#40594b}
body .autopay-feature small{color:#3c5949}

/* Source credits and production notes are secondary to visitor-facing content. */
body :is(.reference-photo-credit,.clergy-source,.illustration-note,.address-source,.photo-story-caption,.documentary-figure figcaption,.prayer-meta p){font-size:14px;font-weight:400;line-height:1.6;letter-spacing:normal}
body :is(.photo-story-caption,.documentary-figure figcaption,.prayer-meta p) a{font-size:14px;font-weight:400}
body :is(.reference-photo-credit,.clergy-source,.photo-story-caption a,.documentary-figure figcaption a,.address-source a){text-decoration:none}
body :is(.reference-photo-credit,.clergy-source,.photo-story-caption a,.documentary-figure figcaption a,.address-source a):is(:hover,:focus-visible){text-decoration:underline}
body .reference-photo-credit{color:#d3dfd6;margin-top:12px}
body .clergy-source{color:#c5d6c9;margin-top:16px}
body .illustration-note,body .documentary-figure figcaption{color:#59695e}
body .photo-story .photo-story-caption{color:#c5d6c9}
