
/* Force this section to use the website's existing Questrial typography. */
.rp-stone-constellation {
  font-family: var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
}

.rp-stone-constellation :where(button, a, p, span, dt, dd) {
  font-family: inherit;
}

/*
 * Roar Panther — Stone Constellation
 * Bright sculptural product experience beneath the Material DNA story.
 */

.rp-stone-constellation {
  --rp-constellation-bg: #fcfaf6;
  --rp-constellation-bg-soft: #f7f2ea;
  --rp-constellation-text: #27231e;
  --rp-constellation-muted: #6f675e;
  --rp-constellation-bronze: var(--rp-accent, #a87542);
  --rp-constellation-line: rgba(168, 117, 66, 0.3);
  position: relative;
  overflow: clip;
  width: 100%;
  background:
    radial-gradient(circle at 69% 44%, rgba(210, 180, 137, 0.08), transparent 31%),
    linear-gradient(180deg, #fcfaf6 0%, #faf6ef 54%, #fcfaf6 100%);
  color: var(--rp-constellation-text);
  padding-block: clamp(86px, 9vw, 150px);
  isolation: isolate;
}


.rp-stone-constellation [hidden] {
  display: none !important;
}

.rp-stone-constellation::before,
.rp-stone-constellation::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.38;
  z-index: -1;
}

.rp-stone-constellation::before {
  width: min(44vw, 680px);
  aspect-ratio: 1;
  right: -13vw;
  top: -21%;
  background: radial-gradient(circle, rgba(229, 214, 192, 0.22), transparent 68%);
}

.rp-stone-constellation::after {
  width: min(34vw, 520px);
  aspect-ratio: 1;
  left: -18vw;
  bottom: -26%;
  background: radial-gradient(circle, rgba(226, 209, 185, 0.18), transparent 68%);
}

.rp-stone-constellation__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: clamp(28px, 4vw, 74px);
}

.rp-stone-constellation__copy {
  position: relative;
  z-index: 8;
  align-self: center;
}

.rp-stone-constellation__eyebrow {
  margin: 0 0 22px;
  color: var(--rp-constellation-bronze);
  font-family: var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(0.72rem, 0.8vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rp-stone-constellation__eyebrow::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 16px;
  background: var(--rp-constellation-bronze);
}

.rp-stone-constellation h2 {
  max-width: 9.5ch;
  margin: 0;
  color: var(--rp-constellation-text);
  font-family: var(--font-display, "Questrial", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(2.75rem, 4.6vw, 5.25rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.rp-stone-constellation__description,
.rp-stone-constellation__supporting {
  max-width: 48ch;
  color: var(--rp-constellation-muted);
  font-family: var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  line-height: 1.8;
}

.rp-stone-constellation__description {
  margin: clamp(24px, 2.7vw, 38px) 0 0;
  font-size: clamp(1rem, 1.08vw, 1.15rem);
}

.rp-stone-constellation__supporting {
  margin: 10px 0 0;
  font-size: 0.94rem;
}

.rp-stone-constellation__families {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 30px;
}

.rp-stone-constellation__family {
  appearance: none;
  position: relative;
  min-height: 36px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #8a8278;
  cursor: pointer;
  font: 500 0.72rem/1.2 var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition:
    color 260ms ease,
    transform 260ms ease;
}

.rp-stone-constellation__family::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--rp-constellation-bronze);
  transition: right 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-stone-constellation__family:hover,
.rp-stone-constellation__family.is-active {
  color: var(--rp-constellation-text);
}

.rp-stone-constellation__family:hover {
  transform: translateY(-1px);
}

.rp-stone-constellation__family.is-active::after {
  right: 0;
}

.rp-stone-constellation__family:focus-visible,
.rp-stone-constellation__product:focus-visible,
.rp-stone-constellation__mobile-selector:focus-visible,
.rp-stone-constellation__mobile-arrow:focus-visible,
.rp-stone-constellation__whatsapp:focus-visible,
.rp-stone-constellation__view-product:focus-visible {
  outline: 2px solid var(--rp-constellation-bronze);
  outline-offset: 4px;
}

.rp-stone-constellation__details {
  max-width: 440px;
  margin-top: clamp(34px, 4vw, 58px);
  transition:
    opacity 320ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-stone-constellation.is-updating-details .rp-stone-constellation__details {
  opacity: 0.2;
  transform: translateY(10px);
}

.rp-stone-constellation__details-index {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--rp-constellation-bronze);
  font: 500 0.72rem/1.2 var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rp-stone-constellation__details-index span:first-child::after {
  content: "";
  display: inline-block;
  width: 36px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: rgba(168, 117, 66, 0.65);
}

.rp-stone-constellation__details h3 {
  margin: 0;
  color: var(--rp-constellation-text);
  font-family: var(--font-display, "Questrial", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(1.65rem, 2.2vw, 2.55rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.rp-stone-constellation__facts {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
}

.rp-stone-constellation__facts > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(81, 67, 50, 0.08);
}

.rp-stone-constellation__facts dt,
.rp-stone-constellation__facts dd {
  margin: 0;
  font-family: var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: 0.83rem;
  line-height: 1.5;
}

.rp-stone-constellation__facts dt {
  color: #8b8175;
}

.rp-stone-constellation__facts dd {
  color: var(--rp-constellation-text);
}

.rp-stone-constellation__product-copy {
  margin: 22px 0 0;
  color: var(--rp-constellation-muted);
  font: 400 0.94rem/1.75 var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
}

.rp-stone-constellation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 26px;
}

.rp-stone-constellation__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 48px;
  padding: 12px 17px;
  border: 1px solid rgba(168, 117, 66, 0.68);
  color: #8e5b2d;
  background: rgba(255, 255, 255, 0.28);
  font: 500 0.76rem/1.2 var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  letter-spacing: 0.11em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 280ms ease,
    background 280ms ease,
    color 280ms ease,
    transform 280ms ease;
}

.rp-stone-constellation__whatsapp:hover {
  transform: translateY(-2px);
  border-color: var(--rp-constellation-bronze);
  color: var(--rp-constellation-text);
  background: rgba(255, 255, 255, 0.72);
}

.rp-stone-constellation__whatsapp span:last-child {
  transition: transform 280ms ease;
}

.rp-stone-constellation__whatsapp:hover span:last-child {
  transform: translate(2px, -2px);
}

.rp-stone-constellation__view-product {
  color: var(--rp-constellation-text);
  font: 500 0.82rem/1.2 var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  text-underline-offset: 5px;
}

.rp-stone-constellation__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 760;
  min-width: 0;
  isolation: isolate;
}

.rp-stone-constellation__orbits {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.rp-stone-constellation__orbit,
.rp-stone-constellation__path {
  fill: none;
  stroke: var(--rp-constellation-line);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}

.rp-stone-constellation__orbit--middle {
  stroke-dasharray: 2 5;
  opacity: 0.68;
}

.rp-stone-constellation__orbit--inner {
  opacity: 0.55;
}

.rp-stone-constellation__path {
  stroke-dasharray: 7 7;
  opacity: 0.46;
  transition:
    stroke 360ms ease,
    stroke-width 360ms ease,
    opacity 360ms ease,
    stroke-dashoffset 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-stone-constellation__path.is-active {
  stroke: rgba(168, 117, 66, 0.78);
  stroke-width: 1.8;
  opacity: 1;
  stroke-dashoffset: -28;
}

.rp-stone-constellation__node {
  fill: #b78046;
  opacity: 0.76;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.rp-stone-constellation__visual:hover .rp-stone-constellation__node {
  opacity: 0.92;
}

.rp-stone-constellation__medallion {
  position: absolute;
  left: 52%;
  top: 50%;
  width: clamp(225px, 29vw, 390px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.rp-stone-constellation__medallion-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.rp-stone-constellation__medallion-ring--outer {
  inset: -8%;
  border: 1px solid rgba(168, 117, 66, 0.31);
}

.rp-stone-constellation__medallion-ring--inner {
  inset: 4.5%;
  border: 1px solid rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 0 0 1px rgba(90, 68, 42, 0.06);
}

.rp-stone-constellation__medallion-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: #e9dfd0;
  box-shadow:
    0 28px 60px rgba(74, 55, 32, 0.18),
    0 8px 18px rgba(74, 55, 32, 0.12),
    inset 0 0 0 1px rgba(168, 117, 66, 0.22);
}

.rp-stone-constellation__medallion-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.rp-stone-constellation__medallion-image.is-current {
  z-index: 1;
}

.rp-stone-constellation__medallion-image.is-next {
  z-index: 2;
  clip-path: circle(0% at 50% 50%);
  opacity: 0;
}

.rp-stone-constellation__medallion.is-revealing .rp-stone-constellation__medallion-image.is-next {
  animation: rp-constellation-radial-reveal 680ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.rp-stone-constellation__monogram {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  transform: translate(-50%, -50%);
  color: rgba(98, 70, 39, 0.55);
  font-family: var(--font-display, "Questrial", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: clamp(3rem, 5.4vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.14em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.rp-stone-constellation__desktop-products {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.rp-stone-constellation__product {
  appearance: none;
  position: absolute;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--rp-constellation-text);
  cursor: pointer;
  opacity: 0.64;
  transition:
    opacity 420ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 420ms ease;
}

.rp-stone-constellation__product:hover,
.rp-stone-constellation__product.is-active {
  opacity: 1;
  filter: saturate(1.02);
}

.rp-stone-constellation__product.is-active {
  z-index: 8;
  transform: translate3d(var(--active-x, 0), var(--active-y, 0), 0) scale(1.03);
}

.rp-stone-constellation__product:hover:not(.is-active) {
  z-index: 7;
  transform: translate3d(var(--hover-x, 0), var(--hover-y, 0), 0) scale(1.045);
}

.rp-stone-constellation__product--0 {
  left: 41%;
  top: 1%;
  width: 28%;
  --active-y: 8px;
  --hover-y: 6px;
}

.rp-stone-constellation__product--1 {
  left: 5%;
  top: 24%;
  width: 21%;
  --active-x: 8px;
  --active-y: 4px;
  --hover-x: 6px;
  --hover-y: 3px;
}

.rp-stone-constellation__product--2 {
  right: 3%;
  top: 24%;
  width: 18.5%;
  --active-x: -8px;
  --active-y: 4px;
  --hover-x: -6px;
  --hover-y: 3px;
}

.rp-stone-constellation__product--3 {
  right: 2%;
  bottom: 6%;
  width: 21%;
  --active-x: -8px;
  --active-y: -6px;
  --hover-x: -6px;
  --hover-y: -4px;
}

.rp-stone-constellation__product--4 {
  left: 43%;
  bottom: 0;
  width: 23%;
  --active-y: -8px;
  --hover-y: -6px;
}

.rp-stone-constellation__product--5 {
  left: 5%;
  bottom: 7%;
  width: 20%;
  --active-x: 8px;
  --active-y: -5px;
  --hover-x: 6px;
  --hover-y: -4px;
}

.rp-stone-constellation__product-image-wrap {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  pointer-events: none;
}

.rp-stone-constellation__product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 20px rgba(60, 43, 26, 0.15));
  transition:
    filter 380ms ease,
    transform 380ms ease;
}

.rp-stone-constellation__product-image.uses-multiply {
  mix-blend-mode: multiply;
}

.rp-stone-constellation__product:hover .rp-stone-constellation__product-image,
.rp-stone-constellation__product.is-active .rp-stone-constellation__product-image {
  filter: drop-shadow(0 21px 24px rgba(60, 43, 26, 0.2));
}

.rp-stone-constellation__label {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: max-content;
  color: #756b60;
  font-family: var(--font-sans, "Questrial", "Inter", "Avenir Next", "Helvetica Neue", Arial, sans-serif);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-align: left;
  text-transform: uppercase;
  transition: color 280ms ease;
}

.rp-stone-constellation__label::after {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  margin-top: 7px;
  background: rgba(168, 117, 66, 0.72);
}

.rp-stone-constellation__product:hover .rp-stone-constellation__label,
.rp-stone-constellation__product.is-active .rp-stone-constellation__label {
  color: var(--rp-constellation-text);
}

.rp-stone-constellation__product--0 .rp-stone-constellation__label {
  left: calc(100% - 6px);
  top: 18%;
}

.rp-stone-constellation__product--1 .rp-stone-constellation__label {
  left: 22%;
  top: 86%;
}

.rp-stone-constellation__product--2 .rp-stone-constellation__label {
  left: 82%;
  top: 36%;
}

.rp-stone-constellation__product--3 .rp-stone-constellation__label {
  left: 80%;
  top: 77%;
}

.rp-stone-constellation__product--4 .rp-stone-constellation__label {
  left: 51%;
  top: 91%;
}

.rp-stone-constellation__product--5 .rp-stone-constellation__label {
  right: 79%;
  top: 78%;
}

.rp-stone-constellation__label-number {
  color: var(--rp-constellation-bronze);
}

.rp-stone-constellation__mobile-stage,
.rp-stone-constellation__mobile-selectors {
  display: none;
}

.rp-stone-constellation.is-family-switching .rp-stone-constellation__product {
  opacity: 0;
  transform: translate3d(var(--family-x, 0), var(--family-y, 14px), 0) scale(0.94);
}

.rp-stone-constellation.is-family-switching .rp-stone-constellation__path,
.rp-stone-constellation.is-family-switching .rp-stone-constellation__node {
  opacity: 0.12;
}

.rp-stone-constellation:not(.is-visible) .rp-stone-constellation__copy {
  opacity: 0;
  transform: translateY(20px);
}

.rp-stone-constellation:not(.is-visible) .rp-stone-constellation__medallion {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.91);
}

.rp-stone-constellation:not(.is-visible) .rp-stone-constellation__orbits {
  opacity: 0;
  transform: scale(0.96);
}

.rp-stone-constellation:not(.is-visible) .rp-stone-constellation__product {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}

.rp-stone-constellation__copy,
.rp-stone-constellation__medallion,
.rp-stone-constellation__orbits,
.rp-stone-constellation__product {
  transition-duration: 720ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.rp-stone-constellation.is-visible .rp-stone-constellation__product--1 {
  transition-delay: 70ms;
}

.rp-stone-constellation.is-visible .rp-stone-constellation__product--2 {
  transition-delay: 120ms;
}

.rp-stone-constellation.is-visible .rp-stone-constellation__product--3 {
  transition-delay: 170ms;
}

.rp-stone-constellation.is-visible .rp-stone-constellation__product--4 {
  transition-delay: 220ms;
}

.rp-stone-constellation.is-visible .rp-stone-constellation__product--5 {
  transition-delay: 270ms;
}

@keyframes rp-constellation-radial-reveal {
  0% {
    clip-path: circle(0% at 50% 50%);
    opacity: 0.15;
    transform: scale(1.04);
  }
  100% {
    clip-path: circle(74% at 50% 50%);
    opacity: 1;
    transform: scale(1);
  }
}


/*
 * Compact desktop composition
 * Keeps the entire constellation, copy, selected-product details and CTA
 * visible in one normal desktop viewport beneath the sticky header.
 */
@media (min-width: 981px) {
  .rp-stone-constellation {
    padding-block: clamp(30px, 4.2vh, 48px);
  }

  .rp-stone-constellation__inner {
    gap: clamp(24px, 3vw, 54px);
  }

  .rp-stone-constellation__visual {
    width: min(100%, calc((100svh - 154px) * 1.315789));
    max-width: 100%;
    justify-self: end;
  }

  .rp-stone-constellation__eyebrow {
    margin-bottom: 14px;
  }

  .rp-stone-constellation__eyebrow::after {
    margin-top: 11px;
  }

  .rp-stone-constellation h2 {
    font-size: clamp(2.55rem, 3.8vw, 4.45rem);
    line-height: 0.96;
  }

  .rp-stone-constellation__description {
    margin-top: clamp(17px, 2vh, 24px);
    font-size: clamp(0.94rem, 0.95vw, 1.06rem);
    line-height: 1.65;
  }

  .rp-stone-constellation__supporting {
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .rp-stone-constellation__families {
    gap: 5px 15px;
    margin-top: 18px;
  }

  .rp-stone-constellation__family {
    min-height: 31px;
    padding-block: 5px;
    font-size: 0.67rem;
  }

  .rp-stone-constellation__details {
    margin-top: clamp(20px, 2.5vh, 30px);
  }

  .rp-stone-constellation__details-index {
    margin-bottom: 8px;
  }

  .rp-stone-constellation__details h3 {
    font-size: clamp(1.48rem, 1.8vw, 2.15rem);
  }

  .rp-stone-constellation__facts {
    gap: 4px;
    margin-top: 15px;
  }

  .rp-stone-constellation__facts > div {
    gap: 12px;
    padding-bottom: 5px;
  }

  .rp-stone-constellation__facts dt,
  .rp-stone-constellation__facts dd {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .rp-stone-constellation__product-copy {
    margin-top: 15px;
    font-size: 0.87rem;
    line-height: 1.58;
  }

  .rp-stone-constellation__actions {
    margin-top: 17px;
  }

  .rp-stone-constellation__whatsapp {
    min-height: 43px;
    padding: 10px 15px;
    font-size: 0.7rem;
  }
}

/* Extra restraint for common laptop-height screens. */
@media (min-width: 981px) and (max-height: 860px) {
  .rp-stone-constellation {
    padding-block: 24px;
  }

  .rp-stone-constellation__visual {
    width: min(100%, calc((100svh - 124px) * 1.315789));
  }

  .rp-stone-constellation h2 {
    font-size: clamp(2.35rem, 3.45vw, 3.9rem);
  }

  .rp-stone-constellation__description {
    margin-top: 14px;
  }

  .rp-stone-constellation__supporting {
    display: none;
  }

  .rp-stone-constellation__families {
    margin-top: 13px;
  }

  .rp-stone-constellation__details {
    margin-top: 16px;
  }

  .rp-stone-constellation__product-copy {
    margin-top: 12px;
  }

  .rp-stone-constellation__actions {
    margin-top: 13px;
  }
}

@media (max-width: 1180px) {
  .rp-stone-constellation__inner {
    grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
    gap: 22px;
  }

  .rp-stone-constellation h2 {
    font-size: clamp(2.65rem, 4.3vw, 4.5rem);
  }

  .rp-stone-constellation__label {
    font-size: 0.61rem;
  }
}

@media (max-width: 980px) {
  .rp-stone-constellation {
    padding-block: 88px 100px;
  }

  .rp-stone-constellation__inner {
    grid-template-columns: 1fr;
  }

  .rp-stone-constellation__copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
    gap: 20px 50px;
    align-items: start;
  }

  .rp-stone-constellation__eyebrow,
  .rp-stone-constellation h2,
  .rp-stone-constellation__description,
  .rp-stone-constellation__supporting,
  .rp-stone-constellation__families {
    grid-column: 1;
  }

  .rp-stone-constellation__details {
    grid-column: 2;
    grid-row: 1 / span 6;
    margin-top: 0;
  }

  .rp-stone-constellation__visual {
    max-width: 900px;
    margin-inline: auto;
  }

  .rp-stone-constellation__medallion {
    width: clamp(220px, 34vw, 330px);
  }
}

@media (max-width: 720px) {
  .rp-stone-constellation {
    overflow: hidden;
    padding-block: 76px 84px;
  }

  .rp-stone-constellation__inner {
    gap: 44px;
  }

  .rp-stone-constellation__copy {
    display: block;
  }

  .rp-stone-constellation h2 {
    max-width: 10ch;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .rp-stone-constellation__families {
    flex-wrap: nowrap;
    width: calc(100vw - 2 * var(--rp-page-gutter, 20px));
    max-width: 100%;
    margin-top: 26px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .rp-stone-constellation__families::-webkit-scrollbar {
    display: none;
  }

  .rp-stone-constellation__family {
    flex: 0 0 auto;
  }

  .rp-stone-constellation__details {
    margin-top: 34px;
  }

  .rp-stone-constellation__visual {
    aspect-ratio: auto;
    min-height: 620px;
  }

  .rp-stone-constellation__orbits {
    left: 50%;
    top: 8px;
    width: min(650px, 150vw);
    height: min(495px, 114vw);
    transform: translateX(-50%);
    opacity: 0.68;
  }

  .rp-stone-constellation__orbits .rp-stone-constellation__path:not(.is-active),
  .rp-stone-constellation__node:nth-of-type(n + 9) {
    display: none;
  }

  .rp-stone-constellation__medallion {
    left: 50%;
    top: 176px;
    width: min(64vw, 300px);
  }

  .rp-stone-constellation__desktop-products {
    display: none;
  }

  .rp-stone-constellation__mobile-stage {
    position: absolute;
    left: 0;
    right: 0;
    top: 95px;
    z-index: 6;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    min-height: 360px;
  }

  .rp-stone-constellation__mobile-product {
    position: relative;
    z-index: 2;
    width: min(70vw, 320px);
    aspect-ratio: 1;
    margin-inline: auto;
    transform: translateY(118px);
  }

  .rp-stone-constellation__mobile-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 18px 22px rgba(60, 43, 26, 0.18));
    transition:
      opacity 280ms ease,
      transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .rp-stone-constellation.is-updating-details .rp-stone-constellation__mobile-product img {
    opacity: 0.25;
    transform: translateY(8px) scale(0.96);
  }

  .rp-stone-constellation__mobile-arrow {
    appearance: none;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(88, 68, 47, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--rp-constellation-text);
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(79, 57, 34, 0.1);
  }

  .rp-stone-constellation__mobile-selectors {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    z-index: 8;
    display: grid;
    grid-template-columns: repeat(6, minmax(48px, 1fr));
    gap: 7px;
  }

  .rp-stone-constellation__mobile-selector {
    appearance: none;
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    padding: 3px;
    border: 1px solid rgba(90, 68, 44, 0.1);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    opacity: 0.58;
    transition:
      opacity 260ms ease,
      border-color 260ms ease,
      transform 260ms ease;
  }

  .rp-stone-constellation__mobile-selector.is-active {
    opacity: 1;
    border-color: rgba(168, 117, 66, 0.75);
    transform: translateY(-3px) scale(1.04);
  }

  .rp-stone-constellation__mobile-selector img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    mix-blend-mode: multiply;
  }
}

@media (max-width: 430px) {
  .rp-stone-constellation__visual {
    min-height: 590px;
  }

  .rp-stone-constellation__mobile-selectors {
    grid-template-columns: repeat(3, minmax(70px, 1fr));
    gap: 9px 14px;
  }

  .rp-stone-constellation__mobile-selector {
    max-width: 78px;
    justify-self: center;
  }

  .rp-stone-constellation__mobile-product {
    width: min(78vw, 310px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rp-stone-constellation *,
  .rp-stone-constellation *::before,
  .rp-stone-constellation *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 180ms !important;
    transition-delay: 0ms !important;
  }

  .rp-stone-constellation__orbit,
  .rp-stone-constellation__path,
  .rp-stone-constellation__node {
    transform: none !important;
  }
}


/* Lightweight tablet/mobile replacement. */
.rp-stone-constellation__mobile-static {
  display: none;
}

@media (max-width: 1024px) {
  .rp-stone-constellation {
    min-height: 0;
    padding-block: clamp(58px, 10vw, 86px);
    background: #fcfaf6;
  }

  .rp-stone-constellation > :not(.rp-stone-constellation__mobile-static) {
    display: none !important;
  }

  .rp-stone-constellation__mobile-static {
    display: block;
    color: var(--rp-constellation-text, #27231e);
  }

  .rp-stone-constellation__mobile-eyebrow {
    margin: 0 0 14px;
    color: var(--rp-constellation-bronze, #a87542);
    font: 500 0.74rem/1.4 var(--font-sans, "Questrial", sans-serif);
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }

  .rp-stone-constellation__mobile-static h2 {
    max-width: 13ch;
    margin: 0;
    font: 300 clamp(2.3rem, 7.5vw, 4.25rem)/1 var(--font-display, "Questrial", sans-serif);
    letter-spacing: -0.045em;
  }

  .rp-stone-constellation__mobile-static > p:not(.rp-stone-constellation__mobile-eyebrow) {
    max-width: 58ch;
    margin: 20px 0 0;
    color: var(--rp-constellation-muted, #6f675e);
    font: 400 1rem/1.72 var(--font-sans, "Questrial", sans-serif);
  }

  .rp-stone-constellation__mobile-static > .rp-stone-constellation__mobile-supporting {
    margin-top: 8px;
    font-size: 0.94rem;
  }

  .rp-stone-constellation__mobile-families {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 28px;
  }

  .rp-stone-constellation__mobile-families span {
    position: relative;
    color: #3e3933;
    font: 500 0.76rem/1.35 var(--font-sans, "Questrial", sans-serif);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .rp-stone-constellation__mobile-families span:not(:last-child)::after {
    content: "·";
    position: absolute;
    right: -12px;
    color: rgba(168, 117, 66, 0.65);
  }

  .rp-stone-constellation__mobile-links {
    display: grid;
    justify-items: start;
    gap: 12px;
    margin-top: 30px;
  }

  .rp-stone-constellation__mobile-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #29251f;
    font: 500 0.86rem/1.3 var(--font-sans, "Questrial", sans-serif);
    letter-spacing: 0.04em;
    text-underline-offset: 6px;
  }
}
