/* ==========================================================
   TEMPLATE 07 — TROPICAL LUXE
   Bold flat botanicals, colour-blocking, rattan and sun.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --deep: #1F3B2E;
  --palm: #3F6B4F;
  --sage: #A9C1A0;
  --terra: #C8643C;
  --terra-d: #A84E2B;
  --coral: #F2A88A;
  --sand: #F3E7D3;
  --cream: #FBF5EA;
  --raffia: #D4A657;
  --ink: #24352B;

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-sans: 'Outfit', system-ui, sans-serif;

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

html { scrollbar-gutter: stable; background: #142920; }
body { margin: 0; font-family: var(--f-sans); font-weight: 300; font-size: 1rem; line-height: 1.65; color: var(--ink); background: #142920 url(../assets/textures/cane-dark.svg) 0 0 / 34px; -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 { margin: 0; font-weight: inherit; }
button { font: inherit; color: inherit; }
em { font-style: italic; }
::selection { background: var(--terra); color: var(--cream); }

.invite { position: relative; width: min(100%, var(--col)); margin-inline: auto; background: var(--sand); overflow: hidden; container-type: inline-size; box-shadow: 0 0 80px rgba(0, 0, 0, .5); }
.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.4rem var(--pad) 6.4rem; overflow: hidden; isolation: isolate; text-align: center; }
.sec > *:not(.deco):not(.wave) { position: relative; z-index: 2; }
.s-sand { background: var(--sand); }
.s-cream { background: var(--cream); }
.s-deep { background: var(--deep); color: #DCE6D6; }
.s-terra { background: var(--terra); color: #FBE9DC; }
.s-coral { background: var(--coral); }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 34px; z-index: 3; max-width: none; pointer-events: none; }

.tag-t { font-weight: 500; font-size: .66rem; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--terra); }
.tag-t--sand { color: var(--raffia); }
.s-terra .tag-t--sand { color: #FBD9B6; }
.ttl-t { font-family: var(--f-display); font-size: clamp(2.5rem, 12cqw, 3.2rem); line-height: 1.02; color: var(--deep); margin: .5rem 0 .7rem; }
.ttl-t em { color: var(--terra); }
.ttl-t--sand { color: var(--cream); }
.ttl-t--sand em { color: var(--raffia); }
.s-terra .ttl-t--sand em { color: #FFD9A8; }
.squig { width: 130px; margin-inline: auto; }
.note-t { max-width: 31ch; margin: .9rem auto 0; }
.note-t b { font-weight: 500; }
.note-t--sand { color: inherit; }

.btn-t { display: inline-flex; align-items: center; gap: .8rem; padding: .95rem 1.6rem; border: 2px solid var(--deep); border-radius: 999px; background: var(--terra); font-weight: 600; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--cream); box-shadow: 4px 5px 0 var(--deep); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn-t:hover { color: var(--cream); transform: translate(3px, 4px); box-shadow: 1px 1px 0 var(--deep); }
.s-deep .btn-t, .cover .btn-t { border-color: var(--sand); box-shadow: 4px 5px 0 var(--sand); }
.s-deep .btn-t:hover, .cover .btn-t:hover { box-shadow: 1px 1px 0 var(--sand); }
.btn-t--sand { background: var(--sand); color: var(--deep); }
.btn-t--sand:hover { color: var(--deep); }
.chip-t { display: inline-flex; align-items: center; gap: .5rem; padding: .32rem .95rem; border: 1.5px solid var(--deep); border-radius: 999px; background: transparent; font-weight: 500; font-size: .74rem; color: var(--deep); cursor: pointer; transition: background .3s, color .3s; }
.chip-t:hover { background: var(--deep); color: var(--cream); }
.chip-t--sand { border-color: var(--sand); color: var(--sand); }
.chip-t--sand:hover { background: var(--sand); color: var(--deep); }

/* arch photo with sun behind */
.archp { position: relative; }
.archp-img { position: relative; z-index: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px 18px 18px; overflow: hidden; }
.archp-img img, .peb img, .ph img, .reelbox-img img, .tmap-venue img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.archp-sun { position: absolute; z-index: 0; width: 104%; max-width: none; left: -2%; top: -19%; animation: spin 80s linear infinite; }
.peb { -webkit-mask: url(../assets/frames/pebble-1.svg) center / 100% 100% no-repeat; mask: url(../assets/frames/pebble-1.svg) center / 100% 100% no-repeat; aspect-ratio: 1; }
.peb--2 { -webkit-mask-image: url(../assets/frames/pebble-2.svg); mask-image: url(../assets/frames/pebble-2.svg); }
.peb--3 { -webkit-mask-image: url(../assets/frames/pebble-3.svg); mask-image: url(../assets/frames/pebble-3.svg); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway { 50% { transform: rotate(4deg); } }

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(26px); }
[data-reveal="fade"]:not(.is-in) { transform: none; }
[data-reveal="left"]:not(.is-in) { transform: translateX(-46px); }
[data-reveal="right"]:not(.is-in) { transform: translateX(46px); }
[data-reveal="rise"]:not(.is-in) { transform: translateY(70px); }
[data-reveal="pop"] { transition-timing-function: ease, var(--spring); }
[data-reveal="pop"]:not(.is-in) { transform: scale(.6); }

/* ==========================================================
   COVER — parting leaves
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; }
.cover-bg { position: absolute; inset: 0; background: var(--deep) url(../assets/textures/cane-dark.svg) 0 0 / 30px; transition: opacity .9s ease .9s; }
.cover-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.4rem 1.6rem; text-align: center; color: var(--sand); transition: opacity .7s ease; }
.cover-arch { width: min(50%, calc(34cqh * .75)); margin: clamp(2.6rem, 8cqh, 4rem) 0 clamp(1rem, 3cqh, 1.6rem); }
.cover-names { font-family: var(--f-display); font-size: clamp(2.8rem, 14cqw, 3.8rem); line-height: 1.05; color: var(--cream); margin-bottom: .5rem; }
.cover-names em, .side-names em { color: var(--raffia); }
.cover-guest { margin-top: clamp(.7rem, 2.4cqh, 1.4rem); display: flex; flex-direction: column; }
.cover-guest span { font-size: .82rem; }
.cover-guest strong { font-family: var(--f-display); font-weight: 400; font-size: 1.4rem; color: var(--cream); line-height: 1.3; }
.cover .btn-t { margin-top: clamp(.9rem, 2.6cqh, 1.4rem); }
.lf { position: absolute; z-index: 3; max-width: none; pointer-events: none; transition: transform 1.6s cubic-bezier(.6, 0, .2, 1); }
.lf--1 { width: 62%; left: -24%; top: -7%; rotate: 128deg; animation: sway 9s ease-in-out infinite; }
.lf--2 { width: 96%; right: -42%; top: -6%; rotate: 158deg; }
.lf--3 { width: 34%; left: -9%; bottom: -12%; rotate: 24deg; animation: sway 11s ease-in-out infinite reverse; }
.lf--4 { width: 58%; right: -22%; bottom: -9%; rotate: -34deg; }
.lf--5 { width: 80%; left: -40%; top: 34%; rotate: -64deg; }
.lf--6 { width: 24%; right: 4%; bottom: 17%; rotate: 16deg; }
.cover.is-opening { pointer-events: none; }
.cover.is-opening .cover-body, .cover.is-opening .cover-bg { opacity: 0; }
.cover.is-opening .lf--1, .cover.is-opening .lf--5 { transform: translate(-130%, -40%) rotate(-30deg); }
.cover.is-opening .lf--3 { transform: translate(-150%, 60%) rotate(-40deg); }
.cover.is-opening .lf--2 { transform: translate(110%, -50%) rotate(30deg); }
.cover.is-opening .lf--4, .cover.is-opening .lf--6 { transform: translate(140%, 60%) rotate(40deg); }
.cv { animation: cvIn 1.1s var(--ease) both; animation-delay: calc(.3s + var(--i) * .12s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(24px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: 4rem; }
.hero-palm { width: 96%; right: -50%; top: -8%; rotate: 150deg; }
.hero-monstera { width: 62%; left: -30%; top: 30%; rotate: 60deg; }
.hero-names { display: grid; margin-top: .9rem; font-family: var(--f-display); font-size: clamp(4.4rem, 22cqw, 6rem); line-height: .92; color: var(--deep); }
.hero-names span:first-child { justify-self: start; padding-left: 6%; }
.hero-names span:last-child { justify-self: end; padding-right: 6%; }
.hero-names em { justify-self: center; width: 62px; height: 62px; margin: -.24em 0 -.2em; display: grid; place-items: center; border-radius: 50%; background: var(--terra); font-size: 2.1rem; line-height: 1; color: var(--cream); z-index: 2; }
.hero-arch { width: 70%; margin: 5.2rem auto 0; }
.kenburns { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero-banana { width: 36%; left: -24%; bottom: -8%; rotate: -22deg; z-index: 2; transform-origin: 50% 100%; animation: sway 8s ease-in-out infinite; }
.hero-hibiscus { width: 30%; right: -12%; bottom: 8%; z-index: 2; }
.badge-t { position: absolute; z-index: 3; right: -15%; top: 20%; width: 92px; height: 92px; display: grid; place-content: center; border-radius: 50%; background: var(--deep); font-weight: 500; font-size: .62rem; line-height: 1.3; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); rotate: 12deg; box-shadow: 0 0 0 3px var(--sand), 0 0 0 5px var(--deep); }
.badge-t b { font-family: var(--f-display); font-weight: 400; font-size: 1.9rem; line-height: 1; letter-spacing: 0; color: var(--raffia); }
.hero-note { max-width: 29ch; margin: 2rem auto 0; }

/* ==========================================================
   QUOTE
   ========================================================== */
.quote { padding-inline: 2.2rem; }
.quote-leaf { width: 84%; right: -40%; bottom: -8%; rotate: -24deg; opacity: .45; }
.quote-hib { width: 82px; margin: 0 auto 1.2rem; }
.quote blockquote { margin: 0 0 1.2rem; font-family: var(--f-display); font-size: clamp(2rem, 9.6cqw, 2.5rem); line-height: 1.12; color: var(--cream); }
.quote blockquote em { color: var(--raffia); }
.quote-verse { margin: 1.3rem 0 1rem; font-size: .95rem; }

/* ==========================================================
   COUPLE
   ========================================================== */
.duo { display: grid; grid-template-columns: 54% 1fr; gap: 1.2rem; align-items: end; margin-top: 2.6rem; text-align: left; }
.duo--alt { grid-template-columns: 1fr 54%; text-align: right; }
.duo--alt .duo-arch { order: 2; }
.duo-arch { padding: 10px 10px 0; border-radius: 999px 999px 0 0; }
.duo-arch--terra { background: var(--terra); margin-left: calc(var(--pad) * -.4); }
.duo-arch--green { background: var(--palm); margin-right: calc(var(--pad) * -.4); }
.duo-arch .archp-img { border-radius: 999px 999px 0 0; aspect-ratio: 3 / 4.1; }
.duo-leaf { width: 96%; z-index: 2; }
.duo-arch--terra .duo-leaf { width: 80%; left: -46%; bottom: -12%; rotate: -50deg; }
.duo-arch--green .duo-leaf { width: 56%; right: -30%; bottom: -10%; rotate: 30deg; }
.duo-info { padding-bottom: 1rem; position: relative; z-index: 3; }
.duo-info h3 { font-family: var(--f-display); font-size: clamp(2rem, 9.4cqw, 2.5rem); line-height: 1; color: var(--deep); margin: .4rem 0 .5rem; }
.duo-info h3 em { display: block; color: var(--terra); }
.duo-info p:not(.tag-t) { font-size: .86rem; line-height: 1.5; margin-bottom: .8rem; }
.duo-info .tag-t { text-indent: 0; }

/* ==========================================================
   EVENT — luggage tags
   ========================================================== */
.event-sun { width: 110%; left: -5%; top: -34%; opacity: .5; animation: spin 120s linear infinite; }
.tags { margin-top: 2.6rem; }
.ltag { position: relative; max-width: 310px; margin: 0 auto; padding: 4.2rem 1.5rem 2rem; color: var(--ink); background: var(--sand) url(../assets/textures/linen.svg); clip-path: polygon(22% 0, 78% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); border-radius: 0 0 22px 22px; rotate: -2.5deg; filter: drop-shadow(0 20px 20px rgba(60, 20, 0, .35)); }
.ltag--alt { margin-top: 2rem; rotate: 2.5deg; background: var(--deep) url(../assets/textures/cane-dark.svg) 0 0 / 28px; color: #DCE6D6; }
.ltag-hole { position: absolute; left: 50%; top: 1.3rem; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 5px var(--raffia); }
.ltag h3 { font-family: var(--f-display); font-size: 2.5rem; line-height: 1; color: var(--deep); margin: .5rem 0 .9rem; }
.ltag h3 em { color: var(--terra); }
.ltag--alt h3 { color: var(--cream); } .ltag--alt h3 em { color: var(--raffia); }
.ltag-date { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: .5rem 0; border-block: 1.5px dashed currentColor; }
.ltag-date strong { font-family: var(--f-display); font-weight: 400; font-size: 3.6rem; line-height: 1; color: var(--terra); }
.ltag--alt .ltag-date strong { color: var(--raffia); }
.ltag-date span { text-align: left; font-weight: 500; font-size: .68rem; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; }
.ltag-time { margin-top: .8rem; font-weight: 500; font-size: .86rem; letter-spacing: .06em; }
.ltag-place { margin: .5rem auto 1rem; max-width: 26ch; font-size: .86rem; line-height: 1.5; }
.ltag-place b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 1.25rem; }

/* ==========================================================
   COUNTDOWN — rattan rings
   ========================================================== */
.count-palm { width: 90%; opacity: .55; }
.count-palm--l { left: -50%; top: -6%; rotate: 40deg; }
.count-palm--r { right: -50%; bottom: -2%; rotate: 220deg; }
.rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.6rem -.2rem 2.2rem; }
.ring { aspect-ratio: 1; display: grid; place-content: center; border-radius: 50%; background: var(--deep); box-shadow: inset 0 0 0 2px var(--raffia), inset 0 0 0 7px var(--deep), inset 0 0 0 8px rgba(212, 166, 87, .6); background: radial-gradient(circle, var(--deep) 0 58%, transparent 59%), url(../assets/textures/cane.svg) center / 16px, var(--palm); }
.ring strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 7.4cqw, 1.9rem); line-height: 1; color: var(--cream); font-variant-numeric: tabular-nums; }
.ring span { font-weight: 500; font-size: .52rem; letter-spacing: .18em; text-indent: .18em; text-transform: uppercase; color: var(--raffia); }

/* ==========================================================
   STORY
   ========================================================== */
.steps { margin-top: 2.4rem; }
.step { display: grid; grid-template-columns: 44% 1fr; gap: 1.2rem; align-items: center; margin-bottom: 1.6rem; text-align: left; }
.step--alt { grid-template-columns: 1fr 44%; text-align: right; }
.step--alt .peb { order: 2; }
.step-year { display: block; font-family: var(--f-display); font-size: 3.2rem; line-height: .95; color: var(--terra); }
.step h3 { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.1; color: var(--deep); margin: .2rem 0 .3rem; }
.step p { font-size: .86rem; line-height: 1.5; }

/* ==========================================================
   GALLERY — mosaic with colour blocks
   ========================================================== */
.gallery-leaf { width: 44%; right: -16%; top: 0; rotate: 28deg; }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 2.2rem; }
.ph { display: block; overflow: hidden; border-radius: 18px; cursor: zoom-in; }
.ph img { transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.07); }
.blk { display: grid; place-items: center; border-radius: 18px; }
.blk--terra { background: var(--terra); } .blk--terra img { width: 76%; animation: spin 50s linear infinite; }
.blk--green { background: var(--deep); color: var(--cream); }
.blk--green p { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.05; }
.blk--green em { color: var(--raffia); }
.m1 { grid-column: 1 / 5; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 18px 18px; }
.m2 { grid-column: 5 / 7; border-radius: 999px; }
.m3 { grid-column: 1 / 3; aspect-ratio: 2 / 2.6; border-radius: 18px 18px 999px 999px; }
.m4 { grid-column: 3 / 7; aspect-ratio: 4 / 2.55; }
.m5 { grid-column: 1 / 7; aspect-ratio: 16 / 9; border-radius: 120px 18px 120px 18px; }
.m6 { grid-column: 1 / 3; border-radius: 18px 18px 18px 90px; }
.m7 { grid-column: 3 / 5; aspect-ratio: 2 / 3; border-radius: 999px; }
.m8 { grid-column: 5 / 7; border-radius: 18px 90px 18px 18px; }
.m9 { grid-column: 2 / 6; aspect-ratio: 2 / 1; border-radius: 18px 18px 999px 999px; }

/* ==========================================================
   VIDEO
   ========================================================== */
.reelbox { position: relative; display: block; width: 100%; margin-top: 1.8rem; padding: 0; border: 0; background: none; cursor: pointer; }
.reelbox-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 26px; border: 3px solid var(--deep); box-shadow: 7px 8px 0 var(--deep); }
.reelbox-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--deep); background: var(--terra); color: var(--cream); padding-left: 4px; box-shadow: 3px 4px 0 var(--deep); transition: transform .5s var(--spring); }
.reelbox:hover .reelbox-play { transform: scale(1.12); }
.reelbox-leaf { width: 44%; left: -16%; bottom: -24%; rotate: 34deg; z-index: 2; }
.video .note-t { margin-top: 1.8rem; }

/* ==========================================================
   LIVE
   ========================================================== */
.sunlive { width: 170px; height: 170px; margin: 0 auto .6rem; display: grid; place-items: center; }
.sunlive img { position: absolute; inset: 0; width: 100%; animation: spin 40s linear infinite; }
.sunlive span { position: relative; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cream); }
.sunlive i { width: 8px; height: 8px; border-radius: 50%; background: var(--cream); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.live .btn-t { margin-top: 1.5rem; }

/* ==========================================================
   RSVP
   ========================================================== */
.rsvp-leaf { width: 70%; left: -34%; top: -6%; rotate: 130deg; opacity: .5; }
.sheet-t { margin-top: 2.2rem; padding: 3.4rem 1.6rem 2.2rem; text-align: left; color: var(--ink); border-radius: 26px; background: var(--sand) url(../assets/textures/linen.svg); box-shadow: 7px 8px 0 var(--terra); overflow: hidden; }
.sheet-t::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 26px; background: var(--deep) url(../assets/textures/cane.svg) center / 20px; }
.lbl { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--terra); }
.fld { width: 100%; padding: .7rem 1rem; border: 1.5px solid var(--deep); border-radius: 14px; background: var(--cream); font-family: var(--f-sans); font-weight: 400; font-size: 1rem; color: var(--deep); outline: 0; transition: box-shadow .3s var(--ease); }
.fld::placeholder { color: rgba(36, 53, 43, .4); }
.fld:focus { box-shadow: 3px 4px 0 var(--raffia); }
.fld.is-invalid { border-color: var(--terra); box-shadow: 3px 4px 0 var(--terra); }
textarea.fld { resize: none; line-height: 1.5; }
.choice { display: flex; gap: .4rem; }
.choice label { flex: 1; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; padding: .65rem .1rem; border: 1.5px solid var(--deep); border-radius: 999px; text-align: center; font-weight: 500; font-size: .78rem; white-space: nowrap; transition: background .3s, color .3s; }
.choice input:checked + span { background: var(--deep); color: var(--cream); }
.choice input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--deep); background: var(--cream); font-size: 1.2rem; line-height: 1; transition: background .3s, color .3s; }
.stepper button:hover { background: var(--deep); color: var(--cream); }
.stepper output { width: 3rem; text-align: center; font-family: var(--f-display); font-size: 1.7rem; line-height: 1; color: var(--deep); }
.stepper em { margin-left: .3rem; font-style: normal; }
.rsvp-done { text-align: center; animation: cvIn 1s var(--ease) both; }
.rsvp-done img { width: 80px; margin: 0 auto .6rem; }
.rsvp-done h3 { font-family: var(--f-display); font-size: 2.3rem; color: var(--deep); }
.rsvp-done h3 em { color: var(--terra); }
.rsvp-done p { max-width: 28ch; margin: .4rem auto 1rem; }
.link-btn { border: 0; background: none; font-weight: 500; color: var(--terra); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES — bubbles
   ========================================================== */
.bubbles { list-style: none; margin: 1.8rem 0 0; padding: 4px 8px 4px 2px; max-height: 500px; overflow-y: auto; text-align: left; scrollbar-width: thin; scrollbar-color: var(--terra) transparent; }
.bub { margin-bottom: 1.2rem; }
.bub.is-new { animation: cvIn 1s var(--ease) both; }
.bub-text { position: relative; padding: 1rem 1.2rem; border-radius: 22px 22px 22px 4px; background: var(--sand); font-size: .95rem; line-height: 1.55; }
.bub:nth-child(even) .bub-text { background: var(--deep); color: #DCE6D6; border-radius: 22px 22px 4px 22px; }
.bub:nth-child(3n) .bub-text { background: var(--coral); color: var(--ink); }
.bub-by { display: flex; align-items: center; gap: .5rem; margin-top: .5rem; }
.bub:nth-child(even) .bub-by { flex-direction: row-reverse; }
.bub-init { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--terra); font-family: var(--f-display); font-size: 1rem; line-height: 1; color: var(--cream); }
.bub-by b { font-weight: 600; font-size: .78rem; }
.tg { padding: .05rem .55rem; border-radius: 999px; background: var(--sage); font-style: normal; font-weight: 500; font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.tg--no { background: var(--coral); } .tg--maybe { background: #EBD7A6; }

/* ==========================================================
   GIFT
   ========================================================== */
.tcard { position: relative; overflow: hidden; display: flex; flex-direction: column; max-width: 336px; aspect-ratio: 1.586; margin: 2.2rem auto 0; padding: 1.1rem 1.3rem 1rem; border-radius: 20px; text-align: left; background: var(--deep); color: var(--sand); border: 2px solid var(--deep); box-shadow: 7px 8px 0 #8E3F22; }
.tcard > * { position: relative; }
.tcard-leaf { position: absolute !important; width: 62%; right: -18%; top: -22%; rotate: 150deg; opacity: .8; }
.tcard .tag-t { font-size: .56rem; text-indent: 0; color: var(--raffia) !important; }
.tcard-top { display: flex; justify-content: space-between; align-items: center; }
.tcard-top b { font-family: var(--f-display); font-weight: 400; font-size: 1.8rem; line-height: 1; color: var(--cream); }
.tcard-no { margin-top: auto; font-family: var(--f-display); font-size: clamp(1.6rem, 8cqw, 1.95rem); letter-spacing: .06em; line-height: 1.25; color: var(--cream); }
.tcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.tcard-bottom p { font-weight: 400; font-size: 1rem; line-height: 1.35; }
.tcard-bottom .tag-t { display: block; }
.send { margin-top: 2.8rem; }
.send h3 { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.1; color: var(--cream); }
.send h3 em { color: #FFD9A8; }
.send p { max-width: 29ch; margin: .4rem auto 1.4rem; }
.gift .btn-t { box-shadow: 4px 5px 0 var(--deep); }

/* ==========================================================
   LOCATION
   ========================================================== */
.tmap { width: 86%; margin: 2rem auto 0; }
.tmap-pin { position: absolute; left: 50%; top: 46%; width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: 50%; background: var(--terra); color: var(--cream); font-size: 1.3rem; box-shadow: 0 0 0 4px var(--sand), 0 0 0 6px var(--terra); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.tmap-venue { position: absolute; width: 36%; aspect-ratio: 1; right: -6%; bottom: -4%; border-radius: 50%; overflow: hidden; border: 4px solid var(--sand); box-shadow: 0 0 0 2px var(--deep); }
.tmap-leaf { width: 86%; left: -50%; bottom: -24%; rotate: -20deg; z-index: 3; }
.loc { margin-top: 2.2rem; }
.loc h3 { font-family: var(--f-display); font-size: 2.2rem; line-height: 1.05; color: var(--deep); }
.loc h3 em { color: var(--terra); }
.loc p { margin: .5rem 0 1.4rem; }

/* ==========================================================
   CLOSING + FOOTER
   ========================================================== */
.closing { padding-top: 7.4rem; padding-bottom: 4rem; }
.closing-leaf--a { width: 70%; left: -32%; top: 10%; rotate: 70deg; opacity: .7; }
.closing-leaf--b { width: 100%; right: -52%; top: 26%; rotate: 190deg; opacity: .7; }
.closing-arch { width: 62%; margin: 0 auto; }
.closing-hib { width: 34%; left: -16%; bottom: -6%; z-index: 2; }
.closing-title { margin-top: 1.8rem; font-family: var(--f-display); font-size: clamp(4rem, 20cqw, 5.4rem); line-height: 1; color: var(--cream); }
.closing-title em, .closing-names em, .footer-names em { color: var(--raffia); }
.closing-sub { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--coral); }
.closing-names { margin: 1.6rem 0 .4rem; font-family: var(--f-display); font-size: 2rem; color: var(--cream); }

.footer { padding: 2.6rem var(--pad) 7rem; text-align: center; background: var(--deep) url(../assets/textures/cane-dark.svg) 0 0 / 30px; color: #DCE6D6; border-top: 2px solid var(--raffia); }
.footer-names { font-family: var(--f-display); font-size: 2rem; color: var(--cream); }
.footer-credit { margin-top: 1rem; font-size: .76rem; opacity: .6; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1s ease 1.2s; }
body.is-open .ui { opacity: 1; }
.ui > * { pointer-events: auto; }
.dock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: .1rem; padding: .3rem .4rem; border-radius: 999px; background: var(--sand); border: 2px solid var(--deep); box-shadow: 3px 4px 0 var(--deep); }
.dock a { width: 37px; height: 37px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: var(--palm); transition: background .3s, color .3s, transform .4s var(--spring); }
.dock a.is-active { background: var(--terra); color: var(--cream); transform: scale(1.08); }
.fab { position: absolute; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--deep); background: var(--raffia); color: var(--deep); font-size: .85rem; box-shadow: 3px 4px 0 var(--deep); transition: opacity .4s, transform .5s var(--spring), visibility .4s; }
.fab--music { bottom: 78px; }
.fab--music.is-playing i { animation: spin 5s linear infinite; }
.fab--music:not(.is-playing) { background: var(--sand); }
.fab--top { bottom: 134px; opacity: 0; visibility: hidden; transform: scale(.5); }
.fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.toast-inv { position: absolute; left: 50%; bottom: 80px; translate: -50% 0; width: max-content; max-width: 72%; padding: .6rem 1.2rem; border-radius: 999px; background: var(--deep); color: var(--cream); font-weight: 400; font-size: .86rem; line-height: 1.35; text-align: center; box-shadow: 3px 4px 0 var(--terra); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--spring); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.grain { position: fixed; inset: 0; z-index: 3000; pointer-events: none; background: url(../assets/textures/linen.svg) 0 0 / 300px; opacity: .35; mix-blend-mode: multiply; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(31, 59, 46, .97); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-fig { margin: 0; text-align: center; }
.lb-media img { max-width: min(84vw, 880px); max-height: 70vh; border-radius: 22px; border: 3px solid var(--sand); box-shadow: 8px 9px 0 var(--terra); }
.lb-media iframe { display: block; width: min(90vw, 940px); aspect-ratio: 16 / 9; border: 3px solid var(--sand); border-radius: 22px; background: #000; }
.lb-fig figcaption { margin-top: 1.4rem; }
.lb-cap { display: block; font-family: var(--f-display); font-style: italic; font-size: 1.6rem; color: var(--cream); }
.lb-count { display: block; font-weight: 500; font-size: .6rem; letter-spacing: .3em; color: var(--raffia); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--sand); background: var(--terra); color: var(--cream); display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 10px; top: 50%; translate: 0 -50%; } .lb-next { right: 10px; top: 50%; translate: 0 -50%; }
.lightbox.is-video .lb-prev, .lightbox.is-video .lb-next, .lightbox.is-video figcaption { display: none; }

/* 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(--sand); }
.side-sun { position: absolute; width: 70vh; left: 50%; top: 50%; margin: -35vh 0 0 -35vh; animation: spin 120s linear infinite; }
.side-leaf { position: absolute; max-width: none; }
.side-leaf--a { width: 46vh; left: -12vh; bottom: -12vh; rotate: 40deg; }
.side-leaf--b { width: 80vh; right: -30vh; top: -22vh; rotate: 160deg; }
.side-leaf--c { width: 22vh; right: 6vh; bottom: -14vh; rotate: -20deg; }
.side-body { position: relative; z-index: 2; color: var(--deep); }
.side-body .tag-t { color: var(--deep); }
.side-names { font-family: var(--f-display); font-size: clamp(3rem, 5vw, 5.4rem); line-height: 1.05; margin: .6rem 0; }
.side-names em { color: var(--terra-d); }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .badge-t { right: -12%; width: 82px; height: 82px; }
  .sheet-t { padding-inline: 1.3rem; }
  .dock a { width: 34px; height: 34px; }
}
.is-shot .ui, .is-shot .grain { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { transition-duration: .01s; }
}
