/* No opacity/visibility gate: motion enhances an already readable document. */
.button > span[aria-hidden],
.editorial-link > span[aria-hidden],
.header-cta > span[aria-hidden],
.experience-index a > span[aria-hidden] {
  display: inline-block;
  transition: transform .25s ease;
}
.button:focus-visible > span[aria-hidden],
.editorial-link:focus-visible > span[aria-hidden],
.header-cta:focus-visible > span[aria-hidden],
.experience-index a:focus-visible > span[aria-hidden] {
  transform: translate(3px, -3px);
}
.site-header nav a { transition: color .2s ease; }
.mobile-book[hidden] { display: none !important; }

@media (hover: hover) and (pointer: fine) {
  .button:hover > span[aria-hidden],
  .editorial-link:hover > span[aria-hidden],
  .header-cta:hover > span[aria-hidden],
  .experience-index a:hover > span[aria-hidden] {
    transform: translate(3px, -3px);
  }
  a.service-card .study > img,
  a.image-link img,
  a.feature-image img,
  .feature-image > a img {
    transition: transform .3s ease;
  }
  a.service-card:is(:hover, :focus-visible) .study > img,
  a.image-link:is(:hover, :focus-visible) img,
  a.feature-image:is(:hover, :focus-visible) img,
  .feature-image > a:is(:hover, :focus-visible) img {
    transform: scale(1.03);
  }
  .mascot-story .brand-mascot img,
  [data-mascot-motion] img {
    transition: transform .4s ease;
  }
  .mascot-story .brand-mascot:hover img,
  [data-mascot-motion]:hover img {
    transform: translateY(-2px);
  }
}

@media (min-width: 951px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .island-hero.has-parallax .island-hero-scene {
    inset: -16px 0 auto;
    height: calc(100% + 32px);
    transform: translate3d(0, var(--hero-drift, 0px), 0);
  }
}

@media (max-width: 650px) {
  .mobile-book { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .island-hero-scene,
  .button > span[aria-hidden],
  .editorial-link > span[aria-hidden],
  .header-cta > span[aria-hidden],
  .experience-index a > span[aria-hidden],
  a.service-card .study > img,
  a.image-link img,
  a.feature-image img,
  .feature-image > a img,
  .mascot-story .brand-mascot img,
  [data-mascot-motion] img {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* Frame-by-frame walk cycle and greeting from the supplied character design. */
.shiba-stroll{position:fixed;inset:auto 0 calc(90px + env(safe-area-inset-bottom,0px));height:215px;z-index:30;pointer-events:none;overflow:hidden;contain:layout paint}
.shiba-stroll-traveller{position:absolute;left:0;bottom:0;width:180px;will-change:transform}
.shiba-stroll-sprite{width:180px;height:180px;background-image:url('/assets/shiba-walk-wave-sprite.webp');background-size:400% 300%;background-repeat:no-repeat}
.shiba-stroll-hi{position:absolute;right:0;top:-20px;padding:9px 15px;background:#fffdf8;color:#1e1e1e;border-radius:20px;font:600 18px/1.2 sans-serif}
.shiba-stroll-hi[hidden]{display:none}
.shiba-stroll-close{position:absolute;right:16px;top:0;pointer-events:auto;border:0;border-radius:50%;width:36px;height:36px;background:#fffdf8;color:#1e1e1e;font-size:23px;cursor:pointer}
.shiba-greeting-replay{margin-top:16px;padding:10px 16px;border:1px solid currentColor;border-radius:3px;background:transparent;color:inherit;font:inherit;font-size:14px;cursor:pointer}
.shiba-greeting-replay:focus-visible,.shiba-stroll-close:focus-visible{outline:2px solid #B87A3B;outline-offset:4px}
@media(max-width:650px){.shiba-stroll{height:170px}.shiba-stroll-traveller{width:135px}.shiba-stroll-sprite{width:135px;height:135px}.shiba-stroll-hi{font-size:16px;top:-20px}}
@media(prefers-reduced-motion:reduce){.shiba-stroll,.shiba-greeting-replay{display:none!important}}

/* Accessible WhatsApp shortcut, clear of mobile booking and consent controls. */
.floating-whatsapp{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:40;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#128c46;color:#fff;box-shadow:0 3px 12px #0002;text-decoration:none}
.floating-whatsapp:hover{background:#0d7138}
.floating-whatsapp:focus-visible{outline:3px solid #1e1e1e;outline-offset:4px}
@media(max-width:650px){.floating-whatsapp{right:18px;bottom:calc(80px + env(safe-area-inset-bottom,0px));width:52px;height:52px}}

/* Instagram is stacked above WhatsApp with the same generous touch target. */
.floating-instagram{position:fixed;right:24px;bottom:calc(92px + env(safe-area-inset-bottom,0px));z-index:40;width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fffdf8;color:#9d3564;box-shadow:0 3px 12px #0002;text-decoration:none}
.floating-instagram:hover{background:#f7efe3}
.floating-instagram:focus-visible{outline:3px solid #1e1e1e;outline-offset:4px}
@media(max-width:650px){.floating-instagram{right:18px;bottom:calc(144px + env(safe-area-inset-bottom,0px));width:52px;height:52px}}
