/* Shared public platform: approved identity with readable UI and figures. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.number-text, .project-target strong, .project-index, .detail-funding strong, .house-detail-totals strong { font-family: var(--figures); font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 18px; background: white; color: var(--ism-blue); z-index: 100; }
.skip-link:focus { top: 10px; }
.day-title { flex-wrap: wrap; justify-content: center; gap: 5px 12px; }
.day-title > span { font-family: var(--serif); font-size: 12px; line-height: 1.5; }
.day-header .menu-toggle { padding: 12px 0 12px 12px; min-width: 44px; min-height: 44px; justify-content: flex-end; }
.campaign-welcome { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 0; color: #FFFDF5; }
.campaign-welcome .eyebrow { color: var(--ism-gold); font-size: 12px; line-height: 1.7; }
.campaign-welcome h2 { font-size: 38px; line-height: 1.2; margin: 9px 0 10px; }
.campaign-welcome p:not(.eyebrow) { font-size: 16px; color: #E3E4EB; }
.campaign-welcome.has-video { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
#campaign-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 14px; }
.giving-overview .house-card { grid-template-rows: auto auto auto auto 1fr auto; text-decoration: none; }
.house-pledged { grid-column: 1/-1; color: #39415C; font-size: 13px; line-height: 1.6; margin: 0 0 16px; }
.giving-overview .house-supporters { margin-bottom: 5px; }
.giving-overview .recognition { min-height: 0; }
.leader-empty { font-size: 16px; line-height: 1.7; color: var(--ism-blue); padding: 24px 0; }
.private-gift { font: 600 13px var(--serif); }
.giving-overview[data-view='projects'] { display: block; }
.giving-overview[data-view='projects'] #explore { display: block; padding: 0; }
.giving-overview[data-view='projects'] .recognition { display: none; }
.giving-overview[data-view='projects'] .section-bottom { display: flex; margin-top: 24px; }
.giving-overview[data-view='projects'] .section-bottom > * { margin-top: 0; }
.project-collection-intro { color: #E3E4EB; font-size: 16px; line-height: 1.7; margin: -6px 0 24px; }
.projects-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.giving-overview .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.campaign-project, .giving-overview .campaign-project { display: flex; flex-direction: column; padding: 0; gap: 0; overflow: hidden; background: #F5F5F7; border-radius: 18px; color: var(--ism-blue); border: 1px solid rgb(39 45 76 / 16%); }
.project-photo-link { display: block; background: #F8F8F7; }
.project-photo { width: 100%; height: 225px; object-fit: cover; display: block; }
.project-photo.is-plan { object-fit: contain; padding: 12px; }
.campaign-project-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.project-card-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.project-card-topline .eyebrow { font-size: 12px; color: #805A2C; }
.project-index { font-size: 13px; font-weight: 700; color: #555A70; }
.campaign-project h3, .giving-overview .campaign-project h3 { font-size: 26px; font-weight: 600; line-height: 1.3; margin: 0 0 15px; color: var(--ism-blue); }
.campaign-project h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.campaign-project p, .giving-overview .campaign-project p { font-size: 16px; line-height: 1.7; margin-bottom: 24px; color: #39415C; }
.project-target { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding-top: 18px; border-top: 1px solid rgb(39 45 76 / 16%); margin-top: auto; }
.project-target > span { font-size: 15px; font-weight: 600; }
.project-target > strong { font-size: 23px; font-weight: 700; color: var(--ism-blue); }
.project-progress-summary { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 12px; font-size: 13px; line-height: 1.7; color: #39415C; }
.project-read-more { margin-top: 22px; align-self: flex-start; font-size: 15px; color: var(--ism-blue); }
.campaign-project .project-photo-link:focus-visible { outline-offset: -5px; }
.recent-section { position: relative; z-index: 1; color: #FFFDF5; padding-top: 18px; padding-bottom: 34px; }
.recent-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.recent-heading .eyebrow { color: var(--ism-gold); font-size: 11px; margin-bottom: 8px; }
.recent-heading h2 { font-size: 30px; }
.recent-heading > p { font-size: 14px; color: #E3E4EB; }
.recent-gifts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.recent-gift { display: flex; flex-direction: column; gap: 8px; background: rgb(255 255 255 / 9%); border: 1px solid rgb(255 255 255 / 20%); border-radius: 14px; padding: 20px; }
.recent-gift span { font-size: 14px; color: #E3E4EB; }
.recent-gift b { color: var(--ism-gold); font-family: var(--figures); font-size: 19px; }
.empty-state { grid-column: 1/-1; font-size: 17px; line-height: 1.7; padding: 22px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 14px; }
.donation-dock .dock-inner { min-height: 128px; height: auto; padding-top: 16px; padding-bottom: 16px; }
.donation-dock .dock-fundraising { display: block; }
.donation-dock .dock-goal { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: space-between; margin: 8px 0; }
.donation-dock .dock-goal span, .donation-dock .dock-goal strong { font: 600 12px var(--figures); margin: 0; color: #FFFDF5; }
.donation-dock .dock-fundraising .campaign-total { font: 600 30px var(--figures); line-height: 1.1; }
.donation-dock .dock-fundraising .progress-track { margin: 0; }
.pledged-line { font-size: 12px; line-height: 1.5; margin-top: 8px; color: #E3E4EB; }
.pledged-line strong { font-family: var(--figures); }
.donation-dock .carousel-window { width: auto; min-width: 0; }
.donation-dock .carousel-item { height: 22px; line-height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.site-footer { padding-bottom: 165px; }
.gift-toast { position: fixed; z-index: 200; left: 24px; bottom: 155px; max-width: min(400px,calc(100vw - 48px)); padding: 18px 22px; background: #FFFDF5; color: var(--ism-blue); border: 1px solid var(--ism-gold); border-radius: 14px; box-shadow: 0 10px 35px #0003; font-size: 16px; line-height: 1.5; }
.modal-top h2 { font-size: 31px; line-height: 1.2; }
dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.form-field input:not([type=checkbox]):not([type=radio]), .form-field select, .form-field textarea { width: 100%; padding: 12px; border: 1px solid #BFC2CD; border-radius: 5px; background: #FFF; color: var(--ism-blue); font-size: 16px; }
.form-field label { display: block; margin-bottom: 8px; }
.required-note { color: #805A2C; font-size: 12px; margin-left: 4px; }
.modal-amounts .amount-btn { font-family: var(--figures); }
.invoice-address, .due-diligence { margin: 0 0 22px; font-size: 14px; line-height: 1.7; }
.invoice-address summary, .due-diligence summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.invoice-address span { font-weight: 500; }
.invoice-address[open] summary { margin-bottom: 12px; }
.method-choices, .recognition-choices { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.method-choices legend, .recognition-choices legend { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.method-option { display: flex; gap: 12px; padding: 16px; margin-bottom: 10px; border: 1px solid #D9DAE2; border-radius: 9px; align-items: start; }
.method-option input { margin-top: 5px; }
.method-option small { display: block; font-size: 14px; line-height: 1.6; margin-top: 5px; }
.method-option:has(input:disabled) { color: #5A6075; background: #F3F3F6; }
.bank-recommendation { padding: 14px; background: #F6EAD8; border-radius: 8px; font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.check-line { align-items: start; font-size: 15px; line-height: 1.6; margin: 12px 0; }
.check-line input { flex: 0 0 auto; margin-top: 5px; }
.privacy-copy { font-size: 14px; line-height: 1.7; color: #39415C; margin: 18px 0; }
.honey-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.preview-notice { background: #F6EAD8; color: var(--ism-blue); padding: 14px; border-radius: 8px; font-size: 14px; line-height: 1.6; }
.inline-error { color: #9D2525; background: #FFF0EE; padding: 12px; border-radius: 8px; line-height: 1.6; }
.load-message, .load-error { color: #FFFDF5; font-size: 18px; padding: 32px 0; }
.load-error p { margin: 20px 0; }
.public-footer { display: flex; flex-wrap: wrap; gap: 18px 30px; justify-content: space-between; color: #E3E4EB; padding-top: 24px; padding-bottom: 30px; font-size: 14px; border-top: 1px solid rgb(255 255 255 / 20%); }
.detail-main { color: #FFFDF5; padding-bottom: 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding: 26px 0; font-size: 14px; color: #E3E4EB; }
.breadcrumb a:hover { text-decoration: underline; }
.detail-hero, .recognition-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 44px; align-items: center; padding: 12px 0 44px; }
.detail-hero .eyebrow, .recognition-hero .eyebrow, .house-detail-intro .eyebrow { color: var(--ism-gold); font-size: 12px; line-height: 1.7; }
.detail-title { font-size: clamp(34px,3.5vw,48px); line-height: 1.16; margin: 16px 0; letter-spacing: -.03em; }
.detail-subtitle { color: var(--ism-gold); font-size: 22px; line-height: 1.5; margin: 0 0 20px; }
.detail-lead { font-size: 18px; line-height: 1.8; font-weight: 500; color: #F0F0F5; margin-bottom: 22px; }
.detail-funding { margin: 28px 0; display: flex; flex-direction: column; gap: 10px; }
.detail-funding > strong { font-size: 37px; font-weight: 700; color: var(--ism-gold); }
.detail-funding p { font-size: 15px; line-height: 1.6; }
.detail-funding .progress-fill { background: var(--ism-gold); }
.detail-figure { min-width: 0; margin: 0; }
.detail-figure img { display: block; width: 100%; max-height: 520px; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; background: #FAFAF8; }
.detail-figure img.is-plan { object-fit: contain; padding: 16px; }
.detail-figure figcaption { font-size: 13px; font-weight: 500; line-height: 1.7; color: #E3E4EB; margin-top: 12px; }
.detail-copy-layout { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(0,1fr); gap: 26px; align-items: start; }
.detail-copy, .detail-callout { background: #F9F8F5; color: var(--ism-blue); padding: 34px; border-radius: 18px; }
.detail-copy h2, .detail-callout h2 { font-size: 30px; line-height: 1.3; margin-bottom: 22px; }
.detail-copy h3 { font-size: 25px; line-height: 1.3; margin-bottom: 18px; }
.detail-copy p, .detail-copy li, .detail-callout p { font-size: 17px; line-height: 1.8; font-weight: 500; }
.detail-copy p + p { margin-top: 18px; }
.detail-copy section { padding-top: 30px; margin-top: 30px; border-top: 1px solid #DADAE0; }
.detail-copy ul { padding-left: 22px; margin: 0; }
.detail-copy li + li { margin-top: 14px; }
.detail-callout .eyebrow { font-size: 11px; line-height: 1.7; color: #805A2C; margin-bottom: 16px; }
.detail-callout .project-target { margin: 26px 0; }
.detail-gallery { padding-top: 36px; }
.detail-gallery img { max-height: 620px; aspect-ratio: auto; object-fit: contain; }
.detail-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 25px; margin-top: 38px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / 20%); }
.detail-bottom .underlined-btn { color: #FFFDF5; font-size: 16px; }
.house-detail-intro { padding: 16px 0 40px; }
.house-detail-intro > .badge { width: 68px; height: 68px; margin-bottom: 20px; }
.house-detail-intro > .badge svg { width: 45px; height: 45px; }
.house-detail-totals { display: flex; flex-wrap: wrap; gap: 24px 40px; margin: 30px 0; }
.house-detail-totals > div { display: flex; flex-direction: column; gap: 12px; }
.house-detail-totals strong { font-size: 32px; color: var(--ism-gold); }
.house-detail-totals span { font-size: 16px; }
.house-detail-intro .progress-track { max-width: 700px; margin-bottom: 28px; height: 7px; }
.house-contributors .leader-table td { font-size: 17px; padding: 18px 12px 18px 0; }
.house-contributors .leader-table th { font-size: 13px; padding-right: 12px; }
.subtle-note { font-size: 14px !important; color: #555A70; margin-top: 24px; }
.house-projects { margin-top: 40px; }
.house-projects > .eyebrow { color: var(--ism-gold); margin-bottom: 12px; }
.house-projects > h2 { font-size: 32px; margin-bottom: 28px; }
.table-scroll { overflow-x: auto; }
.table-scroll .leader-table { min-width: 420px; }
.table-scroll .leader-table td { font-size: 16px; padding: 18px 12px 18px 0; }
.table-scroll .leader-table th { font-size: 12px; padding-right: 12px; }
.verification-main { padding-top: 50px; padding-bottom: 70px; min-height: 70vh; }
.verification-card { background: #F9F8F5; color: var(--ism-blue); max-width: 700px; margin: 0 auto; padding: 36px; border-radius: 18px; }
.verification-card h2 { font-size: 34px; margin-bottom: 22px; }
.verification-card p { font-size: 17px; line-height: 1.8; margin-bottom: 22px; }
.verification-card .eyebrow { font-size: 12px; color: #805A2C; }

@media(min-width:1200px) { .giving-overview .projects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .project-photo { height: 200px; } .giving-overview .campaign-project h3 { font-size: 24px; } }
@media(max-width:1050px) and (min-width:781px) { .day-title h1 { font-size: 25px !important; } .day-title { display: block; text-align: center; } .day-title > span { margin-top: 3px; } }
@media(max-width:900px) { .donation-dock .dock-inner { min-height: 188px; } .site-footer { padding-bottom: 220px; } .gift-toast { bottom: 205px; } .recent-gifts { grid-template-columns: repeat(2,minmax(0,1fr)); } .detail-hero, .recognition-hero, .detail-copy-layout { grid-template-columns: minmax(0,1fr); gap: 30px; } .detail-figure img { aspect-ratio: 16/10; } }
@media(max-width:780px) { .campaign-welcome.has-video { grid-template-columns: 1fr; gap: 24px; } .campaign-welcome h2 { font-size: 34px; } .day-title { display: block; text-align: center; } .day-title > span { display: block; margin-top: 3px; font-size: 11px; } .day-header .brand { flex-basis: 170px; width: 170px; } .recent-heading { display: block; } .recent-heading > p { margin-top: 12px; } }
@media(max-width:640px) { .giving-overview .projects-grid, .projects-grid { grid-template-columns: minmax(0,1fr); gap: 22px; } .campaign-project h3, .giving-overview .campaign-project h3 { font-size: 27px; } .project-photo { height: 215px; } .campaign-project-copy { padding: 23px; } .detail-copy, .detail-callout { padding: 26px 23px; } .detail-title { font-size: 35px; } .detail-lead { font-size: 17px; } .detail-copy p, .detail-copy li, .detail-callout p { font-size: 16px; } }
@media(max-width:520px) { .day-header .header { gap: 10px 14px; } .day-header .brand { width: min(180px,100%); } .day-title { display: block; } .day-title h1 { font-size: 26px !important; } .day-title > span { font-size: 13px; } .campaign-welcome { padding-top: 22px; } .campaign-welcome h2 { font-size: 32px; } .campaign-welcome .eyebrow { font-size: 11px; } .giving-overview .section-heading { display: block; } .giving-overview .segmented { margin-top: 20px; } .recent-gifts { grid-template-columns: 1fr; } .recent-section { padding-top: 5px; } .donation-dock .dock-inner { min-height: 185px; } .pledged-line { font-size: 11px; } .donation-dock .dock-fundraising .campaign-total { font-size: 28px; } .site-footer { padding-bottom: 215px; } .gift-toast { left: 18px; max-width: calc(100vw - 36px); bottom: 200px; } .modal-top h2 { font-size: 28px; } .verification-card { padding: 28px 22px; } .verification-card h2 { font-size: 30px; } .public-footer { display: block; } .public-footer a { display: block; margin-bottom: 14px; } }
@media(max-width:360px) { .donation-dock .dock-inner { min-height: 225px; } .site-footer { padding-bottom: 255px; } .gift-toast { bottom: 240px; } .giving-overview .house-card { grid-template-rows: auto auto auto auto 1fr auto; } .day-title h1 { font-size: 24px !important; } }
@media(prefers-reduced-motion:reduce) { .carousel-track, .house-card { transition: none; } }
@media(max-width:520px) {
  .campaign-welcome { padding-top: 18px; }
  .campaign-welcome h2 { font-size: 30px; line-height: 1.16; margin: 8px 0; }
  .giving-overview { padding-top: 22px; }
}
@media(max-width:360px) {
  .donation-dock .dock-project, .donation-dock .dock-controls .amount-btn { display: none; }
  .donation-dock .dock-inner { min-height: 0; padding-top: 13px; padding-bottom: 13px; gap: 10px; }
  .donation-dock .dock-fundraising { grid-column: 1/-1; }
  .donation-dock .dock-controls { display: block; }
  .donation-dock .dock-controls .donate-btn { width: 100%; }
  .site-footer { padding-bottom: 205px; }
  .gift-toast { bottom: 190px; }
}

/* Thinner dock: total, goal and "% funded" share one line above the bar. */
@media(min-width:901px) {
  .donation-dock .dock-inner { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .donation-dock .dock-fundraising { display: grid; grid-template-columns: auto minmax(0,1fr) auto; column-gap: 10px; align-items: baseline; }
  .donation-dock .dock-goal { display: contents; }
  .donation-dock .dock-goal strong { grid-column: 3; }
  .donation-dock .dock-fundraising .progress-track { grid-column: 1/-1; margin-top: 8px; }
  .donation-dock .pledged-line { grid-column: 1/-1; margin-top: 6px; }
}
/* Long project names end in "…" instead of running under the buttons (full name in the tooltip). */
.donation-dock .carousel-item { display: block; }
@media(min-width:901px) {
  /* The buttons keep their width; the progress and project columns shrink instead of overlapping them. */
  .donation-dock .dock-inner { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr) max-content; }
  .donation-dock .dock-project .eyebrow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
.donation-dock .dock-project > div { min-width: 0; flex: 1; }
