/* Client reference 03: calm program cards and a continuous editorial canvas.
   The hero and WooCommerce catalog retain their existing structure. */
.avm-front-page > .avm-program-showcase {
  padding: 67px 0 178px; isolation: isolate; overflow: hidden;
  background: url('../images/decor/section-waves.svg') center bottom / 100% 175px no-repeat,
    radial-gradient(ellipse at 6% 18%,rgba(121,198,228,.25),transparent 33%),
    radial-gradient(ellipse at 97% 54%,rgba(246,184,133,.22),transparent 30%),
    linear-gradient(110deg,#fffaf3 0%,#f7fbfc 50%,#fff9f0 100%);
}
.avm-program-showcase::before {
  content: ''; position: absolute; top: 24px; right: -55px; width: 320px; height: 420px;
  opacity: .15; background: url('../images/decor/foliage.svg') center / contain no-repeat;
  transform: rotate(-24deg); pointer-events: none;
}
.avm-program-showcase .avm-showcase-glow { z-index: -1; }
.avm-program-heading { display: flex; align-items: center; justify-content: center; gap: 25px; margin: 0 auto 4px; text-align: center; }
.avm-program-heading h2 { margin: 0; color: #06395c; font-family: Inter,system-ui,sans-serif; font-size: clamp(27px,3vw,42px); font-weight: 850; letter-spacing: -.045em; text-transform: uppercase; }
.avm-heading-rule { width: clamp(45px,9vw,130px); height: 1px; background: linear-gradient(90deg,transparent,#387fa5); }
.avm-heading-rule:last-child { transform: rotate(180deg); }
.avm-program-introline { margin: 0 0 26px; color: #456b7c; font-size: 14px; text-align: center; }
.avm-front-page .avm-program-showcase-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; gap: clamp(14px,1.8vw,26px); padding: 4px 2px 13px; }
.avm-front-page .avm-program-tile,
.avm-front-page .avm-program-tile:nth-of-type(3) {
  position: relative; display: block; min-width: 0; min-height: 268px; padding: 23px 23px 19px;
  border: 1px solid #fff; border-radius: 20px; overflow: hidden; isolation: isolate;
  color: #073b5d; background: #f9fcfd; box-shadow: 0 14px 36px rgba(5,56,83,.13);
  transform: none; transition: transform .25s ease,box-shadow .25s ease;
}
.avm-front-page .avm-program-tile:hover,
.avm-front-page .avm-program-tile:nth-of-type(3):hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(5,56,83,.18); }
.avm-front-page .avm-program-tile:focus-visible { outline: 3px solid #ed8237; outline-offset: 3px; }
.avm-front-page .avm-program-tile::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 61%; z-index: -2;
  background-size: cover; background-repeat: no-repeat; background-position: center;
}
.avm-front-page .avm-program-tile--human::before { background-image: url('../images/scene/program-human.webp'); background-position: 50% 38%; }
.avm-front-page .avm-program-tile--vet::before { background-image: url('../images/scene/hero-animals.webp'); background-position: 37% 49%; }
.avm-front-page .avm-program-tile--pet::before { background-image: url('../images/scene/program-pet.webp'); background-position: 50% 43%; }
.avm-front-page .avm-program-tile::after {
  content: ''; display: block; position: absolute; inset: 0; z-index: -1; opacity: 1;
  background: linear-gradient(90deg,#f7fcff 0%,#f7fcff 38%,rgba(247,252,255,.94) 46%,rgba(247,252,255,.08) 79%),
    linear-gradient(0deg,rgba(9,105,149,.72) 0%,transparent 27%);
}
.avm-front-page .avm-program-tile--vet::after { background: linear-gradient(90deg,#eef7fc 0%,#eef7fc 38%,rgba(238,247,252,.94) 47%,rgba(238,247,252,.09) 80%),linear-gradient(0deg,rgba(5,73,110,.75),transparent 28%); }
.avm-front-page .avm-program-tile--pet::after { background: linear-gradient(90deg,#fff8f1 0%,#fff8f1 38%,rgba(255,248,241,.95) 47%,rgba(255,248,241,.08) 80%),linear-gradient(0deg,rgba(220,111,38,.75),transparent 28%); }
.avm-front-page .avm-program-symbol { position: relative; z-index: 2; width: 48px; height: 48px; margin: 0 0 18px; border: 0; background: #1684af; font-size: 24px; box-shadow: none; }
.avm-front-page .avm-program-tile--vet .avm-program-symbol { background: #075477; }
.avm-front-page .avm-program-tile--pet .avm-program-symbol { background: #e57e31; }
.avm-front-page .avm-program-tile > div { position: relative; z-index: 2; width: 69%; }
.avm-front-page .avm-program-tile small { margin-bottom: 4px; color: #50819a; font-size: 9px; letter-spacing: .09em; text-shadow: none; }
.avm-front-page .avm-program-tile h3 { max-width: 100%; margin: 0 0 7px; color: #06395c; font-size: clamp(21px,1.85vw,28px); font-weight: 850; line-height: 1.07; text-shadow: none; }
.avm-front-page .avm-program-tile p { max-width: 210px; margin: 0 0 13px; color: #234f6d; font-size: 12px; font-weight: 550; line-height: 1.3; text-shadow: none; }
.avm-front-page .avm-program-more { display: grid; place-items: center; width: 35px; height: 35px; color: #fff; background: #063c5d; font-size: 22px!important; }
.avm-program-dots { display: none; }
.avm-program-handnote { width: max-content; max-width: 100%; margin: 3px 4% -17px auto; color: #237da2; font-family: Caveat,'Segoe Print','Bradley Hand',cursive; font-size: 30px; font-weight: 600; line-height: 1; transform: rotate(-5deg); }
.avm-program-handnote b { color: #e67b30; font-size: 38px; font-weight: 500; }

.avm-front-page .avm-benefit-bar { position: relative; z-index: 2; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 21px; border-radius: 34px; background: rgba(255,255,255,.9); }
.avm-front-page .avm-benefit-bar > div { min-height: 80px; justify-content: center; }
.avm-front-page .avm-benefit-bar > div > span { font-size: 27px; }
.avm-front-page .avm-benefit-bar strong { font-size: 13px; }
.avm-front-page .avm-benefit-bar small { font-size: 11px; }

/* Individually photographed packs, foliage and the handwritten side note. */
.avm-front-page > .avm-products-section {
  margin-top: -1px; padding: 30px 0 77px;
  background: radial-gradient(ellipse at 3% 35%,rgba(169,211,219,.28),transparent 28%),
    radial-gradient(ellipse at 93% 30%,rgba(248,197,139,.24),transparent 29%),
    linear-gradient(115deg,#f5faf9 0%,#fffcf6 65%,#fff4e9 100%);
}
.avm-products-section .avm-section-heading { max-width: 1180px; margin: 0 auto 0; }
.avm-products-section .avm-section-heading h2 { font-size: clamp(29px,3.1vw,43px); }
.avm-front-page .avm-featured-stage { max-width: 1250px; min-height: 436px; margin: 0 auto; padding-bottom: 51px; }
.avm-front-page .avm-featured-stage::before { left: 9%; right: 1%; bottom: 57px; height: 83px; border-radius: 50% 50% 14px 14px / 80% 80% 14px 14px; }
.avm-front-page .avm-featured-stage::after { left: 10%; right: 2%; bottom: 33px; height: 54px; }
.avm-front-page .avm-featured-note {
  top: 96px; left: 3.5%; width: 180px; font-family: Caveat,'Segoe Print','Bradley Hand',cursive;
  color: #1b719e; font-size: clamp(32px,3vw,44px); font-weight: 600; line-height: .81;
  text-shadow: 0 2px 2px #fff; transform: rotate(-8deg);
}
.avm-front-page .avm-featured-note span { padding: 0 0 0 7px; }
.avm-front-page .avm-featured-note span:nth-child(2) { padding-left: 21px; }
.avm-front-page .avm-featured-note span:nth-child(3) { padding-left: 8px; }
.avm-front-page .avm-featured-note span:nth-child(4) { padding-left: 23px; }
.avm-front-page .avm-featured-note b { color: #ec7e2d; font-size: 44px; }
.avm-front-page .avm-featured-gallery { min-height: 345px; padding: 0 3% 0 19%; gap: 4px; }
.avm-front-page .avm-featured-gallery .avm-featured-product img { max-height: 338px; }
.avm-front-page .avm-products-ambient--left { opacity: .55; }
.avm-front-page .avm-products-ambient--right { opacity: .34; }
.avm-front-page .avm-story { background: linear-gradient(155deg,#f4f9fb,#fffaf3); }

.avm-featured-note.avm-note-ready span { clip-path: inset(0 100% 0 0); }
.avm-featured-note.avm-note-ready.is-visible span { animation: avm-write-in .58s ease-out forwards; }
.avm-featured-note.avm-note-ready.is-visible span:nth-child(2) { animation-delay: .3s; }
.avm-featured-note.avm-note-ready.is-visible span:nth-child(3) { animation-delay: .6s; }
.avm-featured-note.avm-note-ready.is-visible span:nth-child(4) { animation-delay: .9s; }
@keyframes avm-write-in { to { clip-path: inset(0 0 0 0); } }

@media (max-width: 1050px) {
  .avm-front-page .avm-program-tile, .avm-front-page .avm-program-tile:nth-of-type(3) { min-height: 260px; padding: 18px; }
  .avm-front-page .avm-program-tile > div { width: 74%; }
  .avm-front-page .avm-program-tile h3 { font-size: 21px; }
  .avm-front-page .avm-program-tile p { font-size: 11px; }
}
@media (max-width: 700px) {
  .avm-front-page > .avm-program-showcase { padding: 41px 0 139px; background-size: 100% 135px,auto,auto,auto; }
  .avm-program-heading { gap: 12px; }
  .avm-program-heading h2 { font-size: 24px; white-space: nowrap; }
  .avm-heading-rule { width: min(14vw,62px); }
  .avm-program-introline { margin-bottom: 15px; font-size: 12px; }
  .avm-front-page .avm-program-showcase-grid { display: flex; gap: 13px; margin: 0 -18px; padding: 5px 18px 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .avm-front-page .avm-program-showcase-grid::-webkit-scrollbar { display: none; }
  .avm-front-page .avm-program-tile, .avm-front-page .avm-program-tile:nth-of-type(3) { flex: 0 0 min(78vw,315px); min-height: 338px; padding: 0; border-radius: 18px; scroll-snap-align: center; }
  .avm-front-page .avm-program-tile::before { top: 0; right: 0; bottom: auto; left: 0; width: 100%; height: 59%; background-position: center 38%; }
  .avm-front-page .avm-program-tile--vet::before { background-position: center 48%; }
  .avm-front-page .avm-program-tile::after { background: linear-gradient(175deg,transparent 0 48%,rgba(4,85,126,.78) 56%,#fffaf5 58%,#fffaf5 100%); }
  .avm-front-page .avm-program-tile--vet::after { background: linear-gradient(175deg,transparent 0 48%,rgba(5,79,116,.85) 56%,#fffaf5 58%,#fffaf5 100%); }
  .avm-front-page .avm-program-tile--pet::after { background: linear-gradient(175deg,transparent 0 48%,rgba(232,118,40,.88) 56%,#fffaf5 58%,#fffaf5 100%); }
  .avm-front-page .avm-program-symbol { position: absolute; top: 14px; left: 14px; z-index: 3; width: 45px; height: 45px; }
  .avm-front-page .avm-program-tile > div { position: absolute; right: 16px; bottom: 15px; left: 17px; width: auto; }
  .avm-front-page .avm-program-tile small { display: none; }
  .avm-front-page .avm-program-tile h3 { max-width: calc(100% - 42px); margin-bottom: 4px; font-size: 21px; }
  .avm-front-page .avm-program-tile p { max-width: calc(100% - 45px); margin-bottom: 0; font-size: 12px; }
  .avm-front-page .avm-program-more { position: absolute; right: 0; bottom: 0; }
  .avm-program-dots { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 6px; }
  .avm-program-dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #bdcbd0; cursor: pointer; }
  .avm-program-dots button[aria-pressed="true"] { background: #063e64; transform: scale(1.17); }
  .avm-program-dots button:focus-visible { outline: 2px solid #e67c2f; outline-offset: 3px; }
  .avm-program-handnote { margin: 11px auto -10px; font-size: 26px; text-align: center; }
  .avm-program-handnote b { font-size: 30px; }
  .avm-front-page .avm-benefit-bar { display: flex; gap: 0; margin: 26px 12px 0; overflow-x: auto; border-radius: 20px; scroll-snap-type: x proximity; }
  .avm-front-page .avm-benefit-bar > div { flex: 0 0 84%; min-height: 75px; justify-content: flex-start; border-right: 1px solid #d9e9ee; scroll-snap-align: center; }
  .avm-front-page > .avm-products-section { padding: 34px 0 55px; }
  .avm-front-page .avm-featured-stage { min-height: 360px; }
  .avm-front-page .avm-featured-note { top: auto; left: 4px; width: auto; font-size: 28px; transform: rotate(-4deg); }
  .avm-front-page .avm-featured-note span { padding: 0!important; }
  .avm-front-page .avm-featured-gallery { min-height: 237px; padding: 8px 1% 0; }
  .avm-front-page .avm-featured-gallery .avm-featured-product { flex: 0 0 41%; height: 235px; }
  .avm-front-page .avm-featured-gallery .avm-featured-product img { max-height: 220px; }
  .avm-front-page .avm-featured-stage::before { left: 0; right: 0; bottom: 55px; height: 46px; }
  .avm-front-page .avm-featured-stage::after { left: 1%; right: 1%; bottom: 38px; height: 31px; }
}
@media (prefers-reduced-motion: reduce) {
  .avm-featured-note.avm-note-ready span { clip-path: none; }
  .avm-featured-note.avm-note-ready.is-visible span { animation: none; }
  .avm-front-page .avm-program-tile { transition: none; }
}
