/* The contact page: the call script and the fourth key. Read top to bottom, in the order the page is read. */

/* The opening: lead, photograph, prompts and details share the twelve columns; on phones they read in this order. */
.Reach-lead, .Reach-photo, .Reach-prompts, .Reach-details { min-inline-size: 0; }
.Reach-frame { aspect-ratio: 4 / 3; }

.Reach-dial {
  --depth-of-the-step: 0.875rem;
  min-block-size: 4rem;
  padding-inline: 1.75rem 2.5rem;
  font-size: clamp(1.375rem, 1rem + 1.6vw, 2.25rem);
  font-weight: 500;
  font-variation-settings: "wght" 500;
}

.Reach-prompts .Beats { font-size: clamp(1.1875rem, 1rem + 0.7vw, 1.5rem); line-height: 1.35; }
.Reach-prompts .Heading { margin-block-end: 1.25rem; }
.Reach-details .Heading { margin-block-end: 1.25rem; }
.Reach-details .Particulars { margin-block-start: 1.5rem; grid-template-columns: minmax(4.5rem, 1fr) minmax(0, 3fr); }
.Reach-details dd { overflow-wrap: anywhere; }
.Reach-address { font-style: normal; }
.Reach-details dd > span { display: block; margin-block-start: 0.375rem; font-weight: 500; }

@media (min-width: 56em) {
  .Reach-lead { grid-column: 4 / span 5; grid-row: 1; }
  .Reach-photo { grid-column: 1 / span 3; grid-row: 1 / span 2; }
  .Reach-frame { aspect-ratio: 3 / 4; }
  .Reach-prompts { grid-column: 4 / span 5; grid-row: 2; }
  .Reach-details { grid-column: 9 / span 4; grid-row: 1 / span 2; }
}

/* The call script: a count in the narrow lane, three rows of keys and one large sentence in the wide lane. */
.Script .Count { --size-of-a-beat: clamp(2rem, 4vw, 3.25rem); }
.Script-note { max-inline-size: 22ch; margin-block-start: 1rem; }
.Script-board { min-inline-size: 0; }
.Script-intro { max-inline-size: 46ch; margin-block: 1.25rem 1.75rem; }
.Script-row + .Script-row { margin-block-start: 1.25rem; }
.Script-label {
  margin-block-end: 0.5rem;
  font-weight: 500;
  font-variation-settings: "wght" 500;
}
.Script-keys { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; padding: 0.25rem; }
.Script-keys .Key { text-align: start; }
.Script-keys .Key[data-state="pressed"] { font-weight: 500; font-variation-settings: "wght" 500; }
.Script-sentence {
  max-inline-size: 30ch;
  margin-block-start: 2rem;
  font-size: clamp(1.625rem, 1rem + 2.6vw, 3rem);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.3;
}
.Script-sentence > span {
  padding-inline: 0.2em;
  background: var(--colour-of-the-ochre);
  color: var(--colour-of-the-ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.Script-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block-start: 1.75rem; }
html:not(.js) .Script-row { display: none; }

@media (max-width: 47.99em) {
  .Script-keys { flex-wrap: nowrap; overflow-x: auto; padding-block-end: 0.75rem; }
  .Script-keys .Key { flex: none; white-space: nowrap; }
}
@media (min-width: 56em) {
  .Script-board { grid-column: 4 / -1; }
}

/* Short answers: each one runs the three lanes, question, answer and the way on. */
.Answers { row-gap: 0.5rem; }
.Answer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem var(--space-between-columns); padding-block: 1.25rem; }
.Answer h3 {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 500;
  font-variation-settings: "wght" 500;
  line-height: 1.2;
}
.Answer-key { --colour-of-the-key: var(--colour-of-the-pale-ink); justify-self: start; text-align: start; }
@media (min-width: 56em) {
  .Answer { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .Answer h3 { grid-column: 1 / span 3; }
  .Answer p { grid-column: 4 / span 5; }
  .Answer-key { grid-column: 9 / span 4; }
}

/* The ending: three beats sounded, the fourth filled, and its label is the number. */
.Onward { align-items: center; margin-block-end: var(--space-between-sections); }
.Onward .Count { --size-of-a-beat: clamp(2.25rem, 5vw, 3.75rem); border-block-end: 0; }
.Onward-keys .Answer-key { justify-self: auto; }
