/* Adults page: stadium opening, the ginga step diagram, the singing scene, plans around an open ring. */

/* Opening: stadium photo bleeding off the right edge, a small open ring pressed against it */
.adults-open__fig { padding-bottom: 2rem; }
.adults-open__photo { width: 100%; }
.adults-open__ring {
  position: absolute; width: clamp(5rem, 18vw, 9rem); left: -1rem; bottom: -0.5rem;
  pointer-events: none;
}
@media (min-width: 60rem) {
  .adults-open__photo { border-radius: var(--r-full) 0 0 var(--r-full); aspect-ratio: 4 / 3; }
  .adults-open__ring { left: -3rem; bottom: -1rem; }
}

/* The ginga: intro text beside the round feet photo */
.ginga__intro { align-items: center; }
.ginga__feet { max-width: 26rem; justify-self: center; width: 100%; }
@media (min-width: 52rem) {
  .ginga__text { grid-column: 1 / span 7; }
  .ginga__feet { grid-column: 8 / -1; margin-right: calc(var(--gutter) * -1.5); max-width: none; }
}

/* The step diagram and its still captions */
.ginga__walk { display: grid; gap: 2rem; margin-top: clamp(3rem, 8vh, 5rem); }
.ginga__fig { display: grid; gap: 1rem; justify-items: center; }
.ginga__svg { width: min(100%, 24rem); height: auto; overflow: visible; }
.ginga__tri { fill: var(--shade); stroke: var(--gourd); stroke-width: 1.4; stroke-linejoin: round; }
.ginga__foot { fill: var(--cream); }
.ginga__ghost { fill: var(--cream); opacity: .32; }
.ginga__walk.is-live .ginga__ghost { opacity: 0; transition: opacity .5s var(--settle); }
.ginga__weight { fill: var(--sun); }
.ginga__key { display: flex; align-items: center; gap: 0.6rem; }
.ginga__dot { width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--sun); flex: none; }

.ginga__steps { list-style: none; padding: 0; display: grid; gap: 1rem; }
.ginga__step { background: var(--shade); border-radius: var(--r-panel); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 0.6rem; max-width: var(--measure); }
.ginga__step h3 { display: flex; align-items: center; gap: 0.75rem; }
.ginga__n {
  display: inline-grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--ground); color: var(--cream); font-size: 1.25rem;
  transition: background-color .4s var(--settle), color .4s var(--settle);
}
.ginga__step.is-on .ginga__n { background: var(--sun); color: var(--ink); }

@media (min-width: 52rem) {
  .ginga__walk { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
  .ginga__fig { grid-column: 1 / span 6; position: sticky; top: 8vh; padding: 2vh 0; }
  .ginga__svg { width: min(100%, 30rem); }
  .ginga__steps { grid-column: 7 / -1; gap: 0; padding-top: 6vh; }
  .ginga__step { margin-bottom: 30vh; }
  .ginga__step:last-child { margin-bottom: 10vh; }
}

/* You will also sing: berimbau round bleeding off the left edge */
.sing__fig { max-width: 28rem; justify-self: center; width: 100%; }
@media (min-width: 52rem) {
  .sing .grid { align-items: center; }
  .sing__fig { grid-column: 1 / span 5; margin-left: calc(var(--gutter) * -2.5); max-width: none; }
  .sing__text { grid-column: 7 / -1; }
}

/* Plans: three price pills, then the open ring with the drop-in in its gap */
.plans .grid { align-items: center; }
.plans__text { display: grid; gap: 1.25rem; }
.plans__list { list-style: none; padding: 0; display: grid; gap: 0.75rem; max-width: 34rem; }
.plans__pill { width: 100%; justify-content: space-between; text-align: left; padding: 0.6rem 0.75rem 0.6rem 1.5rem; gap: 1rem; }
.plans__price {
  flex: none; font-family: var(--display); font-size: 1.15rem; color: var(--ink);
  background: var(--sun); border-radius: var(--r-full); padding: 0.45rem 1rem;
}
.plans__ring { padding-bottom: 2.5rem; }
.plans__ring .ring { max-width: 30rem; }
.plans__mid { font-size: var(--fs-body); }
@media (min-width: 52rem) {
  .plans__text { grid-column: 1 / span 6; }
  .plans__ring { grid-column: 7 / -1; margin-right: calc(var(--gutter) * -2); }
}

/* Closing panel */
.close__panel { display: grid; gap: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  .ginga__walk .ginga__ghost { opacity: .32; }
}
