/* Mempertahankan komposisi, palet dan ornamen HTML referensi. */
[hidden]{display:none!important}
:root{color-scheme:light}
html{scroll-padding-top:24px}
body{font-family:'DM Sans',Arial,sans-serif}
.display,.brand,.event-card h3,.events h2,.countdown h2,.footer h2{font-family:'Cormorant Garamond',Georgia,serif}
.skip-link{position:fixed;z-index:10001;left:16px;top:12px;padding:12px 18px;background:#f5ead7;color:#153a31;transform:translateY(-180%)}
.skip-link:focus{transform:none}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #bd8736;outline-offset:5px}
.hero:focus{outline:none}
.opening{position:relative;min-height:100svh;min-height:100dvh;inset:auto;overflow:hidden}
body.enhanced .opening{position:fixed;inset:0;min-height:0;overflow-y:auto}
.opening-inner{padding:28px 20px;animation:none}
.opening h2{font-family:'Cormorant Garamond',Georgia,serif;margin:14px 0;font-size:clamp(64px,8vw,96px);line-height:.95}
.opening-date{margin:20px 0;letter-spacing:.09em;line-height:1.7}
.opening-kicker{font-size:11px;letter-spacing:.2em}
.opening-orn{margin-bottom:12px}
.opening-note{line-height:1.7;color:#ead9bf}
.envelope{position:relative;width:180px;height:104px;margin:18px auto 25px;border:1px solid #d9b881;background:linear-gradient(145deg,#ead2a7,#c29b62);box-shadow:0 12px 35px #0004;perspective:800px}
.envelope::after{content:'';position:absolute;inset:0;background:#d4b17c;clip-path:polygon(0 100%,0 8%,50% 66%,100% 8%,100% 100%)}
.envelope-flap{position:absolute;z-index:1;inset:0;background:#eddbbb;clip-path:polygon(0 0,100% 0,50% 66%);transform-origin:top;transition:transform .7s ease}
.envelope-seal{position:absolute;z-index:2;left:calc(50% - 24px);top:35px;width:48px;height:48px;border:1px solid #e2c497;border-radius:50%;background:#153a31;color:#f8e6c3;font:italic 22px/46px Georgia,serif;box-shadow:0 3px 10px #0004;transition:opacity .25s}
.opening.entering .envelope-flap{transform:rotateX(180deg)}
.opening.entering .envelope-seal{opacity:0}
.open-button{min-height:48px;min-width:200px;letter-spacing:.02em}
.guest{font-size:12px;line-height:1.8;color:#ecd7b6;margin:0 0 20px;overflow-wrap:anywhere}
.guest strong{font-size:17px;color:#fff0d7;font-weight:500}
.hero-copy{animation:none;padding-bottom:50px}
.hero-copy h1{font-size:clamp(76px,7vw,106px);line-height:.88}
.hero-copy h1 span+span{margin-top:7px}
.nav{gap:16px}
.nav-links a,.nav-pill{display:inline-flex;align-items:center;min-height:44px}
.nav-links a{padding-bottom:0}
.brand{position:relative;z-index:6;min-height:44px;display:flex;align-items:center}
.portrait img{filter:none;object-position:center 40%}
.portrait::after{background:linear-gradient(0deg,#2f352d50,transparent 35%);pointer-events:none}
.hero .portrait.man,.hero .portrait.woman{animation:none}
@media(hover:hover) and (pointer:fine){.portrait:hover{transform:translateY(-5px) rotate(0deg)!important}}
.bismillah{font-family:'Times New Roman',serif;font-size:29px;margin:8px auto 23px;line-height:1.8;color:#725433}
.quote{padding-top:22px;padding-bottom:28px}
.quote-text{color:#493a2c}
.events{padding-top:5px}
.event-card{min-height:310px;padding:42px 18px 24px}
.event-card p{font-size:13px;line-height:1.7}
.event-card .muted{font-size:11px;color:#675641}
.event-map{position:relative;z-index:1;display:inline-flex;min-height:44px;align-items:center;margin-top:7px;border-bottom:1px solid #a57942;color:#614827;font-size:12px}
.story-grid{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:40px}
.story-photos{height:340px}
.monogram-frame{position:absolute;inset:0 10%;border:1px solid #a77c43;outline:1px solid #b49361;outline-offset:-9px;border-radius:50% 50% 6px 6px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 28%,#fffae9,#e2d0b3);color:#795332;box-shadow:0 15px 25px #493b2e15;font-family:'Cormorant Garamond',Georgia,serif}
.monogram-frame span{font-size:110px;line-height:1}
.monogram-frame i{font-size:45px;margin:0 -4px 0 2px;font-weight:400}
.monogram-frame small{position:absolute;bottom:53px;font-size:17px;font-style:italic}
.story-copy{padding:5px 10px 15px}
.story-copy h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(29px,3.2vw,42px);line-height:1.12;margin:10px 0;color:#684627;overflow-wrap:anywhere}
.story-copy p{font-size:15px}
.story-copy .salutation{font:12px/1.7 'DM Sans',Arial,sans-serif;color:#6f573f;margin-bottom:15px}
.couple-and{font:italic 30px 'Cormorant Garamond',Georgia,serif;color:#97703d}
.countdown{padding:42px 20px}
.date-static{font:15px/1.5 Georgia,serif;margin:12px 0}
.count-unit{width:112px;height:100px}
.count-unit strong{font-size:43px}
.countnote{font-size:12px;color:#e5cfaa;line-height:1.7}
.calendar-link{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 23px;border:1px solid #d1ac71;border-radius:30px;color:#fbe9c7;font-size:12px;margin-top:4px}
.location-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:center;padding-top:20px;padding-bottom:20px}
.location-copy{text-align:center}
.location-grid .map-frame{width:100%;max-width:900px;margin-inline:auto}
.location-copy h2{font:500 39px/1.1 'Cormorant Garamond',Georgia,serif;margin:9px 0 22px;color:#674828}
.location-copy h3{font:600 19px/1.4 'DM Sans',Arial,sans-serif;margin:0 0 8px}
.location-copy p{font-size:13px;line-height:1.8;margin:0 auto 17px;max-width:430px}
.location-copy .location-note{color:#6c5943;font-size:12px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:10px 19px;margin:0 5px 10px 0;border:1px solid #8b683b;border-radius:28px;background:transparent;font-size:12px;color:#594124;line-height:1.5}
.button.primary{background:#163c30;color:#fff3e0;border-color:#163c30}
.button:hover,.calendar-link:hover{box-shadow:0 4px 14px #143a3025}
.map-frame{min-width:0;border:1px solid #b18b53;background:#e6d9c3;padding:7px;box-shadow:0 12px 32px #493b2e18}
.map-frame iframe{display:block;border:0;width:100%;height:350px;background:#d7d4c2}
.map-frame p{font-size:11px;text-align:center;margin:10px 5px 5px;color:#59472f;line-height:1.7}
.share-status:empty{display:none}
#shareFallback label{display:block;font-size:12px;margin:8px 0}
#shareUrl{width:100%;padding:12px;font:12px Arial,sans-serif;border:1px solid #997440;border-radius:4px;background:#fff8ec}
.footer{padding-bottom:100px}
.footer-names{font:italic 42px/1.2 'Cormorant Garamond',Georgia,serif;margin:25px 0 10px}
.footer .footer-date{font:11px/1.7 'DM Sans',Arial,sans-serif;letter-spacing:.08em}
.back-top{display:inline-flex;align-items:center;min-height:44px;font-size:12px;margin-top:12px;border-bottom:1px solid #9b865e}
.music-dock{right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom));max-width:calc(100vw - 28px)}
.music-toggle{min-height:46px}
.reveal{opacity:1;transform:none;filter:none}
.motion-ready .reveal{opacity:0;transform:translate3d(0,24px,0);filter:none;transition:opacity .7s ease,transform .9s cubic-bezier(.16,1,.3,1)}
.motion-ready .reveal.visible{opacity:1;transform:none}
body:not(.enhanced) .hero-copy{animation:none}
@media(min-width:781px){.opening-inner{padding:35px 20px}.hero{height:690px}.couple-stage{max-height:590px}.hero-grid{grid-template-columns:50% 50%}.portrait{height:70%}}
@media(max-width:780px){
  .hero{height:820px;min-height:780px}.hero-grid{grid-template-columns:1fr;grid-template-rows:370px 1fr}.hero-copy{padding:24px 0 0}.hero-copy h1{font-size:84px;margin:14px 0 19px}.hero-copy p{font-size:13px}.hero .portrait{height:89%;width:42%;max-width:205px}.portrait.man{left:12%;bottom:1%}.portrait.woman{right:11%;bottom:-5%}.couple-stage{min-height:330px}.hero-wave{height:76px}
  .nav-pill{font-size:11px;padding:9px 13px}.nav{height:64px}.ulos-corner{width:55px;height:65px}.nav .brand{margin-left:16px}
  .event-card{padding:42px 13px 24px;min-height:310px}.event-card h3{font-size:32px}.event-card p{font-size:12px}.event-card .muted{font-size:11px}.events h2{font-size:43px}.event-cards{max-width:530px}
  .story-grid{grid-template-columns:1fr;gap:24px}.story-photos{height:265px;max-width:310px}.monogram-frame span{font-size:100px}.monogram-frame small{bottom:33px}.story-copy{padding:0 9px 20px}.story-copy h2{font-size:34px}.story-copy p{max-width:490px;margin-left:auto;margin-right:auto}.story-copy .salutation{font-size:11px}.story{padding-top:30px}
  .location-grid{grid-template-columns:1fr;gap:20px;padding-top:0}.location-copy h2{font-size:38px}.location-copy{text-align:center}.location-copy p{margin-left:auto;margin-right:auto}.map-frame iframe{height:310px}.actions{padding-top:36px}.bismillah{font-size:26px}.quote-text{font-size:15px;line-height:1.7}.footer p{font-size:15px}.footer h2{font-size:32px}
}
@media(max-width:380px){.event-cards{grid-template-columns:1fr;max-width:290px}.event-card{min-height:290px}.hero-copy h1{font-size:76px}.hero .portrait{width:44%}.portrait.man{left:8%}.portrait.woman{right:8%}.story-copy h2{font-size:29px}.opening h2{font-size:66px}}
@media(max-height:680px){body.enhanced .opening{place-items:start center}.opening-inner{padding:22px 15px}.opening h2{font-size:60px;margin:10px 0}.opening-orn{font-size:24px;margin:0}.opening-date{margin:14px 0}.envelope{width:140px;height:80px;margin:12px auto 18px}.envelope-seal{top:21px}.opening-note{margin-top:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.motion-ready .reveal{opacity:1;transform:none;filter:none}.ambient{display:none}.portrait:hover{transform:none!important}}
@media print{.opening,.music-dock,.ambient,.skip-link,.button,.calendar-link,.nav,.map-frame,.back-top{display:none!important}body.invitation-locked{height:auto;overflow:visible}.page{overflow:visible}.reveal,.motion-ready .reveal{opacity:1;transform:none}.hero,.events,.story,.footer{break-inside:avoid}.hero{height:650px}}
