/* confetti: bold rounded type, chunky candy cards, no paper grain. The <html> carries .tpl-confetti. */
.tpl-confetti {
  --radius: 22px; --radius-sm: 14px;
  --font-mono-latin: var(--font-display);   /* countdown digits in the rounded display face */
  font-synthesis: none;                      /* Lilita One has one weight: no faux bold or italics */
}
.tpl-confetti .grain { display: none; }

/* Headings: the bold display face, never a script, never italic. */
.tpl-confetti .sec__title { font-family: var(--font-display); font-size: var(--step-5); font-weight: 600; line-height: 1.1; }
.tpl-confetti[lang="ar"] .sec__title { font-size: var(--step-4); font-weight: 700; line-height: 1.45; }
.tpl-confetti .sec__head .eyebrow { color: var(--accent); }
.tpl-confetti .hero__name { font-style: normal; font-weight: 700; text-shadow: none; }
.tpl-confetti[lang="ar"] .hero__name { font-weight: 700; }
.tpl-confetti .hero__joiner { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.tpl-confetti :is(.dress__title, .cover__names, .rsvp__thanks-names, .footer__closing-line, .countdown__today) {
  font-family: var(--font-display); font-weight: 600;
}
.tpl-confetti :is(.footer__names, .rsvp__thanks-title, .countdown__label, .timeline__note, .venue__city, .dress__note) { font-style: normal; }
.tpl-confetti :is(.countdown__num, .footer__names, .venue__name, .timeline__title, .transport__mode) { font-weight: 600; }

/* Cards: rounded, a thick border in the strong colour, a solid candy shadow. */
.tpl-confetti .card {
  border: 2.5px solid var(--accent-hi); background: var(--surface);
  box-shadow: 6px 7px 0 color-mix(in srgb, var(--art-bloom) 65%, transparent);
}
.tpl-confetti .timeline__dot { border: 2.5px solid var(--accent-hi); }
.tpl-confetti .btn { font-weight: 700; }
.tpl-confetti .btn--primary {
  background: var(--accent-hi);
  box-shadow: 0 5px 0 color-mix(in srgb, var(--accent-hi) 55%, var(--ink)), 0 12px 26px color-mix(in srgb, var(--accent-hi) 25%, transparent);
}

/* Error text in the accent: the art yellows are too pale to read. */
.tpl-confetti :is(.field__error, .rsvp__status, .rsvp__notice--error) { color: var(--accent-lo); }
.tpl-confetti .field.is-invalid :is(input, textarea) { border-color: var(--accent); }

/* Curtain cover: white names over the velvet drapes. */
.tpl-confetti .cover--curtain :is(.cover__names, .cover__hint) { color: var(--art-white); }

/* Section eyebrows in the palette's accent, not a greenery tone. */
.tpl-confetti { --eyebrow: var(--accent); }
