:root{--ivory:#fbf7ef;--paper:#f4ecdf;--cream:#eadcc6;--gold:#b58a3d;--gold-dark:#7c5a23;--brown:#4b3521;--muted:#796a5b;--white:#fffdf9;--shadow:0 20px 60px rgba(76,53,28,.14);--serif:"Cormorant Garamond",Georgia,serif;--sans:"Montserrat",Arial,sans-serif;--script:"Parisienne",cursive}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--brown);font-family:var(--sans);font-weight:400;line-height:1.75;overflow-x:hidden}body.locked{overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}.narrow{width:min(760px,calc(100% - 40px));margin-inline:auto}.section{position:relative;padding:104px 0;overflow:hidden}.eyebrow{font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;color:var(--gold-dark);font-weight:600}.script{font-family:var(--script);font-size:2.15rem;line-height:1.2;color:var(--gold-dark);margin:.35rem 0}.arabesque{font-family:var(--serif);font-size:3rem;color:var(--gold);margin:0}.divider{display:flex;align-items:center;justify-content:center;gap:12px;margin:26px auto;width:min(320px,80%)}.divider i{height:1px;background:linear-gradient(90deg,transparent,var(--gold));flex:1}.divider i:last-child{background:linear-gradient(90deg,var(--gold),transparent)}.divider b{color:var(--gold);font-size:.9rem}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border-radius:999px;border:1px solid transparent;cursor:pointer;font-size:.78rem;letter-spacing:.05em;font-weight:600;transition:.25s ease}.btn--gold{background:linear-gradient(135deg,#c9a95f,#9b712f);color:white;box-shadow:0 10px 30px rgba(157,115,47,.25)}.btn--gold:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(157,115,47,.34)}.btn--outline{border-color:rgba(181,138,61,.65);color:var(--gold-dark);background:rgba(255,255,255,.4)}.btn--outline:hover{background:var(--gold);color:#fff}.page-progress{position:fixed;top:0;left:0;z-index:9999;height:3px;background:linear-gradient(90deg,#9a6e2a,#d6b96f);width:0}

/* Cover */
.cover{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;text-align:center;background:radial-gradient(circle at 50% 20%,#fffdf8 0,#f7efdf 55%,#ead9bd 100%);transition:opacity .8s ease,visibility .8s ease}.cover::before,.hero::before,.closing-section::before{content:"";position:absolute;inset:0;opacity:.45;background-image:radial-gradient(circle at 10% 20%,transparent 0 9px,rgba(181,138,61,.09) 10px 11px,transparent 12px),radial-gradient(circle at 90% 80%,transparent 0 16px,rgba(181,138,61,.08) 17px 18px,transparent 19px);background-size:90px 90px,120px 120px}.cover.is-open{opacity:0;visibility:hidden;pointer-events:none}.cover__veil{position:absolute;inset:22px;border:1px solid rgba(181,138,61,.3);border-radius:36px}.cover__card{position:relative;z-index:2;width:min(520px,calc(100% - 48px));padding:24px}.monogram{width:138px;height:138px;filter:drop-shadow(0 10px 25px rgba(123,85,31,.12));margin-bottom:8px}.cover h1{font-family:var(--serif);font-size:clamp(3.2rem,8vw,5.6rem);font-weight:500;letter-spacing:.02em;line-height:.9;margin:12px 0;color:var(--gold-dark)}.cover h1 span{font-family:var(--script);font-size:.75em;color:var(--gold);font-weight:400}.cover__date{font-family:var(--serif);font-size:1.25rem;letter-spacing:.3em;margin:18px 0}.guest-box{margin:26px auto;display:flex;flex-direction:column;gap:4px;max-width:390px;padding:18px 22px;border-top:1px solid rgba(181,138,61,.25);border-bottom:1px solid rgba(181,138,61,.25)}.guest-box small{font-size:.72rem;color:var(--muted)}.guest-box strong{font-family:var(--serif);font-size:1.6rem;color:var(--gold-dark)}.cover__note{font-size:.66rem;color:var(--muted);margin-top:14px}.ornament{position:absolute;width:220px;height:220px;border:1px solid rgba(181,138,61,.14);border-radius:44% 56% 40% 60%;transform:rotate(30deg)}.ornament::after{content:"";position:absolute;inset:20px;border:1px dashed rgba(181,138,61,.17);border-radius:inherit}.ornament--top{left:-80px;top:-90px}.ornament--bottom{right:-80px;bottom:-90px;transform:rotate(210deg)}

/* Hero */
.hero{min-height:100svh;display:grid;place-items:center;text-align:center;padding-top:130px;background:linear-gradient(180deg,#faf5eb 0,#fffdf9 100%)}.hero__content{position:relative;z-index:2;width:min(820px,calc(100% - 40px))}.hero__intro{font-family:var(--serif);font-size:1.3rem;color:var(--muted)}.hero h2{font-family:var(--serif);font-weight:500;font-size:clamp(4.5rem,12vw,8.5rem);line-height:.85;margin:18px 0;color:var(--gold-dark)}.hero h2 span{font-family:var(--script);font-size:.7em;color:var(--gold)}.hero__date{letter-spacing:.18em;text-transform:uppercase;font-size:.82rem}.hero__welcome{max-width:660px;margin:auto;color:var(--muted)}.hero__motif{position:absolute;width:min(780px,90vw);aspect-ratio:1;border:1px solid rgba(181,138,61,.12);border-radius:50%;box-shadow:inset 0 0 0 60px rgba(181,138,61,.02),inset 0 0 0 61px rgba(181,138,61,.12)}.scroll-cue{position:absolute;bottom:25px;width:28px;height:46px;border:1px solid rgba(181,138,61,.5);border-radius:999px}.scroll-cue span{position:absolute;width:4px;height:8px;border-radius:2px;background:var(--gold);left:50%;top:9px;transform:translateX(-50%);animation:scrollCue 1.8s infinite}@keyframes scrollCue{0%{opacity:0;transform:translate(-50%,0)}30%{opacity:1}100%{opacity:0;transform:translate(-50%,16px)}}

/* Couple */
.quote-section{background:var(--white)}.quote{text-align:center;font-family:var(--serif);font-size:1.3rem;color:var(--muted);line-height:1.8;margin:8px 0 16px}.quote-source{display:block;text-align:center;font-family:var(--serif);font-size:1.1rem;color:var(--gold-dark)}.quote-section .arabesque{text-align:center}.couple-grid{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:36px;margin-top:72px}.person-card{text-align:center;padding:34px 28px;border-radius:28px;background:linear-gradient(180deg,rgba(245,237,224,.65),rgba(255,255,255,.75));border:1px solid rgba(181,138,61,.17);box-shadow:var(--shadow)}.person-card__halo{width:126px;height:126px;border-radius:50%;margin:0 auto 22px;display:grid;place-items:center;background:radial-gradient(circle,#fff 0 46%,#efe2ca 47% 58%,transparent 59%),conic-gradient(from 0deg,#b58a3d,#e4cf9a,#8d6425,#d9bb73,#b58a3d);padding:3px}.person-card__halo span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:var(--ivory);font:500 4rem/1 var(--serif);color:var(--gold-dark)}.person-card h3{font-family:var(--serif);font-weight:600;font-size:1.65rem;line-height:1.25;margin:10px 0}.person-card p:not(.script){color:var(--muted);font-family:var(--serif);font-size:1.05rem}.person-card small{display:block;color:#8a7a68}.couple-and{font:400 4rem/1 var(--script);color:var(--gold)}

/* Events */
.event-section{background:linear-gradient(180deg,#efe3cf,#f8f2e7)}.section-heading{text-align:center;max-width:720px;margin:0 auto 54px}.section-heading h2,.location-copy h2,.rsvp-copy h2{font-family:var(--serif);font-weight:500;font-size:clamp(2.8rem,7vw,4.6rem);line-height:1;margin:10px 0 14px;color:var(--gold-dark)}.section-heading>p:last-child,.rsvp-copy>p,.location-copy>p{color:var(--muted)}.event-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;max-width:920px;margin:auto}.event-card{position:relative;text-align:center;padding:42px 34px;border-radius:30px;background:rgba(255,253,249,.8);border:1px solid rgba(181,138,61,.2);box-shadow:var(--shadow)}.event-card--featured{background:linear-gradient(145deg,#fffdf8,#f6ecd9);border-color:rgba(181,138,61,.5)}.event-card__icon{width:48px;height:48px;margin:auto;display:grid;place-items:center;border-radius:50%;background:var(--gold);color:white}.event-card h3{font-family:var(--serif);font-size:1.55rem;line-height:1.2;margin:14px 0 5px}.event-time{font-weight:600;color:var(--gold-dark)}.event-place{display:flex;flex-direction:column;gap:3px;margin:24px 0}.event-place strong{font-family:var(--serif);font-size:1.2rem}.event-place span{font-size:.82rem;color:var(--muted)}.countdown{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:700px;margin:48px auto 0}.countdown div{text-align:center;padding:22px 8px;border-radius:18px;background:rgba(255,255,255,.55);border:1px solid rgba(181,138,61,.18)}.countdown strong{display:block;font:500 2.8rem/1 var(--serif);color:var(--gold-dark)}.countdown span{font-size:.68rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted)}

/* Location */
.location-section{background:var(--white)}.location-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px;align-items:center}.location-copy .btn{margin-top:18px}.map-frame{position:relative;height:470px;padding:10px;border-radius:30px;border:1px solid rgba(181,138,61,.24);background:#fff;box-shadow:var(--shadow);overflow:hidden}.map-frame iframe{width:100%;height:100%;border:0;border-radius:22px;filter:sepia(.15) saturate(.85);background:#f7f1e7}.map-status{position:absolute;left:24px;top:24px;z-index:3;padding:10px 14px;border-radius:999px;background:rgba(92,69,45,.88);color:#fff;font-size:.8rem;letter-spacing:.04em;box-shadow:0 10px 22px rgba(58,42,27,.16);transition:opacity .25s ease,transform .25s ease}.map-status.is-success{background:rgba(122,96,52,.92)}.map-status.is-warning{background:rgba(92,69,45,.92)}.map-status.is-hidden{opacity:0;transform:translateY(-8px);pointer-events:none}.map-meta{position:absolute;left:24px;right:24px;bottom:24px;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:18px;background:rgba(255,250,243,.94);border:1px solid rgba(181,138,61,.18);backdrop-filter:blur(6px)}.map-badge{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--gold-dark)}.map-meta small{color:var(--muted);font-size:.76rem;word-break:break-word}.map-fallback{position:absolute;inset:18px;z-index:4;display:grid;place-items:center;align-content:center;gap:12px;padding:24px;border-radius:22px;text-align:center;background:rgba(255,250,243,.96);border:1px solid rgba(181,138,61,.16)}.map-fallback p{margin:0;color:var(--muted);max-width:36ch}.map-fallback .btn{margin-top:4px}

/* Gallery */
.gallery-section{background:#f7f0e4}.print-gallery{display:grid;grid-template-columns:1fr 1fr;gap:26px}.print-card{border:0;background:#fff;padding:10px;border-radius:24px;box-shadow:var(--shadow);cursor:zoom-in;overflow:hidden}.print-card img{display:block;width:100%;border-radius:16px;transition:transform .45s ease}.print-card:hover img{transform:scale(1.02)}.lightbox{position:fixed;z-index:10000;inset:0;background:rgba(25,17,10,.92);display:grid;place-items:center;padding:28px}.lightbox[hidden]{display:none}.lightbox img{max-width:min(1200px,94vw);max-height:88vh;border-radius:16px;box-shadow:0 24px 80px #0008}.lightbox__close{position:absolute;right:24px;top:18px;border:0;background:transparent;color:white;font-size:2.6rem;cursor:pointer}

/* RSVP */
.rsvp-section{background:linear-gradient(180deg,#fffdf9,#efe2cd)}.rsvp-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}.rsvp-copy{position:sticky;top:100px}.rsvp-stat{margin-top:24px;padding:16px;border-left:3px solid var(--gold);background:rgba(255,255,255,.45);font-family:var(--serif);color:var(--gold-dark)}.rsvp-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:rgba(255,255,255,.72);padding:28px;border-radius:28px;border:1px solid rgba(181,138,61,.2);box-shadow:var(--shadow)}.rsvp-form label{display:flex;flex-direction:column;gap:8px}.rsvp-form label:nth-of-type(1),.rsvp-form label:nth-of-type(4){grid-column:1/-1}.rsvp-form label span{font-size:.72rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--gold-dark)}.rsvp-form input,.rsvp-form select,.rsvp-form textarea{width:100%;border:1px solid rgba(121,106,91,.2);background:#fffdf9;border-radius:14px;padding:13px 14px;color:var(--brown);outline:none;transition:border .2s,box-shadow .2s}.rsvp-form input:focus,.rsvp-form select:focus,.rsvp-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(181,138,61,.1)}.rsvp-form textarea{resize:vertical}.rsvp-form .btn{grid-column:1/-1}.form-status{grid-column:1/-1;margin:0;text-align:center;font-size:.8rem}.form-status.ok{color:#237348}.form-status.error{color:#a82e2e}.hp{position:absolute!important;left:-9999px!important}.wishes-wrap{margin-top:76px}.wishes-wrap h3{text-align:center;font:500 2rem/1 var(--serif);color:var(--gold-dark)}.wishes{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;max-width:920px;margin:28px auto 0}.wish{display:flex;gap:14px;padding:18px;border-radius:18px;background:rgba(255,255,255,.62);border:1px solid rgba(181,138,61,.14)}.wish__avatar{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#d6ba76,#9d7230);color:white;font-family:var(--serif);font-size:1.3rem}.wish strong{font-family:var(--serif);font-size:1.1rem}.wish small{display:block;font-size:.64rem;text-transform:uppercase;letter-spacing:.1em;color:var(--gold-dark)}.wish p{margin:5px 0 0;color:var(--muted);font-size:.84rem;line-height:1.6}.wishes-empty{text-align:center;grid-column:1/-1;color:var(--muted)}

/* Closing + nav */
.closing-section{text-align:center;min-height:76vh;display:grid;place-items:center;background:linear-gradient(180deg,#f4ead8,#fcf8f0)}.closing-section .container{position:relative;z-index:1}.closing-section p:not(.script,.hashtag,.arabesque){max-width:720px;margin-left:auto;margin-right:auto;color:var(--muted);font-family:var(--serif);font-size:1.15rem}.closing-salam{margin-top:28px!important}.big-script{font-size:4rem}.hashtag{color:var(--gold-dark);font-family:var(--serif);font-weight:600;letter-spacing:.08em}footer{text-align:center;padding:36px 20px 92px;background:#3f2d1e;color:#eadfcf}footer img{width:60px;filter:grayscale(1) brightness(3);opacity:.75}footer p{font-family:var(--serif);font-size:1.1rem;margin:8px 0 0}footer small{opacity:.6}.floating-nav{position:fixed;z-index:8000;bottom:18px;left:50%;transform:translate(-50%,120px);display:flex;gap:4px;padding:7px;border-radius:999px;background:rgba(58,42,27,.88);backdrop-filter:blur(14px);box-shadow:0 12px 36px #0003;transition:transform .5s ease}.floating-nav.visible{transform:translate(-50%,0)}.floating-nav a{width:42px;height:42px;display:grid;place-items:center;color:#f7ead2;border-radius:50%;font-size:1.05rem}.floating-nav a:hover{background:rgba(255,255,255,.1)}

/* Reveal */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .75s ease,transform .75s ease}.reveal.is-visible{opacity:1;transform:none}.reveal-now{animation:coverIn .8s .15s both}@keyframes coverIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}

@media (max-width:900px){.section{padding:82px 0}.couple-grid{grid-template-columns:1fr;gap:20px}.couple-and{font-size:3rem}.event-grid,.location-grid,.rsvp-grid{grid-template-columns:1fr}.rsvp-copy{position:relative;top:auto}.map-frame{height:400px}.print-gallery{grid-template-columns:1fr}.wishes{grid-template-columns:1fr}}
@media (max-width:640px){.container,.narrow{width:min(100% - 28px,1120px)}.cover__veil{inset:10px;border-radius:26px}.cover__card{width:calc(100% - 28px)}.monogram{width:108px;height:108px}.cover h1{font-size:3.45rem}.hero{padding-top:90px}.hero__intro{font-size:1.05rem}.hero h2{font-size:4.7rem}.person-card{padding:28px 18px}.event-grid{gap:18px}.event-card{padding:34px 20px}.countdown{gap:7px}.countdown div{padding:17px 4px}.countdown strong{font-size:2.05rem}.countdown span{font-size:.57rem;letter-spacing:.08em}.map-frame{height:320px}.map-status{left:18px;top:18px;font-size:.74rem}.map-meta{left:18px;right:18px;bottom:18px;align-items:flex-start;flex-direction:column}.rsvp-form{grid-template-columns:1fr;padding:20px}.rsvp-form label,.rsvp-form label:nth-of-type(1),.rsvp-form label:nth-of-type(4){grid-column:1}.rsvp-form .btn,.form-status{grid-column:1}.big-script{font-size:3.25rem}.floating-nav a{width:38px;height:38px}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{opacity:1;transform:none;transition:none}.scroll-cue span{animation:none}.btn,.print-card img{transition:none}}

/* =========================================================
   STAGE 2 · Mobile-first polish + music player
   ========================================================= */
:root{--safe-bottom:env(safe-area-inset-bottom,0px);--safe-top:env(safe-area-inset-top,0px)}
body{min-width:280px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img,iframe{max-width:100%}
.cover{padding-top:var(--safe-top);padding-bottom:var(--safe-bottom);overflow:auto}
.cover__card{max-height:100%;margin:auto}
.cover__music-hint{display:flex;align-items:center;justify-content:center;gap:7px;margin:14px 0 0;color:var(--gold-dark);font-size:.68rem;letter-spacing:.03em;opacity:.78}
.cover__music-hint span{width:24px;height:24px;display:grid;place-items:center;border:1px solid rgba(181,138,61,.3);border-radius:50%;font-family:var(--serif);font-size:.9rem}

/* clearer touch targets */
.btn{min-height:50px}
input,select,textarea{min-height:48px}
textarea{min-height:112px}

/* Music control */
.music-control{position:fixed;z-index:8050;right:18px;bottom:18px;opacity:0;transform:translateY(18px) scale(.96);pointer-events:none;transition:opacity .45s ease,transform .45s ease}
.music-control.visible{opacity:1;transform:none;pointer-events:auto}
.music-button{display:flex;align-items:center;gap:10px;padding:7px 13px 7px 7px;border:1px solid rgba(232,209,161,.2);border-radius:999px;background:rgba(58,42,27,.92);color:#fff7e8;box-shadow:0 12px 36px rgba(40,26,15,.26);backdrop-filter:blur(14px);cursor:pointer}
.music-button:disabled{opacity:.55;cursor:not-allowed}
.music-disc{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle at center,#3a2a1b 0 18%,#c7a45c 19% 22%,#3a2a1b 23% 39%,#b58a3d 40% 43%,#3a2a1b 44%);border:1px solid rgba(255,240,208,.26);box-shadow:inset 0 0 0 1px rgba(255,255,255,.05)}
.music-disc i{font-style:normal;font-size:.85rem;color:#f8dfaa;filter:drop-shadow(0 1px 2px #0008)}
.music-button.is-playing .music-disc{animation:musicSpin 4.5s linear infinite}
.music-copy{display:flex;flex-direction:column;align-items:flex-start;line-height:1.18;min-width:92px}
.music-copy strong{font-size:.68rem;letter-spacing:.08em;text-transform:uppercase}
.music-copy small{margin-top:2px;font-size:.58rem;color:#ddcba9;white-space:nowrap}
@keyframes musicSpin{to{transform:rotate(360deg)}}

/* Navigation: readable, active and thumb-friendly */
.floating-nav{left:18px;right:auto;bottom:18px;transform:translateY(120px);gap:2px;padding:6px 8px;border:1px solid rgba(255,244,218,.1)}
.floating-nav.visible{transform:translateY(0)}
.floating-nav a{width:52px;height:46px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;transition:background .2s ease,color .2s ease,transform .2s ease}
.floating-nav .nav-icon{font-size:1rem;line-height:1}
.floating-nav small{display:block;font-size:.48rem;line-height:1;letter-spacing:.02em;color:#dbc9a8;opacity:.82}
.floating-nav a.active{background:rgba(255,255,255,.12);color:#fff;transform:translateY(-1px)}
.floating-nav a.active small{color:#fff}

/* Desktop/tablet refinement */
.person-card,.event-card,.rsvp-form,.map-frame,.print-card{transform:translateZ(0)}
.event-card .btn{margin-top:8px}
.location-copy .btn{margin-top:12px}
.rsvp-form input,.rsvp-form select,.rsvp-form textarea{background:rgba(255,253,249,.9)}

@media (max-width:900px){
  .section{padding:76px 0}
  .section-heading{margin-bottom:38px}
  .couple-grid{margin-top:48px}
  .location-grid{gap:30px}
  .rsvp-grid{gap:34px}
}

@media (max-width:640px){
  html{scroll-padding-bottom:92px}
  body{padding-bottom:0}
  .container,.narrow{width:min(calc(100% - 28px),1120px)}
  .section{padding:66px 0}
  .eyebrow{font-size:.66rem;letter-spacing:.18em}
  .script{font-size:1.95rem}
  .arabesque{font-size:2.5rem}
  .btn{width:100%;min-height:50px;padding:12px 18px;font-size:.75rem}

  .cover{place-items:start center;padding:calc(18px + var(--safe-top)) 0 calc(18px + var(--safe-bottom));min-height:100svh}
  .cover__veil{position:fixed;inset:10px;border-radius:24px;pointer-events:none}
  .cover__card{width:calc(100% - 36px);padding:16px 8px 20px;min-height:calc(100svh - 36px);display:flex;flex-direction:column;justify-content:center}
  .monogram{width:92px;height:92px;margin:0 auto 2px}
  .cover .eyebrow{margin:4px 0}
  .cover h1{font-size:clamp(3rem,17vw,4.2rem);margin:8px 0;line-height:.9}
  .cover__date{font-size:1.05rem;letter-spacing:.22em;margin:12px 0}
  .guest-box{width:100%;margin:16px auto;padding:13px 12px}
  .guest-box small{font-size:.64rem}
  .guest-box strong{font-size:clamp(1.25rem,6vw,1.55rem);line-height:1.2;padding:2px 0}
  .cover .btn{width:min(290px,100%);margin:0 auto}
  .cover__note{font-size:.6rem;line-height:1.5;margin:10px auto 0;max-width:300px}
  .cover__music-hint{font-size:.61rem;margin-top:9px}
  .ornament{width:150px;height:150px;opacity:.7}

  .hero{min-height:100svh;padding:88px 0 90px}
  .hero__content{width:calc(100% - 30px)}
  .hero__intro{font-size:1rem;line-height:1.55;max-width:290px;margin:14px auto}
  .hero h2{font-size:clamp(4rem,21vw,5.4rem);line-height:.82;margin:14px 0 18px}
  .hero__date{font-size:.7rem;letter-spacing:.12em;line-height:1.5}
  .hero__welcome{font-size:.88rem;line-height:1.75;max-width:340px}
  .hero__motif{width:94vw;max-width:430px}
  .divider{margin:20px auto;width:76%}
  .scroll-cue{bottom:92px}

  .quote{font-size:1.08rem;line-height:1.75}
  .quote-source{font-size:.98rem}
  .couple-grid{gap:16px;margin-top:38px}
  .person-card{padding:26px 18px 28px;border-radius:24px}
  .person-card__halo{width:104px;height:104px;margin-bottom:16px}
  .person-card__halo span{font-size:3.3rem}
  .person-card h3{font-size:1.45rem;overflow-wrap:anywhere}
  .person-card p:not(.script){font-size:.96rem;line-height:1.65;margin-bottom:8px}
  .person-card small{font-size:.78rem;line-height:1.6}
  .couple-and{margin:-2px 0;font-size:2.7rem}

  .section-heading{margin-bottom:30px}
  .section-heading h2,.location-copy h2,.rsvp-copy h2{font-size:clamp(2.65rem,14vw,3.55rem);line-height:.95}
  .section-heading>p:last-child,.rsvp-copy>p,.location-copy>p{font-size:.88rem;line-height:1.7}
  .event-grid{gap:15px}
  .event-card{padding:30px 18px;border-radius:24px}
  .event-card h3{font-size:1.45rem;line-height:1.2}
  .event-time{font-size:.92rem}
  .event-place{font-size:.86rem;line-height:1.55}
  .event-card .btn{margin-top:14px}
  .countdown{margin-top:28px;gap:5px}
  .countdown div{min-width:0;padding:14px 2px;border-radius:15px}
  .countdown strong{font-size:clamp(1.65rem,9vw,2.15rem)}
  .countdown span{font-size:.52rem;letter-spacing:.05em}

  .location-grid{text-align:center}
  .location-copy{max-width:420px;margin:auto}
  .location-copy .btn{width:min(320px,100%)}
  .map-frame{height:300px;border-radius:22px}.map-fallback{inset:12px;padding:18px}.map-fallback p{font-size:.88rem}

  .print-gallery{gap:14px}
  .print-card{border-radius:20px}

  .rsvp-copy{text-align:center}
  .rsvp-stat{margin-left:auto;margin-right:auto;font-size:.78rem}
  .rsvp-form{padding:18px 16px;border-radius:22px;gap:13px}
  .rsvp-form label span{font-size:.7rem}
  .rsvp-form input,.rsvp-form select,.rsvp-form textarea{font-size:16px;padding:11px 12px;border-radius:12px}
  .wishes-wrap{margin-top:52px}
  .wishes-wrap h3{font-size:1.75rem}
  .wish{padding:15px 13px;gap:11px}
  .wish__avatar{flex-basis:38px;width:38px;height:38px}
  .wish p{font-size:.8rem}

  .closing-section{min-height:70svh;padding-bottom:120px}
  .closing-section p:not(.script,.hashtag,.arabesque){font-size:1.02rem;line-height:1.75}
  .big-script{font-size:3.1rem}
  footer{padding:30px 18px calc(112px + var(--safe-bottom))}

  .floating-nav{left:10px;right:10px;bottom:calc(8px + var(--safe-bottom));width:auto;justify-content:space-around;padding:6px;border-radius:20px}
  .floating-nav a{flex:1;width:auto;max-width:70px;height:50px;border-radius:15px}
  .floating-nav .nav-icon{font-size:1.03rem}
  .floating-nav small{font-size:.47rem}
  .music-control{right:14px;bottom:calc(74px + var(--safe-bottom))}
  .music-button{width:46px;height:46px;padding:3px;border-radius:50%;display:grid;place-items:center}
  .music-disc{width:38px;height:38px}
  .music-copy{display:none}
}

@media (max-width:360px){
  .section{padding:58px 0}
  .cover__card{width:calc(100% - 30px)}
  .cover h1{font-size:3rem}
  .hero h2{font-size:3.95rem}
  .countdown strong{font-size:1.6rem}
  .floating-nav small{font-size:.43rem}
  .floating-nav a{padding-inline:1px}
}

@media (max-height:680px) and (max-width:640px){
  .cover__card{justify-content:flex-start;padding-top:24px}
  .monogram{width:72px;height:72px}
  .cover h1{font-size:2.8rem}
  .cover__date{margin:8px 0}
  .guest-box{margin:10px auto;padding:9px 10px}
  .cover__note{margin-top:7px}
  .cover__music-hint{margin-top:6px}
}

@media (min-width:641px) and (max-width:1100px){
  .floating-nav{left:50%;right:auto;transform:translate(-50%,120px)}
  .floating-nav.visible{transform:translate(-50%,0)}
  .music-control{right:22px}
}

@media (min-width:1101px){
  .floating-nav{left:50%;right:auto;transform:translate(-50%,120px)}
  .floating-nav.visible{transform:translate(-50%,0)}
}

@media (prefers-reduced-motion:reduce){
  .music-button.is-playing .music-disc{animation:none}
}


/* Stage 4 map refinement and richer animation */
.location-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.btn--ghost{background:rgba(181,138,61,.08);color:var(--gold-dark);border:1px solid rgba(181,138,61,.24)}.btn--ghost:hover{background:rgba(181,138,61,.14)}
.map-frame{isolation:isolate;min-height:470px}.map-glow{position:absolute;inset:auto auto 18% -10%;width:44%;height:44%;background:radial-gradient(circle,rgba(225,188,120,.28),rgba(225,188,120,0));filter:blur(10px);z-index:0;animation:mapGlow 6s ease-in-out infinite}.map-preview{position:absolute;inset:10px;border-radius:22px;overflow:hidden;background:linear-gradient(160deg,#f7f1e7,#efe2cc);z-index:0}.map-preview__grid{position:absolute;inset:-20%;background-image:linear-gradient(rgba(181,138,61,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(181,138,61,.08) 1px,transparent 1px);background-size:42px 42px;animation:mapDrift 18s linear infinite}.map-preview__road{position:absolute;display:block;background:rgba(255,255,255,.76);box-shadow:0 6px 20px rgba(153,118,55,.1)}.map-preview__road--one{width:130%;height:20px;left:-10%;top:42%;transform:rotate(-14deg)}.map-preview__road--two{width:85%;height:18px;right:-8%;top:22%;transform:rotate(28deg)}.map-preview__road--three{width:70%;height:16px;left:-4%;bottom:18%;transform:rotate(12deg)}.map-preview__pin{position:absolute;left:55%;top:43%;width:28px;height:28px;border-radius:50% 50% 50% 0;background:linear-gradient(180deg,#d3a040,#8d6730);transform:rotate(-45deg);box-shadow:0 12px 25px rgba(111,77,26,.22);animation:pinFloat 2.2s ease-in-out infinite}.map-preview__pin::before{content:'';position:absolute;inset:7px;border-radius:50%;background:#fff}.map-preview__pin::after{content:'';position:absolute;left:50%;top:50%;width:16px;height:16px;border-radius:50%;transform:translate(-50%,-50%) rotate(45deg);background:rgba(211,160,64,.18);box-shadow:0 0 0 0 rgba(211,160,64,.38);animation:pinPulse 2s ease-out infinite}.map-preview__card{position:absolute;left:24px;top:26px;max-width:min(72%,340px);padding:14px 16px;border-radius:18px;background:rgba(255,250,243,.95);border:1px solid rgba(181,138,61,.16);box-shadow:0 12px 24px rgba(90,66,31,.08)}.map-preview__card strong{display:block;font-family:var(--serif);font-size:1.35rem;color:var(--gold-dark);margin-bottom:6px}.map-preview__card small{display:block;color:var(--muted);line-height:1.55}.map-frame iframe{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px);opacity:0;transition:opacity .65s ease;z-index:1}.map-frame.is-loaded iframe{opacity:1}.map-frame.is-loaded .map-preview{opacity:.18;transform:scale(1.015);transition:opacity .5s ease,transform .5s ease}.map-status{z-index:4}.map-meta{z-index:4}.map-meta>div{display:flex;flex-direction:column;gap:3px}.map-mini-btn{appearance:none;border:1px solid rgba(181,138,61,.24);background:rgba(255,250,243,.95);color:var(--gold-dark);padding:10px 14px;border-radius:999px;font:600 .82rem/1 var(--sans);cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease}.map-mini-btn:hover{transform:translateY(-1px);background:#fff;box-shadow:0 10px 18px rgba(90,66,31,.08)}.map-fallback{position:absolute;left:18px;right:18px;bottom:82px;inset:auto 18px 82px 18px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:18px;background:rgba(255,250,243,.94);border:1px solid rgba(181,138,61,.16);box-shadow:0 12px 24px rgba(90,66,31,.08);backdrop-filter:blur(6px)}.map-fallback strong{font-size:.92rem;color:var(--gold-dark)}.map-fallback__actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.map-fallback .btn{min-width:auto;padding:12px 18px}.map-frame.has-fallback .map-preview{opacity:1}.location-copy,.map-frame{transition:transform .35s ease}.location-copy:hover,.map-frame:hover{transform:translateY(-2px)}
@keyframes mapDrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-42px,-42px,0)}}@keyframes pinPulse{0%{box-shadow:0 0 0 0 rgba(211,160,64,.38)}70%{box-shadow:0 0 0 22px rgba(211,160,64,0)}100%{box-shadow:0 0 0 0 rgba(211,160,64,0)}}@keyframes pinFloat{0%,100%{transform:rotate(-45deg) translateY(0)}50%{transform:rotate(-45deg) translateY(-7px)}}@keyframes mapGlow{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(14px,-10px,0) scale(1.08)}}
@media (max-width:900px){.location-actions{justify-content:flex-start}.map-frame{min-height:400px}.map-preview__card{max-width:calc(100% - 48px)}.map-fallback{bottom:92px;flex-direction:column;align-items:flex-start}}
@media (max-width:640px){.location-actions{flex-direction:column}.location-actions .btn{width:100%}.map-frame{min-height:320px}.map-preview__card{left:18px;top:18px;padding:12px 14px;max-width:calc(100% - 36px)}.map-preview__card strong{font-size:1.14rem}.map-preview__card small{font-size:.82rem}.map-preview__pin{left:60%;top:48%;width:24px;height:24px}.map-fallback{left:12px;right:12px;bottom:78px;padding:12px;gap:12px}.map-fallback__actions{width:100%;justify-content:stretch}.map-fallback__actions .btn{flex:1 1 100%;width:100%}.map-mini-btn{width:100%}.map-meta{gap:10px}}


/* Stage 5 enhancements */
.cover{overflow:hidden}.cover__card{position:relative;z-index:2}.cover-petals{position:absolute;inset:0;pointer-events:none;overflow:hidden}.cover-petals span{position:absolute;top:-8%;width:18px;height:18px;border-radius:40% 60% 60% 40%;background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.9),rgba(216,183,232,.75) 48%,rgba(255,200,87,.42));box-shadow:0 8px 24px rgba(195,155,92,.22);animation:petalFall linear infinite}.cover-petals span:nth-child(1){left:8%;animation-duration:14s;animation-delay:-1s}.cover-petals span:nth-child(2){left:23%;width:12px;height:12px;animation-duration:11s;animation-delay:-4s}.cover-petals span:nth-child(3){left:42%;width:20px;height:20px;animation-duration:16s;animation-delay:-2s}.cover-petals span:nth-child(4){left:62%;width:14px;height:14px;animation-duration:13s;animation-delay:-7s}.cover-petals span:nth-child(5){left:79%;width:17px;height:17px;animation-duration:15s;animation-delay:-5s}.cover-petals span:nth-child(6){left:91%;width:10px;height:10px;animation-duration:12s;animation-delay:-8s}.monogram{animation:monogramFloat 4.5s ease-in-out infinite}.btn--gold{position:relative;overflow:hidden}.btn--gold::after{content:'';position:absolute;inset:0;transform:translateX(-130%) skewX(-24deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.36),transparent);animation:btnShine 4.8s ease-in-out infinite}
.prewedding-section{background:linear-gradient(180deg,#fffdfa,#f7efe2)}.prewedding-grid{display:grid;grid-template-columns:1.1fr .9fr .9fr 1.1fr;gap:18px;align-items:stretch}.prewedding-card{position:relative;display:block;border:0;padding:0;border-radius:28px;overflow:hidden;cursor:pointer;background:#fff;box-shadow:var(--shadow);min-height:360px}.prewedding-card::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(58,42,27,.14));opacity:0;transition:opacity .28s ease}.prewedding-card:hover::after{opacity:1}.prewedding-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}.prewedding-card:hover img{transform:scale(1.045)}.prewedding-card--tall{min-height:520px}
.location-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:18px}.btn--ghost{background:rgba(181,138,61,.08);color:var(--gold-dark);border:1px solid rgba(181,138,61,.22)}.btn--ghost:hover{background:rgba(181,138,61,.14)}.map-frame{position:relative;overflow:hidden;min-height:470px;padding:14px;border-radius:34px;background:linear-gradient(180deg,#fffaf1,#f8f0e2);border:1px solid rgba(181,138,61,.18);box-shadow:var(--shadow);isolation:isolate}.map-aura{position:absolute;inset:auto auto -30px -30px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(212,173,94,.23),rgba(212,173,94,0));filter:blur(10px);animation:mapAura 6.5s ease-in-out infinite;z-index:0}.map-title-card{position:absolute;left:28px;top:28px;z-index:3;max-width:min(62%,360px);padding:15px 18px;border-radius:18px;background:rgba(255,250,243,.93);backdrop-filter:blur(6px);border:1px solid rgba(181,138,61,.16);box-shadow:0 10px 24px rgba(90,66,31,.08)}.map-title-card strong{display:block;font-family:var(--serif);font-size:1.55rem;line-height:1.05;color:var(--gold-dark);margin-bottom:6px}.map-title-card small{display:block;color:var(--muted);line-height:1.55}.map-embed{position:relative;z-index:1;width:100%;height:100%;min-height:440px;border:0;border-radius:24px;background:#f2ece2;opacity:.22;transition:opacity .55s ease}.map-frame.is-loaded .map-embed{opacity:1}.map-pin-float{position:absolute;right:36px;top:24px;z-index:2;width:32px;height:32px;display:grid;place-items:center}.map-pin-float span{position:relative;display:block;width:22px;height:22px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:linear-gradient(180deg,#d8aa4f,#9b7335);box-shadow:0 10px 20px rgba(92,69,45,.18);animation:pinBob 2.4s ease-in-out infinite}.map-pin-float span::before{content:'';position:absolute;inset:5px;border-radius:50%;background:#fff}.map-pin-float span::after{content:'';position:absolute;left:50%;top:50%;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%) rotate(45deg);box-shadow:0 0 0 0 rgba(216,170,79,.4);animation:pinRing 2.1s ease-out infinite}.map-status{position:absolute;right:28px;top:28px;z-index:3;padding:11px 15px;max-width:min(56%,340px);border-radius:999px;background:rgba(92,69,45,.88);color:#fff;font-size:.8rem;box-shadow:0 10px 22px rgba(58,42,27,.15);transition:opacity .25s ease,transform .25s ease}.map-status.is-success{background:rgba(116,93,52,.92)}.map-status.is-warning{background:rgba(92,69,45,.94)}.map-status.is-hidden{opacity:0;transform:translateY(-8px);pointer-events:none}.map-meta{position:absolute;left:28px;right:28px;bottom:28px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-radius:20px;background:rgba(255,250,243,.95);backdrop-filter:blur(6px);border:1px solid rgba(181,138,61,.18)}.map-meta>div{display:flex;flex-direction:column;gap:4px}.map-badge{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--gold-dark)}.map-meta small{color:var(--muted);font-size:.78rem}.map-mini-btn{appearance:none;border:1px solid rgba(181,138,61,.26);background:#fff;color:var(--gold-dark);padding:12px 15px;border-radius:999px;font:600 .84rem/1 var(--sans);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.map-mini-btn:hover{transform:translateY(-1px);box-shadow:0 10px 18px rgba(90,66,31,.08);background:#fffdf8}
@keyframes petalFall{0%{transform:translate3d(0,-10%,0) rotate(0deg);opacity:0}10%{opacity:1}100%{transform:translate3d(50px,115vh,0) rotate(360deg);opacity:0}}@keyframes monogramFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes btnShine{0%,70%,100%{transform:translateX(-130%) skewX(-24deg)}20%{transform:translateX(130%) skewX(-24deg)}}@keyframes mapAura{0%,100%{transform:scale(1) translate(0,0)}50%{transform:scale(1.1) translate(12px,-8px)}}@keyframes pinBob{0%,100%{transform:rotate(-45deg) translateY(0)}50%{transform:rotate(-45deg) translateY(-6px)}}@keyframes pinRing{0%{box-shadow:0 0 0 0 rgba(216,170,79,.38)}70%{box-shadow:0 0 0 20px rgba(216,170,79,0)}100%{box-shadow:0 0 0 0 rgba(216,170,79,0)}}
@media (max-width:900px){.prewedding-grid{grid-template-columns:1fr 1fr}.prewedding-card,.prewedding-card--tall{min-height:320px}.map-frame{min-height:410px}.map-embed{min-height:380px}.map-title-card{max-width:calc(100% - 56px)}.map-meta{flex-direction:column;align-items:flex-start}.map-status{max-width:calc(100% - 56px);top:auto;bottom:104px;right:28px;border-radius:18px}}
@media (max-width:640px){.prewedding-grid{grid-template-columns:1fr}.prewedding-card,.prewedding-card--tall{min-height:300px}.location-actions{flex-direction:column}.location-actions .btn{width:100%}.map-frame{padding:12px;min-height:350px}.map-title-card{left:20px;right:20px;top:20px;max-width:none;padding:13px 14px}.map-title-card strong{font-size:1.22rem}.map-pin-float{right:22px;top:auto;bottom:118px}.map-status{left:20px;right:20px;top:auto;bottom:96px;max-width:none;border-radius:18px}.map-embed{min-height:330px}.map-meta{left:20px;right:20px;bottom:20px;padding:12px 14px;gap:10px}.map-mini-btn{width:100%}}


/* Stage 6 refinements */
body{overflow-x:hidden}.cover-jawa,.hero-jawa{position:absolute;pointer-events:none;opacity:.78;filter:drop-shadow(0 10px 25px rgba(166,124,55,.12));z-index:1}.cover-jawa::before,.cover-jawa::after,.hero-jawa::before,.hero-jawa::after{content:'';position:absolute;inset:0}.cover-jawa,.hero-jawa{width:170px;height:220px;background:linear-gradient(180deg,rgba(255,255,255,.34),rgba(216,183,232,.08));clip-path:polygon(50% 0%,70% 16%,63% 18%,80% 35%,68% 38%,84% 58%,66% 60%,80% 100%,50% 86%,20% 100%,34% 60%,16% 58%,32% 38%,20% 35%,37% 18%,30% 16%);animation:jawaFloat 8s ease-in-out infinite}.cover-jawa::before,.hero-jawa::before{inset:16px 24px 22px;background:repeating-linear-gradient(180deg,rgba(181,138,61,.18) 0 9px,rgba(255,255,255,.18) 9px 18px);clip-path:inherit}.cover-jawa::after,.hero-jawa::after{inset:42px 56px 58px;background:rgba(181,138,61,.18);border-radius:50%}.cover-jawa--left{left:-28px;top:52px}.cover-jawa--right{right:-28px;bottom:62px;transform:scaleX(-1);animation-delay:-3s}.hero-jawa--left{left:2%;top:12%;transform:scale(.76);animation-delay:-2s}.hero-jawa--right{right:2%;bottom:8%;transform:scale(.76) scaleX(-1);animation-delay:-5s}.section-heading{position:relative}.section-heading::before,.section-heading::after{content:'';display:block;width:78px;height:12px;margin:0 auto 12px;background:radial-gradient(circle at center,rgba(181,138,61,.45) 0 18%,transparent 19%),linear-gradient(90deg,transparent,rgba(181,138,61,.22),transparent);background-size:18px 12px,100% 2px;background-repeat:repeat-x,no-repeat;background-position:center center,center center}.section-heading::after{margin:14px auto 0;opacity:.72}
.map-frame{padding:16px 16px 100px;min-height:520px}.map-title-card{z-index:500}.map-embed--leaflet{opacity:1 !important;min-height:404px;border-radius:24px;overflow:hidden}.map-frame.is-loaded .map-embed--leaflet{opacity:1}.map-status{left:28px;right:auto;top:auto;bottom:112px;max-width:min(72%,420px);border-radius:18px}.map-meta{bottom:18px;z-index:520}.leaflet-container{font-family:var(--sans);touch-action:pan-x pan-y}.leaflet-top,.leaflet-bottom{z-index:450}.leaflet-top.leaflet-right{top:112px;right:18px}.leaflet-control-zoom{border:none !important;box-shadow:0 10px 24px rgba(90,66,31,.12)!important;overflow:hidden;border-radius:18px!important}.leaflet-control-zoom a{width:42px!important;height:42px!important;line-height:42px!important;color:var(--gold-dark)!important;background:rgba(255,250,243,.98)!important;border-bottom:1px solid rgba(181,138,61,.12)!important;font-weight:700}.leaflet-control-attribution{background:rgba(255,250,243,.9)!important;border-radius:10px 0 0 0;padding:3px 8px!important}.map-marker{background:transparent;border:none}.map-marker__core{position:absolute;left:50%;top:50%;width:18px;height:18px;transform:translate(-50%,-68%) rotate(45deg);background:linear-gradient(180deg,#d9ad59,#9d7333);border-radius:50% 50% 50% 0;box-shadow:0 8px 18px rgba(92,69,45,.18)}.map-marker__core::after{content:'';position:absolute;inset:4px;border-radius:50%;background:#fff}.map-marker__pulse{position:absolute;left:50%;top:50%;width:16px;height:16px;transform:translate(-50%,-60%);border-radius:50%;box-shadow:0 0 0 0 rgba(217,173,89,.48);animation:mapMarkerPulse 2s infinite}
.prewedding-slider{position:relative;max-width:980px;margin:0 auto}.prewedding-stage{position:relative;min-height:620px;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);background:#fff}.prewedding-slide{position:absolute;inset:0;border:0;padding:0;opacity:0;pointer-events:none;transition:opacity .55s ease,transform .55s ease;background:#fff}.prewedding-slide.is-active{opacity:1;pointer-events:auto;transform:none}.prewedding-slide img{width:100%;height:100%;object-fit:cover;display:block}.prewedding-slide__badge{position:absolute;left:26px;top:26px;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:rgba(255,250,243,.92);color:var(--gold-dark);font:600 1rem/1 var(--sans);box-shadow:0 10px 20px rgba(90,66,31,.12)}.prewedding-slide__caption{position:absolute;left:24px;right:24px;bottom:24px;display:flex;flex-direction:column;gap:6px;padding:18px 20px;border-radius:22px;background:linear-gradient(180deg,rgba(44,33,20,.15),rgba(44,33,20,.56));backdrop-filter:blur(5px);color:#fff;text-align:left}.prewedding-slide__caption strong{font-family:var(--serif);font-size:2rem;line-height:1}.prewedding-slide__caption small{font-size:.95rem;line-height:1.55;color:rgba(255,255,255,.92)}.prewedding-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin:22px auto 0}.slider-btn{appearance:none;border:none;width:50px;height:50px;border-radius:50%;background:linear-gradient(180deg,#fffdf9,#efe4d0);box-shadow:0 10px 20px rgba(90,66,31,.12);color:var(--gold-dark);font:600 2rem/1 var(--serif);cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.slider-btn:hover{transform:translateY(-1px);box-shadow:0 14px 22px rgba(90,66,31,.16)}.prewedding-dots{display:flex;align-items:center;gap:10px}.prewedding-dots button{appearance:none;border:0;width:11px;height:11px;border-radius:999px;background:rgba(181,138,61,.26);cursor:pointer;transition:width .25s ease,background .25s ease}.prewedding-dots button.is-active{width:34px;background:var(--gold-dark)}.prewedding-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}.prewedding-thumbs button{appearance:none;border:2px solid transparent;padding:0;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 8px 16px rgba(90,66,31,.08);cursor:pointer;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.prewedding-thumbs button.is-active{border-color:rgba(181,138,61,.55);transform:translateY(-2px);box-shadow:0 12px 20px rgba(90,66,31,.14)}.prewedding-thumbs img{display:block;width:100%;height:110px;object-fit:cover}
.floating-nav{width:min(92vw,420px)}.music-control{z-index:980}
@keyframes jawaFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes mapMarkerPulse{0%{box-shadow:0 0 0 0 rgba(217,173,89,.46)}70%{box-shadow:0 0 0 20px rgba(217,173,89,0)}100%{box-shadow:0 0 0 0 rgba(217,173,89,0)}}
@media (max-width:900px){.hero-jawa{opacity:.55}.map-frame{padding:14px 14px 100px;min-height:500px}.map-embed--leaflet{min-height:390px}.leaflet-top.leaflet-right{top:102px;right:14px}.prewedding-stage{min-height:520px}.prewedding-slide__caption strong{font-size:1.7rem}.prewedding-thumbs img{height:92px}}
@media (max-width:640px){.cover-jawa{display:none}.hero-jawa{transform:scale(.56)!important;opacity:.44}.hero-jawa--left{left:-26px;top:18%}.hero-jawa--right{right:-28px;bottom:16%}.section{padding:78px 0}.floating-nav{bottom:calc(14px + env(safe-area-inset-bottom));padding:11px 12px;gap:4px;width:min(94vw,370px)}.floating-nav a{min-width:56px}.music-control{left:50%;right:auto;transform:translateX(-50%);bottom:calc(94px + env(safe-area-inset-bottom));width:min(92vw,350px)}.music-button{width:100%;justify-content:center}.location-grid{gap:24px}.location-copy{text-align:left}.location-copy h2{font-size:clamp(2.7rem,16vw,4rem);line-height:.95}.location-actions{gap:10px}.map-frame{padding:12px 12px 88px;min-height:430px;border-radius:28px}.map-title-card{left:16px;right:16px;top:16px;padding:12px 14px;max-width:none}.map-title-card strong{font-size:1.2rem}.map-title-card small{font-size:.84rem}.map-embed--leaflet{min-height:330px;border-radius:20px}.map-status{left:16px;right:16px;bottom:98px;max-width:none;font-size:.76rem;padding:10px 12px}.map-meta{left:16px;right:16px;bottom:16px;flex-direction:column;align-items:flex-start;padding:12px 14px;gap:10px}.map-mini-btn{width:100%}.leaflet-top.leaflet-right{top:92px;right:12px}.leaflet-control-zoom a{width:38px!important;height:38px!important;line-height:38px!important}.prewedding-stage{min-height:410px;border-radius:26px}.prewedding-slide__badge{left:16px;top:16px;width:44px;height:44px}.prewedding-slide__caption{left:14px;right:14px;bottom:14px;padding:14px 16px;border-radius:18px}.prewedding-slide__caption strong{font-size:1.35rem}.prewedding-slide__caption small{font-size:.82rem}.prewedding-controls{gap:12px}.slider-btn{width:44px;height:44px;font-size:1.8rem}.prewedding-thumbs{grid-template-columns:repeat(4, minmax(0,1fr));gap:8px}.prewedding-thumbs img{height:64px}}
@media (max-width:420px){.floating-nav small{font-size:.65rem}.music-copy small{font-size:.72rem}.prewedding-stage{min-height:360px}.prewedding-thumbs img{height:56px}.leaflet-control-attribution{font-size:9px!important}}


/* Stage 7 elegant layout refinements */
.location-grid{align-items:start}.location-copy{position:sticky;top:90px}.location-actions .btn{min-width:190px}.location-qr-card{display:flex;align-items:center;gap:16px;margin-top:18px;padding:14px 16px;border-radius:24px;background:linear-gradient(180deg,#fffefb,#f7efe3);border:1px solid rgba(181,138,61,.18);box-shadow:0 14px 28px rgba(90,66,31,.08)}.location-qr-card img{width:88px;height:88px;border-radius:16px;background:#fff;padding:8px;box-shadow:0 8px 18px rgba(90,66,31,.08)}.location-qr-card strong{display:block;font-family:var(--serif);font-size:1.45rem;color:var(--gold-dark);line-height:1}.location-qr-card small{display:block;margin-top:4px;color:var(--muted);line-height:1.5}
.gift-section{background:linear-gradient(180deg,#fffdfa,#f8f0e3)}.gift-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:start}.gift-intro{display:grid;gap:18px}.gift-intro__panel,.gift-qr{padding:24px;border-radius:30px;background:#fff;box-shadow:var(--shadow);border:1px solid rgba(181,138,61,.14)}.gift-intro__panel h3{font-size:clamp(2rem,4vw,3rem);margin:6px 0 12px;color:var(--gold-dark)}.gift-intro__panel p:last-child{margin:0;color:var(--muted);line-height:1.8}.gift-qr{display:flex;align-items:center;gap:16px}.gift-qr img{width:112px;height:112px;padding:10px;border-radius:20px;background:#fff7ea;box-shadow:0 10px 18px rgba(90,66,31,.08)}.gift-qr strong{display:block;font-family:var(--serif);font-size:1.45rem;color:var(--gold-dark)}.gift-qr small{display:block;margin-top:4px;color:var(--muted);line-height:1.6}.gift-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gift-card{position:relative;padding:24px;border-radius:30px;background:linear-gradient(180deg,#71512e,#4d3721);color:#fff;box-shadow:0 20px 35px rgba(77,55,33,.2);overflow:hidden}.gift-card::before{content:'';position:absolute;right:-32px;top:-36px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.18),rgba(255,255,255,0))}.gift-card::after{content:'';position:absolute;left:-32px;bottom:-42px;width:160px;height:160px;background:radial-gradient(circle,rgba(248,221,154,.12),rgba(248,221,154,0));border-radius:50%}.gift-card>*{position:relative;z-index:1}.gift-card__top{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.gift-bank{display:inline-flex;align-items:center;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.14);font-size:.78rem;letter-spacing:.1em;text-transform:uppercase}.gift-chip{display:block;width:42px;height:30px;border-radius:8px;background:linear-gradient(135deg,#ffe9a8,#d0aa5c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}.gift-card h3{margin:0 0 14px;font-size:1.15rem;color:#fff7e9}.gift-number{margin:0 0 10px;font-family:var(--serif);font-size:2rem;line-height:1.1;letter-spacing:.02em}.gift-name{display:block;margin-bottom:6px;font-size:1rem}.gift-card small{display:block;min-height:42px;color:rgba(255,255,255,.78);line-height:1.55}.gift-copy{margin-top:16px;width:100%;background:#f2d28e!important;color:#523a22!important;border:none!important}.gift-copy:hover{background:#f7ddaa!important}
.prewedding-slider{max-width:1120px}.prewedding-stage{min-height:680px;border-radius:38px}.prewedding-slide{transform:scale(1.02)}.prewedding-slide.is-active{transform:scale(1)}.prewedding-slide__caption{left:34px;right:34px;bottom:34px;padding:20px 22px;border-radius:24px}.prewedding-thumbs{gap:14px}.prewedding-thumbs button{border-radius:20px}.prewedding-thumbs img{height:120px}.prewedding-controls{margin-top:24px}.slider-btn{width:56px;height:56px}
.hero__content,.cover__card,.person-card,.event-card,.gift-card,.rsvp-card,.wish,.map-frame,.location-qr-card,.gift-intro__panel,.gift-qr{backdrop-filter:blur(3px)}.cover-jawa,.hero-jawa{opacity:.92}.cover-jawa::before,.hero-jawa::before{background:repeating-linear-gradient(180deg,rgba(181,138,61,.2) 0 8px,rgba(255,255,255,.2) 8px 16px)}.hero-jawa--left,.hero-jawa--right{animation-duration:10s}
@media (max-width:1024px){.gift-grid{grid-template-columns:1fr}.gift-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.location-copy{position:static}.prewedding-stage{min-height:580px}}
@media (max-width:768px){.hero__content,.cover__card{width:min(100%,540px);margin-inline:auto}.location-grid{grid-template-columns:1fr;gap:20px}.location-copy{text-align:center}.location-copy p,.location-copy h2{max-width:none}.location-actions{justify-content:center}.location-qr-card{text-align:left}.gift-intro__panel,.gift-qr,.gift-card{border-radius:26px}.gift-cards{grid-template-columns:1fr 1fr}.prewedding-stage{min-height:500px}.prewedding-slide__caption{left:20px;right:20px;bottom:20px}.prewedding-slide__caption strong{font-size:1.5rem}}
@media (max-width:640px){.hero{padding-top:92px}.hero__content{padding:0 8px}.event-grid,.couple-grid,.gift-cards{grid-template-columns:1fr}.location-copy{text-align:left}.location-copy h2{font-size:clamp(2.9rem,15vw,4.4rem)}.location-actions .btn{min-width:0;width:100%}.location-qr-card{padding:12px 14px;border-radius:20px}.location-qr-card img{width:78px;height:78px}.location-qr-card strong{font-size:1.2rem}.map-frame{min-height:440px;padding:12px 12px 96px}.map-embed--leaflet{min-height:340px}.gift-section .section-heading p{max-width:32ch;margin-inline:auto}.gift-intro{gap:14px}.gift-intro__panel,.gift-qr,.gift-card{padding:18px;border-radius:22px}.gift-intro__panel h3{font-size:2rem}.gift-qr{align-items:flex-start}.gift-qr img{width:92px;height:92px;border-radius:18px}.gift-bank{font-size:.72rem}.gift-number{font-size:1.62rem}.gift-card small{min-height:0}.prewedding-stage{min-height:420px;border-radius:24px}.prewedding-slide__badge{width:42px;height:42px}.prewedding-slide__caption{left:12px;right:12px;bottom:12px;padding:12px 14px;border-radius:16px}.prewedding-slide__caption strong{font-size:1.16rem}.prewedding-slide__caption small{font-size:.78rem}.slider-btn{width:42px;height:42px;font-size:1.6rem}.prewedding-controls{gap:10px;margin-top:18px}.prewedding-dots button{width:9px;height:9px}.prewedding-dots button.is-active{width:26px}.prewedding-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.prewedding-thumbs img{height:56px;border-radius:12px}.floating-nav{width:min(96vw,380px);bottom:calc(12px + env(safe-area-inset-bottom));}.floating-nav a{padding:8px 6px;border-radius:16px}.music-control{bottom:calc(88px + env(safe-area-inset-bottom));width:min(94vw,360px)}}

/* Stage 8 — final layout audit + mobile alignment */
:root{--stage8-gap:clamp(18px,3vw,34px)}
html{scroll-padding-bottom:110px}
body{background:#fbf8f2}
main{overflow:clip}
.container{max-width:1180px}
.section{position:relative}
.hero__content{max-width:860px;margin-inline:auto}
.person-card,.event-card,.gift-card,.rsvp-form,.map-frame,.location-qr-card{will-change:transform}

.music-control{max-width:min(420px,calc(100vw - 32px))}
.music-copy{max-width:280px}
.music-copy strong{display:block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;letter-spacing:.045em}
.music-copy small{display:block;margin-top:2px}

.location-section{background:linear-gradient(180deg,#fffdf9 0%,#faf4ea 100%)}
.location-grid{gap:clamp(32px,5vw,66px)}
.location-copy{top:120px}
.location-copy>p{max-width:38rem;line-height:1.85}
.location-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:470px}
.location-actions .btn{width:100%;min-width:0;text-align:center}
.location-actions .btn--ghost{grid-column:1/-1}
.location-qr-card{max-width:470px}
.map-frame{height:auto;min-height:590px;padding:18px 18px 112px;border-radius:34px}
.map-title-card{max-width:min(52%,390px)}
.map-embed--leaflet{height:455px;min-height:455px}
.map-status{bottom:122px}

.prewedding-section{overflow:hidden}
.prewedding-section::before,.gift-section::before,.rsvp-section::before{content:'';position:absolute;inset:30px auto auto -80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(191,151,78,.08),transparent 70%);pointer-events:none}
.prewedding-section::after,.gift-section::after,.rsvp-section::after{content:'';position:absolute;right:-80px;bottom:40px;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(216,183,232,.08),transparent 72%);pointer-events:none}
.prewedding-slider{position:relative;z-index:1}
.prewedding-stage{aspect-ratio:16/9;min-height:0;height:auto}
.prewedding-slide img{object-position:center 34%}
.prewedding-slide__caption{max-width:520px;right:auto}
.prewedding-thumbs{max-width:760px;margin-inline:auto}

.gift-grid{gap:clamp(22px,4vw,46px)}
.gift-card{min-height:310px;display:flex;flex-direction:column}
.gift-copy{margin-top:auto}

.rsvp-grid{gap:clamp(28px,4vw,54px)}
.rsvp-copy{max-width:520px}
.rsvp-form{box-shadow:0 20px 50px rgba(87,63,36,.12)}
.wishes{align-items:stretch}
.wish{height:100%}

@media (max-width:1024px){
  .location-copy{position:static}
  .location-grid{grid-template-columns:1fr}
  .location-copy{max-width:760px;margin-inline:auto;text-align:center}
  .location-copy>p{margin-inline:auto}
  .location-actions{margin-inline:auto}
  .location-qr-card{margin-inline:auto;text-align:left}
  .map-frame{min-height:560px;max-width:880px;width:100%;margin-inline:auto}
  .map-embed--leaflet{height:430px;min-height:430px}
  .gift-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:768px){
  .container,.narrow{width:min(100% - 30px,1120px)}
  .section{padding:76px 0}
  .cover__card{max-width:520px;padding-inline:22px}
  .cover h1{font-size:clamp(3rem,12vw,4.4rem)}
  .hero{min-height:100svh;padding:98px 0 112px}
  .hero h2{font-size:clamp(4rem,15vw,5.6rem);line-height:.84}
  .hero__welcome{max-width:33rem;margin-inline:auto}
  .section-heading{margin-bottom:34px}
  .section-heading h2{font-size:clamp(2.7rem,10vw,4rem)}
  .couple-grid{gap:18px}
  .person-card{max-width:580px;width:100%;margin-inline:auto}
  .event-grid{max-width:620px;margin-inline:auto}
  .countdown{max-width:620px}
  .location-copy{text-align:center}
  .location-copy h2{font-size:clamp(3.1rem,12vw,4.4rem)}
  .location-actions{grid-template-columns:1fr 1fr;width:min(100%,520px)}
  .location-qr-card{width:min(100%,520px)}
  .map-frame{min-height:510px;padding:14px 14px 106px}
  .map-embed--leaflet{height:390px;min-height:390px}
  .map-title-card{left:26px;top:26px;max-width:min(68%,390px)}
  .prewedding-stage{aspect-ratio:4/5;max-height:650px}
  .prewedding-slide img{object-position:center 25%}
  .prewedding-slide__caption{max-width:calc(100% - 40px)}
  .gift-grid{max-width:700px;margin-inline:auto}
  .gift-cards{grid-template-columns:1fr 1fr}
  .rsvp-grid{max-width:700px;margin-inline:auto}
}

@media (max-width:640px){
  body{padding-bottom:0}
  .container,.narrow{width:min(100% - 24px,1120px)}
  .section{padding:66px 0}
  .cover{padding:12px;min-height:100svh}
  .cover__veil{inset:8px;border-radius:24px}
  .cover__card{width:100%;max-width:430px;padding:22px 16px 28px}
  .monogram{width:82px;height:82px}
  .cover .eyebrow{margin-top:10px}
  .cover h1{font-size:clamp(2.9rem,14vw,3.65rem);line-height:.9}
  .cover__date{font-size:.84rem;letter-spacing:.18em}
  .guest-box{width:min(100%,330px);padding:12px 14px;border-radius:16px}
  .cover__note{font-size:.66rem;line-height:1.5}
  .cover__music-hint{max-width:310px;font-size:.68rem;line-height:1.45}

  .hero{padding-top:82px;padding-bottom:106px}
  .hero__content{padding-inline:4px}
  .hero__intro{font-size:.93rem}
  .hero h2{font-size:clamp(3.45rem,17vw,4.65rem);line-height:.88;margin-block:12px}
  .hero__date{font-size:.8rem;letter-spacing:.08em}
  .hero__welcome{font-size:.88rem;line-height:1.78}

  .quote{font-size:1rem;line-height:1.9}
  .person-card{padding:26px 17px;border-radius:24px}
  .person-card h3{font-size:1.7rem}
  .event-card{padding:28px 18px;border-radius:24px}
  .event-card .btn{width:100%}
  .countdown{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  .countdown div{padding:14px 2px}
  .countdown strong{font-size:1.85rem}

  .location-grid{gap:22px}
  .location-copy{text-align:left}
  .location-copy .eyebrow{text-align:left}
  .location-copy h2{font-size:clamp(3rem,15vw,4rem);line-height:.92}
  .location-copy>p{font-size:.88rem;line-height:1.75}
  .location-actions{grid-template-columns:1fr;max-width:none;gap:9px}
  .location-actions .btn--ghost{grid-column:auto}
  .location-qr-card{max-width:none;margin-top:12px;padding:11px 12px;border-radius:19px}
  .location-qr-card img{width:70px;height:70px;padding:6px;border-radius:14px}
  .location-qr-card strong{font-size:1.18rem}
  .location-qr-card small{font-size:.76rem}

  .map-frame{min-height:470px;padding:10px 10px 102px;border-radius:24px}
  .map-title-card{position:relative;left:auto;right:auto;top:auto;max-width:none;margin:0 0 9px;padding:11px 12px;border-radius:15px}
  .map-title-card strong{font-size:1.15rem}
  .map-title-card small{font-size:.76rem;line-height:1.45}
  .map-pin-float{display:none}
  .map-embed--leaflet{height:300px;min-height:300px;border-radius:17px}
  .map-status{left:14px;right:14px;bottom:92px;font-size:.7rem;line-height:1.35}
  .map-meta{left:14px;right:14px;bottom:14px;padding:10px 11px;border-radius:15px;gap:8px}
  .map-meta small{font-size:.66rem}
  .map-badge{font-size:.78rem}
  .map-mini-btn{font-size:.72rem;padding:10px 12px}

  .prewedding-section .section-heading p:last-child{max-width:32ch;margin-inline:auto}
  .prewedding-stage{aspect-ratio:3/4;min-height:0;max-height:none;border-radius:23px}
  .prewedding-slide img{object-position:center 22%}
  .prewedding-slide__badge{left:12px;top:12px;width:38px;height:38px;font-size:.78rem}
  .prewedding-slide__caption{left:10px;right:10px;bottom:10px;max-width:none;padding:11px 12px;border-radius:14px}
  .prewedding-slide__caption strong{font-size:1.12rem}
  .prewedding-slide__caption small{font-size:.73rem;line-height:1.4}
  .prewedding-controls{margin-top:14px;gap:8px}
  .slider-btn{width:38px;height:38px;font-size:1.5rem}
  .prewedding-dots{gap:7px}
  .prewedding-thumbs{gap:5px;margin-top:12px}
  .prewedding-thumbs button{border-radius:11px}
  .prewedding-thumbs img{height:54px}

  .gift-section .section-heading{margin-bottom:28px}
  .gift-grid{gap:14px}
  .gift-intro__panel,.gift-qr,.gift-card{padding:17px;border-radius:21px}
  .gift-intro__panel h3{font-size:1.85rem}
  .gift-intro__panel p:last-child{font-size:.84rem;line-height:1.7}
  .gift-qr img{width:82px;height:82px}
  .gift-qr strong{font-size:1.15rem}
  .gift-qr small{font-size:.74rem}
  .gift-cards{grid-template-columns:1fr}
  .gift-card{min-height:0}
  .gift-number{font-size:1.6rem;word-break:break-word}

  .rsvp-copy{text-align:center}
  .rsvp-form{padding:17px 14px;border-radius:21px}
  .rsvp-form input,.rsvp-form select,.rsvp-form textarea{font-size:16px}
  .wishes{grid-template-columns:1fr}
  .closing-section{padding-bottom:136px}

  .floating-nav{left:8px;right:8px;width:auto;bottom:calc(7px + env(safe-area-inset-bottom));padding:6px 5px;border-radius:20px;gap:2px}
  .floating-nav a{min-width:0;max-width:none;height:50px;padding:6px 2px;border-radius:14px}
  .floating-nav .nav-icon{font-size:1rem}
  .floating-nav small{font-size:.47rem}
  .music-control{left:auto;right:12px;transform:none;bottom:calc(69px + env(safe-area-inset-bottom));width:auto;max-width:calc(100vw - 24px)}
  .music-button{width:48px;height:48px;padding:4px;border-radius:50%;display:grid;place-items:center}
  .music-disc{width:39px;height:39px}
  .music-copy{display:none}
}

@media (max-width:380px){
  .section{padding:58px 0}
  .cover h1{font-size:2.8rem}
  .hero h2{font-size:3.35rem}
  .countdown strong{font-size:1.55rem}
  .map-frame{min-height:450px}
  .map-embed--leaflet{height:285px;min-height:285px}
  .prewedding-stage{aspect-ratio:3/4}
  .prewedding-thumbs img{height:48px}
  .floating-nav small{font-size:.43rem}
}


/* Stage 9 — photo-first cover, one-screen opening, and mobile viewport lock */
html{scrollbar-gutter:stable}
body.locked{height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:none;touch-action:none}
.cover{height:100dvh;min-height:100dvh;max-height:100dvh;padding:clamp(10px,2vw,24px);overflow:hidden;place-items:center}
.cover__veil{inset:clamp(8px,1.4vw,20px)}
.cover__card{width:min(1080px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(390px,.94fr);border-radius:34px;overflow:hidden;background:rgba(255,253,249,.9);border:1px solid rgba(181,138,61,.22);box-shadow:0 28px 80px rgba(74,51,27,.18);backdrop-filter:blur(9px)}
.cover__photo{position:relative;min-width:0;min-height:0;overflow:hidden;background:#eee5d8}
.cover__photo>img:first-child{width:100%;height:100%;display:block;object-fit:cover;object-position:center 28%}
.cover__photo-gradient{position:absolute;inset:auto 0 0;height:40%;background:linear-gradient(180deg,transparent,rgba(62,42,22,.3));pointer-events:none}
.cover__monogram{position:absolute;left:22px;top:22px;width:78px;height:78px;padding:8px;border-radius:50%;background:rgba(255,253,249,.88);border:1px solid rgba(181,138,61,.28);filter:drop-shadow(0 8px 18px rgba(63,42,19,.16));backdrop-filter:blur(8px)}
.cover__content{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:clamp(24px,4vw,50px);overflow:hidden}
.cover__content .eyebrow{margin:0 0 8px}
.cover__content h1{font-size:clamp(3.3rem,5.8vw,5.2rem);margin:4px 0 8px}
.cover__content .cover__date{margin:8px 0 10px}
.cover__content .guest-box{width:min(100%,390px);margin:13px auto 16px;padding:13px 18px}
.cover__content .btn{min-width:210px}
.cover__content .cover__note{margin:9px 0 0}
.cover__content .cover__music-hint{margin:6px 0 0;max-width:360px;font-size:.68rem;line-height:1.45;color:var(--muted)}

.hero{height:100dvh;min-height:680px;max-height:1000px;display:grid;grid-template-columns:minmax(300px,460px) minmax(0,680px);align-items:center;justify-content:center;gap:clamp(36px,6vw,82px);padding:60px clamp(28px,5vw,84px) 78px;text-align:left}
.hero__photo{position:relative;z-index:2;width:100%;height:min(72dvh,700px);margin:0;border-radius:34px;overflow:hidden;box-shadow:0 26px 70px rgba(69,48,27,.18);border:1px solid rgba(181,138,61,.24);background:#eee5d8}
.hero__photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center 24%}
.hero__photo::after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);border-radius:inherit;pointer-events:none}
.hero__photo figcaption{position:absolute;left:18px;bottom:18px;padding:8px 13px;border-radius:999px;background:rgba(255,253,249,.9);color:var(--gold-dark);font:600 .66rem/1 var(--sans);letter-spacing:.16em;backdrop-filter:blur(8px)}
.hero__content{width:100%;text-align:left}
.hero__content .eyebrow{margin-top:0}
.hero h2{font-size:clamp(4.6rem,8vw,7rem);margin:12px 0}
.hero__welcome{margin:0;max-width:610px}
.hero .divider{margin-left:0;margin-right:0}
.hero__motif{right:7%;width:min(650px,58vw);opacity:.62}
.hero .scroll-cue{left:50%;transform:translateX(-50%)}

@media (max-width:860px){
  .cover__card{grid-template-columns:minmax(0,.92fr) minmax(350px,1.08fr)}
  .hero{gap:28px;padding-inline:24px;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr)}
  .hero__photo{height:min(67dvh,620px)}
}

@media (max-width:640px){
  html{scrollbar-gutter:auto}
  .cover{padding:5px}
  .cover__veil{inset:5px;border-radius:22px}
  .cover__card{width:calc(100vw - 10px);height:calc(100dvh - 10px);max-height:calc(100dvh - 10px);grid-template-columns:1fr;grid-template-rows:minmax(180px,38dvh) minmax(0,1fr);border-radius:22px}
  .cover__photo{order:0}
  .cover__photo>img:first-child{object-position:center 25%}
  .cover__monogram{left:12px;top:12px;width:54px;height:54px;padding:6px}
  .cover__content{order:1;justify-content:center;padding:12px 15px 14px}
  .cover__content .eyebrow{font-size:.6rem;margin-bottom:4px}
  .cover__content h1{font-size:clamp(2.75rem,13.5vw,3.55rem);line-height:.86;margin:2px 0 5px}
  .cover__content .cover__date{font-size:.78rem;letter-spacing:.16em;margin:5px 0 6px}
  .cover__content .guest-box{margin:6px auto 9px;padding:7px 10px;gap:0;border-radius:14px}
  .cover__content .guest-box small{font-size:.58rem;line-height:1.35}
  .cover__content .guest-box strong{font-size:1.18rem;line-height:1.25}
  .cover__content .btn{min-height:43px;min-width:190px;padding:9px 18px;font-size:.72rem}
  .cover__content .cover__note{margin-top:5px;font-size:.55rem;line-height:1.35}
  .cover__content .cover__music-hint{margin-top:3px;max-width:290px;font-size:.55rem;line-height:1.32;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

  .hero{height:100dvh;min-height:0;max-height:none;grid-template-columns:1fr;grid-template-rows:minmax(180px,40dvh) minmax(0,1fr);gap:8px;padding:8px 12px 74px;text-align:center}
  .hero__photo{height:100%;min-height:0;border-radius:22px}
  .hero__photo img{object-position:center 25%}
  .hero__photo figcaption{left:12px;bottom:12px;padding:7px 10px;font-size:.58rem}
  .hero__content{align-self:center;text-align:center;padding:0 4px}
  .hero__content .eyebrow{font-size:.58rem;margin:0 0 2px}
  .hero__intro{font-size:.76rem;line-height:1.45;margin:4px 0}
  .hero h2{font-size:clamp(2.85rem,14.5vw,3.8rem);line-height:.84;margin:6px 0}
  .hero__date{font-size:.64rem;letter-spacing:.07em;margin:4px 0}
  .hero .divider{width:min(210px,70%);margin:7px auto}
  .hero__welcome{font-size:.7rem;line-height:1.5;max-width:38ch;margin-inline:auto}
  .hero__motif{width:75vw;right:-12%;top:43%;opacity:.35}
  .hero .scroll-cue{bottom:16px;width:24px;height:38px}
}

@media (max-width:640px) and (max-height:700px){
  .cover__card{grid-template-rows:minmax(150px,31dvh) minmax(0,1fr)}
  .cover__content{padding:8px 14px 10px}
  .cover__content h1{font-size:clamp(2.45rem,12.5vw,3rem)}
  .cover__content .guest-box{margin:4px auto 7px;padding:5px 9px}
  .cover__content .cover__note{display:none}
  .cover__content .cover__music-hint{font-size:.5rem}
  .hero{grid-template-rows:minmax(155px,34dvh) minmax(0,1fr);padding-bottom:64px}
  .hero__welcome{font-size:.64rem;line-height:1.42}
  .hero__intro{font-size:.7rem}
  .hero h2{font-size:clamp(2.55rem,13vw,3.2rem)}
}

@media (max-width:380px){
  .cover__card{grid-template-rows:minmax(145px,34dvh) minmax(0,1fr)}
  .cover__content h1{font-size:2.55rem}
  .cover__content .cover__music-hint{max-width:245px}
  .hero h2{font-size:2.72rem}
}

/* =========================================================
   TAHAP 10 — WAYANG COVER + FOTO IDENTITAS + AUTO SLIDE
   ========================================================= */
.cover--wayang{
  padding:10px;
  background:
    radial-gradient(circle at 50% 18%,rgba(255,247,229,.18),transparent 38%),
    linear-gradient(145deg,#4b3421,#24170f);
}
.cover--wayang::before{opacity:.12}
.cover--wayang .cover__veil{
  inset:8px;
  border:1px solid rgba(231,205,161,.28);
  border-radius:24px;
}
.wayang-cover{
  position:relative;
  z-index:3;
  width:min(1090px,calc(100vw - 28px));
  max-height:calc(100dvh - 22px);
  display:grid;
  grid-template-rows:minmax(0,1fr) auto auto auto;
  overflow:hidden;
  border-radius:22px;
  background:#cfa777;
  box-shadow:0 28px 85px rgba(0,0,0,.32);
  border:1px solid rgba(36,23,15,.28);
}
.wayang-cover__art{
  min-height:0;
  background:#cfa777;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.wayang-cover__art img{
  display:block;
  width:100%;
  height:100%;
  max-height:calc(100dvh - 176px);
  object-fit:contain;
  object-position:center;
}
.wayang-cover__guest{
  width:min(520px,calc(100% - 30px));
  margin:8px auto 4px;
  padding:8px 14px;
  display:flex;
  flex-direction:column;
  gap:0;
  text-align:center;
  border-top:1px solid rgba(27,18,12,.28);
  border-bottom:1px solid rgba(27,18,12,.28);
  color:#17110d;
}
.wayang-cover__guest small{
  font-size:.62rem;
  line-height:1.35;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.wayang-cover__guest strong{
  font-family:var(--serif);
  font-size:clamp(1.1rem,2.4vw,1.55rem);
  line-height:1.2;
  color:#111;
}
.wayang-cover__button{
  justify-self:center;
  min-width:220px;
  min-height:44px;
  margin:5px auto 2px;
  color:#f7ead8;
  background:linear-gradient(135deg,#1a120d,#39271a);
  border:1px solid rgba(255,239,210,.28);
  box-shadow:0 10px 24px rgba(27,18,12,.22);
}
.wayang-cover__button:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(27,18,12,.28)}
.wayang-cover__music{
  margin:4px 12px 8px;
  text-align:center;
  font-size:.56rem;
  line-height:1.25;
  color:rgba(25,17,12,.72);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* Foto identitas asli mempelai */
.person-card--photo{padding-top:18px;overflow:hidden}
.person-card__portrait{
  position:relative;
  width:100%;
  aspect-ratio:4/5;
  margin:0 auto 18px;
  overflow:hidden;
  border-radius:24px 24px 48% 48% / 24px 24px 18% 18%;
  background:#e8dfd1;
  border:1px solid rgba(181,138,61,.22);
  box-shadow:0 16px 38px rgba(78,53,27,.15);
}
.person-card__portrait::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 68%,rgba(31,21,13,.28));
}
.person-card__portrait img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 18%;
}
.person-card__portrait figcaption{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  padding:5px 14px;
  border-radius:999px;
  background:rgba(255,253,249,.9);
  color:var(--gold-dark);
  font:600 .66rem/1 var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
}

/* Galeri Tahap 10: benar-benar bergerak horizontal otomatis */
.prewedding-stage{
  height:680px;
  min-height:0;
  overflow:hidden;
}
.prewedding-track{
  display:flex;
  width:100%;
  height:100%;
  will-change:transform;
  transform:translate3d(0,0,0);
  transition:transform .82s cubic-bezier(.22,.72,.18,1);
}
.prewedding-slide,
.prewedding-slide.is-active{
  position:relative;
  inset:auto;
  flex:0 0 100%;
  width:100%;
  height:100%;
  opacity:1;
  pointer-events:auto;
  transform:none;
  transition:none;
}
.prewedding-slide img{height:100%;object-fit:cover}
.prewedding-slider.is-auto-moving .prewedding-dots button.is-active{
  animation:stage10Dot 4.2s linear forwards;
}
@keyframes stage10Dot{from{box-shadow:inset 0 0 0 0 rgba(255,255,255,.25)}to{box-shadow:inset 34px 0 0 rgba(255,255,255,.28)}}

@media (max-width:900px){
  .person-card__portrait{max-height:610px}
  .prewedding-stage{height:560px}
}

@media (max-width:640px){
  .cover--wayang{padding:5px}
  .cover--wayang .cover__veil{inset:4px;border-radius:18px}
  .wayang-cover{
    width:calc(100vw - 10px);
    max-height:calc(100dvh - 10px);
    border-radius:17px;
  }
  .wayang-cover__art img{max-height:calc(100dvh - 160px)}
  .wayang-cover__guest{margin-top:4px;padding:6px 10px;width:calc(100% - 24px)}
  .wayang-cover__guest small{font-size:.52rem}
  .wayang-cover__guest strong{font-size:1.05rem}
  .wayang-cover__button{min-width:190px;min-height:40px;margin-top:3px;padding:8px 16px;font-size:.69rem}
  .wayang-cover__music{font-size:.47rem;margin-bottom:6px}

  .person-card--photo{padding:12px 14px 24px}
  .person-card__portrait{aspect-ratio:3/4;border-radius:20px 20px 42% 42% / 20px 20px 16% 16%;margin-bottom:14px}
  .person-card__portrait img{object-position:center 15%}
  .person-card__portrait figcaption{bottom:9px;font-size:.58rem;padding:5px 12px}

  .prewedding-stage{height:430px;min-height:0;border-radius:24px}
}

@media (max-width:390px){
  .wayang-cover__art img{max-height:calc(100dvh - 150px)}
  .wayang-cover__guest{padding-block:4px}
  .wayang-cover__guest small{font-size:.48rem}
  .wayang-cover__guest strong{font-size:.96rem}
  .wayang-cover__button{min-height:38px;min-width:178px;font-size:.65rem}
  .wayang-cover__music{font-size:.43rem}
  .prewedding-stage{height:400px}
}
/* Cover sizing guard: preserve the exact landscape wayang artwork without cropping. */
.wayang-cover{grid-template-rows:auto auto auto auto}
.wayang-cover__art img{height:auto}


/* Tahap 11 — hero tanpa foto utama + rekening BNI final */
.hero{
  grid-template-columns:minmax(0,920px);
  justify-items:center;
  text-align:center;
  padding-left:clamp(22px,5vw,72px);
  padding-right:clamp(22px,5vw,72px);
}
.hero__content{
  width:min(100%,920px);
  margin-inline:auto;
  text-align:center;
  position:relative;
  z-index:3;
  padding:clamp(28px,4vw,54px) clamp(18px,4vw,58px);
  border-radius:42px;
  background:rgba(255,252,246,.56);
  border:1px solid rgba(181,138,61,.14);
  box-shadow:0 22px 70px rgba(86,58,29,.08);
  backdrop-filter:blur(5px);
}
.hero__content .eyebrow{margin-inline:auto}
.hero .divider{margin-left:auto;margin-right:auto}
.hero__welcome{margin-inline:auto;max-width:660px}
.hero__motif{left:50%;right:auto;transform:translateX(-50%);width:min(760px,78vw);opacity:.48}
.hero-jawa--left{left:2.5%}
.hero-jawa--right{right:2.5%}

@media (max-width:768px){
  .hero{
    display:flex;
    min-height:100dvh;
    height:auto;
    align-items:center;
    justify-content:center;
    padding:88px 14px 94px;
  }
  .hero__content{
    width:100%;
    padding:28px 15px;
    border-radius:28px;
  }
  .hero h2{font-size:clamp(3.25rem,16vw,4.65rem);line-height:.88}
  .hero__welcome{font-size:.82rem;line-height:1.65}
  .hero__intro{font-size:.86rem}
  .hero__date{font-size:.72rem}
  .hero__motif{top:50%;width:92vw;opacity:.32}
}

@media (max-width:390px){
  .hero{padding:78px 10px 86px}
  .hero__content{padding:24px 12px;border-radius:24px}
  .hero h2{font-size:clamp(2.9rem,15vw,3.6rem)}
}

/* Tahap 12 — hashtag persis, intro benar-benar di tengah, auto-scroll lembut */
.hero__content .eyebrow{
  text-transform:none;
  text-align:center;
  width:100%;
}
.hero__intro{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  text-align:center !important;
}

/* =========================================================
   REVISI 23-08-2026 — OPENING COVER + LOVE STORY + MOBILE &
   ========================================================= */

/* Pembuka undangan: gaya ivory-gold vertikal seperti referensi, tanpa mengubah isi utama. */
.cover--wayang{
  padding:clamp(8px,2vw,18px);
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.96),rgba(250,245,236,.93) 42%,rgba(238,226,207,.96) 100%),
    #f6efe5;
}
.cover--wayang::before{
  opacity:.24;
  background-image:
    radial-gradient(circle at 14% 18%,transparent 0 26px,rgba(184,145,90,.08) 27px 29px,transparent 30px),
    radial-gradient(circle at 86% 82%,transparent 0 34px,rgba(184,145,90,.08) 35px 37px,transparent 38px);
  background-size:150px 150px,190px 190px;
  animation:openingPattern 14s linear infinite alternate;
}
.cover--wayang .cover__veil{
  inset:clamp(10px,2.6vw,30px);
  border-radius:clamp(22px,3vw,34px);
  border:1px solid rgba(164,122,67,.5);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.64),0 24px 70px rgba(83,56,27,.08);
}
.opening-cover{
  position:relative;
  z-index:3;
  width:min(520px,calc(100vw - 34px));
  max-height:calc(100dvh - 26px);
  min-height:min(760px,calc(100dvh - 26px));
  padding:clamp(22px,4.5vh,46px) clamp(18px,5vw,44px) clamp(16px,3vh,28px);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid rgba(181,138,61,.46);
  border-radius:30px;
  background:
    radial-gradient(circle at 50% 30%,rgba(255,255,255,.88),rgba(255,252,246,.72) 48%,rgba(247,239,227,.86) 100%),
    linear-gradient(180deg,#fffdfa,#f7eee2);
  box-shadow:0 34px 90px rgba(73,49,27,.18);
  isolation:isolate;
}
.opening-cover::before,
.opening-cover::after{
  content:"";
  position:absolute;
  width:230px;
  height:110px;
  border:1px solid rgba(181,138,61,.12);
  border-radius:50%;
  filter:blur(.1px);
  pointer-events:none;
  z-index:-1;
}
.opening-cover::before{left:-118px;top:74px;transform:rotate(12deg)}
.opening-cover::after{right:-118px;bottom:72px;transform:rotate(-12deg)}
.opening-cover__ornament,
.opening-cover__divider{
  width:min(300px,78%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#b78d55;
  flex:0 0 auto;
}
.opening-cover__ornament i,
.opening-cover__divider i{
  height:1px;
  flex:1;
  background:linear-gradient(90deg,transparent,rgba(181,138,61,.62));
}
.opening-cover__ornament i:last-child,
.opening-cover__divider i:last-child{background:linear-gradient(90deg,rgba(181,138,61,.62),transparent)}
.opening-cover__ornament b,.opening-cover__divider b{font-size:.72rem;font-weight:400;line-height:1}
.opening-cover__wayang{
  position:relative;
  flex:0 1 auto;
  width:min(270px,62vw);
  height:min(300px,33dvh);
  min-height:190px;
  margin:14px auto 6px;
  display:grid;
  place-items:center;
}
.opening-cover__wayang img{
  position:relative;
  z-index:2;
  width:auto;
  max-width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  filter:sepia(.1) saturate(.92) contrast(.95) drop-shadow(0 12px 18px rgba(133,94,48,.10));
  mix-blend-mode:multiply;
  animation:openingWayangFloat 5.8s ease-in-out infinite;
}
.opening-cover__halo{
  position:absolute;
  width:88%;
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(218,184,132,.18),rgba(218,184,132,.04) 52%,transparent 68%);
  animation:openingHalo 4.8s ease-in-out infinite;
}
.opening-cover__names{
  width:100%;
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:clamp(10px,3vw,22px);
  margin:0;
  color:#573d27;
  font-family:var(--serif);
  font-size:clamp(3rem,8vw,4.45rem);
  font-weight:500;
  line-height:.9;
  letter-spacing:.01em;
  white-space:nowrap;
  flex:0 0 auto;
}
.opening-cover__names em{
  font-family:var(--script);
  font-style:normal;
  font-size:.78em;
  font-weight:400;
  color:#c49a5f;
  transform:translateY(2px);
}
.opening-cover__divider{margin:clamp(15px,2.3vh,22px) auto clamp(12px,1.8vh,18px)}
.opening-cover__label{
  margin:0;
  font-family:var(--serif);
  font-size:clamp(.92rem,2.8vw,1.05rem);
  letter-spacing:.24em;
  color:#6d4d31;
  text-transform:uppercase;
  line-height:1.25;
}
.opening-cover__guest{
  width:min(390px,94%);
  margin:7px auto 5px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
  text-align:center;
}
.opening-cover__guest small{
  font-size:.61rem;
  letter-spacing:.04em;
  color:#8a7866;
}
.opening-cover__guest strong{
  max-width:100%;
  font-family:var(--serif);
  font-size:clamp(1.08rem,4.4vw,1.42rem);
  color:#654529;
  line-height:1.18;
  overflow-wrap:anywhere;
}
.opening-cover__button{
  min-width:220px;
  min-height:44px;
  margin:8px auto 0;
  color:#fff8ec;
  background:linear-gradient(135deg,#6f4c2c,#9a7040 58%,#6b482a);
  border:1px solid rgba(255,246,226,.42);
  box-shadow:0 12px 26px rgba(77,49,24,.20),inset 0 1px 0 rgba(255,255,255,.18);
  animation:openingButtonGlow 3.2s ease-in-out infinite;
}
.opening-cover__button:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(77,49,24,.28)}
.opening-cover__music{
  margin:7px 0 0;
  max-width:92%;
  text-align:center;
  color:#9a846c;
  font-size:.5rem;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.opening-cover__spark{
  position:absolute;
  z-index:5;
  color:rgba(191,148,88,.76);
  font-size:.8rem;
  pointer-events:none;
  animation:openingSpark 3.8s ease-in-out infinite;
}
.opening-cover__spark--one{left:13%;top:18%;animation-delay:-1.3s}
.opening-cover__spark--two{right:12%;top:35%;font-size:.68rem;animation-delay:-2.4s}
.opening-cover__spark--three{right:18%;bottom:18%;font-size:.58rem;animation-delay:-.6s}

@keyframes openingWayangFloat{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-7px) scale(1.012)}}
@keyframes openingHalo{0%,100%{transform:scale(.94);opacity:.54}50%{transform:scale(1.06);opacity:.92}}
@keyframes openingSpark{0%,100%{transform:translateY(0) scale(.82) rotate(0);opacity:.34}50%{transform:translateY(-8px) scale(1.16) rotate(16deg);opacity:1}}
@keyframes openingButtonGlow{0%,100%{box-shadow:0 12px 26px rgba(77,49,24,.20),0 0 0 0 rgba(181,138,61,.18)}50%{box-shadow:0 14px 30px rgba(77,49,24,.26),0 0 0 8px rgba(181,138,61,0)}}
@keyframes openingPattern{from{transform:translate3d(-4px,-3px,0)}to{transform:translate3d(4px,3px,0)}}

/* Caption empat foto diubah menjadi Love Story dan dibuat nyaman dibaca untuk teks panjang. */
.prewedding-slide__caption{
  max-width:min(700px,calc(100% - 44px));
  padding:16px 18px;
  background:linear-gradient(135deg,rgba(39,29,22,.76),rgba(86,63,45,.66));
  border:1px solid rgba(255,242,218,.18);
  backdrop-filter:blur(12px);
}
.prewedding-slide__caption strong{
  display:block;
  margin-bottom:4px;
  font-family:var(--serif);
  font-size:1.48rem;
  letter-spacing:.08em;
  color:#fff9ee;
}
.prewedding-slide__caption small{
  display:block;
  max-width:62ch;
  font-size:.82rem;
  line-height:1.6;
  color:rgba(255,249,238,.92);
}

/* Ampersand mempelai selalu benar-benar di tengah, khususnya saat layout menjadi 1 kolom di HP. */
.couple-and{
  display:grid;
  place-items:center;
  justify-self:stretch;
  align-self:center;
  width:100%;
  text-align:center;
  margin-inline:auto;
}

@media (max-width:900px){
  .couple-and{justify-self:stretch;width:100%;text-align:center;margin:2px auto 4px}
}

@media (max-width:640px){
  .cover--wayang{padding:6px;place-items:center;overflow:hidden}
  .cover--wayang .cover__veil{inset:7px;border-radius:22px}
  .opening-cover{
    width:calc(100vw - 16px);
    min-height:calc(100dvh - 16px);
    max-height:calc(100dvh - 16px);
    padding:clamp(16px,2.8vh,24px) 14px clamp(12px,2.2vh,18px);
    border-radius:22px;
  }
  .opening-cover__ornament{width:68%}
  .opening-cover__wayang{
    width:min(220px,58vw);
    height:min(250px,31dvh);
    min-height:150px;
    margin:9px auto 2px;
  }
  .opening-cover__names{font-size:clamp(2.62rem,13vw,3.75rem);gap:10px}
  .opening-cover__divider{margin:12px auto 9px;width:66%}
  .opening-cover__label{font-size:.78rem;letter-spacing:.2em}
  .opening-cover__guest{margin:5px auto 3px}
  .opening-cover__guest small{font-size:.53rem}
  .opening-cover__guest strong{font-size:clamp(1rem,5vw,1.24rem)}
  .opening-cover__button{width:min(250px,88%);min-width:0;min-height:42px;margin-top:6px;font-size:.7rem}
  .opening-cover__music{font-size:.44rem;margin-top:5px}
  .opening-cover__spark--one{left:10%;top:15%}
  .opening-cover__spark--two{right:9%;top:32%}
  .opening-cover__spark--three{right:14%;bottom:16%}

  .prewedding-slide__caption{
    left:10px;
    right:10px;
    bottom:10px;
    max-width:none;
    padding:12px 13px;
  }
  .prewedding-slide__caption strong{font-size:1.08rem;letter-spacing:.07em;margin-bottom:3px}
  .prewedding-slide__caption small{font-size:.72rem;line-height:1.48}
  .couple-and{font-size:3.15rem;margin:0 auto 6px;line-height:1}
}

@media (max-width:390px){
  .opening-cover{padding-top:14px;padding-bottom:10px}
  .opening-cover__wayang{height:min(218px,28dvh);min-height:138px}
  .opening-cover__names{font-size:clamp(2.45rem,12.6vw,3.2rem)}
  .opening-cover__divider{margin:9px auto 7px}
  .opening-cover__guest small{font-size:.49rem}
  .opening-cover__button{min-height:39px;margin-top:4px}
  .opening-cover__music{font-size:.41rem;margin-top:4px}
}

@media (prefers-reduced-motion:reduce){
  .opening-cover__wayang img,.opening-cover__halo,.opening-cover__spark,.opening-cover__button,.cover--wayang::before{animation:none!important}
}


/* Stage 13 — refined mobile cover + more natural copy + premium polish */
.cover--wayang{
  position:relative;
  display:grid;
  place-items:center;
  min-height:100dvh;
  padding:18px;
  background:linear-gradient(180deg,#f4efe6 0%,#fbf8f2 46%,#f4ede3 100%);
}
.cover--wayang::after{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(181,138,61,.22);
  border-radius:34px;
  pointer-events:none;
}
.cover--wayang .cover__veil{
  inset:14px;
  border-radius:32px;
  background:radial-gradient(circle at 50% 0%,rgba(255,255,255,.9),rgba(255,255,255,0) 48%),linear-gradient(180deg,rgba(255,255,255,.58),rgba(255,255,255,.12));
}
.opening-cover{
  width:min(100%,560px);
  min-height:min(860px,calc(100dvh - 40px));
  max-height:none;
  padding:34px 30px 28px;
  gap:0;
  border-radius:34px;
  border:1px solid rgba(181,138,61,.36);
  background:
    radial-gradient(circle at 50% 18%,rgba(255,255,255,.98),rgba(255,252,247,.94) 40%,rgba(247,239,227,.98) 100%),
    linear-gradient(180deg,#fffdfa,#f7eee2);
  box-shadow:0 26px 60px rgba(88,63,34,.12), inset 0 0 0 1px rgba(255,255,255,.55);
}
.opening-cover::before,.opening-cover::after{opacity:.8}
.opening-cover__ornament,.opening-cover__divider{width:min(320px,82%)}
.opening-cover__wayang{
  width:min(248px,56vw);
  height:auto;
  min-height:0;
  margin:16px auto 16px;
}
.opening-cover__wayang img{
  width:min(248px,56vw);
  height:auto;
  max-height:290px;
  display:block;
  object-fit:contain;
  object-position:center;
  filter:sepia(.06) saturate(.94) contrast(.98) drop-shadow(0 12px 18px rgba(133,94,48,.08));
}
.opening-cover__halo{width:100%;opacity:.9}
.opening-cover__names{
  margin-top:0;
  font-size:clamp(3.15rem,8vw,4.55rem);
  line-height:.96;
  gap:12px;
  text-shadow:0 1px 0 rgba(255,255,255,.65);
}
.opening-cover__names em{transform:translateY(1px)}
.opening-cover__divider{margin:18px auto 14px}
.opening-cover__label{font-size:clamp(.96rem,2.4vw,1.06rem);letter-spacing:.22em}
.opening-cover__guest{margin:10px auto 6px;gap:5px}
.opening-cover__guest small{font-size:.73rem;letter-spacing:.03em;color:#8d7863}
.opening-cover__guest strong{font-size:clamp(1.18rem,3.1vw,1.48rem);line-height:1.22}
.opening-cover__button{
  width:min(100%,350px);
  min-width:0;
  min-height:56px;
  margin:14px auto 0;
  font-size:.98rem;
  letter-spacing:.03em;
  border:1px solid rgba(255,246,226,.58);
  box-shadow:0 15px 32px rgba(77,49,24,.18), inset 0 1px 0 rgba(255,255,255,.28);
}
.opening-cover__music{
  margin-top:14px;
  font-size:.73rem;
  line-height:1.5;
  white-space:normal;
  text-wrap:balance;
}
.opening-cover__spark--one{left:12%;top:15%}
.opening-cover__spark--two{right:11%;top:34%}
.opening-cover__spark--three{right:16%;bottom:17%}

.couple-and{
  display:grid;
  place-items:center;
  justify-self:center;
  align-self:center;
  width:72px;
  height:72px;
  margin-inline:auto;
  border-radius:50%;
  border:1px solid rgba(181,138,61,.2);
  background:radial-gradient(circle at 30% 30%,rgba(255,255,255,.96),rgba(245,234,215,.96));
  box-shadow:0 12px 24px rgba(104,78,48,.08);
  font:400 3.35rem/1 var(--script);
  color:var(--gold);
}

.gift-intro__panel{
  text-align:center;
  background:linear-gradient(180deg,#fffefb,#fff7ec);
}
.gift-intro__panel .script{margin-top:0;color:#9a6e2a}
.gift-intro__panel h3{line-height:1.08;text-wrap:balance}
.gift-intro__panel p:last-child{max-width:30ch;margin:0 auto;line-height:1.85}
.gift-qr{background:linear-gradient(180deg,#fffefc,#fff7ee)}
.section-heading p,.hero__welcome,.closing-section p,.gift-intro__panel p:last-child,.gift-qr small,.wish p,.location-copy>p{
  text-wrap:pretty;
}
footer small{font-size:.82rem;color:#8a7866}

@media (max-width:640px){
  .cover--wayang{padding:14px}
  .cover--wayang::after{inset:14px;border-radius:28px}
  .cover--wayang .cover__veil{inset:10px;border-radius:26px}
  .opening-cover{
    width:min(100%,520px);
    min-height:calc(100dvh - 28px);
    padding:28px 18px 24px;
    border-radius:28px;
    justify-content:center;
  }
  .opening-cover__ornament,.opening-cover__divider{width:min(250px,80%)}
  .opening-cover__wayang{width:min(198px,54vw);margin:14px auto 12px}
  .opening-cover__wayang img{width:min(198px,54vw);max-height:220px}
  .opening-cover__names{font-size:clamp(2.65rem,11.5vw,3.75rem);gap:8px}
  .opening-cover__label{font-size:.86rem;letter-spacing:.18em}
  .opening-cover__guest{margin-top:8px;gap:3px}
  .opening-cover__guest small{font-size:.68rem}
  .opening-cover__guest strong{font-size:clamp(1.06rem,4.8vw,1.28rem)}
  .opening-cover__button{width:min(100%,320px);min-height:50px;margin-top:12px;font-size:.92rem}
  .opening-cover__music{font-size:.66rem;margin-top:12px}
  .couple-and{width:60px;height:60px;font-size:2.8rem;margin:4px auto 6px}
  .gift-intro__panel h3{font-size:clamp(1.6rem,8vw,2.1rem)}
}

@media (max-width:390px){
  .opening-cover{padding:24px 16px 20px;min-height:calc(100dvh - 24px)}
  .opening-cover__wayang{width:min(180px,52vw)}
  .opening-cover__wayang img{width:min(180px,52vw);max-height:204px}
  .opening-cover__names{font-size:clamp(2.4rem,11.8vw,3.3rem)}
  .opening-cover__guest small{font-size:.64rem}
  .opening-cover__button{min-height:48px;font-size:.88rem}
}

/* Stage 14 — optical centering audit: desktop + mobile */
.cover--wayang{
  min-height:100svh;
  height:100dvh;
  width:100%;
  padding:clamp(10px,2vh,18px);
  place-items:center;
  overflow:hidden;
}
.cover--wayang::after{inset:clamp(10px,2vh,20px)}
.cover--wayang .cover__veil{inset:clamp(7px,1.5vh,14px)}
.opening-cover{
  box-sizing:border-box;
  width:min(94vw,660px);
  height:min(94dvh,820px);
  min-height:0;
  max-height:94dvh;
  margin:auto;
  padding:clamp(16px,2.3vh,26px) clamp(18px,3vw,34px);
  justify-content:center;
  text-align:center;
  transform:none;
}
.opening-cover__ornament{margin:0 auto clamp(8px,1.2vh,12px)}
.opening-cover__wayang{
  position:relative;
  width:clamp(132px,17vh,205px);
  height:clamp(250px,36vh,335px);
  min-height:0;
  margin:0 auto clamp(8px,1.1vh,12px);
  display:grid;
  place-items:center;
  overflow:visible;
}
.opening-cover__wayang img{
  position:absolute;
  left:50%;
  top:50%;
  width:auto;
  height:100%;
  max-width:none;
  max-height:100%;
  transform:translate(-50%,-50%);
  transform-origin:50% 50%;
  object-fit:contain;
  object-position:50% 50%;
  mix-blend-mode:normal;
  animation:openingWayangFloatCentered 5.8s ease-in-out infinite;
}
.opening-cover__halo{
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:170%;
}
.opening-cover__names{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:baseline;
  width:min(100%,560px);
  margin:0 auto;
  gap:clamp(7px,1.6vw,14px);
  font-size:clamp(2.65rem,7.4vh,4rem);
  line-height:.9;
}
.opening-cover__names span:first-child{justify-self:end;text-align:right}
.opening-cover__names span:last-child{justify-self:start;text-align:left}
.opening-cover__names em{
  justify-self:center;
  align-self:baseline;
  transform:none;
  line-height:1;
}
.opening-cover__divider{margin:clamp(9px,1.35vh,14px) auto clamp(7px,1vh,11px)}
.opening-cover__label{font-size:clamp(.74rem,1.7vh,.96rem);line-height:1.15}
.opening-cover__guest{margin:clamp(5px,.8vh,8px) auto 0;gap:2px}
.opening-cover__guest small{font-size:clamp(.57rem,1.25vh,.71rem)}
.opening-cover__guest strong{font-size:clamp(1.02rem,2.3vh,1.34rem)}
.opening-cover__button{
  width:min(88%,340px);
  min-height:clamp(43px,6.3vh,52px);
  margin:clamp(8px,1.2vh,12px) auto 0;
  font-size:clamp(.78rem,1.65vh,.94rem);
}
.opening-cover__music{
  margin:clamp(7px,1vh,10px) auto 0;
  font-size:clamp(.55rem,1.2vh,.68rem);
}
@keyframes openingWayangFloatCentered{
  0%,100%{transform:translate(-50%,-50%)}
  50%{transform:translate(-50%,calc(-50% - 5px))}
}
@keyframes openingHalo{
  0%,100%{transform:translate(-50%,-50%) scale(.94);opacity:.54}
  50%{transform:translate(-50%,-50%) scale(1.06);opacity:.92}
}

@media (min-width:900px){
  .opening-cover{
    width:min(72vw,720px);
    height:min(90dvh,790px);
    border-radius:36px;
  }
  .opening-cover__wayang{height:clamp(235px,32vh,300px)}
  .opening-cover__names{font-size:clamp(3.2rem,7.2vh,4.45rem)}
}

@media (max-width:640px){
  .cover--wayang{padding:8px}
  .cover--wayang::after{inset:8px;border-radius:25px}
  .cover--wayang .cover__veil{inset:5px;border-radius:24px}
  .opening-cover{
    width:calc(100vw - 18px);
    height:calc(100dvh - 18px);
    max-height:calc(100dvh - 18px);
    padding:clamp(13px,2vh,18px) 14px;
    border-radius:25px;
  }
  .opening-cover__wayang{
    width:clamp(122px,39vw,176px);
    height:clamp(220px,31vh,285px);
    margin-bottom:clamp(7px,1vh,10px);
  }
  .opening-cover__names{
    width:100%;
    font-size:clamp(2.45rem,12.4vw,3.35rem);
    column-gap:6px;
  }
  .opening-cover__divider{width:min(235px,72%)}
  .opening-cover__label{font-size:clamp(.73rem,3.4vw,.88rem)}
  .opening-cover__guest small{font-size:clamp(.58rem,2.6vw,.68rem)}
  .opening-cover__guest strong{font-size:clamp(1.02rem,4.7vw,1.23rem)}
  .opening-cover__button{width:min(92%,320px);min-height:47px;font-size:.87rem}
  .opening-cover__music{font-size:.61rem}
}

@media (max-height:720px){
  .opening-cover{height:96dvh;max-height:96dvh;padding-top:10px;padding-bottom:10px}
  .opening-cover__wayang{height:clamp(185px,29vh,225px)}
  .opening-cover__names{font-size:clamp(2.3rem,7vh,3.1rem)}
  .opening-cover__divider{margin:6px auto}
  .opening-cover__button{min-height:42px;margin-top:6px}
  .opening-cover__music{margin-top:5px}
}

@media (prefers-reduced-motion:reduce){
  .opening-cover__wayang img{animation:none!important;transform:translate(-50%,-50%)!important}
}

/* Stage 15 — FINAL exact center correction (23-08-2026) */
.cover--wayang{
  width:100%!important;
  min-height:100dvh!important;
  height:100dvh!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  place-items:center!important;
  padding:10px!important;
  overflow:hidden!important;
}
.opening-cover{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
  margin:auto!important;
  box-sizing:border-box!important;
  width:min(560px,calc(100vw - 20px))!important;
  max-width:560px!important;
  height:min(820px,calc(100dvh - 20px))!important;
  min-height:0!important;
  max-height:calc(100dvh - 20px)!important;
  padding:clamp(18px,2.5vh,28px) clamp(16px,3vw,28px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
.opening-cover > *{
  margin-left:auto!important;
  margin-right:auto!important;
}
.opening-cover__ornament{
  width:min(280px,74%)!important;
  margin-bottom:clamp(8px,1vh,12px)!important;
}
.opening-cover__wayang{
  position:relative!important;
  width:clamp(150px,21vh,205px)!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0 auto clamp(10px,1.4vh,14px)!important;
  display:block!important;
  overflow:visible!important;
  line-height:0!important;
}
.opening-cover__wayang img{
  position:static!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  max-height:none!important;
  margin:0 auto!important;
  transform:none!important;
  translate:none!important;
  rotate:0deg!important;
  object-fit:contain!important;
  object-position:center!important;
  animation:openingWayangFloatFinal 5.8s ease-in-out infinite!important;
}
.opening-cover__halo{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:150%!important;
  transform:translate(-50%,-50%)!important;
}
@keyframes openingWayangFloatFinal{
  0%,100%{transform:translateY(0)!important}
  50%{transform:translateY(-5px)!important}
}
.opening-cover__names{
  width:100%!important;
  max-width:500px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important;
  align-items:baseline!important;
  justify-items:stretch!important;
  column-gap:clamp(6px,1vw,10px)!important;
  margin:0 auto!important;
  line-height:.9!important;
  text-align:center!important;
}
.opening-cover__names span:first-child{justify-self:end!important;text-align:right!important}
.opening-cover__names span:last-child{justify-self:start!important;text-align:left!important}
.opening-cover__names em{
  justify-self:center!important;
  align-self:baseline!important;
  position:static!important;
  transform:none!important;
  margin:0!important;
  padding:0!important;
}
.opening-cover__divider{width:min(275px,72%)!important;margin:clamp(10px,1.2vh,14px) auto clamp(8px,1vh,11px)!important}
.opening-cover__label,.opening-cover__guest,.opening-cover__button,.opening-cover__music{text-align:center!important;align-self:center!important}
.opening-cover__button{margin-left:auto!important;margin-right:auto!important}

@media (min-width:900px){
  .opening-cover{width:560px!important;height:min(820px,calc(100dvh - 28px))!important}
  .opening-cover__wayang{width:clamp(170px,21vh,205px)!important}
  .opening-cover__names{font-size:clamp(3.3rem,6.8vh,4.2rem)!important}
}
@media (max-width:640px){
  .cover--wayang{padding:6px!important}
  .opening-cover{
    width:calc(100vw - 12px)!important;
    max-width:none!important;
    height:calc(100dvh - 12px)!important;
    max-height:calc(100dvh - 12px)!important;
    padding:clamp(14px,1.8vh,18px) 14px!important;
  }
  .opening-cover__wayang{width:clamp(145px,22vh,176px)!important;margin-bottom:8px!important}
  .opening-cover__names{font-size:clamp(2.4rem,11.8vw,3.25rem)!important;column-gap:5px!important}
  .opening-cover__divider{margin:8px auto 7px!important}
  .opening-cover__button{width:min(92%,320px)!important;min-height:46px!important;margin-top:8px!important}
  .opening-cover__music{margin-top:7px!important}
}
@media (max-width:390px){
  .opening-cover__wayang{width:clamp(138px,21vh,164px)!important}
  .opening-cover__names{font-size:clamp(2.25rem,11.2vw,2.95rem)!important}
}
@media (prefers-reduced-motion:reduce){
  .opening-cover__wayang img{animation:none!important;transform:none!important}
}

/* Stage 15.1 — viewport centerline, including desktop scrollbar width */
.cover--wayang{
  width:100vw!important;
  max-width:100vw!important;
  left:0!important;
  right:0!important;
}

/* =========================================================
   TAHAP 4 — buka undangan langsung tampil, tanpa blank page
   ========================================================= */
main#mainContent{
  display:block;
  margin:0;
  padding:0;
}
body:not(.locked) main#mainContent{
  scroll-margin-top:0;
}
.hero--stage4{
  position:relative;
  min-height:100svh;
  display:grid;
  grid-template-columns:minmax(320px,520px) minmax(320px,620px);
  align-items:center;
  justify-content:center;
  gap:clamp(26px,4vw,56px);
  padding:96px clamp(22px,4vw,52px) 88px;
  background:linear-gradient(180deg,#faf5eb 0%,#fffdf8 50%,#f7efe2 100%);
  overflow:hidden;
}
.hero--stage4 .scroll-cue{
  left:50%;
  transform:translateX(-50%);
  bottom:26px;
}
.hero-stage4__photo,
.hero-stage4__content{
  position:relative;
  z-index:2;
  margin:0;
}
.hero-stage4__photo{
  width:min(100%,500px);
  justify-self:end;
  border-radius:34px;
  overflow:hidden;
  background:#eee5d8;
  border:1px solid rgba(181,138,61,.22);
  box-shadow:0 24px 60px rgba(79,56,31,.16);
}
.hero-stage4__photo img{
  width:100%;
  height:min(72svh,720px);
  display:block;
  object-fit:cover;
  object-position:center 24%;
}
.hero-stage4__photo figcaption{
  position:absolute;
  left:18px;
  bottom:18px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,252,246,.92);
  color:var(--gold-dark);
  font:600 .68rem/1 var(--sans);
  letter-spacing:.16em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(70,49,27,.1);
}
.hero-stage4__content{
  width:min(100%,620px);
  justify-self:start;
  text-align:left;
  padding:clamp(30px,4vw,46px);
  border-radius:36px;
  background:rgba(255,252,246,.76);
  border:1px solid rgba(181,138,61,.18);
  box-shadow:0 22px 62px rgba(82,58,30,.10);
  backdrop-filter:blur(6px);
}
.hero-stage4__content .eyebrow,
.hero-stage4__intro,
.hero-stage4__date,
.hero-stage4__welcome{
  text-align:left;
}
.hero-stage4__intro{
  margin:0 0 10px;
  font-family:var(--serif);
  font-size:1.12rem;
  color:var(--muted);
}
.hero--stage4 h2{
  margin:6px 0 10px;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(3.4rem,7vw,5.9rem);
  line-height:.9;
  color:var(--gold-dark);
}
.hero--stage4 h2 span{
  font-family:var(--script);
  font-size:.72em;
  color:var(--gold);
  font-weight:400;
}
.hero-stage4__date{
  margin:0;
  font-size:.9rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--gold-dark);
}
.hero-stage4__welcome{
  margin:0;
  max-width:34rem;
  color:var(--muted);
  line-height:1.85;
}
.hero-stage4__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:22px;
}
.hero-stage4__actions .btn{
  min-width:210px;
}

@media (max-width:900px){
  .hero--stage4{
    grid-template-columns:1fr;
    gap:22px;
    padding:88px 18px 90px;
  }
  .hero-stage4__photo{
    width:min(100%,620px);
    justify-self:center;
  }
  .hero-stage4__photo img{
    height:min(52svh,520px);
  }
  .hero-stage4__content{
    width:min(100%,620px);
    justify-self:center;
    text-align:center;
  }
  .hero-stage4__content .eyebrow,
  .hero-stage4__intro,
  .hero-stage4__date,
  .hero-stage4__welcome{
    text-align:center;
  }
  .hero-stage4__actions{
    justify-content:center;
  }
}

@media (max-width:640px){
  .hero--stage4{
    min-height:auto;
    padding:78px 12px 90px;
    gap:16px;
  }
  .hero-stage4__photo{
    width:100%;
    border-radius:26px;
  }
  .hero-stage4__photo img{
    height:42svh;
    min-height:270px;
    object-position:center 22%;
  }
  .hero-stage4__photo figcaption{
    left:12px;
    right:12px;
    bottom:12px;
    text-align:center;
    font-size:.58rem;
    letter-spacing:.12em;
  }
  .hero-stage4__content{
    width:100%;
    padding:22px 16px 24px;
    border-radius:24px;
  }
  .hero--stage4 h2{
    font-size:clamp(2.8rem,13vw,4rem);
    line-height:.92;
  }
  .hero-stage4__intro{
    font-size:.95rem;
  }
  .hero-stage4__date{
    font-size:.74rem;
    line-height:1.55;
  }
  .hero-stage4__welcome{
    font-size:.88rem;
    line-height:1.75;
  }
  .hero-stage4__actions{
    flex-direction:column;
    gap:10px;
    margin-top:18px;
  }
  .hero-stage4__actions .btn{
    width:100%;
    min-width:0;
  }
  .hero--stage4 .scroll-cue{
    bottom:18px;
  }
}

/* =========================================================
   TAHAP 4.1 — tanpa foto hero, tanpa ruang kosong, nama langsung terlihat
   ========================================================= */
body.invitation-opened,
body.invitation-opened main#mainContent{
  margin:0;
  padding:0;
}
body.invitation-opened .cover{
  display:none;
}
.hero--stage41{
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  padding:56px 22px 86px;
  background:
    radial-gradient(circle at 50% 0%,rgba(255,255,255,.95),rgba(255,255,255,0) 34%),
    linear-gradient(180deg,#faf5eb 0%,#fffdf8 52%,#f7efe2 100%);
  overflow:hidden;
  text-align:center;
}
.hero--stage41 .scroll-cue{
  left:50%;
  transform:translateX(-50%);
  bottom:22px;
}
.hero-stage41__content{
  position:relative;
  z-index:2;
  width:min(100%,840px);
  margin:0 auto;
  padding:clamp(28px,4vw,48px) clamp(18px,4vw,56px);
  border-radius:38px;
  background:rgba(255,252,246,.78);
  border:1px solid rgba(181,138,61,.18);
  box-shadow:0 24px 60px rgba(82,58,30,.10);
  backdrop-filter:blur(6px);
}
.hero-stage41__ornament,
.hero-stage41__ornament i{
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-stage41__ornament{
  width:min(320px,78%);
  margin:0 auto 16px;
  gap:10px;
  color:#b78d55;
}
.hero-stage41__ornament i{
  flex:1;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(181,138,61,.62));
}
.hero-stage41__ornament i:last-child{
  background:linear-gradient(90deg,rgba(181,138,61,.62),transparent);
}
.hero-stage41__ornament b{font-size:.8rem;font-weight:500}
.hero-stage41__intro{
  margin:0 0 10px;
  font-family:var(--serif);
  font-size:1.08rem;
  color:var(--muted);
}
.hero--stage41 h2{
  margin:0;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(3.6rem,8vw,6.2rem);
  line-height:.9;
  color:var(--gold-dark);
}
.hero--stage41 h2 span{
  font-family:var(--script);
  font-size:.72em;
  color:var(--gold);
  font-weight:400;
}
.hero-stage41__date{
  margin:14px auto 0;
  max-width:42rem;
  font-size:.92rem;
  line-height:1.7;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-dark);
}
.hero-stage41__welcome{
  margin:0 auto;
  max-width:36rem;
  color:var(--muted);
  line-height:1.9;
  font-size:1rem;
}
.hero-stage41__actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:22px;
}
.hero-stage41__actions .btn{min-width:220px}
.hero--stage41 .divider{margin:18px auto}

@media (max-width:640px){
  .hero--stage41{
    min-height:100svh;
    padding:34px 12px 88px;
  }
  .hero-stage41__content{
    width:100%;
    padding:24px 16px 28px;
    border-radius:26px;
  }
  .hero-stage41__ornament{
    margin-bottom:14px;
    width:min(240px,84%);
  }
  .hero-stage41__intro{
    font-size:.92rem;
    margin-bottom:8px;
  }
  .hero--stage41 h2{
    font-size:clamp(2.95rem,14vw,4.2rem);
    line-height:.92;
  }
  .hero-stage41__date{
    margin-top:12px;
    font-size:.72rem;
    line-height:1.65;
    letter-spacing:.09em;
  }
  .hero-stage41__welcome{
    font-size:.88rem;
    line-height:1.75;
  }
  .hero-stage41__actions{
    flex-direction:column;
    gap:10px;
    margin-top:18px;
  }
  .hero-stage41__actions .btn{
    width:100%;
    min-width:0;
  }
  .hero--stage41 .scroll-cue{bottom:16px}
}


/* =========================================================
   TAHAP 4.2 — hero dinaikkan ke atas agar langsung terlihat
   ========================================================= */
body.invitation-opened,
body.invitation-opened html{
  scroll-padding-top:0;
}
body.invitation-opened #home,
body.invitation-opened .hero--stage41{
  margin-top:0 !important;
}
.hero--stage41{
  min-height:100svh;
  height:auto;
  display:grid;
  place-items:start center;
  align-content:start;
  padding:18px 22px 92px;
  overflow:hidden;
}
.hero-stage41__content{
  margin-top:8px;
}
.hero--stage41 .hero__motif{
  top:18%;
  left:50%;
  transform:translateX(-50%);
}
.hero--stage41 .scroll-cue{
  bottom:18px;
}
@media (min-width: 900px){
  .hero--stage41{
    padding-top:22px;
    padding-bottom:88px;
  }
  .hero-stage41__content{
    margin-top:6px;
  }
}
@media (max-width:640px){
  .hero--stage41{
    min-height:100svh;
    place-items:start center;
    align-content:start;
    padding:14px 12px 88px;
  }
  .hero-stage41__content{
    margin-top:2px;
    padding-top:22px;
  }
  .hero--stage41 .hero__motif{
    top:15%;
    width:88vw;
    opacity:.24;
  }
}


/* =========================================================
   TAHAP 4.4 — hashtag case-sensitive + gift layout reorder
   ========================================================= */
.hero--stage41 .eyebrow,
.hero-stage41__content .eyebrow,
.closing-section .hashtag{
  text-transform:none !important;
  letter-spacing:.18em;
}

.gift-section--stage44 .section-heading{
  margin-bottom:30px;
}
.gift-layout-stage44{
  display:grid;
  grid-template-columns:minmax(300px,.88fr) minmax(0,1.12fr);
  gap:28px;
  align-items:start;
}
.gift-appreciation{
  display:grid;
  gap:18px;
}
.gift-intro__panel--thanks{
  text-align:left;
  background:linear-gradient(180deg,#fffefb,#fff8ef);
}
.gift-intro__panel--thanks .script{
  margin-bottom:4px;
}
.gift-intro__panel--thanks h3{
  margin:0 0 12px;
}
.gift-intro__panel--thanks p:last-child{
  max-width:none;
  margin:0;
}
.gift-transfer{
  display:grid;
  gap:18px;
}
.gift-transfer__heading{
  padding:22px 24px;
  border-radius:28px;
  background:linear-gradient(180deg,#fffefb,#fff8ef);
  border:1px solid rgba(181,138,61,.14);
  box-shadow:var(--shadow);
}
.gift-transfer__heading .eyebrow{
  margin:0 0 8px;
}
.gift-transfer__heading h3{
  margin:0 0 8px;
  font-size:clamp(1.8rem,3vw,2.4rem);
  color:var(--gold-dark);
}
.gift-transfer__heading p:last-child{
  margin:0;
  color:var(--muted);
  line-height:1.8;
}
.gift-section--stage44 .gift-cards{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width:900px){
  .gift-layout-stage44{
    grid-template-columns:1fr;
  }
}
@media (max-width:640px){
  .hero--stage41 .eyebrow,
  .hero-stage41__content .eyebrow,
  .closing-section .hashtag{
    letter-spacing:.12em;
    font-size:.7rem;
  }
  .gift-transfer__heading{
    padding:18px;
    border-radius:22px;
  }
  .gift-transfer__heading h3{
    font-size:1.7rem;
  }
  .gift-section--stage44 .gift-cards{
    grid-template-columns:1fr;
  }
}


/* Tahap 4.5 — nama tamu personal dari URL hash */
.opening-cover__guest strong#openingGuestName{
  width:100%;
  text-align:center;
  text-wrap:balance;
  overflow-wrap:break-word;
  word-break:normal;
}
@media (max-width:640px){
  .opening-cover__guest strong#openingGuestName{
    font-size:clamp(1rem,4.8vw,1.3rem);
    line-height:1.2;
  }
}


/* Revisi 18-09-2026 — BNI + amplop digital */
.gift-section{background:linear-gradient(180deg,#f4fbfd 0%,#fff8f2 100%)}
.gift-transfer__heading .eyebrow{color:#f15b22}
.gift-transfer__heading h3{color:#006884}
.gift-transfer__heading p{color:#4b5563}
.gift-bank-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.gift-bank-logo{display:block;height:28px;width:auto;max-width:120px;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.08))}
.gift-card{background:linear-gradient(135deg,#006884 0%,#087895 42%,#f15b22 100%);border:1px solid rgba(255,255,255,.16);box-shadow:0 22px 40px rgba(0,104,132,.18)}
.gift-card::before{right:-30px;top:-34px;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(255,255,255,0) 70%)}
.gift-card::after{left:-34px;bottom:-42px;background:radial-gradient(circle,rgba(255,190,153,.22),rgba(255,190,153,0) 70%)}
.gift-bank{background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(6px);font-weight:700;letter-spacing:.12em}
.gift-chip{background:linear-gradient(135deg,#fff1d6,#ffd48b 45%,#f5b155 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5),0 8px 14px rgba(0,0,0,.12)}
.gift-number{letter-spacing:.04em}
.gift-copy{background:#ffffff!important;color:#006884!important;border:none!important;font-weight:700!important}
.gift-copy:hover{background:#fff2ea!important;color:#f15b22!important}
@media (max-width:640px){.gift-bank-logo{height:24px;max-width:104px}}
