/* ==========================================================
   TEMPLATE 10 — MEDITERRANEAN TILE
   Majolica tiles, whitewashed stucco, lemons and cobalt blue.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --cobalt: #1F4E8C;
  --navy: #16305A;
  --azure: #4F8FCB;
  --sky: #DCEAF5;
  --white: #FBF8F1;
  --lemon: #F2C230;
  --lemon-l: #FBEBB0;
  --terra: #C96A3E;
  --olive: #7B8B4A;
  --ink: #23344F;

  --f-display: 'Fraunces', Georgia, serif;
  --f-sans: 'Karla', system-ui, sans-serif;

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

html { scrollbar-gutter: stable; background: #123054; }
body { margin: 0; font-family: var(--f-sans); font-size: 1rem; line-height: 1.65; color: var(--ink); background: #123054 url(../assets/textures/tile-b.svg) 0 0 / 90px; -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(--lemon); color: var(--navy); }

.invite { position: relative; width: min(100%, var(--col)); margin-inline: auto; background: var(--white); overflow: hidden; container-type: inline-size; box-shadow: 0 0 80px rgba(8, 20, 40, .7); }
.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) 4.8rem; overflow: hidden; isolation: isolate; text-align: center; }
.sec > *:not(.deco) { position: relative; z-index: 2; }
.s-white { background: var(--white) url(../assets/textures/stucco.svg); background-blend-mode: multiply; }
.s-cobalt { background: var(--cobalt); color: #DCE8F6; }
.s-lemon { background: var(--lemon-l) url(../assets/textures/stucco.svg); background-blend-mode: multiply; }
.s-sky { background: var(--sky) url(../assets/textures/stucco.svg); background-blend-mode: multiply; }
.s-terra { background: var(--terra); color: #FCEBDD; }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }
.band { position: relative; z-index: 4; height: 12.5cqw; background: url(../assets/textures/tile-band.svg) 0 0 / 50cqw 100%; box-shadow: 0 6px 12px -6px rgba(22, 48, 90, .5), 0 -6px 12px -6px rgba(22, 48, 90, .35); }
.band--b { background-position: 12.5cqw 0; }
.band--c { background-position: 25cqw 0; }

.cap { font-weight: 700; font-size: .66rem; letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--cobalt); }
.cap--lemon { color: var(--lemon); }
.cap--light { color: #FFE2CC; }
.ttl-m { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.5rem, 12cqw, 3.2rem); line-height: 1.05; color: var(--navy); margin-top: .4rem; }
.ttl-m em { color: var(--cobalt); font-weight: 500; }
.ttl-m--light { color: #fff; }
.ttl-m--light em { color: var(--lemon); }
.lede { max-width: 31ch; margin: .9rem auto 0; }
.lede b { font-weight: 700; }
.lede--light { color: inherit; }

.btn-m { display: inline-block; padding: .9rem 1.7rem; border: 0; border-radius: 12px; background: var(--cobalt); font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; box-shadow: inset 0 0 0 3px var(--cobalt), inset 0 0 0 4.5px rgba(255, 255, 255, .7), 0 10px 0 -4px var(--navy); cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn-m:hover { color: var(--lemon); transform: translateY(4px); box-shadow: inset 0 0 0 3px var(--cobalt), inset 0 0 0 4.5px rgba(255, 255, 255, .7), 0 6px 0 -4px var(--navy); }
.btn-m--lemon { background: var(--lemon); color: var(--navy); box-shadow: inset 0 0 0 3px var(--lemon), inset 0 0 0 4.5px rgba(22, 48, 90, .5), 0 10px 0 -4px #B98F12; }
.btn-m--lemon:hover { color: var(--cobalt); box-shadow: inset 0 0 0 3px var(--lemon), inset 0 0 0 4.5px rgba(22, 48, 90, .5), 0 6px 0 -4px #B98F12; }
.btn-m--white { background: var(--white); color: var(--terra); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4.5px rgba(201, 106, 62, .6), 0 10px 0 -4px #8E4524; }
.btn-m--white:hover { color: var(--navy); }
.tag-m { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem; border: 1.5px solid var(--cobalt); border-radius: 999px; background: transparent; font-weight: 500; font-size: .76rem; color: var(--cobalt); cursor: pointer; transition: background .3s, color .3s; }
.tag-m:hover { background: var(--cobalt); color: #fff; }
.tag-m--light { border-color: var(--lemon); color: var(--lemon); }
.tag-m--light:hover { background: var(--lemon); color: var(--navy); }

/* arched window with tile frame */
.window { position: relative; padding: 5%; border-radius: 999px 999px 10px 10px; background: url(../assets/textures/tile-a.svg) center top / 20% auto; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--cobalt), 0 26px 30px -18px rgba(22, 48, 90, .6); }
.window-img { aspect-ratio: 3 / 4; border-radius: 999px 999px 4px 4px; overflow: hidden; box-shadow: 0 0 0 4px var(--white); }
.window-img img, .dish-img img, .stop-img img, .ph img, .veranda-img img, .dish-venue img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.02) brightness(1.02); }

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

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity 1s ease, transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
[data-reveal="rise"]:not(.is-in) { transform: translateY(60px); }
[data-reveal="spin"]:not(.is-in) { transform: rotate(-120deg) scale(.5); }

/* ==========================================================
   COVER — shutters
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; perspective: 1600px; background: var(--white) url(../assets/textures/stucco.svg); background-blend-mode: multiply; transition: opacity .6s ease 1.5s; }
.cover::before { content: ""; position: absolute; inset: 0; background: url(../assets/textures/tile-a.svg) 0 0 / 25% auto; -webkit-mask: linear-gradient(#000 0 12.5cqw, transparent 12.5cqw calc(100% - 12.5cqw), #000 calc(100% - 12.5cqw)); mask: linear-gradient(#000 0 12.5cqw, transparent 12.5cqw calc(100% - 12.5cqw), #000 calc(100% - 12.5cqw)); }
.shutter { position: absolute; top: 12.5cqw; bottom: 12.5cqw; width: 50%; display: grid; grid-template-rows: 1fr 1fr; gap: 14px; padding: 14px; background: var(--cobalt); box-shadow: inset 0 0 0 4px var(--navy); transition: transform 1.5s cubic-bezier(.6, 0, .2, 1) .15s; z-index: 1; }
.shutter span { border: 3px solid var(--navy); background: repeating-linear-gradient(var(--cobalt) 0 9px, #2B62A8 9px 12px, var(--navy) 12px 14px); }
.shutter--l { left: 0; transform-origin: 0 50%; }
.shutter--r { right: 0; transform-origin: 100% 50%; }
.cover.is-opening { opacity: 0; pointer-events: none; }
.cover.is-opening .shutter--l { transform: rotateY(-108deg); }
.cover.is-opening .shutter--r { transform: rotateY(108deg); }
.cover-body { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 1.4rem; transition: opacity .4s ease, transform .6s var(--ease); }
.cover.is-opening .cover-body { opacity: 0; transform: scale(.9); }
.plaque { position: relative; width: 100%; max-width: 330px; padding: clamp(4.6rem, 14cqh, 6.4rem) 1.4rem 2rem; text-align: center; background: var(--white); border-radius: 18px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px var(--cobalt), inset 0 0 0 11px var(--white), inset 0 0 0 12.5px var(--lemon), 0 30px 40px -14px rgba(8, 20, 40, .7); }
.plaque-lemons { position: absolute; left: -6%; top: -3.2rem; width: 112%; max-width: none; transform-origin: 50% 0; }
.cover-names { font-family: var(--f-display); font-size: clamp(2.6rem, 13cqw, 3.4rem); line-height: 1.05; color: var(--navy); margin: .5rem 0 .6rem; }
.cover-names em, .hero-names em, .side-names em { color: var(--terra); }
.cover-guest { margin-top: clamp(.8rem, 2.6cqh, 1.4rem); display: flex; flex-direction: column; }
.cover-guest span { font-size: .8rem; }
.cover-guest strong { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; color: var(--navy); line-height: 1.3; }
.cover .btn-m { margin-top: clamp(.9rem, 2.6cqh, 1.4rem); }
.cv { animation: cvIn 1.1s var(--ease) both; animation-delay: calc(.3s + var(--i) * .12s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: calc(40cqw + .2rem); }
.hero-lemons { width: 112%; left: -6%; top: -8px; transform-origin: 50% 0; animation: swing 8s ease-in-out infinite; z-index: 3 !important; }
.hero-names { display: flex; flex-direction: column; align-items: center; margin-top: .6rem; font-family: var(--f-display); font-size: clamp(4rem, 20cqw, 5.4rem); line-height: .98; color: var(--navy); }
.hero-names em { font-size: .5em; line-height: 1; margin: .04em 0; }
.window.is-in, .window { margin: 2.6rem auto 0; width: 76%; }
.kenburns { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.window-sun { width: 40%; right: -20%; top: 6%; z-index: 3; animation: spin 50s linear infinite; }
.window-olive { width: 94%; left: -42%; bottom: -8%; rotate: -6deg; z-index: 3; }
.hero-date { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.6rem; text-align: left; }
.hero-date b { font-family: var(--f-display); font-weight: 600; font-size: 4rem; line-height: .9; color: var(--cobalt); }
.hero-date span { padding-left: .9rem; border-left: 2px solid var(--lemon); font-weight: 700; font-size: .72rem; line-height: 1.6; letter-spacing: .2em; text-transform: uppercase; }

/* ==========================================================
   QUOTE
   ========================================================== */
.quote { padding-inline: 2.2rem; }
.quote-sun { width: 96px; margin: 0 auto 1.2rem; }
.quote blockquote { margin: 0 0 1.4rem; font-family: var(--f-display); font-size: clamp(2rem, 9.6cqw, 2.5rem); line-height: 1.14; color: #fff; }
.quote blockquote em { color: var(--lemon); }
.quote-verse { margin-bottom: 1rem; font-size: .95rem; }

/* ==========================================================
   COUPLE — plates
   ========================================================== */
.dish { display: grid; grid-template-columns: 56% 1fr; gap: 1rem; align-items: center; margin-top: 2.2rem; text-align: left; }
.dish--alt { grid-template-columns: 1fr 56%; text-align: right; margin-top: 1rem; }
.dish--alt .dish-plate { order: 2; margin-right: -9%; }
.dish-plate { position: relative; aspect-ratio: 1; margin-left: -9%; filter: drop-shadow(0 18px 18px rgba(22, 48, 90, .3)); }
.dish--alt .dish-plate { margin-left: 0; }
.dish-rim { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 120s linear infinite; }
.dish-img { position: absolute; inset: 20.5%; border-radius: 50%; overflow: hidden; }
.dish-lemon { width: 30%; right: -2%; bottom: -4%; z-index: 3; }
.dish--alt .dish-lemon { right: auto; left: -2%; scale: -1 1; }
.dish-info h3 { font-family: var(--f-display); font-size: clamp(1.9rem, 9cqw, 2.4rem); line-height: 1; color: var(--navy); margin: .4rem 0 .5rem; }
.dish-info h3 em { display: block; color: var(--cobalt); }
.dish-info p:not(.cap) { font-size: .84rem; line-height: 1.5; margin-bottom: .8rem; }
.dish-info .cap { text-indent: 0; }
.couple-olive { width: 70%; right: -44%; top: -3%; rotate: 150deg; opacity: .9; }

/* ==========================================================
   EVENT — plaques
   ========================================================== */
.plq { position: relative; max-width: 330px; margin: 2.2rem auto 0; padding: 2.4rem 1.4rem 2rem; background: var(--white); border-radius: 16px; box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px var(--cobalt), inset 0 0 0 11px var(--white), inset 0 0 0 12.5px var(--azure), 0 22px 26px -14px rgba(120, 90, 0, .4); }
.plq::before, .plq::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #9A9A96; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.plq::before { left: 20px; } .plq::after { right: 20px; }
.plq--alt { box-shadow: inset 0 0 0 5px var(--white), inset 0 0 0 8px var(--terra), inset 0 0 0 11px var(--white), inset 0 0 0 12.5px var(--lemon), 0 22px 26px -14px rgba(120, 90, 0, .4); }
.plq-no { position: absolute; left: 50%; top: -15px; translate: -50% 0; padding: .1rem .9rem; border-radius: 999px; background: var(--cobalt); font-family: var(--f-display); font-style: italic; font-size: .95rem; color: #fff; }
.plq--alt .plq-no { background: var(--terra); }
.plq--alt .cap, .plq--alt .tag-m { color: var(--terra); border-color: var(--terra); }
.plq--alt .tag-m:hover { background: var(--terra); color: #fff; }
.plq h3 { font-family: var(--f-display); font-weight: 600; font-size: 2.6rem; line-height: 1.05; color: var(--navy); margin: .2rem 0 .5rem; }
.plq-date { font-family: var(--f-display); font-style: italic; font-size: 1.1rem; color: var(--navy); }
.plq-time { font-weight: 700; font-size: .78rem; letter-spacing: .16em; margin: .1rem 0 .7rem; }
.plq-place { max-width: 25ch; margin: 0 auto .9rem; font-size: .86rem; line-height: 1.5; }
.plq-place b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--navy); }

/* ==========================================================
   COUNTDOWN — number tiles
   ========================================================== */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.6rem 0 2.2rem; }
.tl { position: relative; aspect-ratio: 1 / 1.14; display: grid; place-content: center; background: var(--white); border-radius: 6px; box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--azure), 0 10px 14px -8px rgba(8, 20, 40, .6); color: var(--navy); }
.tl::before, .tl::after { content: ""; position: absolute; width: 12px; height: 12px; background: var(--lemon); transform: rotate(45deg); }
.tl::before { left: -6px; top: -6px; } .tl::after { right: -6px; bottom: -6px; }
.tl { overflow: hidden; }
.tl strong { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 9.4cqw, 2.4rem); line-height: 1; color: var(--cobalt); font-variant-numeric: tabular-nums; }
.tl span { font-weight: 700; font-size: .54rem; letter-spacing: .18em; text-indent: .18em; text-transform: uppercase; }

/* ==========================================================
   STORY
   ========================================================== */
.road { list-style: none; margin: 2.2rem 0 0; padding: 0; position: relative; }
.road::before { content: ""; position: absolute; left: 50%; top: 10px; bottom: 30px; border-left: 3px dotted var(--azure); margin-left: -1.5px; }
.stop { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; align-items: center; padding-bottom: 2rem; }
.stop:last-child { padding-bottom: 0; }
.stop-dot { position: absolute; left: 50%; top: calc(50% - 1rem); width: 30px; height: 38px; margin: -19px 0 0 -15px; background: url(../assets/flowers/lemon.svg) center / contain no-repeat; z-index: 2; }
.stop:last-child .stop-dot { top: 50%; }
.stop-img { aspect-ratio: 4 / 5; border-radius: 999px 999px 8px 8px; overflow: hidden; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--cobalt), 0 18px 20px -12px rgba(22, 48, 90, .5); margin: 5px; }
.stop--alt .stop-img { order: 2; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--terra), 0 18px 20px -12px rgba(22, 48, 90, .5); }
.stop-text { text-align: left; }
.stop--alt .stop-text { text-align: right; }
.stop-year { display: block; font-family: var(--f-display); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--cobalt); }
.stop--alt .stop-year { color: var(--terra); }
.stop h3 { font-family: var(--f-display); font-style: italic; font-size: 1.25rem; line-height: 1.15; color: var(--navy); margin: .2rem 0 .3rem; }
.stop p { font-size: .84rem; line-height: 1.5; }

/* ==========================================================
   GALLERY — tiled wall
   ========================================================== */
.wall { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 28cqw; grid-auto-flow: dense; gap: 5px; margin: 2.2rem calc(var(--pad) * -.4) 0; padding: 5px; background: var(--white); border-radius: 8px; box-shadow: 0 0 0 2px var(--cobalt), 0 24px 30px -16px rgba(22, 48, 90, .5); }
.ph { display: block; overflow: hidden; border-radius: 3px; cursor: zoom-in; }
.ph img { transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.07); }
.a1, .a2 { grid-column: span 2; grid-row: span 2; }
.t { border-radius: 3px; background-size: 50% 50%; }
.t-a { background-image: url(../assets/textures/tile-a.svg); } .t-b { background-image: url(../assets/textures/tile-b.svg); }
.t-c { background-image: url(../assets/textures/tile-c.svg); } .t-d { background-image: url(../assets/textures/tile-d.svg); }

/* ==========================================================
   VIDEO
   ========================================================== */
.veranda { position: relative; display: block; width: 100%; margin-top: 4.2rem; padding: 12px; border: 0; border-radius: 16px; background: url(../assets/textures/tile-d.svg) 0 0 / 48px; box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--cobalt), 0 24px 28px -16px rgba(22, 48, 90, .6); cursor: pointer; }
.veranda-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 8px; box-shadow: 0 0 0 4px var(--white); }
.veranda-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; display: grid; place-items: center; border-radius: 50%; background: var(--lemon); color: var(--navy); padding-left: 4px; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--cobalt); transition: transform .5s var(--ease); }
.veranda:hover .veranda-play { transform: scale(1.1); }
.veranda-lemons { width: 70%; left: 15%; top: -44px; z-index: 3; }
.video .lede { margin-top: 1.6rem; }

/* ==========================================================
   LIVE
   ========================================================== */
.live-sun { width: 120px; margin: 0 auto .6rem; animation: spin 40s linear infinite; }
.live .btn-m { margin-top: 1.5rem; }

/* ==========================================================
   RSVP
   ========================================================== */
.framed { margin-top: 2.2rem; padding: 14px; text-align: left; border-radius: 16px; background: url(../assets/textures/tile-c.svg) 0 0 / 56px; box-shadow: 0 0 0 2px var(--cobalt), 0 26px 30px -18px rgba(22, 48, 90, .55); }
.framed > form, .framed > .rsvp-done { padding: 1.8rem 1.3rem 1.6rem; background: var(--white); border-radius: 8px; box-shadow: 0 0 0 2px var(--cobalt); }
.lbl { display: block; margin-bottom: .35rem; font-weight: 700; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cobalt); }
.fld { width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--azure); border-radius: 10px; background: #fff; font-family: var(--f-sans); font-size: 1rem; color: var(--navy); outline: 0; transition: border-color .3s, box-shadow .3s; }
.fld::placeholder { color: rgba(35, 52, 79, .4); }
.fld:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(242, 194, 48, .55); }
.fld.is-invalid { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(201, 106, 62, .3); }
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(--azure); border-radius: 10px; text-align: center; font-weight: 500; font-size: .8rem; white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.choice input:checked + span { background: var(--cobalt); border-color: var(--cobalt); color: #fff; box-shadow: inset 0 -3px 0 var(--lemon); }
.choice input:focus-visible + span { outline: 2px solid var(--lemon); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--azure); background: #fff; font-size: 1.2rem; line-height: 1; color: var(--cobalt); transition: background .3s, color .3s; }
.stepper button:hover { background: var(--cobalt); color: #fff; }
.stepper output { width: 3rem; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; line-height: 1; color: var(--navy); }
.stepper em { margin-left: .3rem; font-style: normal; }
.rsvp-done { text-align: center; animation: cvIn 1s var(--ease) both; }
.rsvp-done img { width: 64px; margin: 0 auto .4rem; }
.rsvp-done h3 { font-family: var(--f-display); font-size: 2.2rem; color: var(--navy); }
.rsvp-done h3 em { color: var(--cobalt); }
.rsvp-done p { max-width: 28ch; margin: .4rem auto 1rem; }
.link-btn { border: 0; background: none; font-weight: 500; color: var(--cobalt); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES
   ========================================================== */
.cards { 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(--cobalt) transparent; }
.crd { position: relative; margin-bottom: 14px; padding: 1.1rem 1.2rem 1rem 3.6rem; background: var(--white); border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--azure), 0 10px 14px -10px rgba(22, 48, 90, .4); }
.crd::before { content: ""; position: absolute; left: .8rem; top: .9rem; width: 34px; height: 44px; background: url(../assets/flowers/lemon.svg) center / contain no-repeat; }
.crd.is-new { animation: cvIn 1s var(--ease) both; }
.crd-text { font-family: var(--f-display); font-style: italic; font-size: 1.02rem; line-height: 1.5; color: var(--navy); }
.crd-by { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.crd-by b { font-weight: 700; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
.tg { padding: .05rem .55rem; border-radius: 999px; background: #DDE8C6; font-style: normal; font-weight: 700; font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: #4E5A2C; }
.tg--no { background: #F5D5C4; color: #8E4524; } .tg--maybe { background: var(--lemon-l); color: #7A5E08; }

/* ==========================================================
   GIFT
   ========================================================== */
.mcard { 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 4.6rem; border-radius: 16px; text-align: left; background: var(--cobalt); color: #fff; box-shadow: 0 26px 30px -16px rgba(22, 48, 90, .7); }
.mcard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 56px; background: url(../assets/textures/tile-a.svg) 0 0 / 56px; box-shadow: 3px 0 0 var(--lemon); }
.mcard > * { position: relative; }
.mcard .cap { font-size: .56rem; text-indent: 0; }
.mcard-top { display: flex; justify-content: space-between; align-items: center; }
.mcard-top b { font-family: var(--f-display); font-weight: 600; font-size: 1.7rem; line-height: 1; }
.mcard-no { margin-top: auto; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 7cqw, 1.7rem); letter-spacing: .05em; line-height: 1.3; }
.mcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.mcard-bottom p { font-size: .98rem; line-height: 1.35; }
.mcard-bottom .cap { display: block; }
.send { margin-top: 2.6rem; }
.send img { width: 50px; margin: 0 auto; }
.send h3 { font-family: var(--f-display); font-size: 2.1rem; color: var(--navy); }
.send h3 em { color: var(--cobalt); }
.send p { max-width: 29ch; margin: .3rem auto 1.4rem; }

/* ==========================================================
   LOCATION
   ========================================================== */
.dish-map { position: relative; width: 88%; aspect-ratio: 1; margin: 2rem auto 0; filter: drop-shadow(0 18px 18px rgba(120, 90, 0, .35)); }
.dish-map .dish-img { inset: 20.5%; }
.dish-pin { position: absolute; left: 50%; top: 47%; width: 50px; height: 50px; margin: -25px 0 0 -25px; display: grid; place-items: center; border-radius: 50%; background: var(--terra); color: #fff; font-size: 1.2rem; box-shadow: 0 0 0 3px var(--white); animation: bob 3s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.dish-venue { position: absolute; width: 32%; aspect-ratio: 1; right: -2%; bottom: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--cobalt); }
.loc { margin-top: 1.8rem; }
.loc h3 { font-family: var(--f-display); font-size: 2.1rem; line-height: 1.1; color: var(--navy); }
.loc h3 em { color: var(--cobalt); }
.loc p { margin: .5rem 0 1.4rem; }

/* ==========================================================
   CLOSING + FOOTER
   ========================================================== */
.closing { padding-top: calc(40cqw + .6rem); padding-bottom: 4rem; }
.closing-lemons { width: 112%; left: -6%; top: -8px; transform-origin: 50% 0; animation: swing 9s ease-in-out infinite; z-index: 3 !important; }
.closing-window { width: 62% !important; margin-top: 0 !important; box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--lemon), 0 26px 30px -18px rgba(0, 0, 0, .6); }
.closing-title { margin-top: 1.8rem; font-family: var(--f-display); font-size: clamp(3.8rem, 19cqw, 5rem); line-height: 1; color: #fff; }
.closing-title em, .closing-names em, .footer-names em { color: var(--lemon); }
.closing-sub { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: #BFD6EE; }
.closing-names { margin: 1.5rem 0 .4rem; font-family: var(--f-display); font-size: 1.9rem; color: #fff; }

.footer { padding: 2.4rem var(--pad) 7rem; text-align: center; background: var(--navy); color: #BFD6EE; }
.footer-names { font-family: var(--f-display); font-size: 1.9rem; color: #fff; }
.footer-credit { margin-top: .9rem; font-size: .76rem; opacity: .6; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1s ease 1.4s; }
body.is-open .ui { opacity: 1; }
.ui > * { pointer-events: auto; }
.dock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: .15rem; padding: .3rem .4rem; border-radius: 14px; background: var(--white); box-shadow: 0 0 0 2px var(--cobalt), 0 8px 0 -3px var(--navy), 0 16px 22px -10px rgba(8, 20, 40, .7); }
.dock a { width: 37px; height: 37px; border-radius: 9px; display: grid; place-items: center; font-size: .8rem; color: var(--azure); transition: background .3s, color .3s; }
.dock a.is-active { background: var(--cobalt); color: var(--lemon); }
.fab { position: absolute; right: 14px; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 0; background: var(--lemon); color: var(--navy); font-size: .85rem; box-shadow: 0 0 0 2px var(--navy), 0 7px 0 -3px var(--navy); transition: opacity .4s, transform .5s var(--ease), visibility .4s; }
.fab--music { bottom: 80px; }
.fab--music.is-playing i { animation: spin 5s linear infinite; }
.fab--music:not(.is-playing) { background: var(--white); }
.fab--top { bottom: 136px; opacity: 0; visibility: hidden; transform: translateY(10px); }
.fab--top.is-show { opacity: 1; visibility: visible; transform: none; }
.toast-inv { position: absolute; left: 50%; bottom: 82px; translate: -50% 0; width: max-content; max-width: 72%; padding: .6rem 1.2rem; border-radius: 12px; background: var(--navy); color: #fff; font-size: .86rem; line-height: 1.35; text-align: center; box-shadow: inset 0 -3px 0 var(--lemon); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.grain { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(22, 48, 90, .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: 10px; box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--lemon); }
.lb-media iframe { display: block; width: min(90vw, 940px); aspect-ratio: 16 / 9; border: 5px solid var(--white); border-radius: 10px; background: #000; }
.lb-fig figcaption { margin-top: 1.4rem; }
.lb-cap { display: block; font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: #fff; }
.lb-count { display: block; font-weight: 700; font-size: .6rem; letter-spacing: .3em; color: var(--lemon); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--lemon); color: var(--navy); 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: url(../assets/textures/tile-a.svg) 0 0 / 120px, var(--white); }
.side-niche { position: relative; width: min(52vh, 60%); min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 16vh 2rem 4rem; background: var(--white) url(../assets/textures/stucco.svg); background-blend-mode: multiply; border-radius: 999px 999px 16px 16px; box-shadow: 0 0 0 6px var(--white), 0 0 0 10px var(--cobalt), 0 0 0 16px var(--white), 0 0 0 18px var(--lemon), 0 40px 60px -20px rgba(22, 48, 90, .6); }
.side-lemons { position: absolute; left: 4%; top: 7vh; width: 92%; max-width: none; }
.side-names { font-family: var(--f-display); font-size: clamp(2.6rem, 4vw, 4.2rem); line-height: 1.05; color: var(--navy); margin: .6rem 0; }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .framed > form, .framed > .rsvp-done { padding-inline: 1rem; }
  .dock a { width: 34px; height: 34px; }
}
.is-shot .ui { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { transition-duration: .01s; }
}
