:root {
  --warm-white: #fbf8f1;
  --ivory: #fffdf8;
  --paper: #f8f3e8;
  --ink: #514f49;
  --muted: #77736b;
  --olive: #858640;
  --olive-deep: #686a31;
  --gold: #b3a05e;
  --gold-soft: #d7c995;
  --coral: #ed8068;
  --line: #d9d1bf;
  --font-arabic: "Noto Naskh Arabic", serif;
  --font-names: "Corinthia", cursive;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-date: "Cinzel", "Cormorant Garamond", serif;
  --font-body: "Cormorant Garamond", Georgia, serif;
}

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

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--warm-white);
}
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html.scroll-locked,
body.scroll-locked {
  height: 100%;
  overflow: hidden;
}
button,
input,
select,
textarea { font: inherit; }
button,
a { -webkit-tap-highlight-color: transparent; }
img,
video { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- Opening / Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--warm-white);
}

.hero__video,
.hero__poster-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero__video {
  z-index: 0;
  opacity: 1;
  transition: opacity 900ms ease;
}

.hero__video.is-faded {
  opacity: 0;
  pointer-events: none;
}
.hero__poster-frame {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
  user-select: none;
  transition: opacity 120ms linear, visibility 0s linear 120ms;
}
.hero__poster-frame.is-hidden {
  opacity: 0;
  visibility: hidden;
}


.opening-gate {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 150ms linear;
}
.opening-gate.is-opening {
  opacity: 0;
  transform: none;
  pointer-events: none;
}

.music-control {
  position: fixed;
  z-index: 30;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 7px;
  border: 1px solid rgba(104, 106, 49, 0.18);
  border-radius: 999px;
  color: var(--olive-deep);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(81, 79, 73, 0.07);
  cursor: pointer;
}
.music-control__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104, 106, 49, 0.24);
  border-radius: 50%;
  font-size: 13px;
}
.music-control__label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.music-control.is-muted .music-control__icon { opacity: .45; }

.hero__stationery {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 900ms ease 180ms;
}
.hero__stationery.is-visible { opacity: 1; }

.hero__corner {
  position: absolute;
  top: clamp(18px, 4vw, 46px);
  width: clamp(105px, 24vw, 260px);
  height: auto;
  pointer-events: none;
}
.hero__corner--left { left: clamp(12px, 3vw, 34px); }
.hero__corner--right { right: clamp(12px, 3vw, 34px); }

.hero__side {
  position: absolute;
  top: 47%;
  width: clamp(28px, 7vw, 76px);
  height: min(44vh, 510px);
  object-fit: contain;
  transform: translateY(-38%);
}
.hero__side--left { 
    left: clamp(5px, 2vw, 26px);
    transform: translateY(30px);
}
.hero__side--right { 
    right: clamp(5px, 2vw, 26px); 
    transform: translateY(30px);
}

.hero__content {
  position: relative;
  z-index: 4;
  width: min(78vw, 520px);
  padding: clamp(66px, 9vh, 100px) 0 clamp(70px, 8vh, 96px);
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 950ms ease, transform 950ms ease;
}
.hero__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ornamental-divider {
  width: min(180px, 48vw);
  height: 22px;
  margin: 0 auto;
  object-fit: contain;
  opacity: .8;
}
.ornamental-divider--top { margin-bottom: 12px; }
.ornamental-divider--bottom { margin-top: 24px; }

.hero__bismillah {
  margin: 40px 0 28px;
  color: var(--olive-deep);
  font-family: var(--font-arabic);
  font-size: clamp(16px, 3.2vw, 20px);
  line-height: 1.2;
}

.hero__kicker {
  max-width: 310px;
  margin: 0 auto clamp(24px, 4vh, 36px);
  font-family: var(--font-display);
  font-size: clamp(12px, 2.7vw, 17px);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__person { margin: 0; }
.hero__name {
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--font-names);
  font-size: clamp(46px, 11vw, 78px);
  font-weight: 400;
  line-height: .98;
}
.hero__parents {
  max-width: 370px;
  margin: 8px auto 0;
  font-family: var(--font-display);
  font-size: clamp(10px, 2.3vw, 14px);
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}
.hero__ampersand {
  margin: clamp(14px, 2.6vh, 23px) 0;
  color: var(--coral);
  font-family: var(--font-names);
  font-size: clamp(42px, 9vw, 62px);
  line-height: .8;
}
.hero__closing-line {
  max-width: 360px;
  margin: clamp(24px, 4vh, 36px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(11px, 2.5vw, 15px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}
.hero__monogram-wrap {
  position: relative;
  width: clamp(66px, 16vw, 98px);
  aspect-ratio: 1;
  margin: clamp(24px, 4vh, 36px) auto 0;
  display: grid;
  place-items: center;
}
.hero__monogram-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
.hero__monogram-fallback {
  color: var(--ink);
  font-family: var(--font-names);
  font-size: clamp(40px, 11vw, 68px);
  line-height: 1;
}

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: max(18px, env(safe-area-inset-bottom));
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--olive-deep);
  text-decoration: none;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity 650ms ease, transform 650ms ease;
}
.scroll-cue.is-visible {
  opacity: .78;
  transform: translate(-50%, 0);
}
.scroll-cue span {
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.scroll-cue i {
  width: 1px;
  height: 24px;
  background: var(--olive);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.55); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- Shared sections ---------- */
.section {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 12vw, 150px) 22px;
  background: var(--warm-white);
}
.section:nth-of-type(even) { background: var(--ivory); }
.section__inner {
  position: relative;
  width: min(100%, 980px);
  margin: 0 auto;
  text-align: center;
}
.section__inner--narrow { width: min(100%, 620px); }
.section-kicker {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(11px, 2.5vw, 14px);
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.script-heading {
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--font-names);
  font-size: clamp(40px, 8vw, 62px);
  font-weight: 400;
  line-height: 1.05;
}
.section-script { margin-bottom: 14px; }
.lead {
  max-width: 520px;
  margin: 20px auto 0;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 18px);
  line-height: 1.55;
}

.section-side {
  position: absolute;
  top: 50%;
  width: clamp(28px, 6vw, 58px);
  height: min(66%, 640px);
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: .95;
}
.section-side--left { left: -6px; }
.section-side--right { right: -6px; }

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 750ms ease, transform 750ms ease;
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Scratch date ---------- */
.date-reveal { min-height: 76svh; display: grid; align-items: center; }
.gesture-hint {
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.scratch-wrap {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 4 / 3;
  margin-inline: auto;
}
.date-card,
#scratch-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.date-card {
  position: absolute;
  inset: 0;
  z-index: 1;

  display: grid;
  place-content: center;
  text-align: center;

  background: transparent;
  border: 0;
  box-shadow: none;
}
.date-card__day {
  margin: 0 0 5px;
  color: var(--olive-deep);
  font-family: var(--font-date);
  font-weight: 500;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: uppercase;
}
.date-card__date {
  margin: 0;
  color: var(--olive-deep);
  font-family: var(--font-date);
  font-weight: 500;
  font-size: clamp(20px, 5.5vw, 34px);
}
.date-card__time {
  margin: 1px 0 0;
  color: var(--muted);
  font-family: var(--font-date);
  font-weight: 500;
  font-size: clamp(14px, 2vw, 20px);
  text-transform: lowercase;
}
#scratch-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;

  width: 100%;
  height: 100%;

  cursor: grab;
  touch-action: none;
}
#scratch-canvas:active { cursor: grabbing; }
.date-frame {
  position: absolute;
  inset: 0;
  z-index: 3;

  width: 100%;
  height: 100%;
  object-fit: contain;

  pointer-events: none;
}
.petal-layer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  pointer-events: none;
  z-index: 9999;
}
.petal-layer span {
  position: absolute;
  top: -10%;
  left: var(--x);
  font-size: var(--size);
  opacity: 0;
  animation: petal-fall var(--duration) ease-in var(--delay) forwards;
}
@keyframes petal-fall {
  0% { opacity: 0; transform: translate3d(0, -20px, 0) rotate(0); }
  12% { opacity: .95; }
  100% { opacity: 0; transform: translate3d(var(--drift), 100vh, 0) rotate(var(--spin)); }
}

/* ---------- Venue ---------- */
.venue-section { min-height: 80svh; display: grid; align-items: center; }
.illustration-space {
  position: relative;
  width: min(76vw, 420px);
  margin: 18px auto;
}
.illustration-space--venue { aspect-ratio: 1.25 / 1; }
.illustration-space--gifts { aspect-ratio: 1.28 / 1; width: min(70vw, 380px); }
.illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.venue__name {
  margin: 8px 0 0;
  color: var(--olive-deep);
  font-family: var(--font-display);
  font-size: clamp(20px, 4vw, 30px);
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.venue__address {
  margin: 2px 0 0;
  color: var(--ink);
  font-style: normal;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.venue__note {
  max-width: 420px;
  margin: 14px auto 18px;
  color: var(--muted);
  font-size: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 15px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.button--outline {
  border: 1px solid rgba(104, 106, 49, .42);
  border-radius: 999px;
  color: var(--olive-deep);
  background: transparent;
}

/* ---------- Gallery ---------- */
.gallery-section { padding-inline: 16px; }
.gallery {
  width: min(78vw, 460px);
  margin: 30px auto 0;
  touch-action: pan-y;
}
.gallery__track {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(133, 134, 64, .22);
  padding: 8px;
}
.gallery__slide {
  position: absolute;
  inset: 8px;
  margin: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 1200ms ease;
  pointer-events: none;
}
.gallery__slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}
.gallery__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(133, 134, 64, .28);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}
.gallery__dots button.is-active {
  background: var(--olive);
  transform: scale(1.35);
}

/* ---------- Countdown ---------- */
.countdown-section { background: var(--ivory); }
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 560px);
  margin: 32px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.countdown__unit {
  position: relative;
  padding: 18px 4px 16px;
}
.countdown__unit:not(:last-child)::after {
  content: "✦";
  position: absolute;
  top: 50%;
  right: -4px;
  color: var(--coral);
  font-size: 8px;
  transform: translateY(-50%);
}
.countdown__unit strong {
  display: block;
  color: var(--olive-deep);
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.countdown__unit span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  width: min(100%, 470px);
  margin: 36px auto 0;
  text-align: left;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 104px;
  width: 1px;
  background: rgba(133, 134, 64, .32);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 88px 30px 1fr;
  gap: 0;
  align-items: start;
  padding: 0 0 28px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item time {
  padding-top: 2px;
  color: var(--olive-deep);
  font-size: 11px;
  letter-spacing: .05em;
  text-align: right;
}
.timeline__flower {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  color: var(--coral);
  background: var(--warm-white);
  font-size: 9px;
}
.timeline__content h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}
.timeline__content p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Dress ---------- */
.palette {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.palette span {
  width: 34px;
  height: 34px;
  border: 3px solid var(--ivory);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(81, 79, 73, .12);
}

/* ---------- Gifts ---------- */
.gifts-section { min-height: 82svh; display: grid; align-items: center; }
.gifts__title { max-width: 510px; margin-inline: auto; }
.gifts__body { max-width: 430px; font-size: 15px; }

/* ---------- Closing ---------- */
.closing {
  position: relative;
  min-height: 66svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 24px 90px;
  background: var(--warm-white);
  text-align: center;
}
.closing__corner {
  position: absolute;
  bottom: 20px;
  width: clamp(110px, 26vw, 270px);
  height: auto;
  pointer-events: none;
}
.closing__corner--left { left: 16px; }
.closing__corner--right { right: 16px; }
.closing__content {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
}
.closing__content > p:not(.section-kicker) {
  max-width: 430px;
  margin: 18px auto 0;
  color: var(--muted);
}
.closing__names {
  margin-top: 28px;
  color: var(--olive-deep);
  font-family: var(--font-names);
  font-size: clamp(35px, 8vw, 54px);
  line-height: 1;
}
.closing__names span { color: var(--coral); }
.closing time {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.back-to-top {
  display: inline-block;
  margin-top: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (hover: hover) {
  .button--outline:hover { background: rgba(133, 134, 64, .07); }
  .back-to-top:hover { color: var(--olive-deep); }
}

@media (max-width: 700px) {
  .music-control { padding: 6px; }
  .music-control__label { display: none; }

  .hero__content {
    width: 76vw;
    padding-top: 66px;
    padding-bottom: 76px;
  }
  .hero__bismillah { margin-bottom: 22px; }
  .hero__kicker { max-width: 250px; margin-bottom: 24px; }
  .hero__name { font-size: clamp(44px, 13vw, 60px); }
  .hero__parents { max-width: 270px; font-size: 9px; }
  .hero__ampersand { margin: 14px 0; }
  .hero__closing-line { max-width: 270px; margin-top: 24px; font-size: 10px; }
  .hero__monogram-wrap { margin-top: 22px; }
  .hero__corner { width: 116px; }
  .hero__side { width: 36px; height: 42vh; }

  .section { padding: 90px 24px; }
  .section-side { width: 34px; height: 68%; }
  .section-side--left { left: -12px; }
  .section-side--right { right: -12px; }

  .gallery { width: min(84vw, 370px); }
  .countdown__unit { padding-inline: 2px; }

  .timeline::before { left: 82px; }
  .timeline__item { grid-template-columns: 67px 30px 1fr; }
  .timeline__item time { font-size: 9px; }
  .timeline__content h3 { font-size: 16px; }
  .timeline__content p { font-size: 12px; }

  .palette span { width: 30px; height: 30px; }

  .closing { min-height: 62svh; padding: 90px 26px 80px; }
  .closing__corner { width: 118px; bottom: 12px; }
  .closing__corner--left { left: 8px; }
  .closing__corner--right { right: 8px; }
}

@media (max-height: 740px) and (max-width: 700px) {
  .hero__content {
    width: 72vw;
    padding-top: 54px;
    padding-bottom: 60px;
  }
  .hero__bismillah { margin-bottom: 15px; font-size: 14px; }
  .hero__kicker { margin-bottom: 18px; font-size: 13px; }
  .hero__name { font-size: 45px; }
  .hero__parents { font-size: 13px; }
  .hero__ampersand { margin: 9px 0; font-size: 35px; }
  .hero__closing-line { margin-top: 17px; font-size: 13px; }
  .hero__monogram-wrap { width: 55px; margin-top: 20px; }
  .scroll-cue { bottom: 10px; }
  
  .date-reveal {
  padding-left: 4px;
  padding-right: 4px;
}

.scratch-wrap {
  width: min(96vw, 500px);
}
}

@media (min-width: 900px) {
  .hero__content { width: min(46vw, 520px); }
  .section-side--left { left: 4px; }
  .section-side--right { right: 4px; }
  .gallery { width: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Prevent hero text from appearing before its scheduled reveal */
.hero__content:not(.is-visible) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hero__content.is-visible {
  visibility: visible !important;
}


/* =========================
   NAQSH PREVIEW UI
========================= */

.naqsh-demo-badge, .wedsmint-demo-badge {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 10010;

  padding: 8px 13px;
  border-radius: 999px;

  background: rgba(20, 20, 20, 0.72);
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  pointer-events: none;
}


/* FLOATING CTA */

.naqsh-preview-cta, .wedsmint-preview-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10010;

  border: none;
  border-radius: 999px;

  padding: 14px 21px;

  background: #111;
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;

  cursor: pointer;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.naqsh-preview-cta:hover, .wedsmint-preview-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}


/* MODAL */

.naqsh-cta-modal, .wedsmint-cta-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 22px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.naqsh-cta-modal.is-open, .wedsmint-cta-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.naqsh-cta-backdrop, .wedsmint-cta-backdrop {
  position: absolute;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}


/* MODAL CARD */

.naqsh-cta-card, .wedsmint-cta-card {
  position: relative;
  z-index: 1;

  width: min(390px, 100%);
  padding: 38px 28px 28px;

  border-radius: 22px;

  background: #f8f5ef;
  color: #171717;

  text-align: center;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

  transform: translateY(15px) scale(0.97);

  transition: transform 0.3s ease;
}

.naqsh-cta-modal.is-open, .wedsmint-cta-modal.is-open .naqsh-cta-card, .wedsmint-cta-card {
  transform: translateY(0) scale(1);
}


.naqsh-cta-close, .wedsmint-cta-close {
  position: absolute;
  top: 12px;
  right: 15px;

  width: 34px;
  height: 34px;

  border: none;
  background: transparent;

  color: #222;
  font-size: 25px;
  line-height: 1;

  cursor: pointer;
}


.naqsh-cta-eyebrow, .wedsmint-cta-eyebrow {
  display: block;
  margin-bottom: 12px;

  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.22em;
}


.naqsh-cta-card, .wedsmint-cta-card h3 {
  margin: 0 0 12px;

  font-size: 28px;
  font-weight: 500;
}


.naqsh-cta-card, .wedsmint-cta-card p {
  margin: 0 auto 25px;

  max-width: 310px;

  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;

  color: #666;
}


/* INSTAGRAM BUTTON */

.naqsh-instagram-btn, .wedsmint-instagram-btn {
  display: block;

  padding: 14px 20px;

  border-radius: 999px;

  background: #111;
  color: #fff;

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  transition: transform 0.2s ease;
}

.naqsh-instagram-btn, .wedsmint-instagram-btn:hover {
  transform: translateY(-1px);
}


/* MOBILE */

@media (max-width: 600px) {
  .naqsh-demo-badge, .wedsmint-demo-badge {
    top: 12px;
    left: 12px;

    padding: 7px 11px;

    font-size: 9px;
  }

  .naqsh-preview-cta, .wedsmint-preview-cta {
    right: 14px;
    bottom: 14px;

    padding: 13px 18px;

    font-size: 12px;
  }

  .naqsh-cta-card, .wedsmint-cta-card {
    padding: 36px 22px 24px;
  }
}

.naqsh-demo-badge, .wedsmint-demo-badge {
    display: none;
    
}