/* =========================================================
   BALI LUXURY WEDDING — STYLES
   Anda biasanya tidak perlu mengubah file ini.
   ========================================================= */
:root{--heading-font:"Cormorant Garamond",serif;--body-font:"Montserrat",sans-serif;--heading-weight:500;--body-weight:400;--hero-title-size:150px;--section-title-size:70px;--couple-name-size:42px;--story-title-size:75px;--body-text-size:13px;--small-text-size:11px;--guest-name-size:46px;--hero-title-mobile:clamp(50px,16vw,78px);--section-title-mobile:clamp(40px,13vw,58px);--couple-name-mobile:38px;--story-title-mobile:47px;--body-text-mobile:11px;--small-text-mobile:9px;--guest-name-mobile:clamp(24px,8vw,34px);--gallery-columns-desktop:4;--gallery-columns-mobile:2;--gallery-gap-desktop:12px;--gallery-gap-mobile:7px;--gallery-aspect:1 / 1;--gallery-height-desktop:auto;--gallery-height-mobile:auto;--gallery-object-fit:cover;--gallery-radius:0px;--forest:#1f3029;--forest2:#15221d;--gold:#c8a56a;--cream:#f7f2e8;--ink:#2b302c;--muted:#7b807b;--white:#fff;--shadow:0 24px 70px rgba(24,31,27,.14)}
*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--body-font);font-weight:var(--body-weight);color:var(--ink);background:var(--cream);line-height:1.7}a{text-decoration:none;color:inherit}button{font:inherit}
body.locked{overflow:hidden}
.splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background-position:center;background-size:cover;color:#fff;transition:opacity .8s,visibility .8s}.splash:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(14,25,20,.22),rgba(9,16,13,.78))}.splash.hide{opacity:0;visibility:hidden;pointer-events:none}.splash-card{position:relative;text-align:center;padding:30px 24px;max-width:680px}.splash-eyebrow{letter-spacing:.38em;text-transform:uppercase;font-size:10px;color:#e8d0a0}.splash-photo{width:128px;height:128px;border-radius:50%;object-fit:cover;border:1px solid rgba(235,210,160,.65);padding:5px;background:rgba(255,255,255,.08);box-shadow:0 20px 70px rgba(0,0,0,.3);margin:24px auto}.splash-card h1{font:var(--heading-weight) var(--splash-title-size)/.9 var(--heading-font);color:#f4dfb7}.guest-label{font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:#ddd;margin-top:24px}.guest-name{font:var(--heading-weight) var(--guest-name-size)/1.15 var(--heading-font);margin-top:8px;color:#fff}.splash-note{font-size:11px;color:#ddd;margin-top:10px}.open-invite{margin-top:28px}
.music-toggle{position:fixed;right:18px;bottom:18px;z-index:60;display:none;align-items:center;gap:8px;border:1px solid rgba(200,165,106,.8);background:rgba(22,32,27,.75);backdrop-filter:blur(12px);color:#f2d29a;border-radius:999px;padding:11px 16px;font-size:10px;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}.music-toggle.show{display:inline-flex}.music-toggle.playing{background:rgba(200,165,106,.15)}
.nav{position:fixed;z-index:50;top:18px;left:50%;transform:translateX(-50%);width:min(1120px,calc(100% - 28px));padding:12px 18px;border:1px solid rgba(255,255,255,.22);background:rgba(22,32,27,.42);backdrop-filter:blur(15px);border-radius:999px;color:#fff;display:flex;align-items:center;justify-content:space-between}.brand{font-family:var(--heading-font);font-size:26px;color:#f6e7c8}.navlinks{display:flex;gap:23px;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.navlinks a{opacity:.88}.navlinks a:hover{color:#f2d29a}
.hero{min-height:100svh;position:relative;display:grid;place-items:center;overflow:hidden;background-position:center;background-size:cover}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,19,.45),rgba(15,23,19,.72))}.hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 50% 40%,transparent 0 18%,rgba(7,14,11,.32) 72%)}.hero-content{position:relative;z-index:2;text-align:center;color:#fff;padding:100px 20px 80px}.eyebrow{letter-spacing:.42em;text-transform:uppercase;font-size:11px;color:#e7d1a6}.hero h1{font-size:var(--hero-title-size);line-height:.82;font-family:var(--heading-font);font-weight:var(--heading-weight);margin:22px 0 15px}.amp{color:#e0bf80;font-style:italic;font-size:.72em}.hero-date{font-size:12px;letter-spacing:.23em;text-transform:uppercase}.open-btn,.gold-btn{display:inline-flex;align-items:center;gap:10px;border:1px solid var(--gold);color:#fff;padding:14px 27px;border-radius:999px;text-transform:uppercase;font-size:11px;letter-spacing:.18em;background:rgba(0,0,0,.18);margin-top:35px;cursor:pointer;transition:.25s}.open-btn:hover,.gold-btn:hover{background:var(--gold);color:var(--forest2)}
.orn{width:160px;height:22px;margin:24px auto;position:relative}.orn:before,.orn:after{content:"";position:absolute;top:50%;height:1px;background:var(--gold);width:52px}.orn:before{left:0}.orn:after{right:0}.orn span{display:block;width:12px;height:12px;border:1px solid var(--gold);transform:rotate(45deg);margin:auto;position:relative;top:4px}
.celebration-intro{min-height:100svh;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(180deg,rgba(15,23,19,.58),rgba(15,23,19,.78)),url("https://images.unsplash.com/photo-1507504031003-b417219a0fde?auto=format&fit=crop&w=2200&q=90") center/cover;color:#fff;text-align:center;padding:100px 20px}.celebration-intro:after{content:"";position:absolute;inset:24px;border:1px solid rgba(220,193,139,.32);pointer-events:none}.celebration-intro-inner{position:relative;z-index:2;max-width:760px;padding:40px}.celebration-intro h2{font:500 clamp(58px,9vw,108px)/.9 'Cormorant Garamond',serif;color:#f4dfb7;margin:18px 0}.celebration-intro p{font-size:13px;letter-spacing:.08em;color:#e8e4dc}.celebration-intro .open-btn{margin-top:30px}.section{padding:105px 20px}.wrap{width:min(1080px,100%);margin:auto}.center{text-align:center}.kicker{text-transform:uppercase;letter-spacing:.3em;font-size:10px;color:#9d7740}.title{font:var(--heading-weight) var(--section-title-size)/.95 var(--heading-font);color:var(--forest);margin:12px 0}.subtitle{max-width:650px;margin:0 auto;color:var(--muted);font-size:13px}
.intro{background:#fbf8f1}.couple{display:grid;grid-template-columns:1fr 140px 1fr;align-items:center;gap:25px;margin-top:52px}.person{display:flex;flex-direction:column;align-items:center;text-align:center}.portrait{width:220px;height:290px;border-radius:110px 110px 12px 12px;object-fit:cover;box-shadow:var(--shadow);filter:saturate(.82)}.person h3{font:600 var(--couple-name-size) var(--heading-font);color:var(--forest);margin-top:22px}.person p{font-size:11px;color:var(--muted)}.heart{width:120px;height:120px;border:1px solid #dbc295;border-radius:50%;display:grid;place-items:center;font:italic 50px 'Cormorant Garamond',serif;color:var(--gold);margin:auto;background:#fffaf0}
.details{background:var(--forest);color:#fff}.details .title,.details .subtitle{color:#fff}.reception-card{max-width:650px;margin:48px auto 0;padding:42px 28px 38px;background:rgba(255,255,255,.055);border:1px solid rgba(214,188,139,.32);text-align:center;box-shadow:0 22px 70px rgba(0,0,0,.16)}.reception-card .icon{font-size:28px;color:var(--gold);margin-bottom:10px}.light-kicker{color:#ddbd83}.reception-card h3{font:var(--heading-weight) clamp(34px,5vw,52px)/1.05 var(--heading-font);color:#f6e5c3;margin:8px 0}.reception-card>p{font-size:13px;color:#d1d8d2}.reception-card .venue-line{margin-top:8px}.mapbtn{margin-top:22px;display:inline-flex;align-items:center;justify-content:center;color:#efcf94;font-size:11px;letter-spacing:.12em;text-transform:uppercase;border:1px solid rgba(239,207,148,.65);padding:12px 22px;border-radius:999px;transition:.25s}.mapbtn:hover{background:var(--gold);color:var(--forest2)}.countdown-inline{margin-top:58px}.count-title{font:var(--heading-weight) clamp(36px,5vw,58px)/1 var(--heading-font);color:#f6e5c3;margin-top:10px}.timer{display:flex;justify-content:center;gap:16px;margin-top:28px}.timebox{min-width:115px;padding:22px 12px;background:rgba(255,255,255,.08);border:1px solid rgba(241,214,165,.35);backdrop-filter:blur(8px)}.timebox strong{display:block;font:500 56px/1 var(--heading-font);color:#f2d29a}.timebox span{font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#ddd}
.story{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.story-img{height:600px;border-radius:160px 160px 16px 16px;object-fit:cover;width:100%;box-shadow:var(--shadow)}.story-copy h2{font:var(--heading-weight) var(--story-title-size)/.9 var(--heading-font);color:var(--forest);margin:13px 0 28px}.story-copy p{font-size:13px;color:var(--muted);margin-bottom:17px}.sig{font:italic 28px var(--heading-font);color:var(--forest);margin-top:26px}
.gallery{background:#f0eadf}.grid{display:grid;grid-template-columns:repeat(var(--gallery-columns-desktop),1fr);gap:var(--gallery-gap-desktop);margin-top:48px}.gallery-tile{aspect-ratio:var(--gallery-aspect);height:var(--gallery-height-desktop);border-radius:var(--gallery-radius);overflow:hidden;cursor:pointer;position:relative;background:#ddd}.gallery-tile img{width:100%;height:100%;object-fit:var(--gallery-object-fit);display:block;transition:transform .5s ease}.gallery-tile:hover img{transform:scale(1.06)}.gallery-tile:after{content:'↗';position:absolute;right:10px;bottom:8px;width:28px;height:28px;border:1px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(0,0,0,.25);opacity:0;transition:.25s}.gallery-tile:hover:after{opacity:1}.lightbox{position:fixed;inset:0;background:rgba(7,12,10,.94);z-index:10000;display:flex;align-items:center;justify-content:center;padding:35px 18px;opacity:0;visibility:hidden;transition:.3s}.lightbox.show{opacity:1;visibility:visible}.lightbox-stage{width:min(92vw,1100px);height:min(82vh,760px);display:flex;align-items:center;justify-content:center;position:relative}.lightbox img{max-width:100%;max-height:100%;object-fit:contain;box-shadow:0 20px 80px rgba(0,0,0,.45)}.lightbox-close,.lightbox-prev,.lightbox-next{position:fixed;border:1px solid rgba(255,255,255,.45);background:rgba(255,255,255,.08);color:#fff;width:46px;height:46px;border-radius:50%;cursor:pointer;font-size:22px;display:grid;place-items:center;backdrop-filter:blur(10px)}.lightbox-close{top:22px;right:22px}.lightbox-prev{left:22px;top:50%;transform:translateY(-50%)}.lightbox-next{right:22px;top:50%;transform:translateY(-50%)}.lightbox-caption{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);color:#ddd;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.gallery-hint{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#8b8c86;margin-top:18px}
.rsvp{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:start}.rsvp-box{background:#fff;border:1px solid #e4dccd;padding:38px;box-shadow:var(--shadow)}.field{margin-bottom:16px}.field label{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:7px;color:#656c66}.field input,.field select,.field textarea{width:100%;padding:13px 14px;border:1px solid #d9d1c4;background:#faf7f1;font:13px Montserrat;outline:none}.field textarea{min-height:110px;resize:vertical}.submit{width:100%;padding:14px;border:0;background:var(--forest);color:#fff;text-transform:uppercase;letter-spacing:.16em;font-size:11px;cursor:pointer}.note{font-size:11px;color:var(--muted);margin-top:12px}.guestbook{margin-top:26px}.guestbook-title{font:500 34px/1 var(--heading-font);color:var(--forest);margin:8px 0 18px}.wishes-list{display:grid;gap:12px}.wish-card{padding:18px 20px;background:#fbf8f1;border:1px solid #e4dccd}.wish-head{display:flex;justify-content:space-between;gap:12px;align-items:center}.wish-name{font:600 13px Montserrat;color:var(--forest)}.wish-status{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#9d7740;border:1px solid #dbc295;border-radius:999px;padding:5px 8px}.wish-message{font:400 17px/1.5 var(--heading-font);color:#4a504b;margin-top:9px}.empty-wishes{text-align:center;padding:26px 18px;border:1px dashed #d7cdbd;color:var(--muted);font-size:11px}
.gift{background:#fff}.giftbox{max-width:700px;margin:45px auto 0;padding:44px;text-align:center;background:#fbf8f2;border:1px solid #e5d8c0}.account{font:500 29px var(--heading-font);color:var(--forest);margin:10px 0}.copy{margin-top:18px;border:1px solid #cdb27f;background:transparent;padding:11px 20px;color:var(--forest);cursor:pointer}
.footer{padding:80px 20px;text-align:center;background:var(--forest2);color:#fff}.footer .title{color:#f2d29a}.footer p{font-size:12px;color:#c7cec9}.mini{font:italic 30px var(--heading-font);color:#d9bc87;margin:25px 0}
.reveal{opacity:0;transform:translateY(30px);transition:all .8s ease}.reveal.show{opacity:1;transform:none}
@media(max-width:800px){.navlinks{display:none}.couple{grid-template-columns:1fr}.heart{width:78px;height:78px;font-size:34px}.person:nth-child(3){order:4}.person{margin-bottom:25px}.story,.rsvp{grid-template-columns:1fr}.story-img{height:430px}.grid{grid-template-columns:repeat(2,1fr);gap:9px}.lightbox-prev{left:10px}.lightbox-next{right:10px}.lightbox-close{top:12px;right:12px}.timer{gap:7px}.timebox{min-width:0;width:25%;padding:18px 6px}.timebox strong{font-size:42px}.giftbox{padding:26px 18px}.section{padding:82px 18px}}

/* Pastikan Wedding Celebration tidak tertutup navbar saat menjadi tujuan pertama. */
#event{scroll-margin-top:8px;}

/* =========================================================
   MOBILE POLISH — LAYAR HP 320–480px
   Tidak perlu diedit. Desktop tetap memakai desain utama.
   ========================================================= */
@media (max-width: 600px){
  html{scroll-padding-top:0}
  body{font-size:14px;overflow-x:hidden}
  .section{padding:70px 16px}
  .wrap{width:100%}

  /* Splash */
  .splash{padding:18px;align-items:center}
  .splash-card{width:min(100%,390px);padding:22px 14px}
  .splash-eyebrow{font-size:9px;letter-spacing:.28em}
  .splash-photo{width:96px;height:96px;margin:18px auto}
  .splash-card h1{font-size:var(--guest-name-mobile);line-height:.94;margin:0 auto;max-width:100%;word-break:break-word}
  .guest-label{font-size:9px;letter-spacing:.18em;margin-top:20px}
  .guest-name{font-size:var(--guest-name-mobile);line-height:1.08;padding:0 8px}
  .splash-note{font-size:10px;line-height:1.5;max-width:290px;margin:10px auto 0}
  .open-invite{margin-top:22px}

  /* Floating controls */
  .music-toggle{right:12px;bottom:12px;padding:9px 13px;font-size:9px;letter-spacing:.08em}
  .nav{top:10px;width:calc(100% - 20px);padding:9px 13px;border-radius:18px}
  .brand{font-size:22px}
  .navlinks{display:none}

  /* Main celebration / hero */
  .hero{min-height:100svh;background-position:center center}
  .hero-content{width:100%;padding:90px 16px 48px}
  .eyebrow{font-size:8px;letter-spacing:.25em;line-height:1.5}
  .hero h1{font-size:var(--hero-title-mobile);line-height:.88;margin:18px 0 12px;max-width:100%;word-break:break-word}
  .hero-date{font-size:9px;letter-spacing:.14em;line-height:1.7;max-width:310px;margin:auto}
  .open-btn,.gold-btn{padding:12px 18px;font-size:9px;letter-spacing:.12em;margin-top:24px}
  .orn{width:130px;margin:18px auto;height:18px}
  .orn:before,.orn:after{width:42px}
  .orn span{width:10px;height:10px}

  /* Couple */
  .title{font-size:var(--section-title-mobile);line-height:.94}
  .subtitle{font-size:11px;line-height:1.75;max-width:340px}
  .couple{display:flex;flex-direction:column;gap:18px;margin-top:34px}
  .person{width:100%;margin:0}
  .portrait{width:min(72vw,220px);height:min(90vw,285px);border-radius:110px 110px 12px 12px}
  .person h3{font-size:var(--couple-name-mobile);line-height:1;margin-top:16px}
  .person p{font-size:10px;line-height:1.6;max-width:280px}
  .heart{width:62px;height:62px;font-size:29px;margin:8px auto}

  /* Reception + countdown */
  .details{padding-top:76px;padding-bottom:76px}
  .reception-card{width:100%;margin-top:30px;padding:28px 18px 26px}
  .reception-card .icon{font-size:22px}
  .reception-card h3{font-size:32px;line-height:1.05;margin:8px 0 10px}
  .reception-card>p{font-size:11px;line-height:1.6}
  .venue-line{max-width:280px;margin-left:auto;margin-right:auto}
  .mapbtn{font-size:9px;padding:11px 17px;margin-top:18px}
  .countdown-inline{margin-top:42px}
  .count-title{font-size:38px;line-height:.98}
  .timer{gap:6px;margin-top:22px}
  .timebox{width:calc(25% - 4.5px);min-width:0;padding:14px 4px}
  .timebox strong{font-size:36px;line-height:1}
  .timebox span{font-size:8px;letter-spacing:.08em}

  /* Story */
  .story{display:flex;flex-direction:column;gap:28px;align-items:stretch}
  .story-img{height:430px;width:100%;border-radius:110px 110px 14px 14px}
  .story-copy h2{font-size:var(--story-title-mobile);line-height:.92;margin:10px 0 20px}
  .story-copy p{font-size:11px;line-height:1.8;margin-bottom:14px}
  .sig{font-size:26px;margin-top:20px}

  /* Gallery */
  .gallery .grid{grid-template-columns:repeat(var(--gallery-columns-mobile),1fr);gap:var(--gallery-gap-mobile);margin-top:30px}
  .gallery-tile{border-radius:4px}
  .gallery-tile:after{width:24px;height:24px;right:6px;bottom:6px;font-size:12px;opacity:1}
  .gallery-hint{font-size:8px;line-height:1.6;letter-spacing:.08em;margin-top:14px}

  /* Lightbox */
  .lightbox{padding:18px 8px}
  .lightbox-stage{width:100%;height:78vh}
  .lightbox img{max-width:calc(100vw - 34px);max-height:72vh}
  .lightbox-close,.lightbox-prev,.lightbox-next{width:40px;height:40px;font-size:20px}
  .lightbox-close{top:12px;right:12px}
  .lightbox-prev{left:8px}
  .lightbox-next{right:8px}
  .lightbox-caption{bottom:10px;font-size:9px}

  /* RSVP */
  .rsvp{display:flex;flex-direction:column;gap:32px}
  .rsvp .title{font-size:50px}
  .rsvp .subtitle{max-width:none}
  .guestbook{margin-top:26px}
  .guestbook-title{font-size:31px;margin:7px 0 15px}
  .wishes-list{gap:9px}
  .wish-card{padding:14px 15px}
  .wish-head{align-items:flex-start;gap:8px}
  .wish-name{font-size:11px;line-height:1.4}
  .wish-status{font-size:8px;padding:4px 7px;white-space:nowrap}
  .wish-message{font-size:16px;line-height:1.45}
  .rsvp-box{padding:22px 17px}
  .field{margin-bottom:13px}
  .field label{font-size:9px}
  .field input,.field select,.field textarea{font-size:12px;padding:12px;border-radius:0}
  .field textarea{min-height:100px}
  .submit{padding:13px;font-size:9px;letter-spacing:.12em}
  .note{font-size:9px;line-height:1.6}

  /* Gift */
  .giftbox{width:100%;padding:25px 17px}
  .account{font-size:27px;letter-spacing:.03em;word-break:break-all}
  .copy{padding:10px 16px;font-size:10px}

  /* Footer */
  .footer{padding:65px 18px}
  .footer .title{font-size:48px}
  .footer p{font-size:10px;line-height:1.7}
  .mini{font-size:25px;line-height:1.2}
}

@media (max-width: 360px){
  .hero-content{padding-left:12px;padding-right:12px}
  .hero h1{font-size:48px}
  .splash-card h1{font-size:41px}
  .guest-name{font-size:23px}
  .person h3{font-size:34px}
  .reception-card h3{font-size:29px}
  .timebox{padding:12px 2px}
  .timebox strong{font-size:31px}
  .timebox span{font-size:7px}
}


/* EDITABLE DESIGN VARIABLES — driven by js/config.js */
.hero-date, .subtitle, .reception-card>p, .story-copy p, .person p, .footer p, .field input, .field select, .field textarea { font-size: var(--body-text-size); }
.kicker, .splash-eyebrow, .guest-label, .gallery-hint, .wish-status, .note { font-size: var(--small-text-size); }
@media (max-width: 600px){
  .hero-date, .subtitle, .reception-card>p, .story-copy p, .person p, .footer p, .field input, .field select, .field textarea { font-size: var(--body-text-mobile); }
  .kicker, .splash-eyebrow, .guest-label, .gallery-hint, .wish-status, .note { font-size: var(--small-text-mobile); }
  .splash-card h1{font-size:var(--splash-title-mobile);}
}
