body.home{
  background:#ffffff;
}

.home-page{
  min-height:100vh;
  padding-top:calc(var(--header-h) + 26px);
  padding-bottom:70px;
  box-sizing:border-box;
}

.thank-you-hero{
  width:100%;
  padding:0 5vw;
  box-sizing:border-box;
}

.thank-you-stage{
  position:relative;
  width:min(100%, 1320px);
  margin:0 auto;
  min-height:calc(100vh - var(--header-h) - 120px);
  display:flex;
  align-items:center;
  justify-content:center;
}

.thank-you-slides{
  position:relative;
  width:min(100%, 980px);
  aspect-ratio:4 / 3;
  background:#f4f4f4;
  overflow:hidden;
}

.thank-you-slide{
  position:absolute;
  inset:0;
  margin:0;
  opacity:0;
  transition:opacity 1.1s ease;
}

.thank-you-slide.is-active{
  opacity:1;
}

.thank-you-slide img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:#ffffff;
}

.thank-you-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  pointer-events:none;
  padding:3rem;
  box-sizing:border-box;
}

.thank-you-title{
  margin:0 0 1rem;
  font-family:'Rosemary', sans-serif;
  font-size:clamp(3.2rem, 8vw, 7rem);
  line-height:0.9;
  text-transform:uppercase;
  color:#ffffff;
  text-shadow:0 2px 18px rgba(0,0,0,0.22);
}

.thank-you-subtitle{
  margin:0;
  max-width:24ch;
  font-family:'Wingman', sans-serif;
  font-size:clamp(1rem, 1.8vw, 1.4rem);
  line-height:1.4;
  color:#ffffff;
  text-shadow:0 2px 16px rgba(0,0,0,0.22);
}

@media (max-width: 768px){
  .home-page{
    padding-top:calc(var(--header-h) + 18px);
    padding-bottom:52px;
  }

  .thank-you-hero{
    padding:0 14px;
  }

  .thank-you-stage{
    min-height:auto;
  }

  .thank-you-slides{
    width:100%;
    aspect-ratio:4 / 5;
  }

  .thank-you-overlay{
    padding:1.4rem;
  }

  .thank-you-title{
    margin-bottom:0.8rem;
    font-size:clamp(2.3rem, 12vw, 4rem);
  }

  .thank-you-subtitle{
    max-width:20ch;
    font-size:1rem;
    line-height:1.35;
  }
}