/* Maquetación del cierre del recorrido. Mantiene la animación como capa independiente. */
.wesito-full-night.motion-story {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: clamp(620px, 90svh, 1060px);
  padding: clamp(96px, 11svh, 150px) 7.2vw clamp(52px, 9svh, 112px);
  margin: 0;
  border-radius: 0;
  background: #3a1519;
  color: #fff5e6;
  isolation: isolate;
}
.wesito-full-night.motion-story::before {
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgb(31 10 13 / .95), rgb(45 12 16 / .75) 29%, rgb(45 12 16 / .27) 54%, transparent 75%),
              linear-gradient(0deg, rgb(36 8 9 / .33), transparent 28%);
}
.wesito-full-night .motion-heading,
.wesito-full-night:target .motion-heading {
  z-index: 3;
  max-width: min(55vw, 840px);
  opacity: 1;
  filter: none;
  translate: none;
}
.wesito-full-night .motion-heading .eyebrow {
  width: fit-content;
  padding: 0;
  margin: 0 0 .85rem;
  background: none;
  color: #ffe8cf;
  font-size: clamp(.8rem, 1vw, .95rem);
  font-weight: 700;
  letter-spacing: .16em;
}
.wesito-full-night .motion-heading h2 {
  max-width: unset;
  margin: 0;
  color: inherit;
  font: 600 clamp(3.8rem, 7.15vw, 8.9rem)/.9 Fraunces, Georgia, serif;
  letter-spacing: -.064em;
  text-wrap: balance;
}
.wesito-full-night .motion-heading h2 span { color: #ffd8b5; }
.wesito-full-night .night-line {
  margin: 1.25rem 0 0;
  color: #fff5e6;
  font-size: clamp(1rem, 1.65vw, 1.45rem);
}
.wesito-full-night.story-durmiendo .motion-stage.wesito-night-set {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  margin: 0;
  border-radius: 0;
  aspect-ratio: auto;
  background-position: 60% 59%;
  z-index: 1;
}
.wesito-full-night.story-durmiendo .motion-stage.wesito-night-set .motion-clip {
  top: 63%;
  left: 73%;
  width: clamp(420px, 54vw, 1040px);
  height: auto;
  max-height: none;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: translate(-50%, -50%);
}
@media (max-width: 740px) {
  .wesito-full-night.motion-story {
    align-items: start;
    min-height: max(620px, 92svh);
    padding: clamp(95px, 15svh, 132px) 7vw 42px;
  }
  .wesito-full-night.motion-story::before {
    background: linear-gradient(180deg, rgb(43 13 18 / .87), rgb(44 14 21 / .69) 28%, transparent 59%, transparent 84%, rgb(43 13 18 / .18));
  }
  .wesito-full-night .motion-heading,
  .wesito-full-night:target .motion-heading { max-width: 100%; }
  .wesito-full-night .motion-heading h2 {
    font-size: clamp(2.75rem, 10.9vw, 5.2rem);
    line-height: .93;
  }
  .wesito-full-night .night-line { margin-top: .8rem; }
  .wesito-full-night.story-durmiendo .motion-stage.wesito-night-set { background-position: 56% 57%; }
  .wesito-full-night.story-durmiendo .motion-stage.wesito-night-set .motion-clip {
    left: 51%;
    top: 67%;
    width: min(100%, 625px);
  }
}
