.top-love-strip {
  --love-period: calc(470 * var(--top-u));
  position: relative;
  overflow: clip;
  background: var(--orange);
}

.home-marquee__love-track {
  display: flex;
  width: calc(100% + var(--love-period));
  height: 100%;
  overflow: clip;
  animation: home-love-scroll 7s linear infinite;
}

/* A full phrase and heart from the original artwork. Both edges land in the orange gap. */
.home-marquee__love-tile {
  flex: 0 0 var(--love-period);
  background: url("assets/fusion-strip.webp") calc(-460 * var(--top-u)) center /
    calc(3206 * var(--top-u)) 100% no-repeat;
}

@keyframes home-love-scroll {
  to {
    transform: translateX(calc(-1 * var(--love-period)));
  }
}

.home-marquee__together-track {
  position: absolute;
  top: 48%;
  left: 0;
  display: flex;
  width: max-content;
  min-width: 200%;
  translate: 0 -50%;
  white-space: nowrap;
  font-size: 280px;
  letter-spacing: .06em;
  line-height: 1;
  animation: home-together-scroll 34s linear infinite;
}

.home-marquee__together-group {
  display: flex;
  flex: 1 0 auto;
  justify-content: space-around;
  gap: .7em;
  padding-inline-end: .7em;
}

.home-marquee__together-extra {
  display: none;
}

@keyframes home-together-scroll {
  to {
    transform: translateX(-50%);
  }
}

.youme-share {
  --share-row-height: max(126px, calc((646px + 14vw) / 11));
  --share-overhang: 144px;
  --share-duration: 104s;
  --share-font-size: 120px;
}

.youme-share__still {
  display: none;
}

.youme-share__rows {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-auto-rows: var(--share-row-height);
  width: calc(100% + var(--share-overhang));
  transform: translate(-50%, -50%) rotate(-8deg);
  color: var(--orange);
  font: var(--share-font-size) / 1 var(--display);
  letter-spacing: .057em;
  text-transform: uppercase;
  user-select: none;
}

.youme-share__row {
  min-width: 0;
  overflow: clip;
}

.youme-share__track,
.youme-share__group,
.youme-share__tile {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.youme-share__track {
  width: max-content;
  height: 100%;
  animation: home-share-scroll var(--share-duration) linear infinite;
}

.youme-share__group {
  flex: none;
  justify-content: space-around;
  min-width: calc(100vw + var(--share-overhang));
}

.youme-share__tile {
  flex: none;
  gap: .46em;
  padding-inline-end: .46em;
}

.youme-share__heart {
  flex: none;
  width: 1.17em;
  height: .69em;
  background: var(--ink);
  mask: url("assets/logo-travelling.webp") center / contain no-repeat;
}

.youme-share__row:nth-child(odd) .youme-share__track {
  animation-direction: reverse;
}

.youme-share__row:nth-child(odd) .youme-share__tile:nth-child(even),
.youme-share__row:nth-child(even) .youme-share__tile:nth-child(odd) {
  color: transparent;
  -webkit-text-stroke: .015em var(--orange);
}

.youme-share__row:nth-child(3n) .youme-share__track {
  animation-delay: -8s;
}

.youme-share__row:nth-child(3n + 1) .youme-share__track {
  animation-delay: -16s;
}

@keyframes home-share-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reserve-location {
  transition: color .2s ease;
}

@media (hover: hover) {
  .reserve-location:hover {
    color: var(--orange);
  }
}

.reserve-location:active {
  color: var(--orange);
}

@media (min-width: 4400px) {
  .home-marquee__together-track {
    animation-duration: 68s;
  }

  .home-marquee__together-extra {
    display: inline;
  }
}

@media (max-width: 767px) {
  .home-marquee__together-track {
    font-size: calc(84 * var(--mobile-unit));
    animation-duration: 17s;
  }

  .youme-share {
    --share-unit: min(1px, 100vw / 480);
    --share-row-height: calc(75 * var(--share-unit));
    --share-overhang: 96px;
    --share-duration: 84s;
    --share-font-size: calc(70 * var(--share-unit));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee__love-track,
  .home-marquee__together-track {
    animation: none;
  }

  .home-marquee__together-track {
    width: 100%;
    min-width: 0;
    font-size: min(205px, 7vw);
  }

  .home-marquee__together-group {
    justify-content: center;
    padding-inline-end: 0;
  }

  .home-marquee__together-group + .home-marquee__together-group,
  .home-marquee__together-extra {
    display: none;
  }

  .youme-share__rows {
    display: none;
  }

  .youme-share__still {
    display: block;
  }

  .reserve-location {
    transition: none;
  }
}
