:root {
  --cream: #fbf3e6;
  --peach: #f3ddb8;
  --peach-deep: #eccb96;
  --gold: #b8863c;
  --gold-deep: #8a601f;
  --gold-bright: #e8b563;
  --ink: #5a4326;
  --white: #fffaf0;
  --pink: #e7a8a0;
  --maroon: #6b2b1f;
  --sage: #a8c9a1;
  --sage-deep: #7ba873;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--cream);
  background-image:
    url('/img/pattern-bg.svg'),
    radial-gradient(circle at 15% 10%, #f7d9d4 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, #e6d9f2 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, #fbe6b8 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, #f3ddb8 0%, transparent 50%),
    radial-gradient(circle at 50% 45%, #d9ecd4 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, #f6e6c8 60%, var(--cream) 100%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat;
  background-size: 140px 140px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed, fixed, fixed, fixed, fixed, fixed, fixed;
  color: var(--ink);
  font-family: 'EB Garamond', serif;
  font-size: 19px;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3 { font-family: 'Cinzel', serif; margin: 0; }

a { color: var(--gold-deep); }

.gold-shimmer {
  /* keep every stop dark enough to read against a light card — a near-white highlight here
     previously washed the names out to near-invisibility at one point in the animation cycle */
  background: linear-gradient(100deg, var(--gold-deep) 20%, var(--gold-bright) 40%, #d9a44a 50%, var(--gold-bright) 60%, var(--gold-deep) 80%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% center; } }

/* floating petals, purely CSS, evokes the invite's floral corners without copying any artwork */
.petal-field { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.petal-field span {
  position: absolute;
  top: -5%;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 35% 30%, var(--white), var(--pink) 70%);
  border-radius: 0 60% 0 60%;
  opacity: 0.65;
  animation: drift 16s linear infinite;
  filter: drop-shadow(0 2px 3px rgba(138,96,31,0.15));
}
.petal-field span:nth-child(1) { left: 4%; animation-duration: 14s; animation-delay: 0s; }
.petal-field span:nth-child(2) { left: 14%; animation-duration: 19s; animation-delay: 2s; width: 10px; height: 10px; }
.petal-field span:nth-child(3) { left: 28%; animation-duration: 16s; animation-delay: 5s; }
.petal-field span:nth-child(4) { left: 46%; animation-duration: 21s; animation-delay: 1s; width: 9px; height: 9px; }
.petal-field span:nth-child(5) { left: 62%; animation-duration: 15s; animation-delay: 4s; }
.petal-field span:nth-child(6) { left: 76%; animation-duration: 20s; animation-delay: 3s; width: 11px; height: 11px; }
.petal-field span:nth-child(7) { left: 88%; animation-duration: 17s; animation-delay: 6s; }
.petal-field span:nth-child(8) { left: 95%; animation-duration: 22s; animation-delay: 2.5s; width: 8px; height: 8px; }
@keyframes drift {
  0% { transform: translateY(-8vh) translateX(0) rotate(0deg); opacity: 0; }
  8% { opacity: 0.65; }
  92% { opacity: 0.5; }
  100% { transform: translateY(108vh) translateX(60px) rotate(340deg); opacity: 0; }
}

.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.mandala { position: absolute; width: 380px; height: 380px; opacity: 0.1; animation: mandalaRotate 90s linear infinite; }
.mandala-tl { top: -120px; left: -120px; }
.mandala-br { bottom: -120px; right: -120px; animation-direction: reverse; }
@keyframes mandalaRotate { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .mandala { width: 240px; height: 240px; } }

.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 1.2rem clamp(1rem, 4vw, 2rem);
  font-family: 'Cinzel', serif;
}
.brand {
  text-decoration: none;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  font-size: clamp(0.7rem, 2.4vw, 0.95rem);
  max-width: 60vw;
  overflow-wrap: break-word;
}
.site-nav { display: flex; flex-wrap: wrap; }
.site-nav a {
  margin-left: 1.2rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 0%;
  height: 1px;
  background: var(--gold-deep);
  transition: width 0.3s ease;
}
.site-nav a:hover::after { width: 100%; }
.site-nav a:hover { color: var(--gold-deep); }

.hero {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem 4rem;
}
.hero-frame {
  position: relative;
  max-width: 640px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
  padding: clamp(2.2rem, 6vw, 3.5rem) clamp(1.2rem, 5vw, 2rem) 3rem;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(135deg, var(--gold), var(--peach-deep), var(--gold-bright), var(--gold)) border-box;
  background-size: 100% 100%, 300% 300%;
  border: 3px double transparent;
  border-radius: 50% 50% 8px 8px / 18% 18% 8px 8px;
  box-shadow: 0 10px 50px rgba(138, 96, 31, 0.2);
  animation: frameGlow 8s ease infinite, riseIn 1s ease both;
}
@keyframes frameGlow { 0%, 100% { background-position: 0% 0%, 0% 50%; } 50% { background-position: 0% 0%, 100% 50%; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.shree-mark {
  font-family: 'Noto Sans Devanagari', serif;
  font-weight: 700;
  color: var(--gold-deep);
  margin: 0 0 0.3rem;
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}
.together {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.78rem;
  color: var(--ink);
  margin: 1.4rem 0 0.6rem;
}
.couple-names {
  font-size: clamp(1.5rem, 6vw, 2.3rem);
  line-height: 1.35;
  margin: 0.4rem 0 1rem;
}
.couple-names span { display: block; }
.couple-names .name-script {
  font-family: 'Tangerine', cursive;
  font-weight: 700;
  font-size: clamp(2.6rem, 10vw, 3.6rem);
  line-height: 1.1;
}
.couple-names .amp { font-family: 'EB Garamond', serif; font-style: italic; font-size: 1.4rem; color: var(--ink); display: block; margin: 0.2rem 0; }
.invite-line { font-style: italic; margin: 0 auto 1.6rem; max-width: 30ch; }

.date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.4rem, 2vw, 0.8rem);
  margin: 1rem 0 0.2rem;
  flex-wrap: wrap;
}
.date-day, .date-month {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.58rem, 2.6vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-variant-numeric: lining-nums;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding: 0.3rem 0.2rem;
}
.date-number { font-family: 'Cinzel', serif; font-size: clamp(2.2rem, 8vw, 3rem); color: var(--gold-deep); }
.date-time { margin: 0.2rem 0 1.4rem; font-style: italic; }
.venue-line { font-weight: 600; margin-bottom: 1.4rem; overflow-wrap: break-word; }
.hashtags {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.6rem, 3vw, 0.85rem);
  letter-spacing: 0.04em;
  overflow-wrap: break-word;
  word-break: break-word;
  padding: 0 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: var(--gold-deep);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
  position: relative;
  padding-bottom: 0.8rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

.schedule, .venue, .family, .blessings, .rsvp {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.2rem;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}
@media (min-width: 700px) {
  .event-cards { grid-template-columns: repeat(4, 1fr); }
}
.event-card {
  background: var(--white);
  border: 1px solid var(--peach-deep);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(138, 96, 31, 0.2);
  border-color: var(--gold);
}
.event-card h3 { font-size: 1.15rem; color: var(--gold-deep); margin-bottom: 0.5rem; overflow-wrap: break-word; }
.event-card p { margin: 0.25rem 0; font-size: 0.95rem; }
.event-card .dress-code span { display: block; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold); }
.event-card--main { background: linear-gradient(135deg, var(--peach), var(--peach-deep)); border-color: var(--gold); }
.event-card--sage { border-color: var(--sage-deep); }
.event-card--sage .dress-code span { color: var(--sage-deep); }
.event-card--sage:hover { border-color: var(--sage-deep); box-shadow: 0 14px 30px rgba(123, 168, 115, 0.25); }
.event-card--main h3 { font-size: clamp(0.9rem, 4vw, 1.1rem); word-break: keep-all; overflow-wrap: normal; hyphens: none; }
.reveal-link { text-align: center; margin-top: 2rem; }
.reveal-link a { text-decoration: none; font-style: italic; }

.venue { text-align: center; }
.venue-name { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.2rem; }
.venue-address { margin-bottom: 1.4rem; overflow-wrap: break-word; }
.map-embed { border-radius: 14px; overflow: hidden; border: 1px solid var(--peach-deep); box-shadow: 0 10px 30px rgba(138,96,31,0.12); }
.venue-note { margin-top: 1.2rem; font-style: italic; font-size: 0.95rem; }

.rsvp { text-align: center; }
.rsvp-copy { max-width: 46ch; margin: 0 auto 1.6rem; }
.rsvp-button {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  background-size: 220% auto;
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(138, 96, 31, 0.35);
  transition: background-position 0.6s ease, transform 0.25s ease;
}
.rsvp-button:hover { background-position: 100% center; transform: translateY(-2px); }

.family { text-align: center; }
.family-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.4rem;
  max-width: 760px;
  margin: 0 auto;
}
.family-side-title {
  font-size: 1.05rem;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--peach-deep);
}
.family-cards { display: flex; flex-direction: column; gap: 0.7rem; }
.family-card {
  background: var(--white);
  border: 1px solid var(--peach-deep);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.family-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(123,168,115,0.2); border-color: var(--sage-deep); }
.family-name { font-weight: 600; margin: 0; }
.family-relation { margin: 0.15rem 0 0; font-size: 0.82rem; font-style: italic; color: var(--gold); }
.family-card--memory { background: var(--cream); }
.family-card--memory .family-name { opacity: 0.85; }
.memory-tag { font-size: 0.85em; }

.blessings { text-align: center; }
.blessings .section-title { margin-bottom: 0.8rem; }
.blessings-copy { max-width: 46ch; margin: 1.6rem auto 1.6rem; }
.blessing-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  max-width: 420px;
  margin: 0 auto 0.6rem;
}
.blessing-form input, .blessing-form textarea {
  font-family: 'Mukta', sans-serif;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--peach-deep);
  border-radius: 10px;
  background: var(--white);
  resize: vertical;
}
.blessing-form input:focus, .blessing-form textarea:focus { outline: 2px solid var(--gold); }
.blessing-form button {
  align-self: center;
  padding: 0.7rem 1.8rem;
  background: linear-gradient(120deg, var(--gold-deep), var(--gold-bright));
  color: var(--white);
  border: none;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
#blessing-status { font-style: italic; font-size: 0.9rem; min-height: 1.4em; }
.blessing-list {
  position: relative;
  max-width: 800px;
  height: 270px;
  margin: 0.4rem auto 0;
  perspective: 1200px;
  overflow: hidden;
  touch-action: pan-y;
}
.blessing-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.blessing-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(280px, 80%);
  height: 250px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--peach-deep);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.9rem;
  text-align: left;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
  will-change: transform, opacity;
}
.blessing-card p:first-child {
  overflow-y: auto;
  flex: 1;
  margin: 0;
}
.blessing-card .blessing-from { font-weight: 600; color: var(--gold-deep); margin: 0.4rem 0 0; font-size: 0.85rem; flex-shrink: 0; }
.blessing-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--peach-deep);
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold-deep);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blessing-nav--prev { left: 0.2rem; }
.blessing-nav--next { right: 0.2rem; }
.blessing-nav:hover { background: var(--white); }

/* Story / journey page */
#story-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sage-deep), var(--gold), var(--gold-bright));
  z-index: 45;
  transition: width 0.1s linear;
}
#story-dots {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#story-dots a {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--peach-deep);
  border: 1px solid var(--gold);
  transition: background 0.3s ease, transform 0.3s ease;
}
#story-dots a.active { background: var(--gold-deep); transform: scale(1.3); }
#story-dots a::after {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(138,96,31,0.15);
}
#story-dots a:hover::after { opacity: 1; }
@media (max-width: 900px) {
  #story-dots { display: none; }
}

.story-icon-frame {
  width: 190px;
  height: 190px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--peach-deep), 0 10px 28px rgba(138,96,31,0.2);
}
.story-icon-frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.story-chapter:hover .story-icon-frame img { transform: scale(1.08); }
.story-chapter--sage .story-icon-frame { box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--sage-deep), 0 10px 28px rgba(123,168,115,0.25); }
.story-chapter--yellow .story-icon-frame { box-shadow: 0 0 0 4px var(--white), 0 0 0 5px #d9a441, 0 10px 28px rgba(217,164,65,0.25); }
.story-chapter--gold .story-icon-frame { box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--gold), 0 10px 28px rgba(184,134,60,0.28); }

.photo-credits {
  margin-top: 2rem;
  font-size: 0.65rem;
  opacity: 0.55;
  font-family: 'Mukta', sans-serif;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.photo-credits a { color: inherit; }
.slide-title-script { font-family: 'Tangerine', cursive; font-weight: 700; color: var(--gold-deep); font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1.15; margin: 0.4rem 0; }
.slide-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--gold); margin-bottom: 0.4rem; }
.slide-dress { font-size: 1rem; margin: 0.3rem 0 1rem; }
.slide-fine-print { font-size: 0.75rem; opacity: 0.65; max-width: 500px; margin: 1.2rem auto 0; font-style: italic; }

.story-hero, .story-closing {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 3.5rem 1.2rem;
}
.story-lede { font-size: 1.2rem; font-style: italic; max-width: 40ch; margin: 0.6rem auto 0; }
.story-back { margin-top: 1.4rem; font-size: 0.95rem; }
.story-back a { text-decoration: none; }

.story-chapter {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.2rem;
  text-align: center;
  border-top: 1px solid var(--peach-deep);
}
.story-chapter--sage { border-top-color: var(--sage-deep); }
.story-chapter--yellow { border-top-color: #d9a441; }
.story-chapter--gold { border-top-color: var(--gold); background: linear-gradient(180deg, transparent, rgba(243,221,184,0.35)); }

.story-body { font-size: 1.1rem; max-width: 58ch; margin: 0.6rem auto; line-height: 1.6; }
.story-tagline { font-family: 'Cinzel', serif; font-size: 1.05rem; color: var(--gold-deep); margin-top: 1.4rem; }
.story-subtitle { font-family: 'Cinzel', serif; color: var(--gold); font-size: 1.15rem; letter-spacing: 0.03em; margin: 1.6rem 0 1rem; }

.story-beats { max-width: 58ch; margin: 1.2rem auto 0; text-align: left; }
.story-beat {
  font-size: 1.02rem;
  line-height: 1.5;
  background: rgba(255,255,255,0.55);
  border-left: 3px solid var(--gold);
  padding: 0.6rem 1rem;
  border-radius: 0 10px 10px 0;
  margin: 0.6rem 0;
}
.story-chapter--sage .story-beat { border-left-color: var(--sage-deep); }
.story-chapter--yellow .story-beat { border-left-color: #d9a441; }
.story-beat strong { color: var(--gold-deep); }

.story-vows { max-width: 50ch; margin: 0 auto; text-align: left; }
.story-vow {
  font-size: 1.02rem;
  margin: 0.5rem 0;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.5);
  border-radius: 8px;
}
.story-vow strong { color: var(--gold-deep); }

/* scroll-reveal */
.reveal-on-scroll { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on-scroll.in-view { opacity: 1; transform: translateY(0); }

.site-footer {
  text-align: center;
  padding: 3rem 1.2rem 2.5rem;
  color: var(--gold-deep);
}
.footer-om { font-size: 1.6rem; margin-bottom: 0.4rem; animation: ompulse2 2.4s ease-in-out infinite; }
@keyframes ompulse2 { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; text-shadow: 0 0 12px rgba(216,168,78,0.6); } }
.footer-names { font-family: 'Cinzel', serif; letter-spacing: 0.04em; margin: 0.2rem 0; overflow-wrap: break-word; }
.footer-hashtags { font-size: 0.85rem; margin: 0; overflow-wrap: break-word; word-break: break-word; padding: 0 0.5rem; }
.footer-replay { margin-top: 1rem; }
.footer-replay a { font-size: 0.8rem; font-style: italic; text-decoration: none; }
.footer-credit { margin-top: 1.2rem; font-size: 0.68rem; opacity: 0.6; font-family: 'Mukta', sans-serif; }

/* music toggle */
#music-toggle {
  position: fixed;
  bottom: 1.4rem;
  left: 1.4rem;
  z-index: 40;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--peach-deep);
  background: var(--white);
  color: var(--gold-deep);
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(138,96,31,0.2);
}
#music-toggle.playing { animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pika chat widget */
#pika-launcher {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 50;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-deep), var(--gold-bright));
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(138, 96, 31, 0.4), 0 0 0 0 rgba(184,134,60,0.6);
  animation: pikaPulse 2.2s ease-out infinite;
}
.pika-mascot { width: 40px; height: 40px; display: block; }
.pika-header-title { display: flex; align-items: center; gap: 0.4rem; }
.pika-header-title .pika-mascot { width: 24px; height: 24px; }
#pika-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.6rem 0 0.3rem;
}
#pika-suggestions button {
  font-family: 'Mukta', sans-serif;
  font-size: 0.78rem;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--gold-deep);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
#pika-suggestions button:hover { background: var(--gold-deep); color: var(--white); }
@keyframes pikaPulse {
  0% { box-shadow: 0 6px 20px rgba(138,96,31,0.4), 0 0 0 0 rgba(184,134,60,0.55); }
  70% { box-shadow: 0 6px 20px rgba(138,96,31,0.4), 0 0 0 16px rgba(184,134,60,0); }
  100% { box-shadow: 0 6px 20px rgba(138,96,31,0.4), 0 0 0 0 rgba(184,134,60,0); }
}
#pika-bubble {
  position: fixed;
  bottom: 5.6rem;
  right: 1.2rem;
  z-index: 50;
  max-width: min(220px, calc(100vw - 2.4rem));
  background: var(--white);
  border: 1px solid var(--peach-deep);
  border-radius: 14px 14px 2px 14px;
  padding: 0.7rem 0.9rem;
  font-family: 'Mukta', sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(138,96,31,0.25);
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
#pika-bubble.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#pika-bubble button { position: absolute; top: 2px; right: 6px; border: none; background: none; color: var(--gold-deep); cursor: pointer; font-size: 0.9rem; }

#pika-panel {
  position: fixed;
  bottom: 5.2rem;
  right: 1.4rem;
  z-index: 50;
  width: min(340px, calc(100vw - 2rem));
  height: min(460px, calc(100vh - 8rem));
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--peach-deep);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Mukta', sans-serif;
}
#pika-panel.open { display: flex; animation: panelPop 0.3s ease; }
@keyframes panelPop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
#pika-panel header {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold));
  color: var(--white);
  padding: 0.8rem 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#pika-panel header button { background: none; border: none; color: var(--white); font-size: 1.1rem; cursor: pointer; }
#pika-messages { flex: 1; overflow-y: auto; padding: 0.8rem; font-size: 0.9rem; }
#pika-messages .msg { margin-bottom: 0.6rem; padding: 0.55rem 0.8rem; border-radius: 12px; max-width: 85%; line-height: 1.4; animation: msgIn 0.25s ease; }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
#pika-messages .msg.user { background: var(--peach); margin-left: auto; }
#pika-messages .msg.bot { background: var(--cream); border: 1px solid var(--peach-deep); }
#pika-messages .msg.thinking { font-style: italic; opacity: 0.8; }
.thinking-dots span { animation: thinkingBlink 1.4s infinite; opacity: 0.2; }
.thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes thinkingBlink { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }
#pika-form { display: flex; border-top: 1px solid var(--peach-deep); }
#pika-input { flex: 1; border: none; padding: 0.7rem 0.8rem; font-size: 0.9rem; font-family: inherit; }
#pika-input:focus { outline: none; }
#pika-send { border: none; background: var(--gold-deep); color: var(--white); padding: 0 1rem; cursor: pointer; }

@media (max-width: 640px) {
  .site-header { flex-direction: column; text-align: center; }
  .site-nav { justify-content: center; width: 100%; }
  .site-nav a { margin: 0.25rem 0.4rem; font-size: 0.72rem; }
  .hero-frame, .date-block, .couple-names { min-width: 0; }
}
