/* ==========================================================
   TEMPLATE 06 — CELESTIAL NIGHT
   One continuous night sky: moon, constellations, orbits.
   Bootstrap hanya untuk grid & utility.
   ========================================================== */

:root {
  --night: #0B1026;
  --indigo: #151B45;
  --violet: #2A2360;
  --gold: #D9C08A;
  --gold-d: #B39A62;
  --moon: #EFE9D8;
  --silver: #A9B8D9;
  --text: #C9D0E6;

  --f-display: 'Marcellus', 'Times New Roman', serif;
  --f-sans: 'Tenor Sans', system-ui, sans-serif;
  --f-serif: 'Spectral', Georgia, serif;

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

html { scrollbar-gutter: stable; background: #060914; }
body { margin: 0; font-family: var(--f-sans); font-size: .95rem; line-height: 1.75; color: var(--text); background: #060914; -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(--gold); color: var(--night); }

.invite { position: relative; isolation: isolate; width: min(100%, var(--col)); margin-inline: auto; overflow: hidden; container-type: inline-size; box-shadow: 0 0 90px #000;
  background: linear-gradient(#0B1026 0, #10163A 18%, #0B1026 34%, #171D4A 52%, #0B1026 70%, #1B1F52 86%, #3A2D66 94%, #8A5E78 98.5%, #D9A08A 100%); }
.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; }
}

/* star layers */
.sky-stars { position: absolute; inset: 0; pointer-events: none; background: url(../assets/textures/stars-a.svg) 0 0 / 400px, url(../assets/textures/nebula.svg) 0 0 / 600px; }
.sky-stars::after { content: ""; position: absolute; inset: 0; background: url(../assets/textures/stars-b.svg) 120px 60px / 340px; animation: twinkle 4.5s ease-in-out infinite; }
.sky-stars--page { z-index: -1; }
@keyframes twinkle { 50% { opacity: .25; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- shared ---------- */
.sec { position: relative; padding: 4.6rem var(--pad) 5rem; isolation: isolate; text-align: center; }
.sec > *:not(.deco):not(.frame-s) { position: relative; z-index: 2; }
.s-indigo, .s-violet { border-block: 1px solid rgba(217, 192, 138, .28); }
.s-indigo { background: linear-gradient(rgba(27, 34, 80, .7), rgba(21, 27, 69, .35)); }
.s-violet { background: radial-gradient(90% 70% at 50% 40%, rgba(74, 60, 150, .5), rgba(42, 35, 96, .25) 60%, transparent); }
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 0; max-width: none; translate: 0 var(--py, 0px); }
.frame-s { position: absolute; inset: 9px; z-index: 1; pointer-events: none; border: 48px solid transparent; border-image: url(../assets/frames/border-stars.svg) 130 / 48px stretch; }

.lbl-c { font-size: .62rem; letter-spacing: .44em; text-indent: .44em; text-transform: uppercase; color: var(--gold); }
.ttl { font-family: var(--f-display); font-size: clamp(2rem, 9.6cqw, 2.5rem); line-height: 1.15; letter-spacing: .14em; text-indent: .14em; text-transform: uppercase; color: var(--moon); text-shadow: 0 0 26px rgba(217, 192, 138, .45); }
.head .ttl { margin: .6rem 0 .8rem; }
.divider { width: 240px; margin-inline: auto; }
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.12rem; line-height: 1.5; color: var(--moon); }
.note-c { max-width: 32ch; margin: .9rem auto 0; }
.phases { width: 250px; margin-inline: auto; }

.btn-c { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.6rem; border: 1px solid var(--gold); border-radius: 999px; background: rgba(217, 192, 138, .08); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase; color: var(--moon); box-shadow: 0 0 24px rgba(217, 192, 138, .25), inset 0 0 18px rgba(217, 192, 138, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); cursor: pointer; transition: background .5s, color .5s, box-shadow .5s; }
.btn-c img { width: 14px; animation: spin 9s linear infinite; }
.btn-c:hover { background: var(--gold); color: var(--night); box-shadow: 0 0 34px rgba(217, 192, 138, .6); }
.pill-c { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .9rem; border: 1px solid rgba(217, 192, 138, .6); border-radius: 999px; background: transparent; font-size: .66rem; letter-spacing: .12em; color: var(--gold); cursor: pointer; transition: background .4s, color .4s; }
.pill-c:hover { background: var(--gold); color: var(--night); }

/* photo in the moon */
.lune { position: relative; aspect-ratio: 1; }
.lune-glow { position: absolute; inset: -9%; width: 118%; max-width: none; animation: float 8s ease-in-out infinite; }
.lune-ring { position: absolute; inset: -7%; width: 114%; max-width: none; animation: spin 120s linear infinite; }
.lune-img { position: absolute; inset: 6.5%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(217, 192, 138, .7), 0 0 40px rgba(217, 192, 138, .3); }
.lune-glow + .lune-img { inset: 4%; box-shadow: none; animation: float 8s ease-in-out infinite; }
.lune-img img, .eclipse-img img, .win img, .orb img, .node-photo img, .scope-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) sepia(.45) hue-rotate(188deg) saturate(1.25) contrast(1.06); }

/* ---------- reveal ---------- */
[data-reveal] { transition: opacity 1.4s ease, transform 1.5s var(--ease), filter 1.4s ease; transition-delay: var(--d, 0s); }
[data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
[data-reveal="fade"]:not(.is-in) { transform: none; }
[data-reveal="glow"]:not(.is-in) { transform: scale(.94); filter: blur(10px) brightness(2.2); }

/* ==========================================================
   COVER
   ========================================================== */
.cover { z-index: 1000; overflow: hidden; container-type: size; background: radial-gradient(110% 70% at 50% 30%, #232A66, #10163A 55%, #070A1A); transition: opacity 1.2s ease .8s, transform 2s cubic-bezier(.6, 0, .2, 1), filter 1.6s ease .3s; }
.cover.is-opening { opacity: 0; transform: scale(2.6); filter: brightness(2.4) blur(6px); pointer-events: none; }
.cover-astro { width: 180%; left: -40%; top: -8%; opacity: .2; animation: spin 240s linear infinite; }
.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; }
.cover-lune { width: min(50%, 30cqh); margin: clamp(1.6rem, 5cqh, 2.8rem) 0 clamp(1.4rem, 4.6cqh, 2.4rem); }
.cover-names { font-family: var(--f-display); font-size: clamp(2.3rem, 11.6cqw, 3.1rem); line-height: 1.15; letter-spacing: .14em; text-indent: .14em; text-transform: uppercase; color: var(--moon); text-shadow: 0 0 30px rgba(217, 192, 138, .6); }
.cover-names span, .side-names span, .closing-names span { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: .7em; letter-spacing: 0; text-transform: none; color: var(--gold); }
.cover .phases { width: 210px; margin: .9rem auto .6rem; }
.cover-guest { margin-top: clamp(.8rem, 2.6cqh, 1.5rem); display: flex; flex-direction: column; }
.cover-guest span { font-size: .78rem; }
.cover-guest strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; letter-spacing: .06em; color: var(--moon); line-height: 1.35; }
.cover .btn-c { margin-top: clamp(.9rem, 2.6cqh, 1.4rem); }
.cv { animation: cvIn 1.5s var(--ease) both; animation-delay: calc(.3s + var(--i) * .15s); }
@keyframes cvIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: 5rem; min-height: max(var(--vh), 780px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero-orbit { width: 170%; left: -35%; top: 31%; opacity: .55; }
.hero-const { width: 62%; right: -16%; top: 3%; opacity: .7; }
.hero-names { display: flex; flex-direction: column; margin-top: 1.2rem; font-family: var(--f-display); font-size: clamp(3.4rem, 17cqw, 4.6rem); line-height: 1.02; letter-spacing: .16em; text-indent: .16em; text-transform: uppercase; color: var(--moon); text-shadow: 0 0 36px rgba(217, 192, 138, .55); }
.hero-names i { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: .5rem 0 .3rem; font-family: var(--f-serif); font-weight: 300; font-size: 1.25rem; letter-spacing: .1em; text-indent: 0; text-transform: none; color: var(--gold); text-shadow: none; }
.hero-names i img { width: 12px; }
.eclipse { width: 66%; aspect-ratio: 1; margin: 2.6rem auto 2.4rem; }
.eclipse-ring { position: absolute; inset: -16%; width: 132%; max-width: none; opacity: .8; animation: spin 140s linear infinite; }
.eclipse-img { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 60px rgba(217, 192, 138, .35); }
.eclipse-crescent { position: absolute; width: 46%; right: -17%; top: -13%; filter: drop-shadow(0 0 16px rgba(217, 192, 138, .7)); animation: float 7s ease-in-out infinite; }
.kenburns { animation: kb 24s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02); } to { transform: scale(1.14); } }
.hero-date { margin: .9rem 0 .8rem; font-family: var(--f-display); font-size: 1rem; letter-spacing: .18em; text-indent: .18em; text-transform: uppercase; color: var(--moon); white-space: nowrap; }
.hero .serif { max-width: 25ch; }

/* ==========================================================
   QUOTE
   ========================================================== */
.quote { padding-inline: 2.4rem; }
.quote-heart { width: 190px; filter: drop-shadow(0 0 10px rgba(217, 192, 138, .8)); margin: 0 auto 1rem; animation: float 9s ease-in-out infinite; }
.quote blockquote { margin: 0 0 1.4rem; font-size: clamp(1.6rem, 7.6cqw, 1.9rem); line-height: 1.34; }
.quote-verse { margin: 1.3rem 0 1.1rem; }

/* ==========================================================
   COUPLE — binary stars
   ========================================================== */
.binary { margin-top: 2.4rem; }
.binary-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .7; }
.planet { display: grid; grid-template-columns: 46% 1fr; gap: 1.4rem; align-items: center; text-align: left; }
.planet--alt { grid-template-columns: 1fr 46%; margin-top: 2.2rem; text-align: right; }
.planet--alt .lune { order: 2; }
.planet .ttl { font-size: clamp(1.25rem, 6cqw, 1.55rem); letter-spacing: .1em; text-indent: 0; margin: .4rem 0 .4rem; }
.planet-info p:not(.lbl-c) { font-size: .82rem; line-height: 1.55; margin-bottom: .8rem; }
.planet .lbl-c { text-indent: 0; }

/* ==========================================================
   EVENT — tarot cards
   ========================================================== */
.tarots { margin-top: 2.2rem; }
.tarot { position: relative; max-width: 300px; margin: 0 auto; padding: 3rem 1.4rem 3.2rem; border-radius: 150px 150px 14px 14px; background: linear-gradient(170deg, rgba(42, 49, 110, .92), rgba(16, 22, 58, .95)); box-shadow: 0 0 0 1px var(--gold), 0 0 0 7px rgba(11, 16, 38, .9), 0 0 0 8px rgba(217, 192, 138, .5), 0 34px 44px -20px #000; rotate: -2.2deg; }
.tarot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url(../assets/textures/stars-b.svg) 0 0 / 240px; opacity: .6; }
.tarot > * { position: relative; }
.tarot--alt { margin-top: 2.6rem; rotate: 2.2deg; background: linear-gradient(170deg, rgba(64, 50, 130, .92), rgba(26, 22, 70, .95)); }
.tarot-no { position: absolute !important; left: 50%; top: -18px; width: 36px; height: 36px; margin-left: -18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: var(--night); font-family: var(--f-display); font-size: .9rem; color: var(--gold); }
.tarot-icon { width: 84px; margin: 0 auto 1rem; animation: spin 60s linear infinite; }
.tarot--alt .tarot-icon { animation: float 7s ease-in-out infinite; }
.tarot .ttl { font-size: 1.75rem; margin: .5rem 0 .7rem; }
.tarot-date { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--moon); }
.tarot-time { font-size: .72rem; letter-spacing: .24em; color: var(--gold); margin: .2rem 0 .9rem; }
.tarot-place { font-family: var(--f-display); font-size: 1.1rem; line-height: 1.4; color: var(--moon); margin-bottom: 1rem; }
.tarot-place span { display: block; margin-top: .2rem; font-family: var(--f-sans); font-size: .78rem; line-height: 1.5; color: var(--text); }
.tarot-foot { position: absolute !important; left: 0; right: 0; bottom: 1rem; font-size: .54rem; letter-spacing: .5em; text-indent: .5em; text-transform: uppercase; color: var(--gold-d); }

/* ==========================================================
   COUNTDOWN — four moons
   ========================================================== */
.countdown { overflow: hidden; }
.count-astro { width: 130%; left: -15%; top: 50%; margin-top: -65%; opacity: .16; animation: spin 200s linear infinite; }
.moons { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.4rem -.2rem 2rem; }
.mn { aspect-ratio: 1; display: grid; place-content: center; border-radius: 50%; color: var(--night); background: radial-gradient(circle at 36% 30%, #FFFDF4, #E4DCC4 55%, #B4AC94); box-shadow: 0 0 26px rgba(239, 233, 216, .45), inset -8px -8px 18px rgba(60, 56, 44, .35); }
.mn:nth-child(2) { box-shadow: 0 0 26px rgba(239, 233, 216, .35), inset -18px -6px 20px rgba(11, 16, 38, .75); }
.mn:nth-child(3) { box-shadow: 0 0 26px rgba(239, 233, 216, .3), inset -30px -6px 24px rgba(11, 16, 38, .85); }
.mn:nth-child(4) { box-shadow: 0 0 26px rgba(239, 233, 216, .25), inset -44px -4px 26px rgba(11, 16, 38, .92); }
.mn strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.5rem, 7.4cqw, 1.9rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; text-shadow: 0 0 8px #fff, 0 0 2px #fff; }
.mn span { font-size: .5rem; letter-spacing: .22em; text-indent: .22em; text-transform: uppercase; text-shadow: 0 0 6px #fff, 0 0 2px #fff; }

/* ==========================================================
   STORY — constellation trail
   ========================================================== */
.trail { list-style: none; margin: 2.4rem 0 0; padding: 0; position: relative; }
.trail::before { content: ""; position: absolute; left: 50%; top: 20px; bottom: 60px; border-left: 1px dashed rgba(217, 192, 138, .6); }
.node { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.4rem; align-items: center; padding-bottom: 2.4rem; }
.node:last-child { padding-bottom: 0; }
.node-star { position: absolute; left: 50%; top: calc(50% - 1.2rem); width: 26px; height: 26px; margin: -13px 0 0 -13px; background: url(../assets/ornaments/spark.svg) center / contain no-repeat; filter: drop-shadow(0 0 8px var(--gold)); animation: twinkle 3s ease-in-out infinite; }
.node:last-child .node-star { top: 50%; }
.node-photo { aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(11, 16, 38, .8), 0 0 0 7px rgba(217, 192, 138, .4), 0 0 30px rgba(217, 192, 138, .25); margin: 7px; }
.node-text { text-align: left; }
.node--alt .node-photo { order: 2; }
.node--alt .node-text { text-align: right; }
.node-year { display: block; font-family: var(--f-display); font-size: 2.3rem; line-height: 1; letter-spacing: .1em; color: var(--gold); text-shadow: 0 0 20px rgba(217, 192, 138, .5); }
.node h3 { font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; line-height: 1.25; color: var(--moon); margin: .3rem 0 .3rem; }
.node p { font-size: .8rem; line-height: 1.55; }

/* ==========================================================
   GALLERY — windows
   ========================================================== */
.windows { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-items: end; margin-top: 2.2rem; }
.ph { display: block; overflow: hidden; cursor: zoom-in; }
.ph img { transition: transform 1.8s var(--ease), filter 1s; }
.ph:hover img { transform: scale(1.06); filter: none; }
.win { border-radius: 999px 999px 6px 6px; box-shadow: 0 0 0 1px var(--gold), 0 0 24px rgba(217, 192, 138, .2); }
.w1 { aspect-ratio: 1 / 1.7; } .w2 { aspect-ratio: 1 / 2.1; } .w3 { aspect-ratio: 1 / 1.7; }
.orb { grid-column: 1 / 4; width: 74%; aspect-ratio: 1; margin: 1rem auto; border-radius: 50%; box-shadow: 0 0 0 1px var(--gold), 0 0 0 9px rgba(11, 16, 38, .7), 0 0 0 10px rgba(217, 192, 138, .45), 0 0 60px rgba(217, 192, 138, .3); }
.w5, .w6, .w7 { align-self: start; border-radius: 6px 6px 999px 999px; }
.w5 { aspect-ratio: 1 / 1.7; } .w6 { aspect-ratio: 1 / 2.1; } .w7 { aspect-ratio: 1 / 1.7; }
.win-const { width: 60%; right: -22%; top: 40%; opacity: .8; z-index: 3; }

/* ==========================================================
   VIDEO — telescope
   ========================================================== */
.scope { position: relative; display: block; width: 84%; aspect-ratio: 1; margin: 2.4rem auto 2.2rem; padding: 0; border: 0; background: none; cursor: pointer; }
.scope-ring { position: absolute; inset: -9%; width: 118%; max-width: none; animation: spin 90s linear infinite; }
.scope-img { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 50px rgba(217, 192, 138, .3); }
.scope-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 49.7%, rgba(217, 192, 138, .5) 49.7% 50.3%, transparent 50.3%), linear-gradient(90deg, transparent 49.7%, rgba(217, 192, 138, .5) 49.7% 50.3%, transparent 50.3%), radial-gradient(circle, transparent 55%, rgba(11, 16, 38, .7)); }
.scope-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold); background: rgba(11, 16, 38, .6); color: var(--moon); padding-left: 4px; box-shadow: 0 0 30px rgba(217, 192, 138, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video .serif { max-width: 27ch; margin-inline: auto; }

/* ==========================================================
   LIVE
   ========================================================== */
.sat { width: 150px; height: 150px; margin: 0 auto 1.4rem; display: grid; place-items: center; }
.sat i { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 50%; animation: wave 3.6s ease-out infinite; }
.sat i:nth-child(2) { animation-delay: 1.2s; } .sat i:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { from { transform: scale(.35); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.sat b { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--night); font-size: 1.3rem; box-shadow: 0 0 30px rgba(217, 192, 138, .6); }
.live .lbl-c:not(.head .lbl-c) { margin: 1.2rem 0 1.4rem; letter-spacing: .26em; }

/* ==========================================================
   RSVP — glass
   ========================================================== */
.glass { margin-top: 2.2rem; padding: 2.8rem 1.8rem 2.5rem; text-align: left; border-radius: 18px; background: rgba(169, 184, 217, .08); border: 1px solid rgba(217, 192, 138, .4); box-shadow: 0 30px 50px -26px #000, inset 0 0 40px rgba(169, 184, 217, .06); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.glass .frame-s { inset: 6px; border-width: 36px; border-image-width: 36px; }
.glass > form, .glass > .rsvp-done { position: relative; z-index: 2; }
.lbl { display: block; margin-bottom: .35rem; font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold); }
.fld { width: 100%; padding: .45rem 0; border: 0; border-bottom: 1px solid rgba(217, 192, 138, .5); border-radius: 0; background: transparent; font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--moon); outline: 0; transition: border-color .4s, box-shadow .4s; }
.fld::placeholder { color: rgba(201, 208, 230, .4); }
.fld:focus { border-color: var(--moon); box-shadow: 0 1px 0 var(--moon), 0 10px 14px -12px rgba(239, 233, 216, .8); }
.fld.is-invalid { border-color: #E08A9A; box-shadow: 0 1px 0 #E08A9A; }
textarea.fld { resize: none; padding: .7rem .9rem; border: 1px solid rgba(217, 192, 138, .4); border-radius: 12px; 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: 1px solid rgba(217, 192, 138, .5); border-radius: 999px; text-align: center; font-size: .66rem; letter-spacing: .1em; white-space: nowrap; transition: background .4s, color .4s, box-shadow .4s; }
.choice input:checked + span { background: var(--moon); border-color: var(--moon); color: var(--night); box-shadow: 0 0 22px rgba(239, 233, 216, .5); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; font-size: 1.2rem; line-height: 1; color: var(--moon); transition: background .3s, color .3s; }
.stepper button:hover { background: var(--gold); color: var(--night); }
.stepper output { width: 3rem; text-align: center; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--moon); }
.stepper em { margin-left: .3rem; font-family: var(--f-serif); }
.rsvp-done { text-align: center; animation: cvIn 1.2s var(--ease) both; }
.rsvp-done img { width: 80px; margin: 0 auto .8rem; }
.rsvp-done p { max-width: 28ch; margin: .5rem auto 1rem; }
.link-btn { border: 0; background: none; font-family: var(--f-serif); font-style: italic; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================
   WISHES
   ========================================================== */
.wishes-list { list-style: none; margin: 1.8rem 0 0; padding: 0 .6rem 0 0; max-height: 480px; overflow-y: auto; text-align: left; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.wish { position: relative; margin-bottom: 12px; padding: 1.1rem 1.2rem 1rem 2.7rem; border-radius: 14px; background: rgba(169, 184, 217, .08); border: 1px solid rgba(169, 184, 217, .22); }
.wish::before { content: ""; position: absolute; left: .95rem; top: 1.25rem; width: 16px; height: 16px; background: url(../assets/ornaments/spark.svg) center / contain no-repeat; animation: twinkle 3.4s ease-in-out infinite; }
.wish:nth-child(2n)::before { animation-delay: 1.2s; }
.wish.is-new { animation: cvIn 1.2s var(--ease) both; }
.wish-text { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: 1.04rem; line-height: 1.5; color: var(--moon); }
.wish-by { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; margin-top: .6rem; }
.wish-by b { font-weight: 400; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.wish-by span { margin-left: auto; font-size: .62rem; opacity: .6; }
.tg { padding: .05rem .5rem; border: 1px solid rgba(217, 192, 138, .6); border-radius: 999px; font-style: normal; font-size: .52rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tg--no { border-color: rgba(224, 138, 154, .7); color: #EBA5B2; } .tg--maybe { border-color: rgba(169, 184, 217, .7); color: var(--silver); }

/* ==========================================================
   GIFT
   ========================================================== */
.astro-card { 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: 16px; text-align: left; background: linear-gradient(130deg, #2B3277, #171D4A 45%, #3B2D78); box-shadow: 0 0 0 1px rgba(217, 192, 138, .7), 0 0 40px rgba(217, 192, 138, .2), 0 34px 40px -20px #000; }
.astro-card::before { content: ""; position: absolute; inset: 0; background: url(../assets/textures/stars-a.svg) 0 0 / 260px; }
.astro-card > * { position: relative; }
.astro-card-orbit { position: absolute !important; width: 120%; max-width: none; right: -44%; top: -10%; opacity: .6; }
.astro-card .lbl-c { font-size: .5rem; letter-spacing: .3em; text-indent: 0; }
.astro-card-top { display: flex; justify-content: space-between; align-items: center; }
.astro-card-top b { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .2em; line-height: 1; color: var(--moon); }
.astro-card-no { margin-top: auto; font-family: var(--f-display); font-size: clamp(1.5rem, 7.6cqw, 1.85rem); letter-spacing: .12em; line-height: 1.3; color: var(--moon); text-shadow: 0 0 18px rgba(217, 192, 138, .6); }
.astro-card-bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.astro-card-bottom p { font-size: .95rem; line-height: 1.4; color: var(--moon); }
.astro-card-bottom .lbl-c { display: block; }
.send { margin-top: 2.8rem; }
.send > img { width: 56px; margin: 0 auto .6rem; }
.send .ttl { font-size: 1.6rem; }
.send p { max-width: 29ch; margin: .5rem auto 1.4rem; }

/* ==========================================================
   LOCATION
   ========================================================== */
.starmap { width: 76%; aspect-ratio: 1; margin: 2.6rem auto 0; }
.starmap-ring { position: absolute; inset: -11%; width: 122%; max-width: none; animation: spin 120s linear infinite; }
.starmap-img { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(217, 192, 138, .25); }
.starmap-img img { width: 100%; height: 100%; object-fit: cover; }
.starmap-pin { position: absolute; left: 50%; top: 50%; width: 44px; margin: -22px 0 0 -22px; filter: drop-shadow(0 0 12px var(--gold)); animation: twinkle 2.4s ease-in-out infinite; }
.starmap-venue { position: absolute; width: 36%; aspect-ratio: 1; right: -10%; bottom: -8%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--gold), 0 0 0 6px rgba(11, 16, 38, .85), 0 0 0 7px rgba(217, 192, 138, .45); }
.starmap-venue img { width: 100%; height: 100%; object-fit: cover; }
.coords { margin-top: 2.6rem; font-family: var(--f-display); font-size: .92rem; letter-spacing: .26em; color: var(--gold); }
.loc { margin-top: .8rem; }
.loc .ttl { font-size: clamp(1.4rem, 7cqw, 1.8rem); }
.loc p { margin: .5rem 0 1.4rem; }

/* ==========================================================
   CLOSING + FOOTER
   ========================================================== */
.closing { padding-top: 6rem; padding-bottom: 4rem; }
.closing-lune { width: 62%; margin: 0 auto 2.6rem; }
.closing-title { font-family: var(--f-display); font-size: clamp(3rem, 15cqw, 4rem); line-height: 1.1; letter-spacing: .16em; text-indent: .16em; text-transform: uppercase; color: var(--moon); text-shadow: 0 0 36px rgba(217, 192, 138, .6); }
.closing .serif { margin-top: .4rem; color: var(--gold); }
.closing-names { margin: 1.8rem 0 1rem; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--moon); }

.footer { position: relative; padding: 2.4rem var(--pad) 7rem; text-align: center; color: #3A2540; }
.footer-crescent { width: 44px; margin: 0 auto .6rem; filter: brightness(.35) saturate(1.4); }
.footer-names { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: #2A1B3A; }
.footer .lbl-c { color: #4A2F4E; margin-top: .3rem; }
.footer-credit { margin-top: 1rem; font-size: .72rem; opacity: .7; }

/* ==========================================================
   FLOATING UI
   ========================================================== */
.ui { z-index: 800; pointer-events: none; opacity: 0; transition: opacity 1.2s ease 1.2s; overflow: hidden; }
body.is-open .ui { opacity: 1; }
.ui > *:not(.comets) { pointer-events: auto; }
.dock { position: absolute; left: 50%; bottom: 14px; translate: -50% 0; display: flex; gap: .1rem; padding: .3rem .4rem; border-radius: 999px; background: rgba(16, 22, 58, .78); border: 1px solid rgba(217, 192, 138, .5); box-shadow: 0 16px 26px -10px #000, 0 0 24px rgba(217, 192, 138, .15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dock a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; color: #8B95BC; transition: background .4s, color .4s, box-shadow .4s; }
.dock a.is-active { background: var(--moon); color: var(--night); box-shadow: 0 0 18px rgba(239, 233, 216, .7); }
.fab { position: absolute; right: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(217, 192, 138, .7); background: rgba(16, 22, 58, .78); color: var(--gold); font-size: .85rem; box-shadow: 0 0 20px rgba(217, 192, 138, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .5s, transform .5s var(--ease), visibility .5s; }
.fab--music { bottom: 76px; }
.fab--music.is-playing i { animation: spin 6s linear infinite; }
.fab--music:not(.is-playing) i { opacity: .45; }
.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: rgba(16, 22, 58, .92); border: 1px solid var(--gold); color: var(--moon); font-family: var(--f-serif); font-style: italic; font-size: .95rem; line-height: 1.3; text-align: center; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none !important; }
.toast-inv.is-show { opacity: 1; transform: none; }
.comets { position: absolute; inset: 0; }
.comets i { position: absolute; width: 110px; height: 1px; background: linear-gradient(90deg, transparent, #fff); opacity: 0; rotate: 152deg; }
.comets i::after { content: ""; position: absolute; right: 0; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px #fff; }
body.is-open .comets i { animation: comet 11s ease-in infinite; }
.comets i:nth-child(1) { left: 70%; top: 8%; }
.comets i:nth-child(2) { left: 90%; top: 34%; animation-delay: 4.2s !important; }
.comets i:nth-child(3) { left: 60%; top: 58%; animation-delay: 7.8s !important; }
@keyframes comet { 0% { transform: translateX(0); opacity: 0; } 3% { opacity: .9; } 12% { transform: translateX(340px); opacity: 0; } 100% { transform: translateX(340px); opacity: 0; } }
.grain { position: fixed; inset: 0; z-index: 3000; pointer-events: none; background: url(../assets/textures/noise.svg) 0 0 / 300px; opacity: .07; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(6, 9, 20, .96) url(../assets/textures/stars-a.svg) 0 0 / 400px; 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(86vw, 880px); max-height: 70vh; border-radius: 10px; box-shadow: 0 0 0 1px var(--gold), 0 0 60px rgba(217, 192, 138, .25); }
.lb-media iframe { display: block; width: min(92vw, 940px); aspect-ratio: 16 / 9; border: 1px solid var(--gold); border-radius: 10px; background: #000; }
.lb-fig figcaption { margin-top: 1.1rem; }
.lb-cap { display: block; font-family: var(--f-serif); font-style: italic; font-size: 1.4rem; color: var(--moon); }
.lb-count { display: block; margin-top: .2rem; font-size: .56rem; letter-spacing: .4em; color: var(--gold); }
.lb-btn { position: absolute; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); background: rgba(16, 22, 58, .8); color: var(--moon); display: grid; place-items: center; transition: background .3s, color .3s; }
.lb-btn:hover { background: var(--gold); color: var(--night); }
.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: radial-gradient(90% 70% at 50% 40%, #232A66, #10163A 55%, #070A1A); }
.side .sky-stars, .cover .sky-stars { background-size: 400px, cover; }
.side-astro { position: absolute; width: 96vh; max-width: none; left: 50%; top: 50%; margin: -48vh 0 0 -48vh; opacity: .45; animation: spin 240s linear infinite; }
.side-body { position: relative; z-index: 2; }
.side-crescent { width: 90px; margin: 0 auto 1.4rem; filter: drop-shadow(0 0 20px rgba(217, 192, 138, .7)); }
.side-names { font-family: var(--f-display); font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: 1.2; letter-spacing: .16em; text-indent: .16em; text-transform: uppercase; color: var(--moon); text-shadow: 0 0 40px rgba(217, 192, 138, .6); margin: 1rem 0 1.4rem; }
.side .phases { width: 300px; margin-bottom: 1.2rem; }

@media (max-width: 374px) {
  :root { --pad: 1.2rem; }
  .quote { padding-inline: 2rem; }
  .glass { padding-inline: 1.5rem; }
  .node { gap: 0 2rem; }
  .dock a { width: 35px; height: 35px; }
}
.is-shot .ui, .is-shot .grain { display: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  [data-reveal] { transition-duration: .01s; }
}
