/* RUBY WANG RW87 - 22/11/2026
   Scope: Hero 2026-11-22 + 3 method video presentation + responsive.
   RW86 design and menu intentionally retained. */
html, body { max-width:100%; overflow-x:clip; }
html body #home.hero { background-color:#1a1512!important; }
html body #home.hero .hero-media.hero-video {
  display:block!important; position:absolute!important; inset:0!important;
  width:100%!important; height:100%!important; max-width:none!important;
  object-fit:cover!important; object-position:center center!important;
  transform:none!important; filter:none!important; opacity:1!important;
  background:#1a1512!important;
}
/* Keep the exact approved RW86 champagne frame: all three remain moving videos. */
html body #method .pillars > .pillar .rw83-clip-frame .pillar-visual video {
  display:block!important; width:100%!important; height:100%!important;
  object-fit:cover!important; opacity:1!important; filter:none!important;
}
html body #method .pillars > .pillar .rw83-clip-frame .pillar-visual { background-color:#f9f6f0!important; }
html body #method .pillars > .pillar > .rw83-caption { overflow-wrap:anywhere; }
/* Tablet: preserve a spacious, legible 3-card composition in landscape. */
@media (min-width:768px) and (max-width:1100px) {
  html body #home.hero{height:clamp(505px,62svh,600px)!important;min-height:0!important;}
  html body #home #hero-title{max-width:94vw!important;}
  html body #method .pillars{gap:clamp(10px,1.8vw,20px)!important;}
  html body #method .pillars > .pillar {min-width:0!important;}
  html body #method .pillars > .pillar > .rw83-caption{font-size:clamp(12px,1.55vw,15px)!important;line-height:1.5!important;}
}
/* Tablet portrait: show the full width of the approved wide-angle hero, never crop people to a face closeup. */
@media (min-width:768px) and (max-width:1100px) and (orientation:portrait) {
  html body #home.hero video.hero-media.hero-video{object-fit:contain!important;object-position:center center!important;}
}
/* Phone: retain the complete 16:9 frame (no faux zoom, stretching, or heavy blur).
   The letterbox is deliberately neutral and title remains over the cinematic image. */
@media (max-width:767px) {
  html body #home.hero{height:clamp(480px,72svh,630px)!important;min-height:0!important;}
  html body #home.hero video.hero-media.hero-video{
    object-fit:contain!important;object-position:center center!important;
  }
  html body #home .hero-inner{max-width:100%!important;}
  html body #home #hero-title{font-size:clamp(23px,6vw,32px)!important;line-height:1.20!important;}
  html body #method .pillars{grid-template-columns:minmax(0,1fr)!important;gap:clamp(13px,4vw,20px)!important;}
  html body #method .pillars > .pillar .rw83-clip-frame .pillar-visual {aspect-ratio:16 / 10!important;}
  html body #method .pillars > .pillar > .rw83-caption{font-size:clamp(13.5px,3.7vw,16px)!important;line-height:1.45!important;}
}
/* Small phone: prevent fixed over-wide containers around responsive media. */
@media(max-width:390px){
  html body #home.hero{height:clamp(480px,72svh,575px)!important;}
  html body #method .pillars > .pillar .rw83-clip-frame{max-width:100%!important;}
}
@media(prefers-reduced-motion:reduce){
  html body #home.hero{background-image:url("../hero/ruby-wang-hero-20261122-poster.jpg")!important;}
}
