:root {
  --ink: #24161b;
  --muted: #7b6870;
  --paper: #fffaf1;
  --line: rgba(36, 22, 27, 0.14);
  --gold: #c79a45;
  --accent: #8e2438;
  --accent-2: #176b55;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
}

body.loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }

.experience-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 34%),
    linear-gradient(145deg, #241016, #080607 72%);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

body.loader-done .experience-loader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
}

.loader-stage {
  position: relative;
  width: min(82vw, 390px);
  min-height: 420px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.loader-box {
  position: absolute;
  inset: auto 0 42px;
  height: 190px;
  border-radius: 22px 22px 32px 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(145deg, var(--accent), #4b1624);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  animation: boxRise 2.4s ease forwards;
}

.loader-box::before,
.loader-lid::before {
  content: "";
  position: absolute;
  inset: 0 48%;
  background: linear-gradient(#f8db91, #b7812a);
}

.loader-lid {
  position: absolute;
  left: -14px;
  right: -14px;
  bottom: 218px;
  height: 58px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(145deg, #a93149, var(--accent));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  transform-origin: 16% 100%;
  animation: lidOpen 2.4s ease forwards;
}

.loader-card {
  position: absolute;
  bottom: 118px;
  width: min(66vw, 245px);
  aspect-ratio: 0.72;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  color: var(--ink);
  border: 1px solid rgba(199, 154, 69, 0.48);
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 250, 241, 0.88), rgba(255, 250, 241, 0.94)),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(199, 154, 69, 0.12) 8px 9px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(90px) rotateX(22deg) scale(0.8);
  opacity: 0;
  animation: cardUnbox 2.4s 0.25s ease forwards;
}

.loader-card small,
.loader-caption {
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.loader-card strong {
  display: block;
  margin: 10px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 9vw, 62px);
  line-height: 0.95;
}

.loader-caption {
  position: absolute;
  bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.spark {
  --x: 0px;
  --y: -150px;
  position: absolute;
  left: 50%;
  bottom: 230px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffe6a3;
  box-shadow: 0 0 18px #ffe6a3;
  animation: sparklePop 2.3s ease infinite;
}

.spark:nth-child(2) { --x: -120px; --y: -130px; animation-delay: 0.05s; }
.spark:nth-child(3) { --x: 105px; --y: -150px; animation-delay: 0.18s; }
.spark:nth-child(4) { --x: -70px; --y: -210px; animation-delay: 0.32s; }
.spark:nth-child(5) { --x: 150px; --y: -80px; animation-delay: 0.45s; }

@keyframes lidOpen {
  0%, 30% { transform: rotate(0deg) translateY(0); }
  65%, 100% { transform: rotate(-22deg) translate(-24px, -42px); }
}

@keyframes boxRise {
  0% { transform: translateY(36px) scale(0.95); opacity: 0; }
  30%, 100% { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes cardUnbox {
  0%, 25% { opacity: 0; transform: translateY(90px) rotateX(28deg) scale(0.82); }
  72%, 100% { opacity: 1; transform: translateY(-64px) rotateX(0deg) scale(1); }
}

@keyframes sparklePop {
  0%, 30% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  75% { opacity: 1; transform: translate(var(--x), var(--y)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--x) * 1.08), calc(var(--y) * 1.08)) scale(0.2); }
}

@media (pointer: fine) {
  body, a, button, input, select { cursor: none; }

  .custom-cursor,
  .custom-cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 0.2s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  }

  .custom-cursor {
    width: 38px;
    height: 38px;
    border: 1px solid color-mix(in srgb, var(--accent) 58%, transparent);
    border-radius: 50%;
    background: rgba(255, 250, 241, 0.24);
    backdrop-filter: blur(6px);
    mix-blend-mode: multiply;
  }

  .custom-cursor-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
  }

  body.cursor-ready .custom-cursor,
  body.cursor-ready .custom-cursor-dot { opacity: 1; }

  body.cursor-hover .custom-cursor {
    width: 58px;
    height: 58px;
    border-color: color-mix(in srgb, var(--gold) 82%, transparent);
    background: color-mix(in srgb, var(--gold) 20%, transparent);
  }
}

.sample-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--ink);
  background: rgba(255, 250, 241, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
  font-weight: 900;
}

.sample-nav nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
}

.sample-nav a { transition: color 0.25s ease; }
.sample-nav a:hover { color: var(--accent); }

.sample-logo,
footer strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sample-logo-icon,
footer strong img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  padding: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 18%, transparent);
}

.sample-logo-wordmark {
  width: clamp(108px, 14vw, 164px);
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

.sample-logo span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 110px 20px 56px;
  isolation: isolate;
  background:
    linear-gradient(rgba(36, 22, 27, 0.38), rgba(36, 22, 27, 0.52)),
    var(--hero-image) center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(transparent, var(--paper));
}

.float-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.float-piece {
  position: absolute;
  top: -32px;
  width: 14px;
  height: 22px;
  border-radius: 70% 20% 70% 20%;
  background: linear-gradient(135deg, #fff6cf, var(--gold));
  opacity: 0.68;
  animation: floatDrop linear infinite;
}

@keyframes floatDrop {
  to { transform: translate3d(var(--drift), 112vh, 0) rotate(460deg); }
}

.hero-panel {
  width: min(92vw, 760px);
  padding: clamp(30px, 6vw, 68px);
  text-align: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  background: rgba(24, 14, 18, 0.42);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
section h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(54px, 12vw, 128px);
  line-height: 0.88;
}

.hero h1 span { color: var(--gold); font-style: italic; }

.hero-panel > p:not(.eyebrow) {
  margin: 18px auto 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-actions a,
.rsvp-form button,
.memory-cta button {
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #000));
  box-shadow: 0 16px 38px color-mix(in srgb, var(--accent) 28%, transparent);
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-actions a + a {
  color: var(--ink);
  background: #fff8e7;
}

.hero-actions a:hover,
.rsvp-form button:hover,
.memory-cta button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px color-mix(in srgb, var(--accent) 36%, transparent);
}

section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 72px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

section h2 {
  font-size: clamp(34px, 6vw, 76px);
  line-height: 0.98;
}

section p {
  color: var(--muted);
  line-height: 1.8;
}

.unbox-card {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.card-shell,
.card-inside {
  width: min(82vw, 330px);
  aspect-ratio: 0.72;
  border-radius: 24px;
  display: grid;
  place-items: center;
  padding: 34px;
  text-align: center;
  box-shadow: 0 28px 72px rgba(36, 22, 27, 0.2);
}

.card-shell {
  position: absolute;
  z-index: 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent),
    linear-gradient(145deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #080607));
  border: 1px solid rgba(255, 255, 255, 0.22);
  transform-origin: left center;
  transition: transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-shell strong,
.card-inside strong {
  font-family: "Playfair Display", serif;
  font-size: 58px;
}

.card-shell span {
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.card-inside {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 241, 0.93), rgba(255, 250, 241, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 10px, color-mix(in srgb, var(--gold) 14%, transparent) 10px 11px);
  border: 1px solid color-mix(in srgb, var(--gold) 52%, transparent);
}

.unbox-card.is-open .card-shell,
.unbox-card:hover .card-shell {
  transform: rotateY(-108deg) translateX(-12px);
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.event-strip article,
.feature-card,
.rsvp-form,
.memory-cta {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 20px 56px rgba(36, 22, 27, 0.08);
  backdrop-filter: blur(16px);
}

.event-strip article {
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-strip article:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 70px rgba(36, 22, 27, 0.14);
}

.event-strip span,
.feature-card span {
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-strip h3 {
  margin: 12px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 28px;
  min-height: 230px;
}

.memory-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  background:
    radial-gradient(circle at 88% 18%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 30%),
    rgba(255, 255, 255, 0.64);
}

.memory-ticket {
  display: grid;
  place-items: center;
  min-height: 220px;
  color: #fff;
  text-align: center;
  border-radius: 20px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.25)),
    var(--ticket-image) center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.memory-ticket strong {
  font-family: "Playfair Display", serif;
  font-size: 38px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(36, 22, 27, 0.12);
}

.gallery img:nth-child(2) { margin-top: 46px; }

.rsvp-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.rsvp-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 4vw, 38px);
}

.rsvp-form input,
.rsvp-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #160d11;
}

footer strong {
  font-family: "Playfair Display", serif;
  font-size: 26px;
}

.theme-haldi {
  --paper: #fff8df;
  --accent: #d36818;
  --accent-2: #10735a;
  --hero-image: url("images/Image 02.webp");
  --ticket-image: url("images/Image 03.webp");
}

.theme-sangeet {
  --paper: #f8f4ff;
  --accent: #61308c;
  --accent-2: #c79a45;
  --hero-image: url("images/Image 08.webp");
  --ticket-image: url("images/Image 09.webp");
}

.theme-palace {
  --hero-image: url("images/Image 04.webp");
  --ticket-image: url("images/Image 01.webp");
}

.theme-celestial {
  --paper: #f8f1ff;
  --accent: #4b255f;
  --accent-2: #c79a45;
  --hero-image: url("images/Image 09.webp");
  --ticket-image: url("images/Image 10.webp");
}

.theme-celestial .hero {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 231, 168, 0.18), transparent 28%),
    linear-gradient(rgba(18, 10, 28, 0.52), rgba(18, 10, 28, 0.68)),
    var(--hero-image) center / cover;
}

.theme-destination {
  --paper: #f4fbff;
  --accent: #0f6e79;
  --accent-2: #c79a45;
  --hero-image: url("images/Image 07.webp");
  --ticket-image: url("images/Image 06.webp");
}

.theme-destination .card-shell,
.theme-destination .loader-box,
.theme-destination .loader-lid {
  border-radius: 18px;
}

.theme-vows {
  --paper: #fff6f8;
  --accent: #9c3150;
  --accent-2: #7952b3;
  --hero-image: url("images/Image 11.webp");
  --ticket-image: url("images/Image 06.webp");
}

.theme-vows .hero-panel {
  border-radius: 36px 12px 36px 12px;
}

@media (max-width: 820px) {
  .sample-nav { align-items: flex-start; flex-direction: column; }
  .sample-nav nav { width: 100%; justify-content: space-between; gap: 12px; font-size: 13px; }
  .section-grid,
  .rsvp-section,
  .memory-cta { grid-template-columns: 1fr; }
  .event-strip,
  .feature-row,
  .gallery { grid-template-columns: 1fr; }
  .gallery img:nth-child(2) { margin-top: 0; }
  .hero-panel { border-radius: 22px; }
  footer { flex-direction: column; }
}

.sample-footer {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(220px, 1fr) auto;
  gap: clamp(20px, 4vw, 52px);
  align-items: center;
  padding: 36px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 34%), linear-gradient(145deg, #241016, #0f0b0d 72%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sample-footer-brand,
.sample-footer nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sample-footer-brand span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 5px;
  background: #fff;
  border-radius: 50%;
}

.sample-footer-brand span img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sample-footer-wordmark {
  width: min(164px, 42vw);
  height: auto;
}

.sample-footer-copy {
  display: grid;
  gap: 5px;
}

.sample-footer-copy strong {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.sample-footer-copy span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sample-footer nav {
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.sample-footer nav a {
  padding: 10px 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.24s ease, transform 0.24s ease;
}

.sample-footer nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 820px) {
  .sample-footer {
    grid-template-columns: 1fr;
  }

  .sample-footer nav {
    justify-content: flex-start;
  }
}
