/* Camelback Flowershop, the home page: the jar handed over, then six questions down one column. */

/* ---------- pieces ---------- */

/* caf-jar = the opening pass: the Arcadia jar crop, kept a little clear of the slogan so the pressed sticker never reaches it */
.caf-jar { margin-block-start: 0.625rem; }
.caf-jar > .caf-stk { min-inline-size: 2.75rem; }
.caf-jar .caf-nam { text-underline-offset: 0.25em; }

/* caf-aft = afterword: the one line under the two pills saying what the jar is for */
.caf-aft { margin-block-start: 1.25rem; }

/* caf-own-say = the owner's sentence that closes the first screen */
.caf-own-say { margin-block-start: clamp(1.5rem, 5vh, 2.75rem); }
.caf-say > p { margin-block-end: 0; }
.caf-say > p + p { margin-block-start: 0.5em; }

/* caf-qs = question screen: a pass, a Bodoni question, short facts and one way onward; a wider raspberry gap above each */
.caf-qs { padding-block-start: clamp(4.5rem, 12vh, 6.5rem); }
.caf-qs > .caf-pas { --shape-of-the-crop: 4 / 3; }
.caf-qs > .caf-pas + h2 { margin-block-start: 1.75rem; }
.caf-qs > h2 + .caf-pas { margin-block-start: 0.5rem; }
.caf-qs > .caf-pas + p { margin-block-start: 1.75rem; }
.caf-qs > p { margin-block-end: 0; }

/* name, leader and price stay on one row: the name wraps inside its own share, the price never drops */
.caf-qs .caf-tag { flex-wrap: nowrap; }
.caf-qs .caf-tag > .caf-nam { flex: 0 1 auto; min-inline-size: 0; }
.caf-qs .caf-tag > .caf-prc { flex: none; }

/* caf-far = far side: the pass sits against the column's far edge, so the crops step down the page */
.caf-far { margin-inline-start: auto; }

/* caf-ful = full: the pass runs the whole width of the column, under the question instead of over it */
.caf-pas.caf-ful { inline-size: 100%; }
.caf-qs > .caf-pas.caf-ful { --shape-of-the-crop: 3 / 2; }

/* caf-lng = long crop: the pass keeps the wide 16 by 9 shape of the long table */
.caf-qs > .caf-pas.caf-lng { --shape-of-the-crop: 16 / 9; }

/* caf-prl = price list: names and prices on dotted leaders, each row a caf-tag */
.caf-prl {
  margin: 0;
  padding: 0;
  list-style: none;
}
.caf-prl > .caf-tag { padding-block-start: 0.5rem; }
.caf-prl > .caf-tag + .caf-tag { margin-block-start: 0.125rem; }
.caf-prl a {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}

/* caf-sum = sums: the two team-gift minimums, figure large in Zilla Slab with its sentence beneath */
.caf-sum { margin-inline: 0; margin-block-end: 0; }
.caf-sum > div {
  display: flex;
  flex-direction: column-reverse;
  padding-block: 0.75rem;
  border-block-end: var(--thickness-of-an-outline) dotted currentColor;
}
.caf-sum dd {
  margin: 0;
  font-size: clamp(2rem, 1.6rem + 2vw, 2.75rem);
  line-height: 1.1;
}
.caf-sum dt { margin-block-start: 0.25rem; }

/* caf-lnk = onward links: the pill (and any small link) that closes a question screen */
.caf-lnk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}
.caf-qs > .caf-lnk { margin-block-start: 1.5rem; }
.caf-lnk > a:not(.caf-pil) {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
}

/* caf-cls = the close: one lead (the owner's saying), one body paragraph, then the two pills with air above */
.caf-cls { padding-block-start: clamp(4.5rem, 12vh, 6.5rem); }
.caf-cls > .caf-say { margin-block-start: 1.25rem; }
.caf-cls > .caf-cls-txt {
  margin-block: 1.25rem 0;
  font-size: var(--size-of-reading-type);
  line-height: 1.5;
}
.caf-cls > .caf-duo { margin-block-start: 2.25rem; }
