/* =========================================================
   HOME PAGE SECTIONS
   Everything between the banner and the footer, apart from
   Reels and Our Business Partners, which have their own files.
   Same language as those two (eyebrow + serif title, hairlines,
   HM pink) but with no black: text is a deep plum and the
   backgrounds are white, blush and pink.
   Behaviour lives in js/home-sections.js.
   ========================================================= */

.home-proof,
.home-about,
.home-services,
.home-why,
.home-stats,
.home-contact,
.home-faq {
  --hs-ink: #3d1030;
  --hs-ink-70: rgba(61, 16, 48, .72);
  --hs-ink-12: rgba(61, 16, 48, .12);
  --hs-pink: #c73689;
  --hs-pink-deep: #a32570;
  --hs-pink-soft: #f28cc3;
  --hs-pink-wash: rgba(199, 54, 137, .18);
  --hs-blush: #fbf6f9;
  --hs-ease: cubic-bezier(.2, .7, .2, 1);
  --hs-radius: clamp(18px, 2vw, 28px);
  --hs-space: clamp(56px, 6vw, 96px);
}

/* ---------- shared pieces ---------- */
.home-services .home-eyebrow,
.home-faq .hm-faq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--hm-body-font) !important;
  font-size: clamp(11px, 1vw, 12.5px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--hs-pink);
}

.home-services .home-eyebrow::before,
.home-faq .hm-faq-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: .8;
  flex: 0 0 auto;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: var(--hm-body-font);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  color: #fff;
  background: var(--hs-pink);
  box-shadow: 0 18px 34px -18px rgba(199, 54, 137, .85);
  transition: background .4s, transform .5s var(--hs-ease), box-shadow .5s var(--hs-ease);
}

.home-btn svg { transition: transform .45s var(--hs-ease); }

/* style.css forces a dark pink on every a:hover, which disappears on this button */
.home-btn:hover,
.home-btn:focus {
  color: #fff !important;
  background: var(--hs-pink-deep);
  transform: translateY(-2px);
}

.home-btn:hover svg { transform: translateX(5px); }

.home-btn:focus-visible {
  outline: 2px solid var(--hs-pink-soft);
  outline-offset: 3px;
}

/* a YouTube video with our own poster and play button */
.home-video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--hs-radius);
  background: var(--hs-ink);
  box-shadow: 0 40px 70px -44px rgba(61, 16, 48, .65);
}

.home-video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.home-video .home-video__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.home-video__poster img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 1.2s var(--hs-ease);
}

.home-video__poster:hover img { transform: scale(1.04); }

.home-video__poster:focus { outline: none; }

.home-video__poster:focus-visible {
  outline: 3px solid var(--hs-pink-soft);
  outline-offset: -3px;
}

/* white and in the corner: one poster is pink, the other has its headline in the centre */
.home-video__play {
  position: absolute;
  left: clamp(14px, 1.8vw, 24px);
  bottom: clamp(14px, 1.8vw, 24px);
  display: grid;
  place-items: center;
  width: clamp(56px, 5.4vw, 72px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  color: var(--hs-pink);
  background: #fff;
  animation: home-pulse 2.6s ease-out infinite;
  transition: color .3s, background .3s;
}

.home-video__poster:hover .home-video__play {
  color: #fff;
  background: var(--hs-pink);
}

.home-video__play svg { margin-left: 3px; }

@keyframes home-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); }
  100% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); }
}

/* ---------- proof bar (sits under the banner like a hotel booking bar) ---------- */
.home-proof {
  background: linear-gradient(110deg, var(--hs-pink-deep) 0%, var(--hs-pink) 50%, var(--hs-pink-deep) 100%);
  color: #fff;
}

.home-proof__bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
}

.home-proof__item {
  display: flex;
  align-items: center;
  gap: 6px 14px;
  padding: clamp(22px, 2.4vw, 32px) clamp(12px, 1.4vw, 20px);
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.home-proof__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-proof__num {
  display: inline-block;
  font-family: var(--hm-heading-font);
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: 1;
}

.home-proof__label {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  gap: 2px;
  font-size: 12.5px;
  line-height: 1.35;
}

/* the site styles every <b> pink, which vanishes on this bar */
.home-proof__label b {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.home-proof__bar .home-proof__cta {
  align-self: center;
  margin-left: clamp(14px, 1.8vw, 26px);
  color: var(--hs-pink-deep);
  background: #fff;
  box-shadow: none;
}

.home-proof__bar .home-proof__cta:hover,
.home-proof__bar .home-proof__cta:focus {
  color: var(--hs-pink-deep) !important;
  background: var(--hs-blush);
}

/* ---------- about ---------- */
.home-about {
  padding: var(--hs-space) 0;
  background: #fff;
}

.home-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 10fr) minmax(0, 11fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}

.home-about__media {
  position: sticky;
  top: 120px;
}

.home-about .home-about__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .01em;
  color: var(--hs-ink);
}

.home-about__title em { white-space: nowrap; }

.home-about .home-about__copy p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--hs-ink-70);
}

.home-about .home-about__copy p.home-about__lede {
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--hs-ink);
}

.home-about__copy b {
  font-weight: 700;
  color: var(--hs-ink);
  background: linear-gradient(transparent 64%, var(--hs-pink-wash) 0);
}

.home-about .home-about__copy p.home-about__pull {
  margin: 34px 0 24px;
  padding: 2px 0 2px 26px;
  border-left: 2px solid var(--hs-pink);
  font-family: var(--hm-heading-font);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--hs-ink);
}

.home-about__pull b {
  font-style: italic;
  font-weight: 600;
  color: var(--hs-pink);
  background: none;
}

.home-about .home-about__copy p.home-about__next {
  margin: 0;
  font-weight: 600;
  color: var(--hs-ink);
}

.home-about__next a {
  color: var(--hs-pink);
  border-bottom: 1px solid currentColor;
}

/* ---------- services ---------- */
.home-services {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--hs-space) 0;
  background: var(--hs-blush);
}

/* two soft pink lights behind the deck */
.home-services::before,
.home-services::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(640px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 54, 137, .17), transparent 68%);
  pointer-events: none;
}

.home-services::before { left: -14%; top: -10%; }
.home-services::after { right: -12%; bottom: -18%; }

.home-services__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 60px;
  margin-bottom: clamp(30px, 4vw, 54px);
}

.home-services__intro { flex: 1 1 520px; max-width: 860px; }

.home-services .home-services__title {
  margin: 16px 0 0;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.1;
  color: var(--hs-ink);
}

/* ---------- services: every service in one deck ----------
   Family tabs and the list of services sit beside a pile of cards. The top card
   lies face up; the next two wait face down behind it. Moving on throws the top
   card off to the left and the next one turns over. It plays by itself while on
   screen, and can be swiped, dragged, stepped with the arrows or the keyboard,
   or jumped to from the tabs and the list (js/home-sections.js). Without the
   script the cards sit in a row that scrolls sideways. */
.hsv {
  --hsv-ease: cubic-bezier(.22, .8, .24, 1);
  --hsv-flip: cubic-bezier(.3, .9, .3, 1);
  --hsv-wait: 5.2s;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "tabs stage"
    "lists stage";
  column-gap: clamp(40px, 6vw, 100px);
  row-gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

/* family tabs: a sliding pink pill marks the open one */
.hsv__tabs {
  grid-area: tabs;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(199, 54, 137, .12), 0 24px 40px -32px rgba(134, 29, 88, .55);
}

.hsv__pill {
  position: absolute;
  z-index: 0;
  left: 6px;
  top: 6px;
  width: 0;
  height: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, #cf3d90, #a32570);
  box-shadow: 0 14px 26px -14px rgba(163, 37, 112, .9);
  opacity: 0;
  transition: left .6s var(--hsv-ease), top .6s var(--hsv-ease), width .6s var(--hsv-ease), height .6s var(--hsv-ease), opacity .3s;
  pointer-events: none;
}

.hsv.is-live .hsv__pill { opacity: 1; }

.home-services .hsv__tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  padding: 12px 14px 13px;
  border: 0;
  border-radius: 17px;
  font-family: var(--hm-body-font);
  text-align: left;
  color: var(--hs-ink);
  background: none;
  cursor: pointer;
  transition: color .45s;
}

.hsv__tab-n {
  font-family: var(--hm-heading-font);
  font-size: clamp(24px, 2.2vw, 30px);
  font-style: italic;
  font-variant-numeric: lining-nums;
  font-weight: 500;
  line-height: 1;
  color: var(--hs-pink);
  transition: color .45s;
}

.hsv__tab-name {
  font-size: clamp(12px, 1vw, 13.5px);
  font-weight: 700;
  line-height: 1.3;
}

.home-services .hsv__tab.is-active,
.home-services .hsv__tab.is-active .hsv__tab-n { color: #fff; }

/* before the script runs, the first tab is filled without the pill */
.hsv:not(.is-live) .hsv__tab.is-active { background: var(--hs-pink); }

.home-services .hsv__tab:focus { outline: none; }

.home-services .hsv__tab:focus-visible {
  outline: 2px solid var(--hs-pink-soft);
  outline-offset: 2px;
}

@media (hover: hover) {
  .home-services .hsv__tab:not(.is-active):hover { color: var(--hs-pink); }
}

/* the services of the open family */
.hsv__lists { grid-area: lists; }

.home-services .hsv__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.hsv.is-live .hsv__list:not(.is-active) { display: none; }

.home-services .hsv__list li {
  margin: 0;
  padding: 0;
}

.home-services .hsv__item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 12px;
  padding: clamp(12px, 1.2vw, 16px) 4px;
  border-bottom: 1px solid var(--hs-ink-12);
  color: var(--hs-ink);
  transition: color .4s, opacity .7s ease, transform .9s var(--hsv-ease);
}

.hsv__item-n {
  font-family: var(--hm-heading-font);
  font-size: 17px;
  font-style: italic;
  font-variant-numeric: lining-nums;
  color: rgba(199, 54, 137, .75);
}

.hsv__item-name {
  font-family: var(--hm-heading-font);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 500;
  line-height: 1.15;
  transition: transform .5s var(--hsv-ease);
}

.hsv__item-go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(199, 54, 137, .3);
  color: var(--hs-pink);
  transition: background .4s, border-color .4s, color .4s, transform .5s var(--hsv-ease);
}

/* the line under the current service fills while the slideshow waits to move on */
.hsv__item-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--hs-pink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.home-services .hsv__item.is-active { color: var(--hs-pink); }
.hsv__item.is-active .hsv__item-name { transform: translateX(8px); }

.hsv__item.is-active .hsv__item-go {
  color: #fff;
  background: var(--hs-pink);
  border-color: var(--hs-pink);
  transform: rotate(-45deg);
}

.hsv__item.is-active .hsv__item-bar { transform: scaleX(1); }
.hsv.is-ticking .hsv__item.is-active .hsv__item-bar { animation: hsv-fill var(--hsv-wait) linear both; }

.home-services .hsv__item:hover,
.home-services .hsv__item:focus { color: var(--hs-pink) !important; }

.home-services .hsv__item:focus { outline: none; }

.home-services .hsv__item:focus-visible {
  outline: 2px solid var(--hs-pink-soft);
  outline-offset: 2px;
  border-radius: 6px;
}

.hsv__list.is-entering li { animation: hsv-rise .7s var(--hsv-ease) both; animation-delay: calc(var(--k) * 55ms); }

@keyframes hsv-rise {
  from { opacity: 0; transform: translateY(14px); }
}

@keyframes hsv-fill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- the deck ---------- */
.hsv__stage {
  grid-area: stage;
  min-width: 0;
}

.home-services .hsv__deck {
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.hsv-card {
  --from: #cf3d90;
  --to: #a82872;
  position: relative;
  min-width: 0;
  perspective: 1600px;
}

.hsv-card--f1 { --from: #b52d7c; --to: #861d58; }
.hsv-card--f2 { --from: #c73689; --to: #971f66; }

.hsv-card__tilt,
.hsv-card__inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
}

.hsv-card__tilt {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s ease-out;
}

.hsv-card__inner {
  transform: rotateY(var(--flip, 0deg));
  transition: transform 1.05s var(--hsv-flip) .12s;
}

/* the face-down side */
.hsv-card__back {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(199, 54, 137, .22);
  border-radius: var(--hs-radius);
  background:
    radial-gradient(circle at 50% 46%, transparent 31%, rgba(199, 54, 137, .14) 31.3%, transparent 31.8%, transparent 37%, rgba(199, 54, 137, .1) 37.3%, transparent 37.8%),
    #fff;
  box-shadow: 0 30px 50px -36px rgba(134, 29, 88, .7);
  transform: rotateY(180deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hsv-card__back-n {
  font-family: var(--hm-heading-font);
  font-size: clamp(96px, 9vw, 140px);
  font-style: italic;
  font-variant-numeric: lining-nums;
  font-weight: 500;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 54, 137, .6);
}

.hsv-card__back-fam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-align: center;
  text-transform: uppercase;
  color: var(--hs-pink);
}

/* the face-up side, which is the real content */
.hsv-card__face {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(18px, 1.8vw, 24px);
  overflow: hidden;
  border-radius: var(--hs-radius);
  color: #fff;
  background: linear-gradient(155deg, var(--from), var(--to));
  box-shadow: 0 34px 60px -38px rgba(134, 29, 88, .85);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* soft light that follows the pointer across the card */
.hsv-card__face::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.hsv-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.hsv-card__n {
  font-family: var(--hm-heading-font);
  font-size: clamp(44px, 4vw, 56px);
  font-style: italic;
  font-variant-numeric: lining-nums;
  font-weight: 500;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .7);
}

.hsv-card__fam {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.hsv-card__go {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #fff;
  transition: background .4s, border-color .4s, color .4s;
}

.hsv-card__go svg { transition: transform .5s var(--hsv-ease); }

/* the photo takes whatever height the words leave, so every card is the same size */
.hsv-card__photo {
  position: relative;
  flex: 1 1 auto;
  min-height: clamp(150px, 15vw, 200px);
  overflow: hidden;
  border-radius: calc(var(--hs-radius) - 8px);
  background: rgba(255, 255, 255, .14);
}

.hsv-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.home-services .hsv-card__name {
  margin: 16px 0 6px;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 500;
  line-height: 1.06;
}

.hsv-card__name a { color: #fff; }

/* style.css forces a dark pink on every a:hover, which disappears on the pink cards */
.hsv-card__name a:hover,
.hsv-card__name a:focus { color: #fff !important; }

/* the whole card is the link */
.hsv-card__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.hsv-card__name a:focus { outline: none; }

.hsv-card__name a:focus-visible::after {
  outline: 2px solid #fff;
  outline-offset: -6px;
}

.home-services .hsv-card__line {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}

.home-services .hsv-card__label {
  margin: 14px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.home-services .hsv-card__issues {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-services .hsv-card__issues li {
  position: relative;
  margin: 0;
  padding: 0 0 0 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}

.home-services .hsv-card__issues li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  opacity: .75;
}

/* ---------- the pile, once the script is running ---------- */
.hsv.is-live .hsv__deck {
  position: relative;
  display: grid;
  max-width: 470px;
  padding: 14px 26px 30px;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.hsv.is-live .hsv-card {
  grid-area: 1 / 1;
  transform-origin: 50% 100%;
  transition: transform .95s var(--hsv-ease), opacity .6s ease;
}

.hsv-card[data-pos="top"] {
  z-index: 6;
  transform: translateX(var(--dx, 0px)) rotate(var(--dr, 0deg));
}

.hsv-card[data-pos="one"] {
  z-index: 5;
  transform: translate(16px, 10px) rotate(4deg) scale(.97);
}

.hsv-card[data-pos="two"] {
  z-index: 4;
  transform: translate(-14px, 18px) rotate(-3.5deg) scale(.94);
}

.hsv-card[data-pos="rest"] {
  z-index: 1;
  opacity: 0;
  transform: translate(0, 30px) rotate(-3.5deg) scale(.9);
}

/* the card just played, thrown off to the right, away from the list;
   a card dragged off to the left keeps going left */
.hsv-card[data-pos="gone"] {
  z-index: 7;
  opacity: 0;
  transform: translate(125%, 40px) rotate(18deg);
  pointer-events: none;
}

.hsv-card[data-pos="gone"].is-thrown-left { transform: translate(-125%, 40px) rotate(-18deg); }

.hsv.is-live .hsv-card[data-pos="gone"] { transition: transform .95s var(--hsv-ease), opacity .45s ease .25s; }

.hsv-card[data-pos="one"] .hsv-card__inner,
.hsv-card[data-pos="two"] .hsv-card__inner,
.hsv-card[data-pos="rest"] .hsv-card__inner { --flip: -180deg; }

.hsv.is-live .hsv-card.is-dragging { transition: none; }

.hsv.is-live .hsv-card[data-pos="top"] .hsv-card__face { cursor: grab; }
.hsv.is-live .hsv-card.is-dragging .hsv-card__face { cursor: grabbing; }

/* photos further back in the pile wait to load until they come near the top */
.hsv.is-live .hsv-card:not(.is-near) .hsv-card__photo img { display: none; }

/* the photo on the top card drifts slowly while it is read */
.hsv-card[data-pos="top"] .hsv-card__photo img { animation: hsv-drift 9s ease-out both; }

@keyframes hsv-drift {
  from { transform: scale(1.12); }
  to { transform: scale(1.01); }
}

@media (hover: hover) {
  .hsv-card[data-pos="top"]:hover .hsv-card__face::after { opacity: 1; }

  .hsv-card[data-pos="top"]:hover .hsv-card__go {
    color: var(--to);
    background: #fff;
    border-color: #fff;
  }

  .hsv-card[data-pos="top"]:hover .hsv-card__go svg { transform: rotate(-45deg); }
}

/* the deal: the pile starts below and out of sight, then lands card by card */
.hsv.is-waiting .hsv-card {
  opacity: 0;
  transform: translate(0, 140px) rotate(-9deg) scale(.92);
  transition: none;
}

.hsv.is-waiting .hsv-card .hsv-card__inner {
  --flip: -180deg;
  transition: none;
}

.hsv.is-dealing .hsv-card[data-pos="two"] { transition-delay: 0s; }
.hsv.is-dealing .hsv-card[data-pos="one"] { transition-delay: .16s; }
.hsv.is-dealing .hsv-card[data-pos="top"] { transition-delay: .32s; }
.hsv.is-dealing .hsv-card[data-pos="top"] .hsv-card__inner { transition-delay: .9s; }

.hsv.is-waiting .hsv__item,
.hsv.is-waiting .hsv__controls {
  opacity: 0;
  transform: translateY(16px);
}

.hsv__controls { transition: opacity .7s ease, transform .9s var(--hsv-ease); }

.hsv.is-dealing .hsv__list li:nth-child(2) .hsv__item { transition-delay: .06s; }
.hsv.is-dealing .hsv__list li:nth-child(3) .hsv__item { transition-delay: .12s; }
.hsv.is-dealing .hsv__list li:nth-child(4) .hsv__item { transition-delay: .18s; }
.hsv.is-dealing .hsv__list li:nth-child(5) .hsv__item { transition-delay: .24s; }
.hsv.is-dealing .hsv__list li:nth-child(6) .hsv__item { transition-delay: .3s; }
.hsv.is-dealing .hsv__list li:nth-child(7) .hsv__item { transition-delay: .36s; }
.hsv.is-dealing .hsv__controls { transition-delay: .9s; }

/* ---------- controls under the pile ---------- */
.hsv__controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 470px;
  margin: 6px auto 0;
}

.hsv.is-live .hsv__controls { display: flex; }

.home-services .hsv__btn {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(199, 54, 137, .3);
  border-radius: 50%;
  color: var(--hs-pink);
  background: #fff;
  cursor: pointer;
  transition: background .4s, color .4s, border-color .4s, transform .5s var(--hsv-ease);
}

.home-services .hsv__btn:hover {
  color: #fff;
  background: var(--hs-pink);
  border-color: var(--hs-pink);
}

.home-services .hsv__btn:active { transform: scale(.92); }
.home-services .hsv__btn:focus { outline: none; }

.home-services .hsv__btn:focus-visible {
  outline: 2px solid var(--hs-pink-soft);
  outline-offset: 3px;
}

.hsv__btn--play .hsv__play,
.hsv.is-paused .hsv__btn--play .hsv__pause { display: none; }

.hsv.is-paused .hsv__btn--play .hsv__play { display: block; }

.hsv__status {
  display: grid;
  flex: 1 1 auto;
  justify-items: center;
  gap: 4px;
  min-width: 0;
  max-width: 200px;
  text-align: center;
}

.hsv__count {
  font-family: var(--hm-heading-font);
  font-size: 18px;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--hs-ink-70);
}

.hsv__now {
  font-size: 30px;
  font-style: italic;
  color: var(--hs-pink);
}

.hsv__fam {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--hs-ink);
}

.hsv__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 4px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--hs-ink-12);
}

.hsv__bar i {
  display: block;
  height: 100%;
  background: var(--hs-pink);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.hsv.is-ticking .hsv__bar i { animation: hsv-fill var(--hsv-wait) linear both; }

/* ---------- without the script: a row of cards that scrolls sideways ---------- */
.hsv:not(.is-live) .hsv__deck {
  display: flex;
  gap: 16px;
  max-width: none;
  padding: 0 0 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.hsv:not(.is-live) .hsv-card {
  flex: 0 0 min(340px, 86%);
  scroll-snap-align: start;
}

/* ---------- smaller screens ---------- */
@media (max-width: 991px) {
  .hsv {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "tabs"
      "stage"
      "lists";
    row-gap: 24px;
  }

  .hsv__tabs {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }

  .hsv__lists {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .home-services .hsv__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 599px) {
  .hsv__tabs { border-radius: 18px; }

  .home-services .hsv__tab { padding: 10px 10px 11px; }

  .hsv__tab-name { font-size: 11.5px; }

  .hsv.is-live .hsv__deck { padding: 10px 14px 26px; }

  .hsv-card[data-pos="one"] { transform: translate(10px, 8px) rotate(3deg) scale(.97); }
  .hsv-card[data-pos="two"] { transform: translate(-8px, 14px) rotate(-2.5deg) scale(.94); }

  .home-services .hsv-card__name { font-size: 27px; }

  .hsv__controls { gap: 8px; }

  .home-services .hsv__btn {
    width: 46px;
    height: 46px;
  }
}

/* ---------- why choose us: room keys on a front-desk rack ----------
   Each reason is a key fob on a brass peg. They swing in one after another, keep a small
   sway going, and swing again when the pointer brushes past or a finger taps them
   (js/home-sections.js). With reduced motion or without the script they just hang still. */
.home-why {
  --hs-brass: #c8b18c;
  padding: var(--hs-space) 0;
  background: linear-gradient(#fff 52%, var(--hs-blush));
}

.home-why__top {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.home-why .home-why__title {
  margin: 0;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  color: var(--hs-ink);
}

.home-why__rack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: why;
  margin: clamp(52px, 6vw, 84px) 0 0;
  padding: 0;
  list-style: none;
}

.home-why__item {
  --d: calc(var(--i) * 120ms);
  position: relative;
  counter-increment: why;
  min-width: 0;
  padding: 12px clamp(6px, .9vw, 12px) 0;
}

.home-why__item:nth-child(1) { --i: 0; }
.home-why__item:nth-child(2) { --i: 1; }
.home-why__item:nth-child(3) { --i: 2; }
.home-why__item:nth-child(4) { --i: 3; }
.home-why__item:nth-child(5) { --i: 4; }

/* the rail: one length per key, so it follows however the keys wrap */
.home-why__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  height: 4px;
  background: linear-gradient(var(--hs-brass), #ae9468);
  transform-origin: left center;
  transition: transform .45s linear calc(var(--i) * 70ms);
}

.home-why__item:first-child::before { border-radius: 4px 0 0 4px; }
.home-why__item:last-child::before { border-radius: 0 4px 4px 0; }

/* the peg */
.home-why__item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -6px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #efe3cd, #ae9468);
  box-shadow: 0 2px 4px rgba(61, 16, 48, .3);
}

/* the fob: an arch, like a boutique-hotel doorway */
.home-why__tag {
  --face: linear-gradient(165deg, #cf3d90, #a82872);
  --text: #fff;
  --num: rgba(255, 255, 255, .85);
  position: relative;
  display: flex;
  height: 100%;
  min-height: clamp(270px, 21.5vw, 306px);
  padding: clamp(42px, 4vw, 56px) clamp(12px, 1.4vw, 20px) 24px;
  border-radius: 50% 50% 24px 24px / 120px 120px 24px 24px;
  color: var(--text);
  background: var(--face);
  box-shadow: 0 26px 40px -26px rgba(134, 29, 88, .7);
  transform-origin: 50% -12px;
  transition: opacity .5s var(--d);
}

.home-why__item:nth-child(even) .home-why__tag {
  --face: linear-gradient(165deg, #fff, #fbe9f3);
  --text: var(--hs-ink);
  --num: var(--hs-pink);
  box-shadow: 0 26px 40px -26px rgba(134, 29, 88, .5), inset 0 0 0 1px rgba(199, 54, 137, .22);
}

/* the brass ring, through the hole at the top of the fob */
.home-why__tag::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: -20px;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  border: 3px solid var(--hs-brass);
  border-radius: 50%;
}

.home-why__tag::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 2px 3px rgba(61, 16, 48, .3);
}

.home-why .home-why__reason {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 500;
  line-height: 1.18;
  text-align: center;
  color: var(--text);
}

/* the room number */
.home-why__reason::before {
  content: counter(why, decimal-leading-zero);
  font-size: clamp(34px, 3.2vw, 46px);
  font-style: italic;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--num);
}

.home-why__reason img {
  display: block;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  padding: 11px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 16px -10px rgba(134, 29, 88, .7);
}

/* waiting to scroll into view: no fobs, and the rail not drawn yet */
.is-waiting .home-why__tag { opacity: 0; }
.is-waiting .home-why__item::before { transform: scaleX(0); }

.is-waiting .home-why__tag,
.is-waiting .home-why__item::before { transition: none; }

/* the small sway that keeps going; the bigger swings are played over it by the script */
.home-why__rack.is-live .home-why__tag {
  animation: home-why-sway 3.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -.7s);
}

@keyframes home-why-sway {
  0% { transform: rotate(-1.2deg); }
  100% { transform: rotate(1.2deg); }
}

@media (max-width: 1099px) {
  .home-why__rack {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 46px;
  }

  .home-why__item { flex: 0 0 33.33%; }
}

@media (max-width: 639px) {
  .home-why__item {
    flex-basis: 50%;
    padding-left: 5px;
    padding-right: 5px;
  }

  .home-why__tag { min-height: 268px; }
}

/* ---------- stats band ---------- */
.home-stats {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(34px, 4.4vw, 64px) 0;
  background: linear-gradient(110deg, var(--hs-pink-deep) 0%, var(--hs-pink) 50%, var(--hs-pink-deep) 100%);
  color: #fff;
}

.home-stats__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-stats__row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-stats__item {
  padding: 4px clamp(14px, 2.4vw, 36px);
  border-left: 1px solid rgba(255, 255, 255, .3);
}

.home-stats__item:first-child {
  padding-left: 0;
  border-left: 0;
}

.home-stats__num {
  display: inline-block;
  font-family: var(--hm-heading-font);
  font-size: clamp(60px, 8.4vw, 120px);
  font-weight: 500;
  font-variant-numeric: lining-nums;
  line-height: .95;
}

.home-stats__label {
  display: block;
  margin-top: 10px;
  font-family: var(--hm-body-font);
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* ---------- contact ---------- */
.home-contact {
  padding: var(--hs-space) 0;
  background: var(--hs-blush);
  scroll-margin-top: 80px;
}

.home-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 10fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}

.home-contact .home-contact__title {
  margin: 0 0 clamp(20px, 2.4vw, 32px);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--hs-ink);
}

.home-contact__title a {
  font-style: italic;
  color: var(--hs-pink);
  border-bottom: 2px solid var(--hs-pink-wash);
  transition: border-color .4s;
}

.home-contact__title a:hover { border-color: currentColor; }

.home-contact .home-contact__sub {
  margin: 0 0 18px;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--hs-ink);
}

.home-contact .home-contact__copy p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--hs-ink-70);
}

.home-contact__copy b {
  font-weight: 700;
  color: var(--hs-ink);
  background: linear-gradient(transparent 64%, var(--hs-pink-wash) 0);
}

.home-contact__form {
  padding: clamp(14px, 2vw, 28px);
  border-radius: var(--hs-radius);
  background: #fff;
  box-shadow: 0 40px 80px -50px rgba(90, 7, 76, .5);
}

/* the page's own rule centres the form with a margin; here the card does that job */
.home-contact .weo-form-wrapper {
  max-width: none;
  margin: 0;
}

.home-contact .weo-form-wrapper iframe { min-height: 530px; }

/* ---------- FAQ (page-faq.css styles this for every page; these are home-only changes) ---------- */
.home-faq.hm-faq {
  padding: var(--hs-space) 0;
}

.home-faq > .container {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.home-faq .hm-faq-head {
  position: sticky;
  top: 120px;
  max-width: none;
  margin: 0;
  text-align: left;
}

.home-faq .hm-faq-head h2 {
  margin: 14px 0 0;
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--hs-ink);
}

.home-faq .hm-faq-bar { display: none; }

.home-faq .hm-faq-list {
  max-width: none;
  margin: 0;
  border-bottom: 1px solid var(--hs-ink-12);
}

.home-faq .hm-faq-list details {
  margin: 0;
  border-top: 1px solid var(--hs-ink-12);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.home-faq .hm-faq-list summary {
  padding: 24px 56px 24px 0;
}

.home-faq .hm-faq-list summary h3 {
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 500;
  color: var(--hs-ink);
  transition: color .3s;
}

.home-faq .hm-faq-list summary:hover h3 { color: var(--hs-pink); }

.home-faq .hm-faq-list summary:focus { outline: none; }

.home-faq .hm-faq-list summary:focus-visible {
  outline: 2px solid var(--hs-pink);
  outline-offset: 4px;
}

.home-faq .hm-faq-list summary:after {
  right: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(199, 54, 137, .4);
  font-size: 12px;
  transition: background .3s, color .3s, border-color .3s;
}

.home-faq .hm-faq-list details[open] summary:after {
  color: #fff;
  background: var(--hs-pink);
  border-color: var(--hs-pink);
}

.home-faq .hm-faq-list details p {
  padding: 0 56px 26px 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--hs-ink-70);
}

/* ---------- smaller screens ---------- */
@media (max-width: 1199px) {
  .home-proof__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-proof__label { flex: 0 0 auto; }
}

@media (max-width: 991px) {
  .home-proof__bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-proof__item { padding: 20px 16px; }

  .home-proof__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .home-proof__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .3); }

  .home-proof__bar .home-proof__cta {
    grid-column: 1 / -1;
    margin: 4px 0 24px;
  }

  .home-about__grid,
  .home-why__top,
  .home-contact__grid,
  .home-faq > .container { grid-template-columns: minmax(0, 1fr); }

  .home-about__media,
  .home-faq .hm-faq-head { position: static; }

  .home-about .home-about__title { font-size: clamp(34px, 6vw, 52px); }

}

@media (max-width: 767px) {
  .home-stats__row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 0;
  }

  .home-stats__item:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .home-contact .weo-form-wrapper iframe { min-height: 560px; }
}

@media (max-width: 575px) {
  .home-services__head .home-btn,
  .home-proof__bar .home-proof__cta { width: 100%; }

  .home-faq .hm-faq-list details p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-video__play { animation: none; }

  .hsv-card,
  .hsv-card__inner,
  .hsv__pill,
  .hsv__item { transition-duration: .01s !important; }

  .hsv-card__photo img,
  .hsv__list.is-entering li { animation: none !important; }

  .home-about [data-aos],
  .home-services [data-aos],
  .home-why [data-aos],
  .home-contact [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
