/* =========================================================
   HOME — CUSCO LIFE & HEALTH FOUNDATION
========================================================= */
.home-page{--home-mountain:#b48773;--home-sun:#e2c56b;--home-cream:var(--clhf-cream-soft)}

/* =========================================================
   HERO
========================================================= */
.home-hero{padding:0;background:#fff}
.home-hero-shell{position:relative;display:grid;grid-template-columns:46% 54%;min-height:clamp(620px,calc(100vh - 110px),820px);overflow:hidden;background:var(--home-cream)}
.home-hero-copy{position:relative;z-index:5;display:flex;align-items:center;background:var(--home-cream)}
.home-hero-copy-inner{width:100%;max-width:760px;margin-left:auto;padding:clamp(44px,5vw,80px) clamp(58px,6vw,105px) clamp(44px,5vw,80px) clamp(30px,5vw,88px)}
.home-hero h1{width:100%;max-width:700px;margin:0 auto 28px;font-family:var(--font-display);font-size:clamp(3rem,4.6vw,5.35rem);font-weight:800;line-height:.96;letter-spacing:-.058em;color:var(--clhf-navy);text-align:center;text-wrap:balance;word-spacing:normal}
.home-hero-copy p{max-width:610px;margin:0 auto;font-size:clamp(1.05rem,1.23vw,1.32rem);line-height:1.72;color:var(--clhf-ink);text-align:justify;text-align-last:left;hyphens:auto}
.home-hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:36px}
.home-hero-donate{min-height:54px;padding-inline:1.9rem;border-radius:999px;text-transform:uppercase;letter-spacing:.08em}
.home-hero-secondary{display:inline-flex;align-items:center;gap:11px;font-family:var(--font-display);font-size:.96rem;font-weight:800;color:var(--clhf-navy);text-decoration:none}
.home-hero-secondary span{font-size:1.4rem;transition:transform .2s ease}
.home-hero-secondary:hover span{transform:translateX(5px)}

/* =========================================================
   HERO VISUAL
========================================================= */
.home-hero-media{position:relative;z-index:2;min-height:100%;overflow:hidden;background:var(--home-cream);isolation:isolate}
.home-hero-media img,.home-hero-image{position:absolute;inset:-2px;z-index:2;width:calc(100% + 4px);height:calc(100% + 4px);object-fit:cover;object-position:center;clip-path:polygon(21% 0,100% 0,100% 100%,0 100%)}
.home-hero-media::after{content:"";position:absolute;z-index:1;top:42px;left:16%;width:112px;height:112px;border-radius:50%;background:var(--home-sun);transform:translateX(-50%);pointer-events:none}
.home-hero-media::before{content:"";position:absolute;z-index:3;top:-2px;bottom:-2px;left:-2px;width:28%;background:var(--home-mountain);clip-path:polygon(74% 0,100% 0,26% 100%,0 100%);pointer-events:none}
.home-hero-blend,.home-hero-media-shade,.home-hero-divider,.home-hero-sun,.home-hero-curve,.home-hero-shade{display:none!important}

/* =========================================================
   EDITORIAL SYSTEM
========================================================= */
.home-section-head{display:grid;grid-template-columns:minmax(170px,240px) 1fr;gap:clamp(40px,7vw,110px);align-items:start;margin-bottom:clamp(52px,7vw,100px)}
.home-section-head h2{max-width:1050px;margin:0;font-family:var(--font-display);font-size:clamp(3rem,5.4vw,6rem);font-weight:780;line-height:.98;letter-spacing:-.058em;color:var(--clhf-navy)}
.home-section-mark{padding-top:8px}
.home-section-mark strong{display:inline-block;font-family:var(--font-display);font-size:1.05rem;font-weight:800;line-height:1.2;color:var(--clhf-clay)}
.home-large-copy{max-width:900px;font-size:clamp(1.15rem,1.3vw,1.4rem);line-height:1.85;color:var(--clhf-ink)}
.home-large-copy p{margin-bottom:26px}
.home-large-copy p:last-of-type{margin-bottom:32px}
.home-text-link{display:inline-flex;align-items:center;gap:11px;color:var(--clhf-navy);font-family:var(--font-display);font-size:.95rem;font-weight:800;text-decoration:none}
.home-text-link>span{font-size:1.4em;transition:transform var(--transition)}
.home-text-link:hover>span{transform:translateX(5px)}

/* =========================================================
   OUR WORK
========================================================= */
.home-programs{padding:clamp(90px,10vw,155px) 0;background:#fff}
.home-programs-heading{margin-bottom:clamp(28px,4vw,55px)}
.home-program-list{border-top:1px solid rgba(2,34,72,.14)}
.home-program{position:relative;min-height:360px;overflow:hidden;border-bottom:1px solid rgba(2,34,72,.14);background:#fff;isolation:isolate}
.home-program-bg{position:absolute;inset:-2px;z-index:0;width:calc(100% + 4px);height:calc(100% + 4px);object-fit:cover;object-position:center;opacity:0;transform:scale(1.018);transition:opacity .38s ease,transform .58s cubic-bezier(.2,.7,.2,1)}
.home-program-overlay{position:absolute;inset:-2px;z-index:1;background:linear-gradient(90deg,rgba(2,34,72,.98) 0%,rgba(2,34,72,.96) 45%,rgba(2,34,72,.91) 72%,rgba(2,34,72,.82) 100%);opacity:0;transition:opacity .38s ease}
.home-program>a{position:relative;z-index:2;display:grid;grid-template-columns:minmax(250px,.78fr) minmax(300px,1fr);gap:clamp(35px,5vw,82px);align-items:center;width:100%;min-height:360px;padding:clamp(42px,5vw,68px) calc(45% + 25px) clamp(42px,5vw,68px) max(var(--gutter),calc((100vw - var(--container))/2));text-decoration:none}
.home-program-main,.home-program-detail{position:relative;z-index:4;min-width:0}
.home-program-main h3{margin:0;font-family:var(--font-display);font-size:clamp(1.9rem,2.8vw,3.25rem);font-weight:760;line-height:1.04;letter-spacing:-.045em;color:var(--clhf-navy);transition:color .35s ease}
.home-program-detail p{margin:0 0 24px;font-size:clamp(1rem,1.08vw,1.16rem);line-height:1.65;color:var(--clhf-muted);transition:color .35s ease}
.home-program-more{display:inline-flex;align-items:center;gap:11px;font-family:var(--font-display);font-size:.92rem;font-weight:800;color:var(--clhf-navy);transition:color .35s ease}
.home-program-more b{font-size:1.25rem;font-weight:500;transition:transform .22s ease}
.home-program-preview{position:absolute;z-index:6;top:0;right:0;bottom:0;width:44%;height:100%;overflow:hidden;background:transparent;isolation:isolate}
.home-program-preview img{position:absolute;inset:-2px;z-index:2;width:calc(100% + 4px);height:calc(100% + 4px);object-fit:cover;object-position:center;clip-path:polygon(calc(35% - 2px) 0,100% 0,100% 100%,calc(7.7% - 2px) 100%);transform:none!important;transition:none!important}
.home-program-preview::before{content:"";position:absolute;z-index:1;top:28px;left:20%;width:86px;height:86px;border-radius:50%;background:var(--home-sun);transform:translateX(-50%);pointer-events:none}
.home-program-preview::after{content:"";position:absolute;z-index:3;top:-2px;bottom:-2px;left:-2px;width:35%;background:var(--home-mountain);clip-path:polygon(78% 0,100% 0,22% 100%,0 100%);pointer-events:none}
.home-program:not(.has-image)>a{padding-right:max(var(--gutter),calc((100vw - var(--container))/2))}
.home-program:not(.has-image) .home-program-preview{display:none}
.home-program.has-image::before,.home-program.has-image::after{display:none!important}

@media(hover:hover){
.home-program:hover .home-program-bg,.home-program:focus-within .home-program-bg{opacity:1;transform:scale(1)}
.home-program:hover .home-program-overlay,.home-program:focus-within .home-program-overlay{opacity:1}
.home-program:hover .home-program-main h3,.home-program:hover .home-program-detail p,.home-program:hover .home-program-more,.home-program:focus-within .home-program-main h3,.home-program:focus-within .home-program-detail p,.home-program:focus-within .home-program-more{color:#fff}
.home-program:hover .home-program-more b,.home-program:focus-within .home-program-more b{transform:translateX(6px)}
.home-program:hover .home-program-preview img,.home-program:focus-within .home-program-preview img{transform:none!important}
}
.home-programs-footer{padding-top:45px}

/* =========================================================
   IMPACT
========================================================= */
.home-impact{background:var(--clhf-cream)}
.home-impact-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(420px,1.18fr);gap:clamp(50px,7vw,110px);align-items:center}
.home-impact-photo{height:clamp(330px,37vw,500px);overflow:hidden}
.home-impact-photo img{width:100%;height:100%;object-fit:cover}

/* =========================================================
   STORIES
========================================================= */
.home-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3vw,42px)}
.home-story>a{display:block;text-decoration:none}
.home-story-image{aspect-ratio:4/3;margin-bottom:22px;overflow:hidden}
.home-story-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.home-story:hover .home-story-image img{transform:scale(1.025)}
.home-story-date{display:block;margin-bottom:10px;font-size:.78rem;color:var(--clhf-muted)}
.home-story h3{margin-bottom:18px;font-size:clamp(1.35rem,2vw,2rem);line-height:1.15}


/* =========================================================
   TABLET
========================================================= */
@media(max-width:1100px){
.home-hero-shell{grid-template-columns:47% 53%;min-height:560px}
.home-hero-copy-inner{padding:38px 55px 38px 38px}
.home-hero h1{max-width:620px;font-size:clamp(2.7rem,5vw,4.6rem);text-align:center;text-wrap:balance}
.home-hero-media img,.home-hero-image{clip-path:polygon(23% 0,100% 0,100% 100%,0 100%)}
.home-hero-media::before{width:31%;clip-path:polygon(75% 0,100% 0,25% 100%,0 100%)}
.home-hero-media::after{left:17%;width:90px;height:90px}
.home-section-head{grid-template-columns:170px 1fr;gap:45px}
.home-program{min-height:340px}
.home-program>a{grid-template-columns:1fr;gap:20px;min-height:340px;padding:38px calc(46% + 18px) 38px var(--gutter)}
.home-program-preview{width:45%;background:transparent}
.home-program-preview img{clip-path:polygon(calc(39% - 2px) 0,100% 0,100% 100%,calc(7.8% - 2px) 100%)}
.home-program-preview::after{width:39%;clip-path:polygon(80% 0,100% 0,20% 100%,0 100%)}
.home-program-preview::before{left:22%;width:76px;height:76px}
.home-program-main h3{font-size:clamp(1.75rem,3.5vw,2.8rem)}
.home-impact-layout{grid-template-columns:1fr 1fr}
}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:767px){
.home-hero-shell{display:flex;flex-direction:column;min-height:0;background:var(--home-cream)}
.home-hero-copy{order:1;background:var(--home-cream)}
.home-hero-copy-inner{width:100%;max-width:none;margin:0;padding:34px 20px 36px}
.home-hero h1{width:100%;max-width:580px;margin:0 auto 22px;font-size:clamp(2.55rem,11.5vw,4rem);line-height:.96;letter-spacing:-.052em;text-align:center;text-align-last:auto;text-wrap:balance;word-spacing:normal}
.home-hero-copy p{width:100%;max-width:560px;margin-inline:auto;font-size:1rem;line-height:1.62;text-align:justify;text-align-last:left;hyphens:none}
.home-hero-actions{flex-direction:column;align-items:stretch;gap:14px;margin-top:26px}
.home-hero-donate{width:100%}
.home-hero-secondary{justify-content:center}
.home-hero-media{order:2;position:relative;height:350px;min-height:350px;overflow:hidden;background:var(--home-cream);isolation:isolate}
.home-hero-media img,.home-hero-image{position:absolute;inset:-2px;z-index:2;width:calc(100% + 4px);height:calc(100% + 4px);object-fit:cover;object-position:center;clip-path:polygon(0 35%,100% 14%,100% 100%,0 100%)}
.home-hero-media::after{content:"";position:absolute;z-index:1;top:6px;left:76%;width:110px;height:110px;border-radius:50%;background:var(--home-sun);transform:translateX(-50%);pointer-events:none}
.home-hero-media::before{content:"";position:absolute;z-index:3;top:0;left:-2px;width:calc(100% + 4px);height:150px;background:var(--home-mountain);clip-path:polygon(0 68%,100% 28%,100% 52%,0 92%);pointer-events:none}
.home-section-head{display:block;margin-bottom:40px}
.home-section-mark{margin-bottom:24px;padding:0}
.home-section-mark strong{font-size:1rem}
.home-section-head h2{font-size:clamp(2.7rem,11vw,4.6rem)}
.home-programs{padding:70px 0}
.home-program{min-height:365px}
.home-program>a{display:block;min-height:365px;padding:30px 50% 30px 20px}
.home-program-main{margin-bottom:18px}
.home-program-main h3{font-size:clamp(1.55rem,7vw,2.2rem)}
.home-program-detail p{margin-bottom:16px;font-size:.93rem;line-height:1.5}
.home-program-more{font-size:.86rem}
.home-program-preview{position:absolute;top:0;right:0;bottom:0;width:48%;height:100%;overflow:hidden;background:transparent;isolation:isolate}
.home-program-preview img{position:absolute;inset:-2px;z-index:2;width:calc(100% + 4px);height:calc(100% + 4px);object-fit:cover;object-position:center;clip-path:polygon(calc(53% - 2px) 0,100% 0,100% 100%,calc(12.72% - 2px) 100%);transform:none!important;transition:none!important}
.home-program-preview::before{content:"";position:absolute;z-index:1;top:18px;left:27%;width:78px;height:78px;border-radius:50%;background:var(--home-sun);transform:translateX(-50%);pointer-events:none}
.home-program-preview::after{content:"";position:absolute;z-index:3;top:-2px;bottom:-2px;left:-2px;width:53%;background:var(--home-mountain);clip-path:polygon(76% 0,100% 0,24% 100%,0 100%);pointer-events:none}
.home-program:hover .home-program-preview img,.home-program:focus-within .home-program-preview img{transform:none!important}
.home-impact-layout{grid-template-columns:1fr}
.home-impact-photo{height:300px}
.home-story-grid{grid-template-columns:1fr}

}

/* =========================================================
   SMALL PHONE
========================================================= */
@media(max-width:430px){
.home-hero-copy-inner{padding:30px 17px 32px}
.home-hero h1{max-width:390px;margin:0 auto 20px;font-size:clamp(2.3rem,11.8vw,3.55rem);line-height:.97;letter-spacing:-.048em;text-align:center;text-wrap:balance;word-spacing:normal}
.home-hero-copy p{max-width:390px;margin-inline:auto;text-align:justify;text-align-last:left}
.home-hero-media{height:310px;min-height:310px}
.home-hero-media img,.home-hero-image{clip-path:polygon(0 36%,100% 15%,100% 100%,0 100%)}
.home-hero-media::after{top:4px;left:77%;width:100px;height:100px}
.home-hero-media::before{height:138px;clip-path:polygon(0 70%,100% 30%,100% 54%,0 94%)}
.home-program{min-height:370px}
.home-program>a{min-height:370px;padding:27px 50% 27px 17px}
.home-program-preview{width:49%;background:transparent}
.home-program-preview img{clip-path:polygon(calc(55% - 2px) 0,100% 0,100% 100%,calc(13.2% - 2px) 100%)}
.home-program-preview::before{top:16px;left:27%;width:70px;height:70px}
.home-program-preview::after{width:55%;clip-path:polygon(76% 0,100% 0,24% 100%,0 100%)}
.home-program-main h3{font-size:clamp(1.42rem,7vw,1.95rem)}
.home-program-detail p{font-size:.88rem}
}