/* Public motion (David N-020/N-021, 2026-11-13; Visual Director motion-direction.txt), amended
   2026-11-14 and by the Visual Director's revisions R1-R7, R9 and R11: a price or money figure
   never moves; a listing row, card or result is never delayed, faded or hidden; everything is readable at
   first paint and with scripts off. */

/* GUARD. Always on, with or without script, whatever the motion preference. It only REMOVES
   motion that style.css already gives on Roney pages: the quote result, the "not available"
   notice and the other-residences list of a residence page, an opened listing detail row, the
   search form of the Roney home at its first frame (R4), the hop of a card that holds a price
   under the pointer (R6; R11: also the other-residences cards under a refused quote and the
   MLS cards of the list beside the map, also when their map pin is pointed at), and the 2px
   lift of the residence-page quote box, which holds the money lines of a quote, under the
   pointer and while a field inside it has the focus (R9; its border colour and shadow still
   answer). */
html body.site-selected-design.brand-roney #quoteResult:not([style*="display:none"]),
html body.site-selected-design.brand-roney #quoteUnavailable:not([style*="display:none"]),
html body.site-selected-design.brand-roney #alternativesSection:not([style*="display:none"]),
html body.site-selected-design.brand-roney #listings .listing-detail-row:not([hidden]),
html body.site-selected-design.brand-roney.home-selected-design #listings details[open] > .featured-listings-disclosure-body { animation: none; }
html body:not(#mo-guard) #listings .listing-card:hover,
html body:not(#mo-guard) .mls-grid .mls-card:hover,
html body:not(#mo-guard) #quoteAlternatives .card:hover,
html body:not(#mo-guard) #mlsWorkspaceList .mls-card:hover,
html body:not(#mo-guard) #mlsWorkspaceList .mls-card.is-hover,
html body.site-selected-design.brand-roney:not(.home-selected-design):not(#mo-guard) .unit-quote:hover,
html body.site-selected-design.brand-roney:not(.home-selected-design):not(#mo-guard) .unit-quote:focus-within { transform: none; }

/* PLACE KEEPER (R1). html.mo-js = scripts are on (motion.js, any motion preference). The date
   hint line keeps its place, invisible, from the first frame; listings.js then only makes it
   visible, so the price table below it does not jump. Scripts off: no class, nothing changes. */
html.mo-js #listings .stay-auto-line[hidden] { display: block; visibility: hidden; }
html.mo-js #listings .stay-auto-line[hidden] > .stay-auto-hint[hidden] { display: inline; }

/* MOTION. Every rule needs html.mo, which only motion.js sets, and only after it confirmed
   support and no reduced-motion request. No script or reduced motion = today's page.
   Only transform and opacity animate; fill-mode backwards; one iteration; no loop. */
@media (prefers-reduced-motion: no-preference) {
@keyframes mo-rise { from { opacity: 0; transform: translateY(12px); } }

/* M1 the opener, first arrival only (one full rule per beat, so no selector specificity can
   drop a delay). Today .hero-actions is display:none on both home pages, so the opener has
   three beats on Roney (kicker 0, headline 80, deck 160 ms; last frame 720ms) and ONE beat on
   XLS: the navy plate with its words, as one piece (last frame 480ms; R2, composed look). */
html.mo.mo-enter .home-command-hero .hero-positioning > .hero-eyebrow { animation: mo-rise 480ms cubic-bezier(.2,.7,.2,1) backwards; }
html.mo.mo-enter .home-command-hero .hero-positioning > h1 { animation: mo-rise 480ms cubic-bezier(.2,.7,.2,1) 80ms backwards; }
html.mo.mo-enter .home-command-hero .hero-positioning > .hero-compact-lede { animation: mo-rise 480ms cubic-bezier(.2,.7,.2,1) 160ms backwards; }
html.mo.mo-enter .home-command-hero .hero-positioning > .hero-actions { animation: mo-rise 480ms cubic-bezier(.2,.7,.2,1) 240ms backwards; }
html.mo.mo-enter .home-command-hero .hero-positioning.xls-hero-positioning { animation: mo-rise 480ms cubic-bezier(.2,.7,.2,1) backwards; }
html.mo.mo-enter .home-command-hero .hero-positioning.xls-hero-positioning > .hero-eyebrow,
html.mo.mo-enter .home-command-hero .hero-positioning.xls-hero-positioning > h1,
html.mo.mo-enter .home-command-hero .hero-positioning.xls-hero-positioning > .hero-compact-lede,
html.mo.mo-enter .home-command-hero .hero-positioning.xls-hero-positioning > .hero-actions { animation: none; }

/* M4 card photo zoom on hover calmed to 1.02 (declared reduction of 1.05 / 1.06) */
@media (hover: hover) {
    html.mo .card .photo,
    html.mo .mls-card-media .photo { transition: transform 200ms cubic-bezier(.4,0,.2,1); }
    html.mo .card:hover .photo,
    html.mo .mls-grid .mls-card:hover .photo { transform: scale(1.02); }
}

/* M5 one yellow line draws under "Check availability" on hover or keyboard focus; under the
   words only (the table link has 14px side padding, R5) */
html.mo #listings .home-row-action a,
html.mo #listings .listing-card-primary { position: relative; }
html.mo #listings .home-row-action a::after,
html.mo #listings .listing-card-primary::after {
    content: ""; position: absolute; left: 0; right: 0; top: calc(50% + .62em); height: 2px;
    background: #F2C94C; pointer-events: none;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 200ms cubic-bezier(.4,0,.2,1);
}
html.mo #listings .home-row-action a::after { left: 14px; right: 14px; top: calc(50% + .72em); }
@media (hover: hover) {
    html.mo #listings .home-row-action a:hover::after,
    html.mo #listings .listing-card-link:hover .listing-card-primary::after { transform: scaleX(1); }
}
html.mo #listings .home-row-action a:focus-visible::after,
html.mo #listings .listing-card-link:focus-visible .listing-card-primary::after { transform: scaleX(1); }
}
