/* Mobile wedding invitation - static implementation (step 1).
   ASCII only: all Korean copy lives in index.html / site-config. */

:root {
  --paper: url("assets/paper-cream.png") 0 0/260px 260px repeat, #f3efe5;
  --felt: url("assets/carpet-black2.png") 0 0/300px 300px repeat, #161514;
  --cream: #f3ede2;
  --ink: #111;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #d8d2c9;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

body { font-family: Pretendard, "Apple SD Gothic Neo", sans-serif; color: var(--ink); }

a { color: #111; text-decoration: none; }

.page {
  max-width: 430px;
  margin: 0 auto;
  background: #f3efe5;
  box-shadow: 0 0 40px rgba(60, 30, 30, .18);
  overflow: hidden;
  font-family: Pretendard, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
}

.paper { background: var(--paper); }
.felt { background: var(--felt); color: var(--cream); }

/* ---------- animations ---------- */
@keyframes bob {
  0% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -5px; rotate: 3deg; }
  100% { translate: 0 0; rotate: -2deg; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes sheetUp { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* scroll reveal: only armed once app.js is alive */
.reveal-ready [data-reveal] {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .9s ease, translate .9s ease;
}
.reveal-ready [data-reveal].is-revealed { opacity: 1; translate: 0 0; }

/* ---------- section header ---------- */
.sec-ico { display: block; margin: 0 auto; }
.felt .sec-ico { color: var(--cream); }
.paper .sec-ico { color: var(--ink); }

.sec-en {
  font-family: "Caveat", cursive;
  font-weight: 500;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: .02em;
  margin: 6px 0 0;
}
.felt .sec-en { color: var(--cream); }
.paper .sec-en { color: var(--ink); }

.sec-ko { font-size: 16px; margin-top: 12px; }
.felt .sec-ko { color: var(--cream); font-weight: 400; }
.paper .sec-ko { color: #3a3633; font-weight: 600; }

/* ---------- stamp (perforated) frame ----------
   --tx / --ty are the tooth periods. app.js tunes them per element so the
   period divides the real box size exactly (no clipped teeth at the edges). */
.stamp-mask {
  position: absolute;
  inset: 0;
  background: var(--paper);
  --tx: 10px;
  --ty: 10px;
  -webkit-mask:
    radial-gradient(circle at calc(var(--tx) / 2) calc(var(--ty) / 2), #000 calc(var(--tx) * .42), transparent calc(var(--tx) * .48)) 0 0 / var(--tx) var(--ty),
    linear-gradient(#000, #000) calc(var(--tx) / 2) calc(var(--ty) / 2) / calc(100% - var(--tx)) calc(100% - var(--ty)) no-repeat;
  mask:
    radial-gradient(circle at calc(var(--tx) / 2) calc(var(--ty) / 2), #000 calc(var(--tx) * .42), transparent calc(var(--tx) * .48)) 0 0 / var(--tx) var(--ty),
    linear-gradient(#000, #000) calc(var(--tx) / 2) calc(var(--ty) / 2) / calc(100% - var(--tx)) calc(100% - var(--ty)) no-repeat;
}

/* ---------- 01 Intro ---------- */
.sec-intro { position: relative; height: 684px; background: var(--paper); }

.hearts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hs { position: absolute; filter: drop-shadow(0 2px 3px rgba(40, 30, 20, .2)); }

.intro-title {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  pointer-events: none;
}
.intro-title-ko { font-size: 25px; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.intro-title-en {
  font-family: "Caveat", cursive;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 6px;
}
.intro-cover {
  position: absolute;
  top: 188px;
  left: 50%;
  transform: translateX(-50%);
  width: 350px;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(40, 30, 20, .14));
}
.intro-names {
  position: absolute;
  top: 548px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  pointer-events: none;
}

/* ---------- 02 Our Wedding day ---------- */
.sec-wedding { padding: 88px 0 64px; text-align: center; }

.lace {
  position: relative;
  width: 370px;
  max-width: calc(100% - 20px);
  aspect-ratio: 1008 / 702;
  margin: 44px auto 0;
  background: url("assets/lace-w.png") 0 0/100% 100% no-repeat;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4));
}
.lace-text {
  position: absolute;
  left: 11.2%;
  right: 9.9%;
  top: 13.8%;
  bottom: 13.5%;
  transform: rotate(2.8deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #2c2420;
  font-family: "Gowun Batang", "Batang", serif;
}
.lace-date, .lace-time { font-size: 19px; font-weight: 700; }
.lace-venue { font-size: 13px; font-weight: 700; color: #6d5b4c; margin-top: 8px; }

.parents {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 18px;
  color: var(--cream);
}
.parents b { font-weight: 700; color: var(--cream); }

/* ---------- 03 Locket ---------- */
.sec-locket { padding: 0 0 88px; text-align: center; }

.locket {
  position: relative;
  width: 350px;
  height: 252px;
  margin: 0 auto;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .45));
}
.locket img { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.strips {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding: 0 24px;
}
.strip {
  max-width: 100%;
  background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)), url("assets/paper-cream.png") 0 0/260px 260px repeat, #fbfaf7;
  color: #2a221e;
  font-family: "Nanum Pen Script", cursive;
  font-size: 20px;
  line-height: 1.1;
  padding: 10px 18px 8px;
  clip-path: polygon(0 14%, 3% 0, 10% 9%, 18% 2%, 27% 10%, 36% 1%, 45% 8%, 54% 0, 63% 9%, 72% 2%, 81% 10%, 90% 1%, 97% 8%, 100% 0, 99% 50%, 100% 100%, 94% 91%, 86% 99%, 77% 90%, 68% 98%, 59% 90%, 50% 99%, 41% 91%, 32% 100%, 23% 90%, 14% 98%, 6% 90%, 0 100%, 1% 50%);
}
.quote {
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--cream);
  font-style: italic;
  letter-spacing: .02em;
}

/* ---------- 04 Gallery ---------- */
.sec-gallery { padding: 0 0 88px; text-align: center; }

.gallery-hero { height: 262px; background: #d7d3cd; }
.gallery-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }

.gallery-ico { margin: 88px auto 0; }
.gallery-en { margin-top: 4px; }
.gallery-ko { margin-top: 10px; }

.gallery-board {
  margin: 44px 24px 0;
  background: var(--cream);
  padding: 22px 16px 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 14px;
}
.gstamp {
  position: relative;
  aspect-ratio: 4 / 5.1;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  filter: drop-shadow(0 1px 2px rgba(80, 60, 40, .18));
}
.gstamp-photo { position: absolute; inset: 9px; background: #e2dfda; overflow: hidden; }
.gstamp-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gstamp:nth-child(1) { transform: rotate(-2deg); }
.gstamp:nth-child(2) { transform: rotate(1.5deg); }
.gstamp:nth-child(3) { transform: rotate(-1deg); }
.gstamp:nth-child(4) { transform: rotate(2deg); }
.gstamp:nth-child(5) { transform: rotate(-1.5deg); }
.gstamp:nth-child(6) { transform: rotate(1deg); }
.gstamp:nth-child(7) { transform: rotate(-1deg); }
.gstamp:nth-child(8) { transform: rotate(2deg); }
.gstamp:nth-child(9) { transform: rotate(-2deg); }
.gstamp:nth-child(10) { transform: rotate(1.5deg); }
.gstamp:nth-child(11) { transform: rotate(-1deg); }
.gstamp:nth-child(12) { transform: rotate(2deg); }

/* ---------- 05 Save the Date ---------- */
.sec-save { padding: 88px 24px 32px; text-align: center; }

.cal { margin-top: 44px; }
.cal-month { font-size: 17px; font-weight: 700; color: var(--ink); }
.cal-dow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin-top: 22px;
  font-size: 16px;
  font-weight: 600;
  color: #878787;
}
.cal-dow .we { color: var(--ink); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  row-gap: 14px;
  margin-top: 18px;
}
.cal-cell {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.cal-cell span { position: relative; font-size: 17px; font-weight: 700; color: var(--ink); }
.cal-cell .cal-heart { position: absolute; width: 38px; height: 36px; color: var(--ink); }
.cal-cell.is-wedding span { font-size: 15px; margin-top: -3px; color: #fff; }

/* ---------- 06 Countdown & Location ---------- */
.sec-count { padding: 24px 24px 88px; text-align: center; }

.cd { display: flex; align-items: center; justify-content: center; gap: 8px; }
.cd-sep { color: #4a4541; font-weight: 700; font-size: 16px; }
.cd-box {
  width: 50px;
  height: 66px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(20, 18, 17, .25);
}
.cd-v { font-size: 22px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-l { font-size: 10px; font-weight: 500; margin-top: 5px; letter-spacing: .03em; opacity: .9; }

.cd-line {
  margin-top: 32px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}
.cd-days { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }

.loc-ico { margin: 88px auto 0; }

.map {
  margin-top: 44px;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  background: #e8e2d8;
  position: relative;
  isolation: isolate;
}
.map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(.85) brightness(1.08);
}
.map-o1 { position: absolute; inset: 0; background: #8a837b; mix-blend-mode: lighten; pointer-events: none; }
.map-o2 { position: absolute; inset: 0; background: var(--cream); mix-blend-mode: multiply; pointer-events: none; }

.venue { margin-top: 22px; font-size: 17px; font-weight: 700; color: var(--ink); }
.address { margin-top: 6px; font-size: 14px; color: #6b6560; }

.map-apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}
.map-app {
  height: 44px;
  border-radius: 10px;
  border: 1px solid #d4cec6;
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  font: 600 13px Pretendard, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-app:hover { background: #fff; }

.parking { margin-top: 44px; text-align: center; color: var(--ink); }
.parking-title { font-size: 15px; font-weight: 700; }
.parking-list { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.pk-name { font-size: 14px; font-weight: 700; }
.pk-addr { margin-top: 4px; font-size: 14px; color: #6b6560; }

/* ---------- 07 Detail ---------- */
.sec-detail { padding: 88px 0; text-align: center; }

.carousel { position: relative; margin-top: 44px; }
.carousel-view { overflow: hidden; touch-action: pan-y; }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.slide { flex: 0 0 100%; padding: 0 28px; display: flex; align-items: center; }

.dcard {
  position: relative;
  width: 100%;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4));
}
.dcard-1 { aspect-ratio: 800 / 617; background: url("assets/detail-2-w.png") 0 0/100% 100% no-repeat; }
.dcard-2 { aspect-ratio: 800 / 650; background: url("assets/detail-3-w.png") 0 0/100% 100% no-repeat; }
.dcard-3 { aspect-ratio: 800 / 641; background: url("assets/detail-1-w.png") 0 0/100% 100% no-repeat; }

.dcard-text {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #3a312c;
  font-family: "Gowun Batang", "Batang", serif;
  font-weight: 700;
}
.dcard-1 .dcard-text { top: 31%; right: 10%; bottom: 14%; left: 10%; }
.dcard-2 .dcard-text { top: 18.6%; right: 14.8%; bottom: 19%; left: 16%; }
.dcard-3 .dcard-text { top: 17.7%; right: 14.7%; bottom: 19%; left: 15%; }

.dcard-title { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.dcard-p {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 700;
  text-wrap: pretty;
  white-space: pre-line;
}
.dcard-p2 { margin-top: 8px; }

.car-nav {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(243, 237, 226, .9);
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}
.car-prev { left: 8px; }
.car-next { right: 8px; }

.dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.dot {
  width: 14px;
  height: 14px;
  border-radius: 7px;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width .3s;
  background: rgba(243, 237, 226, .4);
}
.dot.is-active { width: 72px; background: var(--cream); }

/* ---------- 08 Gift ---------- */
.sec-gift { padding: 88px 24px; text-align: center; }

.gifts { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; text-align: left; }
.gift {
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 2px 6px rgba(20, 18, 17, .18);
}
.gift-head {
  width: 100%;
  height: 58px;
  border: none;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  font: 700 17px Pretendard, sans-serif;
  cursor: pointer;
}
.gift-arrow { font-size: 13px; transition: transform .25s; }
.gift-head[aria-expanded="true"] .gift-arrow { transform: rotate(180deg); }

.gift-body { background: #fbf8f2; display: flex; flex-direction: column; }
.gift-body[hidden] { display: none; }
.acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid #efe4da;
}
.acct-info { min-width: 0; }
.acct-who { font-size: 13px; color: #8a837c; }
.acct-num { font-size: 15px; font-weight: 600; color: #3a2a2a; margin-top: 4px; }
.acct-copy {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border-radius: 17px;
  border: 1px solid #cfc8c0;
  background: #fff;
  color: var(--ink);
  font: 600 13px Pretendard, sans-serif;
  cursor: pointer;
}
.gift-note { margin-top: 30px; font-size: 14px; font-weight: 500; line-height: 1.75; color: #3a3633; }

/* ---------- 09 RSVP ---------- */
.sec-rsvp { padding: 88px 24px; text-align: center; }

.rsvp-photo-wrap { width: 204px; max-width: 100%; margin: 44px auto 0; }
.rsvp-photo {
  position: relative;
  width: 204px;
  height: 276px;
  padding: 12px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45));
}
.rsvp-photo img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(60, 45, 30, .28);
  outline-offset: -1px;
  box-shadow: 0 0 0 1px rgba(60, 45, 30, .12);
}
.rsvp-note { margin-top: 36px; font-size: 14px; line-height: 1.75; color: var(--cream); text-wrap: pretty; }
.rsvp-cta {
  margin-top: 36px;
  width: 100%;
  height: 54px;
  border-radius: 12px;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font: 700 16px Pretendard, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

/* ---------- background music button ---------- */
.bgm-btn {
  position: fixed;
  top: 14px;
  right: max(14px, calc(50% - 201px));
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(28, 26, 25, .72);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.bgm-btn .bgm-playing { display: none; }
.bgm-btn.is-playing .bgm-muted { display: none; }
.bgm-btn.is-playing .bgm-playing { display: inline; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(17, 14, 12, .94);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn .2s ease-out;
}
.lb[hidden] { display: none; }
.lb-stage { width: 100%; height: 82vh; }
.lb-img { width: 100%; height: 82vh; object-fit: contain; display: block; }
.lb-count {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 14px;
  color: var(--cream);
  letter-spacing: .08em;
}
.lb-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--cream);
  font-size: 26px;
  cursor: pointer;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 64px;
  border: none;
  background: none;
  color: var(--cream);
  font-size: 30px;
  cursor: pointer;
}
.lb-prev { left: 4px; }
.lb-next { right: 4px; }

/* ---------- RSVP bottom sheet ---------- */
.sheet-dim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(20, 16, 14, .6);
  animation: fadeIn .25s ease-out;
}
.sheet-dim[hidden] { display: none; }

.sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  max-height: 92vh;
  overflow-y: auto;
  z-index: 71;
  background: var(--cream);
  border-radius: 20px 20px 0 0;
  padding: 14px 24px 32px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .4);
  animation: sheetUp .35s cubic-bezier(.2, .7, .2, 1);
  color: var(--ink);
  text-align: left;
}
.sheet[hidden] { display: none; }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: #c9c1b6; margin: 0 auto 20px; }

.rsvp-done { text-align: center; padding: 36px 0 20px; }
.rsvp-done[hidden] { display: none; }
.done-heart { display: block; margin: 0 auto; color: var(--ink); }
.done-title { font-size: 18px; font-weight: 700; margin-top: 18px; }
.done-desc { font-size: 14px; line-height: 1.7; color: #5a544e; margin-top: 10px; }
.done-close {
  margin-top: 28px;
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: var(--cream);
  font: 700 15px Pretendard, sans-serif;
  cursor: pointer;
}

.rsvp-form { display: flex; flex-direction: column; gap: 22px; margin: 0; }
.rsvp-form[hidden] { display: none; }
.form-title { font-size: 18px; font-weight: 700; text-align: center; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field[hidden] { display: none; }
.flabel { font-size: 13px; font-weight: 600; color: #5a544e; }
.req { color: #b5453c; }
.opt { font-weight: 400; color: #8a837c; }

.finput {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d4cec6;
  background: #fff;
  padding: 0 14px;
  font: 500 15px Pretendard, sans-serif;
  color: var(--ink);
  outline: none;
  width: 100%;
}
.ftextarea { height: auto; padding: 12px 14px; resize: none; line-height: 1.5; }

.pick2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick {
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d4cec6;
  background: #fff;
  color: var(--ink);
  font: 600 15px Pretendard, sans-serif;
  cursor: pointer;
  transition: background .15s;
}
.pick.is-on { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  border-radius: 10px;
  border: 1px solid #d4cec6;
  background: #fff;
  padding: 0 6px;
}
.step-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background: var(--cream);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
}
.step-val { font-size: 16px; font-weight: 600; }

/* honeypot: off-screen, never display:none (bots skip hidden fields) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error { font-size: 13px; color: #b5453c; text-align: center; }
.form-error[hidden] { display: none; }
.form-submit {
  height: 52px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: var(--cream);
  font: 700 15px Pretendard, sans-serif;
  cursor: pointer;
}
.form-submit:disabled { opacity: .6; cursor: default; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: rgba(40, 20, 22, .88);
  color: #fff;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 22px;
  animation: toastIn .25s ease-out;
  white-space: nowrap;
}
.toast[hidden] { display: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hs { animation: none !important; }
  .reveal-ready [data-reveal] { opacity: 1 !important; translate: none !important; transition: none !important; }
  .carousel-track { transition: none; }
  .lb, .sheet, .sheet-dim, .toast { animation: none; }
}

/* ---------- intro heart stickers (position + bob stagger) ---------- */
.hs1 { left: 48px; top: 23px; width: 76px; transform: rotate(-8deg);
  animation: bob 3.2s ease-in-out -0s infinite; }
.hs2 { right: 54px; top: 22px; width: 28px; transform: rotate(6deg);
  animation: bob 3.8s ease-in-out -0.7s infinite; }
.hs3 { right: 19px; top: 91px; width: 54px; transform: rotate(5deg);
  animation: bob 4.4s ease-in-out -1.4s infinite; }
.hs4 { left: 39px; top: 141px; width: 30px; transform: rotate(-6deg);
  animation: bob 5s ease-in-out -2.1s infinite; }
.hs5 { right: 13px; top: 200px; width: 26px; transform: rotate(8deg);
  animation: bob 3.2s ease-in-out -2.8s infinite; }
.hs6 { left: 4px; top: 186px; width: 56px; transform: rotate(-5deg);
  animation: bob 3.8s ease-in-out -3.5s infinite; }
.hs7 { left: calc(50% + 107px); top: 226px; width: 40px; transform: rotate(8deg);
  animation: bob 4.4s ease-in-out -0.2s infinite; }
.hs8 { right: 30px; top: 330px; width: 28px; transform: rotate(-6deg);
  animation: bob 5s ease-in-out -0.9s infinite; }
.hs9 { left: calc(50% - 131px); top: 440px; width: 38px; transform: rotate(6deg);
  animation: bob 3.2s ease-in-out -1.6s infinite; }
.hs10 { left: calc(50% - 120px); top: 636px; width: 26px; transform: rotate(-4deg);
  animation: bob 3.8s ease-in-out -2.3s infinite; }
.hs11 { left: calc(50% + 80px); top: 560px; width: 56px; transform: rotate(5deg);
  animation: bob 4.4s ease-in-out -3s infinite; }
.hs12 { left: calc(50% - 132px); top: 570px; width: 65px; transform: scaleX(-1) rotate(8deg);
  animation: bob 5s ease-in-out -3.7s infinite; }
.hs13 { right: 19px; top: 600px; width: 30px; transform: rotate(-6deg);
  animation: bob 3.2s ease-in-out -0.4s infinite; }
.hs14 { left: 19px; top: 620px; width: 37px; transform: rotate(4deg);
  animation: bob 3.8s ease-in-out -1.1s infinite; }
