/* Contact: two open rings, one choice. Dots lit yellow on the chosen ring, dim on the other. */

.chead { max-width: 64rem; margin-inline: auto; padding: clamp(1.5rem, 4vh, 3rem) var(--gutter) 1.5rem; text-align: center; display: grid; gap: 1rem; justify-items: center; }
.chead h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.6rem); max-width: 22ch; }
.chead .lede { margin: 0; }

/* The two-item pill switch */
.pair-wrap { display: grid; justify-items: center; gap: 1.75rem; padding: 0 var(--gutter); max-width: 90rem; margin-inline: auto; }
.switch { display: grid; gap: 0.25rem; background: var(--shade); border-radius: 2rem; padding: 0.3rem; width: min(100%, 22rem); }
.switch__b {
  min-height: 2.9rem; padding: 0 1.25rem; border: 0; border-radius: var(--r-full);
  background: none; color: var(--cream); font: 400 1.125rem/1.2 var(--text); cursor: pointer;
  transition: background-color .3s var(--settle), color .3s var(--settle);
}
.switch__b:hover { background: var(--ground); }
.switch__b[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
@media (min-width: 40rem) {
  .switch { display: inline-flex; width: auto; border-radius: var(--r-full); }
}

/* The rings: each address stays static in the centre; the gap holds the action pill */
.pair { display: grid; gap: 3.5rem; width: 100%; padding-bottom: 1rem; justify-items: center; }
@media (min-width: 52rem) { .pair { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; } }
.pair .ring { max-width: min(100%, 27rem); margin-bottom: 2.25rem; cursor: pointer; }
.pair .ring__centre { width: 66%; gap: 0.4rem; }
.pair .ring__centre h2 { font-size: clamp(1.15rem, 1rem + 0.8vw, 1.55rem); line-height: 1.1; }
.pair .ring__centre p { font-size: 1rem; line-height: 1.35; }
.pair .ring__centre p:last-child { color: var(--cream); }
.ring .d {
  fill: var(--shade); transform-origin: 50px 50px;
  transition: fill .5s var(--settle), transform .8s var(--sway);
}
.ring.is-on .d { fill: var(--sun); transform: rotate(var(--r)); }
.ring .ring__seat { background: var(--shade); color: var(--cream); transition: background-color .4s var(--settle), color .4s var(--settle), transform .35s var(--sway); }
.ring.is-on .ring__seat { background: var(--sun); color: var(--ink); }
.ring.is-on .ring__seat:hover { background: var(--cream); }

/* Phone and email, large */
.reach { display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.reach__p { max-width: var(--measure); }
.reach__pills { display: grid; gap: 1rem; justify-items: center; width: 100%; }
.big { min-height: 4.5rem; padding: 0.5rem 2rem; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.pill.big { font-family: var(--display); font-size: clamp(1.4rem, 1rem + 2.2vw, 2.4rem); }
.pill.big--mail { font-family: var(--text); font-size: clamp(1.1rem, 4.4vw, 1.9rem); padding-inline: 1.5rem; }
.reach__promo { max-width: 40rem; font-size: 1.125rem; }

/* Your first class */
.first { display: grid; gap: 2.5rem; align-items: center; max-width: 90rem; margin-inline: auto; padding: 0 var(--gutter); }
.first__text { display: grid; gap: 1.25rem; align-content: start; }
.first__steps { list-style: none; padding: 0; display: grid; gap: 0.75rem; max-width: var(--measure); }
.first__steps li { background: var(--shade); border-radius: 2rem; padding: 1rem 1.5rem; }
.first__steps strong { font-weight: 400; display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 0.15rem; }
.first__fig { width: min(100%, 26rem); margin-inline: auto; }
@media (min-width: 60rem) {
  .first { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
  .first__text { grid-column: 1 / span 6; }
  .first__fig { grid-column: 8 / -1; width: 100%; max-width: 34rem; margin-right: calc(var(--gutter) * -1.5); justify-self: end; }
}

/* The roda from above */
.stage { margin-top: clamp(3rem, 9vh, 6rem); }
.stage .photo { width: 100%; }
.stage .caption { max-width: none; text-align: center; }
.stage .figure { gap: 1.25rem; }

/* Where to read next */
.go { display: grid; gap: 1.25rem; margin-top: clamp(3rem, 9vh, 6rem); justify-items: start; }
.go__p { max-width: var(--measure); }
.go .pill { min-height: 3rem; }
