.contact-page #contact-form-card [hidden] {
  display: none !important;
}

.contact-page .contact-form-card {
  scroll-margin-top: 125px;
}

.contact-page .contact-form-card.is-sent {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-page .contact-success {
  width: 100%;
  min-height: 470px;
  padding: 35px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: contact-success-enter .45s ease-out both;
}

.contact-success__art {
  position: relative;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  margin-bottom: 28px;
}

.contact-success__check {
  width: 120px;
  height: 120px;
  overflow: visible;
  animation: contact-success-pop .6s cubic-bezier(.2, .8, .3, 1.3) both;
}

.contact-success__check path {
  stroke-dasharray: 52;
  stroke-dashoffset: 52;
  animation: contact-success-draw .4s .3s ease-out forwards;
}

.contact-success__ring {
  position: absolute;
  inset: 9px;
  border: 1px solid #cce9d8;
  border-radius: 50%;
  animation: contact-success-ring .8s .1s ease-out both;
}

.contact-success__spark {
  position: absolute;
  width: 7px;
  height: 7px;
  top: 13px;
  left: 15px;
  border-radius: 50%;
  background: #ee4248;
  animation: contact-success-pop .5s .25s ease-out both;
}

.contact-success__spark:nth-child(2) { top: 23px; left: auto; right: 9px; width: 5px; height: 5px; background: #e8b774; }
.contact-success__spark:nth-child(3) { top: auto; bottom: 10px; left: 19px; width: 5px; height: 5px; background: #77b491; }
.contact-success__spark:nth-child(4) { top: auto; bottom: 14px; left: auto; right: 19px; width: 6px; height: 6px; background: #eea4a1; }

.contact-page .contact-success__eyebrow {
  margin: 0 0 16px;
  color: #c53c43;
  font: 600 13px/1.5 "Poppins", sans-serif;
  letter-spacing: 2px;
}

.contact-page .contact-form-card .contact-success__title {
  margin: 0;
  color: #292323;
  font: 600 clamp(38px, 4vw, 50px)/1.2 "Manrope", sans-serif;
  letter-spacing: -.8px;
}

.contact-success__title:focus { outline: none; }

.contact-page .contact-success__copy {
  margin: 24px 0 32px;
  color: #756b68;
  font-size: 18px;
  line-height: 1.8;
}

.contact-page .contact-success__again {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 100%;
  min-height: 58px;
  padding: 15px 30px;
  border-radius: 100px;
  background: #ee4248;
  color: #fff;
  font: 400 16px/1.5 "Poppins", sans-serif;
  text-decoration: none;
  transition: background .2s;
}

.contact-page .contact-success__again:hover { background: #cc3036; }
.contact-success__again:focus-visible { outline: 3px solid #ed8078; outline-offset: 4px; }
.contact-success__again span { font-size: 24px; line-height: 1; }
.contact-page .contact-success__note { margin: 22px 0 0; color: #877d7b; font-size: 15px; }

.contact-page .contact-submit:disabled .contact-arrow-wrap {
  width: 18px;
  height: 18px;
  border: 2px solid #ffffff66;
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-sending-spin .7s linear infinite;
}

.contact-submit:disabled .contact-arrow { visibility: hidden; }

@keyframes contact-success-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes contact-success-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes contact-success-draw { to { stroke-dashoffset: 0; } }
@keyframes contact-success-ring { from { opacity: 0; transform: scale(.7); } 50% { opacity: 1; } to { opacity: .6; transform: scale(1); } }
@keyframes contact-sending-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .contact-page .contact-form-card.is-sent { min-height: 0 !important; }
  .contact-page .contact-success { min-height: 430px; padding-block: 24px; }
  .contact-success__art { width: 132px; height: 132px; margin-bottom: 24px; }
  .contact-success__check { width: 96px; height: 96px; }
  .contact-page .contact-success__eyebrow { margin-bottom: 12px; font-size: 12px; }
  .contact-page .contact-form-card .contact-success__title { font-size: 38px; }
  .contact-page .contact-success__copy { margin: 20px 0 28px; font-size: 16px; }
  .contact-page .contact-success__again { min-height: 54px; padding: 14px 26px; font-size: 15px; }
  .contact-page .contact-success__note { margin-top: 20px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-success,
  .contact-success__art *,
  .contact-page .contact-submit:disabled .contact-arrow-wrap { animation: none; }
  .contact-success__check path { stroke-dashoffset: 0; }
  .contact-page .contact-success__again { transition: none; }
}
