/* The Roadmap page (plan.md, "Roadmap"): the header's words over the owner and her roadmap building beside her, the
   analysis over a parent comparing dentists, the twelve months on the designed ground, the budget over the owner and
   her office manager, the owner's small part, the close. */

/* the header: centered words, then the dentist-owner and her roadmap building itself, side by side */
.ihero--stack { padding-block: calc(var(--header-h) + clamp(2.5rem, 1.5rem + 3vw, 4.5rem)) clamp(3.5rem, 2rem + 4vw, 6rem); }
.rm-hero__words { display: grid; justify-items: center; max-width: 50rem; margin-inline: auto; text-align: center; }
.rm-hero__cta { justify-items: center; }
.rm-hero__cta .cta-note { justify-content: center; }
.rm-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(600px, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: stretch; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.rm-hero__pic { min-height: 560px; }
.rm-hero__pic .frame__media { object-position: 46% 30%; }
.rm-hero__build { position: relative; }
.rm-hero__scene { width: 100%; height: 560px; }
@media (max-width: 1100px) {
  .rm-hero__row { grid-template-columns: 1fr; }
  .rm-hero__pic { min-height: 0; aspect-ratio: 16 / 9.5; }
}
@media (max-width: 640px) { .rm-hero__scene { height: 700px; } }

/* the analysis: the parent at the right of her photo, the comparison over its left */
.rm-analysis__grid { align-items: center; }
.rm-analysis__pic { aspect-ratio: 4 / 3.4; min-height: 480px; }
.rm-analysis__photo { object-position: 0% 30%; }
.rm-analysis__scan { left: 1rem; bottom: 1rem; width: min(380px, 58%); }
.rm-analysis__stop { left: calc(1rem + min(380px, 58%) + 0.6rem); bottom: 1rem; } /* beside the comparison's lower right */
/* on a phone the photo is a tall strip, the parent's face in its top 19rem, the comparison over the rest */
@media (max-width: 900px) {
  .rm-analysis__pic { aspect-ratio: auto; min-height: 0; padding: 19rem 0.75rem 0.75rem; }
  .rm-analysis__photo { object-position: 78% 10%; }
  .frame .rm-analysis__scan { position: relative; inset: auto; width: auto; }
  .rm-analysis__stop { left: auto; bottom: auto; top: calc(19rem - 3.25rem); right: 0.85rem; }
}

/* the twelve months: the words at the left, set lower; the year across the right two thirds */
.rm-months__grid { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.rm-months__head { margin: clamp(1rem, 0rem + 4vw, 4rem) 0 0; }
.rm-months__stage { margin-top: 0; }
.rm-months__scene { width: 100%; }
.rm-months__stop { top: -3.4rem; right: 0; }
@media (max-width: 1000px) {
  .rm-months__grid { grid-template-columns: 1fr; }
  .rm-months__head { margin: 0; }
  .rm-months__stop { top: auto; bottom: -3.4rem; }
}

/* the budget: the owner and her office manager at the top of their photo, the shares over its lower right */
.rm-budget__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: center; }
.rm-budget__pic { height: 680px; }
.rm-budget__photo { object-position: 40% 20%; }
.rm-budget__cost { right: 1rem; bottom: 1rem; width: min(380px, 56%); }
.rm-budget__stop { right: calc(1rem + min(380px, 56%) + 0.6rem); bottom: 1rem; } /* beside the shares' lower left */
@media (max-width: 900px) {
  .rm-budget__grid { grid-template-columns: 1fr; }
  .rm-budget__pic { height: auto; padding: 18rem 0.75rem 0.75rem; }
  .rm-budget__photo { object-position: 34% 15%; }
  .frame .rm-budget__cost { position: relative; inset: auto; width: auto; }
  .rm-budget__stop { bottom: auto; top: calc(18rem - 3.25rem); right: 0.85rem; }
}

/* the owner's part: the words at the left; the florist and the two parts under her, set lower */
.rm-get__stage { display: grid; gap: 1rem; margin-top: clamp(0rem, -2rem + 7vw, 5rem); }
.rm-get__pic { aspect-ratio: 16 / 8.5; }
.rm-get__photo { object-position: 25% 45%; }
.rm-get__card { position: relative; }
.rm-get__part { width: 100%; }
.rm-get__stop { top: calc(-1rem - 44px - 0.6rem); right: 0.85rem; } /* on the photo's lower right, just above the two parts */
@media (max-width: 900px) { .rm-get__pic { aspect-ratio: 4 / 3; } .rm-get__photo { object-position: 22% 45%; } }

/* the close: the receptionist at the middle, the words over the patient's back */
.rm-close__photo { object-position: 55% 40%; }
@media (max-width: 760px) { .pclose .rm-close__photo { object-position: 58% 30%; } }
