/* Additive campaign-film layer. Existing campaign images remain the fallback. */
.hero-type .hero-brand-line {
  font-size: clamp(50px, 5vw, 78px);
}

.hero-brand-line span {
  white-space: nowrap;
}

.motion-film {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms var(--ease);
}

.motion-film.is-ready {
  opacity: 1;
}

.hero-jewel-caption,
.celeste-campaign > div,
.motion-editorial-copy {
  z-index: 2;
}

.motion-editorial {
  padding: 0 0 clamp(64px, 6vw, 92px);
}

/*
 * The film: the Classic Solitaire Ring on white marble in morning sun, made again on 15 October 2026 from the
 * approved still AR-0235 (the owner, of the ring film on black that stood here: "the video has black bg we should
 * not use it no black bg can we regenrate with higsfield field but a lot better than this similar lines"; the
 * client's rule of the same day: no black in any picture). Its first take barely moved ("the generated higsfield
 * video is static looking bad"), so the second has the shadows of leaves moving across the marble in a breeze. The
 * camera is locked; the push to 1.03 and back was made in the edit, and 4.4 s of the take runs forward and back
 * (its later frames reflect a green leaf in the band), so the film loops with no seam.
 *
 *   wide   the band is the film's own marble. The film stands in the right seven tenths of it, whole: the band is
 *          as tall as the film is at that width, so neither its sides nor its head and foot are cut, and the ring
 *          (9-91% of the frame's width, 7.7-93% at the push's height) is never at an edge. Its left edge is let
 *          out into the marble over 4% of its width, short of the ring. The words stand on the marble beside it, in
 *          charcoal: nothing is laid over the ring, and nothing on the page zooms it.
 *   under 1100px  the film across the top, whole at its own 16:9: a 3:2 box cut the film's sides, and at the
 *          push the ring's shank met both edges of a phone. Its foot let out into the band's ground, and the words
 *          under it on the same ground.
 */
.motion-editorial-frame {
  --film-band: clamp(420px, 39vw, 86vh);
  position: relative;
  height: var(--film-band);
  overflow: hidden;
  background: #ebebea; /* the film's own ground (its left edge), so the band has no edge where the film ends */
  isolation: isolate;
  container-type: inline-size;
}

.motion-editorial-frame > img,
.motion-editorial-frame > .motion-film {
  inset: 0 0 0 auto;
  /* Never wider than the film is at the band's height, so the ring is never cut at its head or its foot. */
  width: min(70%, var(--film-band) * 16 / 9);
  object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%);
  mask-image: linear-gradient(90deg, transparent 0, #000 4%);
}

.motion-editorial-frame > img {
  position: absolute;
  height: 100%;
  object-fit: cover;
}

.motion-editorial-copy {
  position: absolute;
  top: 50%;
  left: max(4.5cqw, (100cqw - 1680px) / 2);
  width: 27cqw;
  transform: translateY(-50%);
  color: var(--charcoal);
}

.motion-editorial-copy > span {
  display: block;
  margin-bottom: clamp(14px, 1.4cqw, 28px);
  font-size: clamp(12px, .3vw + 8px, 14px);
  letter-spacing: .16em;
}

.motion-editorial-copy h2 {
  margin-bottom: clamp(16px, 1.6cqw, 32px);
  font-size: clamp(34px, 5.2cqw, 104px);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.045em;
}

.motion-editorial-copy p {
  max-width: 30ch;
  font-size: clamp(14px, .5vw + 7.5px, 18px);
  line-height: 1.7;
}

.motion-editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: clamp(14px, 1.4cqw, 28px);
  border-bottom: 1px solid rgb(43 43 45 / .5);
  color: var(--charcoal);
  font-size: clamp(14px, .5vw + 7.5px, 18px);
}

.motion-editorial-link .icon {
  transition: transform .3s var(--ease);
}

.motion-editorial-link:hover .icon {
  transform: translateX(5px);
}

.motion-editorial-link:focus-visible {
  outline-color: var(--charcoal);
}

body[data-motion='reduced'] .motion-film {
  display: none;
}

@media (max-width: 767px) {
  .hero-type .hero-brand-line {
    font-size: 42px;
    letter-spacing: -.055em;
    line-height: .96;
  }

  .hero-jewel .motion-film {
    left: 50%;
    width: 50%;
    object-position: center 62%;
  }
}

@media (max-width: 1099px) {
  .motion-editorial {
    padding-bottom: 54px;
  }

  .motion-editorial-frame {
    --film-height: 56.25vw;
    height: auto;
    padding-bottom: 30px;
  }

  .motion-editorial-frame > img,
  .motion-editorial-frame > .motion-film {
    inset: 0 0 auto;
    width: 100%;
    height: var(--film-height);
    /* Its foot let out into the ground, below the claws (82% of its height). */
    -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent);
    mask-image: linear-gradient(180deg, #000 90%, transparent);
  }

  .motion-editorial-frame > img {
    position: static;
    display: block;
  }

  .motion-editorial-copy {
    position: static;
    width: auto;
    padding: 20px 20px 0;
    transform: none;
  }

  .motion-editorial-copy > span {
    margin-bottom: 11px;
    font-size: 12px;
  }

  /* Two lines under the film: the breaks are for the tall column of type beside it on a wide screen. */
  .motion-editorial-copy h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 10vw, 44px);
  }

  .motion-editorial-copy h2 br:last-of-type {
    display: none;
  }

  .motion-editorial-copy p {
    max-width: 34ch;
    font-size: 14px;
    line-height: 1.7;
  }

  .motion-editorial-link {
    margin-top: 12px;
    font-size: 14px;
  }
}

@media (max-width: 374px) {
  .hero-type .hero-brand-line {
    font-size: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-film {
    display: none;
    transition: none;
  }
}
