/* Shared part "mascot" (R5, brand lane): the plush family on the pages. Three kinds of figure.
   .mc--cut    a cut-out still with a gentle idle breath (hero art, no background)
   .mc--face   a small expression face (cut-out, square) used as an avatar or a reaction
   Markup is written by hand; the script is js/sections/_shared/mascot.js. */
/* cut-out hero art */
.mc--cut { display: block; }
.mc--cut img { display: block; width: 100%; height: auto; }
.mc--cut .mc__img { transform-origin: 50% 96%; filter: drop-shadow(0 22px 22px rgba(90, 42, 0, .24)); }
@media (prefers-reduced-motion: no-preference) {
  .mc--cut .mc__img { animation: mc-breathe 5.6s ease-in-out infinite; }
  .mc--suri.mc--cut .mc__img { animation-duration: 6.4s; }
  .mc--nila.mc--cut .mc__img { animation-name: mc-float; animation-duration: 7.2s; }
}
@keyframes mc-breathe { 0%, 100% { transform: scale(1) translateY(0); } 50% { transform: scale(1.018, .985) translateY(1px); } }
@keyframes mc-float { 0%, 100% { transform: translateY(0) rotate(-.4deg); } 50% { transform: translateY(-9px) rotate(.4deg); } }

/* expression faces */
.mf { display: block; width: var(--mf, 64px); height: var(--mf, 64px); object-fit: contain; flex: none; }
.mf--chip { border-radius: 50%; background: #FFF6DD; padding: 0; object-fit: cover; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 1px 2px rgba(90, 42, 0, .25); }

/* personality tags and colour swatches (the family cards on the home page and the brand sheet) */
.fam__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.fam__tags li { padding: 5px 13px; border-radius: 999px; font: 800 14.5px/1.2 var(--font-body); background: color-mix(in srgb, var(--c1) 26%, #fff); color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--c2) 38%, transparent); }
.fam__sw { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.sw { display: flex; align-items: center; gap: 9px; }
.sw__chip { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7), 0 0 0 1.5px rgba(30, 42, 90, .16); flex: none; }
.sw__t { display: grid; line-height: 1.2; }
.sw__t b { font: 800 14.5px/1.2 var(--font-body); }
.sw__t code { font: 700 13px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--ink-3); }
