/* ==========================================================
   TEMPLATE 12 — SUMMER COAST (Seasonal)
   Rolling waves, shells, rope and driftwood; ends at sunset.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --sand: #F2E6D0;
  --foam: #F7FBFA;
  --aqua: #8FD3D1;
  --aqua-l: #C9EBE8;
  --teal: #1E7F86;
  --deep: #0E4A5A;
  --coral: #F08A6B;
  --sun: #F6C667;
  --rope: #C9A772;
  --ink: #2F5560;

  --f-display: 'Prata', Georgia, serif;
  --f-script: 'Allura', cursive;
  --f-sans: 'Mulish', system-ui, sans-serif;

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

html { scrollbar-gutter: stable; background: #0B3C4A; }
body { margin: 0; font-family: var(--f-sans); font-size: .96rem; line-height: 1.7; color: var(--ink); background: linear-gradient(#0E4A5A, #0B3C4A) fixed; -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; }
::selection { background: var(--aqua); color: var(--deep); }

.invite { position: relative; width: min(100%, var(--col)); margin-inline: auto; background: var(--foam); overflow: hidden; container-type: inline-size; box-shadow: 0 0 80px rgba(0, 20, 30, .6); }
.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.2rem var(--pad) 6.2rem; overflow: hidden; isolation: isolate; text-align: center; }
.sec > *:not(.deco):not(.tide):not(.sea) { position: relative; z-index: 2; }
.s-sand { background: var(--sand) url(../assets/textures/sand.svg); }
.s-foam { background: var(--foam); }
.s-aqua { background: linear-gradient(var(--aqua-l), #B7E3E0); }
.s-deep { background: linear-gradient(var(--teal), var(--deep)); color: #D5ECEB; }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }

/* tide = animated wave edge into the next section */
.tide { position: absolute; left: 0; right: 0; bottom: -1px; height: 34px; z-index: 3; pointer-events: none; background-repeat: repeat-x; background-size: 240px 100%; animation: roll 9s linear infinite; }
.tide::before { content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 22px; background: url(../assets/ornaments/foam.svg) 0 0 / 240px 100% repeat-x; opacity: .9; animation: roll 13s linear infinite reverse; }
.tide--aqua { background-image: url(../assets/ornaments/wave-aqua-l.svg); }
.tide--sand { background-image: url(../assets/ornaments/wave-sand.svg); }
.tide--deep { background-image: url(../assets/ornaments/wave-teal.svg); }
.tide--foam { background-image: url(../assets/ornaments/wave-foam.svg); }
@keyframes roll { to { background-position-x: 240px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bob { 50% { transform: translateY(-8px) rotate(3deg); } }

/* layered sea */
.sea { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; }
.wv { position: absolute; left: 0; right: 0; background-repeat: repeat-x; background-size: 300px 40px; background-position: 0 0; animation: roll2 11s linear infinite; }
.wv::after { content: ""; position: absolute; left: 0; right: 0; top: 39px; bottom: 0; }
.wv--1 { top: 0; bottom: 0; background-image: url(../assets/ornaments/wave-aqua.svg); opacity: .8; }
.wv--1::after { background: var(--aqua); }
.wv--2 { top: 26px; bottom: 0; background-image: url(../assets/ornaments/wave-teal.svg); animation-duration: 8s; animation-direction: reverse; opacity: .9; }
.wv--2::after { background: var(--teal); }
.wv--3 { top: 54px; bottom: 0; background-image: url(../assets/ornaments/wave-deep.svg); animation-duration: 14s; }
.wv--3::after { background: var(--deep); }
@keyframes roll2 { to { background-position-x: 300px; } }

.cap-c { font-weight: 800; font-size: .64rem; letter-spacing: .32em; text-indent: .32em; text-transform: uppercase; color: var(--teal); }
.cap-c--light { color: var(--sun); }
.ttl-o { font-family: var(--f-display); font-size: clamp(2rem, 9.6cqw, 2.5rem); line-height: 1.15; color: var(--deep); margin-top: .4rem; }
.ttl-o--light { color: #fff; }
.note-o { max-width: 31ch; margin: .8rem auto 0; }
.note-o b { font-weight: 800; color: var(--deep); }
.note-o--light { color: inherit; }

.btn-o { display: inline-flex; align-items: center; gap: .7rem; padding: .8rem 1.6rem .8rem 1.1rem; border: 0; border-radius: 999px; background: var(--foam); font-weight: 800; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--deep); box-shadow: 0 0 0 3px var(--foam), 0 0 0 5px var(--rope), 0 16px 22px -10px rgba(14, 74, 90, .6); cursor: pointer; transition: transform .5s var(--ease), background .4s; }
.btn-o img { width: 20px; transition: transform .6s var(--ease); }
.btn-o:hover { color: var(--deep); background: var(--sun); transform: translateY(-3px); }
.btn-o:hover img { transform: rotate(-20deg); }
.btn-o--light { background: var(--sun); }
.chip-o { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem; border: 1.5px solid var(--teal); border-radius: 999px; background: rgba(255, 255, 255, .6); font-weight: 600; font-size: .74rem; color: var(--teal); cursor: pointer; transition: background .3s, color .3s; }
.chip-o:hover { background: var(--teal); color: #fff; }
.chip-o--light { border-color: #fff; background: transparent; color: #fff; }
.chip-o--light:hover { background: #fff; color: var(--deep); }

/* porthole photo with rope ring */
.port { position: relative; aspect-ratio: 1; }
.port-img { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 0 3px #fff; }
.port-ring { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 12px 14px rgba(14, 74, 90, .35)); }
.port-img img, .pearl-img img, .ph img, .hatch-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(1.04); }

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity 1.1s ease, transform 1.4s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
[data-reveal="tide"]:not(.is-in) { transform: translateY(46px) scale(.97); }
[data-reveal="left"]:not(.is-in) { transform: translateX(-60px) rotate(-4deg); }
[data-reveal="right"]:not(.is-in) { transform: translateX(60px) rotate(4deg); }

/* ==========================================================
   COVER — the tide goes out
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; transition: transform 2s cubic-bezier(.6, 0, .2, 1); }
.cover.is-opening { transform: translateY(112%); pointer-events: none; }
.cover-water { position: absolute; inset: 0; background: linear-gradient(var(--teal), var(--deep) 70%); }
.cover-water .wv { top: 0; bottom: auto; height: 40px; transform: scaleY(-1) translateY(100%); background-image: url(../assets/ornaments/wave-teal.svg); opacity: 1; }
.cover-water .wv::after { display: none; }
.cover-water .wv--2 { background-image: url(../assets/ornaments/wave-aqua.svg); opacity: .5; transform: scaleY(-1) translateY(130%); }
.cover-water::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 0, rgba(143, 211, 209, .45), transparent 60%); }
.cover-body { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.4rem 1.6rem; text-align: center; color: #D5ECEB; }
.cover-port { width: min(52%, 31cqh); margin: clamp(1.2rem, 4.4cqh, 2.4rem) 0; }
.cover-names { font-family: var(--f-display); font-size: clamp(2.5rem, 12.6cqw, 3.3rem); line-height: 1.1; color: #fff; margin-bottom: .5rem; }
.cover-names i, .side-names i, .closing-names i, .footer-names i { font-family: var(--f-script); font-style: normal; font-size: 1.1em; color: var(--sun); }
.cover-guest { margin-top: clamp(.7rem, 2.4cqh, 1.4rem); display: flex; flex-direction: column; }
.cover-guest span { font-size: .8rem; }
.cover-guest strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; color: #fff; line-height: 1.3; }
.cover .btn-o { margin-top: clamp(1rem, 3cqh, 1.6rem); }
.cover-shell { width: 26%; left: 5%; bottom: 3%; rotate: -14deg; z-index: 3; opacity: .9; animation: bob 7s ease-in-out infinite; }
.cover-star { width: 18%; right: 6%; bottom: 6%; rotate: 20deg; z-index: 3; animation: bob 9s ease-in-out infinite reverse; }
.cv { animation: cvIn 1.3s var(--ease) both; animation-delay: calc(.3s + var(--i) * .13s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(18px); } }

/* ==========================================================
   HERO — sky, sea, shore
   ========================================================== */
.hero { padding: 3.6rem 0 0; background: linear-gradient(#BFE6EE, #E4F4F2 34%, #F7FBFA 52%); }
.hero-sun { width: 46%; right: -19%; top: -7%; opacity: .9; animation: spin 90s linear infinite; }
.hero-names { display: flex; flex-direction: column; align-items: center; margin-top: .4rem; font-family: var(--f-display); font-size: clamp(3.8rem, 19cqw, 5.2rem); line-height: 1; color: var(--deep); }
.hero-names i { font-family: var(--f-script); font-style: normal; font-size: .62em; line-height: .9; color: var(--coral); }
.hero-port { width: 66%; margin: 2rem auto 0; z-index: 3 !important; }
.kenburns { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.13); } }
.hero-sea { position: relative !important; height: 150px; margin-top: -92px; z-index: 2 !important; }
.shore { position: relative; padding: 2.2rem var(--pad) 3.4rem; background: var(--sand) url(../assets/textures/sand.svg); }
.shore::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 36px; background: url(../assets/ornaments/wave-deep.svg) 0 0 / 300px 100% repeat-x; transform: scaleY(-1); animation: roll2 14s linear infinite; }
.shore::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 22px; background: url(../assets/ornaments/foam.svg) 0 0 / 240px 100% repeat-x; animation: roll 12s linear infinite reverse; }
.shore > * { position: relative; z-index: 2; }
.shore-star { width: 50px; left: 6%; bottom: 16px; top: auto; rotate: -16deg; position: absolute !important; }
.shore-shell { width: 58px; right: 7%; bottom: 18px; rotate: 14deg; position: absolute !important; }
.hero-date { margin-top: 1.6rem; font-family: var(--f-display); font-size: 1.35rem; color: var(--deep); }

/* ==========================================================
   QUOTE
   ========================================================== */
.quote { padding-inline: 2.2rem; }
.quote-shell { width: 96px; margin: 0 auto .8rem; animation: bob 8s ease-in-out infinite; }
.quote blockquote { margin: 0 0 1.2rem; font-family: var(--f-script); font-size: clamp(2.5rem, 12cqw, 3.1rem); line-height: 1.1; color: var(--teal); }
.quote-verse { margin-bottom: 1rem; }

/* ==========================================================
   COUPLE — pearls in shells
   ========================================================== */
.pearl { margin-top: 2rem; }
.pearl-shell { position: relative; width: 52%; aspect-ratio: 1; margin: 3.4rem auto 0; }
.pearl-shell::before { content: ""; position: absolute; z-index: 0; left: -34%; top: -26%; width: 168%; aspect-ratio: 220 / 190; background: url(../assets/ornaments/shell-white.svg) center / contain no-repeat; filter: drop-shadow(0 16px 16px rgba(14, 74, 90, .22)); }
.pearl-shell--alt::before { background-image: url(../assets/ornaments/shell.svg); }
.pearl-img { position: absolute; z-index: 1; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 5px #fff, 0 0 0 7px rgba(143, 211, 209, .8), 0 18px 22px -10px rgba(14, 74, 90, .5); }
.pearl-script { margin-top: 1.5rem; font-family: var(--f-script); font-size: 3.4rem; line-height: 1; color: var(--coral); }
.pearl h3 { font-family: var(--f-display); font-size: 1.6rem; color: var(--deep); margin: .1rem 0 .3rem; }
.pearl p:not(.cap-c):not(.pearl-script) { max-width: 30ch; margin: 0 auto .8rem; font-size: .88rem; }
.pair-star { width: 60px; margin: 1.6rem auto 0; animation: spin 40s linear infinite; }

/* ==========================================================
   EVENT — driftwood signpost
   ========================================================== */
.post { position: relative; margin: 2.2rem auto 2.4rem; padding: 1.4rem 0 3.4rem; max-width: 340px; }
.post-pole { position: absolute; left: 50%; top: 0; bottom: 0; width: 18px; margin-left: -9px; border-radius: 9px 9px 3px 3px; background: #8C6A44 url(../assets/textures/wood.svg) 0 0 / 60px 300px; box-shadow: inset -5px 0 6px rgba(0, 0, 0, .25); }
.plank { position: relative; z-index: 2; width: 88%; margin-bottom: 1.1rem; padding: .9rem 2.4rem .9rem 1.2rem; text-align: left; color: #FBF3E2; background: url(../assets/textures/wood.svg) 0 0 / 400px 200px; clip-path: polygon(0 6%, 88% 0, 100% 50%, 88% 100%, 0 94%); filter: drop-shadow(0 10px 8px rgba(60, 40, 10, .4)); rotate: -2deg; }
.plank--alt { margin-left: auto; padding: .9rem 1.2rem .9rem 2.4rem; text-align: right; clip-path: polygon(12% 0, 100% 6%, 100% 94%, 12% 100%, 0 50%); rotate: 2deg; background-position: 120px 60px; }
.plank--sm { width: 82%; rotate: 1deg; background-position: 40px 120px; }
.plank-cap { font-weight: 800; font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: #FFE2A8; }
.plank h3 { font-family: var(--f-display); font-size: 2rem; line-height: 1.1; text-shadow: 0 2px 0 rgba(60, 40, 10, .5); }
.plank-time { font-weight: 600; font-size: .78rem; }
.post-shell { width: 70px; left: 6%; bottom: -6px; rotate: -12deg; z-index: 3; }
.post-star { width: 50px; right: 12%; bottom: 0; rotate: 20deg; z-index: 3; }

/* ==========================================================
   COUNTDOWN — life buoys
   ========================================================== */
.buoys { display: grid; grid-template-columns: repeat(4, 1fr); gap: .3rem; margin: 1.6rem -.5rem 2.2rem; }
.by { aspect-ratio: 1; display: grid; place-content: center; background: url(../assets/ornaments/buoy.svg) center / 100% no-repeat; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 12px 10px rgba(0, 20, 30, .4)); }
.by:nth-child(even) { animation-duration: 8s; animation-direction: reverse; }
.by strong { font-family: var(--f-display); font-size: clamp(1.25rem, 6.4cqw, 1.6rem); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.by span { font-weight: 800; font-size: .48rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }

/* ==========================================================
   STORY — coastline
   ========================================================== */
.coast { position: relative; margin-top: 2rem; }
.coast-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cove { position: relative; display: grid; grid-template-columns: 44% 1fr; gap: 1.1rem; align-items: center; margin-bottom: 1.4rem; text-align: left; }
.cove:last-child { margin-bottom: 0; }
.cove--alt { grid-template-columns: 1fr 44%; text-align: right; }
.cove--alt .port { order: 2; }
.cove-year { display: block; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--coral); }
.cove h3 { font-family: var(--f-script); font-size: 1.9rem; line-height: 1.05; color: var(--deep); margin: .1rem 0 .2rem; }
.cove p { font-size: .82rem; line-height: 1.55; }
.cove-text { background: var(--foam); padding: .3rem 0; }

/* ==========================================================
   GALLERY
   ========================================================== */
.tidegrid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 2rem; }
.ph { display: block; overflow: hidden; cursor: zoom-in; box-shadow: 0 0 0 4px #fff, 0 16px 20px -12px rgba(14, 74, 90, .5); }
.ph img { transition: transform 1.6s var(--ease); }
.ph:hover img { transform: scale(1.07); }
.stripe { display: grid; place-items: center; border-radius: 20px; background: repeating-linear-gradient(90deg, var(--teal) 0 14px, #fff 14px 28px); box-shadow: 0 0 0 4px #fff; }
.stripe--coral { background: repeating-linear-gradient(90deg, var(--coral) 0 14px, #fff 14px 28px); }
.stripe img { width: 62%; filter: drop-shadow(0 6px 6px rgba(14, 74, 90, .3)); }
.g1 { grid-column: 1 / 5; aspect-ratio: 4 / 4.6; border-radius: 50% 50% 20px 20px / 30% 30% 20px 20px; }
.g2 { grid-column: 5 / 7; aspect-ratio: 2 / 2.6; border-radius: 999px; align-self: start; }
.g3 { grid-column: 5 / 7; margin-top: -106%; align-self: end; aspect-ratio: 1 / .92; }
.g4 { grid-column: 1 / 7; aspect-ratio: 16 / 9.4; border-radius: 20px 20px 50% 50% / 20px 20px 30% 30%; }
.g5 { grid-column: 1 / 4; aspect-ratio: 1; border-radius: 50%; }
.g6 { grid-column: 4 / 7; aspect-ratio: 1; border-radius: 20px; }
.g7 { grid-column: 1 / 3; }
.g8 { grid-column: 3 / 7; aspect-ratio: 4 / 2.4; border-radius: 20px; }

/* ==========================================================
   VIDEO — porthole hatch
   ========================================================== */
.hatch { position: relative; display: block; width: 82%; aspect-ratio: 1; margin: 2rem auto; padding: 0; border: 0; border-radius: 50%; background: radial-gradient(circle, transparent 60%, #D9B97A 60.5% 63%, #A9803E 63.5% 69%, #E6CB8F 69.5% 71%, #8C6A30 71.5%); box-shadow: 0 26px 30px -14px rgba(0, 15, 25, .8); cursor: pointer; }
.hatch::before { content: ""; position: absolute; inset: 3.4%; border-radius: 50%; border: 5px dotted #6E5222; opacity: .8; }
.hatch-img { position: absolute; inset: 11.5%; border-radius: 50%; overflow: hidden; box-shadow: inset 0 0 30px rgba(0, 20, 30, .8); }
.hatch-img::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(135deg, rgba(255, 255, 255, .35), transparent 40%); }
.hatch-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: var(--sun); color: var(--deep); padding-left: 4px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .35); transition: transform .5s var(--ease); }
.hatch:hover .hatch-play { transform: scale(1.1); }

/* ==========================================================
   LIVE — lighthouse
   ========================================================== */
.beacon { width: 110px; margin: 0 auto .6rem; }
.beacon img { position: relative; width: 100%; }
.beacon-beam { position: absolute; left: 50%; top: 18%; width: 260px; height: 60px; margin: -30px 0 0 0; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(246, 198, 103, .75), transparent); clip-path: polygon(0 44%, 100% 0, 100% 100%, 0 56%); animation: sweep 5s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: rotate(-24deg); } to { transform: rotate(-156deg); } }
.live .btn-o { margin-top: 1.5rem; }

/* ==========================================================
   RSVP — message scroll
   ========================================================== */
.scrollp { margin-top: 2rem; filter: drop-shadow(0 22px 20px rgba(14, 74, 90, .3)); }
.scrollp-roll { display: block; height: 20px; margin: 0 -8px; border-radius: 10px; background: linear-gradient(#E9DAB8, #FBF3E0 40%, #D4C095); }
.scrollp-body { position: relative; padding: 1.9rem 1.4rem 1.7rem; text-align: left; background: #FBF3E0 url(../assets/textures/sand.svg); box-shadow: inset 0 14px 14px -12px rgba(120, 90, 40, .5), inset 0 -14px 14px -12px rgba(120, 90, 40, .5); }
.scrollp-body::before { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 10px; margin-top: -5px; background: url(../assets/ornaments/rope.svg) 0 0 / 34px 10px; opacity: 0; }
.lbl { display: block; margin-bottom: .35rem; font-weight: 800; font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--teal); }
.fld { width: 100%; padding: .45rem 0; border: 0; border-bottom: 2px solid var(--aqua); border-radius: 0; background: transparent; font-family: var(--f-display); font-size: 1.1rem; color: var(--deep); outline: 0; transition: border-color .3s; }
.fld::placeholder { color: rgba(47, 85, 96, .4); }
.fld:focus { border-color: var(--teal); }
.fld.is-invalid { border-color: var(--coral); }
textarea.fld { resize: none; padding: .7rem .9rem; border: 2px solid var(--aqua); border-radius: 14px; background: rgba(255, 255, 255, .6); font-family: var(--f-sans); font-size: .96rem; 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: .6rem .1rem; border: 2px solid var(--aqua); border-radius: 999px; background: rgba(255, 255, 255, .6); text-align: center; font-weight: 600; font-size: .8rem; white-space: nowrap; transition: background .4s, color .4s, border-color .4s; }
.choice input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--aqua); background: rgba(255, 255, 255, .6); font-size: 1.2rem; line-height: 1; color: var(--teal); transition: background .3s, color .3s; }
.stepper button:hover { background: var(--teal); color: #fff; }
.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 .4rem; }
.rsvp-done p { max-width: 28ch; margin: .4rem auto 1rem; }
.link-btn { border: 0; background: none; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES — sea glass
   ========================================================== */
.drift { 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(--teal) transparent; }
.dw { position: relative; margin-bottom: 14px; padding: 1.1rem 1.2rem 1rem 4rem; border-radius: 22px; background: rgba(255, 255, 255, .7); border: 1.5px solid rgba(255, 255, 255, .95); box-shadow: 0 12px 16px -12px rgba(14, 74, 90, .45); }
.dw::before { content: ""; position: absolute; left: .7rem; top: 1rem; width: 44px; height: 38px; background: url(../assets/ornaments/shell.svg) center / contain no-repeat; rotate: -10deg; }
.dw:nth-child(even)::before { background-image: url(../assets/ornaments/starfish-sun.svg); rotate: 12deg; }
.dw.is-new { animation: cvIn 1s var(--ease) both; }
.dw-text { font-size: .94rem; line-height: 1.6; }
.dw-by { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.dw-by b { font-family: var(--f-script); font-weight: 400; font-size: 1.6rem; line-height: 1.1; color: var(--teal); }
.tg { padding: .05rem .6rem; border-radius: 999px; background: var(--aqua-l); font-style: normal; font-weight: 800; font-size: .56rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.tg--no { background: #F8D3C4; color: #B5583C; } .tg--maybe { background: #FBE7B8; color: #8A6A1E; }

/* ==========================================================
   GIFT
   ========================================================== */
.ocard { 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; color: #fff; background: linear-gradient(160deg, #2A9AA0, var(--teal) 45%, var(--deep)); box-shadow: 0 26px 30px -16px rgba(14, 74, 90, .7); }
.ocard-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 56%; background: url(../assets/ornaments/foam.svg) 0 10% / 200px 26px repeat-x, url(../assets/ornaments/foam.svg) 60px 46% / 200px 26px repeat-x, url(../assets/ornaments/foam.svg) 20px 82% / 200px 26px repeat-x; opacity: .22; }
.ocard > *:not(.ocard-waves) { position: relative; }
.ocard .cap-c { font-size: .54rem; text-indent: 0; }
.ocard-top { display: flex; justify-content: space-between; align-items: center; }
.ocard-top b { font-family: var(--f-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.ocard-no { margin-top: auto; font-family: var(--f-display); font-size: clamp(1.45rem, 7.2cqw, 1.75rem); letter-spacing: .08em; line-height: 1.3; }
.ocard-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.ocard-bottom p { font-weight: 600; font-size: .98rem; line-height: 1.35; }
.ocard-bottom .cap-c { display: block; }
.send { margin-top: 2.4rem; }
.send > img { width: 70px; margin: 0 auto .2rem; }
.send .ttl-o { font-size: 1.8rem; }
.send p { max-width: 29ch; margin: .3rem auto 1.4rem; }

/* ==========================================================
   LOCATION — chart
   ========================================================== */
.location { padding-bottom: 4.4rem; }
.chart { position: relative; margin: 2rem .4rem 0; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 2px var(--rope), 0 24px 26px -16px rgba(14, 74, 90, .5); rotate: -1.2deg; }
.chart-img { aspect-ratio: 4 / 3.3; overflow: hidden; border-radius: 8px; }
.chart-img img { width: 100%; height: 100%; object-fit: cover; }
.chart-pin { position: absolute; left: 50%; top: 24%; width: 50px; height: 50px; margin: -25px 0 0 -25px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px #fff, 0 10px 14px -6px rgba(14, 74, 90, .6); animation: bob 4s ease-in-out infinite; }
.chart-pin img { width: 26px; }
.chart-compass { position: absolute; width: 92px; left: 8%; bottom: 9%; animation: spin 60s linear infinite; }
.chart-venue { position: absolute !important; width: 36%; right: -5%; bottom: -9%; rotate: 1.2deg; }
.loc { margin-top: 2.8rem; }
.loc h3 { font-family: var(--f-display); font-size: 1.8rem; color: var(--deep); }
.loc p { margin: .4rem 0 1.4rem; }

/* ==========================================================
   CLOSING — sunset
   ========================================================== */
.closing { min-height: max(var(--vh), 720px); padding: 5rem var(--pad) 0; display: flex; flex-direction: column; align-items: center; background: linear-gradient(#3B5B86, #C8798A 30%, #F3A37A 50%, #F9D08B 64%); color: #fff; }
.closing-sun { position: absolute !important; z-index: 0 !important; left: 50%; bottom: 150px; width: 250px; height: 250px; margin-left: -125px; border-radius: 50%; background: radial-gradient(circle, #FFF3C4, #F9C858 60%, rgba(249, 200, 88, 0) 72%); }
.closing-title { font-family: var(--f-display); font-size: clamp(3.4rem, 17cqw, 4.6rem); line-height: 1.05; color: #fff; text-shadow: 0 4px 24px rgba(60, 40, 80, .4); }
.closing-sub { font-family: var(--f-script); font-size: 2.2rem; line-height: 1.1; color: #FFE9B8; }
.closing .note-o { text-shadow: 0 1px 10px rgba(60, 40, 80, .5); }
.closing-sea { height: 230px; }
.closing-sea .wv--1 { background-image: url(../assets/ornaments/wave-coral.svg); opacity: .7; }
.closing-sea .wv--1::after { background: #F8C7B2; }
.closing-foot { margin-top: auto; padding: 0 0 2.6rem; z-index: 3 !important; }
.closing-names { font-family: var(--f-display); font-size: 1.9rem; }

.footer { padding: 2rem var(--pad) 7rem; text-align: center; background: var(--deep); color: #B8D8DA; }
.footer-names { font-family: var(--f-display); font-size: 1.7rem; color: #fff; }
.footer-credit { margin-top: .8rem; font-size: .74rem; opacity: .6; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1.2s ease 1.6s; overflow: hidden; }
body.is-open .ui { opacity: 1; }
.ui > *:not(.bubbles) { 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(247, 251, 250, .92); box-shadow: 0 0 0 2px var(--rope), 0 16px 24px -12px rgba(14, 74, 90, .7); -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: var(--aqua); transition: background .4s, color .4s; }
.dock a.is-active { background: var(--teal); color: #fff; }
.fab { position: absolute; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; background: var(--foam); color: var(--teal); font-size: .9rem; box-shadow: 0 0 0 2px var(--rope), 0 12px 18px -8px rgba(14, 74, 90, .7); 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: var(--aqua); }
.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: 74%; padding: .55rem 1.2rem; border-radius: 999px; background: var(--deep); color: #fff; font-size: .86rem; line-height: 1.35; text-align: center; box-shadow: 0 0 0 2px var(--sun); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.bubbles { position: absolute; inset: 0; }
.bubbles i { position: absolute; bottom: -30px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .2); opacity: 0; }
body.is-open .bubbles i { animation: rise 13s ease-in infinite; }
.bubbles i:nth-child(1) { left: 8%; }
.bubbles i:nth-child(2) { left: 24%; width: 8px; height: 8px; animation-duration: 17s !important; animation-delay: 3s !important; }
.bubbles i:nth-child(3) { left: 46%; animation-duration: 15s !important; animation-delay: 7s !important; }
.bubbles i:nth-child(4) { left: 64%; width: 16px; height: 16px; animation-duration: 19s !important; animation-delay: 1s !important; }
.bubbles i:nth-child(5) { left: 82%; width: 9px; height: 9px; animation-duration: 14s !important; animation-delay: 9s !important; }
.bubbles i:nth-child(6) { left: 92%; animation-duration: 21s !important; animation-delay: 5s !important; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 10% { opacity: .8; } 50% { transform: translate3d(18px, -55vh, 0); } 90% { opacity: .6; } 100% { transform: translate3d(-10px, -112vh, 0); opacity: 0; } }
.grain { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(14, 74, 90, .96); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.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: 20px; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--rope); }
.lb-media iframe { display: block; width: min(90vw, 940px); aspect-ratio: 16 / 9; border: 6px solid #fff; border-radius: 20px; background: #000; }
.lb-fig figcaption { margin-top: 1.3rem; }
.lb-cap { display: block; font-family: var(--f-script); font-size: 2.2rem; line-height: 1.1; color: #fff; }
.lb-count { display: block; font-weight: 800; font-size: .58rem; letter-spacing: .3em; color: var(--sun); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--foam); color: var(--teal); 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: linear-gradient(#BFE6EE, #E4F4F2 50%, #F7FBFA 70%); }
.side-sun { position: absolute; width: 44vh; right: 5%; top: -14vh; animation: spin 120s linear infinite; }
.side-body { position: relative; z-index: 2; margin-bottom: 14vh; }
.side-names { font-family: var(--f-display); font-size: clamp(3rem, 5.4vw, 6rem); line-height: 1.1; color: var(--deep); margin: .6rem 0; }
.side-names i { color: var(--coral); }
.side .sea { height: 30vh; }
.side .wv { background-size: 420px 56px; }
.side .wv::after { top: 55px; }
.side .wv--2 { top: 8vh; } .side .wv--3 { top: 16vh; }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .plank h3 { font-size: 1.7rem; }
  .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; }
}
