/* The Building Fund belongs to the same burgundy, gold, and cream church identity. */
.fund-hero { background: linear-gradient(112deg,#35131c 0%,#641c28 66%,#7e303b 100%); color: #fffdf9; padding: 78px 0 88px; border-bottom: 1px solid #bb9461; }
.fund-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.8fr); gap: 84px; align-items: center; }
.fund-hero-copy { min-width: 0; }
.fund-hero .eyebrow, .fund-donate-intro .eyebrow { color: #f0cf90; font-size: calc((12px) * var(--site-type-scale, 1)); line-height: 1.7; }
.fund-hero h1 { color: #fffdf9; font-size: calc((clamp(52px,5.5vw,80px)) * var(--site-type-scale, 1)); line-height: 1.05; letter-spacing: -.035em; margin: 25px 0; }
.fund-lead { max-width: 660px; font-size: calc((20px) * var(--site-type-scale, 1)); line-height: 1.75; }
.fund-hero .fund-lead { color: #f0dfe0; }
.fund-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 32px; }
.fund-hero .button, .fund-invitation .button { background: #f0cf90; border: 1px solid #f0cf90; color: #271b15; font-size: calc((15px) * var(--site-type-scale, 1)); min-height: 54px; padding: 16px 22px; }
.fund-hero .button:hover, .fund-invitation .button:hover { background: #ffe3ae; color: #271b15; }
.fund-quiet-link { display: inline-flex; align-items: center; gap: 12px; font-size: calc((15px) * var(--site-type-scale, 1)); padding: 12px 0; color: inherit; text-decoration: underline; text-underline-offset: 6px; }
.fund-quiet-link .icon { width: 20px; height: 20px; }
.fund-property { min-width: 0; padding: 34px 36px; border: 1px solid #b98e64; background: #211c20; box-shadow: 14px 14px 0 #2c111a55; }
.fund-property img { display: block; width: 142px; height: 142px; object-fit: contain; margin: 0 0 32px; }
.fund-property .eyebrow { margin: 0 0 15px; font-size: calc((11px) * var(--site-type-scale, 1)); }
.fund-property-address { font-family: var(--serif); font-size: calc((clamp(28px,2.8vw,38px)) * var(--site-type-scale, 1)); line-height: 1.25; margin-bottom: 22px; letter-spacing: -.02em; }
.fund-property-note { color: #e8d5cc; font-size: calc((15px) * var(--site-type-scale, 1)); line-height: 1.7; }
.fund-property-rule { display: block; height: 1px; background: #796242; margin: 24px 0; }
.fund-property-signature { font-size: calc((12px) * var(--site-type-scale, 1)); line-height: 1.8; color: #ead2ae; letter-spacing: .08em; margin: 0; }
/* The vision reads as one balanced story, with the complete property photo beside it. */
.fund-vision { padding: 88px 0 96px; }
.fund-vision-grid { display: grid; grid-template-columns: minmax(0,var(--fund-desktop-text-track,1.222222fr)) minmax(0,1fr); grid-template-areas: "eyebrow photo" "heading photo" "copy photo"; gap: 0 64px; align-items: start; }
.fund-vision-grid[data-fund-desktop-layout="below"] { grid-template-columns: minmax(0,1fr); grid-template-areas: "eyebrow" "heading" "photo" "copy"; }
.fund-vision-grid[data-fund-desktop-layout="above"] { grid-template-columns: minmax(0,1fr); grid-template-areas: "eyebrow" "photo" "heading" "copy"; }
.fund-vision-eyebrow { grid-area: eyebrow; min-width: 0; color: #8b6839; font-size: calc((12px) * var(--site-type-scale, 1)); letter-spacing: .16em; margin: 0 0 22px; overflow-wrap: anywhere; }
.fund-vision-heading { grid-area: heading; min-width: 0; }
.fund-vision h2 { font-size: calc((calc(clamp(42px,4.4vw,56px) * var(--fund-desktop-heading-scale,1))) * var(--site-type-scale, 1)); line-height: 1.08; letter-spacing: -.04em; margin: 0 0 26px; overflow-wrap: break-word; }
.fund-vision-copy { grid-area: copy; min-width: 0; max-width: 640px; padding: 0; overflow-wrap: break-word; }
.fund-vision-copy .lead { font-size: calc((20px) * var(--site-type-scale, 1)); line-height: 1.75; margin: 0 0 22px; }
.fund-vision-copy > p:not(.lead) { font-size: calc((17px) * var(--site-type-scale, 1)); line-height: 1.85; color: var(--muted); margin: 0; }
.fund-building-photo { grid-area: photo; min-width: 0; margin: 0; align-self: center; border: 1px solid #d8c9ae; border-radius: 8px; background: #eee5d6; overflow: hidden; box-shadow: 0 24px 45px -35px #40250d66; }
.fund-building-image { display: flex; justify-content: center; align-items: center; aspect-ratio: 3 / 2; padding: 18px; overflow: hidden; background: linear-gradient(145deg,#f4edde,#e7dbc7); }
.fund-building-photo img { display: block; flex: none; width: var(--fund-desktop-photo-scale,95%); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.fund-vision-location { display: flex; align-items: center; gap: 13px; padding: 18px 22px; border-top: 1px solid #d8c9ae; margin: 0; background: #fffaf0; color: #654e30; font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.55; }
.fund-vision-location > span { min-width: 0; overflow-wrap: anywhere; }
.fund-vision-location .icon { color: #9b753d; width: 23px; height: 23px; flex: none; }
.fund-vision-grid[data-fund-desktop-focus="left"] .fund-building-image { justify-content: flex-start; }
.fund-vision-grid[data-fund-desktop-focus="right"] .fund-building-image { justify-content: flex-end; }
.fund-vision-grid[data-fund-desktop-alignment="top"] .fund-building-photo { align-self: start; }
.fund-vision-grid[data-fund-desktop-alignment="bottom"] .fund-building-photo { align-self: end; }
.fund-vision-grid:is([data-fund-desktop-layout="below"],[data-fund-desktop-layout="above"]) .fund-building-photo { width: min(100%,720px); margin: 0 0 28px; }
.fund-vision-action { margin-top: 28px; }
.fund-vision-action .fund-tax-note { margin: 10px 0 0; font-size: calc((12px) * var(--site-type-scale, 1)); line-height: 1.6; color: var(--muted); }
.fund-vision .button { min-height: 52px; padding: 15px 20px; background: #641c28; border-color: #641c28; color: #fffaf2; font-size: calc((14px) * var(--site-type-scale, 1)); }
.fund-vision .button:hover { background: #802e3c; border-color: #802e3c; }
.fund-purpose { padding: 52px 0 58px; border-block: 1px solid var(--line); background: #eee6d8; }
.fund-purpose > .container > .eyebrow { color: #6a4e2b; line-height: 1.8; }
.fund-purpose-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 35px; }
.fund-purpose article { padding-top: 15px; min-width: 0; }
.fund-purpose article + article { border-left: 1px solid #c6bda9; padding-left: 35px; }
.fund-purpose article > .icon { color: #8c3b46; width: 29px; height: 29px; margin-bottom: 20px; }
.fund-purpose h2 { font-size: calc((32px) * var(--site-type-scale, 1)); line-height: 1.2; margin-bottom: 14px; }
.fund-purpose article p { font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.75; margin: 0; color: #625747; }
.fund-invitation { background: #211c20; color: #fffdf9; text-align: center; }
.fund-invitation-inner { max-width: 760px; }
.fund-invitation .eyebrow { color: #f0cf90; }
.fund-invitation h2 { color: #fffdf9; font-size: calc((clamp(43px,5vw,64px)) * var(--site-type-scale, 1)); }
.fund-invitation p:not(.eyebrow) { font-size: calc((18px) * var(--site-type-scale, 1)); line-height: 1.8; color: #e8d9d6; margin: 0 auto 30px; max-width: 620px; }
.fund-invitation .fund-quiet-link { display: flex; width: fit-content; margin: 16px auto 0; }
.fund-donate-intro { background: #641c28; color: #fffdf9; padding: 45px 0 56px; }
.fund-back { display: inline-flex; align-items: center; gap: 10px; font-size: calc((14px) * var(--site-type-scale, 1)); padding: 10px 0; margin-bottom: 25px; text-decoration: underline; text-underline-offset: 5px; }
.fund-back > .icon { width: 18px; height: 18px; transform: rotate(180deg); }
.fund-donate-intro .eyebrow { margin-bottom: 16px; }
.fund-donate-intro h1 { color: #fffdf9; font-size: calc((clamp(45px,5vw,67px)) * var(--site-type-scale, 1)); line-height: 1.1; margin-bottom: 22px; }
.fund-donate-intro .fund-lead { color: #f0dfe0; font-size: calc((18px) * var(--site-type-scale, 1)); }
.fund-donate-property { color: #f5dbad; font-size: calc((15px) * var(--site-type-scale, 1)); line-height: 1.8; margin: 20px 0 0; }
.fund-donate-property span { display: inline-block; vertical-align: top; }
.fund-giving-section { padding-top: 55px; }
.fund-giving-layout { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 35px; align-items: start; }
.fund-payment-panel { padding: 35px; background: #fffdf9; border: 1px solid #d6cbb9; border-top: 3px solid #b18a49; min-width: 0; }
.fund-payment-panel h2 { font-size: calc((43px) * var(--site-type-scale, 1)); line-height: 1.15; }
.fund-paypal-designation { font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.75; color: #655950; margin-bottom: 26px; }
.fund-paypal-widget, .fund-paypal-container { min-width: 0; width: 100%; }
.fund-paypal-container { margin-top: 28px; }
.fund-paypal-widget iframe { max-width: 100%; }
.fund-paypal-status { color: #655950; font-size: calc((14px) * var(--site-type-scale, 1)); line-height: 1.7; margin: 20px 0 12px; }
.fund-paypal-fallback { margin: 0 0 22px; font-size: calc((13px) * var(--site-type-scale, 1)); line-height: 1.7; }
.fund-paypal-fallback a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 15px; margin-right: 8px; border: 1px solid #9e7439; color: #5f3820; font-size: calc((14px) * var(--site-type-scale, 1)); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.fund-paypal-fallback a:hover { background: #f3ead9; }
.fund-payment-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.fund-paypal-no-script { font-size: calc((14px) * var(--site-type-scale, 1)); line-height: 1.7; }
.fund-payment-privacy { color: #6c625d; font-size: calc((13px) * var(--site-type-scale, 1)); line-height: 1.75; margin: 22px 0 0; }
.fund-designation { background: #641c28; color: #fffdf9; padding: 35px; min-width: 0; }
.fund-designation > .icon { color: #edc98f; width: 31px; height: 31px; margin-bottom: 23px; }
.fund-designation .eyebrow { color: #edc98f; }
.fund-designation h2 { color: #fffdf9; font-size: calc((41px) * var(--site-type-scale, 1)); line-height: 1.15; }
.fund-designation p:not(.eyebrow) { font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.75; color: #f0dfe0; }
.fund-designation .fund-memo { padding: 15px 18px; border: 1px solid #b98e64; margin: 25px 0; color: #ffe4b6; }
.fund-designation .fund-small { font-size: calc((13px) * var(--site-type-scale, 1))!important; }
.fund-other-giving { margin-top: 65px; }
.fund-other-giving .giving-options-intro { margin-bottom: 30px; }
.fund-other-giving .giving-options-intro h2 { font-size: calc((42px) * var(--site-type-scale, 1)); }
.fund-other-giving .giving-method-action { font-size: calc((15px) * var(--site-type-scale, 1)); }
.fund-other-giving .giving-recipient dt { font-size: calc((13px) * var(--site-type-scale, 1)); }
.fund-other-giving .giving-recipient dd { font-size: calc((17px) * var(--site-type-scale, 1)); }
.fund-other-giving .giving-method-description { font-size: calc((16px) * var(--site-type-scale, 1)); }
.fund-help { padding-top: 36px; margin-top: 40px; border-top: 1px solid var(--line); }
.fund-help > div { display: flex; align-items: center; gap: 15px; }
.fund-help .icon { color: #8c3b46; flex: none; }
.fund-help h2 { font-family: var(--sans); font-size: calc((19px) * var(--site-type-scale, 1)); font-weight: 700; margin: 0; letter-spacing: 0; }
.fund-help p { max-width: 840px; margin-top: 18px; font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.8; color: var(--muted); }
.fund-help a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
body[data-page^="building-fund"] :is(a,button):focus-visible { outline: 3px solid #a34b5a; outline-offset: 5px; }
.fund-hero :is(a,button):focus-visible, .fund-invitation :is(a,button):focus-visible, .fund-donate-intro a:focus-visible { outline-color: #f3cc7e!important; }
@media (max-width: 1100px) {
 .fund-hero-grid { gap: 40px; }
 .fund-vision-grid { column-gap: 38px; }
 .fund-property { padding: 30px; }
 .fund-giving-layout { gap: 24px; }
 .fund-payment-panel, .fund-designation { padding: 28px; }
}
@media (max-width: 760px) {
 .fund-hero { padding: 48px 0 55px; }
 .fund-hero-grid, .fund-giving-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
 .fund-vision { padding: 56px 0 64px; }
 .fund-vision-grid { gap: 0 18px; }
 .fund-vision-grid[data-fund-phone-layout="beside"] { grid-template-columns: minmax(0,var(--fund-phone-text-track,1.222222fr)) minmax(0,1fr); grid-template-areas: "eyebrow eyebrow" "heading photo" "copy copy"; }
 .fund-vision-grid[data-fund-phone-layout="below"] { grid-template-columns: minmax(0,1fr); grid-template-areas: "eyebrow" "heading" "photo" "copy"; }
 .fund-vision-grid[data-fund-phone-layout="above"] { grid-template-columns: minmax(0,1fr); grid-template-areas: "eyebrow" "photo" "heading" "copy"; }
 .fund-vision-eyebrow { font-size: calc((11px) * var(--site-type-scale, 1)); margin-bottom: 18px; }
 .fund-vision h2 { font-size: calc((calc(clamp(32px,8.2vw,42px) * var(--fund-phone-heading-scale,1))) * var(--site-type-scale, 1)); line-height: 1.1; margin: 0 0 25px; }
 .fund-building-photo { width: 100%; margin: 0 0 28px; }
 .fund-vision-grid:is([data-fund-desktop-layout="below"],[data-fund-desktop-layout="above"]) .fund-building-photo { width: 100%; }
 .fund-building-image { padding: 16px; }
 .fund-building-photo img { width: var(--fund-phone-photo-scale,100%); }
 .fund-vision-location { font-size: calc((15px) * var(--site-type-scale, 1)); line-height: 1.55; gap: 11px; padding: 16px 18px; }
 .fund-vision-location .icon { width: 21px; height: 21px; }
 .fund-vision-grid[data-fund-phone-focus="left"] .fund-building-image { justify-content: flex-start; }
 .fund-vision-grid[data-fund-phone-focus="center"] .fund-building-image { justify-content: center; }
 .fund-vision-grid[data-fund-phone-focus="right"] .fund-building-image { justify-content: flex-end; }
 .fund-vision-grid[data-fund-phone-alignment="top"] .fund-building-photo { align-self: start; }
 .fund-vision-grid[data-fund-phone-alignment="middle"] .fund-building-photo { align-self: center; }
 .fund-vision-grid[data-fund-phone-alignment="bottom"] .fund-building-photo { align-self: end; }
 .fund-vision-copy .lead { font-size: calc((18px) * var(--site-type-scale, 1)); line-height: 1.8; }
 .fund-vision-copy > p:not(.lead) { font-size: calc((16px) * var(--site-type-scale, 1)); line-height: 1.85; }
 .fund-vision-action { margin-top: 25px; }
 .fund-hero h1 { font-size: calc((clamp(43px,8vw,64px)) * var(--site-type-scale, 1)); }
 .fund-lead { font-size: calc((18px) * var(--site-type-scale, 1)); }
 .fund-property { box-shadow: 8px 8px 0 #2c111a55; }
 .fund-property img { width: 112px; height: 112px; margin-bottom: 24px; }
 .fund-property-address { font-size: calc((33px) * var(--site-type-scale, 1)); }
 .fund-purpose-grid { grid-template-columns: minmax(0,1fr); gap: 25px; }
 .fund-purpose article + article { padding: 25px 0 0; border-left: 0; border-top: 1px solid #c6bda9; }
 .fund-purpose article > .icon { margin-bottom: 15px; }
 .fund-purpose h2 { font-size: calc((30px) * var(--site-type-scale, 1)); }
 .fund-donate-intro { padding: 26px 0 42px; }
 .fund-donate-intro h1 { font-size: calc((47px) * var(--site-type-scale, 1)); }
 .fund-donate-intro .fund-lead { font-size: calc((17px) * var(--site-type-scale, 1)); }
 .fund-other-giving { margin-top: 45px; }
 .fund-payment-panel h2, .fund-designation h2 { font-size: calc((39px) * var(--site-type-scale, 1)); }
}
@media (max-width: 380px) {
 .fund-hero .eyebrow { font-size: calc((10px) * var(--site-type-scale, 1)); }
 .fund-hero h1 { font-size: calc((39px) * var(--site-type-scale, 1)); }
 .fund-property, .fund-payment-panel, .fund-designation { padding: 24px; }
 .fund-hero .button { padding: 15px; font-size: calc((14px) * var(--site-type-scale, 1)); gap: 14px; }
}
@media print {
 .fund-hero, .fund-property, .fund-invitation, .fund-donate-intro, .fund-designation { background: white; color: black; box-shadow: none; }
 body[data-page^="building-fund"] :is(h1,h2,p,a) { color: black; }
 .fund-actions, .fund-back, .fund-paypal-container { display: none; }
 .fund-hero-grid, .fund-vision-grid, .fund-giving-layout { display: block; }
}
