  .js .reveal { opacity: 1; transform: none; }
}

/* ======================================================================
   TEMA: PURE ELEGANCE
   ====================================================================== */

:root {
  --bg: #fff; --surface: #f7f3ee; --text: #2f2a26; --heading: #2f2a26; --muted: #8c7b6b;
  --accent: #8c7b6b; --accent-2: #d8cbbd; --line: rgba(140, 123, 107, .25);
  --font-head: 'Italiana', serif; --font-script: 'Italiana', serif; --font-body: 'Montserrat', sans-serif;
  --btn-bg: #2f2a26; --btn-color: #fff; --input-bg: #fff; --radius: 2px; --radius-sm: 2px;
  --photo-radius: 999px 999px 0 0; --toast-bg: #2f2a26;
}
body { font-weight: 300; font-size: .95rem; }
h1, h2, h3 { font-weight: 400; letter-spacing: .04em; }
.sec-title { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: .12em; text-transform: uppercase; }
.sec-eyebrow, .hero-eyebrow, .cover-label { color: var(--muted); letter-spacing: .45em; font-weight: 400; font-size: .65rem; }
.btn-main, .btn-ghost { text-transform: uppercase; letter-spacing: .25em; font-size: .68rem; font-weight: 500; }
.btn-ghost { color: var(--text); }
.dot-line { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: 1.25rem auto; color: var(--accent); }
.dot-line::before, .dot-line::after { content: ""; width: 48px; height: 1px; background: currentColor; }
.dot-line span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* Cover: foto dalam lengkung tinggi */
.cover-photo { display: none; }
.cover { background: #fff; }
.cover-inner { width: min(100%, 360px); }
.cover-figure { width: min(210px, 56vw); aspect-ratio: 2 / 3; border-radius: 999px 999px 0 0; outline: 1px solid var(--accent); outline-offset: 8px; margin-bottom: 2.25rem; }
.cover-figure img { border-radius: inherit; }
.cover-names, .hero-names, .closing-names { font-family: 'Italiana', serif; letter-spacing: .08em; text-transform: uppercase; }
.cover-names { font-size: clamp(2.2rem, 10vw, 3rem); }
.cover-names .amp, .hero-names .amp { font-size: .6em; color: var(--muted); }
.cover-date, .hero-date { letter-spacing: .5em; font-size: .78rem; color: var(--muted); }
.cover-guest { background: var(--surface); }

.hero-bg, .hero-overlay { display: none; }
.hero { background: var(--surface); }
.hero-inner { border: 1px solid var(--line); border-radius: 999px 999px 0 0; padding: 6rem 2rem 3.5rem; width: min(100%, 420px); background: #fff; }
.hero-names { font-size: clamp(2.6rem, 12vw, 4rem); }

.card-x { background: var(--surface); border: 0; }
.event-icon { border-color: var(--accent-2); }
.cd-item { background: var(--surface); border: 0; }
/* Angka Italiana kurang terbaca → pakai Montserrat tipis */
.cd-num, .gift-number, .stats strong, .cover-date, .hero-date { font-family: 'Montserrat', sans-serif; font-weight: 300; }
.person-name { font-size: clamp(2rem, 8vw, 2.5rem); color: var(--text); letter-spacing: .1em; text-transform: uppercase; }
.person-photo { width: min(200px, 56vw); aspect-ratio: 2 / 3; }
.couple-amp { color: var(--accent-2); }
.quote-box { max-width: 560px; }
.translation { font-size: .95rem; color: var(--muted); }
.arabic { color: var(--text); }
.g-item { border-radius: 0; }
.g-item:nth-child(1), .g-item:nth-child(4) { border-radius: 999px 999px 0 0; }
.sec-event, .sec-rsvp { background: var(--surface); }
.sec-event .card-x, .sec-rsvp .card-x { background: #fff; }
.gift-card { border-radius: 4px; box-shadow: none; }
.gift-bca { --gift-bg: #2f2a26; --gift-color: #f7f3ee; }
.gift-mandiri { --gift-bg: #e9e1d7; --gift-color: #2f2a26; }
.gift-bank { font-family: 'Italiana', serif; font-style: normal; letter-spacing: .2em; }
.closing-title { letter-spacing: .2em; text-transform: uppercase; font-size: clamp(2rem, 8vw, 2.8rem); }
.closing-names { color: var(--muted); font-size: 1.6rem; }
.wish-avatar { background: var(--accent-2); color: var(--text); }
