@charset "UTF-8";

/* Background artwork, editable copy, illustration and photo controls are separate layers. */
.hero.hero-layered {
  isolation: isolate;
  min-height: 0;
  padding: 0;
  background: #fff5f6;
}

.hero-layered::before,
.hero-layered::after { content: none; }

.hero-layered-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("../../assets/generated/hero-layered-background-20261003.webp") center / cover no-repeat;
}

.hero-layered .hero-grid {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 1727px);
  height: clamp(560px, 52.75vw, 911px);
  margin-inline: auto;
  pointer-events: none;
}

.hero-layered .hero-copy {
  position: absolute;
  top: 12.1%;
  left: 5.7%;
  width: 44%;
  padding: 0;
  pointer-events: auto;
}

.hero-layered h1 {
  color: #4c292b;
  font-family: var(--font-sans);
  font-size: clamp(42px, 5.2vw, 90px);
  font-weight: 800;
  line-height: 1.27;
  letter-spacing: -.025em;
}

.hero-layered h1 > span,
.hero-layered h1 > em { white-space: nowrap; }
.hero-layered h1 > em { color: #cb6574; }

.hero-layered .hero-facts {
  max-width: none;
  margin-top: clamp(22px, 1.8vw, 31px);
  gap: clamp(9px, .7vw, 12px);
}

.hero-layered .hero-facts li {
  grid-template-columns: clamp(44px, 4.1vw, 70px) minmax(0, 1fr);
  gap: clamp(12px, 1.5vw, 26px);
  min-height: clamp(54px, 4.55vw, 78px);
  padding: 0;
  color: #bd5262;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.55vw, 26px);
  font-weight: 700;
  line-height: 1.45;
}

.hero-layered .hero-fact-icon {
  width: clamp(44px, 4.1vw, 70px);
  height: clamp(44px, 4.1vw, 70px);
  color: #c65a6c;
  background: #fae6e9;
}
.hero-layered .hero-fact-icon svg { width: 58%; height: 58%; stroke-width: 1.8; }

.hero-layered .hero-pet-illustration {
  position: absolute;
  left: 5.3%;
  bottom: 3%;
  width: 30%;
  max-width: 500px;
  height: auto;
  margin: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.hero-layered .hero-floor-cards {
  position: absolute;
  left: auto;
  right: 3.8%;
  bottom: 5.6%;
  width: 51.2%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, .8vw, 14px);
  margin: 0;
  pointer-events: auto;
}

.hero-layered .hero-floor-card {
  position: relative;
  min-width: 0;
  padding: clamp(4px, .4vw, 7px) clamp(4px, .4vw, 7px) 0;
  border: 1px solid #f2e2e5;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(108, 56, 67, .10);
  transform: none;
}

.hero-layered .hero-floor-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.hero-layered .hero-floor-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(38px, 3.1vw, 53px);
  gap: clamp(4px, .6vw, 10px);
  color: #4c292b;
  font-family: var(--font-sans);
  font-size: clamp(10px, 1.1vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.hero-layered .hero-floor-card .hero-floor-name {
  display: block;
  min-height: 0;
  color: inherit;
  font: inherit;
}

.hero-layered .hero-floor-card b {
  flex: 0 0 auto;
  width: clamp(22px, 2.3vw, 38px);
  height: clamp(22px, 2.3vw, 38px);
  background: #f7dfe5;
  font-size: clamp(10px, .85vw, 14px);
}

.hero-layered .hero-floor-card[aria-pressed="true"] {
  border-color: #b94d59;
  box-shadow: 0 0 0 2px #b94d59, 0 14px 34px rgba(108, 56, 67, .10);
}

.hero-layered-photo-trigger {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 24%;
  left: 49%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.hero-layered-photo-trigger:focus-visible { outline: 3px solid #b94d59; outline-offset: -8px; }

.hero-layered-detail {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 72%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 24%), linear-gradient(180deg, #000 72%, transparent 97%);
  mask-composite: intersect;
}
.hero-layered-detail[hidden] { display: none; }

@media (max-width: 767px) {
  .hero-layered .hero-grid { width: 100%; height: auto; padding: 30px 24px 24px; }
  .hero-layered .hero-copy { position: relative; top: auto; left: auto; width: 100%; }
  .hero-layered h1 { font-size: clamp(30px, 9.2vw, 52px); line-height: 1.3; letter-spacing: -.025em; }
  .hero-layered .hero-facts { max-width: 460px; margin-top: 22px; gap: 8px; }
  .hero-layered .hero-facts li { grid-template-columns: 44px minmax(0, 1fr); min-height: 54px; gap: 13px; font-size: clamp(15px, 4.1vw, 19px); }
  .hero-layered .hero-fact-icon { width: 44px; height: 44px; }
  .hero-layered .hero-pet-illustration { position: relative; left: auto; bottom: auto; width: 190px; height: auto; margin: 10px 0 270px; opacity: .85; }
  .hero-layered-backdrop {
    top: auto;
    bottom: 115px;
    height: 300px;
    background-size: auto 100%;
    background-position: 65% center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 86%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 25%, #000 86%, transparent);
  }
  .hero-layered .hero-floor-cards { position: relative; right: auto; bottom: auto; width: 100%; gap: 8px; }
  .hero-layered .hero-floor-card { padding: 4px 4px 0; }
  .hero-layered .hero-floor-card img { aspect-ratio: 1.45 / 1; }
  .hero-layered .hero-floor-card > span { min-height: 49px; padding: 6px 0; font-size: clamp(10px, 2.9vw, 15px); white-space: normal; }
  .hero-layered .hero-floor-card b { position: absolute; top: 8px; left: 8px; width: 24px; height: 24px; background: #fff3f5; font-size: 10px; }
  .hero-layered-photo-trigger { top: auto; left: 32%; right: 0; bottom: 140px; height: 260px; }
  .hero-layered-detail { top: auto; bottom: 115px; width: 100%; height: 300px; object-position: center; -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 24%, #000 82%, transparent); }
}

@media (max-width: 360px) {
  .hero-layered .hero-grid { padding-inline: 20px; }
  .hero-layered .hero-facts li { gap: 10px; font-size: 14px; }
  .hero-layered .hero-floor-card > span { min-height: 50px; font-size: 11px; }
}
