/* Compact laptops: keep the hero proportions continuous before desktop scaling takes over. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .bg-gray-top {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(40px, 4.2vw, 50px);
  }

  .hero-image-wrapper {
    position: relative;
    top: auto;
    left: auto;
    width: min(500px, 45vw);
    aspect-ratio: 1.39;
    margin-top: max(-95px, -8.6vw);
    margin-bottom: -16px;
    overflow: hidden;
    transform: none;
  }

  .bg-purple-bottom {
    padding: 46px 24px 78px;
  }

  .bg-purple-bottom p {
    margin-bottom: 28px;
  }

  .section_wrapper2 .shape1,
  .section_wrapper2 .shape2 {
    width: clamp(110px, 12vw, 145px);
  }

  .section_wrapper2 .shape1 {
    top: -7%;
    left: 0;
  }

  .section_wrapper2 .shape2 {
    right: 0;
    bottom: -7%;
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: 20px;
  }

  .bg-gray-top {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(28px, 4.5vw, 45px);
  }

  .hero-image-wrapper {
    position: relative;
    top: auto;
    left: auto;
    width: min(590px, 78vw);
    aspect-ratio: 1.39;
    margin-top: max(-112px, -14.8vw);
    margin-bottom: -16px;
    overflow: hidden;
    transform: none;
  }

  .bg-purple-bottom {
    min-height: 0;
    padding: 38px 24px 68px;
  }

  .bg-purple-bottom p {
    margin-bottom: 26px;
  }

  .section_wrapper1 {
    padding: 48px 0 52px;
  }

  .section_wrapper1 .row {
    min-height: auto;
    row-gap: 28px;
  }

  .section_wrapper1 figure {
    width: min(100%, 380px);
    margin: 0 auto !important;
    transform: translateX(clamp(14px, 3.5vw, 30px));
  }

  .section_content1 {
    width: min(100%, 640px);
    padding-inline: 0;
    text-align: center !important;
  }

  .section_content1 p {
    font-size: 25px !important;
    line-height: 1.5 !important;
  }

  .section_content1 .intro-copy br {
    display: none;
  }

  .section_wrapper2 {
    width: min(calc(100% - 30px), 903px);
    max-width: 903px;
    min-height: 0;
    aspect-ratio: 903 / 276;
    padding: 14px clamp(48px, 7vw, 82px);
    background-color: transparent;
    background-image: url("../img/section-b1-mini-2.png") !important;
    background-size: 100% 100% !important;
    border-radius: 0;
  }

  .section_wrapper2 h2 br {
    display: initial;
  }

  .section_wrapper2 h2 {
    font-size: clamp(16px, 2.4vw, 23px) !important;
    line-height: 1.42 !important;
  }

  .section_wrapper2 .shape1 {
    top: -7%;
    left: 0;
  }

  .section_wrapper2 .shape2 {
    right: 0;
    bottom: -7%;
  }

  .section_wrapper2 .shape1,
  .section_wrapper2 .shape2 {
    width: clamp(90px, 14vw, 135px);
  }


  /* .photo_gallery_wrapper {
    padding: 65px 0 80px;
  } */

  .photo_gallery_wrapper .swiper-slide {
    width: min(65vw, 470px);
  }

  .section_wrapper3 {
    width: min(calc(100% - 30px), 980px);
    min-height: 0;
    aspect-ratio: 672 / 371;
    padding: 11% 13% 19%;
    border-radius: 0;
    background-size: 100% 100% !important;
  }

  .section_wrapper3 .story-copy br {
    display: none;
  }

  .section_wrapper3 .story-desktop {
    display: none;
  }

  .section_wrapper3 .story-mobile {
    display: block;
  }

  .section_wrapper3 .story-mobile br {
    display: block !important;
    content: "";
  }

  .section_wrapper3 .responsive-space {
    display: inline;
  }

  .explanation_question_wrapper {
    padding: 70px 0 105px;
  }

  .frequently_head_big {
    display: none;
  }

  .frequently_head_mini {
    display: block;
    width: min(100%, 620px);
    margin: 0 auto 35px;
  }

  .section_wrapper4 {
    min-height: 0;
    aspect-ratio: auto;
    padding: 90px 75px 80px;
  }

  .section_wrapper4 figure img {
    width: min(100%, 340px);
  }

  .section_wrapper4 .section_head_big {
    display: none;
  }

  .section_wrapper4 .section_head_mini {
    display: block;
    width: min(100%, 500px);
    margin: 30px auto 0;
  }
}

@media (max-width: 767.98px) {
  body {
    width: 100%;
    max-width: 100%;
    box-shadow: none;
  }

  .custom_container,
  .container {
    width: min(100% - 30px, var(--content));
  }

  .custom_btn,
  .btn-purchase {
    min-height: 44px;
    padding: 6px 28px;
    font-family: "Almoni Ultra Bold", "Assistant", Arial, sans-serif;
    font-size: clamp(20px, 4.5vw, 24px) !important;
    font-weight: 700;
  }

  .bg-gray-top {
    min-height: 0;
    padding-top: clamp(20px, 4vw, 28px);
  }

  .custom-title-text {
    gap: 8px;
    max-width: 100%;
  }

  .teal-text,
  .red-text {
    font-size: clamp(34px, 9vw, 52px);
  }

  .big-three {
    font-size: clamp(74px, 19vw, 110px);
  }

  .hero-image-wrapper {
    width: min(500px, 92vw);
    margin-top: max(-95px, -17.5vw);
    margin-bottom: -12px;
  }

  .bg-purple-bottom {
    min-height: 0;
    padding: 28px 18px 58px;
  }

  .bg-purple-bottom p {
    margin-bottom: 22px;
    font-size: clamp(19px, 3.5vw, 21px);
    overflow-wrap: break-word;
  }

  .bg-purple-bottom br {
    display: none;
  }

  .wave-bottom {
    height: clamp(54px, 9vw, 68px) !important;
  }

  .section_wrapper1 {
    padding: 38px 0 44px;
  }

  .section_wrapper1 .row {
    row-gap: 22px;
  }

  .section_wrapper1 figure {
    width: min(72vw, 350px);
    transform: translateX(clamp(12px, 4vw, 26px));
  }

  .section_content1 {
    width: min(100%, 540px);
    padding-inline: 0;
    text-align: center !important;
  }

  .section_content1 p {
    font-size: clamp(18px, 3.5vw, 21px) !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word;
  }

  .section_wrapper2 {
    width: calc(100% - 24px);
    max-width: 903px;
    min-height: 0;
    padding: 8px 30px;
    aspect-ratio: 3 / 1;
    background-image: url("../img/section-b1-mini-2.png") !important;
    background-size: 100% 100% !important;
    border-radius: 0;
  }

  .section_wrapper2 h2 {
    font-size: clamp(11px, 2.5vw, 17px) !important;
    line-height: 1.32 !important;
  }

  .section_wrapper2 .shape1,
  .section_wrapper2 .shape2 {
    width: clamp(70px, 16vw, 110px);
  }

  .section_wrapper2 .shape1 {
    top: -8%;
    left: -4%;
  }

  .section_wrapper2 .shape2 {
    right: -4%;
    bottom: -8%;
  }

  .photo_gallery_wrapper .swiper-slide {
    width: min(78vw, 410px);
  }


  .gallery-title {
    margin-top: 24px;
    margin-inline: 32px;
    font-family: "Assistant", Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: right;
  }

  .wrapper2 {
    margin-top: -28px;
    padding-bottom: 35px;
  }

  .section_wrapper3 {
    width: calc(100% - 30px);
    min-height: clamp(500px, 85vw, 560px);
    padding: 62px clamp(42px, 10vw, 68px) 105px;
    aspect-ratio: auto;
    background-size: 100% 100% !important;
    background-position: center;
  }

  .section_wrapper3 .story-copy {
    font-size: clamp(16px, 3.3vw, 21px);
    font-family: "Assistant", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.48;
  }

  .section_wrapper3 .story-copy p+p {
    margin-top: 22px;
  }

  .section_wrapper3 .story-copy .story-emphasis {
    margin-top: 28px;
    font-size: clamp(18px, 3.7vw, 23px);
    font-weight: 700;
  }

  .section_wrapper3 .shape3 {
    top: -13%;
    left: 1%;
    width: clamp(72px, 15vw, 96px);
  }

  .section_wrapper3 .shape4 {
    right: 1%;
    bottom: 1%;
    width: clamp(70px, 14vw, 92px);
  }

  .section_wrapper3 .custom_btn {
    bottom: 26px;
    min-height: 50px;
    padding-inline: 40px;
    font-size: clamp(21px, 4vw, 24px) !important;
  }

  .explanation_question_wrapper .shape {
    width: 150px;
    right: -45px;
  }

  .explanation_question_wrapper {
    padding: 40px 0 65px;
  }

  .explanation_question_wrapper .card-header h2 {
    font-size: 19px;
  }

  .section_wrapper4 {
    width: calc(100% - 20px);
    min-height: 0;
    padding: 70px 40px 65px;
    background-image: none !important;
  }

  .section_wrapper4 h2 {
    font-size: 23px;
  }

  .section_wrapper4 .shape5 {
    left: -50px;
    width: 145px;
  }
}

@media (max-width: 479.98px) {
  body {
    font-size: 18px;
  }

  .bg-gray-top {
    min-height: 0;
  }

  .custom-title-text {
    gap: 4px;
  }

  .teal-text,
  .red-text {
    font-size: 30px;
  }

  .big-three {
    font-size: 68px;
  }

  .hero-image-wrapper {
    width: 94vw;
    max-width: 420px;
    margin-top: max(-80px, -17.5vw);
    margin-bottom: -10px;
  }

  .bg-purple-bottom {
    min-height: 0;
    padding: 24px 16px 52px;
  }

  .bg-purple-bottom p {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.35;
  }

  .section_wrapper1 figure {
    width: min(78vw, 300px);
    transform: translateX(clamp(10px, 4vw, 18px));
  }

  .section_wrapper1 {
    padding: 32px 0 38px;
  }

  .section_wrapper1 .row {
    row-gap: 18px;
  }

  .section_content1 p {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  .section_wrapper2 {
    width: calc(100% - 20px);
    max-width: 903px;
    min-height: 0;
    padding: 6px 22px;
    aspect-ratio: 2.85 / 1;
    border-radius: 0;
  }

  .section_wrapper2 .container {
    width: 78%;
  }

  .section_wrapper2 h2 {
    font-size: clamp(10px, 3vw, 13px) !important;
    line-height: 1.3 !important;
  }

  .section_wrapper2 .shape1,
  .section_wrapper2 .shape2 {
    width: clamp(62px, 16vw, 78px);
  }

  .section_wrapper2 .shape1 {
    top: -5%;
    left: 0;
  }

  .section_wrapper2 .shape2 {
    right: 0;
    bottom: -5%;
  }


  .photo_gallery_wrapper {
    padding: 40px 0 30px;
  }

  .gallery-title {
    margin-top: 22px;
    margin-inline: 24px;
    font-family: "Assistant", Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    text-align: right;
  }

  .photo_gallery_wrapper .swiper-slide {
    width: 84vw;
  }

  .photo_gallery_wrapper .swiper-button-next,
  .photo_gallery_wrapper .swiper-button-prev {
    width: 38px;
    height: 38px;
  }

  .wrapper2 {
    margin-top: -35px;
    padding-bottom: 30px;
  }

  .section_wrapper3 {
    width: calc(100% - 16px);
    min-height: 400px;
    padding: 58px 11% 92px;
    aspect-ratio: auto;
    background-size: 100% 100% !important;
    background-position: center;
  }

  .section_wrapper3 .container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .section_wrapper3 .story-copy {
    font-size: clamp(14px, 3.6vw, 16px);
    font-family: "Assistant", Arial, sans-serif;
    font-weight: 400;
    line-height: 1.42;
    text-align: center;
  }

  .section_wrapper3 .story-copy br {
    display: none;
  }

  .section_wrapper3 .story-copy .story-emphasis {
    margin-top: 16px;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 700;
  }

  .section_wrapper3 .shape3,
  .section_wrapper3 .shape4 {
    width: clamp(54px, 14vw, 66px);
  }

  .section_wrapper3 .shape3 {
    top: -30px;
    left: 4%;
    width: clamp(108px, 25vw, 116px);
  }

  .section_wrapper3 .shape4 {
    right: 1%;
    bottom: 1%;
  }

  .section_wrapper3 .custom_btn {
    bottom: 4%;
    min-height: 36px;
    padding-inline: 24px;
    font-size: clamp(17px, 4.5vw, 20px) !important;
  }

  .explanation_question_wrapper {
    padding: 32px 0 55px;
  }

  .frequently_head_mini {
    margin-bottom: 20px;
  }

  .explanation_question_wrapper .card-header h2 {
    font-size: 20px;
  }

  .explanation_question_wrapper .card-body {
    padding: 18px !important;
    font-size: 18px !important;
  }

  .section_wrapper4 {
    min-height: 0;
    padding: 58px 24px 52px;
  }

  .section_wrapper4 figure img {
    width: 260px;
  }

  .section_wrapper4 h2 {
    font-size: 20px;
  }

  .section_wrapper4 h2 br {
    display: none;
  }

  .section_wrapper4 .shape5 {
    width: 100px;
  }

  .button_section_wrapper {
    padding-bottom: 40px;
  }
}

/* Large phones and small tablets: retain the original pink artwork proportions. */
@media (min-width: 480px) and (max-width: 767.98px) {
  .gallery-title {
    margin: 24px 32px 0;
    font-size: 32px;
    text-align: right;
  }

  .section_wrapper3 {
    width: calc(100% - 24px);
    min-height: clamp(420px, 72vw, 500px);
    aspect-ratio: auto;
    padding: 64px 12% 104px;
    background-size: 100% 100% !important;
    background-position: center;
  }

  .section_wrapper3 .container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
  }

  .section_wrapper3 .story-copy {
    font-size: clamp(15px, 2.8vw, 18px);
    line-height: 1.44;
  }

  .section_wrapper3 .story-copy p+p {
    margin-top: 16px;
  }

  .section_wrapper3 .story-copy .story-emphasis {
    margin-top: 20px;
    font-size: clamp(17px, 3.1vw, 20px);
  }

  .section_wrapper3 .shape3 {
    top: max(-88px, -6vw);
    left: 4%;
    width: clamp(112px, 20vw, 128px);
  }

  .section_wrapper3 .shape4 {
    right: 1%;
    bottom: 1%;
    width: clamp(68px, 13vw, 90px);
  }

  .section_wrapper3 .custom_btn {
    bottom: 4%;
    min-height: 42px;
    padding-inline: 30px;
    font-size: clamp(19px, 3.5vw, 22px) !important;
  }
}

/* Keep the teal statement, CTA and following gallery visually connected. */
@media (max-width: 991.98px) {
  .main_wrapper1 {
    padding-top: 20px;
    padding-bottom: 105px;
  }

  .photo_gallery_wrapper {
    padding-top: 20px;
  }

  .section_wrapper4 {
    background-image: none !important;
  }
}

@media (max-width: 479.98px) {
  .main_wrapper1 {
    padding-bottom: 92px;
  }

  .photo_gallery_wrapper {
    padding-top: 14px;
  }
}
