/* Home: a generous split, a complete mosaic, and a protected desktop stack. */
.home-hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); align-items: center; gap: 4vw; padding: clamp(150px,13vw,195px) var(--gutter) 90px; }
.home-hero-copy h1 { max-width: 780px; margin: 25px 0 28px; font-size: clamp(3.5rem,5.8vw,6.5rem); letter-spacing: -.065em; line-height: .94; }
.home-hero-intro { max-width: 510px; margin: 0; font-size: clamp(16px,1.35vw,20px); line-height: 1.55; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; margin-top: 32px; }
.home-hero-media { margin: 0; min-width: 0; border: 1px solid var(--ink); }
.home-hero-photo { height: clamp(420px,41vw,630px); overflow: hidden; background: #536264; }
.home-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.home-hero-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 19px; border-top: 1px solid var(--ink); background: var(--peach); font: 500 10px/1.5 "DM Mono",monospace; }
.intro-statement { padding: var(--chapter) var(--gutter); border-top: 1px solid var(--line); }
.scrub-text { max-width: 1200px; margin: 27px 0 0; font-family: "Cabinet Grotesk",Manrope,sans-serif; font-weight: 700; font-size: clamp(2.15rem,4.2vw,4.6rem); line-height: 1.13; letter-spacing: -.045em; }
.program-intro { padding: 0 var(--gutter) var(--chapter); }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.home-section-heading h2,.stack-heading h2,.donation-intro h2 { margin: 23px 0 0; max-width: 780px; font-size: clamp(3rem,5.8vw,6.3rem); letter-spacing: -.065em; line-height: .95; }
.home-section-heading .text-link { flex-shrink: 0; }
.bento-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: dense; gap: 0; }
.bento { min-width: 0; overflow: hidden; border: 1px solid var(--ink); }
.bento:nth-child(even) { border-left: 0; }
.bento:nth-child(n+3) { border-top: 0; }
.bento-photo { height: clamp(250px,24vw,360px); overflow: hidden; background: #536264; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform 700ms var(--ease-out-expo); }
.bento-orange .bento-photo img { object-position: center 46%; }
.bento-copy { position: relative; height: 100%; padding: clamp(28px,3.2vw,48px); }
.bento:has(.bento-photo) .bento-copy { height: auto; min-height: 245px; }
.bento h3 { max-width: 12em; padding-right: 28px; margin: 27px 0 35px; font-size: clamp(2rem,3.1vw,3.6rem); line-height: .99; letter-spacing: -.05em; }
.bento-feature { background: var(--lime); }
.bento-orange { background: var(--peach); }
.bento-blue { background: var(--blue); }
.bento-ink { background: var(--ink); color: var(--cream); }
.bento-ink .eyebrow { color: var(--lime); }
.bento-blue,.bento-ink { min-height: 385px; }
.bento-ink h3 { font-size: clamp(2.1rem,4.5vw,4.8rem); margin-bottom: 0; padding-right: 0; }
.postcard { display: block; width: fit-content; padding: 13px 18px; margin-top: 40px; border: 1px solid var(--ink); background: var(--cream); font: 500 12px "DM Mono",monospace; letter-spacing: .14em; }
.bento-arrow { position: absolute; bottom: 28px; right: 28px; font-size: 28px; transition: transform 250ms var(--ease-out-expo); }

.stack-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); align-items: start; gap: 6vw; padding: var(--chapter) var(--gutter); background: var(--ink); color: var(--cream); }
.stack-heading .eyebrow { color: var(--lime); }
.stack-heading h2 { font-size: clamp(3.2rem,5.3vw,5.7rem); }
.stack-heading > p:last-child { max-width: 480px; margin: 26px 0 0; color: #cbd1ca; font-size: 17px; }
.stack-cards { min-width: 0; }
.stack-card { position: relative; min-height: 400px; padding: 88px 32px 108px; color: var(--ink); border: 1px solid var(--ink); margin-top: -1px; }
.stack-number { position: absolute; top: 30px; left: 32px; font: 500 12px "DM Mono",monospace; }
.stack-copy h3 { margin: 0; font-size: clamp(2.1rem,3.2vw,3.5rem); line-height: .98; letter-spacing: -.05em; }
.stack-copy p { max-width: 430px; margin: 20px 0 0; font-size: 16px; line-height: 1.55; }
.card-yellow { background: var(--lime); z-index: 1; }
.card-blue { background: var(--blue); z-index: 2; }
.card-coral { background: var(--peach); z-index: 3; }
.testimonial { display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); align-items: center; gap: 7vw; padding: var(--chapter) var(--gutter); }
.testimonial-image { margin: 0; overflow: hidden; aspect-ratio: 1; background: #536264; border: 1px solid var(--ink); }
.testimonial-image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% top; }
.testimonial blockquote { margin: 0 0 28px; font-size: clamp(2.4rem,4.4vw,5rem); letter-spacing: -.055em; line-height: 1.04; }
.donation-section { padding: var(--chapter) var(--gutter); background: var(--ink); color: var(--cream); }
.donation-intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: end; gap: 6vw; margin-bottom: 55px; }
.donation-intro .eyebrow { color: var(--lime); }
.donation-description { max-width: 510px; margin: 0; font-size: clamp(16px,1.3vw,20px); line-height: 1.55; }
.donation-photo { overflow: hidden; height: clamp(320px,38vw,570px); background: #536264; }
.donation-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.donation-facts { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(230px,.8fr); background: var(--lime); color: var(--ink); }
.donation-facts p { margin: 0; padding: clamp(26px,3.2vw,48px); font-size: clamp(17px,1.45vw,22px); font-weight: 700; line-height: 1.4; }
.donation-facts .donation-ein { display: flex; align-items: center; gap: .5em; border-left: 1px solid var(--line); font: 500 clamp(15px,1.3vw,19px)/1.6 "DM Mono",monospace; white-space: nowrap; }
.donation-ein strong { font-weight: 500; }

@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .bento:hover img,.bento:focus-visible img { transform: scale(1.04); }
  .bento:hover .bento-arrow { transform: translate(3px,-3px); }
}
@media (max-width: 1024px) {
  .home-hero-copy h1 { font-size: clamp(3rem,5.8vw,4.5rem); }
  .stack-card { padding-left: 26px; padding-right: 26px; }
  .stack-number { left: 26px; }
}
@media (max-width: 900px) {
  .home-hero { grid-template-columns: 1fr; padding-top: 150px; gap: 45px; }
  .home-hero-copy h1 { max-width: 800px; font-size: clamp(2.35rem,7.6vw,4.8rem); }
  .home-hero-intro { max-width: 600px; }
  .home-hero-photo { height: clamp(340px,60vw,580px); }
  .home-hero-photo img { object-position: center 53%; }
}
@media (max-width: 800px) {
  .stack-section { grid-template-columns: 1fr; gap: 48px; }
  .stack-heading { max-width: 620px; }
  .stack-card { min-height: 300px; padding: 85px 30px 40px; }
  .stack-number { left: 30px; }
  .stack-copy h3 { max-width: 650px; font-size: clamp(2.15rem,5vw,3rem); }
  .donation-intro { grid-template-columns: 1fr; gap: 28px; }
  .donation-facts { grid-template-columns: 1fr; }
  .donation-facts .donation-ein { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 650px) {
  .home-hero { padding-top: 140px; padding-bottom: 70px; }
  .home-hero-copy h1 { font-size: clamp(2.3rem,9vw,3.6rem); }
  .home-hero-media figcaption { padding: 17px; }
  .home-hero-photo { height: 380px; }
  .home-section-heading { display: block; margin-bottom: 32px; }
  .home-section-heading .text-link { margin-top: 22px; }
  .home-section-heading h2,.stack-heading h2,.donation-intro h2 { font-size: clamp(2.65rem,9vw,3.8rem); }
  .bento-grid { grid-template-columns: 1fr; }
  .bento:nth-child(even) { border-left: 1px solid var(--ink); }
  .bento + .bento { border-top: 0; }
  .bento-photo { height: 270px; }
  .bento:has(.bento-photo) .bento-copy { min-height: 215px; }
  .bento-blue,.bento-ink { min-height: 340px; }
  .bento h3 { font-size: clamp(2rem,6.7vw,2.7rem); }
  .bento-ink h3 { font-size: 3.2rem; }
  .testimonial { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-image { max-width: 400px; aspect-ratio: 4 / 3; }
  .testimonial blockquote { font-size: clamp(2.45rem,8.3vw,3.7rem); }
  .donation-photo { height: 330px; }
}
@media (max-width: 380px) {
  .home-hero-copy h1 { font-size: 2.15rem; }
  .bento-ink h3 { font-size: 2.35rem; padding-right: 0; }
  .home-hero-photo { height: 330px; }
  .stack-card { padding-left: 23px; padding-right: 23px; }
  .stack-number { left: 23px; }
  .donation-facts p { padding: 25px; }
}
