/* The approved animation is part of the hero, not a framed media player. */
.refresh-home .hero{overflow:hidden;background:var(--paper)}
.refresh-home .hero-grid{grid-template-columns:1fr 1.08fr;gap:10px;min-height:458px;padding:38px 0 40px;align-items:center}
.refresh-home .hero-copy{position:relative;z-index:2}
.hero-motion{position:relative;min-width:0;margin:0 -48px 0 -24px;align-self:center}
.hero-motion-scene{position:relative;aspect-ratio:7/4;width:100%;background:var(--paper);isolation:isolate}
.hero-motion-scene>img,.hero-motion-scene>video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;object-position:center;border:0;border-radius:0;box-shadow:none}
.hero-motion-scene>img{z-index:0}
.hero-motion-scene>video{z-index:1;opacity:1;transition:opacity .2s ease;background:transparent}
.hero-motion.is-ready .hero-motion-scene>video{opacity:1}
.hero-motion-scene::after{content:"";position:absolute;inset:-1px;z-index:2;pointer-events:none;background:linear-gradient(90deg,var(--paper) 0%,rgba(244,241,232,0) 13%,rgba(244,241,232,0) 91%,var(--paper) 100%),linear-gradient(180deg,var(--paper) 0%,rgba(244,241,232,0) 9%,rgba(244,241,232,0) 83%,var(--paper) 100%)}
.hero-motion-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 40px 0 28px;color:var(--muted);font:12px/1.5 Arial,sans-serif}
.hero-motion-meta a{color:var(--green-deep);text-decoration:none;text-underline-offset:4px;padding:9px 0;min-height:44px;display:flex;align-items:center}
.hero-motion-meta a:hover{text-decoration:underline}
.hero-motion-controls{display:flex;gap:15px;align-items:center;flex:none}
.hero-motion-controls[hidden]{display:none}
.hero-motion-controls button{appearance:none;border:0;border-bottom:1px solid transparent;background:transparent;border-radius:0;box-shadow:none;color:var(--muted);font:12px/1.5 Arial,sans-serif;cursor:pointer;min-height:44px;padding:8px 0;white-space:nowrap}
.hero-motion-controls button:hover{color:var(--green-deep);border-bottom-color:var(--bronze)}
.hero-motion-controls button:focus-visible{outline:3px solid var(--bronze);outline-offset:4px}
.hero-motion-status{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1440px){.hero-motion{margin-right:-84px;margin-left:-24px}}
@media(max-width:1000px){.refresh-home .hero-grid{grid-template-columns:1fr 1fr;gap:12px;min-height:420px}.hero-motion{margin:0 -36px 0 -16px}.hero-motion-meta{margin:0 26px 0 18px;flex-wrap:wrap;gap:0}.hero-motion-controls{gap:18px}}
@media(max-width:650px){.refresh-home .hero-grid{display:flex;gap:22px;padding:32px 0 22px;min-height:0}.hero-motion{width:calc(100% + 36px);max-width:none;margin:0 -18px;align-self:stretch}.hero-motion-scene::after{background:linear-gradient(90deg,var(--paper) 0%,rgba(244,241,232,0) 8%,rgba(244,241,232,0) 92%,var(--paper) 100%),linear-gradient(180deg,var(--paper) 0%,rgba(244,241,232,0) 8%,rgba(244,241,232,0) 85%,var(--paper) 100%)}.hero-motion-meta{margin:-1px 20px 0;gap:0 16px;flex-wrap:wrap;font-size:11px}.hero-motion-meta a{font-size:11px;min-height:44px}.hero-motion-controls{gap:16px;margin-left:auto}.hero-motion-controls button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.hero-motion-scene>video{transition:none}}

/* Keep a clear touch target when a browser requires user-initiated playback. */
/* Keep the native video visible so inline autoplay is eligible in WebKit.
   Its poster remains visible while the media loads. */
.hero-motion-start{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);min-height:48px;padding:13px 22px;border:1px solid #f4f1e8;border-radius:3px;background:#19372ee8;color:#f4f1e8;font:600 14px/1.4 Arial,sans-serif;cursor:pointer;white-space:nowrap;box-shadow:0 2px 12px #0002}
.hero-motion-start:focus-visible{outline:3px solid var(--bronze);outline-offset:4px}.hero-motion-start:disabled{cursor:wait}.hero-motion-start[hidden],.hero-motion-direct[hidden]{display:none}
.hero-motion-direct{display:block;margin:0 28px 8px;color:var(--green-deep);font:12px/1.5 Arial,sans-serif;text-underline-offset:3px}

/* Use the same animation as an image when a phone blocks video autoplay. */
.hero-motion-scene>.hero-motion-fallback{z-index:1}
.hero-motion-scene>.hero-motion-fallback[hidden]{display:none}
.hero-motion.is-image-fallback .hero-motion-scene>video{visibility:hidden}
.hero-motion.is-enhanced video::-webkit-media-controls,
.hero-motion.is-enhanced video::-webkit-media-controls-enclosure{display:none!important}
