/*! Happli r9 media + motif */
.r9-watch{padding:clamp(40px,6vw,72px) 0;background:var(--r7-soft,var(--r7-alt,transparent))}
.r9-wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.r9-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:20px}
.r9-k{display:block;font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;opacity:.8}
.r9-head h2{margin:.2em 0 0;font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.15}
.r9-more{font-weight:700;text-decoration:none;white-space:nowrap}
.r9-clips{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.r9-clip{margin:0}
.r9-clip-v{position:relative;overflow:hidden;border-radius:14px;aspect-ratio:9/16;background:#111}
.r9-thumb{position:relative;overflow:hidden}
.r9-clip-v img{width:100%;height:100%;object-fit:cover;display:block}
.r9-clip-v video,.r9-thumb video.r9-prev{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.r9-clip-v video.r9-prev,.r9-thumb video.r9-prev{opacity:0;transition:opacity .4s;pointer-events:none}
.r9-live video.r9-prev{opacity:1}
.r9-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:56px;height:56px;border-radius:50%;border:0;background:rgba(17,17,17,.78);color:#fff;font-size:20px;cursor:pointer;z-index:2}
.r9-play:focus-visible{outline:3px solid #fff;outline-offset:3px}
.r9-full .r9-play{display:none}
.r9-clip figcaption{margin-top:10px;font-weight:600;line-height:1.3}
.r9-fine{margin-top:16px;font-size:.85rem;opacity:.85}
@media (max-width:900px){.r9-clips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.r9-clips{gap:12px}.r9-head{flex-wrap:wrap}}
@media (prefers-reduced-motion:reduce){video.r9-prev{display:none}}
/* subject motion m1 (P4, 11-20): slow camera dolly-in on the hero photo (the subject "approaches"); GPU-cheap transform only,
   off under reduced-motion, gentler on phones. Depth cut-out parallax = next pilot. */
.r7-sel-img,.r7-hero [class*="-photo"],.db-hero-img{overflow:hidden}
@media (prefers-reduced-motion:no-preference){
.r7-sel-img img,.r7-hero [class*="-photo"] img,.db-hero-img img{animation:r9-dolly 16s ease-in-out infinite alternate;transform-origin:50% 42%;will-change:transform}
@keyframes r9-dolly{0%{transform:scale(1) translate3d(0,0,0)}100%{transform:scale(1.09) translate3d(0,-1.2%,0)}}
}
@media (prefers-reduced-motion:no-preference) and (max-width:720px){.r7-sel-img img,.r7-hero [class*="-photo"] img,.db-hero-img img{animation-duration:22s}}
/* legal pages: nested-document clean-up (functions-r9.php) */
.r9-legal{max-width:760px}.r9-legal .inner{max-width:none;padding:0}.r9-legal .updated{opacity:.75;font-size:.9rem}
.r9-legal h2{margin-top:1.6em}.r9-legal .card{border-left:4px solid currentColor;padding:1rem 1.2rem;margin:1rem 0;border-radius:8px;background:rgba(0,0,0,.03)}
/* coordinator 11-20 (John: no particles over images): suppress the r7 motion7 paw band inside photo cards, estate-wide; reversible */
.r7m-paws{display:none!important}

/* niche motif (Pie m1) on the home hero band + the Watch strip */
html body .r7-hero::before,html body .r6-hero:before,html body .db-hero:before,html body .r9-watch{background-image:url('motif-light.svg')}
html body .r9-watch{background-size:200px 200px;background-repeat:repeat}
@media (prefers-color-scheme:dark){html body .r7-hero::before,html body .r6-hero:before,html body .db-hero:before,html body .r9-watch{background-image:url('motif-dark.svg')}}
