/* Homepage exposure balance. Grade the photographic layer only; original files,
   typography, logos, book artwork and device compositions remain untouched. */
.rhea-home .opening-film video {
  filter: saturate(.90) contrast(.95) brightness(1.025);
}
.rhea-home .doctors-welcome .hero-photo img {
  filter: saturate(.83) contrast(.92) brightness(1.025);
}
.rhea-home .pricing-intention-photo img {
  filter: sepia(.08) saturate(.65) contrast(.84) brightness(1.08);
}
.rhea-home .explained-image img {
  --rhea-grade: saturate(.78) contrast(.84) brightness(1.07);
}

/* One grade per photograph replaces the stacked category and gallery filters.
   A common soft finish joins the set; source-specific exposure does the rest. */
.rhea-home .pillar-card .pillar-photo {
  filter: var(--home-photo-grade, sepia(.08) saturate(.76) contrast(.89) brightness(1.03)) !important;
  opacity: .92;
}
.rhea-home .pillar-card:after,
.rhea-home .pillar-card:nth-child(3n+2):after {
  background: linear-gradient(180deg,
    rgba(31,39,28,.17) 0%,
    rgba(31,39,28,.02) 32%,
    rgba(31,39,28,.14) 55%,
    rgba(23,31,22,.88) 100%);
}
.rhea-home .pillar-card[href="/courses/hormones/"] {
  --home-photo-grade: sepia(.13) saturate(.76) contrast(.80) brightness(1.26);
}
.rhea-home .pillar-card[href="/courses/mind/"] {
  --home-photo-grade: sepia(.12) saturate(.65) contrast(.79) brightness(1.22);
}
.rhea-home .pillar-card[href="/courses/immune-system/"] {
  --home-photo-grade: saturate(.78) contrast(.90) brightness(.90);
}
.rhea-home .pillar-card[href="/courses/sleep/"] {
  --home-photo-grade: sepia(.10) saturate(.70) contrast(.90) brightness(.99);
}
.rhea-home .pillar-card[href="/courses/skin/"] {
  --home-photo-grade: sepia(.10) saturate(.72) contrast(.91) brightness(.98);
}
.rhea-home .pillar-card[href="/courses/fitness/"] {
  --home-photo-grade: sepia(.02) saturate(.74) contrast(.88) brightness(.95);
}
.rhea-home .pillar-card[href="/courses/energy/"] {
  --home-photo-grade: sepia(.06) saturate(.77) contrast(.83) brightness(1.17);
}
.rhea-home .pillar-card[href="/courses/mood/"] {
  --home-photo-grade: sepia(.12) saturate(.70) contrast(.89) brightness(1.02);
}
.rhea-home .pillar-card[href="/courses/food/"] {
  --home-photo-grade: sepia(.07) saturate(.80) contrast(.87) brightness(.92);
}
.rhea-home .pillar-card[href="/courses/digestion/"] {
  --home-photo-grade: sepia(.07) saturate(.79) contrast(.83) brightness(1.16);
}
.rhea-home .pillar-card[href="/courses/sex/"] {
  --home-photo-grade: sepia(.01) saturate(.76) contrast(.89) brightness(1.01);
}
.rhea-home .pillar-card[href="/courses/stress/"] {
  --home-photo-grade: sepia(.12) saturate(.69) contrast(.88) brightness(1.07);
}

/* Cover photos keep their natural light, with a narrower exposure range. */
.rhea-home .sex-screen-photo {
  --rhea-grade: sepia(.025) saturate(.93) contrast(.95) brightness(1.025);
}
.rhea-home .sex-lesson-art-photo {
  filter: var(--home-lesson-grade, sepia(.08) saturate(.76) contrast(.88) brightness(1.04)) !important;
}
.rhea-home .sex-lesson[href$="#sex-lesson-01"] {
  --home-lesson-grade: sepia(.02) saturate(.75) contrast(.86) brightness(.96);
}
.rhea-home .sex-lesson[href$="#sex-lesson-02"] {
  --home-lesson-grade: sepia(.06) saturate(.80) contrast(.80) brightness(1.12);
}
.rhea-home .sex-lesson[href$="#sex-lesson-03"] {
  --home-lesson-grade: sepia(.05) saturate(.72) contrast(.90) brightness(1.02);
}
.rhea-home .sex-lesson[href$="#sex-lesson-04"] {
  --home-lesson-grade: sepia(.12) saturate(.69) contrast(.76) brightness(1.18);
}
.rhea-home .sex-lesson[href$="#sex-lesson-05"] {
  --home-lesson-grade: sepia(.10) saturate(.72) contrast(.79) brightness(1.14);
}
.rhea-home .sex-lesson[href$="#sex-lesson-07"] {
  --home-lesson-grade: sepia(.06) saturate(.76) contrast(.84) brightness(1.12);
}
.rhea-home .sex-biomarker-cover {
  filter: none !important;
}
.rhea-home .goddess-cover .rhea-cover-photo > img {
  --rhea-grade: saturate(.78) contrast(.90) brightness(1.01);
}
.rhea-home .reset-cover .rhea-cover-photo image {
  filter: sepia(.10) saturate(.78) contrast(.86) brightness(1.10);
}
.rhea-home .offerings .visual img[data-rhea-tone="garden"] {
  --rhea-grade: url(#gathering-light) saturate(.78) contrast(.91) brightness(.98);
}
.rhea-home #gathering .gathering-photo img {
  --rhea-grade: saturate(.78) contrast(.90) brightness(.99);
}

/* Repeated photographs receive identical grades throughout the Skin preview. */
.rhea-home .skin-lesson-original[src$="/nourishment.jpg"] {
  --rhea-grade: sepia(.06) saturate(.80) contrast(.86) brightness(.96);
}
.rhea-home .skin-lesson-original[src$="/cream-ritual.jpg"] {
  --rhea-grade: sepia(.10) saturate(.74) contrast(.89) brightness(1.01);
}
.rhea-home .skin-lesson-original[src$="/herbal-table.jpg"] {
  --rhea-grade: sepia(.08) saturate(.78) contrast(.83) brightness(1.10);
}
.rhea-home .skin-lesson-original[src$="/flower-bath.jpg"] {
  --rhea-grade: sepia(.02) saturate(.75) contrast(.91) brightness(.99);
}
.rhea-home .skin-lesson-original[src$="/mask.jpg"] {
  --rhea-grade: sepia(.10) saturate(.74) contrast(.90) brightness(1.03);
}

/* Collection grading is shared in course-offer-visuals.css. */
@media(max-width:600px) {
  .rhea-home .homepage-collection-visual .course-choice-art {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    padding: 12px;
    gap: 7px;
  }
  .rhea-home .homepage-collection-visual .course-collection-tile span {
    font-size: 11px;
    padding: 6px 2px;
  }
}
