/* Homepage sizing and fee-card motion only; existing copy, palette and navigation stay intact. */
body.home .pricing .price-cards {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
body.home .pricing .price-cards > article {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  align-self: stretch;
  transform: none;
}
body.home .pricing .price-cards > article,
.reception #fees .rc-fee-pair > article,
.reception #fees .rc-whole-fee > article {
  position: relative;
  transform-origin: center;
  transition: opacity .75s ease, transform .18s ease, box-shadow .18s ease;
}
/* Each design card must carry the group's existing background while it transforms. */
.reception #fees .rc-fee-pair > article { background: #ebe6dc; }
@media (hover: hover) and (pointer: fine) {
  body.home .pricing .price-cards > article.is-visible:hover,
  body.home .pricing .price-cards > article.is-visible:focus-visible,
  .reception #fees .rc-fee-pair > article:hover,
  .reception #fees .rc-fee-pair > article:focus-visible,
  .reception #fees .rc-whole-fee > article:hover,
  .reception #fees .rc-whole-fee > article:focus-visible {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 28px rgba(10, 16, 9, .2);
    z-index: 2;
  }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.home .pricing .price-cards > article,
  .reception #fees .rc-fee-pair > article,
  .reception #fees .rc-whole-fee > article {
    transform: none !important;
    transition: none !important;
  }
}

/* Homepage shared pricing rows; empty note rows collapse in the mobile stack. */
body.shiyu-color-type-v1.home .pricing .price-cards > article > .price-exclusion {
  display: block; font: 500 14px/1.5 var(--font-sans); color: var(--rust); letter-spacing: 0;
}
@media (min-width: 801px) {
  body.home .pricing .price-cards { grid-auto-rows: auto; grid-template-rows: repeat(6, auto); row-gap: 0; }
  body.home .pricing .price-cards > article {
    display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0;
    padding: 38px 28px;
  }
  body.home .pricing .price-cards > article > span { grid-row: 1; }
  body.home .pricing .price-cards > article > strong { grid-row: 2; margin: 28px 0 0; }
  body.home .pricing .price-cards > article > .price-exclusion { grid-row: 3; margin: 10px 0 0; }
  body.home .pricing .price-cards > article > p { grid-row: 4; margin: 28px 0 0; }
  body.home .pricing .price-cards > article > .price-fit {
    grid-row: 5 / span 2; display: grid; grid-template-rows: subgrid; row-gap: 0;
    margin: 22px 0 0; padding-top: 18px;
  }
  body.home .pricing .price-cards .price-fit > small { grid-row: 1; margin: 0 0 8px; }
  body.home .pricing .price-cards .price-fit > p { grid-row: 2; margin: 0; }
}
@media (max-width: 800px) {
  body.home .pricing .price-cards { grid-auto-rows: auto; grid-template-rows: none; }
  body.home .pricing .price-cards > article { display: block; }
  body.home .pricing .price-cards > article > .price-exclusion:empty { display: none; }
  body.home .pricing .price-cards > article.featured > strong { margin-bottom: 0; }
  body.home .pricing .price-cards > article.featured > .price-exclusion { margin: 10px 0 28px; }
}
