:root {
  --maroon: #6e1423;
  --maroon-deep: #470c17;
  --maroon-soft: #8f2a3b;
  --pink: #f2c9d0;
  --pink-soft: #fbe8eb;
  --blush: #fdf3f4;
  --white: #fffdfc;
  --gold: #c39a5a;
  --ink: #3b1a20;
  --muted: #8a6268;
  --line: rgba(110, 20, 35, 0.14);
  --radius: 22px;
  --shadow: 0 18px 50px -24px rgba(71, 12, 23, 0.45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Jost", system-ui, sans-serif;
  --chalk: "Caveat", cursive;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
body.locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; color: var(--maroon); }
.script { font-family: var(--script); font-weight: 400; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--maroon-soft);
  margin: 0 0 0.8rem;
}
.small { font-size: 0.75rem; opacity: 0.75; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--maroon);
  background: var(--maroon);
  color: var(--white);
  font-family: var(--sans); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 24px -12px rgba(110, 20, 35, 0.7);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); background: var(--maroon-deep); }
.btn--light { background: var(--white); color: var(--maroon); border-color: var(--white); }
.btn--light:hover { background: var(--pink-soft); }
.btn--ghost { background: transparent; color: var(--maroon); box-shadow: none; }
.btn--ghost:hover { background: var(--pink-soft); }
.btn--sm { padding: 0.55rem 1.1rem; font-size: 0.78rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: wait; transform: none; }

/* ---------- Cover ---------- */
.cover {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  color: var(--white); text-align: center;
  background: var(--maroon-deep);
  transition: transform 1.1s cubic-bezier(0.7, 0, 0.2, 1), opacity 1.1s ease;
  overflow: hidden;
}
.cover.is-open { transform: translateY(-100%); opacity: 0.4; pointer-events: none; }
.cover__bg {
  position: absolute; inset: -20px;
  background: var(--img) center/cover;
  filter: blur(14px) saturate(1.1);
  opacity: 0.35;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(110, 20, 35, 0.35), rgba(71, 12, 23, 0.95) 75%);
}
.cover__inner { position: relative; z-index: 1; padding: 2rem 1.5rem; max-width: 460px; }
.cover .eyebrow { color: var(--pink); }
.cover__photo {
  width: 190px; height: 250px; margin: 0.5rem auto 1.2rem;
  border-radius: 999px 999px 24px 24px;
  overflow: hidden;
  border: 3px solid var(--pink);
  outline: 1px solid rgba(242, 201, 208, 0.45); outline-offset: 7px;
  animation: float 6s ease-in-out infinite;
}
.cover__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cover__names { font-size: clamp(3rem, 12vw, 4.4rem); color: var(--white); line-height: 1.1; }
.cover__names span, .hero__names span { color: var(--pink); font-size: 0.7em; }
.cover__date { font-family: var(--serif); font-size: 1.15rem; letter-spacing: 0.25em; margin: 0.4rem 0 1.6rem; color: var(--pink); }
.cover__guest {
  background: rgba(255, 253, 252, 0.08);
  border: 1px solid rgba(242, 201, 208, 0.3);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.6rem;
  backdrop-filter: blur(6px);
}
.cover__guest p { margin: 0; font-size: 0.85rem; }
.cover__guest-name { font-family: var(--serif); font-size: 1.5rem !important; font-weight: 600; margin: 0.3rem 0 !important; color: var(--white); }

@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Music & Dock ---------- */
.music {
  position: fixed; right: 16px; bottom: 92px; z-index: 30;
  width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: var(--maroon); color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.music svg { width: 20px; height: 20px; }
.music.is-playing { animation: spin 5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.dock {
  position: fixed; left: 50%; bottom: 14px; z-index: 30;
  transform: translateX(-50%);
  display: flex; gap: 0.15rem;
  padding: 0.4rem;
  background: rgba(255, 253, 252, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.dock a {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.4rem 0.7rem; border-radius: 999px;
  color: var(--muted); text-decoration: none; font-size: 0.6rem; letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.dock svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dock a.is-active, .dock a:hover { background: var(--maroon); color: var(--white); }

/* ---------- Layout ---------- */
.section { padding: 5.5rem 1.25rem; position: relative; }
.section--blush { background: var(--blush); }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.sec-head h2 { font-size: clamp(2.3rem, 7vw, 3.4rem); line-height: 1.1; }
.sec-head h2::after {
  content: ""; display: block; width: 64px; height: 10px; margin: 0.9rem auto 0;
  background:
    radial-gradient(circle, var(--maroon) 2.5px, transparent 3px) center/16px 10px repeat-x;
  opacity: 0.5;
}
.sec-lead { color: var(--muted); margin: 1rem auto 0; font-size: 0.98rem; }
.sec-head--light h2, .sec-head--light .eyebrow { color: var(--white); }
.sec-head--light h2::after { background: radial-gradient(circle, var(--pink) 2.5px, transparent 3px) center/16px 10px repeat-x; }
.sec-head--light .sec-lead { color: var(--pink); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr;
  padding: 4rem 1.25rem 6rem;
  max-width: 1100px; margin: 0 auto;
  text-align: center;
}
.hero__names { font-size: clamp(3.6rem, 13vw, 6rem); line-height: 1.05; }
.hero__sub { font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--muted); margin: 0.8rem 0 1.8rem; }
.hero__frame {
  margin: 0 auto; position: relative; width: min(100%, 420px);
  padding: 14px; background: #3d4b3e;
  border-radius: 14px;
  border: 10px solid #8a5a3c;
  box-shadow: var(--shadow), inset 0 0 40px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}
.hero__frame img { border-radius: 4px; aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.hero__frame::before {
  content: ""; position: absolute; left: 24px; bottom: -22px; width: 60px; height: 10px;
  background: #fff; border-radius: 3px; transform: rotate(4deg);
  box-shadow: 70px 2px 0 -1px var(--pink);
}
.chalk {
  font-family: var(--chalk); font-size: 1.5rem; color: #f6efe6; text-align: center; padding-top: 0.5rem;
}

.countdown { display: flex; justify-content: center; gap: 0.7rem; margin-bottom: 0.4rem; }
.countdown div {
  width: 74px; padding: 0.75rem 0 0.55rem;
  background: var(--maroon); color: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 24px -14px rgba(110, 20, 35, 0.8);
  position: relative;
}
.countdown div::before {
  content: ""; position: absolute; left: 50%; top: -5px; width: 22px; height: 8px; transform: translateX(-50%);
  background: var(--pink); border-radius: 4px;
}
.countdown b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1; }
.countdown span { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--pink); }
.countdown__note { font-size: 0.8rem; color: var(--muted); margin: 0.8rem 0 1.6rem; letter-spacing: 0.05em; }

/* ---------- Verse ---------- */
.verse {
  max-width: 720px; width: calc(100% - 2.5rem); margin: 0 auto 1rem; padding: 3rem 1.6rem 3rem 3.2rem;
  text-align: center;
  background: var(--pink-soft) repeating-linear-gradient(transparent 0 31px, rgba(110, 20, 35, 0.08) 31px 32px);
  border-radius: var(--radius);
  position: relative;
}
.verse::before { content: ""; position: absolute; left: 36px; top: 0; bottom: 0; width: 1px; background: rgba(110, 20, 35, 0.25); }
.verse__ar { font-size: 1.5rem; line-height: 2.2; color: var(--maroon); margin: 0 0 1rem; font-family: "Amiri", "Scheherazade New", serif; }
.verse__id { font-family: var(--serif); font-style: italic; font-size: 1.15rem; margin: 0; }
.verse__ref { font-weight: 500; letter-spacing: 0.2em; font-size: 0.75rem; color: var(--maroon-soft); text-transform: uppercase; margin: 1rem 0 0; }

/* ---------- Couple ---------- */
.couple { display: grid; gap: 2rem; max-width: 1000px; margin: 0 auto; grid-template-columns: 1fr; align-items: start; }
.person { text-align: center; }
.person__photo {
  position: relative;
  width: min(100%, 300px); margin: 0 auto 1.4rem;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  border: 4px solid var(--white);
  outline: 1px solid var(--pink); outline-offset: 6px;
  box-shadow: var(--shadow);
}
.person__photo img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.tag {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  background: var(--white); color: var(--maroon);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.person h3 { font-size: clamp(2.2rem, 7vw, 2.8rem); line-height: 1.2; }
.person__title { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--maroon-soft); margin: 0.1rem 0 0.8rem; }
.person__family { margin: 0; color: var(--muted); font-size: 0.92rem; }
.person__parents { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin: 0.3rem 0 0.8rem; }
.person__origin { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--maroon-soft); margin: 0; }
.person__origin svg { width: 16px; height: 16px; flex: none; }
.couple__amp { font-family: var(--script); font-size: 5rem; color: var(--pink); text-align: center; line-height: 1; align-self: center; }

/* ---------- Adat ---------- */
.adat {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  padding: 5.5rem 1.25rem;
  position: relative; overflow: hidden;
}
.adat::before {
  content: ""; position: absolute; inset: 0; opacity: 0.08;
  background-image: repeating-linear-gradient(45deg, var(--pink) 0 1px, transparent 1px 22px), repeating-linear-gradient(-45deg, var(--pink) 0 1px, transparent 1px 22px);
}
.adat__grid { position: relative; display: grid; gap: 1.4rem; max-width: 900px; margin: 0 auto; grid-template-columns: 1fr; }
.adat__card {
  position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  background: none; text-align: left;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.adat__card img { aspect-ratio: 3/4; object-fit: cover; width: 100%; transition: transform 0.8s ease; }
.adat__card:hover img { transform: scale(1.04); }
.adat__card span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 3rem 1.4rem 1.3rem;
  background: linear-gradient(transparent, rgba(71, 12, 23, 0.92));
  color: var(--pink); font-size: 0.82rem; letter-spacing: 0.05em;
}
.adat__card b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--white); letter-spacing: 0; }

/* ---------- Events ---------- */
.events { display: grid; gap: 1.5rem; max-width: 920px; margin: 0 auto; grid-template-columns: 1fr; }
.event {
  display: grid; grid-template-columns: 92px 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.event__date {
  background: var(--maroon); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1rem 0.4rem; text-align: center;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
}
.event__date b { font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 600; color: var(--pink); margin: 0.2rem 0; }
.event__body {
  padding: 1.5rem 1.4rem;
  background: repeating-linear-gradient(transparent 0 29px, rgba(110, 20, 35, 0.06) 29px 30px);
}
.event__lesson { font-family: var(--chalk); font-size: 1.2rem; color: var(--maroon-soft); margin: 0 0 0.1rem; }
.event h3 { font-size: 1.55rem; line-height: 1.2; }
.event h3.mt { margin-top: 1rem; }
.event__time { margin: 0.2rem 0 0; font-weight: 500; color: var(--maroon-soft); }
.event__place { margin: 1rem 0 1.2rem; font-size: 0.92rem; color: var(--muted); }
.event__place b { color: var(--ink); font-weight: 500; }
.event__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }

.map { max-width: 920px; margin: 2rem auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--white); }
.map__tabs { display: flex; }
.map__tabs button {
  flex: 1; padding: 0.85rem; border: 0; background: var(--pink-soft); color: var(--maroon);
  font-weight: 500; font-size: 0.85rem;
}
.map__tabs button.is-active { background: var(--maroon); color: var(--white); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0 auto 2rem; max-width: 900px; }
.filters button {
  border: 1px solid var(--maroon); background: transparent; color: var(--maroon);
  border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.8rem; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.filters button.is-active, .filters button:hover { background: var(--maroon); color: var(--white); }
.gallery { columns: 2 160px; column-gap: 0.8rem; max-width: 1100px; margin: 0 auto; }
.gallery button {
  display: block; width: 100%; margin: 0 0 0.8rem; padding: 0; border: 0;
  border-radius: 16px; overflow: hidden; break-inside: avoid; position: relative;
  background: var(--pink-soft);
  box-shadow: 0 12px 30px -20px rgba(71, 12, 23, 0.6);
  animation: pop 0.5s ease both;
}
.gallery img { width: 100%; height: auto; transition: transform 0.6s ease; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button span {
  position: absolute; left: 8px; bottom: 8px; right: 8px;
  font-size: 0.7rem; text-align: left; color: var(--white);
  background: rgba(71, 12, 23, 0.7); padding: 0.25rem 0.6rem; border-radius: 999px;
  width: fit-content; max-width: calc(100% - 16px);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(30, 6, 10, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 0.5rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: var(--pink); margin-top: 0.8rem; font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.lightbox__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; color: var(--white); font-size: 2.4rem; line-height: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(110, 20, 35, 0.6);
  color: var(--white); font-size: 1.8rem; line-height: 1;
}
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }

/* ---------- RSVP ---------- */
.rsvp { display: grid; gap: 2rem; max-width: 1050px; margin: 0 auto; grid-template-columns: 1fr; align-items: start; }
.paper {
  background:
    linear-gradient(90deg, transparent 38px, rgba(110, 20, 35, 0.3) 38px 39px, transparent 39px),
    repeating-linear-gradient(var(--white) 0 35px, rgba(242, 201, 208, 0.7) 35px 36px);
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem 3.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: grid; gap: 1.1rem;
  position: relative;
}
.paper::before {
  content: ""; position: absolute; left: 12px; top: 28px; bottom: 28px; width: 12px;
  background: radial-gradient(circle, var(--blush) 4px, rgba(110, 20, 35, 0.25) 5px, transparent 6px) center top/12px 42px repeat-y;
}
.paper label, .paper legend { display: grid; gap: 0.35rem; font-size: 0.82rem; font-weight: 500; color: var(--maroon); letter-spacing: 0.04em; }
.paper fieldset { border: 0; padding: 0; margin: 0; }
.paper legend { margin-bottom: 0.4rem; }
.paper input:not([type="radio"]), .paper select, .paper textarea {
  width: 100%; font: inherit; font-weight: 400; color: var(--ink);
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(110, 20, 35, 0.22); border-radius: 12px;
  background: rgba(255, 253, 252, 0.9);
  transition: border 0.2s, box-shadow 0.2s;
}
.paper textarea { resize: vertical; }
.paper input:focus, .paper select:focus, .paper textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(242, 201, 208, 0.8); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px;
  border: 1px solid rgba(110, 20, 35, 0.3); background: var(--white);
  font-weight: 400; font-size: 0.82rem; color: var(--ink); letter-spacing: 0;
  transition: all 0.2s;
}
.chips input:checked + span { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px var(--pink); }
.form-msg { margin: 0; min-height: 1.2em; font-size: 0.85rem; text-align: center; color: var(--maroon-soft); }
.form-msg.is-error { color: #b0263c; }

.board {
  background: radial-gradient(ellipse at 30% 20%, #8a2033, var(--maroon-deep) 75%);
  border: 12px solid #8a5a3c;
  border-radius: 14px;
  box-shadow: var(--shadow), inset 0 0 50px rgba(0, 0, 0, 0.35);
  padding: 1.2rem;
  color: #fbeef0;
  position: relative;
}
.board::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: -20px; height: 8px;
  background: #6d4530; border-radius: 0 0 6px 6px;
}
.board__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
.board__stats div { text-align: center; border: 1px dashed rgba(251, 238, 240, 0.4); border-radius: 12px; padding: 0.5rem 0.2rem; }
.board__stats b { display: block; font-family: var(--chalk); font-size: 2rem; line-height: 1; }
.board__stats span { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); }
.board__list { list-style: none; margin: 0; padding: 0 0.3rem 0 0; max-height: 470px; overflow-y: auto; display: grid; gap: 0.9rem; }
.board__list::-webkit-scrollbar { width: 6px; }
.board__list::-webkit-scrollbar-thumb { background: rgba(242, 201, 208, 0.4); border-radius: 3px; }
.board__list li { border-bottom: 1px dashed rgba(251, 238, 240, 0.22); padding-bottom: 0.8rem; animation: pop 0.4s ease both; }
.wish__head { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.wish__name { font-family: var(--chalk); font-size: 1.45rem; line-height: 1.1; color: #fff; }
.wish__badge { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--pink); color: var(--maroon-deep); font-weight: 600; }
.wish__badge--tidak { background: rgba(251, 238, 240, 0.25); color: #fff; }
.wish__badge--ragu { background: #f1dcc0; }
.wish__msg { margin: 0.25rem 0 0.2rem; font-family: var(--chalk); font-size: 1.2rem; line-height: 1.3; color: #f6e8ea; white-space: pre-line; overflow-wrap: anywhere; }
.wish__time { font-size: 0.68rem; color: rgba(242, 201, 208, 0.75); }
.board__empty { font-family: var(--chalk); font-size: 1.3rem; text-align: center; color: var(--pink); border: 0 !important; padding: 2rem 0 !important; }

/* ---------- Gifts ---------- */
.gifts { display: grid; gap: 1.2rem; max-width: 520px; margin: 0 auto; }
.gift {
  text-align: center; background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.gift svg { width: 40px; height: 40px; color: var(--maroon); margin: 0 auto 0.6rem; }
.gift h3 { font-size: 1.5rem; }
.gift p { color: var(--muted); margin: 0.6rem 0 1.2rem; }
.gift b { color: var(--ink); font-weight: 500; }

/* ---------- Closing ---------- */
.closing { position: relative; padding: 7rem 1.5rem; text-align: center; color: var(--white); overflow: hidden; }
.closing__bg { position: absolute; inset: 0; background: var(--img) center/cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(rgba(71, 12, 23, 0.72), rgba(71, 12, 23, 0.94)); }
.closing__inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.closing p { font-family: var(--serif); font-size: 1.15rem; }
.closing__salam { font-style: italic; color: var(--pink); }
.closing .eyebrow { color: var(--pink); margin-top: 2rem; font-family: var(--sans); font-size: 0.72rem; }
.closing h2 { font-size: clamp(3.4rem, 12vw, 5rem); color: var(--white); line-height: 1.1; }
.closing__fam { font-size: 1rem !important; color: var(--pink-soft); }
.foot { text-align: center; padding: 1.6rem 1rem 6.5rem; font-size: 0.75rem; color: var(--muted); background: var(--blush); letter-spacing: 0.05em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 70;
  transform: translate(-50%, 20px); opacity: 0;
  background: var(--maroon-deep); color: var(--white);
  padding: 0.7rem 1.2rem; border-radius: 999px; font-size: 0.85rem;
  transition: all 0.3s ease; pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .gallery { columns: 3 220px; }
  .adat__grid { grid-template-columns: 1fr 1fr; }
  .events { grid-template-columns: 1fr 1fr; }
  .map iframe { height: 380px; }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr 0.9fr; text-align: left; }
  .hero .countdown { justify-content: flex-start; }
  .couple { grid-template-columns: 1fr auto 1fr; }
  .rsvp { grid-template-columns: 1fr 1fr; }
  .gallery { columns: 4 220px; }
}
@media (max-width: 380px) {
  .dock a span { display: none; }
  .countdown div { width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
