.home-page > .nav {
  --home-nav-purple: #4b398e;
  position: absolute;
  z-index: 5;
  inset: 40px 0 auto;
  width: min(calc(100% - 48px), 1210px);
  height: 64px;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 19px;
  padding: 0;
  background: transparent;
  color: #fff;
}

.home-page > .nav .home-brand {
  justify-self: start;
}

.home-page > .nav .home-brand img {
  width: 144px;
  height: 72px;
}

.home-page > .nav .navlinks {
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 0 clamp(14px, 3.25vw, 47px);
  padding-inline-end: 18px;
  border-radius: 999px;
  background: var(--home-nav-purple);
  box-shadow: 0 6px 24px #170e3338;
}

.home-page > .nav .navlinks > a {
  white-space: nowrap;
}

.home-page > .nav .navlinks > a:not(.btn) {
  padding-block: 12px;
  color: inherit;
  font-size: 15px;
  font-weight: 500;
}

.home-page > .nav .navlinks > a:not(.btn):hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-page > .nav .navlinks > .btn {
  min-height: 44px;
  padding: 9px 17px;
  border-radius: 999px;
  background: #fff;
  color: var(--home-nav-purple);
}

.home-page > .nav .navlinks > .btn:hover {
  background: #ede8f7;
}

.home-page > .nav .home-nav-toggle {
  display: none;
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-radius: 999px;
  background: var(--home-nav-purple);
  color: inherit;
  font: 600 15px var(--gohi-body-font);
  cursor: pointer;
}

.home-page > .nav .menubutton[hidden] {
  display: none;
}

.home-page > .nav :is(a, button):focus-visible {
  outline-color: #fff;
}

.home-page .hero {
  isolation: isolate;
  min-height: 872px;
  padding: 150px 0 92px;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: #221535;
}

.hero-poster,
.hero-video,
.home-page .hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-poster img,
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-video {
  opacity: 0;
}

.hero-video.has-played {
  opacity: 1;
}

.home-page .hero::after {
  content: "";
  background: linear-gradient(
    180deg,
    transparent 12%,
    #2d185981 28%,
    #2d18598c 42%,
    #2d18598c 62%,
    transparent 93%
  );
}

.home-page .hero > .hero-content {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-page .hero h1 {
  max-width: 100%;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.9vw, 56px);
  text-wrap: balance;
}

.home-page .hero .hero-lead {
  max-width: 900px;
  margin-bottom: 0;
  text-wrap: balance;
}

.home-page .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 744px);
  margin: clamp(32px, 5.3vw, 76px) 0 0;
}

.home-page .hero-stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 4px;
  padding-inline: 5px;
}

.home-page .hero-stats > div + div {
  border-inline-start: 1px solid #ffffff80;
}

.home-page .hero-stats dt {
  color: #f6f4f0;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.35;
}

.home-page .hero-stats dd {
  margin: 0;
  font: 750 clamp(20px, 2.2vw, 28px)/1.15 var(--gohi-heading-font);
}

.home-page .hero-actions {
  justify-content: center;
  margin-top: 26px;
}

.home-page .searchwrap {
  width: min(100%, 900px);
  margin: 26px auto 0;
  color: var(--dark);
  text-align: left;
}

.home-page #holiday-search {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 32px;
  background: #f6f4f0;
  box-shadow: 0 8px 26px #150d394d;
}

.home-page #holiday-search .field {
  position: relative;
  min-width: 0;
  color: var(--purple);
}

.home-page #holiday-search .field + .field {
  border-inline-start: 1px solid #e5dceb;
}

.home-page #holiday-search .field svg {
  position: absolute;
  inset: 50% auto auto 13px;
  translate: 0 -50%;
  pointer-events: none;
}

.home-page #holiday-search .field::after {
  content: "";
  position: absolute;
  inset: 50% 13px auto auto;
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  rotate: 45deg;
  translate: 0 -70%;
  pointer-events: none;
}

.home-page #holiday-search :is(select, .search-picker-trigger) {
  display: block;
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0 27px 0 42px;
  appearance: none;
  border: 0;
  border-radius: 22px;
  background: transparent;
  color: #171717;
  font-size: 16px;
  font-weight: 400;
  text-overflow: ellipsis;
  cursor: pointer;
}

.home-page #holiday-search :is(select, .search-picker-trigger):hover {
  background: #eae5de;
}

.home-page #holiday-search select[hidden] {
  display: none;
}

.search-picker-trigger {
  font-family: var(--gohi-body-font);
  text-align: start;
  white-space: nowrap;
  overflow: hidden;
}

.search-picker-panel {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 8px 10px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #ded9d2;
  border-radius: 10px;
  background: #f6f4f0;
  color: #171717;
  box-shadow: 0 10px 30px #150d393d;
  text-align: start;
}

.search-picker-option {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: 700 17px/1.4 var(--gohi-heading-font);
  text-align: start;
  cursor: pointer;
}

.search-picker-option:hover,
.search-picker-option[aria-pressed="true"] {
  background: #eae5de;
}

.search-picker-option:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: -2px;
}

.home-page #holiday-search .btn {
  display: grid;
  place-items: center;
  width: 50px;
  min-width: 0;
  height: 50px;
  grid-column: auto;
  padding: 0;
  border-radius: 18px;
}

.home-page #holiday-search :is(select, button):focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 2px;
}

@media (max-width: 670px) {
  .home-page #holiday-search {
    grid-template-columns: repeat(2, minmax(0, 1fr)) 50px;
    border-radius: 24px;
  }

  .home-page #holiday-search .field svg {
    inset-inline-start: 8px;
    width: 17px;
    height: 17px;
  }

  .home-page #holiday-search .field::after {
    inset-inline-end: 8px;
  }

  .home-page #holiday-search :is(select, .search-picker-trigger) {
    padding-inline: 31px 18px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .home-page #holiday-search {
    gap: 2px;
  }

  .home-page #holiday-search :is(select, .search-picker-trigger) {
    padding-inline: 28px 16px;
    font-size: 14px;
  }
}

.hero-video-toggle {
  position: absolute;
  z-index: 1;
  inset: auto max(18px, env(safe-area-inset-right)) 16px auto;
  min-height: 40px;
  border: 1px solid #ffffffab;
  border-radius: 8px;
  padding: 7px 11px;
  background: #211633e8;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}

.hero-video-toggle:focus-visible {
  outline-color: #fff;
}

@media (max-width: 960px) {
  .home-page > .nav {
    width: min(calc(100% - 28px), 720px);
    height: 60px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .home-page > .nav .home-brand img {
    width: min(122px, 100%);
    height: 60px;
  }

  .home-page > .nav .navlinks {
    position: absolute;
    inset: calc(100% + 8px) 0 auto;
    display: none;
    align-items: stretch;
    gap: 2px;
    max-height: 70vh;
    overflow: auto;
    padding: 12px;
    border-radius: 20px;
    background: var(--home-nav-purple);
    box-shadow: 0 6px 24px #170e3352;
  }

  .home-page > .nav .navlinks > a:not(.btn) {
    padding-inline: 12px;
  }

  .home-page > .nav .navlinks > .btn {
    align-self: start;
    margin: 6px 0 0 8px;
  }

  .home-page > .nav .home-nav-toggle:not([hidden]),
  .home-page > .nav .menubutton:not([hidden]) {
    display: block;
    grid-column: 2;
    grid-row: 1;
    font-size: 15px;
  }

  .home-page > .nav .navlinks[data-open] {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .home-page .hero {
    min-height: 962px;
    padding: 150px 0 64px;
  }
}

.home-page .home-hosts {
  background: #f1ecf7;
}

.home-hosts-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 6vw, 88px);
}

.home-hosts-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.home-hosts-grid .btn {
  margin-top: 14px;
}

.home-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}

.home-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid #e5dceb;
  border-radius: 16px;
  background: #fff;
  line-height: 1.55;
}

.home-review p {
  margin: 0;
}

.home-review .home-review-source {
  margin-top: auto;
  color: var(--muted);
  font-size: 14px;
}

.home-review .home-review-stars {
  color: #8a590b;
  letter-spacing: .12em;
}

.home-review-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.home-page .home-faq {
  background: #f1ecf7;
}

.home-faq-list {
  margin-top: 24px;
  border-top: 1px solid #d8cce4;
}

.home-faq-list details {
  border-bottom: 1px solid #d8cce4;
}

.home-faq-list summary {
  padding: 16px 4px;
  font-weight: 700;
  cursor: pointer;
}

.home-faq-list p {
  max-width: 68ch;
  margin: 0;
  padding: 0 4px 18px;
  line-height: 1.6;
}

.home-faq-list a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .home-hosts-grid,
  .home-review-grid {
    grid-template-columns: 1fr;
  }

  .home-hosts-grid img {
    width: min(100%, 320px);
  }
}
