/* ==========================================================================
   names.css — The ampersand between the couple's names (single source).
   Pinyon Script's "&" is a tiny squiggle that reads like "ℓ" or "d", so every
   "&" between the names is a <span class="amp"> (built by js/names.js, mirrored
   in the static fallbacks by wedding-tests/tools/static-core.mjs).
   Set --amp-color on a dark context (maroon sections use --color-gold-light);
   set --name-size on a parent whose children are sized separately (the hero).
   ========================================================================== */

.amp {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  /* ~0.7x the script name size; inherits the surrounding size when --name-size is not set */
  font-size: calc(var(--name-size, 1em) * 0.7);
  line-height: 1;
  color: var(--amp-color, var(--color-gold-deep));
  padding-inline: 0.14em;
  /* Optical centring on the script's x-height */
  vertical-align: -0.04em;
}
