/* ==========================================================================
   Homepage below the hero — Patrick Ta section structure in the Moon Bounce
   Man palette and type. Product cards stay true 1:1 squares.
   Order: featured rail (tabs) → full-bleed band → promo pair → brand band →
   scene with hotspots → service-area band → closing band + footer.
   ========================================================================== */

/* ---- Shared text helpers ---------------------------------------------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.eyebrow--light { color: var(--ivory-80); }
.h2 {
  font-family: var(--font-display);
  font-variation-settings: var(--display-axes);
  font-size: clamp(1.85rem, 3.1vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

/* ---- Featured rentals (Patrick Ta featured-collections) ---------------- */
.featured {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 0.8);
}
.featured__head {
  padding: 0 var(--page-gutter);
  text-align: center;
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 clamp(16px, 2.4vw, 34px);
  margin-top: 0.75rem;
}
.tab {
  min-height: 44px;
  padding: 0.75rem 2px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-45);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) var(--ease-ambient), border-color var(--dur-fast) var(--ease-ambient);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); border-color: var(--gold); }

.featured__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--page-gutter) 0;
}
.featured__tools {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
  flex-shrink: 0;
}
.rail-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-btn);
  color: var(--ink);
  transition: background-color var(--dur-fast) var(--ease-ambient), border-color var(--dur-fast) var(--ease-ambient);
}
.rail-btn:hover { background: var(--gold); border-color: var(--gold); }
.rail-btn[disabled] { opacity: 0.3; pointer-events: none; }

.rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--page-gutter);
  padding: clamp(1rem, 2vw, 1.5rem) var(--page-gutter) 0.5rem;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 calc((100% - 36px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.card__link { display: block; }
.card__media {
  position: relative;
  aspect-ratio: 1 / 1;                 /* every product card is a true square */
  overflow: hidden;
  background: var(--deep-ivory);
}
.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.card__img--alt {
  opacity: 0;
  transition: opacity 500ms var(--ease-ambient);   /* Patrick Ta: 0.5s image swap on hover */
}
@media (hover: hover) {
  .card__link:hover .card__img--alt,
  .card__link:focus-visible .card__img--alt { opacity: 1; }
}
.card__name {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  background-position: 0 100%;
  display: inline;
  transition: background-size var(--dur-fast) var(--ease-ambient);
}
.card__link:hover .card__name,
.card__link:focus-visible .card__name { background-size: 100% 1.5px; }
.card__price {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-70);
}
.card__cta {
  margin-top: 0.75rem;
  align-self: flex-start;
}
.btn--sm {
  min-height: 36px;
  padding: 0.5rem 0.875rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn--ivory {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--ink);
}

/* ---- Full-bleed bands (Patrick Ta image-with-text-overlay) ------------- */
.band {
  position: relative;
  min-height: clamp(460px, 68vh, 720px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
}
.band--tall { min-height: clamp(520px, 78vh, 820px); }
.band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22, 22, 31, 0.24);   /* flat legibility scrim, no gradient */
}
.band__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--section-pad) var(--page-gutter);
  text-shadow: 0 1px 2px rgba(22, 22, 31, 0.5);
}
.band__copy p { font-size: clamp(0.9375rem, 1.1vw, 1.0625rem); font-weight: 500; }
.band__copy .btn { text-shadow: none; margin-top: 0.25rem; }
.band--center .band__copy {
  justify-self: center;
  align-items: center;
  text-align: center;
}
.band--left .band__copy {
  justify-self: start;
  align-items: flex-start;
  text-align: left;
  width: min(100%, 620px);
}
.band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.band__actions .btn { margin-top: 0; }

/* ---- Promo pair (Patrick Ta essentials) -------------------------------- */
.promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: var(--section-pad) var(--page-gutter);
}
.promo { min-width: 0; }
.promo__media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;                 /* category tiles are square */
  overflow: hidden;
  background: var(--deep-ivory);
}
.promo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transition: transform 700ms var(--ease-ambient);
}
@media (hover: hover) {
  .promo__media:hover .promo__img { transform: scale(1.03); }
}
.promo__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0.75rem 0;
  text-align: center;
}
.promo__body p { font-size: 0.9375rem; color: var(--ink-70); }

/* ---- Scene with product hotspots (Patrick Ta) -------------------------- */
.scene {
  padding: var(--section-pad) var(--page-gutter);
}
.scene__head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
}
.scene__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep-ivory);
}
.scene__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.hotspot__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  border: 0;
  box-shadow: 0 0 0 3px rgba(255,255,255,.5), 0 0 22px 8px rgba(255,218,80,.55);
  transition: transform var(--dur-fast) var(--ease-ambient), box-shadow var(--dur-fast) var(--ease-ambient);
}
.hotspot__dot::before,
.hotspot__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease-ambient);
}
.hotspot__dot::before { width: 12px; height: 2px; }
.hotspot__dot::after  { width: 2px; height: 12px; }
.hotspot__dot:hover,
.hotspot__dot:focus-visible { transform:translate(-50%,-50%) scale(1.12); box-shadow:0 0 0 4px rgba(255,255,255,.75),0 0 34px 14px rgba(255,218,80,.82); }

.hotspot__card {
  position: absolute;
  left: 0;
  top: 28px;
  transform: translateX(-50%);
  width: 220px;
  padding: 0.875rem 1rem 0.75rem;
  background:#173b68;
  color:#fff9ed;
  border:0;
  border-radius:4px;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  z-index:2;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity 160ms ease,transform 160ms ease;
}
.hotspot__dot:hover .hotspot__card,
.hotspot__dot:focus-visible .hotspot__card { opacity:1; visibility:visible; transform:translateX(-50%) translateY(4px); }
.hotspot__name { font-size: 0.875rem; font-weight: 600; }
.hotspot__price { font-size: 0.8125rem; color:#ffd95c; }
/* keep popovers inside the stage on the edges */
.hotspot--edge-left .hotspot__card  { transform: translateX(-24px); }
.hotspot--edge-right .hotspot__card { transform: translateX(calc(-100% + 24px)); }

.scene__cta {
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
  text-align: center;
}

/* ---- Booking on-ramp: darkened full-bleed image band -------------------- */
.band--dark::after { background: rgba(22, 22, 31, 0.5); }
.onramp .band__copy { gap: 1.5rem; }
.onramp__title {
  font-family: var(--font-display);
  font-variation-settings: var(--display-axes);
  font-size: clamp(2rem, 4.6vw, 3.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ivory);
}
.onramp__title .line { display: block; }   /* break at the sentence, not mid-clause */
.onramp__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.onramp .link { color: var(--ivory); text-shadow: none; }

/* ---- Footer wrapper: Rich Ink, dog peeking over the top edge ------------ */
.closing {
  position: relative;
  color: var(--ivory);
}
.closing__dog {
  position: absolute;
  z-index: 0;
  right: clamp(24px, 7vw, 120px);
  top: 0;
  width: 140px;                     /* one corner, head and paws only */
  transform: translateY(-52%);
  pointer-events: none;
}
.closing__dog img { width: 100%; height: auto; }
.closing__inner {
  position: relative;
  z-index: 1;
  background: var(--ink);
}

/* ---- Footer ------------------------------------------------------------ */
.footer {
  border-top: 1px solid rgba(251, 244, 223, 0.14);
  padding: clamp(3rem, 6vh, 4.5rem) var(--page-gutter) clamp(2rem, 4vh, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}
.footer__identity { position:relative; display:flex; align-items:flex-end; min-width:240px; }
.footer__group h2 { margin-bottom:.65rem; font:750 .82rem/1.2 var(--font-body); text-transform:uppercase; color:#ffd95c; }
.footer__group p { max-width:28ch; color:rgba(251,244,223,.72); font-size:.85rem; line-height:1.5; }
.footer__book { display:inline-flex; gap:18px; align-items:center; margin-top:1rem; color:#fff9ed; font-weight:800; text-transform:uppercase; }
.footer__brand img {
  width: clamp(120px, 12vw, 168px);
  height: auto;
  margin: 0 auto;
}
.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.75rem;
}
.footer__nav a,
.footer__meta a { font-size: var(--text-tile); font-weight: 600; }
.footer__nav a { color: var(--ivory); }
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: var(--text-ui);
  color: rgba(251, 244, 223, 0.72);
}
.footer__meta a { color: var(--ivory); font-weight: 500; }
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
  font-size: var(--text-ui);
  color: rgba(251, 244, 223, 0.6);
}
.footer__legal a { color: rgba(251, 244, 223, 0.85); }
.footer .link { color: var(--ivory); }

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1023px) {
  .card { flex-basis: calc((100% - 24px) / 2.5); }
}
@media (max-width: 767px) {
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--page-gutter) * -1); padding-inline: var(--page-gutter); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .featured__row { flex-wrap: wrap; align-items: center; }
  .card { flex-basis: 72%; }
  .promos { grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 3rem); }
  .band { min-height: clamp(420px, 78vh, 640px); }
  .band--mobile-rainbow,
  .band--mobile-nemo {
    display: block;
    min-height: 0;
    aspect-ratio: var(--mobile-band-ratio);
    overflow: hidden;
  }
  .band--mobile-rainbow {
    --mobile-band-ratio: 852 / 1846;
    background: var(--ivory);
  }
  .band--mobile-nemo {
    --mobile-band-ratio: 1280 / 2766;
    background: #07345c;
  }
  .band--mobile-rainbow picture,
  .band--mobile-nemo picture {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .band--mobile-rainbow .band__img,
  .band--mobile-nemo .band__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
  .band--mobile-rainbow::after,
  .band--mobile-nemo::after { display: none; }
  .band--mobile-rainbow .band__copy,
  .band--mobile-nemo .band__copy {
    position: absolute;
    left: var(--page-gutter);
    right: var(--page-gutter);
    bottom: 1rem;
    z-index: 1;
    align-items: flex-start;
    width: auto;
    margin: 0;
    gap: 0.5rem;
    padding: 1rem;
    text-align: left;
    text-shadow: none;
    border-radius: 4px;
    backdrop-filter: blur(12px) saturate(0.86);
    -webkit-backdrop-filter: blur(12px) saturate(0.86);
  }
  .band--mobile-rainbow .band__copy {
    background: rgba(251, 244, 223, 0.84);
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, 0.72);
  }
  .band--mobile-nemo .band__copy {
    background: rgba(7, 52, 92, 0.84);
    color: var(--ivory);
    border: 1px solid rgba(98, 216, 243, 0.68);
  }
  .band--mobile-rainbow .band__copy .h2,
  .band--mobile-nemo .band__copy .h2 {
    max-width: 15ch;
    font-size: clamp(1.75rem, 8.2vw, 2.25rem);
    line-height: 1;
  }
  .band--mobile-rainbow .band__copy p,
  .band--mobile-nemo .band__copy p {
    max-width: 36ch;
    font-size: 0.8125rem;
    line-height: 1.4;
  }
  .band--mobile-nemo .eyebrow { color: rgba(251, 244, 223, 0.78); }
  .band--mobile-rainbow .btn,
  .band--mobile-nemo .btn {
    min-height: 40px;
    margin-top: 0.125rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.75rem;
    background: var(--ink);
    border-color: var(--ink);
    color: var(--ivory);
  }
  .band--mobile-nemo .btn {
    background: var(--ivory);
    border-color: var(--ivory);
    color: var(--ink);
  }
  .band--left .band__copy { width: 100%; }
  .hotspot__dot { width: 28px; height: 28px; }
  .hotspot__dot::before { width: 10px; }
  .hotspot__dot::after  { height: 10px; }
  .hotspot__card {
    position: fixed;
    left: 50% !important;
    top: auto;
    bottom: calc(var(--chrome-inset) + 8px);
    transform: translateX(-50%) !important;
    width: min(92vw, 360px);
    z-index: 950;
  }
  .closing__dog { width: 110px; right: 16px; }
  .footer__nav ul { flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .card__img--alt, .card__name, .promo__img, .tab, .hotspot__dot { transition: none; }
  .promo__media:hover .promo__img { transform: none; }
}

/* ==========================================================================
   Added sections: Google reviews, About / Why us, Areas we serve
   ========================================================================== */

/* ---- Google reviews (placeholder until the GBP feed is connected) -------- */
.reviews {
  padding: clamp(40px, 5.5vw, 72px) var(--page-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.reviews__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: var(--ink-70);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}
.review__meta {
  font-size: 0.875rem;
  font-weight: 600;
}
.review__via {
  font-weight: 500;
  color: var(--ink-70);
  margin-left: 0.35rem;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.reviews__embed { width:min(1180px,100%); }
.reviews.has-live-reviews .mobile-reviews-empty { display:none !important; }
.review {
  aspect-ratio: 1 / 1;                       /* review cards are true squares */
  min-width: 0;
  overflow: hidden;
  background: var(--deep-ivory);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.875rem;
}
.review__text {
  font-size: clamp(0.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
[data-placeholder="true"] { color: var(--ink-70); }

/* ---- Areas we serve: map placeholder + list ------------------------------ */
.areas {
  padding: var(--section-pad) var(--page-gutter);
}
.areas__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.areas__body {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--deep-ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.map iframe { width:100%; height:100%; border:0; }
.map__mark { width: clamp(64px, 8vw, 104px); height: auto; }
.map__label { font-size: 0.875rem; font-weight: 600; }
.areas__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.areas__list ul {
  border-top: 1px solid var(--lilac);
}
.areas__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--lilac);
}
.areas__name {
  font-family: var(--font-display);
  font-variation-settings: var(--display-axes);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0;
}
.areas__note { font-size: 0.8125rem; font-weight: 600; color: var(--ink-70); white-space: nowrap; }
.areas__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 1023px) {
  .areas__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review { padding: 1rem; gap: 0.5rem; }
  .review__text { font-size: 0.8125rem; -webkit-line-clamp: 5; }
}

/* ---- Official mascot integration --------------------------------------- */
.reviews { position: relative; padding-bottom: clamp(110px, 11vw, 160px); }
.mascot-trust-edge {
  position: absolute;
  z-index: 2;
  right: clamp(14px, 4vw, 70px);
  bottom: 0;
  width: clamp(190px, 20vw, 310px);
  transform: translateY(46%);
  pointer-events: none;
}
.mascot-trust-edge img { display: block; width: 100%; height: auto; }

/* The footer edge hides the mascot's lower crop, leaving the face and paws peeking over it. */
.closing__dog {
  right: clamp(18px, 5vw, 88px);
  width: clamp(190px, 18vw, 280px);
  transform: translateY(-72%);
}
.closing__dog picture { display: none; }
.closing__dog::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  background: url("../bundled/mascot/bulldog-sleeping-superhero.webp") center bottom / contain no-repeat;
}

@media (max-width: 767px) {
  .reviews { padding-bottom: 112px; }
  .mascot-trust-edge {
    right: -8px;
    width: 132px;
    transform: translateY(38%) rotate(2deg);
  }
  .closing__dog {
    right: 10px;
    width: 128px;
    transform: translateY(-66%);
  }
}

/* v1.10.31: the "Make a Splash" and "Disney Magic" buttons are the shared
   pill (cohesion.css), coloured to their bands: the water band in its blue
   family, the Disney band in the pearl and ocean blue of its world. */
html body .home-pill--water.btn { --btn-top:#D6F1FF; --btn-bottom:#9ED6F5; --btn-edge:#2C74B0; --btn-ink:#0B2A4F; }
html body .home-pill--disney.btn { --btn-top:#FFF8E6; --btn-bottom:#F1E1BA; --btn-edge:#1E4F9C; --btn-ink:#0E2350; }
/* The map card buttons keep the shared pill size on narrow screens too. */
@media (max-width: 899px) {
  .mbm-home-areas .mbm-pill { min-height: 58px; padding: 15px 26px; font-size: 20px; }
}
