/* Scoped surface refinement: hero, experience, and their section boundaries.
   Existing photography, copy, live schedules, membership and contact stay intact. */
#top.hero > .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  pointer-events: none;
  background:
    url("/assets/rosha-motion-lines-v14.svg") right top / 100% 100% no-repeat,
    radial-gradient(ellipse at 82% 0%, rgba(220, 157, 177, .21), transparent 67%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 21%, #000);
  mask-image: linear-gradient(90deg, transparent, #000 21%, #000);
}

/* Keep the motif confined to the photo/copy row, never over the live strip. */
#top.hero > .hero-copy {
  position: relative;
  z-index: 2;
}

main > .proof {
  background: #f1e9ed;
  border-block: 1px solid #e3d7dc;
  color: #5b4e54;
}

#experience.experience {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(239, 196, 209, .3), transparent 58%),
    linear-gradient(135deg, #f0edef, #f6eff2 64%, #ece9ec);
  border-block: 1px solid #ded4da;
}

#experience.experience::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -30px;
  width: min(44%, 640px);
  height: 380px;
  background: url("/assets/rosha-motion-lines-v14.svg") center / cover no-repeat;
  opacity: .56;
  pointer-events: none;
}

#experience.experience::after {
  content: "";
  position: absolute;
  top: 0;
  right: max(6vw, 45px);
  width: clamp(70px, 8vw, 125px);
  height: 3px;
  background: #bd2856;
  pointer-events: none;
}

#experience.experience > * {
  position: relative;
  z-index: 1;
}

#experience.experience > .kicker {
  color: #a8204b;
  font-size: .875rem;
}

#experience .split-title {
  margin-bottom: clamp(32px, 3.5vw, 52px);
}

#experience .split-title h2 {
  color: #332b31;
}

#experience .split-title p {
  color: #625660;
  font-size: 1rem;
  line-height: 1.95;
}

#experience .feature-grid {
  gap: clamp(12px, 1.4vw, 22px);
  border: 0;
}

#experience .feature-grid > article {
  min-width: 0;
  padding: clamp(22px, 2.1vw, 34px);
  background: linear-gradient(145deg, #fffdfd, #faf5f7);
  border: 1px solid #dcd0d7;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(70, 39, 55, .035);
}

#experience .feature-grid > article > span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  margin: 0 0 24px;
  padding: 8px;
  color: #a9204b;
  background: #f5e3eb;
  border: 1px solid #e9c8d6;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 800;
}

#experience .feature-grid > article h3 {
  margin: 0 0 12px;
  color: #392c34;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.55;
}

#experience .feature-grid > article p {
  margin: 0;
  color: #665a62;
  font-size: .875rem;
  line-height: 1.95;
}

/* The neighboring class section keeps its established cool-neutral surface. */
#classes.classes {
  border-top: 1px solid rgba(63, 79, 71, .12);
}

@media (max-width: 1100px) {
  #top.hero > .hero-bg::after {
    width: 80%;
    opacity: .78;
  }
}

@media (max-width: 782px) {
  #top.hero > .hero-bg::after {
    width: 100%;
    background-size: 145% auto, 100% 100%;
    opacity: .52;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 65%);
    mask-image: linear-gradient(180deg, #000, transparent 65%);
  }

  #experience.experience::before {
    width: 90%;
    height: 250px;
    opacity: .35;
  }

  #experience.experience::after {
    right: 22px;
  }

  #experience .feature-grid {
    gap: 14px;
  }

  #experience .feature-grid > article {
    padding: 24px;
    border-radius: 17px;
  }

  #experience .feature-grid > article > span {
    margin-bottom: 18px;
  }
}

@media (forced-colors: active) {
  #top.hero > .hero-bg::after,
  #experience.experience::before,
  #experience.experience::after {
    display: none;
  }
}
