.hero{min-height:650px;display:block;padding:82px max(7vw,30px);background:linear-gradient(90deg,#08291ff2 0%,#0b3826d9 31%,#0d3b2766 49%,transparent 68%),url('./assets/hero-rescue-flower.webp') center/cover no-repeat}.hero-copy{max-width:660px;position:relative;z-index:2}.hero-brandmark{position:absolute;right:max(3vw,24px);bottom:24px;width:190px;padding:8px;border-radius:20px;transform:none;box-shadow:0 14px 40px #0006;opacity:.96}.hero h1{font-size:clamp(3.6rem,6vw,6.8rem);text-shadow:0 3px 22px #0007}.hero p{text-shadow:0 2px 12px #000}.shop-section .product-photo>img{filter:saturate(.92) contrast(.98)}@media(max-width:900px){.hero{background-position:62% center}.hero-brandmark{width:145px}.hero-copy{max-width:580px}}@media(max-width:760px){.hero{min-height:710px;padding:34px 20px 110px;background:linear-gradient(180deg,#092b20e8 0%,#0a3022b5 55%,#092b20b0),url('./assets/hero-rescue-flower.webp') 66% center/cover no-repeat}.hero-copy{background:#092e22c2}.hero-brandmark{right:20px;bottom:20px;width:130px;margin:0}}
.urgent-link{gap:10px;transition:transform .2s,box-shadow .2s}.urgent-link:hover{transform:translateY(-2px);box-shadow:0 10px 25px #0004}.urgent-link span{font-size:1.1rem}.home-shop-slider{position:relative;display:block;width:100%;aspect-ratio:1.12/1;border-radius:26px;overflow:hidden;box-shadow:var(--shadow);transform:rotate(-2deg);background:#eef2ed}.shop-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity .8s ease,transform 4s ease}.shop-slide.active{opacity:1;transform:scale(1)}.shop-slide-dots{position:absolute;left:22px;bottom:20px;display:flex;gap:7px;z-index:2}.shop-slide-dots i{width:8px;height:8px;background:#ffffff99;border-radius:50%;transition:.25s}.shop-slide-dots i.active{width:28px;border-radius:999px;background:#fff}.slider-hint{position:absolute;right:18px;bottom:14px;background:#102f20e8;color:#fff;padding:9px 13px;border-radius:999px;font-size:.68rem;font-weight:900;z-index:2}.card-name-choice{display:grid;grid-template-columns:auto 1fr;column-gap:8px}.card-name-choice small{grid-column:2;color:#4a6355;font-weight:400;margin-top:4px}.dynamic-name{left:10%;right:10%;bottom:10.5%;height:auto;background:none;border:0;border-radius:0;color:#fff8dc;font:italic 600 clamp(1rem,3.2vw,1.65rem) Georgia,"Times New Roman",serif;text-transform:none;text-shadow:0 3px 12px #002d20,0 1px 2px #002d20;letter-spacing:.02em;overflow:visible}.adoption-hero{background:radial-gradient(circle at 72% 0,#4a8b58,#102f20 58%)}.adoption-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.adoption-toolbar>div:first-child{display:grid}.adoption-toolbar span{color:#4a6355;font-size:.85rem}.adoption-filters{display:flex;gap:8px;flex-wrap:wrap}.adoption-filters button{border:1px solid #bcc9be;background:#fff;border-radius:999px;padding:10px 17px;font-weight:800;cursor:pointer}.adoption-filters button.active{background:#1a4a2e;color:#fff;border-color:#1a4a2e}.adoption-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.adoption-card{background:#fff;border-radius:22px;overflow:hidden;box-shadow:var(--shadow)}.adoption-photo{position:relative}.adoption-photo img{width:100%;height:280px;object-fit:cover;display:block}.adoption-photo span{position:absolute;left:14px;bottom:14px;background:#cc0000;color:#fff;border-radius:999px;padding:8px 11px;font-size:.68rem;font-weight:900}.adoption-card>div:last-child{padding:22px}.adoption-card small{color:#2e7d32;font-weight:850}.adoption-card h2{font-size:2.2rem;margin:7px 0}.adoption-card p{color:#4a6355;line-height:1.5}.big-heart{font-size:4rem;color:#cc0000}@media(max-width:900px){.adoption-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.home-shop-slider{transform:none}.adoption-toolbar{align-items:flex-start;flex-direction:column}.adoption-grid{grid-template-columns:1fr}.adoption-photo img{height:320px}.dynamic-name{font-size:1rem;bottom:10%}}

/* Mobile-first homepage: protect the rescue photo and make the first action effortless. */
@media(max-width:760px){
  header{height:64px;padding:0 12px;gap:8px}
  .brand{width:82px}.brand img{width:78px;max-height:60px}
  .donate-top{padding:10px 12px;font-size:.68rem;letter-spacing:0}
  nav{top:64px;max-height:calc(100vh - 64px);overflow:auto}
  .hero{min-height:0;display:block;padding:0 16px 28px;background:linear-gradient(180deg,transparent 0,transparent 34%,#092e2214 43%,#092e22 58%,#092e22 100%),url('./assets/hero-rescue-flower.webp') 68% top/auto 390px no-repeat,#092e22}
  .hero-copy{max-width:none;margin-top:0;padding:330px 0 0;background:transparent;border-radius:0;text-align:left}
  .hero .eyebrow{font-size:.68rem;letter-spacing:.14em;color:#d9f4df}
  .hero .urgent{margin:10px 0 12px;padding:8px 12px;font-size:.72rem}
  .hero h1{font-size:clamp(2.65rem,12.5vw,3.55rem);line-height:.96;max-width:12ch;text-wrap:balance;text-shadow:0 3px 18px #000}
  .hero p{font-size:1rem;line-height:1.45;margin:16px 0 0;text-shadow:none;color:#f3f7f4}
  .hero .actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:20px}
  .hero .actions .btn{width:100%;min-height:50px;padding:13px 16px}
  .hero-brandmark{display:none}
  .stats{grid-template-columns:1fr 1fr;padding:18px 12px;gap:0}
  .stat{padding:12px 6px;border-right:1px solid #ffffff30;border-bottom:1px solid #ffffff30}
  .stat:nth-child(2){border-right:0}.stat:nth-child(3),.stat:nth-child(4){border-bottom:0}.stat:nth-child(4){border-right:0}
  .stat strong{font-size:1.55rem}.stat span{font-size:.76rem;line-height:1.3}
  .section{padding:44px 16px}.section-head{display:block}.section-head>a{display:inline-block;margin-top:16px}
  .cards{gap:16px}.case{border-radius:16px}.case img{height:220px}.case-body{padding:18px}
  .level-grid{grid-template-columns:1fr;gap:12px}.level{min-height:0;padding:20px}
  .tax-section{padding:34px 18px;gap:16px}.tax-section h2{font-size:2.15rem}
  .home-shop-promo{padding-left:16px!important;padding-right:16px!important}
}
@media(max-width:390px){
  .donate-top{font-size:.62rem;padding:9px 10px}
  .hero{background-size:auto,auto 360px;background-position:center,67% top}
  .hero-copy{padding-top:305px}
  .hero h1{font-size:2.55rem}
}

/* Homepage data, aligned actions and swipeable mobile collections. */
.stats-three{grid-template-columns:repeat(3,1fr)}.case{display:flex;flex-direction:column}.case-body{display:flex;flex:1;flex-direction:column}.case-body>.btn{margin-top:auto;min-height:48px}.section-count{display:grid;justify-items:end;gap:7px;color:#4a6355}.section-count strong{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}.home-distance{padding-top:30px;background:#edf4ee}@media(max-width:760px){.stats-three{grid-template-columns:repeat(3,1fr)}.stats-three .stat{border-bottom:0}.stats-three .stat:nth-child(2){border-right:1px solid #ffffff30}.section-count{justify-items:start;margin-top:14px}.mobile-carousel{display:flex!important;grid-template-columns:none!important;gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:4px 16vw 22px 2px;margin-right:-16px;scrollbar-width:none}.mobile-carousel::-webkit-scrollbar{display:none}.mobile-carousel>.case,.mobile-carousel>.remote-card{flex:0 0 82vw;max-width:350px;scroll-snap-align:start}.mobile-carousel>.remote-card{display:grid;grid-template-columns:1fr}.mobile-carousel>.remote-card .remote-photo{height:220px}}


/* Homepage hero motto: editorial lockup aligned with the primary copy. */
.hero-copy>.eyebrow{
  display:block;
  width:max-content;
  max-width:100%;
  margin:0 0 12px;
  padding:0 0 2px 13px;
  border-left:3px solid #e5c45b;
  color:#fff8dc;
  font:italic 600 clamp(1.05rem,1.45vw,1.32rem)/1.15 Georgia,serif;
  letter-spacing:.025em;
  text-transform:none;
  text-shadow:0 2px 12px #001b12b8;
}
@media(max-width:760px){
  .hero-copy>.eyebrow{
    margin:0 0 10px;
    padding-left:10px;
    font-size:1.04rem;
    line-height:1.18;
    letter-spacing:.015em;
  }
}

/* Homepage adoption cards: stronger visual presence and full-animal portrait framing. */
.home-adoption-hub .adoption-card{border-radius:26px;box-shadow:0 16px 38px rgba(16,47,32,.14)}
.home-adoption-hub .adoption-photo{background:#eef3ef;overflow:hidden}
.home-adoption-hub .adoption-photo img{height:360px!important;object-fit:contain!important;object-position:center center!important;background:#eef3ef}
.home-adoption-hub .adoption-card>div:last-child{padding:26px!important}
.home-adoption-hub .adoption-card h2{font-size:2.5rem!important}
@media(max-width:760px){
 .home-adoption-hub .adoption-photo img{height:390px!important;object-fit:contain!important;object-position:center center!important}
 .home-adoption-hub .adoption-card>div:last-child{padding:22px!important}
 .home-adoption-hub .adoption-card h2{font-size:2.25rem!important}
}

/* FINAL mobile homepage urgent-case framing: override generic .case img rule. */
@media(max-width:760px){
 .home-cases .cards.mobile-carousel>.case{flex:0 0 76vw!important;width:76vw!important;max-width:318px!important}
 .home-cases .cards.mobile-carousel>.case .case-profile-link{height:340px!important;min-height:340px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#eef3ef!important;overflow:hidden!important}
 .home-cases .cards.mobile-carousel>.case .case-profile-link>img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:50% 50%!important;background:#eef3ef!important}
}

/* Fine-tune mobile urgent-case image/card fit: slightly narrower card so full portrait fills it better. */
@media(max-width:760px){
 .home-cases .cards.mobile-carousel>.case{flex-basis:72vw!important;width:72vw!important;max-width:302px!important}
 .home-cases .cards.mobile-carousel>.case .case-profile-link{height:350px!important;min-height:350px!important}
}

/* FINAL preference: restore larger mobile case cards and use centered cover crop. */
@media(max-width:760px){
 .home-cases .cards.mobile-carousel>.case{flex:0 0 82vw!important;width:82vw!important;max-width:350px!important}
 .home-cases .cards.mobile-carousel>.case .case-profile-link{height:320px!important;min-height:320px!important;background:#eef3ef!important;overflow:hidden!important}
 .home-cases .cards.mobile-carousel>.case .case-profile-link>img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:50% 50%!important;transform:none!important}
}

/* Homepage urgent cases desktop: uniform portrait frame, centered subject, no oversized Bubbles crop. */
@media(min-width:761px){
 .home-cases .cards>.case .case-profile-link{
   height:360px!important;
   min-height:360px!important;
   display:flex!important;
   align-items:center!important;
   justify-content:center!important;
   overflow:hidden!important;
   background:#eef3ef!important;
 }
 .home-cases .cards>.case .case-profile-link>img{
   width:100%!important;
   height:100%!important;
   max-width:none!important;
   max-height:none!important;
   aspect-ratio:auto!important;
   object-fit:cover!important;
   object-position:50% 50%!important;
   transform:none!important;
 }
}
