/* Tema: Modern Burgundy — merah marun & emas champagne di atas krem: panel foto gelap di kiri,
   monogram bercincin, pita teks berjalan (lebih cepat & miring saat di-scroll), kelopak mawar & hati berjatuhan.
   Pilihan warna lewat class body .variant-{marun|navy|zaitun|mocca}. */
:root, .variant-marun {
  --bg: #faf6ee;
  --bg2: #f6eee0;
  --paper: #ffffff;
  --blush: #f6eee0;
  --pink: #e8d3a8;
  --rose: #8a3a42;
  --deep: #5a2127;
  --dark: #3f1519;
  --darker: #250d10;
  --on-deep: #fff8ec;
  --ink: #3f1519;
  --muted: #8b7470;
  --gold: #c59b27;
  --gold-hi: #e5c365;
  --line: rgba(90, 33, 39, .12);
  --shadow: 90 33 39;
  --overlay: 37 13 16;
  --frame: #ffffff;
  --radius: 22px;
  --cover-bg: linear-gradient(160deg, #3f1519, #1d0a0c);
  --cover-ink: #fff8ec;
  --bank-bg: linear-gradient(135deg, var(--darker), var(--deep) 60%, var(--rose));
  --dock-bg: rgba(63, 21, 25, .92);
  --script: "Pinyon Script", cursive;
  --serif: "Playfair Display", Georgia, serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --accent: #c59b27;
}
.variant-navy {
  --pink: #d9cfa8; --rose: #3d5a86; --deep: #1f2f4f; --dark: #17233c; --darker: #0d1526; --ink: #17233c; --muted: #6f7686;
  --line: rgba(31, 47, 79, .12); --shadow: 31 47 79; --overlay: 13 21 38; --cover-bg: linear-gradient(160deg, #17233c, #0a1120); --dock-bg: rgba(23, 35, 60, .92);
}
.variant-zaitun {
  --bg: #f8f6ee; --bg2: #eeecdc; --blush: #eeecdc; --pink: #d6cfa0; --rose: #6b7a45; --deep: #3e4a2a; --dark: #2e381f; --darker: #1b2212;
  --ink: #2e381f; --muted: #737a66; --line: rgba(62, 74, 42, .13); --shadow: 62 74 42; --overlay: 27 34 18;
  --cover-bg: linear-gradient(160deg, #2e381f, #141a0d); --dock-bg: rgba(46, 56, 31, .92);
}
.variant-mocca {
  --bg: #faf5ef; --bg2: #f1e6da; --blush: #f1e6da; --pink: #e3cba8; --rose: #8a5a3c; --deep: #5b3a29; --dark: #452b1e; --darker: #2a1911;
  --ink: #452b1e; --muted: #87766b; --line: rgba(91, 58, 41, .13); --shadow: 91 58 41; --overlay: 42 25 17;
  --cover-bg: linear-gradient(160deg, #452b1e, #1f120b); --dock-bg: rgba(69, 43, 30, .92);
}

/* ---------- dasar ---------- */
.theme-burgundy .content { min-width: 0; overflow-x: clip; }
.theme-burgundy .kicker { font-family: var(--serif); letter-spacing: .32em; color: var(--rose); font-weight: 600; font-size: .68rem; }
.theme-burgundy .sec-title { font-family: var(--serif); font-weight: 700; color: var(--deep); font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.2; }
.theme-burgundy .script { color: var(--deep); }
.theme-burgundy .lead { max-width: 52ch; }
.theme-burgundy .sec { padding: 80px 24px; }
.theme-burgundy .sec + .sec { border-top: 0; }
.theme-burgundy :is(.people, .story, .gift) { background: color-mix(in srgb, var(--bg2) 60%, transparent); }
.theme-burgundy .btn-main, .theme-burgundy .btn-open { background: var(--deep); color: var(--on-deep); }
.theme-burgundy .btn-soft { background: var(--bg2); color: var(--deep); }
.theme-burgundy .btn-soft:hover { background: var(--pink); }

/* layar lebar: panel gelap kiri ~1/3, isi lebar di kanan */
@media (min-width: 900px) {
  .theme-burgundy .layout { grid-template-columns: minmax(320px, 34%) minmax(0, 1fr); }
  .theme-burgundy .content { max-width: none; box-shadow: none; }
  .theme-burgundy .content > .sec > * { max-width: 760px; margin-left: auto; margin-right: auto; }
  .theme-burgundy .content > .sec > .bg-ribbon { max-width: none; }
  .theme-burgundy .dock { left: 67%; }
  .theme-burgundy .intro { width: 66%; }
}
.theme-burgundy .side {
  place-items: stretch; padding: 40px 36px; text-align: center;
  background:
    linear-gradient(rgb(var(--overlay) / .72), rgb(var(--overlay) / .9)),
    var(--cover-img, var(--cover-bg)) var(--cover-pos, center) / cover no-repeat;
}
.theme-burgundy .side::before { content: ""; position: absolute; inset: 0; background: inherit; animation: bgKen 26s ease-in-out infinite alternate; z-index: -1; }
.theme-burgundy .side-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
.theme-burgundy .side .kicker { color: var(--gold-hi); order: -1; }
.theme-burgundy .side-title { font-size: clamp(3.2rem, 5vw, 4.8rem); line-height: 1.05; color: #fff3df; text-shadow: 0 4px 30px rgba(0, 0, 0, .4); }
.theme-burgundy .side-date { font-family: var(--serif); font-size: .82rem; letter-spacing: .3em; color: #f0dfc0; }
@keyframes bgKen { to { transform: scale(1.08); } }
.bg-side-count p { font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-hi); font-weight: 700; margin-bottom: 10px; }
.bg-side-count > div { display: flex; gap: 8px; justify-content: center; }
.bg-side-count > div > div { width: 62px; padding: 9px 0; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(6px); }
.bg-side-count b { display: block; font-family: var(--serif); font-size: 1.4rem; color: #fff3df; line-height: 1.1; font-variant-numeric: lining-nums; }
.bg-side-count span { font-size: .56rem; letter-spacing: .1em; text-transform: uppercase; color: #e0cfb5; }

/* monogram bercincin */
.bg-mono { position: relative; width: 112px; height: 112px; margin: 0 auto 18px; display: grid; place-items: center; filter: drop-shadow(0 0 18px rgb(229 195 101 / .35)); }
.bg-mono svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--gold-hi); stroke-width: 1.2; }
.bg-mono svg path { fill: var(--gold-hi); stroke: none; }
.bg-mono-dash { stroke-dasharray: 2 5; transform-origin: 60px 60px; animation: ambSpin 30s linear infinite; }
.bg-mono span { font-family: var(--script); font-size: 2.5rem; color: var(--gold-hi); line-height: 1; white-space: nowrap; }
.bg-mono small { font-size: .55em; margin: 0 1px; opacity: .85; }
.side .bg-mono { width: 96px; height: 96px; margin: 0; }
.side .bg-mono span { font-size: 2.1rem; }

/* ---------- sampul ---------- */
.theme-burgundy .cover {
  background:
    radial-gradient(circle at 50% 40%, rgb(var(--overlay) / .35), rgb(var(--overlay) / .92) 75%),
    var(--cover-img, none) var(--cover-pos, center) / cover no-repeat, var(--cover-bg);
}
.theme-burgundy .cover-inner {
  width: min(100%, 450px); max-width: none; padding: 38px 26px 32px; border-radius: 28px; color: #fff8ec;
  background: linear-gradient(180deg, rgb(var(--overlay) / .82), rgb(var(--overlay) / .92));
  border: 1px solid rgb(197 155 39 / .35); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.theme-burgundy .cover .deco { color: var(--gold); opacity: .35; }
.theme-burgundy .cover .kicker { color: var(--gold-hi); }
.theme-burgundy .cover-title { color: #fff3df; font-size: clamp(3rem, 13vw, 4.2rem); text-shadow: 0 0 24px rgb(229 195 101 / .3); }
.theme-burgundy .cover-date { font-family: var(--serif); font-style: italic; font-size: .95rem; color: #ead9bd; }
.theme-burgundy .cover-guest { background: rgba(255, 255, 255, .08) !important; border-color: rgba(255, 255, 255, .16) !important; }
.theme-burgundy .cover-guest b { color: var(--gold-hi); font-family: var(--serif); font-weight: 700; }
.theme-burgundy .cover .btn-open { background: linear-gradient(90deg, #f59e0b, #fbbf24 50%, #d97706); color: #3f1519; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- pita teks berjalan ---------- */
.bg-ribbon { min-width: 0; max-width: 100vw; overflow: hidden; background: var(--darker); color: var(--gold-hi); border-block: 1px solid rgb(197 155 39 / .4); white-space: nowrap; }
.bg-track { display: inline-flex; gap: 26px; padding: 9px 0; font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; will-change: transform; }
.bg-track i { font-style: normal; color: var(--gold); }
.bg-ribbon-top { margin: -56px -24px 46px; }
.bg-ribbon-sec { position: absolute; top: 0; left: 0; right: 0; transform: skewY(var(--vskew, 0deg)); }
.theme-burgundy :is(.story, .wishes):has(.bg-ribbon-sec) { padding-top: 110px; }

/* ---------- beranda ---------- */
.theme-burgundy .hero { background: radial-gradient(circle at 50% 10%, var(--bg2), transparent 60%); }
.theme-burgundy .arch { border-color: var(--frame); box-shadow: 0 0 0 1px var(--gold), 0 0 0 8px var(--bg), 0 0 0 9px rgb(197 155 39 / .35), 0 30px 50px -25px rgb(var(--shadow) / .7); }
.theme-burgundy .hero-title { font-size: clamp(3.4rem, 9vw, 4.6rem); }
.theme-burgundy .hero-date { font-family: var(--serif); font-style: italic; }
.theme-burgundy .countdown div { background: var(--paper); border-color: rgb(197 155 39 / .3); box-shadow: 0 10px 22px -16px rgb(var(--shadow) / .6); }
.theme-burgundy .countdown b { font-family: var(--serif); font-weight: 700; color: var(--deep); }

/* ---------- pembuka ---------- */
.theme-burgundy .divider-orn { width: 120px; height: 60px; color: var(--gold); }
.theme-burgundy blockquote { position: relative; max-width: 520px; padding: 26px 26px 20px; border-radius: 22px; background: var(--paper); border: 1px solid rgb(197 155 39 / .3); box-shadow: 0 20px 40px -28px rgb(var(--shadow) / .6); }
.theme-burgundy blockquote::before { content: "“"; position: absolute; top: -6px; right: 18px; font: 700 4rem/1 var(--serif); color: rgb(197 155 39 / .35); }
.theme-burgundy blockquote p { font-family: var(--italic); color: var(--ink); font-size: 1.1rem; }
.theme-burgundy blockquote cite { color: var(--deep); font-weight: 700; }

/* ---------- mempelai: dua kartu berdampingan ---------- */
.theme-burgundy .people { display: grid; grid-template-columns: 1fr; gap: 14px; justify-items: center; }
.theme-burgundy .people > * { grid-column: 1 / -1; }
@media (min-width: 640px) {
  .theme-burgundy .people:has(.amp):not(:has(.amp ~ .amp)) { grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .theme-burgundy .people:has(.amp):not(:has(.amp ~ .amp)) .person { grid-column: auto; grid-row: 2; }
  .theme-burgundy .people:has(.amp):not(:has(.amp ~ .amp)) .amp { display: none; }
}
.theme-burgundy .person { width: 100%; max-width: 340px; padding: 30px 20px 26px; border-radius: 26px; background: var(--paper); box-shadow: 0 30px 50px -30px rgb(var(--shadow) / .55); rotate: -1.2deg; }
.theme-burgundy .person + .amp + .person, .theme-burgundy .person:nth-of-type(even) { rotate: 1.2deg; }
.theme-burgundy .person-photo { width: 150px; height: 150px; border: 6px solid var(--paper); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 8px var(--paper), 0 0 0 9px rgb(197 155 39 / .55); outline: 2px dashed rgb(197 155 39 / .6); outline-offset: 12px; margin-bottom: 26px; }
.theme-burgundy .person-name { font-family: var(--serif); font-weight: 700; font-size: 1.45rem; color: var(--deep); line-height: 1.25; }
.theme-burgundy .person-full { font-family: var(--italic); font-style: italic; font-weight: 500; color: var(--muted); font-size: 1.05rem; }
.theme-burgundy .ig { background: var(--bg2); }
.theme-burgundy .amp { color: var(--gold); }

/* ---------- acara ---------- */
.theme-burgundy .event { text-align: left; background: var(--paper); border-color: rgb(197 155 39 / .25); box-shadow: 0 30px 50px -30px rgb(var(--shadow) / .55); rotate: -.6deg; }
.theme-burgundy .event:nth-of-type(even) { rotate: .6deg; }
.theme-burgundy .event h3 { font-weight: 700; font-size: 1.45rem; }
.theme-burgundy .event h3::before { content: "♡ "; color: var(--gold); }
.theme-burgundy .event-date { justify-content: flex-start; }
.theme-burgundy .event-date b { color: var(--deep); font-weight: 700; }
.theme-burgundy .event-time { display: inline-block; padding: 3px 12px; border-radius: 99px; background: var(--deep); color: var(--gold-hi); font-size: .8rem; }
.theme-burgundy .event-actions { justify-content: flex-start; }
.theme-burgundy .event-actions .btn:first-child { background: var(--deep); color: var(--on-deep); }
.theme-burgundy :is(.dresscode, .livestream) { padding: 24px; border-radius: 22px; background: var(--bg2); border: 1px solid rgb(197 155 39 / .3); }
.theme-burgundy .dc-title { color: var(--deep); font-weight: 700; }

/* ---------- cerita ---------- */
.theme-burgundy .timeline { transform: skewY(var(--vskew, 0deg)); }
.theme-burgundy .timeline::before { background: linear-gradient(var(--gold), transparent); }
.theme-burgundy .timeline li { padding: 0 0 26px; }
.theme-burgundy .timeline li::before { background: var(--deep); box-shadow: 0 0 0 4px var(--bg2), 0 0 0 5px var(--gold); }
.theme-burgundy .timeline li > :not(.t-date)::before { content: none; }
.theme-burgundy .t-date { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--deep); color: var(--gold-hi); }
.theme-burgundy .timeline h3 { font-weight: 700; margin-top: 4px; }

/* ---------- galeri ---------- */
.theme-burgundy .grid { transform: skewY(var(--vskew, 0deg)); }
@media (min-width: 900px) { .theme-burgundy .grid { columns: 3; } }
.theme-burgundy .g-item { border-radius: 16px; box-shadow: 0 14px 26px -18px rgb(var(--shadow) / .7); }

/* ---------- ucapan ---------- */
.theme-burgundy .wish-form { box-shadow: 0 30px 50px -34px rgb(var(--shadow) / .55); }
.theme-burgundy .wish { border-left: 3px solid var(--gold); }

/* ---------- hadiah ---------- */
.theme-burgundy .bank { border: 1px solid rgb(229 195 101 / .35); }
.theme-burgundy .bank-brand { letter-spacing: .1em; }
@media (min-width: 900px) {
  .theme-burgundy .gift { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .theme-burgundy .gift > * { flex: 0 0 100%; }
  .theme-burgundy .gift > .bank { flex: 0 1 360px; margin: 0; }
}

/* ---------- penutup: blok gelap ---------- */
.theme-burgundy .closing { background: var(--darker); color: #ead9bd; }
.theme-burgundy .closing .lead { color: #ead9bd; font-family: var(--italic); font-style: italic; font-size: 1.05rem; }
.theme-burgundy .closing .kicker { color: var(--gold-hi); }
.theme-burgundy .closing-title { color: var(--gold-hi); font-size: clamp(3rem, 8vw, 4rem); }
.theme-burgundy .closing .divider-orn { color: var(--gold-hi); }
.theme-burgundy .foot { background: var(--darker); color: #b9a48a; margin: 0; padding: 0 0 calc(var(--dock-h) + 40px); }
.theme-burgundy .foot a { color: var(--gold-hi); }
.theme-burgundy .content { padding-bottom: 0; }

/* ---------- navigasi & musik: piringan hitam ---------- */
.theme-burgundy .dock { border-color: rgb(229 195 101 / .25); }
.theme-burgundy .dock a { color: #e7d3b8; }
.theme-burgundy .dock a.active { background: rgba(255, 255, 255, .14); color: var(--gold-hi); }
.theme-burgundy .music-btn { width: 48px; height: 48px; background: repeating-radial-gradient(circle, #1a1a1a 0 2px, #2b2b2b 2px 3px); color: transparent; box-shadow: 0 0 0 2px var(--gold-hi), 0 10px 24px -8px rgba(0, 0, 0, .6); }
.theme-burgundy .music-btn::after { content: ""; position: absolute; inset: 15px; border-radius: 50%; background: radial-gradient(circle, #111 0 2px, var(--gold) 3px 100%); }

/* ---------- kelopak mawar & hati ---------- */
.theme-burgundy .petals i { background: linear-gradient(135deg, #b8434f, #7a1f2a); opacity: .55; border-radius: 80% 0 70% 10%; }
.theme-burgundy .petals i:nth-child(3n) { background: none; width: 14px; height: 14px; opacity: .5; }
.theme-burgundy .petals i:nth-child(3n)::before { content: "♥"; position: absolute; inset: 0; font: 14px/1 serif; color: #d46a78; }
.theme-burgundy .petals i:nth-child(4n) { background: var(--gold-hi); width: 5px; height: 5px; border-radius: 50%; box-shadow: 0 0 8px var(--gold-hi); }

.theme-burgundy [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .theme-burgundy .side::before, .bg-mono-dash { animation: none; }
}
