/* ==========================================================
   TEMPLATE 04 — WATERCOLOR GARDEN
   Hand-painted washes, loose florals, scrapbook details.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --paper: #FCFAF6;
  --blush: #F6E3DD;
  --mist: #E4ECF1;
  --sage-bg: #E6ECE0;
  --ink: #5D5263;
  --plum: #7A5C73;
  --mute: #9A8A98;
  --rose: #D98C91;
  --blue: #9DB4C8;
  --sage: #7F9A80;
  --gold: #C9A66B;

  --f-script: 'Sacramento', 'Brush Script MT', cursive;
  --f-serif: 'Lora', Georgia, serif;
  --f-sans: 'Jost', system-ui, sans-serif;

  --col: 480px;
  --vh: 100svh;
  --pad: 1.5rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scrollbar-gutter: stable; background: #EFE7E2; }
body { margin: 0; font-family: var(--f-serif); font-size: 1rem; line-height: 1.7; color: var(--ink); background: #EFE7E2 url(../assets/textures/paper.svg); background-blend-mode: multiply; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; height: var(--vh); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
::selection { background: #F1C9C4; color: var(--plum); }

.invite { position: relative; width: min(100%, var(--col)); margin-inline: auto; background: var(--paper); overflow: hidden; container-type: inline-size; box-shadow: 0 0 70px rgba(122, 92, 115, .18); }
.fixed-col { position: fixed; top: 0; bottom: 0; left: 50%; width: min(100%, var(--col)); margin-left: calc(min(100%, var(--col)) / -2); }
@media (min-width: 992px) {
  .invite { margin-right: 0; }
  .fixed-col { left: auto; right: 0; margin-left: 0; }
}

/* ---------- shared ---------- */
.sec { position: relative; padding: 4.6rem var(--pad) 7.4rem; overflow: hidden; isolation: isolate; text-align: center; background: var(--paper) url(../assets/textures/paper.svg); background-blend-mode: multiply; }
.sec > *:not(.deco):not(.edge) { position: relative; z-index: 2; }
.s-blush { background-color: var(--blush); }
.s-mist { background-color: var(--mist); }
.s-sage { background-color: var(--sage-bg); }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }
.edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 66px; z-index: 1; pointer-events: none; max-width: none; }

.tiny { font-family: var(--f-sans); font-weight: 400; font-size: .64rem; letter-spacing: .38em; text-indent: .38em; text-transform: uppercase; color: var(--mute); }
.script { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.5rem, 11.8cqw, 3.3rem); line-height: 1.08; color: var(--plum); }
.head .script { margin-top: .3rem; }
.stroke { width: 210px; margin: -.9rem auto 0; opacity: .9; position: relative; z-index: -1; }
.note { max-width: 31ch; margin: 1rem auto 0; font-size: .98rem; }
.note b { font-weight: 500; color: var(--plum); }
.divider { width: 260px; margin-inline: auto; }

.btn-w { display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.7rem; border: 1px solid rgba(201, 166, 107, .9); border-radius: 999px; background: linear-gradient(120deg, #F8DDD6, #F7EBDD 50%, #DDE8EF); font-family: var(--f-sans); font-weight: 500; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--plum); box-shadow: 0 14px 22px -14px rgba(122, 92, 115, .55), inset 0 0 0 3px rgba(255, 255, 255, .55); cursor: pointer; transition: transform .6s var(--ease), box-shadow .6s; }
.btn-w i { color: var(--rose); font-size: .85rem; }
.btn-w:hover { color: var(--plum); transform: translateY(-3px); box-shadow: 0 20px 26px -14px rgba(122, 92, 115, .6), inset 0 0 0 3px rgba(255, 255, 255, .55); }
.ig { display: inline-flex; align-items: center; gap: .5rem; padding: .34rem .9rem; border: 1px solid #E6C3C0; border-radius: 999px; background: rgba(255, 255, 255, .6); font-family: var(--f-sans); font-size: .72rem; letter-spacing: .08em; color: var(--plum); cursor: pointer; transition: background .4s; }
.ig i { color: var(--rose); }
.ig:hover { background: #fff; }

/* photo shapes */
.halo { position: relative; aspect-ratio: 1; }
.halo-img { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; box-shadow: 0 18px 30px -18px rgba(122, 92, 115, .6); }
.halo-img img, .brushed img, .blobbed img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) brightness(1.05) contrast(.96); }
.halo-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 80s linear infinite; }
.halo-wreath { position: absolute; left: -22%; top: -22%; width: 144%; max-width: none; }
.brushed { display: block; aspect-ratio: 3 / 4; -webkit-mask: url(../assets/frames/mask-brush.svg) center / 100% 100% no-repeat; mask: url(../assets/frames/mask-brush.svg) center / 100% 100% no-repeat; }
.brushed--wide { aspect-ratio: 16 / 11.5; -webkit-mask-image: url(../assets/frames/mask-brush-2.svg); mask-image: url(../assets/frames/mask-brush-2.svg); }
.blobbed { aspect-ratio: 1; -webkit-mask: url(../assets/frames/mask-blob.svg) center / 100% 100% no-repeat; mask: url(../assets/frames/mask-blob.svg) center / 100% 100% no-repeat; }
.polaroid { position: relative; display: block; padding: 8px 8px 0; background: #fff; box-shadow: 0 16px 26px -16px rgba(93, 82, 99, .55), 0 0 0 1px rgba(93, 82, 99, .06); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.86) brightness(1.04); }
.polaroid figcaption, .polaroid span { display: block; padding: .2rem 0 .4rem; font-family: var(--f-script); font-size: 1.3rem; line-height: 1.2; color: var(--plum); text-align: center; }
.tape { position: relative; }
.tape::before { content: ""; position: absolute; z-index: 3; top: -12px; left: 50%; width: 86px; height: 24px; margin-left: -43px; background: rgba(232, 169, 166, .6); rotate: -4deg; clip-path: polygon(0 0, 4% 25%, 0 50%, 4% 75%, 0 100%, 100% 100%, 96% 75%, 100% 50%, 96% 25%, 100% 0); }
.tape--blue::before { background: rgba(157, 180, 200, .6); rotate: 5deg; }
.tape--sage::before { background: rgba(169, 184, 154, .65); rotate: -2deg; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity 1.2s ease, transform 1.5s var(--ease), filter 1.2s ease; transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); filter: blur(6px); }
[data-reveal="bloom"]:not(.is-in) { transform: scale(.92); filter: blur(14px); }

/* ==========================================================
   COVER
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; background: var(--paper) url(../assets/textures/paper.svg); background-blend-mode: multiply; transition: opacity 1.5s ease, transform 1.7s var(--ease), filter 1.5s ease; }
.cover.is-opening { opacity: 0; transform: scale(1.14); filter: blur(22px); pointer-events: none; }
.cover-wash--a { width: 160%; left: -30%; top: 10%; opacity: .75; }
.cover-wash--b { width: 130%; right: -52%; bottom: -8%; opacity: .7; }
.cover-corner { width: 92%; }
.cover-corner--tl { left: -19%; top: -11%; }
.cover-corner--br { right: -19%; bottom: -11%; scale: -1 -1; }
.cover-body { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.5rem; text-align: center; }
.cover-halo { width: min(56%, 34cqh); margin: clamp(2rem, 7cqh, 3.4rem) 0 clamp(1.6rem, 6cqh, 2.8rem); }
.cover-names { font-family: var(--f-script); font-size: clamp(3.2rem, 16.5cqw, 4.6rem); line-height: 1; color: var(--plum); margin-bottom: .5rem; }
.cover-names span, .side-names span { font-size: .6em; color: var(--rose); }
.cover-guest { margin-top: clamp(.8rem, 2.6cqh, 1.5rem); display: flex; flex-direction: column; }
.cover-guest span { font-style: italic; font-size: .9rem; }
.cover-guest strong { font-weight: 500; font-size: 1.3rem; color: var(--plum); line-height: 1.3; }
.cover .btn-w { margin-top: clamp(.9rem, 2.6cqh, 1.4rem); }
.cv { animation: cvIn 1.5s var(--ease) both; animation-delay: calc(.3s + var(--i) * .15s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: 6.4rem; }
.hero-corner--tl { width: 84%; left: -19%; top: -10%; }
.hero-wash { width: 140%; right: -62%; top: 20%; opacity: .7; }
.hero-names { display: flex; flex-direction: column; margin-top: 1rem; font-family: var(--f-script); font-size: clamp(4.6rem, 23cqw, 6.4rem); line-height: .92; color: var(--plum); }
.hero-names span:first-child { translate: -9% 0; }
.hero-names span:last-child { translate: 9% 0; }
.hero-names i { font-style: normal; font-size: .46em; line-height: 1; color: var(--rose); margin: -.1em 0 -.2em; }
.hero .stroke { width: 230px; margin-top: -.4rem; }
.hero-sub { max-width: 25ch; margin: .6rem auto 0; font-style: italic; font-size: 1.05rem; line-height: 1.5; }
.hero-photo { width: 76%; margin: 4.6rem auto 0; }
.hero-photo-wash { width: 156%; left: -28%; top: -6%; z-index: -1; opacity: .9; }
.hero-garland { width: 126%; left: -13%; top: -17%; z-index: 3; }
.hero-bouquet { width: 46%; right: -21%; bottom: -9%; rotate: 14deg; z-index: 3; animation: float 7s ease-in-out infinite; }
.hero-date { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 3.2rem; }
.hero-date span { font-family: var(--f-sans); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.hero-date strong { padding: 0 .9rem; border-inline: 1px solid var(--gold); font-style: italic; font-weight: 500; font-size: 1.15rem; color: var(--plum); white-space: nowrap; }

/* ==========================================================
   QUOTE
   ========================================================== */
.quote { padding-top: 3rem; padding-inline: 2.2rem; }
.quote-wash { width: 150%; left: -25%; top: 22%; opacity: .7; }
.quote-bouquet { width: 150px; margin: 0 auto .4rem; }
.quote blockquote { margin: 0 0 1rem; font-style: italic; font-size: clamp(1.45rem, 6.8cqw, 1.7rem); line-height: 1.38; color: var(--plum); }
.quote-verse { margin: 1rem 0 1.1rem; font-size: .96rem; }

/* ==========================================================
   COUPLE
   ========================================================== */
.couple-sprig { width: 62%; opacity: .9; }
.couple-sprig--a { right: -30%; top: 2%; rotate: 148deg; }
.couple-sprig--b { left: -30%; bottom: 16%; rotate: -38deg; }
.pair { width: 100%; aspect-ratio: 1 / 1.04; margin-top: 2.4rem; }
.pair-wash { width: 140%; left: -20%; top: 14%; z-index: -1; opacity: .65; }
.pair-a, .pair-b { position: absolute !important; width: 61%; }
.pair-a { left: -1%; top: 0; }
.pair-b { right: -1%; bottom: 0; }
.pair-amp { position: absolute !important; left: 50%; top: 50%; z-index: 4 !important; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 50%; background: var(--paper); box-shadow: 0 10px 18px -10px rgba(122, 92, 115, .6), 0 0 0 1px rgba(201, 166, 107, .5); font-family: var(--f-script); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.pair-bloom { width: 40%; z-index: 3; }
.pair-bloom--a { left: -7%; bottom: -5%; }
.pair-bloom--b { right: -7%; top: -5%; }
.pair-info { margin-top: 2.2rem; }
.pair-info > div { padding: 0 .7rem; }
.pair-info > div + div { border-left: 1px dashed rgba(201, 166, 107, .7); }
.pair-info .script { font-size: clamp(2rem, 9.6cqw, 2.5rem); margin: .2rem 0 .3rem; }
.pair-info p:not(.tiny) { font-size: .88rem; line-height: 1.5; margin-bottom: .8rem; }

/* ==========================================================
   EVENT — painted medallions
   ========================================================== */
.medal { width: 100%; max-width: 356px; aspect-ratio: 1; margin: 2.2rem auto 0; display: grid; place-items: center; }
.medal::before { content: ""; position: absolute; inset: 3.5%; border-radius: 50%; background: rgba(255, 255, 255, .72); box-shadow: 0 26px 36px -26px rgba(122, 92, 115, .5); }
.medal-wash { width: 136%; left: -18%; top: 4%; z-index: -1; opacity: .85; }
.medal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 90s linear infinite; }
.medal-bloom { width: 46%; left: -8%; top: -6%; z-index: 3; }
.medal--b .medal-bloom { left: auto; right: -8%; scale: -1 1; }
.medal--a { translate: -3% 0; }
.medal--b { translate: 3% 0; margin-top: 1.4rem; }
.medal-body { position: relative; width: 68%; }
.medal-body .script { font-size: 2.7rem; line-height: 1; margin: .2rem 0 .35rem; }
.medal-date { font-style: italic; font-size: 1rem; color: var(--plum); }
.medal-time { font-family: var(--f-sans); font-weight: 500; font-size: .68rem; letter-spacing: .2em; margin: .15rem 0 .55rem; }
.medal-place { font-weight: 500; font-size: 1.05rem; line-height: 1.3; color: var(--plum); }
.medal-addr { font-size: .82rem; line-height: 1.4; margin-bottom: .6rem; }

/* ==========================================================
   COUNTDOWN
   ========================================================== */
.countdown { padding-top: 9.4rem; }
.count-garland { width: 112%; left: -6%; top: -26px; }
.drops { display: grid; grid-template-columns: repeat(4, 1fr); gap: .2rem; margin: 1.4rem -.4rem 2.6rem; }
.drop { aspect-ratio: 1 / 1.05; display: grid; place-content: center; background: url(../assets/textures/wash-pink.svg) center / 175% 175% no-repeat; }
.drop--blue { background-image: url(../assets/textures/wash-blue.svg); translate: 0 16px; }
.drop--sage { background-image: url(../assets/textures/wash-sage.svg); }
.drop--peach { background-image: url(../assets/textures/wash-peach.svg); translate: 0 16px; }
.drop strong { font-weight: 500; font-size: 1.95rem; line-height: 1; color: var(--plum); font-variant-numeric: lining-nums tabular-nums; }
.drop span { margin-top: .25rem; font-family: var(--f-sans); font-size: .54rem; letter-spacing: .24em; text-indent: .24em; text-transform: uppercase; color: var(--ink); }

/* ==========================================================
   STORY — a winding path of memories
   ========================================================== */
.path { margin-top: 2.6rem; }
.path-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.memo { display: grid; grid-template-columns: 46% 1fr; gap: 1.1rem; align-items: center; margin-bottom: 2.6rem; text-align: left; }
.memo:last-child { margin-bottom: 0; }
.memo .polaroid { rotate: -4deg; }
.memo--alt { grid-template-columns: 1fr 46%; text-align: right; }
.memo--alt .polaroid { order: 2; rotate: 4deg; }
.memo-year { display: block; font-family: var(--f-script); font-size: 2.8rem; line-height: 1; color: var(--rose); }
.memo h3 { font-style: italic; font-weight: 500; font-size: 1.12rem; line-height: 1.25; color: var(--plum); margin: .1rem 0 .3rem; }
.memo p { font-size: .88rem; line-height: 1.5; }

/* ==========================================================
   GALLERY — scrapbook
   ========================================================== */
.gallery { padding-inline: 1.1rem; }
.gallery-wash { width: 160%; left: -30%; top: 34%; opacity: .6; }
.scrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px 10px; margin-top: 2.8rem; }
.ph { cursor: zoom-in; }
.ph img { transition: transform 1.6s var(--ease); }
.s1 { grid-column: 1 / 8; grid-row: 1; rotate: -3deg; }
.s2 { grid-column: 7 / 13; grid-row: 1; margin: 3.6rem 0 0 -1rem; rotate: 4deg; z-index: 3 !important; align-self: start; }
.round { grid-column: 1 / 7; grid-row: 2; aspect-ratio: 1; margin-top: -.4rem; border-radius: 50%; border: 6px solid #fff; overflow: hidden; box-shadow: 0 16px 26px -16px rgba(93, 82, 99, .55); }
.round img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.86) brightness(1.04); }
.scrap-note { grid-column: 7 / 13; grid-row: 2; align-self: center; font-family: var(--f-script); font-size: 2rem; line-height: 1.05; color: var(--rose); rotate: -6deg; }
.strip { grid-column: 8 / 13; grid-row: 3 / span 2; align-self: start; display: grid; gap: 6px; padding: 7px 7px 22px; background: #fff; rotate: 5deg; box-shadow: 0 16px 26px -16px rgba(93, 82, 99, .55), 0 0 0 1px rgba(93, 82, 99, .06); }
.strip img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; filter: saturate(.86) brightness(1.04); }
.s6 { grid-column: 1 / 8; grid-row: 3; rotate: -2deg; margin-top: .4rem; }
.s7 { grid-column: 2 / 8; grid-row: 4; rotate: 3deg; margin-top: -.2rem; }
.scrap-bloom { z-index: 4; }
.scrap-bloom--a { width: 24%; right: -3%; top: 24%; animation: spin 80s linear infinite; }
.scrap-bloom--b { width: 34%; right: -5%; bottom: -5%; rotate: 12deg; }

/* ==========================================================
   VIDEO
   ========================================================== */
.canvas { position: relative; isolation: isolate; display: block; width: 100%; margin-top: 2.2rem; padding: 0; border: 0; background: none; cursor: pointer; }
.canvas-wash { width: 130%; left: -15%; top: -16%; z-index: -1; }
.canvas-play { position: absolute; left: 50%; top: 50%; width: 66px; height: 66px; margin: -33px 0 0 -33px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #E39A93, #EDB79A); color: #fff; font-size: 1rem; padding-left: 4px; box-shadow: 0 0 0 9px rgba(255, 255, 255, .45), 0 14px 22px -8px rgba(122, 92, 115, .6); transition: transform .6s var(--ease); }
.canvas:hover .canvas-play { transform: scale(1.1); }
.canvas-sprig { width: 54%; left: -14%; bottom: -15%; rotate: -18deg; z-index: 3; }
.video .note { margin-top: 2.2rem; font-style: italic; }

/* ==========================================================
   LIVE
   ========================================================== */
.live-halo { width: 54%; margin: 0 auto 1.2rem; }
.live-badge { position: absolute; left: 50%; bottom: 3%; translate: -50% 0; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .85rem; border-radius: 999px; background: #fff; box-shadow: 0 8px 14px -8px rgba(122, 92, 115, .6); font-family: var(--f-sans); font-size: .58rem; letter-spacing: .28em; text-transform: uppercase; color: var(--plum); }
.live-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.live .btn-w { margin-top: 1.5rem; }

/* ==========================================================
   RSVP
   ========================================================== */
.card-note { margin-top: 2.6rem; padding: 2.6rem 1.6rem 2rem; text-align: left; background: #fff url(../assets/textures/paper.svg); background-blend-mode: multiply; border-radius: 4px; rotate: -.8deg; box-shadow: 0 26px 40px -26px rgba(93, 82, 99, .55), 0 0 0 1px rgba(93, 82, 99, .05); }
.card-note::before { width: 110px; margin-left: -55px; top: -13px; }
.lbl { display: block; margin-bottom: .4rem; font-family: var(--f-sans); font-weight: 500; font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--mute); }
.fld { width: 100%; padding: .4rem 0; border: 0; border-bottom: 1.5px dotted #BDAEB9; border-radius: 0; background: transparent; font-family: var(--f-serif); font-size: 1.1rem; color: var(--plum); outline: 0; transition: border-color .4s; }
.fld::placeholder { color: rgba(93, 82, 99, .4); font-style: italic; }
.fld:focus { border-bottom-color: var(--rose); border-bottom-style: solid; }
.fld.is-invalid { border-bottom: 1.5px solid #D0666C; }
textarea.fld { resize: none; padding: .7rem .9rem; border: 1.5px dotted #BDAEB9; border-radius: 14px; font-size: 1rem; line-height: 1.5; }
textarea.fld:focus { border-color: var(--rose); border-style: solid; }
.choice { display: flex; gap: .45rem; }
.choice label { flex: 1; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: .6rem .2rem; border: 1px solid #E6D3CF; border-radius: 999px; text-align: center; font-family: var(--f-sans); font-size: .74rem; letter-spacing: .06em; white-space: nowrap; transition: background .4s, border-color .4s, color .4s; }
.choice label:nth-child(1) input:checked + span { background: #F8DDD6; border-color: var(--rose); color: var(--plum); }
.choice label:nth-child(2) input:checked + span { background: #DDE8EF; border-color: var(--blue); color: var(--plum); }
.choice label:nth-child(3) input:checked + span { background: #F7E6D2; border-color: var(--gold); color: var(--plum); }
.choice input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; font-size: 1.2rem; line-height: 1; color: var(--plum); transition: background .3s; }
.stepper button:hover { background: #F8DDD6; }
.stepper output { width: 3rem; text-align: center; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--plum); font-variant-numeric: lining-nums; }
.stepper em { margin-left: .3rem; }
.rsvp-done { text-align: center; animation: cvIn 1.2s var(--ease) both; }
.rsvp-done img { width: 130px; margin: 0 auto; }
.rsvp-done p { max-width: 27ch; margin: .3rem auto 1rem; }
.link-btn { border: 0; background: none; font-style: italic; color: var(--rose); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES
   ========================================================== */
.wishes-sprig { width: 62%; right: -30%; top: 1%; rotate: 158deg; opacity: .9; }
.notes { list-style: none; margin: 2rem 0 0; padding: 6px 6px 6px 4px; max-height: 510px; overflow-y: auto; text-align: left; scrollbar-width: thin; scrollbar-color: #E6C3C0 transparent; }
.nt { position: relative; margin-bottom: 14px; padding: 1.15rem 1.2rem 1.05rem 4.1rem; background: var(--blush); border-radius: 26px 36px 28px 38px / 32px 26px 36px 28px; rotate: -.6deg; }
.nt:nth-child(3n + 2) { background: var(--mist); rotate: .6deg; border-radius: 36px 26px 38px 28px / 26px 34px 28px 36px; }
.nt:nth-child(3n) { background: var(--sage-bg); }
.nt.is-new { animation: cvIn 1.2s var(--ease) both; }
.nt-init { position: absolute; left: 1rem; top: 1rem; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .7); font-family: var(--f-script); font-size: 1.7rem; line-height: 1; color: var(--rose); }
.nt-text { font-style: italic; font-size: .98rem; line-height: 1.52; }
.nt-by { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin-top: .6rem; }
.nt-by b { font-family: var(--f-sans); font-weight: 500; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); }
.nt-by span { margin-left: auto; font-family: var(--f-sans); font-size: .62rem; opacity: .7; }
.pill { padding: .14rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .75); font-family: var(--f-sans); font-style: normal; font-size: .54rem; letter-spacing: .14em; text-transform: uppercase; color: #64846A; }
.pill--no { color: #BF6F77; } .pill--maybe { color: #A98345; }

/* ==========================================================
   GIFT — envelope
   ========================================================== */
.env { width: min(100%, 320px); aspect-ratio: 1.45; margin: 7.4rem auto 0; }
.env-back { position: absolute; inset: 0; z-index: 1; border-radius: 6px; background: #FBF1EA; box-shadow: 0 30px 40px -24px rgba(122, 92, 115, .6); }
.env-back::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 48%; background: #F2DDD4; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.env-card { position: absolute; z-index: 2; left: 7%; right: 7%; bottom: 44%; padding: 1.1rem .8rem 4rem; text-align: center; background: #fff url(../assets/textures/paper.svg); background-blend-mode: multiply; border-radius: 4px; box-shadow: 0 0 0 1px rgba(201, 166, 107, .5), inset 0 0 0 5px #fff, inset 0 0 0 6px rgba(201, 166, 107, .35); transition: transform 1.6s var(--ease) .5s; }
.env:not(.is-in) .env-card { transform: translateY(46%); }
.env-bank { font-family: var(--f-script); font-size: 2.3rem; line-height: 1.1; color: var(--rose); }
.env-no { font-weight: 500; font-size: 1.45rem; letter-spacing: .08em; line-height: 1.2; color: var(--plum); font-variant-numeric: lining-nums; }
.env-name { font-style: italic; font-size: .95rem; }
.env-front { position: absolute; inset: 0; z-index: 3; border-radius: 6px; background: linear-gradient(#FDF7F2, #F9ECE4); clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); }
.env-seal { position: absolute; z-index: 4; left: 50%; top: 56%; width: 70px; margin: -35px 0 0 -35px; }
.gift .ig { margin-top: 1.3rem; }
.send { margin-top: 2.4rem; }
.send .script { font-size: 2.6rem; }
.send p { max-width: 28ch; margin: .2rem auto 1.3rem; font-size: .96rem; }

/* ==========================================================
   LOCATION
   ========================================================== */
.mapbox { width: 84%; margin: 2.4rem auto 0; }
.mapbox-pin { position: absolute; left: 50%; top: 46%; width: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; animation: float 4s ease-in-out infinite; }
.mapbox-pin img { grid-area: 1 / 1; width: 100%; }
.mapbox-pin i { grid-area: 1 / 1; font-size: 1.3rem; color: #fff; filter: drop-shadow(0 2px 3px rgba(122, 92, 115, .6)); }
.mapbox-venue { position: absolute !important; width: 38%; right: -9%; bottom: -5%; }
.mapbox-sprig { width: 62%; left: -26%; bottom: -5%; rotate: -32deg; z-index: 3; }
.loc { margin-top: 2.8rem; }
.loc .script { font-size: clamp(2.5rem, 12cqw, 3rem); }
.loc p { margin: .4rem 0 1.4rem; font-size: .96rem; }

/* ==========================================================
   CLOSING + FOOTER
   ========================================================== */
.closing { padding-top: 6rem; }
.closing-corner { width: 60%; }
.closing-corner--tl { left: -15%; top: -5%; }
.closing-corner--br { right: -15%; bottom: 30px; scale: -1 -1; opacity: .9; }
.closing-photo { width: 74%; margin: 0 auto; }
.closing-wash { width: 150%; left: -25%; top: 6%; z-index: -1; }
.closing-title { margin-top: -1.9rem; font-family: var(--f-script); font-size: clamp(4.6rem, 23cqw, 6.2rem); line-height: 1; color: var(--plum); text-shadow: 0 0 18px var(--paper), 0 0 6px var(--paper); z-index: 3 !important; }
.closing-sub { font-style: italic; font-size: 1.2rem; color: var(--rose); }
.closing-names { margin: 1.6rem 0 .2rem; font-family: var(--f-script); font-size: 2.8rem; line-height: 1.1; color: var(--plum); }

.footer { padding: .6rem var(--pad) 7rem; text-align: center; background: var(--blush) url(../assets/textures/paper.svg); background-blend-mode: multiply; }
.footer-bouquet { width: 120px; margin: 0 auto; }
.footer-names { font-family: var(--f-script); font-size: 2.5rem; line-height: 1.1; color: var(--plum); }
.footer-credit { margin-top: 1rem; font-size: .8rem; font-style: italic; opacity: .6; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .9s; overflow: hidden; }
body.is-open .ui { opacity: 1; }
.ui > *:not(.petals) { pointer-events: auto; }
.dock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: .1rem; padding: .32rem .4rem; border-radius: 999px; background: rgba(255, 255, 255, .92); box-shadow: 0 16px 26px -14px rgba(122, 92, 115, .6), 0 0 0 1px rgba(201, 166, 107, .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dock a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #BBAAB6; transition: background .4s, color .4s; }
.dock a.is-active { background: linear-gradient(135deg, #EDB1AC, #F3C9A8); color: #fff; }
.fab { position: absolute; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 166, 107, .8); background: #fff; color: var(--rose); font-size: .9rem; box-shadow: 0 12px 20px -10px rgba(122, 92, 115, .6); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.fab--music { bottom: 76px; }
.fab--music.is-playing i { animation: spin 5s linear infinite; }
.fab--music:not(.is-playing) { color: #C9BCC6; }
.fab--top { bottom: 130px; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.toast-inv { position: absolute; left: 50%; bottom: 76px; translate: -50% 0; width: max-content; max-width: 76%; padding: .55rem 1.2rem; border-radius: 999px; background: #fff; border: 1px solid #E6C3C0; color: var(--plum); font-style: italic; font-size: .95rem; line-height: 1.3; text-align: center; box-shadow: 0 12px 20px -10px rgba(122, 92, 115, .5); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.petals { position: absolute; inset: 0; }
.petals img { position: absolute; top: -60px; width: 18px; opacity: 0; }
body.is-open .petals img { animation: drift 15s linear infinite; }
.petals img:nth-child(1) { left: 10%; animation-duration: 16s !important; }
.petals img:nth-child(2) { left: 30%; width: 14px; animation-duration: 21s !important; animation-delay: 4s !important; }
.petals img:nth-child(3) { left: 54%; animation-duration: 18s !important; animation-delay: 8s !important; }
.petals img:nth-child(4) { left: 72%; width: 15px; animation-duration: 23s !important; animation-delay: 2s !important; }
.petals img:nth-child(5) { left: 88%; animation-duration: 19s !important; animation-delay: 11s !important; }
.petals img:nth-child(6) { left: 42%; width: 13px; animation-duration: 25s !important; animation-delay: 14s !important; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) rotate(0); opacity: 0; }
  8% { opacity: .8; }
  30% { transform: translate3d(30px, 34vh, 0) rotate(120deg); }
  60% { transform: translate3d(-24px, 68vh, 0) rotate(240deg); }
  92% { opacity: .8; }
  100% { transform: translate3d(18px, 112vh, 0) rotate(400deg); opacity: 0; }
}
.grain { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(252, 250, 246, .97); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; padding: 10px 10px 0; background: #fff; text-align: center; rotate: -1.2deg; box-shadow: 0 30px 50px -26px rgba(93, 82, 99, .6), 0 0 0 1px rgba(93, 82, 99, .06); }
.lb-media img { max-width: min(80vw, 860px); max-height: 66vh; }
.lb-media iframe { display: block; width: min(88vw, 940px); aspect-ratio: 16 / 9; border: 0; background: #000; }
.lb-fig figcaption { padding: .4rem 0 .6rem; }
.lb-cap { display: block; font-family: var(--f-script); font-size: 1.9rem; line-height: 1.1; color: var(--plum); }
.lb-count { display: block; font-family: var(--f-sans); font-size: .55rem; letter-spacing: .36em; color: var(--mute); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(201, 166, 107, .8); background: #fff; color: var(--rose); display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; translate: 0 -50%; } .lb-next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox.is-video .lb-prev, .lightbox.is-video .lb-next, .lightbox.is-video figcaption { display: none; }
.lightbox.is-video .lb-fig { rotate: 0deg; padding-bottom: 10px; }

/* desktop side */
.side { position: fixed; left: 0; top: 0; bottom: 0; width: calc(100% - var(--col)); align-items: center; justify-content: center; text-align: center; overflow: hidden; background: var(--paper) url(../assets/textures/paper.svg); background-blend-mode: multiply; }
.side-wash { position: absolute; max-width: none; }
.side-wash--a { width: 90%; left: -14%; top: 4%; opacity: .8; }
.side-wash--b { width: 80%; right: -18%; bottom: -6%; opacity: .7; }
.side-body { position: relative; width: min(74vh, 78%); aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.side-wreath { position: absolute; inset: 0; width: 100%; height: 100%; }
.side-body > *:not(.side-wreath) { position: relative; }
.side-names { font-family: var(--f-script); font-size: clamp(3.4rem, 5.4vw, 6rem); line-height: 1.1; color: var(--plum); margin: .6rem 0; }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .medal-body .script { font-size: 2.4rem; }
  .medal-addr { font-size: .78rem; }
  .card-note { padding-inline: 1.3rem; }
  .dock a { width: 35px; height: 35px; }
}
.is-shot .ui { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { transition-duration: .01s; }
}
