/* Layout: one continuous ivory-and-blush page; fixed roses + garland float above a still gradient.
   Animations stay ON even if the phone asks for reduced motion (requested), but only run for
   sections on screen (.sec.on) and never animate blur. */
:root {
  --ivory: #fbf4ea;
  --blush: #f6dcd8;
  --blush2: #efc4c4;
  --wine: #6e1f2f;
  --wine2: #4a1220;
  --gold: #c9a24b;
  --gold2: #ecd697;
  --ink: #4a1d27;
  --soft: #7a4a54;
  --serif: "Noto Serif Gujarati", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Anek Gujarati", Montserrat, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent
}

html {
  scroll-behavior: smooth
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
}

body.locked {
  overflow: hidden;
  height: 100%
}

body.locked #main {
  visibility: hidden
}

img {
  -webkit-user-drag: none;
  user-select: none
}

button {
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px
}

.sec:not(.on) * {
  animation-play-state: paused !important
}

#bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(120% 70% at 50% 0%, #fffdf8 0, rgba(255, 253, 248, 0) 62%),
    linear-gradient(180deg, #fbf4ea 0%, #f9e8e1 48%, #f6dcd8 100%)
}

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden
}

.sec {
  padding: 48px 16px;
  text-align: center;
  position: relative;
  width: 100%
}

/* fixed roses */
#roses {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

#garland, #songBtn, .gs {
  display: none !important;
}

.r {
  position: absolute;
  will-change: transform
}

.rb {
  width: 100%;
  height: 100%;
  transform: scale(.2) rotate(-40deg);
  opacity: 0
}

.go .rb {
  animation: bloom 1.6s cubic-bezier(.2, .9, .25, 1.1) var(--bd, 0s) forwards
}

.r img {
  width: 100%;
  height: 100%;
  display: block;
  animation: sway 7s ease-in-out infinite alternate;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 6px 8px rgba(74, 18, 32, .25))
}

@keyframes bloom {
  to {
    transform: scale(1) rotate(0);
    opacity: 1
  }
}

@keyframes sway {
  from {
    transform: rotate(-5deg) scale(1)
  }

  to {
    transform: rotate(5deg) scale(1.04)
  }
}

.gs {
  position: absolute;
  top: 0;
  transform-origin: 50% 0;
  will-change: transform
}

.gs img {
  display: block;
  width: 34px;
  object-fit: cover;
  object-position: top;
  animation: swing 4.5s ease-in-out infinite alternate;
  transform-origin: 50% 0
}

@keyframes swing {
  from {
    transform: rotate(-3deg)
  }

  to {
    transform: rotate(3deg)
  }
}

/* music */
.mbtn {
  position: fixed;
  z-index: 80;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  right: max(14px, env(safe-area-inset-right, 0px));
  min-width: 44px;
  height: 44px;
  border-radius: 22px;
  border: 1px solid var(--gold);
  background: var(--wine);
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 18, 32, .35);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, background .2s;
  touch-action: manipulation
}

.mbtn:active {
  transform: scale(0.92);
  background: var(--wine2)
}

.mbtn.txt {
  padding: 0 16px
}

.mbtn svg {
  width: 20px;
  height: 20px
}

.mbtn[hidden] {
  display: none
}

/* typography helpers */
.ttl {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 8vw, 34px);
  color: var(--wine);
  margin: 0 0 6px;
  line-height: 1.2
}

.sub {
  margin: 0 0 26px;
  color: var(--soft);
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(6px);
  transition: opacity .9s ease, transform .9s ease, filter .9s ease
}

.reveal.in {
  opacity: 1;
  transform: none;
  filter: none
}

.med {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0 auto
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 24px;
  border: 1px solid var(--gold);
  background: var(--wine);
  color: var(--gold2);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(110, 31, 47, .28);
  transition: transform .2s, background .2s;
  -webkit-tap-highlight-color: transparent
}

.btn:active {
  transform: scale(0.95)
}

.btn.ghost {
  background: rgba(255, 250, 242, .8);
  color: var(--wine)
}

/* ---- 1. Intro book ---- */
#intro {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #fef0ef 0, #f7d7d5 55%, #ecc0be 100%);
  transition: opacity .8s ease
}

#intro.gone {
  opacity: 0;
  pointer-events: none
}

.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1200px;
  z-index: 2
}

.wrap {
  width: min(84vw, 340px);
  height: min(78vh, 520px);
  max-height: 530px;
  aspect-ratio: 3/4.5;
  margin: 0 auto;
  transform-style: preserve-3d;
  transition: transform 2.1s cubic-bezier(.62, .02, .2, 1)
}

.wrap.zoom {
  transform: scale(3.8)
}

.floaty {
  width: 100%;
  height: 100%;
  animation: floaty 5s ease-in-out infinite alternate;
  transform-style: preserve-3d
}

@keyframes floaty {
  from {
    transform: translate3d(0, -6px, 0)
  }

  to {
    transform: translate3d(0, 6px, 0)
  }
}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(6deg) rotateY(-14deg);
  transition: transform 1.6s cubic-bezier(.5, 0, .2, 1);
  cursor: pointer;
  filter: drop-shadow(0 22px 40px rgba(74, 18, 32, .45))
}

.book:hover {
  transform: rotateX(3deg) rotateY(-8deg) scale(1.02)
}

.book.open {
  transform: rotateX(0) rotateY(0)
}

/* Inside parchment revealed when cover swings open */
.pg {
  position: absolute;
  inset: 0;
  border-radius: 4px 12px 12px 4px;
  background: radial-gradient(circle at 50% 45%, #fffdf8 0, #faefe3 65%, #ead7c4 100%);
  box-shadow: 6px 14px 32px rgba(74, 18, 32, .35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  overflow: hidden
}

.pg-border {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(201, 162, 75, .5);
  border-radius: 3px 9px 9px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 20px rgba(201, 162, 75, .08)
}

.pgem {
  width: 42px;
  height: 42px;
  margin-bottom: 4px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .2))
}

.pg-shloka {
  font-size: 7.5px;
  letter-spacing: .08em;
  color: var(--wine);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px
}

.pg-div {
  font-size: 8px;
  color: var(--gold);
  margin-bottom: 3px
}

.pgk {
  font-size: 8.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin: 0 0 3px
}

.pg-desc {
  font-size: 9px;
  line-height: 1.35;
  color: var(--charcoal);
  margin: 0 0 5px;
  max-width: 92%
}

.pgn {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--wine);
  margin: 0 0 2px;
  line-height: 1.15
}

.pgn span {
  font-style: italic;
  font-weight: 400;
  color: var(--gold)
}

.pgd {
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin: 0 0 2px
}

.pg-loc {
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--soft);
  text-transform: uppercase;
  margin: 0
}

.cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(.5, 0, .2, 1)
}

.book.open .cover {
  transform: rotateY(-172deg)
}

.face {
  position: absolute;
  inset: 0;
  border-radius: 4px 12px 12px 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden
}

/* Front Cover (Royal Wine Velvet & Gold Embossed Folio) */
.book-front {
  background: radial-gradient(130% 105% at 30% 16%, #a32e48 0, #6e1f2f 48%, #420f1b 85%, #2a050f 100%);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, .45), inset 0 0 10px rgba(236, 214, 151, .25), 8px 16px 36px rgba(40, 10, 18, .5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  text-align: center;
  color: var(--gold2);
  z-index: 2;
  overflow: hidden
}

.book-front::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px solid var(--gold);
  border-radius: 4px 8px 8px 4px;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(201, 162, 75, .35)
}

.book-front::after {
  content: "";
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(236, 214, 151, .7);
  border-radius: 3px 6px 6px 3px;
  pointer-events: none
}

.book-front>* {
  position: relative;
  z-index: 2
}

.spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .06));
  border-radius: 4px 0 0 4px;
  z-index: 4
}

/* Ornate Gold Corner Filigrees */
.corner-fl {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  z-index: 3;
  border: 2px solid var(--gold)
}

.corner-fl.tl {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
  border-top-left-radius: 4px
}

.corner-fl.tr {
  top: 12px;
  right: 12px;
  border-left: none;
  border-bottom: none;
  border-top-right-radius: 4px
}

.corner-fl.bl {
  bottom: 12px;
  left: 12px;
  border-right: none;
  border-top: none;
  border-bottom-left-radius: 4px
}

.corner-fl.br {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
  border-bottom-right-radius: 4px
}

.cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%
}

.cv-shloka {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 600;
  color: #fcedbf;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 8px rgba(252, 237, 191, .4);
  margin: 0 0 5px
}

.cv-ganesh-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center
}

.cv-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 214, 151, .3) 0, rgba(201, 162, 75, .1) 55%, transparent 75%);
  animation: haloGlow 3s ease-in-out infinite alternate
}

@keyframes haloGlow {
  from {
    transform: scale(.92);
    opacity: .65
  }

  to {
    transform: scale(1.08);
    opacity: 1
  }
}

.cv-ganesh {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55))
}

.cv-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 3px
}

.cv-badge-txt {
  font-size: 8.5px;
  letter-spacing: .28em;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase
}

.cv-dot {
  font-size: 7px;
  color: var(--gold2)
}

.cv-title {
  font-family: var(--serif);
  font-size: clamp(16px, 4.8vw, 20px);
  font-weight: 600;
  color: #fff9e6;
  letter-spacing: .03em;
  line-height: 1.2;
  margin: 0 0 3px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .5)
}

.cv-couple {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 4px
}

.cv-name {
  font-family: var(--serif);
  font-size: clamp(23px, 6.6vw, 29px);
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff4cb;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .55), 0 0 12px rgba(255, 244, 203, .35)
}

.cv-amp {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 5.5vw, 25px);
  color: var(--gold)
}

.cv-datetime {
  display: flex;
  flex-direction: column;
  gap: 1.5px;
  margin-bottom: 5px
}

.cv-day {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: #faebd2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4)
}

.cv-time {
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 500
}

.host-pill-sm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2.5px 9px;
  border-radius: 12px;
  background: rgba(201, 162, 75, .18);
  border: 1px solid rgba(236, 214, 151, .55);
  font-size: 7.5px;
  letter-spacing: .15em;
  color: #fff4cb;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px
}

.pill-dot {
  font-size: 6px;
  color: var(--gold2)
}

/* 3D Golden Wax Seal / Tap to Open Button */
.wax-seal {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 3px auto 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1)
}

.wax-seal:hover {
  transform: scale(1.08)
}

.wax-seal:active {
  transform: scale(.94)
}

.seal-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 214, 151, .45) 0, rgba(201, 162, 75, .15) 50%, transparent 75%);
  animation: sealAura 2.4s ease-in-out infinite
}

@keyframes sealAura {

  0%,
  100% {
    transform: scale(.94);
    opacity: .6
  }

  50% {
    transform: scale(1.16);
    opacity: 1
  }
}

.seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(236, 214, 151, .85);
  animation: sealSpin 20s linear infinite
}

@keyframes sealSpin {
  to {
    transform: rotate(360deg)
  }
}

.seal-core {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6d8 0, #dfac42 45%, #b8860b 80%, #684805 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .5), inset 0 2px 4px rgba(255, 255, 255, .6), inset 0 -3px 5px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff4d0
}

.seal-monogram {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: #4a1220;
  text-shadow: 0 1px 1px rgba(255, 255, 255, .5);
  line-height: 1;
  margin-bottom: 2px
}

.seal-action {
  font-size: 6px;
  letter-spacing: .15em;
  font-weight: 700;
  color: #5d1728;
  text-transform: uppercase
}

.book-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #f8ecde, #efdcc9);
  z-index: 1
}

#tapHint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(6.5vh + env(safe-area-inset-bottom, 0px));
  margin: 0;
  text-align: center;
  z-index: 4;
  font-size: 11.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  opacity: 0;
  transition: opacity .6s;
  animation: pulse 2.2s ease-in-out infinite
}

.th-hand {
  display: inline-block;
  font-style: normal;
  margin-right: 4px;
  animation: bounceUp 1.2s ease-in-out infinite
}

@keyframes bounceUp {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-4px)
  }
}

#tapHint.show {
  opacity: 1
}

#tapHint.hide {
  opacity: 0 !important
}

@keyframes pulse {
  50% {
    transform: scale(1.05)
  }
}

.ir-layer {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.ir-layer.ir-back {
  z-index: 1
}

.ir-layer.ir-front {
  z-index: 3
}

.ir {
  position: absolute;
  transform: translate3d(calc(var(--mx, 0)*var(--d)*1px), calc(var(--my, 0)*var(--d)*1px), 0);
  transition: transform .5s ease-out
}

.ir img {
  display: block;
  width: 100%;
  height: 100%;
  animation: sway 9s ease-in-out infinite alternate
}

#intro.gone {
  opacity: 0;
  pointer-events: none
}

.scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1100px;
  z-index: 2
}

.wrap {
  width: min(66vw, 280px);
  height: min(90.2vw, 382px);
  transform-style: preserve-3d;
  transition: transform 2.1s cubic-bezier(.62, .02, .2, 1)
}

.wrap.zoom {
  transform: scale(3.7)
}

.floaty {
  width: 100%;
  height: 100%;
  animation: floaty 5s ease-in-out infinite alternate;
  transform-style: preserve-3d
}

@keyframes floaty {
  from {
    transform: translate3d(0, -6px, 0)
  }

  to {
    transform: translate3d(0, 6px, 0)
  }
}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-16deg);
  transition: transform 1.6s cubic-bezier(.5, 0, .2, 1);
  cursor: pointer
}

.book.open {
  transform: rotateX(0) rotateY(0)
}

.pg {
  position: absolute;
  inset: 0;
  border-radius: 4px 10px 10px 4px;
  background: linear-gradient(135deg, #fffaf2, #f6e7da);
  box-shadow: 6px 12px 28px rgba(74, 18, 32, .35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px 14px
}

.pgem {
  width: 46px;
  height: 46px;
  opacity: .88;
  margin-bottom: 6px
}

.pgk {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  margin: 0 0 3px
}

.pgn {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--wine);
  font-weight: 600;
  margin: 0 0 3px
}

.pgd {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
  margin: 0
}

.cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(.5, 0, .2, 1)
}

.book.open .cover {
  transform: rotateY(-172deg)
}

.face {
  position: absolute;
  inset: 0;
  border-radius: 4px 10px 10px 4px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden
}

.front {
  background: radial-gradient(120% 90% at 30% 18%, #9a3047, #6e1f2f 55%, #45101d);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, .35), 8px 14px 30px rgba(74, 18, 32, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 14px;
  text-align: center;
  color: var(--gold2);
  z-index: 2
}

.front::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2px solid var(--gold);
  border-radius: 3px 7px 7px 3px;
  pointer-events: none
}

.front::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(236, 214, 151, .65);
  border-radius: 2px 5px 5px 2px;
  pointer-events: none
}

.front>* {
  position: relative;
  z-index: 2
}

.spine {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 16px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .4), rgba(255, 255, 255, .05));
  border-radius: 4px 0 0 4px
}

.front .em {
  position: relative;
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
  display: grid;
  place-items: center
}

.front .em svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45))
}

.cvk {
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 3px;
  font-weight: 600
}

.cvn {
  font-family: var(--serif);
  font-size: clamp(19px, 5.6vw, 25px);
  font-weight: 600;
  color: #fff3c8;
  margin: 2px 0 4px;
  line-height: 1.15;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4)
}

.cvd {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: rgba(255, 243, 200, .95);
  margin: 0 0 8px
}

.host-pill-sm {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(201, 162, 75, .2);
  border: 1px solid rgba(236, 214, 151, .6);
  font-size: 8px;
  letter-spacing: .14em;
  color: var(--gold2);
  font-weight: 600;
  text-transform: uppercase
}

.back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #f8ecde, #efdcc9);
  z-index: 1
}

#tapHint {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(9vh + env(safe-area-inset-bottom, 0px));
  margin: 0;
  text-align: center;
  z-index: 4;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  opacity: 0;
  transition: opacity .6s;
  animation: pulse 2.2s ease-in-out infinite
}

#tapHint.show {
  opacity: 1
}

#tapHint.hide {
  opacity: 0 !important
}

@keyframes pulse {
  50% {
    transform: scale(1.05)
  }
}

.ir-layer {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.ir-layer.back {
  z-index: 1
}

.ir-layer.front {
  z-index: 3
}

.ir {
  position: absolute;
  transform: translate3d(calc(var(--mx, 0)*var(--d)*1px), calc(var(--my, 0)*var(--d)*1px), 0);
  transition: transform .5s ease-out
}

.ir img {
  display: block;
  width: 100%;
  height: 100%;
  animation: sway 9s ease-in-out infinite alternate
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f6dcd8;
  color: var(--wine);
  font-size: 11.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity .6s
}

#loader.off {
  opacity: 0;
  pointer-events: none
}

#loader p {
  margin: 0
}

.ring-load {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 75, .3);
  border-top-color: var(--gold);
  animation: spin 1s linear infinite
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 70;
  pointer-events: none
}

#toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px);
  z-index: 95;
  background: var(--wine2);
  color: var(--gold2);
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .35s
}

#toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}

/* ---- 2. First page (Never cut on mobile) ---- */
.hero {
  height: 100svh;
  min-height: 520px;
  max-height: 100svh;
  padding: max(12px, calc(env(safe-area-inset-top, 0px) + 8px)) 14px max(12px, calc(env(safe-area-inset-bottom, 0px) + 8px));
  display: flex;
  align-items: center;
  justify-content: center
}

.arch {
  position: relative;
  width: min(100%, 370px);
  height: 100%;
  max-height: 98%;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 16px 16px/22% 22% 16px 16px;
  background: #fbeee8;
  box-shadow: 0 8px 30px rgba(74, 18, 32, .12)
}

.arch::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(201, 162, 75, .55);
  border-radius: 50% 50% 12px 12px/22% 22% 12px 12px;
  pointer-events: none
}

.arch-bg {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  object-fit: cover;
  animation: zoomBg 22s ease-in-out infinite alternate;
  will-change: transform
}

@keyframes zoomBg {
  from {
    transform: scale(1)
  }

  to {
    transform: scale(1.14)
  }
}

.arch-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 248, 240, .72), rgba(255, 248, 240, .58) 50%, rgba(255, 244, 236, .78))
}

.arch-in {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(2px, 0.8vh, 6px);
  padding: clamp(14px, 3.2vh, 32px) 18px clamp(8px, 1.8vh, 16px)
}

.arch-in .med {
  width: clamp(38px, 8.5vh, 64px);
  height: clamp(38px, 8.5vh, 64px)
}

.rec-focus-pill {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  background: rgba(110, 31, 47, .08);
  border: 1px solid rgba(201, 162, 75, .8);
  font-size: clamp(8.5px, 1.2vh, 10px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700
}

.together {
  margin: 0;
  font-size: clamp(9px, 1.45vh, 11.5px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600
}

.nm {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(23px, min(8.5vw, 5.2vh), 38px);
  line-height: 1.12;
  color: var(--wine);
  min-height: 1.1em
}

.nm span {
  display: inline-block;
  opacity: 0;
  transform: translateY(10px);
}

.nm.go span {
  animation: chIn .65s ease forwards;
}

@keyframes chIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.of {
  margin: 0;
  font-size: clamp(10px, 1.55vh, 12.5px);
  color: var(--soft);
  font-weight: 500;
  line-height: 1.32;
  max-width: 28ch
}

.amp {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 4vh, 32px);
  color: var(--gold);
  line-height: 1
}

.inv {
  margin: clamp(2px, .6vh, 6px) 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(11.5px, 1.85vh, 14.5px);
  color: var(--ink);
  max-width: 28ch;
  line-height: 1.36
}

.hero-wed-note {
  margin: 0;
  font-size: clamp(9.5px, 1.35vh, 11px);
  letter-spacing: .05em;
  color: var(--wine);
  font-weight: 600;
  padding: 3px 8px;
  border-top: 1px dashed rgba(201, 162, 75, .5);
  max-width: 32ch
}

.down {
  margin-top: clamp(2px, .8vh, 8px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  animation: nudge 1.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent
}

@keyframes nudge {

  0%,
  100% {
    transform: translateY(-3px);
    opacity: .55
  }

  50% {
    transform: translateY(6px);
    opacity: 1
  }
}

.hr {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(5px);
  transition: opacity .9s ease, transform .9s ease, filter .9s ease
}

.hero.go .hr {
  opacity: 1;
  transform: none;
  filter: none
}

/* ---- 3. Save the date ---- */
.pullbox {
  position: relative;
  width: min(88vw, 330px);
  height: 488px;
  margin: 0 auto;
  touch-action: none
}

.rod {
  position: absolute;
  left: -6px;
  right: -6px;
  top: 0;
  height: 14px;
  border-radius: 7px;
  z-index: 6;
  background: linear-gradient(#8d6a22, #f3dd9b 35%, #fff3c8 52%, #c9a24b 75%, #7d5c1a);
  box-shadow: 0 3px 8px rgba(74, 18, 32, .3)
}

.rod i {
  position: absolute;
  top: -3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3c8, #c9a24b 60%, #7d5c1a)
}

.rod i:first-child {
  left: -10px
}

.rod i:last-child {
  right: -10px
}

.paper {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 14px;
  height: 360px;
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
  background: linear-gradient(180deg, #fffaf0, #fbefdc);
  box-shadow: 0 10px 24px rgba(74, 18, 32, .18)
}

.pp {
  position: absolute;
  inset: 8px;
  border: 2px solid var(--gold);
  outline: 1px solid rgba(201, 162, 75, .55);
  outline-offset: -7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px
}

.gm {
  width: 46px;
  height: 46px;
  margin-bottom: 4px
}

.sd-k {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600
}

.sd-dow {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--soft)
}

.sd-day {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 86px;
  line-height: 1;
  color: var(--wine)
}

.sd-mon {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink)
}

.sd-ph {
  margin: 8px 0 0;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid rgba(201, 162, 75, .7)
}

.sd-wedding-line {
  font-size: 11px;
  color: var(--wine);
  margin-top: 6px;
  border-top: 1px dashed rgba(201, 162, 75, .6);
  padding-top: 6px;
  font-weight: 600;
  letter-spacing: .04em
}

.sd-wedding-line strong {
  color: var(--wine2);
  font-weight: 700
}

.sd-wedding-line span {
  color: var(--gold);
  font-size: 9px
}

.corner {
  position: absolute;
  width: 62px;
  height: 62px;
  background: var(--roseimg) center/contain no-repeat
}

.c1 {
  left: -16px;
  top: -16px
}

.c2 {
  right: -16px;
  top: -16px;
  transform: rotate(90deg)
}

.c3 {
  right: -16px;
  bottom: -16px;
  transform: rotate(180deg)
}

.c4 {
  left: -16px;
  bottom: -16px;
  transform: rotate(270deg)
}

.roll {
  position: absolute;
  left: 1%;
  right: 1%;
  top: 2px;
  height: 24px;
  border-radius: 12px;
  z-index: 5;
  cursor: pointer;
  background: linear-gradient(#a8832f, #f3dd9b 28%, #fff3c8 50%, #d9b865 72%, #8d6a22);
  box-shadow: 0 4px 10px rgba(74, 18, 32, .3);
  will-change: transform
}

.tassel {
  position: absolute;
  left: calc(50% - 14px);
  top: 20px;
  width: 28px;
  height: 78px;
  z-index: 7;
  cursor: grab;
  touch-action: none;
  will-change: transform
}

.tassel::before {
  content: "";
  position: absolute;
  inset: -16px -28px;
  cursor: grab
}

.tassel:active {
  cursor: grabbing
}

.finger {
  position: absolute;
  left: calc(50% - 6px);
  top: 70px;
  z-index: 8;
  cursor: pointer;
  animation: pullHint 2.2s ease-in-out infinite;
  transform-origin: 50% 0
}

.finger.off {
  display: none
}

@keyframes pullHint {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0
  }

  15% {
    opacity: 1
  }

  35% {
    transform: translateY(0) scale(.92)
  }

  80% {
    transform: translateY(120px) scale(.92);
    opacity: 1
  }

  100% {
    transform: translateY(130px) scale(1);
    opacity: 0
  }
}

.cdwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  width: 100%;
  padding: 0 8px
}

.cd {
  margin: 0;
  font-size: clamp(10px, 3.2vw, 13px);
  color: var(--soft);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  white-space: nowrap
}

.cd b {
  font-family: var(--serif);
  font-size: 1.4em;
  color: var(--wine);
  font-weight: 600
}

/* ---- 4/5. Carousels (Enhanced Touch & Swipe) ---- */
.stage {
  position: relative;
  margin: 0 auto;
  perspective: 1000px;
  touch-action: pan-y;
  user-select: none
}

.fstage {
  height: 462px
}

.pstage {
  height: 470px
}

.cardx {
  position: absolute;
  left: 50%;
  top: 0;
  transition: transform .45s cubic-bezier(.25, 1, .5, 1), opacity .45s ease;
  will-change: transform
}

.cardx.side {
  filter: blur(2.2px);
  cursor: pointer
}

.fcard {
  width: min(76vw, 292px);
  height: 450px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: #fffaf2;
  box-shadow: 0 18px 36px rgba(74, 18, 32, .25);
  display: flex;
  flex-direction: column;
  text-align: left
}

.fc-top {
  position: relative;
  height: 176px;
  flex: none;
  background: #e9d3c5
}

.fc-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.fc-ico {
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--wine);
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(74, 18, 32, .35)
}

.ic {
  width: 32px;
  height: 32px;
  display: block
}

.spin {
  animation: spin 9s linear infinite
}

.sway {
  animation: swayI 2.6s ease-in-out infinite alternate
}

.bob {
  animation: bobI 1.4s ease-in-out infinite alternate
}

.flick {
  animation: flickI .7s ease-in-out infinite alternate;
  transform-origin: 50% 90%
}

.pulse {
  animation: pulseI 2.2s ease-in-out infinite
}

@keyframes swayI {
  from {
    transform: rotate(-10deg)
  }

  to {
    transform: rotate(10deg)
  }
}

@keyframes bobI {
  from {
    transform: translateY(2px)
  }

  to {
    transform: translateY(-3px)
  }
}

@keyframes flickI {
  from {
    transform: scale(1, .94) skewX(-3deg)
  }

  to {
    transform: scale(.96, 1.06) skewX(3deg)
  }
}

@keyframes pulseI {
  50% {
    transform: scale(1.14)
  }
}

.fc-body {
  padding: 34px 18px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px
}

.fc-body h3 {
  margin: 0 0 2px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--wine);
  line-height: 1.2
}

.row {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.35
}

.row .k {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  padding-top: 2px
}

.row .v {
  color: var(--ink);
  font-weight: 500;
  min-width: 0
}

.sw {
  display: inline-flex;
  gap: 3px;
  vertical-align: middle;
  margin-left: 6px
}

.sw i {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid rgba(74, 18, 32, .35);
  display: inline-block
}

.pcard {
  width: min(74vw, 280px);
  height: 458px;
  padding: 12px 12px 0;
  border-radius: 6px;
  background: #fffaf2;
  border: 1px solid rgba(201, 162, 75, .7);
  box-shadow: 0 18px 36px rgba(74, 18, 32, .25);
  display: flex;
  flex-direction: column
}

.pcard img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 2px;
  display: block
}

.pcard p {
  flex: 1;
  margin: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--wine);
  padding: 0 6px
}

/* Mobile carousel navigation controls */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px
}

.c-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--wine);
  color: var(--gold2);
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(74, 18, 32, .25);
  transition: transform .2s, background .2s;
  -webkit-tap-highlight-color: transparent
}

.c-arrow:active {
  transform: scale(0.92);
  background: var(--wine2)
}

.dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px
}

.dots button {
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  -webkit-tap-highlight-color: transparent
}

.dots button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(110, 31, 47, .25);
  transition: transform .3s, background .3s
}

.dots button.on::after {
  background: var(--wine);
  transform: scale(1.6)
}

/* ---- 6. Reception ---- */
.rcard {
  position: relative;
  overflow: hidden;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 52px 26px;
  border-radius: 26px;
  border: 1px solid var(--gold);
  background: radial-gradient(120% 90% at 50% 0%, #8a2b3f, #6e1f2f 50%, #3f0e1a);
  color: var(--gold2);
  box-shadow: 0 20px 40px rgba(74, 18, 32, .4)
}

.rcard::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(236, 214, 151, .5);
  border-radius: 19px;
  pointer-events: none
}

.rec-ganesh {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4))
}

.host-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 14px;
  background: rgba(201, 162, 75, .2);
  border: 1px solid var(--gold);
  font-size: 10px;
  letter-spacing: .15em;
  color: var(--gold2);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase
}

.rk {
  margin: 0;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  font-weight: 600
}

.rt {
  margin: 2px 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 11vw, 44px);
  color: #f3dd9b
}

.rc-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14.5px;
  color: rgba(255, 243, 200, .92);
  margin: 0 0 4px
}

.orn {
  width: 70px;
  height: 1px;
  margin: 10px auto 16px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative
}

.orn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg)
}

.rd {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 20px
}

.rr {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em
}

.rc-time {
  font-size: 15px;
  color: #fff3c8;
  font-weight: 600
}

.rc-place {
  font-size: 13.5px;
  color: rgba(255, 243, 200, .95)
}

.rr.dim {
  opacity: .78;
  margin-top: 8px
}

.rc-prog {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 300px;
  margin: 16px auto;
  padding: 12px 14px;
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(201, 162, 75, .35);
  border-radius: 12px
}

.rc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11.5px
}

.rc-t {
  color: var(--gold2);
  font-weight: 700;
  font-family: var(--sans);
  letter-spacing: .05em;
  white-space: nowrap
}

.rc-d {
  color: rgba(255, 255, 255, .92);
  text-align: right
}

.rc-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 243, 200, .92);
  margin: 14px auto 0;
  padding: 0 10px;
  max-width: 32ch
}

.rc-rsvp-box {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px
}

.rc-rsvp-text {
  margin: 0;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold2);
  font-weight: 600
}

.rsvp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 11.5px;
  letter-spacing: .12em;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 24px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transition: transform .2s
}

.rsvp-btn:active {
  transform: scale(0.95)
}

.rsvp-btn span {
  color: var(--gold2);
  font-size: 9px
}

.bl {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0;
  transform: scale(.2) rotate(-50deg);
  pointer-events: none;
  animation: bloom 2s cubic-bezier(.2, .9, .25, 1.1) .3s forwards
}

.bl1 {
  left: -52px;
  bottom: -52px
}

.bl2 {
  right: -52px;
  top: -52px;
  animation-delay: .9s
}

.sparks {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.sparks i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #f3dd9b;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: twinkle 2.6s ease-in-out infinite
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .1;
    transform: scale(.4)
  }

  50% {
    opacity: 1;
    transform: scale(1.5)
  }
}

/* ---- 7. Location ---- */
.mapcard {
  position: relative;
  display: block;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow: 0 14px 30px rgba(74, 18, 32, .22);
  aspect-ratio: 340/220;
  background: #efe6d2
}

.mapcard svg {
  display: block;
  width: 100%;
  height: 100%
}

.route {
  animation: flow 1.4s linear infinite
}

@keyframes flow {
  to {
    stroke-dashoffset: -14
  }
}

.pin {
  animation: drop 1.8s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 50% 100%
}

@keyframes drop {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-6px)
  }
}

.ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: ripple 1.8s ease-out infinite
}

@keyframes ripple {
  from {
    transform: scale(.6);
    opacity: .9
  }

  to {
    transform: scale(2.6);
    opacity: 0
  }
}

.maptag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(251, 244, 234, .92);
  color: var(--wine);
  padding: 5px 11px;
  border-radius: 14px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600
}

.addr {
  margin: 18px auto 16px;
  max-width: 30ch;
  font-size: 13px;
  color: var(--soft);
  font-weight: 500
}

.btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 360px;
  margin: 0 auto
}

.btns .btn {
  flex: 1 1 140px;
  max-width: 175px
}

#venueName {
  margin-bottom: 22px
}

/* ---- 8. Closing ---- */
.closing {
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px))
}

.cl {
  margin: 20px auto 14px;
  max-width: 16ch;
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(26px, 8vw, 34px);
  color: var(--wine);
  line-height: 1.25
}

.cf {
  margin: 0;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600
}