/* modern-minimal: gallery white space, hairlines, one accent. The <html> carries .tpl-modern-minimal. */
.tpl-modern-minimal {
  --radius: 2px; --radius-sm: 2px;
  --font-mono-latin: var(--font-display);   /* countdown digits and monogram in the display face */
  font-synthesis: none;                      /* no faux italics where a face has none */
}
.tpl-modern-minimal .grain { display: none; }
.tpl-modern-minimal .backdrop { background: var(--art-paper-2); }

/* Headings: the display face, normal weight, at a size that leaves room around it. */
.tpl-modern-minimal .sec__title { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; line-height: 1.15; }
.tpl-modern-minimal[lang="ar"] .sec__title { font-size: var(--step-3); font-weight: 500; line-height: 1.5; }
.tpl-modern-minimal :is(.dress__title, .cover__names, .rsvp__thanks-names) { font-family: var(--font-display); font-size: var(--step-3); font-weight: 400; }
.tpl-modern-minimal :is(.footer__closing-line, .countdown__today) { font-family: var(--font-display); font-size: var(--step-2); }
.tpl-modern-minimal .hero__name { font-style: normal; font-weight: 400; text-shadow: none; }
.tpl-modern-minimal .hero__joiner { font-size: var(--step-2); }
.tpl-modern-minimal :is(.footer__names, .rsvp__thanks-title, .countdown__label) { font-style: normal; }

/* Small uppercase tracked labels, Latin only (Arabic keeps its own spacing). */
.tpl-modern-minimal[lang="en"] :is(.eyebrow, .hero__date, .timeline__time) { font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; }

/* Hairline cards and flat buttons: no shadows, no gradients. */
.tpl-modern-minimal .card { border: 1px solid var(--line); box-shadow: none; background: var(--surface); }
.tpl-modern-minimal .btn--primary { box-shadow: none; background: var(--art-line); }
.tpl-modern-minimal .timeline__dot { box-shadow: 0 0 0 5px var(--bg); }
.tpl-modern-minimal .timeline__line { background: var(--line); }

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

/* Curtain cover: the engine styles names for dark drapes; these drapes are paper. */
.tpl-modern-minimal .cover--curtain :is(.cover__names, .cover__hint) { text-shadow: none; }
.tpl-modern-minimal .cover--curtain .cover__names { color: var(--accent-hi); }
.tpl-modern-minimal .cover--curtain .cover__hint { color: var(--muted); }
/* Keep the left drape on the left in Arabic too (the drapes are drawn, not text). */
.tpl-modern-minimal .drapes { direction: ltr; }
