/* The existing four care steps, composed as Beyond Club portrait panels. */
.phone-first #programme .scene-main {
  display: block;
  max-width: 1320px;
  margin-inline: auto;
}

.phone-first #programme .scene-copy {
  width: min(100%, 760px);
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.phone-first #programme .scene-copy h2 {
  margin-inline: auto;
  max-width: 14ch;
}

.phone-first #programme .scene-copy .lead {
  max-width: 55ch;
  margin: 0 auto 16px;
}

.phone-first #programme .care-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0 0 50px;
  list-style: none;
}

.phone-first #programme .care-sequence > li {
  position: relative;
  top: 0;
  min-width: 0;
  min-height: clamp(400px, 36vw, 490px) !important;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #ddcfb6;
  color: #fff;
}

.phone-first #programme .care-sequence > li:nth-child(even) {
  top: 40px;
}

.phone-first #programme .care-sequence > li::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #452f0908 0%, #452f0900 28%, #452f09b8 52%, #452f09f5 100%);
}

.phone-first #programme .care-sequence > li:nth-child(2)::after {
  background: linear-gradient(180deg, #4b2a2000 20%, #4b2a20b8 52%, #4b2a20f5 100%);
}

.phone-first #programme .care-sequence > li:nth-child(4)::after {
  background: linear-gradient(180deg, #452f0900 24%, #452f09b8 52%, #452f09f5 100%);
}

.phone-first #programme .care-sequence .care-image {
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  mask-image: none;
  -webkit-mask-image: none;
}

/* Each editorial panel uses one quadrant of the original, unstretched photo. */
.phone-first #programme .care-image.editorial-photo::before {
  top: 0;
  left: 50%;
  width: auto;
  height: 200%;
  aspect-ratio: 1;
  background-size: cover;
}

.phone-first #programme .care-image.photo-assessment::before {
  transform: translateX(-75%);
}

.phone-first #programme .care-image.photo-followup::before {
  transform: translate(-25%, -50%);
}

.phone-first #programme .care-sequence > li > span {
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 48px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #ffffff66;
  border-radius: 99px;
  background: #ffffffdf;
  color: #6f4c0f;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.phone-first #programme .care-sequence > li > div:not(.care-image) {
  bottom: 28px;
  left: 25px;
  right: 22px;
  z-index: 2;
}

.phone-first #programme .care-sequence h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(23px, 2.1vw, 32px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
}

.phone-first #programme .care-sequence p {
  max-width: 26ch;
  margin: 0;
  color: #f8f5ef;
  font-size: 14px;
  line-height: 1.6;
}

.phone-first .film-heading {
  background: #6f4c0f;
  color: #fff;
}

.phone-first .film-heading h2,
.phone-first .film-heading .eyebrow {
  color: #fff;
}

.phone-first .film-heading > p:last-child {
  color: #f0eadf;
}

.body-fallback {
  background: radial-gradient(#ddcfb6, transparent 70%);
}

@media (max-width: 1050px) and (orientation: landscape) {
  .phone-first #programme .care-sequence {
    gap: 12px;
  }

  .phone-first #programme .care-sequence > li > div:not(.care-image) {
    left: 18px;
    right: 16px;
    bottom: 24px;
  }

  .phone-first #programme .care-sequence h3 {
    font-size: 23px;
  }

  .phone-first #programme .care-sequence p {
    font-size: 13px;
  }
}

/* On phones, each care step reads as one image-and-copy row in sequence. */
@media (max-width: 799px), (orientation: portrait) {
  .phone-first #programme .scene-copy {
    margin: 0 0 28px;
    text-align: left;
  }

  .phone-first #programme .scene-copy h2 {
    max-width: 14ch;
    margin-inline: 0;
    font-size: clamp(36px, 9.7vw, 60px);
  }

  .phone-first #programme .scene-copy .lead {
    margin-inline: 0;
    font-size: 14px;
    line-height: 1.65;
  }

  .phone-first #programme .care-sequence {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 0;
  }

  .phone-first #programme .care-sequence > li,
  .phone-first #programme .care-sequence > li:nth-child(even) {
    top: 0;
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: stretch;
    gap: 0;
    min-height: 168px !important;
    padding: 0;
    border-radius: 20px;
    background: #f5f0e9;
    color: #6f4c0f;
    transform: none !important;
  }

  .phone-first #programme .care-sequence > li::after {
    display: none;
  }

  .phone-first #programme .care-sequence .care-image {
    position: relative !important;
    inset: auto;
    grid-column: 1;
    grid-row: 1 / 3;
    align-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .phone-first #programme .care-sequence > li > span {
    position: relative;
    top: auto;
    left: auto;
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: auto;
    min-width: 0;
    height: auto;
    margin: 17px 16px 9px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #865b12;
    font-size: 10px;
    line-height: 1.2;
    letter-spacing: .06em;
    backdrop-filter: none;
  }

  .phone-first #programme .care-sequence > li > div:not(.care-image) {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    padding: 0 16px 20px;
  }

  .phone-first #programme .care-sequence h3 {
    max-width: none;
    margin: 0 0 9px;
    color: #6f4c0f;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.14;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
  }

  .phone-first #programme .care-sequence p {
    max-width: none;
    margin: 0;
    color: #786139;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .phone-first .film-heading {
    border-radius: 24px 24px 0 0;
  }
}

/* Portrait tablets keep the same reading order with roomier photography. */
@media (min-width: 600px) and (orientation: portrait) {
  .phone-first #programme .care-sequence > li {
    min-height: 220px !important;
  }

  .phone-first #programme .care-sequence .care-image {
    min-height: 220px;
  }

  .phone-first #programme .care-sequence > li > span {
    margin: 25px 26px 12px;
    font-size: 11px;
  }

  .phone-first #programme .care-sequence > li > div:not(.care-image) {
    padding: 0 26px 28px;
  }

  .phone-first #programme .care-sequence h3 {
    font-size: clamp(25px, 3.8vw, 34px);
  }

  .phone-first #programme .care-sequence p {
    max-width: 36ch;
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .phone-first #programme .care-sequence > li:nth-child(even) {
    top: 0;
  }
}

.motion-off #programme .care-sequence > li:nth-child(even) {
  top: 0;
}
