/* Read. Play. Atelier. Homepage art direction.
   Adapted from the existing School Visits page.
   Original photos, lesson media, stage sequence, text, and purchase controls are preserved. */

/* 1. A welcoming, paper-and-sky hero with Ms. Ashley's real photo. */
body .rpa-reading-lessons-hero {
  position:relative;
  overflow:hidden;
  background:linear-gradient(132deg,#fdf8f0 0%,#fff 53%,#fff8ed 100%)!important;
  border-bottom:0!important;
}
body .rpa-reading-lessons-hero::before {
  content:"";
  position:absolute;
  width:520px;height:520px;left:-285px;bottom:-250px;
  border-radius:50%;background:#e5f3f9;opacity:.72;pointer-events:none;
}
body .rpa-reading-lessons-hero .rpa-adventure-grid {
  position:relative;
  padding-top:clamp(55px,7vw,104px)!important;
  padding-bottom:clamp(55px,7vw,94px)!important;
}
body .rpa-reading-lessons-hero .rpa-adventure-title {
  max-width:660px;
  letter-spacing:-.028em!important;
}
body .rpa-reading-lessons-hero .rpa-adventure-title span:last-child {
  color:#679436!important;
}
body .rpa-reading-lessons-hero .rpa-reading-hero-ages {
  display:table;
  width:auto;
  padding:7px 15px;
  border-radius:999px;
  background:#fff0d5;
  color:#064789!important;
  font-weight:900;
}
body .rpa-reading-lessons-hero .rpa-hero-start {
  background:#d87c74!important;
  border:2px solid #bd6058;
  color:white!important;
  box-shadow:0 7px 0 rgba(216,124,116,.13)!important;
}
body .rpa-reading-lessons-hero .rpa-hero-start:hover {background:#bc685f!important}
body .rpa-reading-lessons-hero .rpa-reading-hero-proof {color:#557b30!important}
body .rpa-reading-lessons-hero .rpa-adventure-scene {
  position:relative;isolation:isolate;
}
body .rpa-reading-lessons-hero .rpa-adventure-scene::before {
  content:"";
  position:absolute;z-index:-1;
  inset:-12px -5px -10px 6px;
  background:#dcecf5;
  border-radius:54% 46% 59% 41% / 49% 58% 42% 51%;
  transform:rotate(-7deg);
  pointer-events:none;
}
body .rpa-reading-lessons-hero .rpa-reading-photo-frame {
  width:min(100%,475px);
  border:11px solid white!important;
  border-radius:45% 45% 24px 26px!important;
  background:#e7f6fc!important;
  box-shadow:0 18px 36px rgba(6,71,137,.12)!important;
  transform:rotate(-1deg);
}
body .rpa-reading-lessons-hero .rpa-reading-photo-frame img {
  transform:scale(1.12)!important;
}

/* 2. Four reading stages, like the soft hand-shaped School Visits cards.
   Keep each stage's approved color and the original progression. */
body .rpa-home-adventures {background:#fff!important;border-bottom:0!important}
body .rpa-home-adventures .rpa-home-adventures-eyebrow,
body .rpa-lesson-welcome .rpa-lesson-welcome-kicker,
body .rpa-home-atelier-clean .rpa-atelier-eyebrow,
body .rpa-home-adventures .rpa-home-syllable-kicker {
  font:700 clamp(1.5rem,2.6vw,2rem)/1.15 'Caveat',cursive!important;
  letter-spacing:normal!important;text-transform:none!important;
  color:#679436!important;
}
body .rpa-home-adventures .rpa-home-adventures-heading {margin-bottom:42px!important}
body .rpa-home-adventures .rpa-home-world {
  border:3px solid white!important;
  border-top:7px solid var(--stage-color)!important;
  border-radius:35px 28px 34px 27px!important;
  box-shadow:0 11px 25px rgba(6,71,137,.075)!important;
  transition:transform .2s ease,box-shadow .2s ease;
}
body .rpa-home-adventures .rpa-home-world:hover {
  transform:translateY(-3px);
  box-shadow:0 15px 28px rgba(6,71,137,.10)!important;
}
body .rpa-home-adventures .rpa-home-world>a {border-radius:27px!important}
body .rpa-home-adventures .rpa-home-world>a:hover {background:transparent!important}
body .rpa-home-adventures .rpa-home-world-letters {background:#f1f7e9!important}
body .rpa-home-adventures .rpa-home-world-words {background:#fdf5e4!important}
body .rpa-home-adventures .rpa-home-world-journeys {background:#eaf5fb!important}
body .rpa-home-adventures .rpa-home-world-compass {background:#f9e9e7!important}
body .rpa-home-adventures .rpa-home-syllable {
  background:#eaf5fb!important;
  border:2px solid white!important;
  border-left:8px solid #064789!important;
  border-radius:30px 23px 30px 24px!important;
  box-shadow:0 8px 24px rgba(6,71,137,.055)!important;
}
body .rpa-home-adventures .rpa-home-syllable-kicker {
  font-size:1.45rem!important;margin-bottom:8px!important;
}

/* 3. Lessons have the airy pale blue of the School Visits about panel. */
body .rpa-home-lesson-preview.rpa-lesson-welcome {
  background:#eaf5fb!important;
  border-bottom:0!important;
  padding-top:clamp(65px,7vw,98px)!important;
  padding-bottom:clamp(65px,7vw,98px)!important;
}
body .rpa-lesson-welcome .rpa-lesson-preview-player {
  border:9px solid white!important;
  border-radius:36px 24px 34px 24px!important;
  box-shadow:0 16px 32px rgba(6,71,137,.10)!important;
  overflow:hidden!important;
}
body .rpa-lesson-welcome .rpa-lesson-welcome-cta {
  border-radius:999px!important;
  background:#064789!important;color:white!important;
}
body .rpa-lesson-welcome .rpa-lesson-welcome-kicker {margin-bottom:15px!important}

/* 4. A warm Atelier table with real lesson examples, not invented art. */
body .rpa-studio-atelier.rpa-home-atelier-clean {
  background:linear-gradient(120deg,#fdf8f0,#fff9ed)!important;
  border-bottom:0!important;
  padding-top:clamp(62px,7vw,102px)!important;
  padding-bottom:clamp(62px,7vw,102px)!important;
}
body .rpa-home-atelier-clean .rpa-atelier-eyebrow {margin-bottom:15px!important}
body .rpa-home-atelier-clean .rpa-home-example {
  padding:13px!important;
  background:white!important;
  border:2px solid white!important;
  border-radius:35px 23px 31px 26px!important;
  box-shadow:0 15px 28px rgba(42,61,28,.085)!important;
  transform:rotate(1deg);
}
body .rpa-home-atelier-clean .rpa-home-example img {
  border-radius:22px 16px 22px 16px!important;
}
body .rpa-home-atelier-clean .rpa-home-example figcaption {
  padding:0 8px 5px;
}

/* 5. Keep the existing navy membership offer and working checkout. */
body #ways.rpa-library-pricing {background:white!important}
body #ways.rpa-library-pricing .homepage-pricing-panel {
  border-radius:42px 31px 42px 32px!important;
  box-shadow:0 16px 37px rgba(6,71,137,.10)!important;
}
body #ways.rpa-library-pricing .rpa-library-includes li {
  border-radius:18px 13px 18px 13px!important;
}
body #ways.rpa-library-pricing .homepage-price {
  border-radius:26px 19px 27px 19px!important;
}

/* 6. The person behind the studio. Genuine imagery in a soft blue garden room. */
body section.rpa-about-home {background:white!important}
body section.rpa-about-home .rpa-about-home-grid {
  background:#e7f6fc!important;
  border-radius:41px 25px 46px 30px!important;
  padding:clamp(24px,4vw,48px)!important;
  gap:clamp(28px,4vw,64px)!important;
}
body section.rpa-about-home .rpa-about-photo {
  border:9px solid #fff!important;
  border-radius:42% 42% 25px 25px!important;
  overflow:hidden!important;
  box-shadow:0 14px 28px rgba(6,71,137,.10)!important;
}
body section.rpa-about-home .rpa-about-photo img {
  border-radius:39% 39% 16px 16px!important;
}
body section.rpa-about-home .rpa-about-home-kicker {
  font-size:clamp(1.6rem,2.6vw,2.05rem)!important;
}

/* 7. Welcoming choices, softer than a two-column sales sheet. */
body .rpa-home-support-options {background:#fff!important}
body .rpa-home-support-options .rpa-support-card {
  border:3px solid white!important;
  border-top:7px solid var(--support-accent)!important;
  border-radius:37px 25px 34px 26px!important;
  box-shadow:0 12px 27px rgba(6,71,137,.075)!important;
}
body .rpa-home-support-options .rpa-support-card-coaching {background:#f9e9e7!important}
body .rpa-home-support-options .rpa-support-card-blend {background:#fdf5e4!important}

/* 8. A little colored paper for real family voices. */
body section.rpa-home-testimonials {
  background:#fdf8f0!important;
  border:0!important;
}
body section.rpa-home-testimonials .family-story {
  border:3px solid white!important;
  border-top:7px solid var(--story-accent)!important;
  border-radius:30px 22px 30px 24px!important;
  box-shadow:0 9px 20px rgba(42,61,28,.055)!important;
}
body section.rpa-home-testimonials .family-story:nth-child(1){background:#e9eff6!important}
body section.rpa-home-testimonials .family-story:nth-child(2){background:#fbf0e0!important}
body section.rpa-home-testimonials .family-story:nth-child(3){background:#edf3e6!important}
body section.rpa-home-testimonials .family-story:nth-child(4){background:#f9e9e7!important}

/* 9. A gentle invitation at the end, echoing the School Visits banner. */
body section.rpa-home-last-step {
  background:white!important;
  border-top:0!important;
}
body section.rpa-home-last-step .rpa-home-last-step-inner {
  max-width:950px!important;
  padding:clamp(33px,5vw,60px) clamp(22px,5vw,54px)!important;
  background:#fbe9c4!important;
  border-radius:39px 26px 42px 27px!important;
}
body section.rpa-home-last-step .rpa-home-last-step-eyebrow {
  font-size:clamp(1.6rem,2.6vw,2.1rem)!important;
}

/* Keep the warm shapes calm on smaller screens. */
@media(max-width:820px){
  body .rpa-reading-lessons-hero .rpa-adventure-scene::before {inset:-9px 0 -9px 0}
  body .rpa-reading-lessons-hero .rpa-adventure-grid {padding:43px 0 56px!important}
  body .rpa-reading-lessons-hero .rpa-reading-photo-frame {transform:none;border-width:9px!important}
  body .rpa-home-atelier-clean .rpa-home-example {transform:none}
  body .rpa-home-adventures .rpa-home-world:hover {transform:none}
}
@media(max-width:620px){
  body .rpa-reading-lessons-hero .rpa-reading-hero-ages {font-size:.94rem!important}
  body .rpa-reading-lessons-hero .rpa-adventure-title span:last-child {line-height:1.12}
  body .rpa-home-adventures .rpa-home-world {border-radius:28px 23px 29px 23px!important}
  body .rpa-home-adventures .rpa-home-world>a {border-radius:23px!important}
  body section.rpa-about-home .rpa-about-home-grid {padding:25px 21px!important}
  body section.rpa-home-last-step {padding-inline:14px!important}
  body section.rpa-home-last-step .rpa-home-last-step-inner {padding:32px 20px!important}
}
@media(prefers-reduced-motion:reduce){
  body .rpa-home-adventures .rpa-home-world {transition:none!important}
  body .rpa-home-adventures .rpa-home-world:hover {transform:none!important}
}
