/* Dispatches page. Runs in the order the page is read. Names added here:
   burso = a dispatch that runs as text and panel alone, no picture;
   burfi = the row of kind buttons; burpl = the price list; burhd = the hand-off panel. */

/* The opening pair: the foundation's .burs does the stepping; only the sentence under the h1 needs room. */
.burs .buro + p { margin-top: 1rem; }

/* The four dispatches: .buri blocks on the foundation's rungs, each with its own picture share. */
.buri .burh { margin-bottom: 0.45em; }
.buri .burh a { text-decoration: none; display: inline; }
.buri .burh a:hover, .buri .burh a:focus-visible { text-decoration: underline; }
.buri .burg img { height: auto; }
.buri[data-burr="3"] .burg img { aspect-ratio: 4 / 5; }
/* burso: the picture area is gone, the panel takes the whole rung. */
.buri.burso {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "words";
}
.buri.burso .burp p { max-width: 40em; }
@media (max-width: 55.99em) {
  .buri[data-burr="3"] .burg img { aspect-ratio: 1 / 1; }
}
@media (min-width: 56em) {
  .buri[data-burr="2"] { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .buri[data-burr="3"] { grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); }
  .buri[data-burr="4"] { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
}

/* The price stair's opening panel and the kind buttons. */
#pricelist .burh { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); max-width: 16em; }
.burfi {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1.25rem 0 0.75rem;
}
.burfi .buru { flex: none; font-size: 0.9375rem; }
html:not(.js) .burfi { display: none; }
@media (max-width: 55.99em) {
  .burfi {
    flex-wrap: nowrap; overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-right: calc(-1 * var(--space-inside-a-panel));
    scrollbar-width: thin;
  }
}

/* The price stair: pale panels, each opened by its own yellow bar; the foundation's .bura sets the inset from the price.
   The left edges step with the price; every panel runs out to one shared right edge, so the figures stand in a column. */
.burpl { list-style: none; margin: var(--space-between-blocks) 0 0; padding: 0; }
.burpl .bura {
  position: relative;
  padding: 1.6rem 1.25rem 1rem;
  background-color: var(--colour-of-the-panels);
  background-image: linear-gradient(var(--colour-of-the-sunflower), var(--colour-of-the-sunflower));
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: var(--length-of-the-bar) var(--thickness-of-the-bar);
  transition: background-color var(--time-of-a-hover) linear;
}
.burpl .bura:hover, .burpl .bura:focus-within { background-color: var(--colour-of-the-sunflower); }
.burpl .bura:focus-within { outline: 0.1875rem solid var(--colour-of-the-ink); outline-offset: 0.125rem; }
.burpl .bura h3 { margin-bottom: 0.2em; }
.burpl .bura a { text-decoration: none; background: transparent; }
.burpl .bura a:focus-visible { outline: none; }
.burpl .bura a::after { content: ""; position: absolute; inset: 0; }
.burpl .bura strong { white-space: nowrap; justify-self: end; text-align: right; }
.burpl .bura p { margin: 0; }
@media (min-width: 56em) {
  .burpl .bura { padding: 1.9rem 2rem 1.4rem; width: auto; margin-right: 6vw; }
}

/* The hand-off: call link, then the two plain text links. */
.burhd { max-width: 44rem; }
.burhd .burh { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); }

/* Phones: keep the stair shallow and the panels at full reading width. */
@media (max-width: 55.99em) {
  .burpl .bura { column-gap: 0.75rem; }
}
