/* =================================================================
   BULKUP.US — Responsive breakpoints
   ================================================================= */

/* ---------- ≤1024px ---------- */
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); }

  .strip__inner { grid-template-columns: 1fr; gap: 28px; }
  .strip__title {
    border-right: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 20px;
  }
  .strip__title .strip__line { display: inline; }
  .strip__items { grid-template-columns: repeat(2, 1fr); }

  .benefits__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .benefit:nth-child(3) { border-left: 0; }

  .quality__row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .qbadge:nth-child(4) { border-left: 0; }
}

/* ---------- ≤880px ---------- */
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  /* mobile hero: text overlays the photo as one unit; a white fade at the
     top keeps the headline legible, the athlete shows through below */
  .hero { position: relative; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; padding-block: 0; }
  .hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
  /* fade only the bottom, where the text sits — the face stays clear */
  .hero__media::before {
    display: block;
    content: "";
    position: absolute;
    inset: 0;
    width: 100%;
    background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.85) 22%,
      rgba(255, 255, 255, 0.25) 42%,
      rgba(255, 255, 255, 0) 60%);
    z-index: 1;
  }
  .hero__img { height: 100%; width: 100%; object-fit: cover; object-position: 72% top; }

  .hero__content {
    position: relative;
    z-index: 2;
    min-height: 640px;
    padding-top: 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }
  /* brand line floats partway up the empty flag area on the left;
     headline + CTA stay anchored at the photo's end. Smaller + tighter
     on mobile so it clears the model's face, with a soft white glow
     for legibility over the flag stripes. */
  .hero__content > .eyebrow {
    margin-top: auto;
    font-size: 0.85rem;
    letter-spacing: 0.11em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 22px rgba(255, 255, 255, 0.7);
  }
  .hero__content > .hero__title { margin-top: auto; }
  /* less text on mobile: headline + CTA carry the message */
  .hero__lede, .hero__steps { display: none; }
  .eyebrow { margin-bottom: 10px; }

  .hero__badges {
    position: relative;
    z-index: 2;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
    margin-top: 18px;
    width: calc(100% + var(--gutter) * 2);
    margin-inline: calc(var(--gutter) * -1);
    padding: 18px var(--gutter) 20px;
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(4px);
    border-top: 0;
  }
  /* compact badges on mobile: two only, icon + title */
  .hbadge__sub { display: none; }
  .hbadge { grid-template-rows: auto auto; justify-items: start; }
  .hbadge__icon { width: 24px; height: 24px; margin-bottom: 2px; }
  .hero__badges .hbadge:nth-child(3),
  .hero__badges .hbadge:nth-child(4) { display: none; }
  /* fluid title so the nowrap lines never exceed the viewport */
  .hero__title { font-size: clamp(1.35rem, 6.9vw, 2.7rem); }
  .strip__title { font-size: 1rem; }

  .calc__card { grid-template-columns: 1fr; }
  .calc__goals { grid-template-columns: repeat(2, 1fr); }

  .feature__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media { min-height: 260px; }

  .band { min-height: 260px; }

  .how__steps { grid-template-columns: 1fr; }
  .edu__grid { grid-template-columns: 1fr; gap: 22px; }

  .mobilecta { display: block; }
  /* keep the support bubble clear of the sticky CTA bar */
  .support { bottom: calc(76px + env(safe-area-inset-bottom)); }

  .cta__media {
    position: relative;
    width: 100%;
    height: 220px;
  }
  .cta__media::after {
    background: linear-gradient(180deg, transparent 40%, var(--black) 96%);
  }
  .cta__inner { justify-content: flex-start; padding-top: 28px; }
}

/* ---------- ≤560px ---------- */
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; }

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

  .benefits__grid { grid-template-columns: 1fr; }
  .benefit { border-left: 0; padding-inline: 0; }

  .quality__row { grid-template-columns: repeat(2, 1fr); }
  .qbadge { border-left: 0; }

  .calc__row { flex-direction: column; }
  .calc__units { justify-content: stretch; }
  .calc__unit { flex: 1; }

  .cta__points { flex-direction: column; gap: 12px; }

  .ifields { grid-template-columns: 1fr; }
  .ichoices { grid-template-columns: 1fr; }
  .ichoices--row { grid-template-columns: 1fr; }
  .providers { grid-template-columns: 1fr; }
}
