/* Donor-page styles are loaded only by the independent recognition page. */
:root { color-scheme: dark; --donor-cobalt: #061538; --donor-ivory: #f7f3ea; --donor-gold: #f4cf79; --donor-muted: #bdcbe2; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.donor-page { margin: 0; min-width: 0; background-color: #061538; color: var(--donor-ivory); font: 17px/1.5 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
.donor-page { background-image: linear-gradient(90deg, #06153890, #061538b8 50%, #06153890), radial-gradient(ellipse at 50% 20%, transparent, #06153870 75%), url('assets/home/cosmos-fine-stars.svg'), url('assets/home/cosmos-blue-field.webp'); background-size: auto, auto, 1100px 1210px, 1672px 941px; background-position: center top; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--donor-gold); }
:focus-visible { outline: 3px solid #f8d783; outline-offset: 5px; }
img { max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 5; transform: translateY(-180%); opacity: 0; pointer-events: none; background: var(--donor-gold); color: #061538; padding: 12px 20px; }
.skip-link:focus { transform: translateY(0); opacity: 1; pointer-events: auto; }
.preview-notice { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; padding: 10px 20px; text-align: center; font-size: 12px; letter-spacing: .025em; color: #e2eaf5; background: #173151; border-bottom: 1px solid #7599c52e; }
.preview-notice strong { color: #f4d590; }
.donor-shell { width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.donor-header { position: relative; text-align: center; padding-top: 46px; }
.donor-logo { position: absolute; top: 53px; left: -6px; width: 142px; display: block; border-radius: 50%; }
.donor-logo img { display: block; width: 100%; border-radius: 50%; clip-path: circle(49.5% at 50% 50%); }
.back-link { position: absolute; top: 15px; right: 0; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #cad9ef; font-size: 12px; text-decoration: none; }
.back-link span { color: var(--donor-gold); }
.brand-lockup { padding-inline: 148px; }
.brand-title { font-size: clamp(32px, 4.3vw, 49px); font-weight: 500; line-height: 1.25; letter-spacing: .36em; text-indent: .36em; color: #fbfcff; }
.brand-subtitle { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 4px; font-size: clamp(12px, 1.8vw, 20px); letter-spacing: .22em; color: var(--donor-gold); white-space: nowrap; }
.brand-subtitle::before, .brand-subtitle::after { content: ''; height: 2px; flex: 1 0 20px; max-width: 60px; background: linear-gradient(90deg, transparent, #f6cf70); }
.brand-subtitle::after { transform: rotate(180deg); }
.purpose-line { margin: 15px 0 0; padding-inline: 120px; font-size: clamp(18px, 2.55vw, 29px); line-height: 1.25; font-weight: 700; letter-spacing: .09em; color: #fff2cf; text-shadow: 0 1px #7e572d, 0 0 13px #e9b05f38; }
.light-divider { position: relative; height: 2px; background: linear-gradient(90deg, transparent, #bc853345 12%, #e3b14f 38%, #fff1bc 50%, #e3b14f 62%, #bc853345 88%, transparent); }
.light-divider::after { content: ''; position: absolute; top: -6px; left: calc(50% - 40px); width: 80px; height: 14px; background: radial-gradient(ellipse, #ffffe7 0, #ffe195 15%, #ef9c3670 35%, transparent 72%); }
.header-divider { width: min(690px, 80%); margin: 18px auto 15px; }
.donor-header h1 { font-weight: 600; line-height: 1.18; }
.donor-header h1 > span { display: block; font-size: clamp(27px, 3.7vw, 40px); letter-spacing: .25em; text-indent: .25em; color: var(--donor-gold); text-shadow: 0 1px #886329; }
.donor-header h1 small { display: block; margin-top: 7px; font-size: clamp(15px, 1.95vw, 22px); font-weight: 400; letter-spacing: .47em; text-indent: .47em; }
.gratitude { max-width: 850px; margin: 20px auto 0; font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .055em; line-height: 1.5; }
#donor-wall { outline: none; }
.featured-supporters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 28px 46px 0; }
.featured-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 108px; padding: 11px 22px 15px; text-align: center; border: 2px solid #f4d07c; border-radius: 17px; background: linear-gradient(140deg, #0b234bba, #03132cba); box-shadow: 0 0 0 1px #8c5f2d35, inset 0 1px #fff2bd40; }
.featured-card::after { content: ''; position: absolute; left: 25%; right: 25%; bottom: -5px; height: 8px; background: radial-gradient(ellipse, #ffeeb8, #d5a84460 32%, transparent 72%); pointer-events: none; }
.featured-label { color: var(--donor-gold); font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .095em; }
.featured-name { margin-top: 5px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.08; font-weight: 600; letter-spacing: .015em; overflow-wrap: anywhere; text-wrap: balance; }
.supporter-scale { margin-top: 24px; text-align: center; }
.supporter-number { font-size: clamp(26px, 3.5vw, 38px); line-height: 1.15; font-weight: 700; letter-spacing: .18em; text-indent: .18em; color: var(--donor-gold); }
.supporter-caption { margin-top: 7px; font-size: clamp(14px, 1.8vw, 19px); line-height: 1.5; letter-spacing: .25em; text-indent: .25em; }
.wall-divider { max-width: 880px; margin: 19px auto 24px; }
.donor-search { max-width: 650px; margin: 0 auto 13px; }
.search-field { display: flex; align-items: center; min-height: 51px; padding: 0 11px 0 18px; border: 2px solid #e9c66e; border-radius: 12px; background: #06142ccc; box-shadow: inset 0 0 20px #16477925; }
.search-field:focus-within { box-shadow: 0 0 0 3px #f3cf7530, 0 0 24px #d8ad4e20; }
.search-icon { width: 25px; height: 25px; flex-shrink: 0; margin-right: 19px; }
.search-field label { white-space: nowrap; padding-right: 18px; margin-right: 17px; border-right: 1px solid #d3d9e5; letter-spacing: .13em; font-size: 14px; }
.search-field input { min-width: 0; flex: 1; width: 100%; min-height: 45px; padding: 6px 3px; color: #fff; font-size: 16px; border: 0; outline: none; background: transparent; border-radius: 3px; }
.search-field input::placeholder { color: #c7d1e2; opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear { flex-shrink: 0; border: 0; color: var(--donor-gold); min-height: 44px; padding: 8px; font-size: 13px; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.search-status { min-height: 1.5em; margin-top: 7px; color: #d3def1; text-align: center; font-size: 13px; }
.donor-tiers { display: grid; gap: 8px; }
.donor-tier { border: 1px solid #b4c1d9; border-radius: 13px; background: linear-gradient(115deg, #0b2144e0, #06162ee6); box-shadow: inset 0 0 0 2px #8ca5cf12, 0 3px 10px #01091b38; overflow: clip; }
.donor-tier:focus-within { border-color: #f3d386; outline: 2px solid #f3d386; outline-offset: 4px; }
.tier-heading { font-size: inherit; font-weight: 400; }
.tier-trigger { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(135px, .8fr) minmax(140px, .75fr) 26px; align-items: center; width: 100%; min-height: 49px; gap: 14px; padding: 10px 23px 10px 30px; text-align: left; color: var(--donor-ivory); background: transparent; border: 0; }
.tier-trigger:focus-visible { outline: none; }
.tier-trigger:not(:disabled):hover { background: #34548330; }
.tier-name { font-size: clamp(16px, 1.85vw, 21px); line-height: 1.25; letter-spacing: .15em; overflow-wrap: anywhere; }
.tier-count { color: var(--donor-gold); font-size: 20px; font-weight: 700; line-height: 1.25; font-variant-numeric: tabular-nums; }
.tier-range { white-space: nowrap; font-size: 19px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.tier-chevron { justify-self: end; width: 13px; height: 13px; border-right: 4px solid var(--donor-gold); border-bottom: 4px solid var(--donor-gold); transform: translateY(3px) rotate(225deg); transition: transform 220ms ease; }
.tier-trigger[aria-expanded="false"] .tier-chevron { transform: translateY(-3px) rotate(45deg); }
.tier-panel { border-top: 1px solid #88a8d431; padding: 22px 29px 27px; }
.donor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px 27px; margin: 0; padding: 0; list-style: none; }
.donor-grid li { color: #f0f2f7; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.tier-empty { color: var(--donor-muted); font-size: 15px; }
.tier-match-count { color: var(--donor-gold); font-size: 13px; margin-bottom: 17px; }
mark { color: #fff8df; background: #8a651c66; border-radius: 2px; box-shadow: 0 1px #e0c075; padding: 0; }
.no-results { max-width: 650px; margin: 20px auto 30px; padding: 24px; border: 1px solid #a2b3d147; border-radius: 12px; text-align: center; color: #e4ebf7; line-height: 1.7; }
.no-script-note { margin: 0 auto 22px; text-align: center; max-width: 650px; color: #cbd9f0; font-size: 14px; }
.anonymous-recognition { padding-top: 36px; text-align: center; }
.anonymous-recognition h2 { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 17px; font-weight: 400; line-height: 1.5; letter-spacing: .24em; }
.anonymous-recognition h2::before, .anonymous-recognition h2::after { content: ''; flex: 1 0 40px; max-width: 115px; height: 2px; background: linear-gradient(90deg, transparent, #ffe39a); }
.anonymous-recognition h2::after { transform: rotate(180deg); }
.anonymous-amount { margin-top: 6px; font-size: clamp(37px, 5vw, 58px); line-height: 1.25; font-weight: 700; color: var(--donor-gold); letter-spacing: .12em; text-indent: .12em; font-variant-numeric: tabular-nums; }
.anonymous-copy { max-width: 850px; margin: 3px auto 0; font-size: 18px; line-height: 1.5; letter-spacing: .04em; text-wrap: balance; }
.earth-horizon { position: relative; width: 100%; margin-top: 0; overflow: hidden; line-height: 0; background: radial-gradient(ellipse 450px 250px at 50% 76%, #1a468233, transparent); }
.earth-horizon img { display: block; width: 100%; min-height: 210px; max-height: 390px; object-fit: cover; object-position: center bottom; mask-image: linear-gradient(transparent, #000 48%); }
.donor-footer { position: relative; padding: 27px 0 21px; background: #040e22; border-top: 1px solid #8799b226; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 25px; width: min(1080px, calc(100% - 96px)); margin-inline: auto; }
.footer-brand { color: #f4e5bd; font-size: 18px; letter-spacing: .22em; text-decoration: none; }
.footer-brand span { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .09em; }
.footer-links, .social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: #c9d3e6; font-size: 12px; }
.footer-links a:hover { color: var(--donor-gold); }
.social-links { gap: 4px; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; color: #d8be83; border-radius: 50%; }
.social-links a:hover { color: #ffdf93; background: #e5c76a10; }
.social-links svg { width: 19px; height: 19px; }
.footer-copyright { text-align: center; margin-top: 16px; font-size: 11px; color: #9aaac4; }
@media (min-width: 1200px) { .donor-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1050px) {
  .donor-shell, .footer-inner { width: calc(100% - 64px); }
  .donor-logo { width: 108px; top: 61px; left: -4px; }
  .brand-lockup { padding-inline: 110px; }
  .purpose-line { padding-inline: 70px; }
  .featured-supporters { margin-inline: 20px; gap: 21px; }
  .featured-card { padding-inline: 15px; }
  .featured-label { font-size: 12px; }
  .tier-trigger { grid-template-columns: minmax(0, 1.6fr) minmax(110px, .7fr) minmax(130px, .75fr) 18px; gap: 9px; padding-inline: 20px; }
  .tier-count { font-size: 17px; }
  .tier-range { font-size: 17px; }
  .tier-name { font-size: 17px; letter-spacing: .1em; }
  .donor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .donor-shell, .footer-inner { width: calc(100% - 36px); }
  .donor-header { padding-top: 21px; }
  .donor-logo { position: static; width: 91px; margin: 0 auto 19px; }
  .back-link { top: 8px; right: 0; font-size: 11px; gap: 5px; }
  .brand-lockup { padding: 0; }
  .brand-title { font-size: clamp(30px, 7.1vw, 45px); letter-spacing: .28em; text-indent: .28em; }
  .brand-subtitle { font-size: clamp(11px, 2.8vw, 16px); gap: 10px; letter-spacing: .15em; }
  .brand-subtitle::before, .brand-subtitle::after { max-width: 34px; flex-basis: 10px; }
  .purpose-line { padding: 0; margin-top: 17px; font-size: clamp(18px, 4.3vw, 24px); letter-spacing: .055em; text-wrap: balance; }
  .header-divider { width: 92%; margin-block: 20px; }
  .donor-header h1 > span { font-size: clamp(27px, 6.6vw, 37px); letter-spacing: .18em; text-indent: .18em; }
  .donor-header h1 small { margin-top: 8px; font-size: 15px; letter-spacing: .35em; text-indent: .35em; }
  .gratitude { max-width: 510px; margin-top: 20px; font-size: 16px; line-height: 1.6; letter-spacing: .015em; padding-inline: 7px; text-wrap: balance; }
  .desktop-break { display: none; }
  .featured-supporters { margin: 25px auto 0; grid-template-columns: 1fr; max-width: 470px; gap: 16px; }
  .featured-card { min-height: 98px; padding: 15px 22px; border-radius: 15px; }
  .featured-label { font-size: 12px; letter-spacing: .085em; }
  .featured-name { font-size: 24px; line-height: 1.15; max-width: 355px; margin-inline: auto; }
  .supporter-scale { margin-top: 29px; }
  .supporter-number { font-size: clamp(22px, 5.7vw, 32px); letter-spacing: .12em; text-indent: .12em; }
  .supporter-caption { max-width: 470px; margin: 9px auto 0; font-size: 13px; letter-spacing: .17em; text-indent: .17em; text-wrap: balance; }
  .wall-divider { margin-block: 20px 24px; }
  .donor-search { margin-bottom: 12px; }
  .search-field { flex-wrap: wrap; padding: 9px 13px 4px; border-radius: 12px; }
  .search-icon { width: 20px; height: 20px; margin-right: 10px; }
  .search-field label { flex: 1; padding: 0; margin: 0; border: 0; font-size: 12px; letter-spacing: .15em; }
  .search-field input { flex-basis: calc(100% - 60px); min-height: 44px; padding-left: 30px; }
  .search-clear { min-width: 50px; padding-inline: 4px; }
  .search-status { font-size: 12px; min-height: 18px; }
  .donor-tiers { gap: 9px; }
  .tier-trigger { grid-template-columns: minmax(0, 1fr) auto 15px; padding: 13px 17px 14px; gap: 7px 12px; min-height: 85px; }
  .tier-name { grid-column: 1 / 3; grid-row: 1; font-size: 17px; letter-spacing: .105em; }
  .tier-count { grid-column: 1; grid-row: 2; font-size: 16px; }
  .tier-range { grid-column: 2; grid-row: 2; font-size: 16px; text-align: right; }
  .tier-chevron { grid-column: 3; grid-row: 1 / 3; width: 11px; height: 11px; border-width: 3px; }
  .tier-panel { padding: 19px 18px 24px; }
  .donor-grid { grid-template-columns: 1fr; gap: 12px; }
  .donor-grid li { font-size: 16px; }
  .anonymous-recognition { padding-top: 33px; }
  .anonymous-recognition h2 { gap: 9px; font-size: 13px; letter-spacing: .16em; }
  .anonymous-recognition h2::before, .anonymous-recognition h2::after { flex-basis: 14px; max-width: 40px; }
  .anonymous-recognition h2 span { max-width: 280px; text-wrap: balance; }
  .anonymous-amount { margin-top: 11px; font-size: clamp(35px, 9vw, 48px); letter-spacing: .07em; text-indent: .07em; }
  .anonymous-copy { margin-top: 10px; font-size: 15px; line-height: 1.6; letter-spacing: .015em; padding-inline: 10px; }
  .earth-horizon { margin-top: 10px; }
  .earth-horizon img { height: 190px; min-height: 0; width: 170%; max-width: none; margin-left: -35%; object-fit: cover; }
  .donor-footer { padding-top: 24px; }
  .footer-inner { justify-content: center; gap: 15px 30px; text-align: center; }
  .footer-brand { flex-basis: 100%; }
  .footer-links { gap: 16px; }
  .footer-social { flex-basis: 100%; }
  .social-links { justify-content: center; }
  .footer-copyright { margin-top: 13px; }
}
@media (max-width: 360px) {
  .preview-notice { font-size: 11px; padding-inline: 13px; }
  .donor-shell, .footer-inner { width: calc(100% - 28px); }
  .brand-subtitle { font-size: 10px; }
  .featured-card { padding-inline: 16px; }
  .featured-label { font-size: 11px; }
  .featured-name { font-size: 22px; }
  .tier-name { font-size: 15px; letter-spacing: .085em; }
  .tier-count, .tier-range { font-size: 14px; }
  .tier-trigger { padding-inline: 14px; gap: 7px 9px; }
  .anonymous-recognition h2 { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  body.donor-page { background: white; color: black; font-size: 12pt; }
  .donor-logo, .back-link, .donor-search, .earth-horizon, .donor-footer, .preview-notice, .light-divider { display: none; }
  .donor-shell { width: 100%; }
  .donor-header { padding-top: 0; }
  .brand-lockup, .purpose-line { padding-inline: 0; }
  .tier-panel[hidden], .donor-tier[hidden], .featured-card[hidden], .donor-grid li[hidden] { display: block !important; }
  .donor-tier, .featured-card { background: white; box-shadow: none; border-color: #777; }
  .tier-trigger, .tier-count, .tier-range, .tier-name, .donor-grid li, .brand-title, .brand-subtitle, .purpose-line, .donor-header h1 > span, .featured-label, .supporter-number, .anonymous-amount { color: black; text-shadow: none; }
  .tier-chevron { display: none; }
  .tier-trigger { grid-template-columns: 1.5fr 1fr 1fr; }
  .donor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .featured-supporters { break-inside: avoid; }
  .donor-grid li { break-inside: avoid; }
}
