/* The landing page scrolls with the document. Booking steps use the existing app viewport. */
html.home-landing, .home-landing body {
  height: auto;
  overflow: visible;
  background: #fff;
}
#home-information[hidden] { display: none !important; }
.music-toggle {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #232b25;
  background: #ecefe9;
  touch-action: manipulation;
  cursor: pointer;
}
.music-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; }
.music-toggle [data-sound-on], .music-toggle[aria-pressed="true"] [data-sound-off] { display: none; }
.music-toggle[aria-pressed="true"] [data-sound-on] { display: inline; }
.music-toggle:focus-visible, .explore-service:focus-visible { outline: 3px solid #75c498; outline-offset: 4px; }
.booking-header > .music-toggle { position: absolute; left: 3%; width: 36px; height: 36px; }
.home-landing #booking-top {
  --hero-gutter: clamp(1rem, 4vw, 1.8rem);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: max(35rem,100svh);
  min-height: 0;
  margin: 0;
  padding: env(safe-area-inset-top,0px) 0 0;
  overflow: clip;
  color: #fff;
  background: #2b392e;
  box-shadow: none;
}
.home-landing #booking-top::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('/hero-neighborhood.webp') center 55% / cover no-repeat;
}
.home-landing #booking-top::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,rgba(12,27,17,.45) 0%,rgba(12,27,17,.25) 23%,rgba(15,30,21,.02) 48%,rgba(14,29,21,.51) 70%,rgba(13,25,19,.95) 100%);
}
.home-landing .booking-header {
  width: 100%;
  height: clamp(3.1rem, 8svh, 4.45rem);
  min-height: 3.1rem;
  flex: none;
  padding: 0 var(--hero-gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 2;
}
.home-landing .booking-header > .music-toggle {
  position: static;
  width: 42px;
  height: 42px;
  color: #203127;
  background: #fffffff2;
  box-shadow: 0 2px 16px #14251c20;
}
.home-landing #brand {
  color: #fff;
  justify-self: center;
  gap: 0;
  font-size: clamp(1.16rem, 4.4vw, 1.5rem);
  letter-spacing: -.065em;
  text-shadow: 0 1px 12px #14231750;
}
.home-landing #brand .dot { color: #b9e3b8; }
.home-landing #logo { margin-right: .38rem; }
.home-landing #logo svg { width: 25px; height: 25px; }
.home-landing #menu {
  position: static;
  justify-self: end;
  width: 44px;
  height: 44px;
  padding: 7px;
  color: #fff;
  background: transparent;
}
.home-landing #menu svg { width: 28px; height: 28px; }
.home-landing #main {
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 var(--hero-gutter);
  overflow: visible;
  min-height: 0;
  background: transparent;
}
.home-landing #main .content {
  position: relative;
  display: flex;
  overflow: visible;
  flex-direction: column;
  min-height: 0;
  align-items: stretch;
}
.home-landing .hero {
  flex: 1 1 auto;
  min-height: 0;
  padding: clamp(.76rem, 3.2svh, 2.2rem) 0 0;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  text-align: center;
}
.home-landing .hero::before { display: none; }
.home-landing .hero h1 {
  max-width: none;
  font-size: clamp(2.35rem,min(10.1vw,7.8svh),4.5rem);
  line-height: .99;
  letter-spacing: -.065em;
  margin: 0 0 .65rem;
  color: #fff;
}
.home-landing .hero .sub {
  font-size: clamp(.95rem,3.8vw,1.14rem);
  line-height: 1.36;
  max-width: none;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 8px #17251b99;
}
.home-landing .hero img.sliding-couch {
  position: absolute;
  left: 0;
  bottom: clamp(6px,2.8svh,32px);
  width: 100%;
  height: auto;
  max-height: 55%;
  margin: 0;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 7px #17201966);
}
.home-landing .home-intake, .home-landing #footer {
  width: 100%;
  max-width: 27rem;
  margin: 0 auto;
  flex: 0 0 auto;
}
.home-landing .home-line { align-items: baseline; gap: .75rem; margin: 0 0 .7rem; color: white; }
.home-landing .home-line strong { font-size: clamp(1.22rem,4.8vw,1.52rem); letter-spacing: -.045em; }
.home-landing .home-line small { font-size: clamp(.82rem,3.3vw,1rem); color: #fff; }
.home-landing .home-zip {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid #ffffffb5;
  border-radius: 1rem;
  background: #fafbf8;
  color: #23322a;
}
.home-landing .home-zip input {
  min-width: 0;
  font-size: 1.07rem;
  color: #15231a;
  padding: 0;
  background: transparent;
}
.home-landing .home-zip input::placeholder { color: #636d64; opacity: 1; }
.home-landing .home-zip:focus-within { outline: 3px solid #a8d6a5; outline-offset: 2px; }
.home-landing .trust { margin: .6rem 0 0; align-items: center; gap: .6rem; color: #fff; font-size: .82rem; }
.home-landing .trust i { width: 3px; height: 3px; background: #c1d9c1; border-radius: 50%; }
.home-landing #main .error:empty { display:none; }
.home-landing #main .error:not(:empty) {
  color: #fff;
  background: #592f28;
  width: fit-content;
  max-width: 100%;
  align-self: center;
  border-radius: .6rem;
  font-size: .91rem;
  margin: .45rem 0 0;
  padding: .32rem .7rem;
}
.home-landing #footer {
  position: static;
  z-index: auto;
  transform: none;
  box-sizing: content-box;
  max-width: min(27rem,calc(100% - 2 * var(--hero-gutter)));
  padding: .72rem 0 max(.18rem,env(safe-area-inset-bottom,0px));
  background: none;
  text-align: center;
}
.home-landing #footer .primary {
  width: 100%;
  min-height: 51px;
  height: auto;
  padding: .86rem 1rem;
  font-size: 1.05rem;
  border-radius: 1rem;
  color: #14251b;
  background: var(--bbc-book-fill, #c6e7b9);
  box-shadow: 0 5px 22px #15241825;
}
.home-landing #footer .primary:hover { background: #dbf1d1; }
.home-landing #footer .primary.loading { color: white; background: #294532; }
.home-landing .explore-service {
  width: fit-content;
  min-height: 46px;
  margin: .18rem auto 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: .96rem;
  font-weight: 550;
  letter-spacing: -.015em;
  text-decoration: none;
  text-shadow: 0 1px 5px #12201860;
}
.explore-service svg { width: 15px; height: 11px; stroke-width: 2.25; }
.home-landing .explore-service:hover svg { transform: translateY(3px); }
.home-landing #footer noscript a { color: #fff; }

@media (min-width:800px) and (min-height:500px) {
  .home-landing #booking-top {
    --hero-gutter: max(5vw,calc((100% - 78rem)/2));
    height: max(38rem,100svh);
  }
  .home-landing #booking-top::before { background-image: url('/hero-neighborhood-wide.webp'); background-position: center 58%; }
  .home-landing #booking-top::after {
    background: linear-gradient(90deg,rgba(12,26,19,.8) 0%,rgba(12,26,19,.62) 32%,rgba(12,26,19,.06) 70%),linear-gradient(0deg,rgba(12,26,19,.58),transparent 36%,transparent 80%,rgba(12,26,19,.23));
  }
  .home-landing .booking-header { height: 4.65rem; }
  .home-landing #main { max-width: none; padding-top: 1.1rem; }
  .home-landing .hero { position: static; justify-content: flex-end; align-items: flex-start; text-align: left; padding-bottom: clamp(1.5rem,4vh,2.7rem); }
  .home-landing .hero h1 { font-size: clamp(3.4rem,min(7.3vw,10.5vh),7.5rem); letter-spacing: -.078em; margin-bottom: .85rem; }
  .home-landing .hero .sub { font-size: clamp(1.05rem,1.7vw,1.4rem); }
  .home-landing .hero img.sliding-couch {
    width: 53%;
    left: auto;
    right: -1.3%;
    bottom: min(8vh,5rem);
    max-height: 62%;
    filter: drop-shadow(0 16px 10px #251e196b);
  }
  .home-landing .home-intake { margin: 0; width: min(38%,26rem); }
  .home-landing #footer {
    align-self: stretch;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: .85rem var(--hero-gutter) max(.35rem,env(safe-area-inset-bottom,0px));
  }
  .home-landing #footer .primary { display: flex; width: min(38%,26rem); }
  .home-landing .explore-service { display: flex; margin: .3rem auto 0; }
  .home-landing #main .error:not(:empty) { align-self: flex-start; }
}
@media (max-height:650px) and (max-width:799px) {
  .home-landing .hero { padding-top:.35rem; }
  .home-landing .hero h1 { margin-bottom:.4rem; }
  .home-landing .hero img.sliding-couch { bottom:4px; max-height:46%; }
  .home-landing .home-line { margin-bottom:.4rem; }
  .home-landing #footer { padding-top:.5rem; }
}
@media (prefers-reduced-motion:no-preference) {
  html.home-landing { scroll-behavior:smooth; }
  .explore-service svg { transition:transform .25s ease; }
  .explore-service svg { animation:explore-hint 1.1s 1.7s 2 ease-in-out; }
  @keyframes explore-hint { 0%,100%{translate:0 0} 55%{translate:0 3px} }
}
