/* LAVAN Viewing and purchase motion (B, Lenval footer; user choice 2026-10-16). Static layout stays in index.html. */

/* Until fonts are ready (same window as the hero's wait) the text is not shown in its final state. */
html.hero-pending .closing .closing-head,
html.hero-pending .closing .closing-details,
html.hero-pending .closing .closing-footer { visibility: hidden; }

/* Ownership stays above while the photo comes out from under it. Same ground colour, static rendering unchanged. */
.ownership { position: relative; z-index: 1; background: var(--ground); }

/* Footer rule: drawn by a span while animating (the static ::before is hidden meanwhile). */
.closing-footer.cf-run::before { opacity: 0; }
.cf-rule {
  position: absolute; top: 0; inset-inline: var(--pad-x); height: 1px; pointer-events: none;
  background: var(--closing-rule);
  clip-path: inset(0 calc((100% + 1px) * (1 - var(--cf-p, 1))) 0 0);
}
