/* Tablet and down */
@media (max-width: 1024px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero,
  .blurredScreen,
  .attractionContainer,
  .how-it-works,
  .contact-page,
  .site-footer,
  .order-checkout-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .nav-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .nav-logo h4 {
    font-size: 1.25rem;
  }

  .nav-links {
    gap: 18px;
  }

  .btn-nav {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .hero {
    height: auto;
    min-height: auto;
  }

  .blurredScreen {
    height: auto;
    min-height: auto;
  }

  .heroContentContainer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 120px 20px 90px;
  }

  .heroHeading,
  .heroActions {
    left: 0;
  }

  .heroImage {
    position: relative;
    right: 0;
    top: auto;
    margin: 0 0 0 auto;
  }

  .heroImage img {
    width: min(88vw, 420px);
    margin: 0;
    display: block;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 18%,
      black 80%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 18%,
      black 80%,
      transparent 100%
    );
  }

  .benefitsSection h3 {
    margin-top: 24px;
  }

  .iconsMainContainer {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 24px;
    justify-items: center;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .iconContainer {
    width: 140px;
    height: 140px;
  }

  .blush {
    width: 84px;
    height: 84px;
  }

  .trust-banner {
    margin-top: 56px;
    padding: 3rem 1rem;
  }

  .trust-banner-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem;
    text-align: center;
  }

  .trust-text p {
    max-width: none;
  }

  .trust-cta {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .trust-link {
    height: auto;
    min-height: 52px;
  }

  .attractionContainer {
    border-radius: 40px 40px 0 0;
    padding-top: 12px;
  }

  .fadingImage {
    height: auto;
    width: auto;
    max-width: 100%;
    top: 10%;
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 18%,
      black 82%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 18%,
      black 82%,
      transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .attractionContainer {
    position: relative;
  }

  .powderContainer,
  .sachetContainer {
    height: auto;
    min-height: 0;
  }

  .powderContainer {
    position: relative;
    padding: 18px 12px 8px;
    min-height: 620px;
  }

  .powderContainer img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 350px);
    z-index: 6;
  }

  #powderCanvas {
    position: absolute;
    --powder-start: 38px;
    top: var(--powder-start);
    left: 58%;
    transform: translateX(-50%);
    width: clamp(90px, 18vw, 140px);
    height: calc(100% - var(--powder-start) + 54px);
    margin: 0;
    z-index: 2;
  }

  .annotation {
    font-size: 0.82rem;
    max-width: 180px;
    z-index: 5;
    display: flex;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 10px;
    box-shadow:
      0 10px 24px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .annotation .label {
    white-space: nowrap;
    margin: 0;
    line-height: 1.35;
  }

  .annotation .line,
  .annotation .dot {
    display: none;
  }

  .annotation.left {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: column;
  }

  .annotation.right {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    flex-direction: column;
  }

  /* Force even vertical spacing on mobile/tablet (override inline top styles). */
  .powderContainer .annotation:nth-of-type(1) { top: 22% !important; }
  .powderContainer .annotation:nth-of-type(2) { top: 33% !important; }
  .powderContainer .annotation:nth-of-type(3) { top: 44% !important; }
  .powderContainer .annotation:nth-of-type(4) { top: 55% !important; }
  .powderContainer .annotation:nth-of-type(5) { top: 66% !important; }
  .powderContainer .annotation:nth-of-type(6) { top: 77% !important; }

  .sachetContainer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .sachetContainer img {
    order: -1;
    margin: 0 auto;
    top: 0;
    width: 170px;
    z-index: 6;
  }

  .sachetDetails {
    max-width: none;
  }

  .conversion-collagen {
    padding: 5rem 1rem;
  }

  .conversion-collagen img {
    width: 80vw;
    opacity: 0.2;
  }

  .bubble-section {
    height: 70vh;
    margin-bottom: 52px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }

  .ritual-section {
    height: auto;
    min-height: 0;
    margin-bottom: 52px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ritual-images {
    grid-template-columns: 1fr;
  }

  .ritual-section::before {
    display: none;
  }

  .ritual-overlay {
    position: absolute;
    inset: 0;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .how-it-works {
    padding: 64px 16px;
    box-sizing: border-box;
  }

  .how-it-works > .bubble-section,
  .how-it-works > .ritual-section,
  .how-it-works > .container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .step-card {
    padding: 28px 18px 24px;
  }

  .contact-page {
    width: calc(100% - 24px);
    height: auto;
    padding: 24px 12px;
  }

  .order-checkout-page {
    padding: 110px 16px 40px;
  }

  .order-checkout-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    border-radius: 18px;
  }

  .order-details-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-inner {
    max-width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }

  .contact-details {
    flex-direction: column;
    gap: 16px;
  }

  .contact-form {
    padding: 22px 16px;
  }

  .site-footer {
    margin-top: 56px;
    padding: 52px 16px 28px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* Phone */
@media (max-width: 768px) {
  body.menu-open {
    overflow: hidden;
  }

  .navbar {
    padding: 10px 0;
    width: calc(100% - 24px);
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .nav-inner {
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-logo h4 {
    font-size: 1rem;
    padding-left: 8px;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--wt-off-white);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(15, 67, 77, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 120;
  }

  .mobile-menu[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu a:not(.btn) {
    color: var(--wt-off-white);
    text-decoration: none;
    font-size: 0.98rem;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
  }

  .mobile-menu .btn {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 2px;
    padding: 12px 14px;
  }

  .btn-nav {
    padding: 9px 14px;
    font-size: 0.8rem;
  }

  .heroBackground {
    display: none;
  }

  .blurredScreen {
    background: linear-gradient(180deg, #fff8f5 0%, #ffffff 80%);
    box-shadow: none;
  }

  .heroContentContainer {
    padding: 100px 16px 72px;
  }

  .heroHeading h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.12;
  }

  .heroHeading h1 span {
    font-size: clamp(1.95rem, 8.5vw, 2.4rem);
  }

  .heroHeading p {
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .heroActions {
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .heroActions .btn {
    width: 100%;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    text-align: center;
    padding: 14px 16px;
  }

  .heroImage {
    right: 0;
  }

  .hero-curve {
    position: absolute;
    z-index: 30;
  }

  .hero-curve {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 120px;
  }

  .iconsMainContainer {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 0 12px;
  }

  .iconContainer {
    width: 120px;
    height: 120px;
  }

  .iconContainer p {
    font-size: 0.8rem;
  }

  .blush {
    width: 66px;
    height: 66px;
  }

  .trust-banner img {
    height: 140px;
    margin: 8px;
  }

  .powderContainer {
    min-height: 560px;
    padding: 12px 8px 0;
  }

  #powderCanvas {
    --powder-start: 34px;
    top: var(--powder-start);
    width: clamp(78px, 18vw, 108px);
    height: calc(100% - var(--powder-start) + 46px);
  }

  .annotation {
    display: flex;
    font-size: 0.68rem;
    max-width: 130px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .annotation.left {
    transform: translateX(-50%);
  }

  .annotation.right {
    transform: translateX(-50%);
  }

  .powderContainer .annotation:nth-of-type(1) { top: 24% !important; }
  .powderContainer .annotation:nth-of-type(2) { top: 35% !important; }
  .powderContainer .annotation:nth-of-type(3) { top: 46% !important; }
  .powderContainer .annotation:nth-of-type(4) { top: 57% !important; }
  .powderContainer .annotation:nth-of-type(5) { top: 68% !important; }
  .powderContainer .annotation:nth-of-type(6) { top: 79% !important; }

  .sachetContainer {
    padding: 12px;
    gap: 12px;
  }

  .glass {
    padding: 18px 14px;
  }

  .conversion-copy {
    text-align: left;
  }

  .conversion-copy p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .highlight-block {
    font-size: 1.2rem;
    padding: 1rem 1rem;
    margin: 1.4rem 0;
  }

  .bubble-section {
    height: 56vh;
    overflow: hidden;
  }

  .floating-word {
    font-size: clamp(2rem, 11vw, 3.2rem);
    letter-spacing: 0.08em;
  }

  .ritual-overlay p {
    padding: 12px 14px;
    font-size: 0.92rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .section-subtitle {
    margin-bottom: 32px;
  }

  .cta-wrapper {
    margin-top: 28px;
  }

  .cta-button {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 16px;
  }

  .contact-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .contact-intro {
    font-size: 1rem;
  }

  .site-footer {
    border-radius: 16px 16px 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-newsletter form {
    flex-direction: column;
  }

  .footer-newsletter {
    width: 90%;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .nav-actions {
    display: none;
  }

  .navbar {
    width: calc(100% - 12px);
  }

  .heroContentContainer {
    padding-top: 88px;
  }

  .powderContainer {
    min-height: 500px;
  }

  #powderCanvas {
    --powder-start: 30px;
    top: var(--powder-start);
    width: 76px;
    height: calc(100% - var(--powder-start) + 36px);
  }

  .annotation {
    font-size: 0.6rem;
    max-width: none;
  }

  .annotation.left {
    transform: translateX(-50%);
  }

  .annotation.right {
    transform: translateX(-50%);
  }

  .powderContainer .annotation:nth-of-type(1) { top: 25% !important; }
  .powderContainer .annotation:nth-of-type(2) { top: 36% !important; }
  .powderContainer .annotation:nth-of-type(3) { top: 47% !important; }
  .powderContainer .annotation:nth-of-type(4) { top: 58% !important; }
  .powderContainer .annotation:nth-of-type(5) { top: 69% !important; }
  .powderContainer .annotation:nth-of-type(6) { top: 80% !important; }

  .heroImage {
    right: 0;
  }

  .btn {
    font-size: 0.92rem;
  }

  .iconContainer {
    width: 106px;
    height: 106px;
  }

  .contact-page {
    width: calc(100% - 12px);
    padding: 16px 6px;
  }

  .order-checkout-page {
    padding: 98px 12px 28px;
  }

  .contact-inner {
    padding: 16px 12px;
  }
}
