/* One restrained photographic palette across the site. The original files stay
   intact; product labels, original book covers and brand artwork stay true-color. */
html [data-rhea-tone="balanced"]{--rhea-grade:sepia(.10) saturate(.82) contrast(.93) brightness(1.035)}
html [data-rhea-tone="portrait"]{--rhea-grade:sepia(.035) saturate(.95) contrast(.98) brightness(1.015)}
html [data-rhea-tone="warm"]{--rhea-grade:sepia(.015) saturate(.78) contrast(.93) brightness(1.025)}
html [data-rhea-tone="cool"]{--rhea-grade:sepia(.18) saturate(.76) contrast(.93) brightness(1.035)}
html [data-rhea-tone="shadow"]{--rhea-grade:sepia(.09) saturate(.80) contrast(.92) brightness(1.065)}
html [data-rhea-tone="garden"]{--rhea-grade:url(#gathering-light) sepia(.025) saturate(.89)}
html [data-rhea-tone]{filter:var(--rhea-grade)!important}

/* Vector wordmarks stay sharp and separate from photographic grading. */
html img[src="/assets/rhea-original-logo.svg"],html image[href="/assets/rhea-original-logo.svg"]{filter:none!important;opacity:1;image-rendering:auto}

/* The Skin PDF uses its actual first page, with its original proportions. */
.guide-book.guide-book--original{aspect-ratio:612/792;height:auto;overflow:hidden;transform:none}
.guide-book--original .guide-original-cover{display:block;width:100%;height:auto;position:static;max-width:100%;object-fit:contain}

/* Harmonize the legacy photographic sprite without affecting overlaid type. */
.trailer-cover:before{filter:sepia(.075) saturate(.90) contrast(.98)}

/* Keep the small screen logo in the outer SVG so perspective compositing does
   not soften it. The hidden image still reserves the original title spacing. */
.sex-hero-stage:has(.sex-screen-vector-logo) .sex-screen-title>img{visibility:hidden}
.sex-screen-vector-logo{pointer-events:none}
.warm-scene-cover:has(.trailer-vector-logo) .trailer-screen-type>img,
.warm-scene-cover:has(.trailer-vector-logo) .trailer-tablet-type>img{visibility:hidden}
.trailer-vector-logo{pointer-events:none}
.collection-cover .collection-cover-logo{width:32%!important}
.collection-cover-top{height:10cqw}

/* A softer, slightly faded finish joins the twelve teaching photographs. */
.pillar-card,.pillar-card:nth-child(3n+2),.pillar-card:hover,.pillar-card:focus-visible{background:#b9b9a8}
.pillar-card .pillar-photo{opacity:.88}
html .pillar-card [data-rhea-tone]{filter:var(--rhea-grade) saturate(.90) contrast(.95) brightness(1.025)!important}
.pillar-card .pillar-photo[src="/assets/energy/herb-basket.jpg"],.index-photo img[src="/assets/energy/herb-basket.jpg"]{object-position:44% 54%!important}
