/* COSMOYA R9 | local critical editorial prototype only */
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview{--r9-ink:#18382c;--r9-cream:#faf7ef;--r9-warm:#eee6d8;color:var(--r9-ink);font-family:"Manrope","Space Grotesk",sans-serif}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero{background:#f7f1e5;min-height:clamp(700px,90svh,980px)}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__cinema{
 background:#e9e2d6 url('/assets/editorial/r9/hero-cream-gemini.webp') 76% center/cover no-repeat!important;opacity:1;filter:none;transform:none}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__cinema video{display:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__optics{background:linear-gradient(90deg,#f9f4ea 0%,rgba(249,244,234,.99) 27%,rgba(249,244,234,.91) 42%,rgba(249,244,234,.18) 63%,transparent 78%)}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__stage{max-width:790px}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero h1{
 font-family:"Instrument Serif",Georgia,serif!important;font-weight:400!important;font-style:normal;
 font-size:clamp(72px,7vw,116px)!important;letter-spacing:-.035em!important;line-height:.96!important;color:#193c2c}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero h1 span:nth-child(2){font-weight:400!important;font-style:italic;letter-spacing:-.035em!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__kicker{
 font:700 11px/1.4 "Manrope",sans-serif!important;letter-spacing:.15em;color:#805945}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__lead{
 color:#496252;font-size:clamp(16px,1.34vw,19px);font-family:"Manrope",sans-serif;line-height:1.7;max-width:480px}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__primary{background:#1d4a34;border-color:#1d4a34;color:#fff;border-radius:40px;min-height:52px}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__secondary{color:#274c39;border-color:#99b2a1}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__foot{display:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__reticle,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__aside,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__mast{display:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-business-guidance,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r2-film-chapter,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-lab,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-launch{display:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r2-chapter,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-about,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-catalogue-preview,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-process,
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-brief{scroll-margin-top:95px}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-grid{gap:18px}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card{border-radius:3px;box-shadow:none;overflow:hidden}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card img{filter:none;object-fit:cover}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card .solution-content{background:#fdfbf6}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-catalogue-preview{background:#f5f0e6}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r2-chapter{padding-block:clamp(55px,7vw,110px)}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-atelier{padding-block:clamp(70px,8vw,130px)}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-about img{border-radius:0;object-fit:cover}
@media(max-width:720px){
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero{display:flex;flex-direction:column;height:auto;min-height:0!important;background:#faf7ef;overflow:hidden}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__cinema{display:block;position:relative;inset:auto;width:100%;height:clamp(275px,41svh,400px);flex:0 0 auto;background-position:64% 47%!important}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__optics{display:none!important}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__shell{position:relative;z-index:2;display:block;width:100%;max-width:100%;min-height:0;padding:29px 22px 40px;background:#faf7ef}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__stage{width:100%;max-width:100%;margin:0;padding:0}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero h1{font-size:clamp(50px,12.9vw,76px)!important;letter-spacing:-.04em!important;line-height:.94!important}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__kicker{font-size:9px!important;margin:0 0 16px}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__lead{font-size:14px;line-height:1.65;margin:20px 0 21px}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__actions a{box-sizing:border-box;width:100%;min-height:48px}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card{width:100%!important;min-width:0!important}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r2-chapter{padding-block:48px}
 html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-atelier{padding-block:50px}
}
html[lang=ar][data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero h1{font-family:"Readex Pro",sans-serif!important;font-size:clamp(42px,8vw,84px)!important;line-height:1.4!important;letter-spacing:0!important}
/* R9 STORYTELLING CONDENSED: preserve hidden content in original DOM, preview only. */
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r2-chapter{display:none!important;}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card img{object-fit:cover}
@media(min-width:900px){html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-card{min-height:0!important}html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-media{height:240px!important}}

/* R9 POST-GEMINI AUDIT REWORK — scoped exclusively to opt-in preview */
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .wc-r4-hero__optics{background:linear-gradient(90deg,#f7f1e5 0%,rgba(247,241,229,.97) 23%,rgba(247,241,229,.78) 37%,rgba(247,241,229,.25) 54%,transparent 72%)}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-about .about-media__inset{display:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-about .about-media__main img{opacity:1!important;filter:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-about .about-media__main:after{background:none!important}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-media{height:clamp(260px,23vw,355px)!important;overflow:hidden}
html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-media img{height:100%;width:100%;object-fit:cover;object-position:center 48%}
@media(max-width:720px){html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-media{height:245px!important}html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .section-solutions .solution-content{padding-bottom:26px!important}html[data-cosmoya-r9-preview=true] body.cosmoya-r9-preview .trust-strip{margin-top:22px!important}}
