/* This composition and its motion are deliberately scoped to FLOW. */
.footer-flow {
  --flow-ease: cubic-bezier(.16, 1, .3, 1);
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 40vw minmax(0, 1fr);
  align-items: center;
  column-gap: 11.4vw;
  padding: 0 9.3vw 0 9vw;
  color: var(--_colors---base-1000--primary, #f3f0e8);
}
.loc-w--has-flow { position: relative; }
.loc-w--has-flow > .footer-flow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  transform: translateY(-clamp(7rem, 18vh, 11rem));
}
.footer-flow_label {
  justify-self: start;
  align-self: center;
  perspective: 1000px;
}
.footer-flow_label_word {
  display: inline-flex;
  position: relative;
  pointer-events: auto;
  font-family: "Bodoni MT", Didot, "Times New Roman", serif;
  font-size: clamp(100px, 11.4vw, 230px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .095em;
  white-space: nowrap;
}
.footer-flow_label_line { display: none; }
.footer-flow_char {
  display: inline-block;
  transform-origin: 50% 100%;
  backface-visibility: hidden;
}
.footer-flow_label_word > .footer-flow_char:last-child { letter-spacing: 0; }
.footer-flow_steps {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2.5vh, 28px);
}
.footer-flow_step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2.4vh, 26px);
  perspective: 900px;
}
.footer-flow_step h3 {
  margin: 0;
  color: inherit;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-size: clamp(24px, 2.5vw, 50px);
  font-weight: 400;
  letter-spacing: .035em;
  line-height: 1.4;
  white-space: nowrap;
}
.footer-flow_arrow {
  position: relative;
  display: block;
  width: clamp(20px, 1.8vw, 34px);
  height: clamp(14px, 1.2vw, 23px);
  margin-left: .12em;
  color: transparent;
  font-size: 0;
}
.footer-flow_arrow::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 12%;
  width: 64%;
  aspect-ratio: 1;
  border-right: 3px solid #A88A62;
  border-bottom: 3px solid #A88A62;
  transform: rotate(45deg);
}
/* Only an observed entrance arms the choreography; content is visible without JS. */
.footer-flow--split:not(.footer-flow--visible) .footer-flow_char,
.footer-flow--split:not(.footer-flow--visible) .footer-flow_arrow { opacity: 0; }
.footer-flow--visible .footer-flow_label_word .footer-flow_char {
  animation: flow-title-arrive 1.9s var(--flow-ease) var(--footer-flow-char-delay) both;
}
.footer-flow--visible .footer-flow_step .footer-flow_char {
  animation: flow-type-arrive 1.4s var(--flow-ease) var(--footer-flow-char-delay) both;
}
.footer-flow--visible .footer-flow_arrow {
  animation: flow-arrow-arrive .95s var(--flow-ease) var(--footer-flow-arrow-delay) both;
}
.footer-flow--visible .footer-flow_arrow::after {
  animation: flow-arrow-light 1.4s ease-out var(--footer-flow-arrow-delay) both;
}
@keyframes flow-title-arrive {
  0% { opacity: 0; filter: blur(12px); transform: translate3d(-.12em, .65em, 0) rotateX(38deg) rotateZ(5deg) scale(.94); }
  48% { opacity: 1; }
  75% { filter: blur(0); }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateX(0) rotateZ(0) scale(1); }
}
@keyframes flow-type-arrive {
  0% { opacity: 0; filter: blur(6px); transform: translate3d(.2em, .75em, 0) rotateX(-32deg); }
  55% { opacity: 1; }
  100% { opacity: 1; filter: blur(0); transform: translate3d(0, 0, 0) rotateX(0); }
}
@keyframes flow-arrow-arrive {
  0% { opacity: 0; clip-path: inset(0 0 100% 0); transform: translate3d(0, -10px, 0); }
  55% { opacity: 1; clip-path: inset(0 0 -10px 0); }
  100% { opacity: 1; clip-path: inset(-10px); transform: translate3d(0, 0, 0); }
}
@keyframes flow-arrow-light {
  0% { filter: drop-shadow(0 0 0 transparent); border-color: #A88A62; }
  40% { filter: drop-shadow(0 0 7px #A88A62); border-color: #A88A62; }
  100% { filter: drop-shadow(0 0 0 transparent); border-color: #A88A62; }
}
@media screen and (max-width: 991px) {
  .footer-flow {
    grid-template-columns: 1fr;
    align-content: center;
    row-gap: clamp(28px, 5vh, 48px);
    padding: 0 9vw;
  }
  .loc-w--has-flow > .footer-flow { transform: translateY(-clamp(3rem, 8vh, 5rem)); }
  .footer-flow_label_word { font-size: clamp(76px, 16vw, 150px); }
  .footer-flow_steps { gap: clamp(12px, 2vh, 20px); }
  .footer-flow_step { gap: clamp(9px, 1.6vh, 16px); }
  .footer-flow_step h3 { font-size: clamp(19px, 4.7vw, 32px); }
  .footer-flow_arrow { width: 20px; height: 13px; }
  .footer-flow_arrow::after { border-width: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-flow.footer-flow--split .footer-flow_char,
  .footer-flow.footer-flow--split .footer-flow_arrow,
  .footer-flow.footer-flow--split .footer-flow_arrow::after {
    animation: none;
    opacity: 1;
    filter: none;
    clip-path: none;
  }
}
