.foundation-project-page,.foundation-project-donation{--fp-ink:var(--oreilly-color-ink,#11152f);--fp-purple:var(--oreilly-color-primary,#2a1676);--fp-violet:var(--oreilly-color-violet,#6f55cf);--fp-ivory:var(--oreilly-color-ivory,#f7f5ef);--fp-line:rgba(42,22,118,.14);color:#4f5665}.foundation-project-section{padding:clamp(78px,8vw,124px) 0}.foundation-project-eyebrow{margin:0 0 18px;color:var(--fp-violet);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.foundation-project-hero{position:relative;display:flex;height:clamp(580px,67vh,720px);margin:16px;overflow:hidden;border-radius:24px;background:var(--fp-ink);isolation:isolate}.foundation-project-hero__image,.foundation-project-hero__shade{position:absolute;inset:0;width:100%;height:100%}.foundation-project-hero__image{z-index:-2;max-width:none;object-fit:cover;object-position:center}.foundation-project-hero__shade{z-index:-1;background:linear-gradient(90deg,rgba(10,8,35,.96),rgba(20,12,57,.82) 43%,rgba(20,12,57,.22) 78%),linear-gradient(0deg,rgba(7,7,27,.52),transparent 48%)}.foundation-project-hero__inner{display:flex;min-height:100%;align-items:flex-end;padding-block:80px}.foundation-project-hero__copy{width:min(850px,76%);color:#fff}.foundation-project-hero__breadcrumb{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:24px;color:rgba(255,255,255,.62);font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase}.foundation-project-hero__breadcrumb a{color:#fff}.foundation-project-hero .foundation-project-eyebrow{color:#d7ccff}.foundation-project-hero h1{max-width:920px;margin:0;color:#fff;font-size:clamp(4.2rem,6.2vw,7.2rem);font-weight:400;letter-spacing:-.052em;line-height:.92;text-wrap:balance}.foundation-project-hero__description{max-width:680px;margin:27px 0 0;color:rgba(255,255,255,.82);font-size:clamp(16px,1.35vw,19px);line-height:1.7}.foundation-project-hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:32px;color:#fff;font-size:13px;font-weight:700}.foundation-project-hero__meta>span{display:inline-flex;align-items:center;gap:9px}.foundation-project-status{padding:9px 14px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(255,255,255,.1);letter-spacing:.08em;text-transform:uppercase}.foundation-project-facts{position:relative;z-index:2;margin-top:-44px}.foundation-project-facts__panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:center;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(18,13,52,.13)}.foundation-project-fact{display:flex;min-height:136px;align-items:center;gap:18px;padding:26px 30px;border-right:1px solid var(--fp-line)}.foundation-project-fact>i{width:42px;color:var(--fp-violet);font-size:22px;text-align:center}.foundation-project-fact span{display:flex;min-width:0;flex-direction:column;gap:6px}.foundation-project-fact small{color:#7a8090;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.foundation-project-fact strong{color:var(--fp-ink);font-size:15px;line-height:1.35}.foundation-project-button{display:inline-flex;min-height:56px;align-items:center;justify-content:center;gap:16px;padding:15px 24px;border:0;background:var(--fp-purple);color:#fff;font-size:12px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;transition:background-color .25s,box-shadow .25s}.foundation-project-button:hover{background:var(--fp-violet);color:#fff;box-shadow:0 12px 28px rgba(42,22,118,.2)}.foundation-project-facts__panel>.foundation-project-button{height:100%;min-width:210px}.foundation-project-about__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);align-items:center;gap:clamp(50px,7vw,105px)}.foundation-project-about__copy{max-width:620px}.foundation-project-about h3,.foundation-project-heading h3,.foundation-project-progress h3,.foundation-project-donation h3{margin:0;color:var(--fp-ink);font-size:clamp(3.2rem,4.8vw,5.4rem);font-weight:400;letter-spacing:-.045em;line-height:1}.foundation-project-prose{margin-top:30px;color:#5f6676;font-size:17px;line-height:1.82}.foundation-project-prose p{margin:0}.foundation-project-about__media{height:clamp(400px,38vw,540px);margin:0;overflow:hidden;border-radius:18px 90px 18px 18px;background:#eef0f7;box-shadow:0 24px 60px rgba(19,13,53,.12)}.foundation-project-about__media img{display:block;width:100%;height:100%;object-fit:cover}.foundation-project-visuals{background:var(--fp-ivory)}.foundation-project-heading{max-width:760px;margin-bottom:42px}.foundation-project-gallery{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(220px,.55fr);grid-template-rows:clamp(430px,42vw,610px);gap:18px}.foundation-project-gallery:focus-visible{outline:3px solid var(--fp-violet);outline-offset:5px}.foundation-project-gallery__main{position:relative;height:100%;margin:0;overflow:hidden;border-radius:22px;background:#e8eaf1}.foundation-project-gallery__main>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.foundation-project-gallery__main:hover>img{transform:scale(1.025)}.project-gallery-prev,.project-gallery-next{position:absolute;top:50%;width:48px;height:48px;transform:translateY(-50%);border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(16,13,43,.72);color:#fff;font-size:32px;line-height:1;cursor:pointer}.project-gallery-prev{left:20px}.project-gallery-next{right:20px}.foundation-project-gallery__thumbs{display:grid;min-height:0;gap:18px;overflow-y:auto}.foundation-project-gallery__thumb{position:relative;min-height:0;padding:0;overflow:hidden;border:2px solid transparent;border-radius:16px;background:#e8eaf1;cursor:pointer}.foundation-project-gallery__thumb:after{position:absolute;inset:0;border:3px solid transparent;border-radius:inherit;content:"";pointer-events:none;transition:border-color .25s}.foundation-project-gallery__thumb:hover:after,.foundation-project-gallery__thumb:focus-visible:after,.foundation-project-gallery__thumb.is-active:after{border-color:var(--fp-violet)}.foundation-project-gallery__thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}.foundation-project-gallery__thumb:hover img{transform:scale(1.04)}.foundation-project-progress{background:var(--fp-ink);color:#fff}.foundation-project-progress__panel{display:grid;grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);align-items:center;gap:clamp(50px,8vw,120px)}.foundation-project-progress .foundation-project-eyebrow{color:#cfc2ff}.foundation-project-progress h3{max-width:570px;color:#fff;font-size:clamp(2.8rem,4vw,4.6rem)}.foundation-project-progress__details>div:first-child{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.foundation-project-progress__details span{display:flex;flex-direction:column;gap:6px}.foundation-project-progress__details small{color:rgba(255,255,255,.58);font-size:11px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.foundation-project-progress__details strong{color:#fff;font-size:18px}.foundation-project-progress .foundation-project-card__progress{height:8px;margin-top:28px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.15)}.foundation-project-progress .foundation-project-card__progress span{display:block;height:100%;border-radius:inherit;background:#b8a4ff}.foundation-project-progress__details>p{margin:10px 0 0;color:rgba(255,255,255,.7);font-size:13px}.foundation-project-donation{background:var(--fp-purple);color:#fff}.foundation-project-donation__grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(480px,1.15fr);align-items:start;gap:clamp(55px,8vw,120px)}.foundation-project-donation__intro{position:sticky;top:40px;padding-top:26px}.foundation-project-donation .foundation-project-eyebrow{color:#d4c8ff}.foundation-project-donation h3{max-width:580px;color:#fff}.foundation-project-donation__intro>p:last-child{max-width:570px;margin:30px 0 0;color:rgba(255,255,255,.76);font-size:17px;line-height:1.75}.foundation-project-donation__card{padding:clamp(28px,4vw,48px);border:1px solid rgba(255,255,255,.16);border-radius:22px;background:#fff;color:#505767;box-shadow:0 28px 70px rgba(7,4,27,.22)}.foundation-project-donation label{display:block;margin-bottom:15px;color:var(--fp-ink);font-weight:800}.foundation-amount-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.foundation-amount-options button{min-height:48px;padding:10px;border:1px solid var(--fp-line);border-radius:8px;background:#f7f6fb;color:var(--fp-purple);font-weight:800;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}.foundation-amount-options button:hover,.foundation-amount-options button.active{border-color:var(--fp-purple);background:var(--fp-purple);color:#fff}.foundation-project-donation input,.foundation-project-donation textarea{width:100%;min-height:52px;margin:0;padding:13px 15px;border:1px solid #dfe2ea;border-radius:8px;background:#fff;color:var(--fp-ink)}.foundation-project-donation input:focus,.foundation-project-donation textarea:focus{border-color:var(--fp-violet);outline:3px solid rgba(111,85,207,.12)}.foundation-donor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.foundation-donor-grid textarea{grid-column:1/-1;min-height:110px;resize:vertical}.foundation-project-button--submit{width:100%;margin-top:16px;cursor:pointer}.foundation-project-donation form>small{display:block;margin-top:14px;color:#747b89;line-height:1.55}
@media(max-width:1100px){.foundation-project-facts__panel{grid-template-columns:repeat(3,1fr)}.foundation-project-facts__panel>.foundation-project-button{grid-column:1/-1;min-height:64px}.foundation-project-about__grid{grid-template-columns:minmax(0,1fr) minmax(360px,.9fr);gap:46px}.foundation-project-donation__grid{grid-template-columns:minmax(0,.75fr) minmax(450px,1.25fr);gap:52px}}
@media(max-width:991px){.foundation-project-hero{height:620px;margin:12px;border-radius:20px}.foundation-project-hero__copy{width:min(760px,90%)}.foundation-project-facts__panel{grid-template-columns:1fr 1fr}.foundation-project-fact:nth-child(2){border-right:0}.foundation-project-fact:nth-child(3){grid-column:1/-1;border-top:1px solid var(--fp-line)}.foundation-project-about__grid,.foundation-project-progress__panel,.foundation-project-donation__grid{grid-template-columns:1fr}.foundation-project-about__copy{max-width:760px}.foundation-project-about__media{height:auto;aspect-ratio:16/9}.foundation-project-gallery{grid-template-columns:1fr;grid-template-rows:480px auto}.foundation-project-gallery__thumbs{grid-template-columns:repeat(4,minmax(120px,1fr));grid-auto-rows:120px;overflow-x:auto}.foundation-project-progress__details{max-width:680px}.foundation-project-donation__intro{position:static;max-width:720px;padding-top:0}}
@media(max-width:767px){.foundation-project-section{padding:72px 0}.foundation-project-hero{height:580px;margin:8px;border-radius:16px}.foundation-project-hero__inner{align-items:flex-end;padding-block:54px}.foundation-project-hero__copy{width:100%}.foundation-project-hero h1{font-size:clamp(3.1rem,12.5vw,4.6rem)}.foundation-project-hero__description{font-size:15px;line-height:1.62}.foundation-project-facts{margin-top:0;padding-top:28px}.foundation-project-facts__panel{grid-template-columns:1fr}.foundation-project-fact,.foundation-project-fact:nth-child(2),.foundation-project-fact:nth-child(3){grid-column:auto;min-height:105px;border-right:0;border-top:1px solid var(--fp-line)}.foundation-project-fact:first-child{border-top:0}.foundation-project-about h3,.foundation-project-heading h3,.foundation-project-progress h3,.foundation-project-donation h3{font-size:clamp(2.8rem,11vw,4rem)}.foundation-project-about__media{aspect-ratio:3/2;border-radius:14px 62px 14px 14px}.foundation-project-gallery{grid-template-rows:330px auto}.foundation-project-gallery__main{border-radius:16px}.foundation-project-gallery__thumbs{grid-template-columns:repeat(4,95px);grid-auto-rows:90px;gap:10px}.project-gallery-prev,.project-gallery-next{width:42px;height:42px}.project-gallery-prev{left:12px}.project-gallery-next{right:12px}.foundation-project-progress__details>div:first-child{grid-template-columns:1fr}.foundation-project-donation__card{border-radius:16px}.foundation-amount-options{grid-template-columns:repeat(2,1fr)}.foundation-donor-grid{grid-template-columns:1fr}.foundation-donor-grid textarea{grid-column:auto}}
.foundation-project-hero__image{object-position:center 18%}
.foundation-project-activities{background:#f7f7fa}.foundation-project-activities__timeline{max-width:850px;margin:38px auto 0;padding:0;list-style:none;border-left:2px solid #c8c1e3}.foundation-project-activities__timeline li{position:relative;display:grid;grid-template-columns:44px 1fr;gap:16px;padding:0 0 28px 24px}.foundation-project-activities__timeline li:before{position:absolute;top:3px;left:-8px;width:14px;height:14px;border-radius:50%;background:var(--fp-violet);content:""}.foundation-project-activities__timeline li span{color:var(--fp-violet);font-size:12px;font-weight:800;letter-spacing:.08em}.foundation-project-activities__timeline p{margin:0;color:var(--fp-ink);line-height:1.65}.foundation-project-cost{background:#fff}.foundation-project-cost__grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,7vw,100px);padding:34px;border:1px solid var(--fp-line);border-radius:20px;background:#faf9fd}.foundation-project-cost__grid h2,.foundation-project-cost__grid h3{margin:8px 0 14px;color:var(--fp-ink);font-size:clamp(1.5rem,2.7vw,2.5rem);line-height:1.2}.foundation-project-cost__grid>div>p:last-child{color:#626777;line-height:1.7}.foundation-project-photo-placeholder{display:grid;min-height:clamp(300px,38vw,520px);place-content:center;justify-items:center;gap:12px;padding:30px;border:1px dashed #bbb5d4;border-radius:22px;background:linear-gradient(140deg,#f4f2f8,#e9e7f0);color:#5a5570;text-align:center}.foundation-project-photo-placeholder i{font-size:36px}.foundation-project-photo-placeholder strong{font-size:20px;color:var(--fp-ink)}.foundation-project-photo-placeholder span{max-width:500px;color:#747184}@media(max-width:767px){.foundation-project-cost__grid{grid-template-columns:1fr;padding:24px}.foundation-project-activities__timeline li{grid-template-columns:32px 1fr;gap:12px;padding-left:18px}}

.foundation-review-banner{position:relative;z-index:4;padding:12px 20px;background:#fff0c9;color:#614b14;text-align:center;font-size:12px;font-weight:800;letter-spacing:.06em}
.foundation-project-progress__details>div:first-child{grid-template-columns:repeat(4,minmax(0,1fr))}.foundation-project-progress__details strong{font-size:15px;overflow-wrap:anywhere}.foundation-project-progress--pending .container>p:last-child{max-width:700px;margin:0;color:rgba(255,255,255,.8);font-size:17px;line-height:1.7}

.foundation-project-about__grid { align-items: stretch; }
.foundation-project-about__media { position: relative; height: auto; min-height: 0; }
.foundation-project-about__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.foundation-project-donation.foundation-project-section { padding-block: clamp(56px, 7vw, 96px); background: #f4f1eb; color: var(--fp-ink); }
.foundation-project-donation__grid { grid-template-columns: minmax(0, .95fr) minmax(480px, 1.05fr); align-items: stretch; gap: 0; overflow: hidden; padding: 0; border: 1px solid rgba(42,22,118,.12); border-radius: 26px; background: #fff; box-shadow: 0 28px 80px rgba(18,13,52,.12); }
.foundation-project-donation__intro { position: relative; top: auto; display: flex; min-height: 640px; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: clamp(32px, 5vw, 72px); color: #fff; isolation: isolate; }
.foundation-project-donation__intro > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.foundation-project-donation__intro::before { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,6,28,.08), rgba(12,6,28,.28) 44%, rgba(12,6,28,.92)); content: ""; }
.foundation-project-donation__intro .foundation-project-eyebrow { color: #e2d8ff; }
.foundation-project-donation__intro h3 { max-width: 580px; color: #fff; font-size: clamp(2.7rem, 4.2vw, 4rem); line-height: 1.02; text-wrap: balance; }
.foundation-project-donation__intro > p:last-child { max-width: 500px; margin: 20px 0 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.7; }
.foundation-project-donation__card { padding: clamp(28px, 4vw, 58px); border: 0; border-radius: 0; background: #fff; color: #505767; box-shadow: none; }
@media(max-width:1100px) {
    .foundation-project-donation__grid { grid-template-columns: minmax(0, .82fr) minmax(440px, 1.18fr); }
}
@media(max-width:991px) {
    .foundation-project-donation__grid { grid-template-columns: minmax(0, 1fr); }
    .foundation-project-donation__intro { min-height: 390px; padding: clamp(30px, 6vw, 56px); }
}
@media(max-width:767px) {
    .foundation-project-donation.foundation-project-section { padding-block: 56px; }
    .foundation-project-donation__grid { width: calc(100% - 16px); border-radius: 20px; }
    .foundation-project-donation__intro { min-height: 360px; padding: 28px; }
    .foundation-project-donation__intro h3 { font-size: clamp(2.4rem, 10vw, 3.2rem); }
    .foundation-project-donation__card { padding: 24px; }
}
.foundation-project-page h4,.foundation-project-donation h4{margin:0;color:inherit;font-family:var(--font-secondary);font-weight:400}
.foundation-project-about h3,.foundation-project-heading h3,.foundation-project-progress h3,.foundation-project-donation h3{margin:0;color:var(--fp-ink);font-size:clamp(3.2rem,4.8vw,5.4rem);font-weight:400;letter-spacing:-.045em;line-height:1}
.foundation-project-progress h3,.foundation-project-donation__intro h3{color:#fff}
.foundation-project-progress h3{max-width:570px;font-size:clamp(2.8rem,4vw,4.6rem)}
.foundation-project-donation__intro h3{max-width:580px;font-size:clamp(2.7rem,4.2vw,4rem);line-height:1.02;text-wrap:balance}
.foundation-project-donation__intro h2{color:#fff}
.foundation-project-cost__grid .foundation-project-value{margin:8px 0 14px;color:var(--fp-ink);font-family:var(--font-secondary);font-size:clamp(1.5rem,2.7vw,2.5rem);line-height:1.2}
.foundation-project-title{margin:0;color:var(--fp-ink);font-family:var(--font-secondary);font-size:clamp(3.2rem,4.8vw,5.4rem);font-weight:400;letter-spacing:-.045em;line-height:1}
@media(max-width:767px){.foundation-project-about h3,.foundation-project-heading h3,.foundation-project-progress h3,.foundation-project-donation h3{font-size:clamp(2.8rem,11vw,4rem)}.foundation-project-donation__intro h3{font-size:clamp(2.4rem,10vw,3.2rem)}.foundation-project-title{font-size:clamp(2.8rem,11vw,4rem)}}
.foundation-project-video{max-width:1000px;margin:32px auto 0}
.foundation-project-video video{display:block;width:100%;max-height:650px;border:1px solid var(--fp-line);border-radius:16px;background:#110c2d;box-shadow:0 20px 56px rgba(17,12,45,.12)}
.foundation-project-video figcaption{margin-top:10px;color:#737477;font-size:14px;line-height:1.5}
.foundation-project-photo-guide{margin-top:24px}
