/* iv201 Etched card (INV-21 Acrylic Glass W1, A2757; plan docs/plans/plan_inv21_acrylic_glass.md, row 3): one frosted
   acrylic pane on the Champagne Crystal wall (the skin's .k-ag-pane, its mist first), the families' words centred on it:
   a small gold-ringed monogram, the blessing (when there is one), the hosts and their relation, the invitation sentence in
   italic, then the names between two gold rules (stacked on phone and tablet, on one line on a laptop, like the hero).
   One small gold sprig prints in the pane's top right corner, clear of the words. The pane is the ladder's width
   (var(--ag-sw)), never a phone column on a laptop. Nothing on the pane or above it may transform, filter or contain. */
.iv201 { position: relative; padding: var(--k-section-pad) var(--k-gutter); text-align: center; color: var(--ag-ink); }
.iv201 .iv201__pane { padding: calc(64 * var(--ag-u)) calc(22 * var(--ag-u)) calc(52 * var(--ag-u)); }
/* the words' box: the names' fit measures it (cqi); it holds only words, never the mist */
.iv201 .iv201__body { container-type: inline-size; display: flex; flex-direction: column; align-items: center; }

/* the monogram: the initials in a thin gold ring */
.iv201 .iv201-mono { margin: 0 0 calc(24 * var(--ag-u)); }
.iv201 .iv201-mono span { display: grid; place-items: center; width: calc(58 * var(--ag-u)); height: calc(58 * var(--ag-u)); border-radius: 50%;
  padding-left: .12em; border: 1px solid var(--ag-gold-2); outline: 1px solid var(--ag-gold-3); outline-offset: calc(3 * var(--ag-u));
  font: 500 calc(15 * var(--ag-u))/1 var(--k-font-display); letter-spacing: .12em; color: var(--ag-gold-1); }
.iv201 .iv201-blessing { max-width: 26em; margin: 0 auto calc(20 * var(--ag-u)); color: var(--ag-ink-2); overflow-wrap: anywhere; }

/* the hosts: their names in caps, the relation in small caps under them */
.iv201 .iv201-hosts { display: grid; gap: calc(12 * var(--ag-u)); }
.iv201 .iv201-host__names { display: block; padding-left: .2em; font: 500 calc(14 * var(--ag-u))/1.5 var(--k-font-display); letter-spacing: .2em;
  text-transform: uppercase; color: var(--ag-ink); overflow-wrap: anywhere; }
.iv201 .iv201-host__rel { display: block; margin-top: calc(2 * var(--ag-u)); padding-left: .2em; }
/* the invitation sentence, in italic at the reading size */
.iv201 .iv201-line { max-width: 22em; margin: calc(18 * var(--ag-u)) auto 0; font-style: italic; color: var(--ag-ink-2); text-wrap: balance; }
.iv201 .iv201__rule { margin: calc(22 * var(--ag-u)) auto; }

/* the names: stacked; the longest name always fits the words' box (name_len, about .86 em a letter with the spacing) */
.iv201 .iv201-names { display: flex; flex-direction: column; align-items: center; margin: 0; font-weight: 500; }
.iv201 .iv201-names__n { font-size: min(calc(38 * var(--ag-u)), calc(100cqi / (var(--iv201-len, 6) * .86))); line-height: 1.02; overflow-wrap: anywhere; }
.iv201 .iv201-and { margin: calc(-2 * var(--ag-u)) 0 calc(4 * var(--ag-u)); }

/* tablet: more air at the sides */
@media (min-width: 700px) and (max-aspect-ratio: 999/1000) {
  .iv201 .iv201__pane { padding: calc(64 * var(--ag-u)) 8% calc(56 * var(--ag-u)); }
}
/* laptop: a wide pane; the names on one line, as on the hero's wide slab */
@media (min-aspect-ratio: 1/1) {
  .iv201 .iv201__pane { padding: calc(60 * var(--ag-u)) 10% calc(54 * var(--ag-u)); }
  .iv201 .iv201-line { max-width: 30em; }
  .iv201 .iv201__rule { width: calc(160 * var(--ag-u)); }
  .iv201 .iv201-names { flex-direction: row; gap: calc(4 * var(--ag-u)); }
  .iv201 .iv201-names__n { font-size: min(calc(38 * var(--ag-u)), calc((100cqi - 200 * var(--ag-u)) / (var(--iv201-len, 6) * 1.72))); }
  /* the script's swashes reach past the line box: pad the gold fill's box (background-clip) and give the room back */
  .iv201 .iv201-and { line-height: 1; padding: .32em .24em .2em; margin: -.32em calc(10 * var(--ag-u) - .24em) -.2em; }
}
