/* Kids page: the open ring around the cartwheel photo, the cartwheel line arc, the rates. */

/* Opening: ring and photo first on the left, bleeding off the window edge */
.kids-open { padding-top: clamp(1rem, 3vh, 2rem); }
.kids-open h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); }
.kids-ring { max-width: 19rem; margin: 0 auto 1.75rem; }
.kids-ring .dotring { position: absolute; inset: 0; width: 100%; }
.kids-ring__photo { width: 80%; position: relative; z-index: 1; }
.kids-ring .ring__seat { z-index: 3; }
@media (min-width: 60rem) {
  .kids-open .opening__text { grid-column: 7 / -1; grid-row: 1; }
  .kids-open .opening__figure {
    grid-column: 1 / span 6; grid-row: 1;
    width: calc(100% + var(--gutter) + 7vw);
    max-width: min(48rem, 72vh);
    margin: 0 0 1.75rem calc(var(--gutter) * -1 - 7vw);
  }
}

/* Section spacing */
.holds, .take, .rates, .note { margin-top: clamp(3rem, 10vh, 6rem); }
.holds__head { display: grid; gap: 1rem; }

/* The cartwheel line: dot arc, big dots mark the four moments, the yellow wheel travels */
.holds__arc { margin: 2rem 0 1.5rem; padding-block: 0.75rem; }
.holds__arc svg { width: 100%; height: auto; overflow: visible; }
.kw-dot { fill: var(--cream); }
.kw-big { fill: var(--cream); }
.kw-wheel line { stroke: var(--sun); stroke-width: 2.6; stroke-linecap: round; }
.kw-wheel circle { fill: var(--sun); }

/* Four moments */
.holds__body { align-items: center; }
.moments { list-style: none; padding: 0; display: grid; gap: 1.75rem; }
.moment h3 { transition: color 0.35s var(--settle); }
.moment h3.is-lit { color: var(--sun); }
.moment p { max-width: 46ch; margin-top: 0.4rem; }
.holds__photo { justify-items: start; }
.holds__photo .photo { width: 100%; }
@media (min-width: 60rem) {
  .moments { grid-column: 1 / span 6; }
  .holds__photo { grid-column: 7 / -1; margin-right: calc(var(--gutter) * -2); }
  .holds__photo .photo { width: 100%; }
}

/* What they take home */
.take .grid { align-items: center; }
@media (min-width: 60rem) {
  .take__text { grid-column: 1 / span 5; }
  .take__photo { grid-column: 6 / -1; margin-right: calc(var(--gutter) * -2); }
}

/* Rates: three pills, each linking to its own page */
.rates__list { list-style: none; padding: 0; display: grid; gap: 1.75rem; margin-top: 1.75rem; }
.rates__list li { display: grid; gap: 0.7rem; justify-items: start; align-content: start; }
.rates__list li p { max-width: 34ch; }
.rates__list li:nth-child(2) { animation-delay: 0.12s; }
.rates__list li:nth-child(3) { animation-delay: 0.24s; }
.rates .pill { flex-wrap: wrap; gap: 0.1em 0.75em; padding-block: 0.5rem; }
.pill__kind { font: 400 1rem/1.2 var(--text); }
@media (min-width: 52rem) {
  .rates__list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); }
}

/* Note for parents */
.note .panel { display: grid; gap: 1.75rem; }
.note__row { margin-top: 0.5rem; }
.note .pill--ink { background: var(--ink); }
