/* AMOUR — Our Story · Batch 23 rewrite (v1.0.0, ready).
   Arah visual disetujui Rafif 17 Nov 2026 23:18 WIB: editorial wedding
   magazine — headline serif besar, layout rapi, nomor section, momen
   polaroid, kartu acara bernomor. Palet: sage #6B7A63 / sageDeep #4A5744,
   krem/champagne #EADCC8, ivory #F8F6EE, charcoal #2F2F2F.
   Tipografi: Playfair Display (headline), Pinyon Script (aksen script),
   Cormorant Garamond (subjudul/kutipan), Jost (isi) — semua sudah dimuat
   di dist/index.html, tidak ada font baru.
   ATURAN KERAS: semua teks duduk di panel solid — foto hanya mengisi zona
   atas cover/closing, tidak ada teks yang menimpa foto. Nama mempelai
   selalu GELAP (#2F2F2F) di atas panel terang. Kontras teks utama >= 4,5:1
   (charcoal/inkSoft/sageDeep di atas ivory/paper/champagne).
   Prefix kelas: amour- (lama) + uc-amour (root). */
.uc-amour{
  --amour-ivory:#F8F6EE; --amour-paper:#FFFDF8; --amour-champagne:#EADCC8; --amour-beige:#D7C4AE;
  --amour-sage:#6B7A63; --amour-sage-deep:#4A5744; --amour-charcoal:#2F2F2F; --amour-ink-soft:#55534B;
  --amour-gold:#A68A5B; --amour-line:#D8CDB8;
  position:relative; width:min(100%,920px); max-width:100%; margin:0 auto; overflow:hidden; isolation:isolate;
  background:var(--amour-ivory); color:var(--amour-charcoal);
  font-family:"Jost",Arial,sans-serif; font-size:15px; line-height:1.7;
}
.uc-amour *{ box-sizing:border-box; }
.uc-amour img{ max-width:100%; }
.uc-amour section{ position:relative; scroll-margin-top:18px; }
.uc-amour h1, .uc-amour h2, .uc-amour h3{
  font-family:"Playfair Display",Georgia,serif; font-weight:600; line-height:1.15; color:var(--amour-charcoal);
}
.uc-amour p{ margin:.6em 0; }
.uc-amour :is(button, a, input, select, textarea):focus-visible{ outline:3px solid var(--amour-sage); outline-offset:2px; }

/* --- elemen bersama --- */
.amour-eyebrow{
  margin:0; color:var(--amour-sage-deep); font-size:.72rem; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase;
}
.amour-secnum{
  margin:0 0 10px; color:var(--amour-sage-deep); font-family:"Cormorant Garamond",serif;
  font-style:italic; font-size:1.02rem; font-weight:600; letter-spacing:.06em;
}
.amour-script{
  font-family:"Pinyon Script",cursive; font-weight:400; font-size:2.4rem;
  line-height:1.15; color:var(--amour-sage-deep);
}
.amour-section-heading{ max-width:620px; margin:0 auto 40px; text-align:center; }
.amour-section-heading h2{ margin:10px 0 8px; font-size:clamp(2rem,5.4vw,2.9rem); }
.amour-section-heading > p:not(.amour-eyebrow):not(.amour-secnum){
  max-width:440px; margin:0 auto; color:var(--amour-ink-soft); font-size:.95rem; line-height:1.8;
}
.amour-section-heading > span{ display:block; margin-top:10px; color:var(--amour-gold); font-size:1.5rem; }
.amour-button{
  display:inline-flex; align-items:center; justify-content:center; gap:12px;
  min-height:48px; padding:13px 28px; border:1px solid var(--amour-sage-deep); border-radius:999px;
  background:var(--amour-sage-deep); color:#F8F6EE; box-shadow:0 8px 20px -8px rgba(74,87,68,.55);
  font:600 .82rem "Jost",Arial,sans-serif; letter-spacing:.14em; text-transform:uppercase;
  cursor:pointer; transition:background .2s ease, transform .2s ease;
}
.amour-button:hover{ background:#3B4636; transform:translateY(-2px); }
.amour-button:active{ transform:translateY(0); }
.amour-outline-button{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:44px; padding:10px 20px; border:1.5px solid var(--amour-sage-deep); border-radius:999px;
  background:var(--amour-paper); color:var(--amour-sage-deep); text-decoration:none;
  font:600 .78rem "Jost",Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase;
  cursor:pointer; transition:background .2s ease, color .2s ease;
}
.amour-outline-button:hover{ background:var(--amour-sage-deep); color:#F8F6EE; }
.amour-photo-fallback{
  display:grid; place-items:center; width:100%; height:100%; min-height:220px;
  background:var(--amour-champagne); color:var(--amour-sage-deep); font-size:3rem;
}
.amour-empty-note{ grid-column:1/-1; color:var(--amour-ink-soft); text-align:center; font-style:italic; font-family:"Cormorant Garamond",serif; font-size:1.15rem; }
.amour-note{ font-size:.8rem; color:var(--amour-ink-soft); text-align:center; }
.amour-status{ min-height:16px; display:block; color:var(--amour-sage-deep); font-size:.8rem; text-align:center; }
.uc-amour > section{ padding:56px 26px; }
.uc-amour > section:nth-of-type(even){ background:var(--amour-paper); }

/* --- cover: foto zona atas, semua teks di panel solid di bawah --- */
.amour-cover{ padding:0 0 30px; text-align:center; background:var(--amour-ivory); }
.amour-cover__photo{ height:clamp(300px,48svh,520px); overflow:hidden; background:var(--amour-champagne); }
.amour-cover__photo img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; display:block; animation:amour-photo-in 1.2s ease both; }
.amour-cover__photo--fallback{ width:100%; height:100%; background:linear-gradient(145deg,#D7C4AE,#6B7A63 60%,#4A5744); }
.amour-cover__frame{
  background:var(--amour-ivory); text-align:center; padding:26px 28px 8px;
  display:flex; flex-direction:column; align-items:center;
  border-top:3px double var(--amour-gold); margin:0 18px;
}
.amour-cover__monogram{
  width:56px; height:56px; margin-bottom:14px; display:grid; place-items:center;
  border:1.5px solid var(--amour-gold); border-radius:50%; background:var(--amour-paper);
  font-family:"Playfair Display",serif; font-size:1.05rem; color:var(--amour-sage-deep); letter-spacing:.08em;
}
.amour-cover__frame .amour-eyebrow{ font-size:.72rem; letter-spacing:.34em; }
.amour-cover h1{
  margin:12px 0 2px; color:var(--amour-charcoal);
  font-size:clamp(2.6rem,9vw,4.4rem); font-weight:600; line-height:1.04; letter-spacing:-.02em;
}
.amour-cover h1 i{ color:var(--amour-sage-deep); font-family:"Cormorant Garamond",serif; font-style:italic; font-size:.72em; }
.amour-cover__frame .amour-script{ margin:6px 0 0; font-size:2.6rem; }
.amour-cover__date{
  margin:12px 0 0; font-family:"Cormorant Garamond",serif; font-size:1.12rem; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:var(--amour-charcoal);
}
.amour-cover__guest{ margin:14px 0 0; font-size:.88rem; color:var(--amour-ink-soft); }
.amour-cover__frame .amour-button{ margin-top:20px; }
.uc-amour.is-open .amour-cover{ display:none; }
@keyframes amour-photo-in{ from{ opacity:.4; } to{ opacity:1; } }

/* --- kata pengantar --- */
.amour-preamble{ text-align:center; }
.amour-preamble__copy{ max-width:460px; margin:0 auto; }
.amour-preamble__copy > .amour-eyebrow{ line-height:2; text-transform:none; letter-spacing:.05em; font-size:.85rem; }
.amour-flourish{ display:block; margin:14px 0; color:var(--amour-gold); font-size:2rem; line-height:1; }
.amour-preamble h2{ margin:8px 0 18px; font-size:clamp(2rem,5.4vw,2.9rem); }
.amour-preamble__copy > p:not(.amour-eyebrow){ color:var(--amour-ink-soft); font-size:.98rem; line-height:1.95; }
.amour-preamble blockquote{
  margin:26px auto 0; max-width:400px; padding:0 0 0 18px; border-left:2px solid var(--amour-gold);
  font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.3rem; line-height:1.6;
  color:var(--amour-sage-deep); text-align:left;
}

/* --- mempelai --- */
.amour-intro{ text-align:center; }
.amour-profiles{
  display:grid; grid-template-columns:minmax(0,1fr) 45px minmax(0,1fr); gap:24px;
  align-items:start; max-width:820px; margin:0 auto;
}
.amour-profiles__and{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:2.6rem; color:var(--amour-gold); line-height:1; padding-top:110px; }
.amour-profile{ min-width:0; text-align:center; }
.amour-profile figure{
  width:min(100%,220px); height:290px; margin:0 auto 20px; overflow:hidden;
  border:6px solid var(--amour-paper); border-radius:48% 48% 6px 6px;
  background:var(--amour-champagne); box-shadow:0 10px 24px -12px rgba(74,87,68,.35);
}
.amour-profile img{ width:100%; height:100%; object-fit:cover; object-position:center 30%; display:block; }
.amour-profile__initial{ height:100%; display:grid; place-items:center; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:4.4rem; color:var(--amour-sage-deep); }
.amour-profile > small{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.35rem; color:var(--amour-sage-deep); }
.amour-profile h3{ margin:8px 0 10px; font-size:1.7rem; color:var(--amour-charcoal); }
.amour-profile p{ max-width:250px; margin:0 auto; font-size:.88rem; color:var(--amour-ink-soft); line-height:1.8; }

/* --- cerita: polaroid --- */
.amour-story{ background:linear-gradient(180deg,#EFE7D6 0,#F8F6EE 45%,#F8F6EE 100%); }
.amour-story__heading{ max-width:620px; margin:0 auto 44px; text-align:center; }
.amour-story__heading h2{ margin:10px 0 8px; font-size:clamp(2rem,5.4vw,2.9rem); font-style:italic; }
.amour-story__heading > p:last-child{ max-width:440px; margin:0 auto; color:var(--amour-ink-soft); font-size:.95rem; }
.amour-story__timeline{ width:min(100%,760px); margin:0 auto; position:relative; padding-left:22px; }
.amour-story__timeline::before{ content:""; position:absolute; left:5px; top:8px; bottom:8px; width:1.5px; background:var(--amour-beige); }
.amour-story__moment{ position:relative; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:center; margin-bottom:40px; }
.amour-story__moment:last-child{ margin-bottom:0; }
.amour-story__moment::before{
  content:""; position:absolute; left:-22px; top:50%; width:11px; height:11px; border-radius:50%;
  background:var(--amour-sage); border:2.5px solid var(--amour-ivory); box-shadow:0 0 0 1.5px var(--amour-beige);
}
.amour-story__moment.is-reverse .amour-polaroid{ grid-column:2; grid-row:1; }
.amour-story__moment.is-reverse .amour-story__text{ grid-column:1; grid-row:1; text-align:right; }
.amour-polaroid{
  width:min(100%,260px); padding:10px 10px 14px; position:relative; z-index:1;
  transform:rotate(var(--amour-tilt,-2deg)); background:#FFFDF8;
  box-shadow:0 16px 30px -14px rgba(47,47,47,.35),0 2px 4px rgba(47,47,47,.08);
  transition:transform .35s ease, box-shadow .35s ease;
}
.amour-polaroid:hover{ transform:rotate(var(--amour-tilt,-2deg)) translateY(-4px); box-shadow:0 22px 36px -14px rgba(47,47,47,.4); }
.amour-polaroid img{ width:100%; height:230px; object-fit:cover; object-position:center 30%; display:block; background:var(--amour-champagne); }
.amour-polaroid figcaption{ padding-top:12px; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.05rem; color:var(--amour-ink-soft); text-align:center; }
.amour-polaroid__tape{ position:absolute; width:56px; height:16px; background:rgba(215,196,174,.75); top:-8px; left:calc(50% - 28px); transform:rotate(-5deg); }
.amour-polaroid__letter{ height:230px; display:grid; place-content:center; gap:12px; background:linear-gradient(130deg,#F7EEE3,#EADCC8); text-align:center; color:var(--amour-sage-deep); }
.amour-polaroid__letter > span{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:2.5rem; }
.amour-polaroid__letter small{ font-size:.7rem; letter-spacing:.14em; }
.amour-story__year{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.6rem; color:var(--amour-sage-deep); }
.amour-story__text h3{ margin:4px 0 8px; font-size:1.5rem; color:var(--amour-charcoal); }
.amour-story__text p{ margin:0; font-size:.92rem; line-height:1.85; color:var(--amour-ink-soft); }
.amour-story__end{ margin-top:36px; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.5rem; color:var(--amour-sage-deep); text-align:center; }
.amour-story__end span{ color:var(--amour-gold); font-size:1rem; }

/* --- acara: kartu bernomor --- */
.amour-events__grid{ width:min(100%,900px); margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.amour-event-card{
  min-width:0; padding:28px clamp(20px,3vw,34px) 26px; position:relative;
  border:1px solid var(--amour-line); border-radius:18px;
  background:linear-gradient(145deg,#FFFDF8,#F3EBDB 85%);
  box-shadow:0 16px 30px -20px rgba(47,47,47,.35);
}
.amour-event-card::before{ content:""; position:absolute; inset:6px; border:1px solid rgba(166,138,91,.35); border-radius:12px; pointer-events:none; }
.amour-event-card__top{ display:flex; align-items:center; gap:12px; }
.amour-event-card__index{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.6rem; color:var(--amour-gold); }
.amour-event-card h3{ margin:14px 0 8px; font-size:clamp(1.4rem,3vw,1.8rem); color:var(--amour-charcoal); }
.amour-event-card__date{
  width:fit-content; margin:10px 0 6px; padding:4px 0 8px; border-bottom:1px solid var(--amour-gold);
  font-family:"Playfair Display",serif; font-weight:600; font-size:clamp(1.15rem,2.4vw,1.5rem); line-height:1.25; color:var(--amour-charcoal);
}
.amour-event-card__time{ margin:0 0 16px; font-size:.9rem; letter-spacing:.06em; color:var(--amour-ink-soft); }
.amour-event-card__place{ min-height:54px; margin:14px 0 18px; display:flex; align-items:flex-start; gap:12px; color:var(--amour-sage-deep); }
.amour-event-card__place > span{ font-family:"Cormorant Garamond",serif; font-size:1.5rem; line-height:1; }
.amour-event-card__place > div{ display:grid; gap:4px; }
.amour-event-card__place strong{ font-family:"Playfair Display",serif; font-weight:600; font-size:.98rem; color:var(--amour-charcoal); }
.amour-event-card__place small{ font-size:.85rem; line-height:1.6; color:var(--amour-ink-soft); }

/* --- countdown mandiri --- */
.amour-countdown{ text-align:center; background:var(--amour-champagne); }
.amour-countdown h2{ margin:10px 0 6px; font-size:clamp(2rem,5.4vw,2.9rem); }
.amour-countdown__grid{ display:flex; gap:10px; justify-content:center; margin-top:22px; flex-wrap:wrap; }
.amour-countdown__cell{
  background:var(--amour-sage-deep); color:#F8F6EE; border-radius:14px; width:74px; padding:14px 0 12px;
  box-shadow:0 10px 20px -10px rgba(74,87,68,.6);
}
.amour-countdown__cell b{ display:block; font-family:"Playfair Display",serif; font-size:1.6rem; font-weight:600; line-height:1; font-variant-numeric:tabular-nums; }
.amour-countdown__cell span{ display:block; font-size:.68rem; letter-spacing:.22em; text-transform:uppercase; margin-top:7px; color:#EADCC8; }
.amour-countdown__note{ margin-top:18px; font-size:.88rem; color:var(--amour-ink-soft); }

/* --- galeri --- */
.amour-gallery__collage{ width:min(100%,920px); margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.amour-gallery__item{
  min-width:0; min-height:0; padding:0; position:relative; overflow:hidden; border:0; border-radius:12px;
  background:var(--amour-champagne); cursor:zoom-in; line-height:0;
  box-shadow:0 10px 22px -12px rgba(47,47,47,.4);
}
.amour-gallery__item img{ width:100%; height:100%; aspect-ratio:4/4.6; object-fit:cover; object-position:center 30%; display:block; }
.amour-gallery__item > span{
  position:absolute; right:10px; bottom:8px; color:#F8F6EE; text-shadow:0 1px 8px rgba(47,47,47,.8);
  font-family:"Cormorant Garamond",serif; font-style:italic; font-size:.95rem; line-height:1;
}
.amour-gallery__item:focus-visible{ outline:3px solid var(--amour-sage-deep); outline-offset:2px; }
.amour-gallery__empty{
  grid-column:1/-1; min-height:240px; padding:30px; display:grid; align-content:center; justify-items:center; gap:10px;
  border:1px solid var(--amour-line); border-radius:12px; background:var(--amour-paper); color:var(--amour-ink-soft); text-align:center;
}
.amour-gallery__empty > span{ color:var(--amour-gold); font-size:2.6rem; }
.amour-gallery__empty strong{ font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.5rem; color:var(--amour-charcoal); }
.amour-gallery__note{ margin-top:18px; font-size:.8rem; color:var(--amour-ink-soft); text-align:center; }

/* --- amplop --- */
.amour-gift{ background:var(--amour-paper); }
.amour-gift__accounts{ width:min(100%,780px); margin:0 auto; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.amour-gift-card{
  min-width:0; padding:26px 26px 22px; display:grid; justify-items:start; position:relative;
  border:1px solid var(--amour-line); border-radius:16px; background:var(--amour-ivory);
  box-shadow:0 14px 28px -18px rgba(47,47,47,.3);
}
.amour-gift-card::before{ content:""; position:absolute; inset:5px; border:1px solid rgba(166,138,91,.35); border-radius:11px; pointer-events:none; }
.amour-gift-card__index{ position:absolute; right:22px; top:16px; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.3rem; color:var(--amour-gold); }
.amour-gift-card .amour-eyebrow{ color:var(--amour-sage-deep); }
.amour-gift-card__number{
  margin:14px 0 2px; color:var(--amour-charcoal); font-family:"Playfair Display",serif;
  font-weight:600; font-size:clamp(1.15rem,3vw,1.6rem); letter-spacing:.08em; overflow-wrap:anywhere;
}
.amour-gift-card__holder{ margin-bottom:18px; font-size:.88rem; color:var(--amour-ink-soft); }
.amour-gift-card .amour-outline-button{ position:relative; z-index:1; }
.amour-gift-card__feedback{ min-height:15px; margin-top:8px; font-size:.8rem; color:var(--amour-sage-deep); }
.amour-gift__fallback{
  width:min(100%,600px); margin:0 auto; padding:32px 22px; display:grid; justify-items:center; gap:8px;
  border:1px solid var(--amour-line); border-radius:12px; background:var(--amour-ivory); text-align:center;
}
.amour-gift__fallback > span{ color:var(--amour-gold); font-size:1.9rem; }
.amour-gift__fallback p{ margin:0; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.15rem; color:var(--amour-ink-soft); }
.amour-gift__address{
  width:min(100%,600px); margin:18px auto 0; padding:18px 20px; border-left:2px solid var(--amour-gold);
  background:var(--amour-champagne); color:var(--amour-ink-soft); font-style:normal;
}
.amour-gift__address p{ margin:5px 0 0; font-family:"Cormorant Garamond",serif; font-size:1.05rem; line-height:1.7; }
.amour-gift__note{ margin:22px auto 0; font-size:.85rem; color:var(--amour-ink-soft); text-align:center; }

/* --- RSVP & ucapan --- */
.amour-rsvp__form{
  width:min(100%,590px); margin:0 auto; padding:28px clamp(18px,4vw,36px) 22px; display:grid; gap:15px;
  border:1px solid var(--amour-line); border-radius:18px; background:var(--amour-paper);
  box-shadow:0 18px 34px -24px rgba(47,47,47,.3); text-align:left;
}
.amour-rsvp__form > label, .amour-wish-form > label{ display:grid; gap:6px; font-size:.82rem; font-weight:600; letter-spacing:.04em; color:var(--amour-sage-deep); }
.amour-rsvp__form > label small{ display:inline; font-weight:400; color:var(--amour-ink-soft); }
.amour-rsvp__form input:not([type=radio]), .amour-rsvp__form select, .amour-rsvp__form textarea,
.amour-wish-form input, .amour-wish-form textarea{
  width:100%; min-width:0; min-height:48px; padding:12px 14px; border:1.5px solid var(--amour-line); border-radius:12px;
  background:#FFFDF8; color:var(--amour-charcoal); font:400 .95rem/1.6 "Jost",Arial,sans-serif;
}
.amour-rsvp__form textarea, .amour-wish-form textarea{ min-height:88px; resize:vertical; }
.amour-rsvp__form input:focus, .amour-rsvp__form select:focus, .amour-rsvp__form textarea:focus,
.amour-wish-form input:focus, .amour-wish-form textarea:focus{ outline:2px solid var(--amour-sage); outline-offset:1px; border-color:var(--amour-sage); }
.amour-rsvp__form fieldset{ min-width:0; margin:0; padding:0; border:0; }
.amour-rsvp__form legend{ margin-bottom:7px; font-size:.82rem; font-weight:600; color:var(--amour-sage-deep); }
.amour-rsvp__form fieldset label{ margin-right:8px; display:inline-flex; align-items:center; cursor:pointer; }
.amour-rsvp__form fieldset input{ position:absolute; opacity:0; }
.amour-rsvp__form fieldset span{
  min-width:112px; min-height:40px; padding:8px 14px; display:grid; place-items:center;
  border:1.5px solid var(--amour-line); border-radius:10px; background:#FFFDF8; color:var(--amour-ink-soft); font-size:.88rem;
}
.amour-rsvp__form fieldset input:checked + span{ border-color:var(--amour-sage-deep); background:var(--amour-sage-deep); color:#F8F6EE; }
.amour-rsvp__form fieldset input:focus-visible + span{ outline:2px solid var(--amour-sage); outline-offset:2px; }
.amour-rsvp__form .amour-button{ width:100%; border:0; }
.amour-rsvp__status{ min-height:16px; margin:0; font-size:.82rem; color:var(--amour-sage-deep); text-align:center; }
.amour-rsvp__note{ margin:20px auto 0; font-size:.8rem; color:var(--amour-ink-soft); text-align:center; }

.amour-wishes{ width:min(100%,760px); margin:0 auto; }
.amour-wishes__heading{ padding-bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--amour-line); }
.amour-wishes__heading > span{ font-size:.85rem; color:var(--amour-ink-soft); }
.amour-wishes__list{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:16px; }
.amour-wishes__empty{ grid-column:1/-1; font-family:"Cormorant Garamond",serif; font-style:italic; font-size:1.15rem; color:var(--amour-ink-soft); text-align:center; }
.amour-wish-card{
  min-width:0; padding:16px 18px; position:relative; border:1px solid var(--amour-line);
  border-radius:14px; background:var(--amour-paper); box-shadow:0 6px 16px -10px rgba(47,47,47,.25);
}
.amour-wish-card > span{ float:right; color:var(--amour-gold); font-size:1.4rem; line-height:1; }
.amour-wish-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.amour-wish-card strong{ font-family:"Playfair Display",serif; font-weight:600; font-size:1rem; color:var(--amour-charcoal); }
.amour-wish-card__badge{
  font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; font-weight:600;
  padding:4px 9px; border-radius:999px; background:#F6E3C8; color:#7A5510;
}
.amour-wish-card p{ margin:8px 0 0; font-family:"Cormorant Garamond",serif; font-size:1.08rem; line-height:1.65; color:var(--amour-ink-soft); overflow-wrap:anywhere; }
.amour-wish-card small{ display:block; margin-top:6px; font-size:.76rem; color:var(--amour-sage); }
.amour-wish-form{ width:min(100%,590px); margin:36px auto 0; display:grid; gap:14px; text-align:left; }
.amour-wish-form .amour-button{ width:100%; border:0; }
.amour-wish-form__status{ min-height:16px; margin:0; font-size:.82rem; color:var(--amour-sage-deep); text-align:center; }
.amour-wish-form__note{ margin:0; font-size:.8rem; color:var(--amour-ink-soft); text-align:center; }

/* --- penutup: foto zona atas, teks di panel solid --- */
.amour-closing{ padding:0 0 34px; text-align:center; background:var(--amour-ivory); }
.amour-closing__media{ height:clamp(240px,38svh,420px); overflow:hidden; background:var(--amour-champagne); }
.amour-closing__photo{ width:100%; height:100%; object-fit:cover; object-position:center 35%; display:block; }
.amour-closing__fallback{ background:linear-gradient(145deg,#D7C4AE,#6B7A63 60%,#4A5744); }
.amour-closing__content{
  width:min(100%,620px); margin:0 auto; padding:28px 26px 6px; display:grid; justify-items:center;
  border-top:3px double var(--amour-gold);
}
.amour-closing__monogram{
  width:56px; height:56px; margin-bottom:14px; display:grid; place-items:center;
  border:1.5px solid var(--amour-gold); border-radius:50%; background:var(--amour-paper);
  font-family:"Playfair Display",serif; font-size:1.05rem; color:var(--amour-sage-deep); letter-spacing:.08em;
}
.amour-closing__content h2{ margin:10px 0 6px; font-size:clamp(2.4rem,7vw,3.6rem); font-style:italic; }
.amour-closing__content > p:not(.amour-eyebrow){ max-width:440px; font-family:"Cormorant Garamond",serif; font-size:1.18rem; line-height:1.75; color:var(--amour-ink-soft); }
.amour-closing__content > strong{ margin-top:10px; font-family:"Pinyon Script",cursive; font-weight:400; font-size:2.2rem; color:var(--amour-sage-deep); }
.amour-closing__content > strong i{ color:var(--amour-gold); }
.amour-closing__top{
  margin-top:26px; min-height:46px; padding:11px 22px; display:inline-flex; align-items:center; gap:10px;
  border:1.5px solid var(--amour-sage-deep); border-radius:999px; background:var(--amour-paper);
  color:var(--amour-sage-deep); font:600 .78rem "Jost",Arial,sans-serif; letter-spacing:.12em; text-transform:uppercase;
  cursor:pointer; transition:background .2s ease, color .2s ease;
}
.amour-closing__top:hover{ background:var(--amour-sage-deep); color:#F8F6EE; }

/* --- tombol musik preset (engine) --- */
.uc-music-btn{
  position:absolute; z-index:5; top:16px; left:16px; width:44px; height:44px; display:grid; place-items:center;
  border-radius:50%; border:1px solid rgba(255,255,255,.65); background:rgba(47,47,47,.45); color:#fff;
  font-size:20px; line-height:1; cursor:pointer;
}
.uc-music-btn.is-playing{ background:#fff; color:#111; }

/* --- navigasi bawah (engine) --- */
.uc-amour .uc-bottom-nav{ --nav-emerald:#4A5744; --nav-gold:#A68A5B; --nav-gold-soft:#EADCC8; --nav-ivory:#FFFDF8; }
.uc-amour .uc-bottom-nav__pill{ background:rgba(74,87,68,.97); }
.uc-amour .uc-bottom-nav__item{ color:#F8F6EE; }
.uc-amour .uc-bottom-nav__item.is-active{ color:#2F2F2F; background:linear-gradient(145deg,#EADCC8,#D7C4AE); }

/* Batch 3: clearance bottom-nav — konten terakhir tidak tertutup pill nav. */
.uc-amour.is-open{ padding-bottom:calc(104px + env(safe-area-inset-bottom)); }
.uc-amour.is-open > .uc-bottom-nav{ transform:translate(-50%,0); opacity:1; pointer-events:auto; }

/* --- katalog preview (dipakai dist/app.js: heroTemplatePreviewMarkup) --- */
.amour-catalog-preview{
  position:relative; display:grid; align-content:center; justify-items:center; gap:9px;
  width:100%; height:100%; min-height:210px; overflow:hidden; padding:20px;
  border:8px solid var(--amour-paper); border-radius:46% 46% 8px 8px;
  background:linear-gradient(155deg,#EADCC8,#F8F6EE 58%,#FFFDF8);
  color:var(--amour-charcoal); text-align:center; box-shadow:inset 0 0 0 1px var(--amour-gold);
}
.amour-catalog-preview__photo{
  position:relative; z-index:1; width:64px; height:64px; border-radius:50%;
  border:1.5px solid var(--amour-gold); background:var(--amour-champagne);
}
.amour-catalog-preview i{ position:relative; z-index:1; color:var(--amour-sage-deep); font-size:1.6rem; font-style:normal; }
.amour-catalog-preview small{ position:relative; z-index:1; font-size:.69rem; letter-spacing:.15em; color:var(--amour-sage-deep); }
.amour-catalog-preview strong{ position:relative; z-index:1; max-width:100%; font:600 clamp(1.25rem,4vw,2rem)/1.05 "Playfair Display",Georgia,serif; color:var(--amour-charcoal); }
.amour-catalog-preview em{ position:relative; z-index:1; font:italic .82rem "Cormorant Garamond",Georgia,serif; color:var(--amour-sage-deep); }

/* --- responsif --- */
@media (min-width:760px){
  .uc-amour > section{ padding:72px 40px; }
  .amour-gallery__collage{ grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
  .amour-gallery__item:first-child{ grid-column:span 2; grid-row:span 2; }
  .amour-gallery__item:first-child img{ aspect-ratio:4/4.6; }
  .amour-story__moment{ gap:48px; }
}
@media (max-width:600px){
  .uc-amour{ font-size:14px; }
  .uc-amour > section{ padding:48px 20px; }
  .amour-cover__frame{ margin:0 12px; padding:22px 18px 6px; }
  .amour-cover h1{ font-size:clamp(2.4rem,11vw,3.2rem); }
  .amour-profiles{ grid-template-columns:1fr; gap:36px; }
  .amour-profiles__and{ padding-top:0; }
  .amour-profile figure{ height:260px; }
  .amour-story__timeline{ padding-left:18px; }
  .amour-story__timeline::before{ left:9px; }
  .amour-story__moment, .amour-story__moment.is-reverse{ grid-template-columns:1fr; gap:16px; padding-left:18px; }
  .amour-story__moment::before{ left:-13px; top:24px; }
  .amour-story__moment.is-reverse .amour-polaroid, .amour-story__moment.is-reverse .amour-story__text{ grid-column:1; grid-row:auto; }
  .amour-story__moment.is-reverse .amour-story__text{ text-align:left; }
  .amour-polaroid{ width:min(84%,290px); }
  .amour-polaroid img, .amour-polaroid__letter{ height:200px; }
  .amour-events__grid{ grid-template-columns:1fr; gap:18px; max-width:430px; }
  .amour-gift__accounts{ grid-template-columns:1fr; gap:12px; max-width:430px; }
  .amour-wishes__list{ grid-template-columns:1fr; gap:10px; }
  .amour-countdown__cell{ width:66px; }
  .amour-closing__content{ padding:24px 18px 6px; }
}
@media (prefers-reduced-motion:reduce){
  .uc-amour *, .uc-amour *::before, .uc-amour *::after{
    scroll-behavior:auto !important; animation-duration:.01ms !important;
    animation-iteration-count:1 !important; transition-duration:.01ms !important;
  }
}
