/* Theme "Mawar": burgundy and cream with script names and roses by Pierre-Joseph Redouté
   (Les Roses, 1817-1824, public domain; scans via Wikimedia Commons). Loads after classic.css. */
:root {
  --bg: #f7f1ea;
  --ink: #3b2126;
  --muted: #6e5458;
  --accent: #b08a57; /* gold, lines only */
  --accent-ink: #7b2234; /* burgundy: headings, buttons, small text */
  --line: #e6d6c8;
  --card: #fffaf5cc;
  --panel: #efe3d6;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'EB Garamond', Georgia, serif;
  --display: 'Pinyon Script', 'Cormorant Garamond', cursive;
  --photo-radius: 999px 999px 14px 14px;
  --flourish: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'%3E%3Cg fill='none' stroke='%23b08a57' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M6 12h62M132 12h62'/%3E%3Cpath d='M100 3c-10 0-16 9-30 9M100 21c-10 0-16-9-30-9M100 3c10 0 16 9 30 9M100 21c10 0 16-9 30-9'/%3E%3C/g%3E%3Ccircle cx='100' cy='12' r='2.6' fill='%23b08a57'/%3E%3C/svg%3E");
}
body { background: var(--bg) url(mawar/paper.webp); font-weight: 400; font-size: 1.06rem; }

/* Script: names and headings. Pinyon has one weight; 600 would be faux-bolded. */
h1, h2, .sign, .side-names { font-family: var(--display); font-weight: 400; color: var(--accent-ink); }
h1 { font-size: 3.7rem; line-height: 1.15; margin: .25rem 0 .5rem; }
h2 { font-size: 2.7rem; }
h3 { color: var(--accent-ink); }
.amp { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.6rem; color: var(--accent-ink); }
.sign { font-size: 2.8rem; }
.person h2 { font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--ink); }
.guest { color: var(--accent-ink); }
.and { font-family: var(--serif); font-style: italic; font-size: .72em; padding: 0 .08em; }

/* Cover framed by two roses; their cut stems sit off-screen. */
.cover { position: relative; overflow: hidden; }
.cover > * { position: relative; z-index: 1; }
.cover::before, .cover::after { content: ''; position: absolute; z-index: 0; width: min(62vw, 270px); aspect-ratio: 1.08; background: no-repeat center / contain; pointer-events: none; }
.cover::before { top: -34px; right: -74px; background-image: url(mawar/rose-pink.webp); transform: rotate(196deg); }
.cover::after { bottom: -86px; left: -92px; background-image: url(mawar/rose-coral.webp); transform: rotate(10deg); }
.photo { border: 4px solid #fffaf5; outline: 1px solid var(--accent); outline-offset: 6px; box-shadow: 0 18px 40px -22px rgb(59 33 38 / .55); }
.date-block strong { color: var(--accent-ink); }

/* Gold flourish between sections. */
main > section:not(.cover)::before { content: ''; display: block; width: 160px; height: 20px; margin: 0 auto 1.75rem; background: var(--flourish) no-repeat center / contain; }

.countdown div, .gift { backdrop-filter: none; box-shadow: 0 10px 24px -20px rgb(59 33 38 / .5); }
.countdown strong { color: var(--accent-ink); }

/* Closing: a single rose above the signature. */
main > section:last-child::after { content: ''; display: block; width: 150px; aspect-ratio: 1.08; margin: 1.5rem auto 0; background: url(mawar/rose-coral.webp) no-repeat center / contain;
  -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }

@media (min-width: 900px) {
  .side:not(.has-photo)::before { border: 0; opacity: 1; top: auto; bottom: -6%; right: -10%; width: 62%; aspect-ratio: 1.08; border-radius: 0; background: url(mawar/rose-pink.webp) no-repeat center / contain; }
  .side:not(.has-photo) .side-names { color: var(--accent-ink); }
}
