/* Tema: Editorial Luxury — undangan gaya majalah mewah: latar hitam, emas champagne, kartu kaca,
   bab bernomor (Chapter I, II, …), galeri slider + thumbnail, debu emas melayang.
   Layar lebar memakai tata letak penuh (tanpa panel foto kiri).
   Pilihan warna lewat class body .variant-{champagne|platinum|rosegold|emerald}. */
:root, .variant-champagne {
  --bg: #070709;
  --paper: rgba(20, 19, 24, .72);
  --card: rgba(24, 22, 18, .78);
  --blush: rgba(223, 186, 115, .1);
  --pink: rgba(223, 186, 115, .35);
  --rose: #dfba73;
  --deep: #dfba73;            /* aksen utama: tombol, nama */
  --on-deep: #0b0b0e;
  --ink: #f8f7f4;
  --muted: #a8a29e;
  --gold: #dfba73;
  --gold-hi: #fae5a8;
  --gold-lo: #c89643;
  --gold-rgb: 223 186 115;
  --line: rgba(255, 255, 255, .09);
  --shadow: 0 0 0;
  --overlay: 7 7 9;
  --frame: #14141a;
  --radius: 24px;
  --cover-bg: #070709;
  --cover-ink: #f8f7f4;
  --dock-bg: rgba(14, 14, 18, .78);
  --script: "Pinyon Script", cursive;
  --serif: "Cinzel", Georgia, serif;
  --italic: "Playfair Display", Georgia, serif;
  --display: "Syne", system-ui, sans-serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --accent: #dfba73;
}
.variant-platinum {
  --blush: rgba(214, 220, 228, .1); --pink: rgba(214, 220, 228, .35); --rose: #d6dce4; --deep: #d6dce4; --gold: #c8cfd9;
  --gold-hi: #ffffff; --gold-lo: #8c96a5; --gold-rgb: 214 220 228; --card: rgba(20, 21, 25, .8); --accent: #d6dce4;
}
.variant-rosegold {
  --blush: rgba(232, 169, 154, .1); --pink: rgba(232, 169, 154, .35); --rose: #e8a99a; --deep: #e8a99a; --gold: #e8a99a;
  --gold-hi: #fde3da; --gold-lo: #b9705f; --gold-rgb: 232 169 154; --card: rgba(26, 19, 19, .8); --accent: #e8a99a;
}
.variant-emerald {
  --bg: #04100c; --frame: #0c1d17; --paper: rgba(10, 30, 23, .72); --card: rgba(12, 32, 25, .8); --cover-bg: #04100c;
  --dock-bg: rgba(8, 24, 18, .8); --line: rgba(255, 255, 255, .1);
}

/* ---------- dasar ---------- */
.theme-editorial { background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
.theme-editorial ::selection { background: var(--gold); color: #070709; }
.theme-editorial::after {
  /* butiran film tipis */
  content: ""; position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
.ed-dust { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.theme-editorial .petals { display: none; }

.theme-editorial .layout { display: block; position: relative; z-index: 1; }
.theme-editorial .side { display: none; }
.theme-editorial .content { max-width: 1180px; margin: 0 auto; background: transparent; box-shadow: none; counter-reset: ch; }
.theme-editorial .sec { padding: 96px 20px; }
.theme-editorial .sec + .sec { border-top: 1px solid var(--line); }

.ed-gold, .theme-editorial .sec-title, .theme-editorial .hero-title, .theme-editorial .cover-title, .theme-editorial .closing-title {
  background: linear-gradient(135deg, #fff 0%, var(--gold-hi) 30%, var(--gold) 65%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}
.theme-editorial .kicker { font-family: var(--serif); font-size: .7rem; letter-spacing: .32em; color: var(--gold); font-weight: 700; }
.theme-editorial .sec-title {
  font-family: var(--serif); font-weight: 700; font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; margin: 8px 0 38px;
  background: linear-gradient(180deg, #fff 40%, #d9d4cb); -webkit-background-clip: text; background-clip: text;
}
.theme-editorial .lead { color: var(--muted); max-width: 52ch; font-size: .95rem; }
.theme-editorial .script { color: var(--gold); }

/* nomor bab otomatis: hanya bagian yang tampil yang dihitung */
.theme-editorial :is(.people, .story, .events, .gallery, .gift, .wishes) { counter-increment: ch; }
.theme-editorial :is(.people, .story, .events, .gallery, .gift, .wishes) > .kicker::before { content: "Chapter " counter(ch, upper-roman) " · "; }

/* kartu kaca */
.theme-editorial :is(.person, .event, .timeline li, .wish-form, .wish-list, .qris, .gift-address, .bank, .dresscode, .livestream) {
  background: var(--card); border: 1px solid rgb(var(--gold-rgb) / .22); border-radius: var(--radius);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .8), 0 0 25px rgb(var(--gold-rgb) / .08);
}

/* ---------- tombol ---------- */
.theme-editorial .btn { font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 700; padding: 13px 24px; }
.theme-editorial :is(.btn-open, .btn-main) {
  background: linear-gradient(90deg, var(--gold-lo), var(--gold) 50%, var(--gold-hi)); color: #0b0b0e;
  box-shadow: 0 10px 30px rgb(var(--gold-rgb) / .3);
}
.theme-editorial :is(.btn-open, .btn-main):hover { box-shadow: 0 15px 40px rgb(var(--gold-rgb) / .55); }
.theme-editorial .btn-soft { background: rgba(255, 255, 255, .05); color: var(--ink); border: 1px solid var(--line); }
.theme-editorial .btn-soft:hover { background: rgba(255, 255, 255, .1); border-color: rgb(var(--gold-rgb) / .45); }
.theme-editorial .btn-copy { color: var(--gold); border-color: rgb(var(--gold-rgb) / .4); }
.theme-editorial .btn-copy.done { background: var(--gold); color: #0b0b0e; border-color: var(--gold); }

/* ---------- sampul: kartu undangan pribadi ---------- */
.theme-editorial .cover, .theme-editorial .cover:not([style]) {
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 45%, rgb(var(--gold-rgb) / .14), transparent 55%),
    linear-gradient(rgb(var(--overlay) / .86), rgb(var(--overlay) / .95)),
    var(--cover-img, none) var(--cover-pos, center) / cover no-repeat, var(--bg);
}
.theme-editorial .cover-inner {
  width: min(100%, 500px); max-width: none; padding: 44px 30px 38px; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, rgba(14, 14, 18, .9), rgba(0, 0, 0, .92));
  border: 1px solid rgb(var(--gold-rgb) / .3); box-shadow: 0 0 80px rgb(var(--gold-rgb) / .15);
}
.theme-editorial .cover-inner::before, .theme-editorial .cover-inner::after {
  content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgb(var(--gold-rgb) / .15); filter: blur(50px); pointer-events: none;
}
.theme-editorial .cover-inner::before { top: -110px; left: -110px; }
.theme-editorial .cover-inner::after { bottom: -110px; right: -110px; }
.theme-editorial .cover .deco { display: none; }
.theme-editorial .cover .kicker { color: var(--gold); opacity: .85; }
.theme-editorial .cover-title { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 9vw, 3.1rem); line-height: 1.15; margin: 12px 0 8px; }
.theme-editorial .cover-date { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.theme-editorial .cover-guest { margin: 28px auto 28px; background: rgba(255, 255, 255, .03) !important; border: 1px solid var(--line) !important; backdrop-filter: none; }
.theme-editorial .cover-guest span { font-family: var(--serif); text-transform: uppercase; letter-spacing: .18em; font-size: .64rem; color: var(--muted); opacity: 1; }
.theme-editorial .cover-guest b { font-family: var(--display); font-size: 1.25rem; color: #f4ebd8; font-weight: 700; letter-spacing: .02em; }
.theme-editorial .cover-guest small { font-style: italic; color: var(--muted); }
.theme-editorial .cover .btn-open { animation: edSeal 2.4s ease-in-out infinite; }
@keyframes edSeal { 50% { box-shadow: 0 0 0 16px rgb(var(--gold-rgb) / 0), 0 10px 30px rgb(var(--gold-rgb) / .3); } 0%, 100% { box-shadow: 0 0 0 0 rgb(var(--gold-rgb) / .4), 0 10px 30px rgb(var(--gold-rgb) / .3); } }

.ed-crest { position: relative; width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; border: 1px solid rgb(var(--gold-rgb) / .45); display: grid; place-items: center; }
.ed-crest::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1px solid rgb(var(--gold-rgb) / .2); }
.ed-crest::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid transparent; border-top-color: var(--gold); animation: ambSpin 6s linear infinite; }
.ed-crest span { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; letter-spacing: .14em; margin-right: -.14em; }
.ed-crest span, .ed-bar-vol { background: linear-gradient(135deg, #fff, var(--gold-hi) 30%, var(--gold) 65%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ed-crest-sm { width: 56px; height: 56px; margin-bottom: 16px; }
.ed-crest-sm span { font-size: 1rem; }

/* ---------- beranda: sampul majalah ---------- */
.theme-editorial.has-demo .hero { padding-top: 96px; }
.theme-editorial .hero {
  background: none; padding-top: 34px; min-height: 100vh; min-height: 100svh;
  display: grid; align-content: start; justify-items: center;
  grid-template-areas: "bar" "kicker" "title" "photo" "date" "countdown" "button";
}
.ed-bar {
  grid-area: bar; width: 100%; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px;
  padding-bottom: 18px; margin-bottom: 30px; border-bottom: 1px solid var(--line); text-align: left;
}
.ed-bar-vol { display: block; font-family: var(--serif); font-size: .68rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; }
.ed-bar-sub { display: block; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.ed-bar-date { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #d6d3d1; font-variant-numeric: lining-nums; }
.ed-bar-date i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgb(var(--gold-rgb) / .6); animation: edPing 1.8s ease-out infinite; }
@keyframes edPing { to { box-shadow: 0 0 0 10px rgb(var(--gold-rgb) / 0); } }

.theme-editorial .hero > .kicker { grid-area: kicker; font-family: var(--script); font-weight: 400; text-transform: none; letter-spacing: .02em; font-size: clamp(1.9rem, 6vw, 3rem); color: var(--gold-hi); opacity: .85; }
.theme-editorial .hero-title {
  grid-area: title; font-family: var(--serif); font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(2.5rem, 10vw, 7.2rem); line-height: 1.05; margin: 4px 0 34px; max-width: 14ch;
  filter: drop-shadow(0 2px 14px rgb(var(--gold-rgb) / .35));
}
.theme-editorial .arch {
  grid-area: photo; position: relative; width: 100%; max-width: 980px; height: auto; aspect-ratio: 4 / 5; margin: 0;
  border-radius: 26px; border: 1px solid rgb(var(--gold-rgb) / .22); box-shadow: 0 20px 60px rgba(0, 0, 0, .9); background: var(--frame);
}
.theme-editorial .arch img { object-position: center 28%; transform: scale(1.05); transition: transform 1.2s ease-out; }
.theme-editorial .arch:hover img { transform: scale(1); }
.theme-editorial .arch::after {
  content: "Official Monograph"; position: absolute; inset: auto 0 0; padding: 120px 20px 20px; text-align: left;
  font-family: var(--display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  background: linear-gradient(transparent, rgb(var(--overlay) / .95));
}
.theme-editorial .arch-orn { color: var(--gold); }
.theme-editorial .countdown {
  grid-area: photo; align-self: end; z-index: 1; margin: 0 0 54px; gap: 6px; padding: 10px 14px; border-radius: 18px;
  background: rgba(14, 14, 18, .82); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.theme-editorial .countdown div { width: 56px; background: none; border: 0; padding: 2px 0; }
.theme-editorial .countdown div + div { border-left: 1px solid var(--line); }
.theme-editorial .countdown b { font-family: var(--display); font-size: 1.35rem; color: var(--gold); }
.theme-editorial .countdown span { font-size: .56rem; letter-spacing: .14em; color: var(--muted); }
.theme-editorial .hero-date { grid-area: date; margin-top: 28px; font-family: var(--serif); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .9rem; color: var(--ink); }
.theme-editorial .hero > .btn { grid-area: button; margin-top: 16px; }
@media (min-width: 700px) {
  .theme-editorial .arch { aspect-ratio: 21 / 9; }
  .theme-editorial .arch::after { content: "Official Monograph \A Two Souls, One Harmonious Destiny"; white-space: pre; line-height: 2.6; }
  .theme-editorial .countdown { justify-self: end; margin: 0 22px 22px 0; }
  .theme-editorial .sec { padding: 110px 32px; }
}

/* ---------- pembuka ---------- */
.theme-editorial .divider-orn { color: var(--gold); width: 64px; height: 64px; }
.theme-editorial blockquote { max-width: 60ch; }
.theme-editorial blockquote p { font-family: var(--italic); font-style: italic; font-size: clamp(1.1rem, 2.6vw, 1.45rem); color: #e7e5e4; line-height: 1.6; }
.theme-editorial blockquote cite { font-family: var(--serif); letter-spacing: .24em; text-transform: uppercase; font-size: .7rem; }

/* ---------- mempelai ---------- */
.theme-editorial .people { display: grid; gap: 22px; }
.theme-editorial .people > .kicker { margin-bottom: 4px; }
.theme-editorial .person { position: relative; overflow: hidden; padding: 22px 22px 28px; text-align: left; max-width: 460px; width: 100%; justify-self: center; }
.theme-editorial .person::after {
  /* kilau hologram saat disentuh/diarahkan */
  content: ""; position: absolute; inset: -50%; pointer-events: none;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, .08) 40%, rgb(var(--gold-rgb) / .22) 50%, transparent 60%);
  transform: rotate(25deg) translateY(-100%); transition: transform .9s ease;
}
.theme-editorial .person:hover::after { transform: rotate(25deg) translateY(100%); }
.theme-editorial .person-photo {
  width: 100%; height: auto; aspect-ratio: 4 / 5; margin: 0 0 22px; border-radius: 18px; border: 0; box-shadow: none; background: var(--frame);
}
.theme-editorial .person-photo img { filter: saturate(.92) contrast(1.04); }
.theme-editorial .person-photo svg { color: var(--gold); }
.theme-editorial .person-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; letter-spacing: .04em; color: #fff; line-height: 1.2; }
.theme-editorial .person-full { font-family: var(--script); font-size: 1.6rem; font-weight: 400; color: var(--gold); margin-top: 2px; line-height: 1.3; }
.theme-editorial .person-parents { color: var(--muted); font-size: .84rem; line-height: 1.6; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.theme-editorial .ig { background: rgba(255, 255, 255, .05); color: var(--gold); border: 1px solid var(--line); }
.theme-editorial .amp { font-size: 4rem; margin: 0; color: var(--gold); text-align: center; }
@media (min-width: 900px) {
  .theme-editorial .people:has(.amp):not(:has(.amp ~ .amp)) { grid-template-columns: 1fr 120px 1fr; align-items: center; }
  .theme-editorial .people:has(.amp):not(:has(.amp ~ .amp)) > :not(.person, .amp) { grid-column: 1 / -1; }
  .theme-editorial .people:has(.amp):not(:has(.amp ~ .amp)) .person { max-width: none; }
  .theme-editorial .people:has(.amp):not(:has(.amp ~ .amp)) .person:last-of-type { margin-top: 90px; }
  .theme-editorial .amp { position: relative; }
  .theme-editorial .amp::before, .theme-editorial .amp::after { content: ""; display: block; width: 1px; height: 90px; margin: 10px auto; background: linear-gradient(transparent, var(--gold), transparent); }
}

/* ---------- acara ---------- */
.theme-editorial .events { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; counter-reset: ev; }
.theme-editorial .events > * { flex: 0 0 100%; }
.theme-editorial .events > .event { flex: 1 1 340px; max-width: 560px; }
.theme-editorial .event { position: relative; text-align: left; padding: 30px 26px; margin: 0; counter-increment: ev; overflow: hidden; }
.theme-editorial .event::before {
  content: "Ceremony " counter(ev, decimal-leading-zero); display: block; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: .66rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.theme-editorial .event::after { content: ""; position: absolute; top: -80px; right: -80px; width: 200px; height: 200px; border-radius: 50%; background: rgb(var(--gold-rgb) / .08); filter: blur(30px); }
.theme-editorial .event h3 { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; color: #fff; line-height: 1.2; }
.theme-editorial .event-date { justify-content: flex-start; color: var(--muted); }
.theme-editorial .event-date b { font-family: var(--display); color: var(--gold); border-color: var(--line); }
.theme-editorial .event-date b:first-child, .theme-editorial .event-date span:first-child { padding-left: 0; }
.theme-editorial .event-time { color: var(--ink); }
.theme-editorial .event-venue { color: var(--ink); font-size: 1rem; }
.theme-editorial .event-actions { justify-content: flex-start; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); }
.theme-editorial .event-actions .btn:first-child { background: linear-gradient(90deg, var(--gold-lo), var(--gold)); color: #0b0b0e; border: 0; }
.theme-editorial :is(.dresscode, .livestream) { max-width: 560px; padding: 26px; margin: 8px auto 0; }
.theme-editorial .dc-title { font-family: var(--serif); color: #fff; font-weight: 700; letter-spacing: .06em; }
.theme-editorial .dc-swatches i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgb(var(--gold-rgb) / .4); }

/* ---------- cerita: kartu "babak" ---------- */
.theme-editorial .timeline { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); padding: 0; counter-reset: bab; }
.theme-editorial .timeline::before { display: none; }
.theme-editorial .timeline li { display: flex; flex-direction: column; padding: 16px 16px 24px; counter-increment: bab; }
.theme-editorial .timeline li::before {
  content: "Babak " counter(bab, decimal-leading-zero); position: static; order: 1; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0;
  font-family: var(--serif); font-size: .64rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 6px 6px 0;
}
.theme-editorial .t-photo { order: 0; margin: 0 0 12px; border-radius: 14px; aspect-ratio: 16 / 10; }
.theme-editorial .t-date { order: 1; align-self: flex-start; margin: 8px 6px 0; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #e7e5e4; font-size: .64rem; }
.theme-editorial .timeline h3 { order: 2; margin: 10px 6px 4px; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #fff; }
.theme-editorial .timeline p { order: 3; margin: 0 6px; color: var(--muted); font-size: .86rem; }

/* ---------- galeri: panggung + thumbnail (dibangun editorial.js; tanpa JS = kisi biasa) ---------- */
.theme-editorial .gallery { text-align: left; }
.theme-editorial .gallery > :is(.kicker, .sec-title) { text-align: left; }
.ed-stage-wrap { position: relative; padding: 14px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.ed-stage { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--frame); }
.ed-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s ease, transform 1.4s ease; }
.ed-stage img.on { opacity: 1; transform: scale(1); }
.ed-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgb(var(--overlay) / .85)); }
.ed-stage-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 10px; pointer-events: none; }
.ed-stage-cap span { font-family: var(--display); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; background: rgba(0, 0, 0, .55); border: 1px solid rgb(var(--gold-rgb) / .35); color: var(--gold); }
.ed-stage-cap small { font-size: .66rem; color: #e7e5e4; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .1); }
.ed-nav { position: absolute; top: -66px; right: 0; display: flex; align-items: center; gap: 10px; }
.ed-nav b { font-family: var(--display); font-size: .72rem; letter-spacing: .14em; color: var(--gold); margin-right: 6px; font-variant-numeric: lining-nums; }
.ed-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: .2s; }
.ed-nav button:last-child { background: var(--gold); color: #0b0b0e; border-color: var(--gold); }
.ed-nav button:hover { transform: scale(1.06); }
.theme-editorial .gallery.ed-slider .grid { display: flex; gap: 10px; columns: auto; margin-top: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px; }
.theme-editorial .gallery.ed-slider .grid::-webkit-scrollbar { display: none; }
.theme-editorial .gallery.ed-slider .g-item { flex: 0 0 auto; width: 92px; aspect-ratio: 1 !important; margin: 0; border-radius: 12px; opacity: .45; cursor: pointer; scroll-snap-align: start; transition: opacity .3s, box-shadow .3s; }
.theme-editorial .gallery.ed-slider .g-item.on { opacity: 1; box-shadow: 0 0 0 2px var(--gold), 0 0 18px rgb(var(--gold-rgb) / .4); }
.theme-editorial .g-item { background: var(--frame); }
@media (min-width: 700px) {
  .ed-stage { aspect-ratio: 16 / 8; }
  .theme-editorial .gallery.ed-slider .g-item { width: 150px; aspect-ratio: 4 / 3 !important; }
}
@media (max-width: 699px) {
  .ed-nav { position: static; justify-content: flex-end; margin: -20px 0 14px; }
}

/* ---------- ucapan & RSVP ---------- */
.theme-editorial .wishes { display: grid; gap: 20px; align-items: start; }
.theme-editorial .wishes > :not(.wish-form, .wish-list) { grid-column: 1 / -1; }
.theme-editorial .rsvp-stats { max-width: 520px; width: 100%; margin: 0 auto 6px; }
.theme-editorial .rsvp-stats div { background: var(--card); border-color: rgb(var(--gold-rgb) / .2); }
.theme-editorial .rsvp-stats b { font-family: var(--display); color: var(--gold); }
.theme-editorial .wish-form { padding: 28px; gap: 16px; }
.theme-editorial .wish-form label, .theme-editorial .chips legend { font-family: var(--display); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: #d6d3d1; }
.theme-editorial .wish-form :is(input[type=text], select, textarea) { background: rgba(0, 0, 0, .55); border-color: var(--line); color: var(--ink); text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.theme-editorial .wish-form select option { background: #14141a; }
.theme-editorial .wish-form :is(input, select, textarea):focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgb(var(--gold-rgb) / .15); }
.theme-editorial .chips span { border-color: var(--line); background: rgba(0, 0, 0, .4); text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: .82rem; }
.theme-editorial .chips input:checked + span { background: var(--gold); color: #0b0b0e; border-color: var(--gold); }
.theme-editorial .wish-list { margin: 0; padding: 18px; max-height: 560px; }
.theme-editorial .wish-list:has(.wish-empty:only-child) { display: grid; place-items: center; min-height: 140px; }
.theme-editorial .wish { background: rgba(255, 255, 255, .03); border-color: var(--line); }
.theme-editorial .wish-head b { color: #fff; }
.theme-editorial .wish p { color: #d6d3d1; font-style: italic; }
.theme-editorial .tag { background: rgb(var(--gold-rgb) / .12); color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.theme-editorial .tag-hadir { background: rgba(110, 200, 150, .12); color: #8fd6ac; }
.theme-editorial .tag-tidak { background: rgba(230, 120, 120, .12); color: #f0a3a3; }
.theme-editorial .form-msg.ok { color: #8fd6ac; }
@media (min-width: 900px) {
  .theme-editorial .wishes:has(.wish-list) { grid-template-columns: 5fr 7fr; }
  .theme-editorial .wishes:not(:has(.wish-list)) .wish-form { max-width: 560px; width: 100%; justify-self: center; }
}

/* ---------- tanda kasih ---------- */
.theme-editorial .gift { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; max-width: 900px; margin: 0 auto; }
.theme-editorial .gift > * { flex: 0 0 100%; }
.theme-editorial .gift > .bank { flex: 1 1 300px; max-width: 420px; }
.theme-editorial .gift .lead { margin-bottom: 14px; }
.theme-editorial .bank { margin: 0; color: var(--ink); background: var(--card); }
.theme-editorial .bank::after { background: rgb(var(--gold-rgb) / .08); }
.theme-editorial .bank-brand { font-family: var(--display); letter-spacing: .1em; text-transform: uppercase; }
.theme-editorial .bank-no { font-family: var(--display); font-size: 1.45rem; color: #fff; font-variant-numeric: lining-nums; }
.theme-editorial .bank-name { color: var(--muted); }
.theme-editorial .bank .btn-copy { color: #0b0b0e; background: var(--gold); border-color: var(--gold); }
.theme-editorial .gift > :is(.qris, .gift-address) { max-width: 420px; margin: 0; padding: 26px; }
.theme-editorial .qris p { font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-size: .78rem; }
.theme-editorial .qris img { background: #fff; padding: 8px; }

/* ---------- penutup ---------- */
.theme-editorial .closing { background: radial-gradient(circle at 50% 100%, rgb(var(--gold-rgb) / .1), transparent 60%); }
.theme-editorial .closing .divider-orn { display: none; }
.theme-editorial .closing .lead { font-family: var(--italic); font-style: italic; color: #e7e5e4; font-size: 1.02rem; }
.theme-editorial .closing-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.8rem); }
.theme-editorial .foot { color: #78716c; letter-spacing: .1em; text-transform: uppercase; font-size: .66rem; }
.theme-editorial .foot a { color: var(--gold); }

/* ---------- navigasi & musik ---------- */
.theme-editorial .dock { border-color: var(--line); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .8); }
.theme-editorial .dock a { color: #a8a29e; font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; font-size: .56rem; }
.theme-editorial .dock a.active { background: var(--gold); color: #0b0b0e; }
@media (min-width: 900px) { .theme-editorial .dock { left: 50%; } }
.theme-editorial .music-btn { background: radial-gradient(circle, var(--gold) 0 18%, #111 19% 100%); color: transparent; border: 1px solid rgb(var(--gold-rgb) / .6); box-shadow: 0 0 0 4px rgba(0, 0, 0, .4), 0 10px 24px -6px rgb(var(--gold-rgb) / .45); }
.theme-editorial .music-btn::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); }
.theme-editorial .music-btn:not(.playing) { opacity: .75; }
.theme-editorial .intro { left: 0; width: auto; }

/* konfeti emas (editorial.js) */
.ed-confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; overflow: hidden; }
.ed-confetti i { position: absolute; left: 50%; top: 50%; transition: transform 1.6s cubic-bezier(.1, 1, .2, 1), opacity 1.6s; }

.theme-editorial [hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .ed-dust, .ed-confetti { display: none; }
  .ed-crest::after, .ed-bar-date i { animation: none; }
}

/* sampul contoh tanpa foto: latar --cover-bg tema ini bukan gambar → lapisan foto dikosongkan, latar tema sendiri yang tampil */
.theme-editorial .cover.cover-plain { --cover-img: linear-gradient(transparent, transparent) !important; }
