/* Reversible still-to-scene wipe in one stable photographic frame. */
.se-moments {
  --moment-ease: cubic-bezier(.45, 0, .25, 1);
  --moment-width: min(100%, max(480px, calc((100svh - 260px) * 16 / 9)));
  padding: 46px var(--se-pad) 0;
  color: var(--se-ink, #191919);
  background: #f2f1ed;
  overflow-anchor: none;
}
.se-moments-heading {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: var(--moment-width);
  margin: 0 auto 24px;
}
.se-moments-heading h2 {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.7vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
}
/* Both titles reserve their full space. The longer moving label must never
   overflow the shorter held label's box or fall underneath the media. */
.se-moments-heading h2 span {
  grid-area: 1 / 1;
  display: block;
  position: static;
  transition: opacity 350ms ease;
}
.se-moment-title-moving { opacity: 0; }
.se-moments.is-moment-playing .se-moment-title-held { opacity: 0; }
.se-moments.is-moment-playing .se-moment-title-moving { opacity: 1; }
.se-moment-instruction {
  flex: 0 0 215px;
  margin: 0;
  color: #44443e;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}
.se-moment-frame {
  position: relative;
  isolation: isolate;
  width: var(--moment-width);
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  background: #f2f1ed;
  touch-action: pan-y;
}
.se-moment-photo, .se-moment-film, .se-moment-activate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.se-moment-photo { display: grid; grid-template-columns: minmax(0, 1fr); }
.se-moment-primary, .se-moment-companion { min-width: 0; min-height: 0; overflow: hidden; }
.se-moment-companion[hidden] { display: none; }
.se-moment-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* A portrait keeps its full height and native proportion; its companion takes
   the remaining width. This produces an even-height photographic diptych. */
.se-moment-frame[data-paired="true"] .se-moment-photo {
  grid-template-columns: minmax(0, calc(var(--moment-primary-ratio, .67) * 56.25%)) minmax(0, 1fr);
  gap: clamp(6px, 1.1vw, 16px);
}
.se-moment-frame[data-paired="true"] .se-moment-primary img { object-fit: contain; }
.se-moment-film {
  z-index: 1;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  background: #151613;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1300ms var(--moment-ease);
}
.se-moments.is-moment-playing .se-moment-film { clip-path: inset(0); }
.se-moments.is-changing .se-moment-film { visibility: hidden; transition: none; }
.se-moment-activate {
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.se-moment-activate:focus-visible { outline: 2px solid #fff; outline-offset: -9px; box-shadow: inset 0 0 0 3px #191919; }
.se-moment-action { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); white-space: nowrap; color: #fff; font-size: 13px; text-decoration: underline; text-underline-offset: 6px; text-shadow: 0 1px 4px #000, 0 1px 12px #000; pointer-events: none; }
.se-moments-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: var(--moment-width); margin: 0 auto; padding-top: 10px; }
.se-moment-previous, .se-moment-next { background: none; border: 0; padding: 12px 0; min-height: 44px; color: inherit; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.se-moment-previous[hidden], .se-moment-next[hidden] { display: none; }
.se-moment-previous:focus-visible, .se-moment-next:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.se-moments-cta { padding: 24px 0 38px; text-align: center; }
.se-moments-cta .se-text-link { display: inline-block; min-height: 44px; padding-top: 12px; font-size: 15px; }
html[data-motion=off] .se-moment-film,
html[data-motion=off] .se-moments-heading h2 span { transition: none; }
@media (max-width:1050px) {
  .se-moment-instruction { flex-basis: 180px; font-size: 12px; }
}
@media (max-width:740px) {
  .se-moments { --moment-width: 100%; padding-top: 30px; }
  .se-moments-heading { display: block; margin-bottom: 22px; }
  .se-moments-heading h2 { font-size: clamp(24px, 6.7vw, 36px); line-height: 1.15; }
  .se-moment-instruction { margin: 12px 0 0; font-size: 12px; text-align: left; }
  .se-moment-action { bottom: 16px; font-size: 12px; }
  .se-moments-foot { align-items: baseline; gap: 20px; padding-top: 6px; }
  .se-moment-previous, .se-moment-next { font-size: 12px; }
  .se-moments-cta { padding: 14px 0 24px; }
  .se-moments-cta .se-text-link { font-size: 14px; }
}
@media (prefers-reduced-motion:reduce) {
  .se-moment-film, .se-moments-heading h2 span { transition: none; }
}
