/* Homepage v90 final overrides loaded after the main stylesheet. */
.site-nav {
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
}

.site-nav a.nav-icon-link,
.site-nav .nav-icon-link {
  display: inline-grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: center;
  gap: 3px;
  min-width: 58px;
  min-height: 58px;
  padding: 7px 9px;
  text-align: center;
  line-height: 1.05;
}

.site-nav .nav-auth-link {
  min-width: 72px;
}

.nav-link-icon,
.footer-link-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: currentColor;
}

.nav-link-icon .ui-icon-svg {
  width: 20px;
  height: 20px;
}

.site-nav .button.small.nav-icon-link {
  border-radius: 10px;
}

.site-footer h3 {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

.site-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.footer-link-icon .ui-icon-svg {
  width: 17px;
  height: 17px;
}

.mobile-app-icon {
  font-size: 0 !important;
}

.mobile-app-icon .ui-icon-svg {
  width: 17px;
  height: 17px;
}

.home-confidence-section {
  background: linear-gradient(180deg, rgba(255, 248, 238, .72), rgba(255, 251, 245, .94));
}

.home-confidence-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  width: min(100%, 1260px);
  gap: 10px;
}

.home-confidence-grid .trust-detail-card {
  min-height: 148px;
}

.home-confidence-grid .trust-main {
  min-height: 100px;
  padding: 18px 8px 8px;
}

.home-confidence-grid .trust-main strong {
  font-size: .94rem;
}

.home-confidence-grid .trust-symbol {
  width: 42px;
  height: 42px;
  border-radius: 15px;
}

.home-confidence-grid .trust-symbol .task-icon-svg {
  width: 21px;
  height: 21px;
}

.testimonial-shell {
  width: min(100%, 760px) !important;
}

.testimonial-carousel {
  min-height: 214px;
  padding: 24px 22px;
}

.testimonial-slide p {
  max-width: 560px;
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.25;
}

.home-testimonial-section .section-head h2 {
  max-width: 720px;
}

.faq-tab-buttons button:nth-child(1),
.faq-tab-buttons button:nth-child(1).is-active {
  background: #9d0d11;
  color: #fff;
  border-color: #9d0d11;
}

.faq-tab-buttons button:nth-child(2),
.faq-tab-buttons button:nth-child(2).is-active {
  background: #241812;
  color: #fff;
  border-color: #241812;
}

.faq-tab-buttons button.is-active {
  box-shadow: 0 10px 22px rgba(157, 13, 17, .2);
}

@media (max-width: 900px) {
  .site-nav.open a.nav-icon-link,
  .site-nav.open .nav-icon-link {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto;
    justify-items: start;
    min-height: 46px;
    min-width: 0;
    gap: 10px;
  }

  .site-nav.open .nav-link-icon .ui-icon-svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .section,
  .section.muted,
  .home-confidence-section,
  .customer-task-section,
  .home-testimonial-section,
  .home-faq-section {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .home-hero-v4 .hero-copy,
  .customer-search-box,
  .hero-popular-searches,
  .customer-hero-actions,
  .compact-feature-section .section-head,
  .feature-rail-shell,
  .home-confidence-grid,
  .customer-task-grid-v2,
  .testimonial-shell,
  .faq-tab-shell {
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }

  .home-hero-v4 .hero-copy {
    transform: none !important;
  }

  .home-hero-v4 .eyebrow {
    white-space: nowrap;
    font-size: clamp(.42rem, 2.45vw, .58rem);
  }

  .home-hero-v4 h1,
  .home-testimonial-section .section-head h2 {
    width: calc(100vw - 42px) !important;
    max-width: calc(100vw - 42px) !important;
  }

  .home-hero-v4 h1 {
    font-size: clamp(1.03rem, 4.6vw, 1.24rem) !important;
    line-height: 1.12 !important;
  }

  .customer-search-box {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.1fr) minmax(0, .92fr) !important;
    gap: 4px !important;
    padding: 7px !important;
  }

  .customer-search-box label span {
    font-size: .44rem;
  }

  .customer-search-box select,
  .customer-search-box input {
    min-height: 32px;
    padding: 5px 6px;
    font-size: .5rem;
  }

  .customer-search-box .button {
    min-height: 38px;
    font-size: .55rem;
  }

  .customer-search-box .location-button {
    font-size: .5rem;
  }

  .hero-popular-searches {
    display: grid !important;
    grid-template-columns: .58fr repeat(4, minmax(0, 1fr)) !important;
    gap: 3px !important;
    align-items: stretch;
  }

  .hero-popular-searches strong {
    display: grid !important;
    place-items: center;
    min-width: 0;
    padding: 4px 1px;
    font-size: .42rem !important;
    line-height: 1;
    text-align: center;
  }

  .hero-popular-searches a {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 5px 2px !important;
    font-size: .39rem !important;
    line-height: 1.04;
    text-align: center;
    white-space: normal;
  }

  .customer-hero-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  .customer-hero-actions .button {
    min-width: 0;
    width: 100%;
    padding: 7px 3px !important;
    font-size: .42rem !important;
    line-height: 1.05;
    white-space: normal;
    text-align: center;
  }

  .customer-hero-actions .wide-label {
    display: inline !important;
  }

  .customer-hero-actions .compact-label {
    display: none !important;
  }

  .feature-rail-shell {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 18px;
    gap: 2px;
    align-items: center;
  }

  .rail-button {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: .65rem;
    padding: 0;
    z-index: 2;
  }

  .compact-feature-list {
    display: grid !important;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 9px) / 4) !important;
    grid-template-columns: none !important;
    gap: 3px !important;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .compact-feature-list::-webkit-scrollbar {
    display: none;
  }

  .compact-profile-card {
    min-width: 0;
    min-height: 111px !important;
    padding: 5px 2px !important;
    gap: 2px !important;
    border-radius: 7px;
    scroll-snap-align: start;
  }

  .compact-profile-card img {
    width: 24px !important;
    height: 24px !important;
  }

  .compact-profile-card strong {
    font-size: .39rem !important;
    line-height: 1.04 !important;
  }

  .compact-profile-card span,
  .compact-profile-card small {
    font-size: .34rem !important;
    line-height: 1.04 !important;
  }

  .compact-profile-card a {
    padding: 4px 5px !important;
    font-size: .36rem !important;
    line-height: 1;
  }

  .home-confidence-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 2px !important;
  }

  .home-confidence-grid .trust-detail-card {
    min-height: 91px !important;
    border-top-width: 2px;
    border-radius: 7px;
  }

  .home-confidence-grid .trust-main {
    min-height: 58px !important;
    padding: 6px 2px 3px !important;
    gap: 3px;
  }

  .home-confidence-grid .trust-symbol {
    width: 22px !important;
    height: 22px !important;
    border-radius: 8px !important;
  }

  .home-confidence-grid .trust-symbol .task-icon-svg {
    width: 12px !important;
    height: 12px !important;
  }

  .home-confidence-grid .trust-main strong {
    font-size: .32rem !important;
    line-height: 1.02 !important;
    letter-spacing: 0;
  }

  .trust-detail-card summary {
    min-height: 26px !important;
    padding: 2px !important;
  }

  .home-confidence-grid .detail-toggle-icon {
    width: 17px !important;
    height: 17px !important;
  }

  .trust-detail-card p {
    padding: 0 3px 5px !important;
    font-size: .42rem !important;
    line-height: 1.1 !important;
  }

  .customer-task-grid-v2 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 4px !important;
  }

  .task-detail-card {
    border-radius: 8px;
  }

  .task-main-action {
    min-height: 76px !important;
    padding: 7px 3px 5px !important;
    gap: 4px;
  }

  .task-symbol {
    width: 28px !important;
    height: 28px !important;
  }

  .task-symbol .task-icon-svg {
    width: 15px !important;
    height: 15px !important;
  }

  .task-main-action strong {
    font-size: .39rem !important;
    line-height: 1.04 !important;
    letter-spacing: 0;
  }

  .task-detail-card summary {
    min-height: 30px;
    padding: 4px 2px;
  }

  .task-detail-card p {
    padding: 0 5px 7px;
    font-size: .5rem;
    line-height: 1.14;
  }

  .home-testimonial-section .section-head h2 {
    font-size: clamp(1.04rem, 5vw, 1.28rem);
  }

  .testimonial-shell {
    overflow: hidden !important;
  }

  .testimonial-carousel {
    width: 100%;
    min-height: 156px !important;
    padding: 13px 10px !important;
    border-radius: 8px;
    overflow: hidden;
  }

  .testimonial-slide p {
    max-width: 100%;
    font-size: .78rem !important;
    line-height: 1.22 !important;
  }

  .testimonial-slide strong,
  .testimonial-slide span {
    font-size: .76rem !important;
  }

  .write-review-button {
    padding: 9px 14px !important;
    font-size: .82rem !important;
  }

  .faq-tab-buttons {
    width: min(100%, 260px) !important;
  }

  .faq-tab-buttons button {
    min-height: 42px;
    color: #fff !important;
  }

  .site-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
    justify-items: center;
    gap: 24px;
  }

  .site-footer .footer-grid > div {
    display: grid;
    justify-items: center;
    width: 100%;
  }

  .site-footer a {
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer h3 {
    margin-bottom: 8px;
  }
}

@media (max-width: 340px) {
  .hero-popular-searches a,
  .hero-popular-searches strong {
    font-size: .36rem !important;
  }

  .customer-hero-actions .button {
    font-size: .38rem !important;
  }

  .compact-profile-card strong {
    font-size: .36rem !important;
  }

  .compact-profile-card span,
  .compact-profile-card small {
    font-size: .31rem !important;
  }

  .home-confidence-grid .trust-main strong {
    font-size: .29rem !important;
  }

  .task-main-action strong {
    font-size: .36rem !important;
  }
}
/* v91 hero ceremony video and footer alignment */
.home-hero-v4.hero-video-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  min-height: clamp(590px, 82vh, 780px);
  display: grid;
  align-items: center;
  background: #1f1712;
  color: #fff;
}

.hero-bg-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-video {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  opacity: .74;
  filter: saturate(1.08) contrast(1.04);
}

.hero-video-overlay {
  z-index: -2;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 244, 220, .2), transparent 33%),
    linear-gradient(180deg, rgba(31, 23, 18, .28), rgba(31, 23, 18, .5) 46%, rgba(31, 23, 18, .7)),
    linear-gradient(90deg, rgba(31, 23, 18, .48), rgba(31, 23, 18, .2), rgba(31, 23, 18, .48));
  pointer-events: none;
}

.home-hero-v4.hero-video-shell .hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 1160px);
  margin-inline: auto;
  padding-block: clamp(54px, 8vw, 94px);
  transform: translateY(clamp(28px, 5vh, 58px));
}

.home-hero-v4.hero-video-shell .eyebrow,
.home-hero-v4.hero-video-shell h1 {
  color: #fff7ee;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .44);
}

.home-hero-v4.hero-video-shell .customer-search-box {
  background: rgba(255, 253, 248, .92);
  border-color: rgba(255, 255, 255, .54);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
}

.home-hero-v4.hero-video-shell .hero-popular-searches strong {
  color: #fff7ee;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .38);
}

.home-hero-v4.hero-video-shell .hero-popular-searches a,
.home-hero-v4.hero-video-shell .customer-hero-actions .button.ghost {
  background: rgba(255, 253, 248, .93);
}

.home-hero-v4.hero-video-shell .customer-hero-actions .pulse-action {
  box-shadow: 0 18px 42px rgba(0, 0, 0, .22);
}

.footer-bottom {
  width: 100%;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }

  .home-hero-v4.hero-video-shell {
    background: linear-gradient(rgba(31, 23, 18, .58), rgba(31, 23, 18, .7)), url("../img/premium/homepage-wedding-intro-poster.webp") center/cover no-repeat;
  }

  .footer-bg-video {
    display: none;
  }
}

@media (max-width: 760px) {
  .home-hero-v4.hero-video-shell {
    min-height: 560px;
  }

  .hero-bg-video {
    object-position: 50% 40%;
    opacity: .7;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(31, 23, 18, .38), rgba(31, 23, 18, .56) 48%, rgba(31, 23, 18, .72)),
      linear-gradient(90deg, rgba(31, 23, 18, .28), rgba(31, 23, 18, .16), rgba(31, 23, 18, .28));
  }

  .home-hero-v4.hero-video-shell .hero-copy {
    padding-top: 48px;
    padding-bottom: 54px;
    transform: translateY(26px);
  }
}

.site-footer.footer-video-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #211813;
}

.footer-bg-video,
.footer-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.footer-bg-video {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  opacity: .2;
  filter: saturate(.95) contrast(1.08);
}

.footer-video-overlay {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(33, 24, 19, .86), rgba(33, 24, 19, .9)),
    radial-gradient(circle at 15% 8%, rgba(157, 13, 17, .24), transparent 36%);
  pointer-events: none;
}

.footer-video-shell .footer-grid,
.footer-video-shell .footer-bottom {
  position: relative;
  z-index: 1;
}

/* v93 user video placement: keep the hero people visible on mobile and use the new footer video without cropping. */
.home-hero-v4.hero-video-shell {
  align-items: start;
  min-height: clamp(760px, 92vh, 940px);
}

.home-hero-v4.hero-video-shell .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(14px, 2.4vw, 28px);
  padding-bottom: clamp(46px, 7vw, 82px);
  transform: none;
}

.home-hero-v4.hero-video-shell .eyebrow {
  margin-top: 0;
  margin-bottom: clamp(230px, 35vh, 340px);
}

.home-hero-v4.hero-video-shell h1 {
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.site-footer.footer-video-shell {
  background: #211813;
}

.footer-bg-video {
  object-fit: contain;
  object-position: center;
  opacity: .48;
  filter: saturate(1.08) contrast(1.06) brightness(.98);
  background: #211813;
}

.footer-video-overlay {
  background:
    linear-gradient(180deg, rgba(33, 24, 19, .58), rgba(33, 24, 19, .68)),
    radial-gradient(circle at 15% 8%, rgba(157, 13, 17, .16), transparent 36%);
}

@media (max-width: 760px) {
  .home-hero-v4.hero-video-shell {
    min-height: 720px;
  }

  .hero-bg-video {
    object-fit: contain;
    object-position: center top;
    opacity: .82;
    background: #1f1712;
  }

  .home-hero-v4.hero-video-shell .hero-copy {
    padding-top: 10px;
    padding-bottom: 34px;
  }

  .home-hero-v4.hero-video-shell .eyebrow {
    margin-bottom: clamp(172px, 43vw, 230px);
  }

  .home-hero-v4.hero-video-shell h1 {
    margin-bottom: 14px;
  }

  .footer-bg-video {
    object-fit: contain;
    object-position: center;
    opacity: .52;
  }

  .footer-video-overlay {
    background:
      linear-gradient(180deg, rgba(33, 24, 19, .64), rgba(33, 24, 19, .72)),
      radial-gradient(circle at 50% 15%, rgba(157, 13, 17, .12), transparent 42%);
  }
}

/* v94 final video/layout corrections from user screenshots. */
@media (min-width: 761px) {
  .home-hero-v4.hero-video-shell {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    min-height: clamp(800px, 92vh, 940px) !important;
  }

  .home-hero-v4.hero-video-shell .hero-copy {
    padding-top: clamp(8px, 1.2vw, 18px) !important;
    padding-bottom: clamp(46px, 7vw, 82px) !important;
  }

  .home-hero-v4.hero-video-shell .eyebrow {
    margin-bottom: clamp(250px, 37vh, 365px) !important;
  }

  .home-hero-v4.hero-video-shell h1 {
    margin-bottom: clamp(24px, 3vw, 38px) !important;
  }

  .footer-bg-video {
    object-fit: cover !important;
    object-position: center center !important;
    opacity: .54 !important;
  }

  .footer-video-overlay {
    background:
      linear-gradient(90deg, rgba(33, 24, 19, .64), rgba(33, 24, 19, .46), rgba(33, 24, 19, .64)),
      linear-gradient(180deg, rgba(33, 24, 19, .56), rgba(33, 24, 19, .62)) !important;
  }
}

@media (max-width: 760px) {
  :root {
    --mobile-header-height: 70px;
  }

  body {
    padding-top: var(--mobile-header-height) !important;
  }

  .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    min-height: var(--mobile-header-height) !important;
    background: rgba(255, 249, 240, .98) !important;
    box-shadow: 0 10px 26px rgba(61, 35, 18, .08) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .site-nav {
    position: fixed !important;
    top: calc(var(--mobile-header-height) + 8px) !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 1001 !important;
    max-height: calc(100vh - var(--mobile-header-height) - 24px) !important;
  }

  .home-hero-v4.hero-video-shell {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    min-height: auto !important;
    padding: 0 0 24px !important;
    background: #1f1712 !important;
  }

  .hero-bg-video {
    object-fit: cover !important;
    object-position: 50% 16% !important;
    opacity: .82 !important;
  }

  .hero-video-overlay {
    background:
      linear-gradient(180deg, rgba(31, 23, 18, .24), rgba(31, 23, 18, .36) 35%, rgba(31, 23, 18, .66) 71%, rgba(31, 23, 18, .78)) !important;
  }

  .home-hero-v4.hero-video-shell .hero-copy {
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
    padding-top: 6px !important;
    padding-bottom: 0 !important;
    transform: none !important;
  }

  .home-hero-v4.hero-video-shell .eyebrow {
    max-width: calc(100vw - 18px) !important;
    margin-bottom: clamp(166px, 46vw, 220px) !important;
    font-size: clamp(.42rem, 2.35vw, .58rem) !important;
    line-height: 1.05 !important;
  }

  .home-hero-v4.hero-video-shell h1 {
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
    margin-bottom: 18px !important;
    color: #fff7ee !important;
  }

  .home-hero-v4.hero-video-shell .customer-search-box,
  .home-hero-v4.hero-video-shell .hero-popular-searches,
  .home-hero-v4.hero-video-shell .customer-hero-actions {
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: min(360px, calc(100vw - 32px)) !important;
  }

  .home-hero-v4.hero-video-shell .customer-search-box {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.08fr) minmax(0, .9fr) !important;
    gap: 4px !important;
    padding: 7px !important;
  }

  .home-hero-v4.hero-video-shell .customer-search-box select,
  .home-hero-v4.hero-video-shell .customer-search-box input,
  .home-hero-v4.hero-video-shell .customer-search-box button {
    min-width: 0 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .home-hero-v4.hero-video-shell .customer-hero-actions {
    margin-bottom: 0 !important;
  }

  .faq-tab-shell,
  .faq-tab-buttons {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: center !important;
  }

  .faq-tab-buttons {
    width: min(100%, 280px) !important;
  }

  .site-footer.footer-video-shell {
    padding-bottom: calc(116px + env(safe-area-inset-bottom)) !important;
  }

  .footer-bg-video {
    top: auto !important;
    bottom: 0 !important;
    height: 176px !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    opacity: .56 !important;
  }

  .footer-video-overlay {
    top: auto !important;
    bottom: 0 !important;
    height: 176px !important;
    background: linear-gradient(180deg, rgba(33, 24, 19, .64), rgba(33, 24, 19, .72)) !important;
  }

  .footer-bottom {
    position: relative !important;
    z-index: 1 !important;
    width: 100% !important;
    margin-top: 20px !important;
    padding-top: 16px !important;
    text-align: center !important;
    white-space: nowrap !important;
    font-size: clamp(.68rem, 2.6vw, .82rem) !important;
    overflow: hidden !important;
    text-overflow: clip !important;
  }
}
