:root{color-scheme:light;--ink:#182a43;--blue:#29466a;--gold:#ead4a7;--paper:#edf3fa;--line:#b1bdd0}
*{box-sizing:border-box}body{margin:0;color:var(--ink);font:1.06rem/1.6 Georgia,serif;background:#e8eff8 url('/flowers.webp') center top/cover fixed}body::before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(120deg,#eaf0fa9c,#fffdf298,#dce9f7ac)}[hidden]{display:none!important}
h1,h2,h3,p,blockquote{margin:0}p+p{margin-top:.75rem}h1,h2,h3{font-weight:400;line-height:1.12}h2{font-size:clamp(2rem,5vw,3.45rem);letter-spacing:-.04em;margin-bottom:1.1rem}h3{font-size:1.65rem;margin-bottom:.65rem}small{font-size:.9rem}
.hero{position:relative;isolation:isolate;display:grid;min-height:100svh;align-items:center;padding:3rem max(6vw,1.4rem);color:#fff9ee;background:#111e34;overflow:hidden}.hero-photo,.hero::after{position:absolute;inset:0;z-index:-1}.hero-photo{left:38%;background:url('/photos/biru-2.jpg') center 24%/cover no-repeat}.hero::after{content:"";background:linear-gradient(90deg,#121e32 21%,#121e32d9 40%,#121e3233 75%),linear-gradient(0deg,#0b172c95,transparent 60%)}
.hero-content{width:min(100%,40rem);text-align:center}.hero h1{font-size:clamp(3.15rem,7.4vw,7.25rem);line-height:.97;letter-spacing:-.07em;text-wrap:balance;margin:.8rem 0 1.25rem}.hero h1 i{font-size:.76em;font-weight:400;color:var(--gold)}.eyebrow{font:600 .87rem/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.24em;color:var(--gold)}.date{letter-spacing:.13em}.recipient{display:grid;gap:.1rem;width:min(19rem,100%);border-top:1px solid #ead4a77a;margin:2.2rem auto 1.1rem;padding-top:1rem}.recipient p{margin:0}.recipient strong{font-size:1.28rem;overflow-wrap:anywhere}
button,summary{cursor:pointer}button{border:1px solid transparent;border-radius:100vmax;padding:.7rem 1.2rem;background:var(--blue);color:white;font:600 .92rem system-ui,sans-serif;min-height:44px}button:hover{filter:brightness(1.16)}button:focus-visible,summary:focus-visible{outline:3px solid #6585b7;outline-offset:3px}.hero button{background:var(--gold);color:#182a43}#music-toggle{position:fixed;z-index:5;bottom:1.1rem;right:1.1rem;box-shadow:0 4px 20px #15294052}
.section{max-width:66rem;margin:auto;padding:clamp(2.5rem,7vw,5rem) 1.2rem;text-align:center}.intro{max-width:43rem}.ornament{display:inline-block;margin-bottom:1rem;color:#526d95}.couple{display:grid;grid-template-columns:1fr 3rem 1fr;align-items:center;gap:1.2rem}.couple h2{font-size:clamp(1.85rem,4vw,2.85rem);margin-top:1.3rem}.portrait{display:block;width:min(100%,18rem);height:auto;aspect-ratio:3/4;object-fit:cover;margin:auto;border-radius:48% 48% 1rem 1rem;box-shadow:0 12px 28px #1529403e;border:1px solid #fff}.ampersand{font-size:3rem;color:#526d95;font-style:italic}
.events{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.7rem auto 0;max-width:54rem}.glass{background:#f9fcffd6;border:1px solid #fff;border-radius:1.75rem;padding:clamp(1.25rem,4vw,2.5rem);box-shadow:0 12px 32px #38547423}.event-date{color:#456482;margin-bottom:.7rem}.narrow{max-width:43rem;margin:auto}.galleries{display:grid;grid-template-columns:1fr 1fr;gap:3.3rem 2rem}.galleries>h2{grid-column:1/-1;margin-bottom:0}.album{grid-column:1/-1;min-width:0}.slides{position:relative;isolation:isolate;width:min(100%,19rem);aspect-ratio:3/4;margin:1rem auto;overflow:hidden;border-radius:1.1rem;box-shadow:0 16px 34px #203b6360;background:#8b9db6}.slides img{display:block;position:absolute;width:100%;height:100%;object-fit:contain;background:#17294218;inset:0}.slides img.incoming{animation:float-in 1.25s both}.slides img.outgoing{animation:float-out 1.25s both}@keyframes float-in{from{opacity:0;transform:translateY(10%) scale(1.05);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}@keyframes float-out{from{opacity:1}to{opacity:0;transform:translateY(-6%) scale(1.05);filter:blur(4px)}}.controls{display:flex;justify-content:center;gap:.55rem}.controls .previous,.controls .next{font-size:1.35rem;padding:0 .95rem}.controls .play{min-width:6rem}details{margin:.9rem auto 0}summary{font-weight:bold}form{text-align:left;display:grid;gap:.85rem;margin-top:1.25rem}label{display:grid;gap:.3rem;font:600 .93rem system-ui,sans-serif}input,select,textarea{width:100%;max-width:100%;border-radius:.6rem;border:1px solid var(--line);background:#ffffffeb;color:var(--ink);padding:.7rem;font:1rem system-ui,sans-serif}textarea{resize:vertical}form button{justify-self:start}#reply-status:empty{display:none}.outro{max-width:45rem}.outro blockquote{font-style:italic;font-size:clamp(1.5rem,4vw,2.55rem);line-height:1.3;margin-bottom:.7rem}.outro h2{margin-top:1.7rem}
@media(max-width:660px){.hero{align-items:end;padding:2rem 1.2rem max(2rem,env(safe-area-inset-bottom))}.hero-photo{left:0;background-position:center 16%}.hero::after{background:linear-gradient(0deg,#101d35 3%,#142441ed 22%,#101d3575 57%,#101d3500 90%)}.hero-content{margin-inline:auto}.hero h1{font-size:clamp(3.15rem,12vw,5.3rem)}.recipient{margin-top:1.1rem}.events,.couple,.galleries{grid-template-columns:1fr}.couple{gap:.8rem}.galleries{gap:2.4rem}.portrait{width:min(80%,18rem)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important}}

#music-player { position: fixed; inset: 0 auto auto 0; width: 0; height: 0; overflow: hidden; pointer-events: none; }
#music-player iframe { display: block; width: 320px; height: 200px; border: 0; }
.event-map { margin: 1.25rem auto 0; max-width: 36rem; }
.event-map a { display: inline-block; margin-top: .65rem; padding: .7rem 1.2rem; border-radius: 100vmax; background: var(--blue); color: white; font: 600 .92rem/1.5 system-ui,sans-serif; }
.event-map a:focus-visible { outline: 3px solid #6585b7; outline-offset: 3px; }

.gift-details { max-width: 31rem; margin: 1.25rem auto 0; }
.gift-details summary {
  padding: .75rem 1rem;
  border: 1px solid #b8cde0;
  border-radius: .85rem;
  background: #e9f3fc;
  color: var(--ink);
  font: 600 .95rem/1.4 system-ui, sans-serif;
}
.gift-accounts { display: grid; gap: .7rem; list-style: none; padding: 0; margin: .85rem 0 0; }
.gift-accounts li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1rem;
  border: 1px solid #cfddea;
  border-radius: .85rem;
  background: #fff;
  text-align: left;
}
.gift-account { display: grid; min-width: 0; gap: .18rem; font: 1rem/1.35 system-ui, sans-serif; }
.gift-account strong { color: var(--blue); }
.gift-owner { font-size: .9rem; }
.gift-number { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.gift-accounts button { padding-inline: .85rem; }
#gift-status { margin-top: .65rem; font: .9rem/1.4 system-ui, sans-serif; }
#gift-status:empty { display: none; }
@media (max-width: 430px) {
  .gift-accounts li { grid-template-columns: 1fr; }
  .gift-accounts button { justify-self: start; }
}

.guest-tools { width: min(100%, 23rem); margin: 1rem auto 0; }
.guest-tools summary { color: #fff9ee; font: 600 .95rem system-ui, sans-serif; }
.guest-tools form { padding: .9rem 1rem; border: 1px solid #ffffff50; border-radius: .9rem; background: #172942ee; margin-top: .75rem; }
#guest-feedback { margin: 0; font: .9rem/1.4 system-ui, sans-serif; }
#guest-feedback:empty { display: none; }
.wish-note { font-size: .9rem; }
#wishes:empty { display: none; }
#wishes article { margin-top: .85rem; padding-top: .85rem; text-align: left; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
#wishes article p { white-space: pre-wrap; }

.photo-border, .gift-border { position: relative; isolation: isolate; }
.photo-border { width: min(100%, 18rem); margin: 0 auto; }
.album .photo-border { width: min(100%, 19rem); margin: 1rem auto; }
.photo-border .portrait, .photo-border .slides { width: 100%; margin: 0; }
/* Keep the vines anchored to the frame while photos transition inside it. */
.blue-vines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.blue-vines i { position: absolute; display: block; }
.blue-vines i:nth-child(-n+2) {
  left: 10%; right: 10%; height: 1.75rem;
  background: url('/vine-horizontal.svg?v=bloom') center / 5.5rem 100% repeat-x;
}
.blue-vines i:nth-child(1) { top: -.75rem; }
.blue-vines i:nth-child(2) { bottom: -.75rem; transform: rotate(180deg); }
.blue-vines i:nth-child(n+3) {
  top: 8%; bottom: 8%; width: 1.75rem;
  background: url('/vine-vertical.svg?v=bloom') center / 100% 5.5rem repeat-y;
}
.blue-vines i:nth-child(3) { left: -.75rem; }
.blue-vines i:nth-child(4) { right: -.75rem; transform: rotate(180deg); }
.gift-border { padding-block: clamp(2.25rem, 7vw, 3rem); }
@media(max-width:660px) {
  .couple .photo-border { width: min(80%, 18rem); }
}

.vine-card { position: relative; isolation: isolate; }
.vine-card .blue-vines { z-index: 0; }
.vine-card > :not(.blue-vines) { position: relative; z-index: 1; }
.vine-card .blue-vines i:nth-child(3) { left: -.88rem; }
.vine-card .blue-vines i:nth-child(4) { right: -.88rem; }

.blue-vines::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #7899b88c;
  border-radius: var(--vine-radius, 1rem);
}
.couple .photo-border { --vine-radius: 48% 48% 1rem 1rem; }
.gift-border, .vine-card { --vine-radius: 1.75rem; }
.blue-vines i:nth-child(-n+2) {
  left: 5%; right: 5%;
  height: 2.1rem;
  background-size: 5.8rem 100%;
}
.blue-vines i:nth-child(n+3) {
  top: 5%; bottom: 5%;
  width: 2.1rem;
  background-size: 100% 5.8rem;
}
.blue-vines i:nth-child(1) { top: -1rem; }
.blue-vines i:nth-child(2) { bottom: -1rem; }
.blue-vines i:nth-child(3) { left: -1rem; }
.blue-vines i:nth-child(4) { right: -1rem; }

.photo-border .blue-vines {
  inset: -4%;
  background: url('/vine-photo.svg?v=full-bloom') center / 100% 100% no-repeat;
}
.photo-border .blue-vines::before, .photo-border .blue-vines i { display: none; }

.couple .photo-border .blue-vines { background-image: url('/vine-portrait.svg'); }
