/* Home page additions to rk.css (docs/04 §C). rk.css has the hero, facts, depts, feature, rooms, videos, ess, why,
   bulk, brands, store, insta and faq styles; an empty .media box is the neutral plate until an image is chosen. */

/* The hero <picture> wrapper must not change the absolutely positioned .hero__img. */
.hero__slide picture { display: contents; }

/* Brand logos inside the hairline grid. */
.brands img { display: block; max-inline-size: 70%; max-block-size: 3rem; inline-size: auto; block-size: auto; margin-inline: auto; object-fit: contain; }

/* Card skeleton while a slow image loads (@rk/hero, after 300 ms). */
.pcard.is-loading .pcard__img { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pcard.is-loading .pcard__media { animation: rk-home-skel var(--dur-slow) var(--ease) infinite alternate; }
}
@keyframes rk-home-skel { to { opacity: 0.5; } }

/* Former inline style (docs/10 §1). */
.stack { display: grid; gap: var(--space-4); }
