:root {
  --marigold: #f4a300;
  --vermillion: #d62828;
  --rani-pink: #d81b60;
  --peacock: #007c83;
  --royal-blue: #21409a;
  --leaf-green: #2e7d32;
  --saffron: #f57c00;
  --gold: #d4a017;
  --deep-maroon: #6d1b2b;
  --ink: #240b18;
  --paper: #fff6e4;
  --white: #fffaf1;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Manrope", Avenir Next, Avenir, Arial, sans-serif;
  --ivory-text: #fffaf1;
  --gold-text: #f1c45b;
  --shadow: 0 24px 70px rgba(36, 11, 24, 0.22);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 163, 0, 0.18), transparent 22rem),
    radial-gradient(circle at 82% 4%, rgba(0, 124, 131, 0.16), transparent 26rem),
    linear-gradient(135deg, #fff8e7, #ffe5bd 48%, #fff3da);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

canvas,
iframe,
img,
svg {
  max-width: 100%;
}

body.gate-active {
  overflow: hidden;
}

main {
  position: relative;
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 246, 228, 0.28);
  box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.18);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(45deg, rgba(109, 27, 43, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0, 124, 131, 0.05) 25%, transparent 25%);
  background-size: 52px 52px;
}

a {
  color: inherit;
  text-decoration: none;
}

.invite-gate {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 50% 52%, rgba(244, 163, 0, 0.26), transparent 16rem),
    radial-gradient(circle at 12% 14%, rgba(216, 27, 96, 0.2), transparent 14rem),
    linear-gradient(135deg, #230916, #5b1426 48%, #112f25);
  cursor: pointer;
  isolation: isolate;
}

.invite-gate::before,
.invite-gate::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.invite-gate::before {
  inset: 16px;
  border: 2px solid rgba(212, 160, 23, 0.58);
  box-shadow: inset 0 0 0 5px rgba(255, 250, 241, 0.08);
}

.invite-gate::after {
  display: none;
}

.leaf-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: drop-shadow(0 30px 56px rgba(7, 38, 21, 0.32));
  perspective: 1200px;
}

.banana-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.2%;
  height: 100%;
  overflow: hidden;
  background: #0f3418;
  backface-visibility: hidden;
  will-change: transform;
}

.banana-leaf::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 54%, rgba(212, 160, 23, 0.16), transparent 18rem),
    linear-gradient(180deg, rgba(10, 28, 13, 0.16), transparent 30%, rgba(10, 28, 13, 0.28));
  pointer-events: none;
  z-index: 1;
}

.banana-leaf::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  content: "";
  background: url("assets/banana-leaf-texture.png") center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.leaf-left {
  left: 0;
  box-shadow: inset -18px 0 26px rgba(2, 17, 7, 0.46);
  transform-origin: left center;
}

.leaf-left::after {
  left: 0;
}

.leaf-right {
  right: 0;
  box-shadow: inset 18px 0 26px rgba(2, 17, 7, 0.44);
  transform-origin: right center;
}

.leaf-right::after {
  right: 0;
}

.gate-copy {
  position: absolute;
  z-index: 4;
  right: clamp(20px, 8vw, 110px);
  bottom: clamp(42px, 10vh, 96px);
  left: clamp(20px, 8vw, 110px);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  text-shadow: 0 4px 20px rgba(36, 11, 24, 0.52);
}

.gate-copy p,
.gate-copy h2 {
  margin: 0;
}

.gate-copy p,
.gate-copy span {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gate-copy h2 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(2.4rem, 8vw, 6.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.gate-copy span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 18px;
  border: 2px solid rgba(255, 250, 241, 0.75);
  border-radius: 999px;
  color: var(--white);
  background: rgba(109, 27, 43, 0.42);
  animation: gate-pulse 1.7s ease-in-out infinite;
}

.gate-transition-label {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 3;
  display: grid;
  min-width: min(72vw, 360px);
  min-height: min(72vw, 360px);
  place-items: center;
  margin: 0;
  color: rgba(255, 248, 231, 0.94);
  font-size: clamp(1.25rem, 5vw, 2.65rem);
  font-weight: 1000;
  letter-spacing: 0.1em;
  line-height: 1.15;
  opacity: 0;
  text-align: center;
  text-shadow:
    0 3px 0 rgba(90, 22, 32, 0.44),
    0 8px 26px rgba(36, 11, 24, 0.68);
  text-transform: uppercase;
  transform: translate(-50%, calc(-50% + 12px)) scale(0.96);
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255, 226, 126, 0.22), transparent 18%),
    radial-gradient(ellipse at 50% 62%, rgba(225, 180, 90, 0.12), transparent 34%);
}

.gate-transition-label::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.gate-transition-label::before {
  inset: -28px;
  z-index: -1;
  border: 1px solid rgba(225, 180, 90, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 202, 92, 0.22), transparent 26%),
    radial-gradient(circle at 50% 68%, rgba(255, 249, 234, 0.08), transparent 48%);
  box-shadow:
    inset 0 0 0 8px rgba(255, 249, 234, 0.04),
    0 0 60px rgba(225, 180, 90, 0.28);
}

.invite-gate.opening {
  pointer-events: none;
  animation: gate-fade 1800ms ease 3200ms forwards;
}

.invite-gate.opening .leaf-left {
  animation: leaf-open-left 3200ms cubic-bezier(0.16, 0.72, 0.2, 1) 180ms forwards;
}

.invite-gate.opening .leaf-right {
  animation: leaf-open-right 3200ms cubic-bezier(0.16, 0.72, 0.2, 1) 180ms forwards;
}

.invite-gate.opening .gate-copy {
  animation: copy-lift 1200ms ease 260ms forwards;
}

.invite-gate.opening .gate-transition-label {
  animation: celebration-label 3400ms ease 980ms forwards;
}

.invite-gate.is-hidden {
  display: none;
}

.decor-frame {
  position: fixed;
  inset: 14px;
  z-index: 20;
  pointer-events: none;
  border: 2px solid rgba(212, 160, 23, 0.58);
  box-shadow: inset 0 0 0 5px rgba(109, 27, 43, 0.12);
}

.petal-layer {
  position: fixed;
  inset: 0;
  z-index: 25;
  overflow: hidden;
  pointer-events: none;
}

.rose-petal,
.mogra-flower {
  position: absolute;
  top: -32px;
  left: var(--x);
  opacity: var(--opacity, 0.78);
  transform: rotate(var(--rotate)) rotateX(var(--tilt, 0deg)) scale(var(--scale-x, 1), var(--scale-y, 1));
  transform-origin: 50% 24%;
  transform-style: preserve-3d;
  animation: petal-fall var(--duration) linear infinite;
  animation-delay: var(--delay);
  will-change: transform, opacity;
}

.rose-petal {
  width: var(--size);
  height: calc(var(--size) * 1.58);
  border-radius: 78% 18% 72% 28% / 66% 28% 76% 34%;
  background:
    radial-gradient(ellipse at 34% 22%, rgba(255, 255, 255, 0.58) 0 13%, transparent 28%),
    radial-gradient(ellipse at 72% 82%, rgba(88, 0, 24, 0.34) 0 12%, transparent 34%),
    linear-gradient(145deg, var(--petal-light) 0%, var(--petal-dark) 62%, #7f1028 100%);
  box-shadow:
    inset -4px -8px 10px rgba(86, 0, 24, 0.22),
    inset 3px 5px 7px rgba(255, 255, 255, 0.16),
    0 7px 14px rgba(109, 27, 43, 0.14);
  filter: blur(var(--blur, 0px));
  clip-path: polygon(48% 0, 70% 8%, 90% 29%, 100% 58%, 84% 86%, 53% 100%, 20% 84%, 2% 54%, 12% 22%);
}

.rose-petal::before,
.rose-petal::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.rose-petal::before {
  inset: 11% 18% 22% 22%;
  border-left: 1px solid rgba(255, 250, 241, 0.34);
  border-radius: 60% 35% 60% 38%;
  transform: rotate(-19deg);
}

.rose-petal::after {
  inset: auto 5% 7% 20%;
  height: 40%;
  border-right: 1px solid rgba(255, 250, 241, 0.24);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
  border-radius: 0 0 80% 0;
  opacity: 0.8;
  transform: rotate(28deg);
}

.mogra-flower {
  width: calc(var(--size) * 1.22);
  height: calc(var(--size) * 1.12);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 14%, rgba(255, 255, 255, 0.98) 0 18%, rgba(242, 232, 196, 0.88) 19% 29%, transparent 30%),
    radial-gradient(ellipse at 82% 39%, rgba(255, 255, 255, 0.96) 0 18%, rgba(241, 230, 198, 0.84) 19% 30%, transparent 31%),
    radial-gradient(ellipse at 68% 82%, rgba(255, 255, 255, 0.96) 0 18%, rgba(240, 228, 194, 0.84) 19% 30%, transparent 31%),
    radial-gradient(ellipse at 29% 82%, rgba(255, 255, 255, 0.96) 0 18%, rgba(242, 232, 198, 0.84) 19% 30%, transparent 31%),
    radial-gradient(ellipse at 16% 39%, rgba(255, 255, 255, 0.96) 0 18%, rgba(241, 230, 198, 0.84) 19% 30%, transparent 31%);
  filter: blur(var(--blur, 0px)) drop-shadow(0 4px 8px rgba(109, 27, 43, 0.13));
}

.mogra-flower::before,
.mogra-flower::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.mogra-flower::before {
  inset: 18% 20%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 42%, rgba(255, 255, 255, 0.68), transparent 23%),
    conic-gradient(from 18deg, rgba(255, 250, 241, 0.14), rgba(191, 169, 105, 0.22), rgba(255, 250, 241, 0.12));
  opacity: 0.78;
  transform: rotate(18deg);
}

.mogra-flower::after {
  inset: 35%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 250, 241, 0.8), transparent 20%),
    radial-gradient(circle, #f6cb58 0 34%, #c38b23 35% 64%, transparent 66%);
  box-shadow: 0 0 5px rgba(244, 163, 0, 0.3);
}

.akshata-grain {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 5;
  width: var(--size);
  height: calc(var(--size) * 1.9);
  border-radius: 58% 42% 52% 48%;
  background:
    radial-gradient(ellipse at 36% 26%, rgba(255, 255, 255, 0.84), transparent 30%),
    linear-gradient(155deg, #fff9ea, #eed9a6 76%, #c99b4b);
  box-shadow: 0 2px 5px rgba(36, 19, 11, 0.12);
  opacity: 0;
  transform: translate3d(0, 0, 0) rotate(var(--rotate));
  animation: akshata-fall var(--duration) linear var(--delay) forwards;
  pointer-events: none;
  will-change: transform, opacity;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(22px, 4vw, 62px) 22px clamp(12px, 2vw, 30px);
  color: var(--white);
  mix-blend-mode: difference;
}

@media (min-width: 1441px) {
  .site-header {
    right: auto;
    left: 50%;
    width: 1440px;
    transform: translateX(-50%);
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 54px;
  height: 54px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 1000;
  letter-spacing: 0;
}

.brand-heart {
  color: var(--rani-pink);
  font-size: 0.8em;
  line-height: 1;
  transform: translateY(-1px);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  min-width: 0;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

nav a {
  white-space: nowrap;
}

.section-panel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

#events,
#gallery,
#rsvp,
#venue {
  scroll-margin-top: 92px;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 100vh;
  padding: 112px clamp(22px, 7vw, 110px) 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(255, 246, 240, 0.95) 0%, rgba(255, 246, 240, 0.86) 47%, rgba(255, 246, 240, 0.26) 74%),
    url("assets/temple-bg-crop.jpeg") right center / auto 112% no-repeat,
    linear-gradient(135deg, #fff7ef, #fff0f3);
}

.hero::after,
.event-art::before,
.memory-tile::after {
  position: absolute;
  inset: auto;
  content: "";
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 20deg, rgba(212, 160, 23, 0.34) 0deg 6deg, transparent 6deg 12deg),
    radial-gradient(circle, transparent 42%, rgba(255, 250, 241, 0.18) 43% 46%, transparent 47%);
  animation: slow-spin 28s linear infinite;
}

.hero::after {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--deep-maroon);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  display: grid;
  gap: 0;
  margin-bottom: 26px;
  color: #9d2d3f;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
}

.amp {
  color: #456b35;
  font-family: var(--font-display);
  font-size: 0.38em;
  font-style: italic;
  line-height: 1.1;
}

.hero-line {
  max-width: 640px;
  color: rgba(80, 37, 44, 0.9);
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.72rem);
  font-weight: 700;
  line-height: 1.45;
}

.couple-details {
  display: grid;
  gap: 14px;
  max-width: 690px;
  margin: 22px 0 4px;
}

.couple-details p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid rgba(212, 160, 23, 0.7);
}

.couple-details strong {
  color: #7d1f33;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
}

.couple-details span {
  color: rgba(50, 65, 41, 0.86);
  font-size: clamp(0.92rem, 1.45vw, 1.08rem);
  font-weight: 700;
  line-height: 1.45;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 18px;
  padding: 0 28px;
  border: 3px solid var(--gold);
  border-radius: 999px;
  color: var(--white);
  background: var(--deep-maroon);
  box-shadow: 8px 8px 0 var(--gold);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--gold);
}

.primary-action:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
  box-shadow: none;
}

.hero-date {
  position: absolute;
  right: clamp(58px, 9vw, 142px);
  bottom: clamp(68px, 8vw, 108px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 1000;
  isolation: isolate;
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
}

.hero-date::before,
.hero-date::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.hero-date::before {
  z-index: -2;
  width: clamp(230px, 30vw, 390px);
  aspect-ratio: 1;
  background:
    repeating-conic-gradient(from 20deg, rgba(212, 160, 23, 0.48) 0deg 7deg, transparent 7deg 14deg),
    radial-gradient(circle, transparent 43%, rgba(255, 250, 241, 0.22) 44% 46%, transparent 47%);
  opacity: 0.88;
  animation: slow-spin 28s linear infinite;
}

.hero-date::after {
  z-index: -1;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 250, 241, 0.86);
  background: rgba(36, 11, 24, 0.5);
  backdrop-filter: blur(8px);
}

.hero-date span {
  display: block;
  max-width: 104px;
}

.hero-date span:first-child {
  font-size: 1.25rem;
}

.hero-date span:last-child {
  color: var(--gold);
  font-size: 0.68rem;
  line-height: 1.1;
}

.date-reveal-link {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  padding: 0 12px;
  border: 1px solid rgba(255, 250, 241, 0.7);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(36, 11, 24, 0.36);
  font-size: 0.72rem;
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.date-reveal-link:hover,
.date-reveal-link:focus-visible {
  background: rgba(36, 11, 24, 0.62);
  transform: translateY(-1px);
}

.story,
.gallery,
.rsvp,
.scratch-date,
.venue,
.blessings {
  padding: clamp(78px, 10vw, 130px) clamp(22px, 6vw, 90px);
}

.section-heading,
.gallery-heading,
.rsvp-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-width: 760px;
  min-width: 0;
}

.scratch-date {
  min-height: auto;
  display: grid;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at 78% 28%, rgba(216, 27, 96, 0.16), transparent 18rem),
    linear-gradient(135deg, #fff6e4, #eaf7f5);
}

.scratch-card {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  height: clamp(180px, 28vw, 230px);
  margin: 28px auto 0;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  touch-action: none;
}

.scratch-reveal {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(244, 163, 0, 0.2), transparent 13rem),
    var(--white);
}

.scratch-reveal span,
.scratch-reveal em {
  color: var(--peacock);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scratch-reveal strong {
  color: var(--deep-maroon);
  font-size: clamp(2rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

#scratchCanvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 249, 234, 0.16), transparent 8rem),
    radial-gradient(circle at 84% 72%, rgba(143, 60, 40, 0.18), transparent 9rem),
    repeating-linear-gradient(90deg, rgba(255, 249, 234, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #9d6124, #d7a446 48%, #7d401c);
  cursor: grab;
}

.scratch-card.revealed #scratchCanvas {
  pointer-events: none;
  opacity: 0;
  transition: opacity 500ms ease;
}

h2 {
  max-width: 100%;
  margin-bottom: 36px;
  color: var(--deep-maroon);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: none;
}

.background-word {
  position: absolute;
  top: clamp(42px, 8vw, 88px);
  left: -0.05em;
  z-index: 0;
  margin: 0;
  color: rgba(109, 27, 43, 0.08);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 1000;
  line-height: 0.8;
  pointer-events: none;
  text-transform: uppercase;
  animation: drift-word 9s ease-in-out infinite alternate;
}

.event-art,
.memory-tile {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
}

.haldi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.3), rgba(244, 163, 0, 0.08)),
    url("assets/temple-bg-crop.jpeg") 16% 50% / cover no-repeat;
}

.mehndi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.22), rgba(46, 125, 50, 0.1)),
    url("assets/banana-leaf-texture.png") 54% 50% / cover no-repeat;
}

.sangeet .event-art {
  background-position: 72% 48%;
}

.wedding .event-art {
  border-radius: 50% 50% 8px 8px / 42% 42% 8px 8px;
  background-position: 64% 62%;
}

.wedding .event-art::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 2px solid rgba(212, 160, 23, 0.62);
  border-radius: inherit;
  box-shadow: inset 0 0 0 5px rgba(255, 250, 241, 0.08);
  pointer-events: none;
}

.reception .event-art {
  background:
    linear-gradient(135deg, rgba(16, 42, 92, 0.14), rgba(216, 27, 96, 0.1)),
    url("assets/hero-wedding.png") 82% 52% / cover no-repeat;
  box-shadow:
    0 0 42px rgba(111, 194, 255, 0.24),
    var(--shadow);
}

.events {
  display: grid;
  gap: 28px;
  padding: clamp(80px, 10vw, 140px) 0;
}

.events > .section-heading {
  padding: 0 clamp(22px, 6vw, 90px);
}

.event-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.68fr);
  align-items: center;
  gap: clamp(22px, 5vw, 72px);
  min-height: 78vh;
  padding: clamp(52px, 8vw, 96px) clamp(22px, 6vw, 90px);
  overflow: hidden;
}

.event-section > div:not(.event-art) {
  grid-column: 1;
}

.event-section .event-art {
  grid-column: 2;
}

.event-section h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 22px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 8.6rem);
  font-weight: 700;
  line-height: 0.9;
  overflow-wrap: anywhere;
  text-transform: none;
}

.event-description,
.meal-note {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: -4px 0 22px;
  color: rgba(255, 250, 241, 0.9);
  font-family: var(--font-serif);
  font-size: clamp(1.14rem, 2.2vw, 1.62rem);
  font-weight: 700;
  line-height: 1.42;
}

.meal-note {
  margin: 18px 0 0;
  padding-left: 16px;
  border-left: 3px solid rgba(212, 160, 23, 0.75);
}

.event-section .eyebrow {
  color: rgba(255, 250, 241, 0.82);
  text-shadow: 0 1px 12px rgba(36, 11, 24, 0.18);
}

.event-section dl {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 520px;
  margin: 0;
  border-top: 1px solid rgba(255, 250, 241, 0.35);
}

.event-section dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 250, 241, 0.35);
}

dt {
  color: rgba(255, 250, 241, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
}

.split-events {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
}

.mini-event {
  padding: 18px;
  border: 1px solid rgba(255, 250, 241, 0.38);
  border-radius: 8px;
  background: rgba(36, 11, 24, 0.14);
  backdrop-filter: blur(4px);
}

.mini-event h4 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 1000;
  text-transform: uppercase;
}

.mini-event dl {
  max-width: none;
}

.mini-event dl div {
  grid-template-columns: 70px 1fr;
  gap: 10px;
  padding: 12px 0;
}

.direction-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 18px;
  padding: 0 18px;
  border: 2px solid rgba(255, 250, 241, 0.7);
  border-radius: 999px;
  color: var(--white);
  background: rgba(36, 11, 24, 0.22);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.haldi {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 250, 241, 0.18), transparent 15rem),
    linear-gradient(135deg, var(--marigold), var(--saffron) 58%, var(--leaf-green));
}

.haldi::before,
.mehndi::before,
.wedding::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 10% 18%, rgba(255, 250, 241, 0.22) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 30%, rgba(255, 250, 241, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 26% 18%, rgba(255, 250, 241, 0.2) 0 2px, transparent 3px),
    radial-gradient(circle at 18% 6%, rgba(255, 250, 241, 0.12) 0 2px, transparent 3px);
  background-size: 132px 132px;
  opacity: 0.4;
  pointer-events: none;
}

.mehndi {
  background:
    radial-gradient(circle at 18% 22%, rgba(244, 163, 0, 0.18), transparent 16rem),
    linear-gradient(135deg, #0f6f57, #2e7d32 50%, var(--gold));
}

.sangeet {
  background: linear-gradient(135deg, #46146f, var(--rani-pink) 48%, var(--royal-blue));
}

.wedding {
  background:
    linear-gradient(90deg, rgba(59, 7, 19, 0.94), rgba(109, 27, 43, 0.8) 48%, rgba(109, 27, 43, 0.4)),
    url("assets/temple-bg-crop.jpeg") right center / auto 115% no-repeat,
    radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.25), transparent 15rem),
    radial-gradient(circle at 16% 82%, rgba(255, 250, 241, 0.12), transparent 14rem),
    linear-gradient(135deg, #3b0713, var(--deep-maroon) 42%, #8f1f18 72%, #2a0610);
}

.reception {
  background:
    radial-gradient(circle at 82% 16%, rgba(130, 205, 255, 0.32) 0 10px, transparent 12px 100%),
    radial-gradient(circle at 88% 50%, rgba(244, 163, 0, 0.22) 0 14px, transparent 16px 100%),
    radial-gradient(circle at 62% 78%, rgba(216, 27, 96, 0.24) 0 12px, transparent 14px 100%),
    radial-gradient(circle at 34% 18%, rgba(255, 250, 241, 0.18) 0 8px, transparent 10px 100%),
    radial-gradient(circle at 74% 82%, rgba(0, 124, 131, 0.24), transparent 18rem),
    linear-gradient(135deg, #030711, #081b3a 34%, #102a5c 64%, #050716);
}

.reception::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 250, 241, 0.22), transparent 3.8rem),
    radial-gradient(circle at 88% 68%, rgba(74, 144, 226, 0.32), transparent 5rem),
    radial-gradient(circle at 46% 78%, rgba(212, 160, 23, 0.22), transparent 4.5rem),
    radial-gradient(circle at 18% 70%, rgba(216, 27, 96, 0.2), transparent 5.2rem),
    radial-gradient(circle at 28% 34%, rgba(130, 205, 255, 0.16), transparent 3.4rem),
    radial-gradient(circle at 58% 24%, rgba(255, 250, 241, 0.13), transparent 2.6rem);
  filter: blur(7px);
  pointer-events: none;
}

.reception > div:not(.event-art),
.reception .event-art,
.reception .background-word {
  position: relative;
  z-index: 1;
}

.reception h3 {
  text-shadow:
    0 0 18px rgba(111, 194, 255, 0.34),
    0 0 38px rgba(216, 27, 96, 0.24);
}

.reception dl {
  border-top-color: rgba(130, 205, 255, 0.38);
}

.reception dl div {
  border-bottom-color: rgba(130, 205, 255, 0.32);
}

.reception .event-art {
  border-color: rgba(255, 250, 241, 0.9);
}

.event-section .background-word {
  top: 12%;
  color: rgba(255, 250, 241, 0.12);
}

.event-art {
  width: min(34vw, 440px);
  min-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.34), rgba(255, 250, 241, 0.04)),
    url("assets/hero-wedding.png") center / cover no-repeat;
}

.event-art::before {
  display: none;
}

.gallery {
  min-height: auto;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 18%, rgba(244, 163, 0, 0.2), transparent 18rem),
    radial-gradient(circle at 14% 78%, rgba(0, 124, 131, 0.18), transparent 18rem),
    linear-gradient(135deg, #2b1023, var(--deep-maroon) 52%, #143c34);
}

.gallery::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    radial-gradient(circle at 50% 10px, rgba(255, 250, 241, 0.38) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 28px, rgba(255, 250, 241, 0.28) 0 2px, transparent 3px);
  background-size: 52px 68px;
  opacity: 0.18;
  pointer-events: none;
}

.gallery .background-word {
  color: rgba(255, 250, 241, 0.08);
}

.gallery-heading h2 {
  max-width: 980px;
}

.marquee-row {
  width: calc(100% + 180px);
  margin: 26px -90px;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 22px;
  animation: marquee 34s linear infinite;
}

.reverse-row .marquee-track {
  animation-direction: reverse;
}

.memory-tile {
  flex: 0 0 auto;
  width: clamp(180px, 24vw, 340px);
  height: clamp(230px, 32vw, 420px);
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.18), transparent),
    url("assets/hero-wedding.png") center / cover no-repeat;
  transition: transform 180ms ease;
}

.memory-tile:hover {
  transform: scale(1.04) rotate(-1deg);
}

.memory-tile::after {
  width: 75%;
  aspect-ratio: 1;
  right: -22%;
  bottom: -22%;
  opacity: 0.55;
}

.tile-a { background-position: 76% 38%; }
.tile-b { background-position: 54% 84%; height: clamp(180px, 25vw, 330px); }
.tile-c { background-position: 32% 16%; }
.tile-d { background-position: 88% 72%; height: clamp(210px, 29vw, 380px); }
.tile-e { background-position: 12% 72%; }

.rsvp {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(280px, 1fr);
  align-items: start;
  gap: clamp(28px, 6vw, 86px);
  min-height: auto;
  background:
    radial-gradient(circle at 22% 22%, rgba(244, 163, 0, 0.28), transparent 18rem),
    linear-gradient(135deg, #e0fbf8, #fff2c7);
}

.rsvp-copy p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
}

.rsvp-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  border: 4px solid var(--peacock);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
}

label,
fieldset {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  color: var(--deep-maroon);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  outline: none;
  padding: 12px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rani-pink);
  box-shadow: 0 0 0 4px rgba(216, 27, 96, 0.16);
  transform: translateY(-1px);
}

fieldset {
  grid-template-columns: repeat(3, 1fr);
  grid-column: 1 / -1;
  gap: 12px;
  padding: 16px;
  border: 3px solid rgba(0, 124, 131, 0.45);
  border-radius: 8px;
}

fieldset.side-field {
  grid-column: 1 / -1;
}

legend {
  padding: 0 8px;
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(0, 124, 131, 0.08);
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--rani-pink);
}

.wide,
.submit-action,
.form-status {
  grid-column: 1 / -1;
}

.submit-action {
  width: min(100%, 260px);
  border-color: var(--deep-maroon);
  cursor: pointer;
}

.form-status {
  min-height: 28px;
  margin: 0;
  color: var(--peacock);
  font-size: 1.1rem;
  font-weight: 1000;
}

.char-count {
  justify-self: end;
  color: rgba(109, 27, 43, 0.7);
  font-size: 0.76rem;
  font-weight: 900;
}

.venue {
  min-height: auto;
  background:
    radial-gradient(circle at 18% 24%, rgba(244, 163, 0, 0.22), transparent 20rem),
    linear-gradient(135deg, var(--paper), #e7faf8);
}

.venue .section-heading p:not(.eyebrow) {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.5;
}

.map-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  height: clamp(280px, 42vw, 420px);
  margin-top: 28px;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-action {
  margin-top: 24px;
}

.blessings {
  min-height: auto;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 18%, rgba(244, 163, 0, 0.22), transparent 19rem),
    linear-gradient(135deg, var(--deep-maroon), #133c40);
}

.blessings .section-heading {
  max-width: 960px;
}

.blessing-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.blessing-grid article {
  min-height: 180px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 241, 0.2);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
}

.blessing-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blessing-grid p {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.thank-you-note {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  max-width: 840px;
  margin: 42px auto 0;
  padding: clamp(26px, 5vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.24);
  border-radius: 8px;
  color: rgba(255, 250, 241, 0.86);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 151, 43, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(255, 250, 241, 0.1), rgba(36, 95, 53, 0.08));
  box-shadow: 0 18px 44px rgba(36, 19, 11, 0.16);
}

.thank-you-note::before,
.thank-you-note::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.thank-you-note::before {
  inset: 12px;
  border: 1px solid rgba(201, 151, 43, 0.28);
  border-radius: 6px;
}

.thank-you-note::after {
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 211, 119, 0.24), transparent 28%),
    radial-gradient(circle at 50% 52%, rgba(255, 249, 234, 0.08), transparent 55%);
  opacity: 0.46;
}

.thank-you-note .eyebrow,
.thank-you-note .lamp-accent,
.thank-you-note h3,
.thank-you-note p,
.thank-you-note strong {
  position: relative;
  z-index: 1;
}

.lamp-accent {
  display: block;
  width: clamp(42px, 6vw, 64px);
  aspect-ratio: 212 / 760;
  margin: 2px auto 18px;
  background: url("assets/south-indian-lamp.png") center / contain no-repeat;
  filter:
    drop-shadow(0 14px 20px rgba(36, 19, 11, 0.32))
    drop-shadow(0 0 14px rgba(225, 180, 90, 0.18));
}

.lamp-accent::before,
.lamp-accent::after {
  position: absolute;
  left: 50%;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}

.lamp-accent::before {
  top: 20.2%;
  width: 58%;
  aspect-ratio: 1;
  background:
    radial-gradient(circle, rgba(255, 242, 162, 0.9) 0 8%, rgba(248, 177, 61, 0.46) 9% 38%, transparent 68%);
  filter: blur(4px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scale(1);
  animation: lamp-glow 2.15s ease-in-out infinite;
}

.lamp-accent::after {
  top: 19.8%;
  width: 28%;
  height: 6%;
  background:
    radial-gradient(ellipse, rgba(255, 247, 178, 0.78), rgba(242, 161, 43, 0.34) 46%, transparent 72%);
  filter: blur(3px);
  mix-blend-mode: screen;
  transform: translate(-50%, -50%) scaleY(1);
  animation: lamp-flame-flicker 1.28s ease-in-out infinite;
}

.thank-you-note h3 {
  max-width: 680px;
  margin: 0;
  color: var(--ivory-text);
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 5.1rem);
  font-weight: 700;
  line-height: 0.94;
}

.thank-you-note p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 249, 234, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  font-weight: 500;
  line-height: 1.7;
}

.thank-you-note strong {
  display: block;
  margin-top: 22px;
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.8vw, 3.45rem);
  font-weight: 700;
  line-height: 1;
}

.admin-trigger {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.music-toggle {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  padding: 0;
  border: 2px solid rgba(255, 250, 241, 0.78);
  border-radius: 50%;
  color: var(--white);
  background: rgba(109, 27, 43, 0.62);
  box-shadow: 0 12px 30px rgba(36, 11, 24, 0.26);
  cursor: pointer;
  font: inherit;
  backdrop-filter: blur(8px);
  opacity: 0.78;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.music-toggle:hover,
.music-toggle:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.music-toggle.is-playing {
  opacity: 1;
  background: rgba(0, 124, 131, 0.9);
  box-shadow: 0 14px 34px rgba(0, 124, 131, 0.26);
}

.youtube-music-player {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.music-note {
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 1000;
  line-height: 1;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(36, 11, 24, 0.62);
  backdrop-filter: blur(8px);
}

.admin-modal.open {
  display: grid;
}

.admin-dialog {
  width: min(1060px, 100%);
  max-height: min(760px, 92vh);
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 24px 12px;
}

.admin-head h2 {
  margin: 0;
  color: var(--deep-maroon);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--deep-maroon);
  border-radius: 50%;
  background: var(--white);
  color: var(--deep-maroon);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 1000;
}

.admin-summary {
  padding: 0 24px 14px;
  color: var(--peacock);
  font-weight: 1000;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 24px 18px;
}

.admin-actions button {
  min-height: 40px;
  border: 2px solid var(--peacock);
  border-radius: 999px;
  background: transparent;
  color: var(--deep-maroon);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 1000;
  padding: 0 16px;
  text-transform: uppercase;
}

.admin-table-wrap {
  max-height: 430px;
  overflow: auto;
  border-top: 2px solid rgba(0, 124, 131, 0.18);
}

.admin-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(109, 27, 43, 0.16);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  position: sticky;
  top: 0;
  background: var(--deep-maroon);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.empty-row {
  color: rgba(36, 11, 24, 0.62);
  font-weight: 800;
}

.site-footer {
  position: relative;
  padding: 28px clamp(22px, 6vw, 90px);
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: var(--deep-maroon);
}

.site-footer::before {
  position: absolute;
  inset: 10px;
  content: "";
  border: 1px solid rgba(212, 160, 23, 0.42);
  pointer-events: none;
}

.site-footer p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 250, 241, 0.84);
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  font-weight: 800;
}

.confetti {
  position: fixed;
  top: -12px;
  z-index: 60;
  width: 9px;
  height: 16px;
  border-radius: 2px;
  pointer-events: none;
  animation: confetti-fall 1200ms ease-in forwards;
}

.reveal {
  opacity: 0.92;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@keyframes drift-word {
  from { transform: translateX(-2vw); }
  to { transform: translateX(3vw); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes confetti-fall {
  to {
    transform: translateY(105vh) rotate(720deg);
    opacity: 0;
  }
}

@keyframes sacred-glow {
  0%,
  100% {
    opacity: 0.42;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 0.62;
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes lamp-glow {
  0%,
  100% {
    opacity: 0.58;
    transform: translate(-50%, -50%) scale(0.92);
  }
  45% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.08);
  }
  72% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.98);
  }
}

@keyframes lamp-flame-flicker {
  0%,
  100% {
    opacity: 0.52;
    transform: translate(-50%, -50%) scale(0.92, 1);
  }
  42% {
    opacity: 0.86;
    transform: translate(-50%, -50%) scale(1.08, 1.18);
  }
  70% {
    opacity: 0.64;
    transform: translate(-50%, -50%) scale(0.96, 0.88);
  }
}

@keyframes akshata-fall {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--rotate));
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 108vh, 0) rotate(calc(var(--rotate) + 360deg));
  }
}

@keyframes petal-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(var(--rotate)) rotateX(var(--tilt, 0deg)) scale(var(--scale-x, 1), var(--scale-y, 1));
    opacity: var(--opacity, 0.9);
  }
  8% {
    opacity: var(--opacity, 0.9);
  }
  28% {
    transform: translate3d(var(--sway), 26vh, 0) rotate(calc(var(--rotate) + 96deg)) rotateX(var(--tilt-reverse, 0deg)) scale(var(--scale-x, 1), var(--scale-y, 1));
    opacity: var(--opacity, 0.9);
  }
  50% {
    transform: translate3d(var(--drift), 48vh, 0) rotate(calc(var(--rotate) + 180deg)) rotateY(42deg) scale(var(--scale-y, 1), var(--scale-x, 1));
    opacity: calc(var(--opacity, 0.9) * 0.76);
  }
  74% {
    transform: translate3d(calc(var(--drift) - var(--sway)), 78vh, 0) rotate(calc(var(--rotate) + 286deg)) rotateX(var(--tilt, 0deg)) scale(var(--scale-x, 1), var(--scale-y, 1));
    opacity: calc(var(--opacity, 0.9) * 0.32);
  }
  100% {
    transform: translate3d(calc(var(--drift) * -0.45), 112vh, 0) rotate(calc(var(--rotate) + 360deg)) rotateY(-28deg) scale(var(--scale-x, 1), var(--scale-y, 1));
    opacity: 0;
  }
}

@keyframes gate-pulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.28);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 0 0 8px rgba(212, 160, 23, 0);
  }
}

@keyframes leaf-open-left {
  to {
    transform: translateX(-108%) rotateY(-22deg) rotateZ(-2deg);
    filter: brightness(0.82);
  }
}

@keyframes leaf-open-right {
  to {
    transform: translateX(108%) rotateY(22deg) rotateZ(2deg);
    filter: brightness(0.82);
  }
}

@keyframes copy-lift {
  to {
    opacity: 0;
    transform: translateY(-18px);
  }
}

@keyframes celebration-label {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 12px)) scale(0.96);
  }
  34%,
  82% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 8px)) scale(1.02);
  }
}

@keyframes gate-fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Coastal Mangalore courtyard theme */
:root {
  --marigold: #e6a11f;
  --vermillion: #ad2d1f;
  --rani-pink: #b72753;
  --peacock: #1f6f62;
  --royal-blue: #173863;
  --leaf-green: #245f35;
  --saffron: #d88718;
  --gold: #c9972b;
  --deep-maroon: #5a1620;
  --ink: #25150e;
  --paper: #fff3d6;
  --white: #fff8e7;
  --laterite: #8f3c28;
  --teak: #4a2a17;
  --teak-dark: #24130b;
  --coconut: #fff7df;
  --mangalore-green: #0f3b28;
  --brass: #bd8427;
  --shadow: 0 22px 56px rgba(37, 21, 14, 0.26);
  --font-body: "Manrope", Avenir Next, Avenir, Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-label: "Cinzel", Georgia, serif;
  --text-deep: #2a1710;
  --text-soft: rgba(42, 23, 16, 0.72);
  --ivory-text: #fff9ea;
  --gold-text: #e1b45a;
}

body {
  color: var(--text-deep);
  background:
    radial-gradient(circle at 18% 10%, rgba(201, 151, 43, 0.16), transparent 24rem),
    radial-gradient(circle at 80% 8%, rgba(36, 95, 53, 0.16), transparent 22rem),
    linear-gradient(135deg, #fff5dc, #ead0a7 52%, #f7e2bf);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body::before {
  background-image:
    linear-gradient(90deg, rgba(74, 42, 23, 0.05) 0 1px, transparent 1px 34px),
    linear-gradient(0deg, rgba(143, 60, 40, 0.08) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 16px 16px, rgba(36, 95, 53, 0.08) 0 2px, transparent 3px);
  background-size: 34px 34px, 34px 34px, 68px 68px;
}

main {
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.18), rgba(255, 248, 231, 0.72) 12% 88%, rgba(255, 248, 231, 0.18)),
    linear-gradient(135deg, rgba(255, 243, 214, 0.84), rgba(238, 203, 153, 0.32));
  box-shadow:
    0 0 0 1px rgba(143, 60, 40, 0.16),
    0 22px 70px rgba(74, 42, 23, 0.14);
}

.decor-frame {
  border-color: rgba(189, 132, 39, 0.56);
  box-shadow:
    inset 0 0 0 5px rgba(143, 60, 40, 0.13),
    inset 0 0 0 10px rgba(255, 248, 231, 0.08);
}

.site-header {
  margin: 14px clamp(12px, 2vw, 28px) 0;
  padding: 11px 16px 11px 10px;
  border: 1px solid rgba(201, 151, 43, 0.42);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(36, 19, 11, 0.86), rgba(74, 42, 23, 0.78)),
    repeating-linear-gradient(90deg, rgba(255, 248, 231, 0.04) 0 1px, transparent 1px 16px);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(36, 19, 11, 0.18);
  mix-blend-mode: normal;
  backdrop-filter: blur(10px);
}

.brand {
  border-color: rgba(255, 248, 231, 0.74);
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 151, 43, 0.22), transparent 60%),
    rgba(255, 248, 231, 0.08);
}

.brand-heart {
  color: #ffcf8a;
}

nav a {
  color: rgba(255, 248, 231, 0.82);
  transition: color 180ms ease, transform 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: #ffd98a;
  transform: translateY(-1px);
}

.hero {
  min-height: 100svh;
  padding-top: 132px;
  background:
    linear-gradient(90deg, rgba(25, 12, 7, 0.94) 0%, rgba(67, 26, 20, 0.74) 42%, rgba(15, 59, 40, 0.2) 74%),
    radial-gradient(circle at 16% 82%, rgba(201, 151, 43, 0.2), transparent 18rem),
    url("assets/hero-wedding.png") center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(201, 151, 43, 0.44);
  border-radius: 50% 50% 8px 8px / 10% 10% 8px 8px;
  box-shadow:
    inset 0 0 0 5px rgba(255, 248, 231, 0.06),
    inset 0 -100px 120px rgba(36, 19, 11, 0.18);
  pointer-events: none;
}

.hero-copy {
  padding-left: clamp(0px, 2vw, 28px);
}

.eyebrow {
  color: var(--brass);
}

h1 {
  max-width: 900px;
  text-shadow: 0 8px 28px rgba(36, 19, 11, 0.4);
}

.hero-line {
  max-width: 620px;
  color: rgba(255, 248, 231, 0.9);
  line-height: 1.35;
}

.primary-action,
.direction-link,
.admin-actions button {
  border-color: var(--brass);
  background:
    linear-gradient(180deg, rgba(130, 73, 30, 0.95), rgba(74, 42, 23, 0.95));
  box-shadow: 5px 5px 0 rgba(201, 151, 43, 0.76);
}

.hero-date::before {
  background:
    repeating-conic-gradient(from 20deg, rgba(201, 151, 43, 0.54) 0deg 5deg, transparent 5deg 13deg),
    radial-gradient(circle, transparent 43%, rgba(255, 248, 231, 0.2) 44% 47%, transparent 48%);
}

.hero-date::after {
  border-color: rgba(255, 248, 231, 0.82);
  background:
    radial-gradient(circle at 50% 50%, rgba(201, 151, 43, 0.16), transparent 56%),
    rgba(36, 19, 11, 0.66);
}

.story,
.scratch-date,
.venue {
  background:
    radial-gradient(circle at 88% 12%, rgba(36, 95, 53, 0.1), transparent 18rem),
    radial-gradient(circle at 12% 86%, rgba(143, 60, 40, 0.13), transparent 16rem),
    linear-gradient(135deg, #fff7df, #f0d8ad);
}

h2 {
  color: var(--teak-dark);
}

.gallery h2,
.events h2,
.rsvp h2,
.blessings h2 {
  color: inherit;
}

.scratch-card,
.rsvp-form,
.map-shell,
.admin-dialog {
  border-color: rgba(143, 60, 40, 0.64);
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.95), rgba(248, 229, 190, 0.92));
  box-shadow:
    0 0 0 7px rgba(74, 42, 23, 0.06),
    var(--shadow);
}

.scratch-reveal {
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 151, 43, 0.22), transparent 11rem),
    repeating-linear-gradient(90deg, rgba(74, 42, 23, 0.04) 0 1px, transparent 1px 18px),
    var(--coconut);
}

.scratch-reveal strong,
.story-card h3 {
  color: var(--laterite);
}

.story-card {
  padding: clamp(14px, 2vw, 22px);
  border-left: 5px solid rgba(143, 60, 40, 0.42);
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.8), rgba(255, 248, 231, 0.22));
}

.story-card span {
  color: rgba(143, 60, 40, 0.76);
}

.story-photo,
.event-art,
.memory-tile {
  border-color: rgba(255, 248, 231, 0.94);
  box-shadow:
    0 0 0 7px rgba(74, 42, 23, 0.08),
    var(--shadow);
}

.story-photo {
  border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px;
}

.events {
  background:
    radial-gradient(circle at 12% 6%, rgba(36, 95, 53, 0.16), transparent 22rem),
    linear-gradient(180deg, rgba(255, 247, 223, 0.92), rgba(225, 184, 127, 0.38));
}

.event-section {
  min-height: 82vh;
}

.event-section h3 {
  font-size: clamp(3rem, 7.5vw, 8.2rem);
  text-shadow: 0 7px 22px rgba(36, 19, 11, 0.28);
}

.event-section dl {
  max-width: 600px;
  background: rgba(36, 19, 11, 0.08);
  backdrop-filter: blur(2px);
}

.event-section dl div {
  padding-inline: 14px;
}

.mini-event {
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.14), rgba(36, 19, 11, 0.1));
}

.mehndi {
  background:
    radial-gradient(circle at 12% 16%, rgba(201, 151, 43, 0.24), transparent 16rem),
    linear-gradient(135deg, #123d2b, #245f35 48%, #6b782d);
}

.haldi {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 248, 231, 0.22), transparent 15rem),
    linear-gradient(135deg, #d99a1b, #c97818 55%, #245f35);
}

.sangeet {
  background:
    radial-gradient(circle at 84% 16%, rgba(230, 161, 31, 0.28), transparent 16rem),
    linear-gradient(135deg, #1a1012, #8f3424 42%, #d99a1b 58%, #22120b);
}

.wedding {
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 151, 43, 0.28), transparent 15rem),
    radial-gradient(circle at 16% 82%, rgba(255, 248, 231, 0.14), transparent 14rem),
    linear-gradient(135deg, #2b120d, #5a1620 36%, #8f3c28 70%, #24130b);
}

.wedding::before {
  background-image:
    linear-gradient(90deg, transparent 0 34px, rgba(255, 248, 231, 0.12) 34px 36px, transparent 36px 70px),
    radial-gradient(circle at 35px 18px, rgba(201, 151, 43, 0.22) 0 4px, transparent 5px);
  background-size: 70px 70px;
}

.reception {
  background:
    radial-gradient(circle at 12% 22%, rgba(201, 151, 43, 0.18), transparent 16rem),
    radial-gradient(circle at 82% 64%, rgba(77, 133, 168, 0.32), transparent 18rem),
    radial-gradient(circle at 58% 16%, rgba(255, 248, 231, 0.16), transparent 9rem),
    linear-gradient(135deg, #05080e, #10243e 46%, #06131a);
}

.event-art {
  border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px;
}

.haldi .event-art,
.mehndi .event-art {
  border-radius: 8px 50% 8px 50% / 8px 36% 8px 36%;
}

.gallery {
  background:
    radial-gradient(circle at 80% 16%, rgba(230, 161, 31, 0.22), transparent 18rem),
    radial-gradient(circle at 14% 78%, rgba(36, 95, 53, 0.24), transparent 18rem),
    linear-gradient(135deg, #24130b, #5a1620 52%, #0f3b28);
}

.memory-tile {
  border-radius: 50% 50% 8px 8px / 28% 28% 8px 8px;
}

.rsvp {
  background:
    radial-gradient(circle at 16% 22%, rgba(36, 95, 53, 0.14), transparent 18rem),
    linear-gradient(135deg, #f5dfb9, #fff7df 48%, #e4bd83);
}

.rsvp-form {
  border-color: rgba(74, 42, 23, 0.62);
}

label,
fieldset {
  color: var(--teak-dark);
}

input,
select,
textarea {
  border-color: rgba(189, 132, 39, 0.74);
  background: rgba(255, 248, 231, 0.95);
}

fieldset {
  border-color: rgba(36, 95, 53, 0.34);
}

fieldset label {
  background: rgba(36, 95, 53, 0.08);
}

.venue {
  background:
    radial-gradient(circle at 82% 20%, rgba(143, 60, 40, 0.14), transparent 20rem),
    linear-gradient(135deg, #fff7df, #e6c08a);
}

.map-shell {
  border-radius: 50% 50% 8px 8px / 10% 10% 8px 8px;
}

.blessings {
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 151, 43, 0.22), transparent 18rem),
    radial-gradient(circle at 18% 82%, rgba(36, 95, 53, 0.26), transparent 18rem),
    linear-gradient(135deg, #24130b, #5a1620 52%, #0f3b28);
}

.blessing-grid article {
  border-color: rgba(255, 248, 231, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.1), rgba(201, 151, 43, 0.04));
}

.site-footer {
  background:
    linear-gradient(90deg, #24130b, #4a2a17 52%, #24130b);
}

.music-toggle {
  background: rgba(36, 19, 11, 0.66);
}

.music-toggle.is-playing {
  background: rgba(36, 95, 53, 0.92);
}

.mehndi .event-art,
.haldi .event-art,
.sangeet .event-art,
.wedding .event-art,
.reception .event-art {
  background-image:
    linear-gradient(135deg, rgba(255, 248, 231, 0.18), rgba(36, 19, 11, 0.12)),
    url("assets/mangalore-event-textures.png");
  background-size: 200% 200%;
}

.mehndi .event-art {
  background-position: left top;
}

.haldi .event-art {
  background-position: right top;
}

.sangeet .event-art {
  background-position: left top;
  filter: hue-rotate(158deg) saturate(1.28) brightness(0.86);
}

.wedding .event-art {
  background-position: left bottom;
}

.reception .event-art {
  background-position: right bottom;
}

.meal-note {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 248, 231, 0.32);
  border-radius: 8px;
  color: rgba(255, 248, 231, 0.92);
  background:
    linear-gradient(90deg, rgba(36, 95, 53, 0.22), rgba(255, 248, 231, 0.08));
  font-size: clamp(0.95rem, 1.8vw, 1.12rem);
  font-weight: 800;
  line-height: 1.5;
}

.venue-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.venue-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(109, 27, 43, 0.15);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.68);
  box-shadow: 0 18px 46px rgba(36, 11, 24, 0.09);
}

.venue-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--peacock);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.venue-grid h3 {
  margin: 0 0 10px;
  color: var(--deep-maroon);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  line-height: 0.98;
}

.venue-grid p {
  color: rgba(36, 11, 24, 0.74);
  font-weight: 700;
  line-height: 1.45;
}

.venue-grid a {
  color: var(--deep-maroon);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.shreesha-card {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 24px 68px rgba(36, 11, 24, 0.28);
}

.shreesha-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.thank-you-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 560px);
  margin: 0 auto 10px;
  border: 1px solid rgba(225, 180, 90, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(36, 19, 11, 0.18);
  object-fit: cover;
}

.blessings h2 {
  color: var(--white);
}

.blessings .eyebrow {
  color: var(--gold);
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
    padding-top: 110px;
    background:
      linear-gradient(180deg, rgba(255, 246, 240, 0.97) 0%, rgba(255, 246, 240, 0.9) 58%, rgba(255, 246, 240, 0.42)),
      url("assets/temple-bg-crop.jpeg") center bottom / cover no-repeat,
      linear-gradient(135deg, #fff7ef, #fff0f3);
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-date {
    right: 22px;
    bottom: 24px;
    width: 108px;
    height: 108px;
  }

  .event-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .event-section > div:not(.event-art),
  .event-section .event-art {
    grid-column: 1;
  }

  .event-art {
    width: min(100%, 420px);
    min-width: 0;
    justify-self: center;
  }

  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 10px;
    padding: 14px 12px;
  }

  nav {
    gap: 10px;
    font-size: 0.68rem;
  }

  .brand {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding: 94px 20px 176px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.35rem, 12vw, 4.4rem);
  }

  .couple-details p {
    padding-left: 12px;
  }

  .scratch-card {
    height: 210px;
  }

  .scratch-reveal strong {
    font-size: clamp(2rem, 13vw, 3.7rem);
  }

  .event-section {
    padding: 58px 20px;
  }

  .event-section h3 {
    font-size: clamp(3.15rem, 16vw, 5.6rem);
  }

  .event-section dl div {
    grid-template-columns: 76px 1fr;
    gap: 12px;
  }

  .venue-grid,
  .rsvp,
  .rsvp-form,
  fieldset {
    grid-template-columns: 1fr;
  }

  .shreesha-card img {
    aspect-ratio: 4 / 3;
  }
}

/* Final event artwork assignments. Keep this at the end so older theme layers do not override the generated images. */
.haldi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(244, 163, 0, 0.06)),
    url("assets/haldi-celebration.png") center / cover no-repeat;
}

.mehndi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(36, 95, 53, 0.08)),
    url("assets/mehendi-celebration.png") center / cover no-repeat;
}

.sangeet .event-art {
  filter: none;
  background:
    linear-gradient(135deg, rgba(59, 7, 19, 0.1), rgba(225, 180, 90, 0.08)),
    url("assets/sangeet-celebration.png") center / cover no-repeat;
}

.wedding .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.06), rgba(139, 32, 54, 0.08)),
    url("assets/wedding-ceremony-card.png") center / cover no-repeat;
}

.reception .event-art {
  background:
    linear-gradient(135deg, rgba(10, 23, 49, 0.16), rgba(225, 180, 90, 0.08)),
    url("assets/reception-celebration.png") center / cover no-repeat;
}

/* Refined invitation typography */
.gate-copy h2,
.gate-transition-label,
h1,
h2,
.event-section h3,
.scratch-reveal strong,
.story-card h3,
.venue-grid h3,
.admin-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.gate-copy p,
.gate-copy span,
.eyebrow,
nav,
.primary-action,
.date-reveal-link,
.direction-link,
dt,
label,
fieldset,
.ritual-list li,
.meal-note,
.venue-grid span,
.venue-grid a,
.blessing-grid span,
.admin-actions button,
.admin-table th,
.site-footer p {
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0;
}

.gate-copy p,
.gate-copy span,
.eyebrow,
nav,
.date-reveal-link,
.direction-link,
dt,
label,
fieldset,
.ritual-list li,
.venue-grid span,
.venue-grid a,
.blessing-grid span,
.admin-actions button,
.admin-table th {
  text-transform: uppercase;
}

.gate-copy p,
.gate-copy span {
  color: var(--gold-text);
  font-size: clamp(0.72rem, 1.7vw, 0.86rem);
}

.gate-copy h2 {
  color: var(--ivory-text);
  font-size: clamp(2.75rem, 8vw, 7rem);
  line-height: 0.92;
}

.gate-transition-label {
  color: var(--ivory-text);
  font-size: clamp(1.7rem, 5.6vw, 3.35rem);
  line-height: 0.95;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 700;
}

nav {
  color: rgba(255, 249, 234, 0.9);
  font-size: clamp(0.72rem, 1vw, 0.84rem);
}

nav a {
  font-weight: 800;
}

.eyebrow {
  color: var(--brass);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
}

h1 {
  max-width: 900px;
  color: var(--ivory-text);
  font-size: clamp(4.4rem, 11vw, 10.8rem);
  line-height: 0.82;
  text-shadow:
    0 2px 0 rgba(201, 151, 43, 0.24),
    0 14px 34px rgba(36, 19, 11, 0.48);
}

.amp {
  color: var(--gold-text);
  font-family: var(--font-display);
  font-size: 0.5em;
  font-weight: 700;
}

.hero-line {
  color: rgba(255, 249, 234, 0.92);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.9vw, 1.42rem);
  font-weight: 600;
  line-height: 1.6;
}

.primary-action,
.direction-link,
.date-reveal-link,
.admin-actions button {
  font-size: 0.86rem;
}

h2 {
  color: var(--teak-dark);
  font-size: clamp(2.85rem, 5.8vw, 6.4rem);
  line-height: 0.9;
}

.section-heading p:not(.eyebrow),
.rsvp-copy p:not(.eyebrow),
.venue .section-heading p:not(.eyebrow) {
  color: var(--text-soft);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.7;
}

.scratch-reveal span,
.scratch-reveal em {
  color: var(--mangalore-green);
  font-family: var(--font-label);
  font-weight: 700;
  letter-spacing: 0;
}

.scratch-reveal strong {
  color: var(--laterite);
  font-size: clamp(2.25rem, 5.8vw, 4.9rem);
}

.story-card h3 {
  color: var(--laterite);
  font-size: clamp(2.1rem, 3vw, 3.45rem);
  line-height: 0.95;
}

.story-card p {
  color: rgba(42, 23, 16, 0.7);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.72;
}

.story-card span {
  font-family: var(--font-display);
  font-weight: 700;
}

.events > .section-heading .eyebrow {
  color: var(--laterite);
}

.events h2 {
  color: var(--teak-dark);
}

.event-section .eyebrow {
  color: rgba(255, 249, 234, 0.82);
}

.event-section h3 {
  color: var(--ivory-text);
  font-size: clamp(3.5rem, 7.2vw, 8rem);
  line-height: 0.86;
  text-shadow:
    0 2px 0 rgba(201, 151, 43, 0.18),
    0 12px 30px rgba(36, 19, 11, 0.36);
}

dt {
  color: rgba(255, 249, 234, 0.7);
  font-size: 0.74rem;
}

dd,
.mini-event h4,
.ritual-list li,
.meal-note {
  color: var(--ivory-text);
}

dd {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  font-weight: 600;
  line-height: 1.45;
}

.mini-event h4 {
  font-family: var(--font-label);
  font-size: clamp(0.95rem, 1.45vw, 1.12rem);
  font-weight: 800;
  letter-spacing: 0;
}

.meal-note {
  font-family: var(--font-body);
  font-weight: 600;
}

.rsvp h2,
.venue h2 {
  color: var(--teak-dark);
}

.rsvp-copy p:not(.eyebrow) {
  color: rgba(42, 23, 16, 0.76);
  font-size: clamp(1rem, 1.65vw, 1.24rem);
}

label,
fieldset {
  color: var(--teak-dark);
  font-size: 0.78rem;
}

input,
select,
textarea {
  color: var(--text-deep);
  font-family: var(--font-body);
  font-weight: 600;
}

input::placeholder,
textarea::placeholder {
  color: rgba(42, 23, 16, 0.48);
}

.form-status {
  color: var(--mangalore-green);
  font-family: var(--font-body);
  font-weight: 700;
}

.venue-grid h3 {
  color: var(--teak-dark);
  font-size: clamp(1.65rem, 2.45vw, 2.35rem);
  line-height: 0.98;
}

.venue-grid p {
  color: rgba(42, 23, 16, 0.68);
  font-weight: 500;
  line-height: 1.55;
}

.blessings h2 {
  color: var(--ivory-text);
}

.blessing-grid p {
  color: rgba(255, 249, 234, 0.94);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.12;
}

.admin-head h2 {
  color: var(--laterite);
}

.admin-summary,
.admin-table,
.empty-row {
  font-family: var(--font-body);
}

.site-footer p {
  color: rgba(255, 249, 234, 0.78);
  font-size: clamp(0.72rem, 1.45vw, 0.86rem);
}

/* Integrated roots-inspired details */
.gate-copy::before,
.gate-copy::after {
  position: absolute;
  top: -22px;
  left: 50%;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.gate-copy::before {
  background: #d99a1b;
  box-shadow:
    -18px 0 0 #a92120,
    18px 0 0 rgba(255, 249, 234, 0.92),
    0 18px 22px rgba(225, 180, 90, 0.28);
}

.gate-copy::after {
  top: -34px;
  width: min(120px, 34vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 249, 234, 0.52), transparent);
}

.hero-copy::after {
  position: absolute;
  left: clamp(4px, 2vw, 28px);
  bottom: -28px;
  width: min(260px, 42vw);
  height: 20px;
  content: "";
  background:
    radial-gradient(ellipse at 4% 52%, rgba(255, 249, 234, 0.74) 0 3px, transparent 4px),
    radial-gradient(ellipse at 15% 48%, rgba(255, 236, 186, 0.7) 0 3px, transparent 4px),
    radial-gradient(ellipse at 27% 54%, rgba(255, 249, 234, 0.58) 0 2px, transparent 3px),
    radial-gradient(ellipse at 43% 48%, rgba(255, 236, 186, 0.56) 0 2px, transparent 3px),
    radial-gradient(ellipse at 60% 56%, rgba(255, 249, 234, 0.48) 0 2px, transparent 3px),
    radial-gradient(ellipse at 78% 48%, rgba(255, 236, 186, 0.42) 0 2px, transparent 3px);
  opacity: 0.72;
  pointer-events: none;
}

.hero-date::after {
  box-shadow:
    inset 0 0 0 1px rgba(225, 180, 90, 0.18),
    0 0 42px rgba(225, 180, 90, 0.2);
}

.scratch-card {
  background:
    radial-gradient(circle at 88% 16%, rgba(169, 33, 32, 0.12), transparent 7rem),
    radial-gradient(circle at 14% 86%, rgba(217, 154, 27, 0.18), transparent 8rem),
    rgba(255, 248, 231, 0.95);
}

.scratch-reveal::before {
  position: absolute;
  content: "";
  pointer-events: none;
}

.scratch-reveal::before {
  inset: 14px;
  border: 1px solid rgba(189, 132, 39, 0.28);
  border-radius: 5px;
}

.scratch-reveal span,
.scratch-reveal strong,
.scratch-reveal em {
  position: relative;
  z-index: 1;
}

.story-card {
  position: relative;
  overflow: hidden;
}

.story-card::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 76px;
  height: 28px;
  content: "";
  border-radius: 999px 999px 999px 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 249, 234, 0.24) 49% 51%, transparent 52%),
    linear-gradient(135deg, rgba(36, 95, 53, 0.28), rgba(15, 59, 40, 0.12));
  opacity: 0.55;
  transform: rotate(-12deg);
  pointer-events: none;
}

.event-section::after {
  position: absolute;
  right: clamp(16px, 5vw, 64px);
  bottom: clamp(16px, 4vw, 48px);
  z-index: 0;
  width: clamp(96px, 14vw, 168px);
  height: clamp(38px, 5vw, 62px);
  content: "";
  border-radius: 999px 999px 999px 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 249, 234, 0.16) 49% 51%, transparent 52%),
    linear-gradient(135deg, rgba(255, 249, 234, 0.12), rgba(36, 95, 53, 0.12));
  opacity: 0.42;
  transform: rotate(-10deg);
  pointer-events: none;
}

.haldi::after {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 249, 234, 0.18) 49% 51%, transparent 52%),
    linear-gradient(135deg, rgba(255, 249, 234, 0.18), rgba(36, 95, 53, 0.12));
}

.wedding::after {
  right: auto;
  left: clamp(16px, 5vw, 64px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 209, 112, 0.28), transparent 20%),
    radial-gradient(ellipse at 50% 78%, rgba(225, 180, 90, 0.22), transparent 36%),
    linear-gradient(180deg, transparent 0 48%, rgba(255, 249, 234, 0.16) 49% 52%, transparent 53%);
  filter: blur(0.2px);
  animation: sacred-glow 3.8s ease-in-out infinite;
}

.reception::after {
  opacity: 0.24;
}

.rsvp-form::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 56px;
  height: 56px;
  content: "";
  border-radius: 50% 50% 8px 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 249, 234, 0.28) 49% 51%, transparent 52%),
    linear-gradient(135deg, rgba(36, 95, 53, 0.26), rgba(36, 95, 53, 0.08));
  opacity: 0.58;
  pointer-events: none;
}

.venue-grid article {
  position: relative;
  overflow: hidden;
}

.venue-grid article::before {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 20px;
  content: "";
  border-radius: 999px 999px 999px 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 249, 234, 0.42) 49% 51%, transparent 52%),
    linear-gradient(135deg, rgba(36, 95, 53, 0.18), rgba(189, 132, 39, 0.1));
  opacity: 0.62;
  transform: rotate(-14deg);
}

/* Stronger roots experience pass */
body {
  background:
    radial-gradient(circle at 18% 4%, rgba(225, 180, 90, 0.18), transparent 24rem),
    radial-gradient(circle at 88% 12%, rgba(15, 59, 40, 0.2), transparent 26rem),
    linear-gradient(135deg, #f8e8c3, #c59a63 52%, #f2d8a8);
}

body::before {
  background-image:
    linear-gradient(90deg, rgba(74, 42, 23, 0.08) 0 1px, transparent 1px 28px),
    linear-gradient(0deg, rgba(255, 249, 234, 0.14) 0 1px, transparent 1px 42px),
    radial-gradient(circle at 14px 14px, rgba(15, 59, 40, 0.12) 0 2px, transparent 3px);
  background-size: 28px 28px, 42px 42px, 84px 84px;
}

.invite-gate {
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 194, 77, 0.24), transparent 13rem),
    radial-gradient(circle at 50% 78%, rgba(169, 33, 32, 0.18), transparent 16rem),
    linear-gradient(135deg, #1b0c07, #4a1e12 46%, #0e3422);
}

.invite-gate::before {
  border-color: rgba(225, 180, 90, 0.72);
  background:
    radial-gradient(circle at 50% 14%, rgba(255, 249, 234, 0.08), transparent 12rem),
    linear-gradient(90deg, transparent 0 48%, rgba(255, 249, 234, 0.06) 49% 51%, transparent 52%);
}

.leaf-wrap::before,
.leaf-wrap::after {
  position: absolute;
  z-index: 3;
  content: "";
  pointer-events: none;
}

.leaf-wrap::before {
  top: clamp(30px, 6vh, 70px);
  left: 50%;
  width: min(360px, 76vw);
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 15% 52%, rgba(255, 249, 234, 0.78) 0 4px, transparent 5px),
    radial-gradient(ellipse at 28% 46%, rgba(255, 237, 195, 0.7) 0 3px, transparent 4px),
    radial-gradient(ellipse at 42% 58%, rgba(255, 249, 234, 0.68) 0 4px, transparent 5px),
    radial-gradient(ellipse at 57% 44%, rgba(255, 237, 195, 0.7) 0 3px, transparent 4px),
    radial-gradient(ellipse at 72% 56%, rgba(255, 249, 234, 0.68) 0 4px, transparent 5px),
    radial-gradient(ellipse at 85% 48%, rgba(255, 237, 195, 0.66) 0 3px, transparent 4px);
  opacity: 0.7;
  transform: translateX(-50%);
  transition: opacity 260ms ease;
}

.invite-gate.opening .leaf-wrap::before {
  opacity: 0;
}

.leaf-wrap::after {
  right: clamp(28px, 8vw, 120px);
  bottom: clamp(28px, 8vh, 90px);
  width: clamp(150px, 24vw, 310px);
  height: clamp(56px, 9vw, 112px);
  border-radius: 999px 999px 999px 0;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 249, 234, 0.2) 50%, transparent 51%),
    linear-gradient(135deg, rgba(36, 95, 53, 0.3), rgba(15, 59, 40, 0.08));
  opacity: 0.46;
  transform: rotate(-9deg);
}

.hero {
  background:
    linear-gradient(90deg, rgba(24, 10, 6, 0.96) 0%, rgba(69, 26, 17, 0.82) 38%, rgba(15, 59, 40, 0.24) 70%),
    radial-gradient(circle at 18% 74%, rgba(225, 180, 90, 0.26), transparent 18rem),
    radial-gradient(circle at 82% 24%, rgba(255, 249, 234, 0.12), transparent 18rem),
    url("assets/hero-wedding.png") center / cover no-repeat;
}

.hero::before {
  border-color: rgba(225, 180, 90, 0.54);
  background:
    linear-gradient(90deg, rgba(255, 249, 234, 0.04), transparent 18% 82%, rgba(255, 249, 234, 0.04)),
    radial-gradient(circle at 18% 88%, rgba(225, 180, 90, 0.12), transparent 16rem);
}

h1 {
  color: #fff8e4;
  text-shadow:
    0 2px 0 rgba(189, 132, 39, 0.42),
    0 14px 38px rgba(36, 19, 11, 0.6);
}

.hero-line {
  color: rgba(255, 249, 234, 0.94);
}

.primary-action {
  border-color: rgba(225, 180, 90, 0.92);
  background:
    linear-gradient(180deg, #7b2a1b, #4a1f13);
  box-shadow:
    5px 5px 0 rgba(201, 151, 43, 0.74),
    0 16px 36px rgba(36, 19, 11, 0.28);
}

.scratch-date {
  background:
    radial-gradient(circle at 84% 18%, rgba(169, 33, 32, 0.11), transparent 18rem),
    radial-gradient(circle at 14% 78%, rgba(36, 95, 53, 0.14), transparent 18rem),
    repeating-linear-gradient(90deg, rgba(74, 42, 23, 0.035) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #fff7df, #e9c389);
}

.scratch-card {
  border-width: 2px;
  border-color: rgba(143, 60, 40, 0.58);
  background:
    radial-gradient(circle at 88% 16%, rgba(169, 33, 32, 0.14), transparent 7rem),
    radial-gradient(circle at 14% 86%, rgba(217, 154, 27, 0.2), transparent 8rem),
    repeating-linear-gradient(90deg, rgba(74, 42, 23, 0.04) 0 1px, transparent 1px 18px),
    rgba(255, 248, 231, 0.97);
  box-shadow:
    0 0 0 9px rgba(74, 42, 23, 0.06),
    0 24px 58px rgba(74, 42, 23, 0.22);
}

.story {
  background:
    radial-gradient(circle at 92% 12%, rgba(36, 95, 53, 0.12), transparent 18rem),
    radial-gradient(circle at 8% 86%, rgba(143, 60, 40, 0.16), transparent 17rem),
    linear-gradient(135deg, #f8e7bf, #fff8e4 44%, #ddb276);
}

.story-card {
  border-left-color: rgba(36, 95, 53, 0.5);
  background:
    radial-gradient(circle at 92% 18%, rgba(36, 95, 53, 0.12), transparent 7rem),
    linear-gradient(135deg, rgba(255, 249, 234, 0.94), rgba(236, 199, 140, 0.44));
  box-shadow: 0 18px 42px rgba(74, 42, 23, 0.12);
}

.events {
  background:
    radial-gradient(circle at 12% 4%, rgba(36, 95, 53, 0.18), transparent 22rem),
    radial-gradient(circle at 86% 8%, rgba(189, 132, 39, 0.18), transparent 19rem),
    linear-gradient(180deg, #f8e8c4, #d2a369 46%, #f4dfb8);
}

.events > .section-heading {
  padding-bottom: 12px;
}

.event-section {
  margin-inline: clamp(14px, 3vw, 42px);
  border: 1px solid rgba(255, 249, 234, 0.18);
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 249, 234, 0.08),
    0 28px 64px rgba(74, 42, 23, 0.18);
}

.event-section::before {
  opacity: 0.52;
}

.mehndi {
  background:
    radial-gradient(circle at 88% 18%, rgba(225, 180, 90, 0.18), transparent 16rem),
    repeating-linear-gradient(135deg, rgba(255, 249, 234, 0.05) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #103622, #245f35 52%, #6b782d);
}

.haldi {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 249, 234, 0.3), transparent 15rem),
    radial-gradient(circle at 16% 76%, rgba(169, 33, 32, 0.18), transparent 15rem),
    repeating-linear-gradient(90deg, rgba(255, 249, 234, 0.06) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #dfa51f, #c97717 52%, #245f35);
}

.sangeet {
  background:
    radial-gradient(circle at 82% 18%, rgba(230, 161, 31, 0.3), transparent 16rem),
    radial-gradient(circle at 18% 78%, rgba(169, 33, 32, 0.18), transparent 16rem),
    linear-gradient(135deg, #180f0b, #6f2c1f 42%, #c78b24 64%, #1f120b);
}

.wedding {
  background:
    radial-gradient(circle at 82% 16%, rgba(225, 180, 90, 0.34), transparent 17rem),
    radial-gradient(circle at 18% 82%, rgba(255, 249, 234, 0.16), transparent 14rem),
    repeating-linear-gradient(90deg, rgba(255, 249, 234, 0.045) 0 1px, transparent 1px 30px),
    linear-gradient(135deg, #23100b, #5a1620 37%, #8f3c28 70%, #24130b);
}

.reception {
  background:
    radial-gradient(circle at 16% 22%, rgba(225, 180, 90, 0.2), transparent 16rem),
    radial-gradient(circle at 82% 64%, rgba(77, 133, 168, 0.36), transparent 18rem),
    radial-gradient(circle at 58% 16%, rgba(255, 249, 234, 0.18), transparent 9rem),
    linear-gradient(135deg, #03070d, #10243e 44%, #06131a);
}

.rsvp {
  background:
    radial-gradient(circle at 84% 18%, rgba(36, 95, 53, 0.14), transparent 18rem),
    radial-gradient(circle at 16% 82%, rgba(143, 60, 40, 0.16), transparent 16rem),
    repeating-linear-gradient(90deg, rgba(74, 42, 23, 0.035) 0 1px, transparent 1px 22px),
    linear-gradient(135deg, #eac48e, #fff8e4 46%, #e0b274);
}

.rsvp-form {
  border-width: 2px;
  border-color: rgba(143, 60, 40, 0.56);
  background:
    radial-gradient(circle at 88% 12%, rgba(36, 95, 53, 0.1), transparent 8rem),
    linear-gradient(135deg, rgba(255, 249, 234, 0.96), rgba(246, 224, 184, 0.94));
  box-shadow:
    0 0 0 8px rgba(74, 42, 23, 0.05),
    0 24px 58px rgba(74, 42, 23, 0.22);
}

input,
select,
textarea {
  border-width: 2px;
  background: rgba(255, 249, 234, 0.96);
}

.venue {
  background:
    radial-gradient(circle at 82% 16%, rgba(143, 60, 40, 0.12), transparent 20rem),
    radial-gradient(circle at 16% 78%, rgba(36, 95, 53, 0.14), transparent 18rem),
    linear-gradient(135deg, #fff8e4, #d9ae75);
}

.venue-grid article {
  border-color: rgba(74, 42, 23, 0.16);
  background:
    radial-gradient(circle at 90% 12%, rgba(36, 95, 53, 0.12), transparent 7rem),
    linear-gradient(135deg, rgba(255, 249, 234, 0.96), rgba(235, 196, 134, 0.68));
}

.map-shell {
  border-width: 2px;
  border-color: rgba(143, 60, 40, 0.58);
}

.blessings {
  background:
    radial-gradient(circle at 74% 20%, rgba(225, 180, 90, 0.28), transparent 18rem),
    radial-gradient(circle at 18% 82%, rgba(36, 95, 53, 0.3), transparent 18rem),
    linear-gradient(135deg, #1f100a, #5a1620 48%, #0f3b28);
}

.thank-you-note {
  grid-template-columns: 1fr;
  gap: 16px;
  justify-items: start;
  align-items: center;
  max-width: 920px;
  text-align: center;
}

.thank-you-note .eyebrow {
  justify-self: center;
}

.thank-you-note strong {
  margin-top: 4px;
}

.admin-summary {
  display: grid;
  gap: 6px;
}

.admin-summary strong,
.admin-summary span {
  display: block;
}

@media (min-width: 1441px) {
  .site-header {
    margin-inline: 0;
  }
}

@media (max-width: 820px) {
  .decor-frame {
    inset: 9px;
  }

  .gate-copy {
    bottom: clamp(34px, 8vh, 72px);
  }

  .gate-copy h2 {
    font-size: clamp(2.35rem, 13vw, 4.5rem);
  }

  .site-header {
    position: fixed;
    align-items: center;
    transform: none;
    width: auto;
    color: var(--white);
    border-bottom: 0;
    mix-blend-mode: normal;
    backdrop-filter: blur(10px);
  }

  nav {
    flex: 1;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: none;
    gap: clamp(4px, 1.5vw, 8px);
    overflow: hidden;
    font-size: clamp(0.58rem, 2.35vw, 0.72rem);
    line-height: 1;
  }

  nav a {
    min-width: 0;
  }

  .brand {
    width: 46px;
    height: 46px;
  }

  .hero {
    align-items: end;
    min-height: 92vh;
    padding: 104px 22px 156px;
    background:
      linear-gradient(0deg, rgba(25, 6, 13, 0.94) 0%, rgba(47, 9, 20, 0.72) 54%, rgba(47, 9, 20, 0.18) 100%),
      url("assets/mobile-hero-wedding.png") center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-line {
    max-width: 300px;
    font-size: 1.15rem;
  }

  .primary-action {
    min-height: 48px;
  }

  .hero-date {
    right: 42px;
    bottom: 62px;
    width: 104px;
    height: 104px;
  }

  .hero-date span:first-child {
    font-size: 0.92rem;
  }

  .hero-date span:last-child {
    font-size: 0.55rem;
  }

  .date-reveal-link {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.62rem;
  }

  .hero-date::before {
    width: 188px;
  }

  .story-card,
  .story-card.reverse {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story-card.reverse .story-photo,
  .story-card.reverse h3,
  .story-card.reverse p {
    grid-column: auto;
  }

  .story-photo {
    min-height: 240px;
  }

  .scratch-card {
    height: 188px;
  }

  .scratch-reveal strong {
    max-width: 300px;
    margin: 0 auto;
  }

  .event-section,
  .rsvp {
    grid-template-columns: 1fr;
  }

  .event-section > div:not(.event-art),
  .event-section .event-art {
    grid-column: 1;
  }

  .event-section {
    min-height: auto;
    padding: 56px 22px;
    width: auto;
    max-width: calc(100vw - 20px);
  }

  .event-section h3 {
    font-size: clamp(3rem, 17vw, 4.8rem);
    line-height: 0.9;
  }

  .reception h3 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .event-art {
    justify-self: center;
    width: min(74vw, 300px);
    min-width: 0;
    min-height: 0;
  }

  .event-section dl div {
    grid-template-columns: 82px 1fr;
    gap: 12px;
  }

  .split-events {
    grid-template-columns: 1fr;
  }

  .mini-event {
    padding: 14px;
  }

  .mini-event dl div {
    grid-template-columns: 68px 1fr;
  }

  .ritual-list {
    gap: 8px;
  }

  .ritual-list li {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .rsvp-form {
    grid-template-columns: 1fr;
  }

  fieldset {
    grid-template-columns: 1fr;
  }

  .map-shell {
    height: 300px;
  }

  .blessing-grid {
    grid-template-columns: 1fr;
  }

  .marquee-row {
    width: calc(100% + 52px);
    margin-inline: -26px;
  }

  .site-footer {
    padding: 24px 18px;
  }

  .site-header {
    left: 10px;
    right: 10px;
    margin: 8px 0 0;
    padding: 9px 11px 9px 8px;
    border-radius: 24px;
    gap: 9px;
  }

  nav {
    max-width: none;
    gap: clamp(4px, 1.4vw, 8px);
  }

  .hero {
    min-height: 94svh;
    padding: 108px 22px 148px;
    background:
      linear-gradient(0deg, rgba(31, 14, 8, 0.96) 0%, rgba(69, 26, 19, 0.8) 48%, rgba(15, 59, 40, 0.24) 100%),
      url("assets/mobile-hero-wedding.png") center / cover no-repeat;
  }

  .hero::before {
    inset: 14px;
    border-radius: 50% 50% 8px 8px / 6% 6% 8px 8px;
  }

  .hero-line {
    max-width: 330px;
    line-height: 1.42;
  }

  .story,
  .gallery,
  .rsvp,
  .scratch-date,
  .venue,
  .blessings {
    padding: 72px 22px;
  }

  .section-heading,
  .gallery-heading,
  .rsvp-copy {
    width: 100%;
    max-width: 100%;
  }

  h2 {
    font-size: clamp(2rem, 11.5vw, 3.65rem);
    line-height: 0.95;
    overflow-wrap: anywhere;
  }

  .events > .section-heading {
    padding: 0 22px;
  }

  .events h2 {
    font-size: clamp(1.95rem, 10.5vw, 3.45rem);
  }

  .story-card {
    border-left-width: 3px;
    padding: 16px;
  }

  .event-section {
    margin: 0 10px 22px;
    padding: 54px 18px;
    border-radius: 8px;
  }

  .event-section::after {
    right: 14px;
    bottom: 14px;
    width: 82px;
    opacity: 0.32;
  }

  .event-section h3 {
    font-size: clamp(2.35rem, 12.5vw, 3.9rem);
    max-width: 100%;
  }

  .event-art {
    width: min(78vw, 290px);
    border-width: 4px;
  }

  .haldi .event-art,
  .mehndi .event-art,
  .wedding .event-art,
  .memory-tile {
    border-radius: 50% 50% 8px 8px / 28% 28% 8px 8px;
  }

  .rsvp-form,
  .map-shell {
    box-shadow:
      0 0 0 5px rgba(74, 42, 23, 0.06),
      0 18px 42px rgba(37, 21, 14, 0.2);
  }

  .meal-note {
    padding: 12px 13px;
    font-size: 0.9rem;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }

  .venue-grid article {
    min-height: auto;
    padding: 18px;
  }

  .venue {
    padding-bottom: 58px;
  }

  .map-shell {
    height: min(62vh, 260px);
    margin-top: 20px;
  }

  .music-toggle {
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
  }

  .thank-you-note {
    justify-items: center;
    text-align: center;
  }

  .thank-you-mark {
    width: min(100%, 460px);
  }
}

@media (max-width: 390px) {
  .site-header {
    left: 6px;
    right: 6px;
    margin: 7px 0 0;
    padding: 8px 8px 8px 7px;
    gap: 7px;
  }

  .brand {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    font-size: 0.72rem;
  }

  nav {
    font-size: clamp(0.52rem, 2.55vw, 0.62rem);
  }

  .hero {
    padding-inline: 18px;
  }

  .story,
  .gallery,
  .rsvp,
  .scratch-date,
  .venue,
  .blessings {
    padding-inline: 18px;
  }

  .event-section {
    max-width: calc(100vw - 12px);
    margin-inline: 6px;
    padding-inline: 14px;
  }

  .event-section dl div,
  .mini-event dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petal-layer {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* Client content refinement pass */
.hero {
  display: block;
  min-height: 100svh;
  padding: 0;
  color: var(--text-deep);
  background:
    linear-gradient(90deg, rgba(255, 246, 240, 0.82) 0%, rgba(255, 246, 240, 0.58) 38%, rgba(255, 246, 240, 0.08) 62%),
    url("assets/watercolor-temple-ceremony.png") center bottom / cover no-repeat,
    linear-gradient(135deg, #fff7ef, #fff0f3);
}

.hero::after {
  display: none;
}

.hero::before {
  border-color: rgba(157, 45, 63, 0.18);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14), transparent 24% 82%, rgba(255, 255, 255, 0.03));
}

.hero .eyebrow {
  color: #456b35;
}

.hero-copy {
  position: absolute;
  top: clamp(116px, 13vh, 168px);
  left: clamp(64px, 9vw, 152px);
  z-index: 2;
  width: min(38vw, 590px);
  max-width: 590px;
}

.hero h1 {
  color: #9d2d3f;
  max-width: 560px;
  font-family: var(--font-display);
  font-size: clamp(4rem, 7.2vw, 7.8rem);
  line-height: 0.86;
  margin-bottom: clamp(16px, 2.2vw, 28px);
  text-shadow: none;
}

.hero .amp {
  color: #456b35;
  font-size: 0.38em;
}

.hero-line {
  max-width: 520px;
  color: rgba(80, 37, 44, 0.9);
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.55vw, 1.36rem);
  font-weight: 700;
  line-height: 1.42;
}

.couple-details {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 18px 0 4px;
}

.couple-details p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid rgba(201, 151, 43, 0.72);
}

.couple-details strong {
  color: #7d1f33;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
}

.couple-details span {
  color: rgba(50, 65, 41, 0.86);
  font-size: clamp(0.86rem, 1.02vw, 1rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero .primary-action {
  color: var(--white);
  background: linear-gradient(180deg, #7d1f33, #5a1620);
}

.scratch-reveal em {
  max-width: 90%;
  margin: 0 auto;
  line-height: 1.35;
}

.events {
  padding-top: clamp(68px, 8vw, 108px);
}

.events > .section-heading h2 {
  color: var(--teak-dark);
}

.event-section h3 {
  text-transform: none;
}

.event-description,
.meal-note {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: -4px 0 22px;
  color: rgba(255, 249, 234, 0.92);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2.2vw, 1.72rem);
  font-weight: 700;
  line-height: 1.36;
}

.meal-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 248, 231, 0.32);
  border-left: 4px solid rgba(225, 180, 90, 0.82);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(36, 95, 53, 0.2), rgba(255, 248, 231, 0.08));
  font-family: var(--font-body);
  font-size: clamp(0.98rem, 1.7vw, 1.16rem);
  font-weight: 700;
}

.haldi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.12), rgba(244, 163, 0, 0.08)),
    url("assets/haldi-celebration.png") center / cover no-repeat;
}

.mehndi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.1), rgba(36, 95, 53, 0.12)),
    url("assets/mehendi-celebration.png") center / cover no-repeat;
}

.sangeet .event-art {
  background:
    linear-gradient(135deg, rgba(59, 7, 19, 0.16), rgba(225, 180, 90, 0.12)),
    url("assets/sangeet-celebration.png") center / cover no-repeat;
}

.wedding .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(139, 32, 54, 0.1)),
    url("assets/wedding-ceremony-card.png") center / cover no-repeat;
}

.reception .event-art {
  background:
    linear-gradient(135deg, rgba(10, 23, 49, 0.22), rgba(225, 180, 90, 0.12)),
    url("assets/reception-celebration.png") center / cover no-repeat;
}

.wedding {
  background:
    linear-gradient(90deg, rgba(59, 7, 19, 0.94), rgba(109, 27, 43, 0.8) 46%, rgba(109, 27, 43, 0.28)),
    linear-gradient(135deg, #23100b, #5a1620 37%, #8f3c28 70%, #24130b);
}

.wedding::after {
  display: none;
}

.venue-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.blessing-grid {
  display: none;
}

.shreesha-card {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.08);
  box-shadow: 0 24px 68px rgba(36, 11, 24, 0.28);
}

.shreesha-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
    padding: 0;
    background:
      linear-gradient(180deg, rgba(255, 246, 240, 0.9) 0%, rgba(255, 246, 240, 0.68) 34%, rgba(255, 246, 240, 0.06) 58%),
      url("assets/watercolor-temple-ceremony.png") center bottom / auto 100% no-repeat,
      linear-gradient(135deg, #fff7ef, #fff0f3);
  }

  .hero-copy {
    top: 96px;
    left: 50%;
    width: min(86vw, 610px);
    max-width: 610px;
    text-align: center;
    transform: translateX(-50%);
  }

  .hero-line {
    max-width: 560px;
    margin-inline: auto;
    color: rgba(80, 37, 44, 0.92);
  }

  .couple-details {
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }

  .event-section {
    grid-template-columns: 1fr;
  }

  .event-section > div:not(.event-art),
  .event-section .event-art {
    grid-column: 1;
  }

  .venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: 100svh;
    padding: 0;
    background:
      linear-gradient(180deg, rgba(255, 246, 240, 0.96) 0%, rgba(255, 246, 240, 0.78) 32%, rgba(255, 246, 240, 0.08) 55%),
      url("assets/watercolor-temple-ceremony.png") center calc(100% + 36px) / auto 92% no-repeat,
      linear-gradient(135deg, #fff7ef, #fff0f3);
  }

  .hero-copy {
    top: 96px;
    width: min(88vw, 370px);
  }

  .hero h1 {
    font-size: clamp(2.15rem, 10.2vw, 3.45rem);
    line-height: 0.84;
    margin-bottom: 9px;
  }

  .hero-line {
    max-width: 100%;
    font-size: clamp(0.72rem, 3vw, 0.86rem);
    line-height: 1.22;
  }

  .couple-details {
    gap: 5px;
    margin-top: 8px;
  }

  .couple-details p {
    padding-left: 12px;
  }

  .couple-details strong {
    font-size: clamp(0.98rem, 4.2vw, 1.28rem);
  }

  .couple-details span {
    font-size: clamp(0.58rem, 2.55vw, 0.7rem);
    line-height: 1.14;
  }

  .hero .primary-action {
    min-height: 34px;
    margin-top: 7px;
    padding: 0 12px;
    font-size: 0.56rem;
    box-shadow: 3px 3px 0 rgba(201, 151, 43, 0.74);
  }

  .event-description,
  .meal-note {
    font-size: 1.08rem;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .shreesha-card img {
    aspect-ratio: 4 / 3;
  }
}

/* Final active overrides: keep at EOF so repeated legacy blocks cannot override these. */
.blessings {
  display: grid;
  place-items: center;
  padding-inline: clamp(20px, 5vw, 80px);
}

.blessings .thank-you-note {
  width: min(100%, 980px);
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.blessings .thank-you-mark {
  justify-self: center;
  width: min(100%, 760px);
  margin-inline: auto;
}

.blessings .thank-you-note h3,
.blessings .thank-you-note p,
.blessings .thank-you-note strong {
  justify-self: center;
  text-align: center;
}

.blessings .thank-you-note h3 {
  max-width: 820px;
}

@media (max-width: 820px) {
  .site-header {
    justify-content: space-between;
  }

  .brand {
    flex: 0 0 auto;
  }

  nav {
    flex: 0 1 auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: clamp(18px, 6vw, 38px);
    overflow: visible;
  }
}

@media (max-width: 390px) {
  nav {
    gap: clamp(12px, 4.2vw, 18px);
    font-size: clamp(0.5rem, 2.45vw, 0.6rem);
  }
}


/* === Requested content-flow and readability adjustments === */
/* Keep Advait's existing hero artwork and background declarations untouched. */
.hero .hero-copy {
  text-align: center;
}
.hero .hero-title-accessible {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hero .hero-line {
  max-width: 610px;
  margin-left: auto;
  margin-right: auto;
}
.hero .couple-details {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.hero .couple-details p {
  padding-left: 0;
  border-left: 0;
}
.hero .couple-details .couple-connector {
  display: block;
  margin: 0;
  color: #9d2d3f;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-style: italic;
  line-height: 1.1;
}
.hero .primary-action {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 24px auto 0;
}

/* Keep the moving event words and falling petals behind readable event copy. */
.event-section > div:not(.event-art) {
  position: relative;
  z-index: 26;
}
.event-section .background-word {
  z-index: 0;
  color: rgba(255, 250, 241, 0.075);
  pointer-events: none;
}
.event-section h3,
.event-section .eyebrow,
.event-section .event-description,
.event-section dl,
.event-section .direction-link {
  text-shadow: 0 2px 10px rgba(20, 12, 8, 0.22);
}
.mehndi h3,
.mehndi .eyebrow,
.mehndi .event-description,
.mehndi dt,
.mehndi dd,
.mehndi .direction-link,
.sangeet h3,
.sangeet .eyebrow,
.sangeet .event-description,
.sangeet dt,
.sangeet dd,
.sangeet .direction-link,
.wedding h3,
.wedding .eyebrow,
.wedding .event-description,
.wedding dt,
.wedding dd,
.wedding .direction-link,
.reception h3,
.reception .eyebrow,
.reception .event-description,
.reception dt,
.reception dd,
.reception .direction-link {
  color: #fffaf0;
}
.mehndi .event-art {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(46, 125, 50, 0.05)),
    url("assets/mehendi-celebration.png") center / cover no-repeat;
}

@media (max-width: 680px) {
  .hero .eyebrow {
    font-size: clamp(0.88rem, 3.85vw, 1rem);
  }

  .hero .hero-line {
    font-size: clamp(0.94rem, 3.9vw, 1.08rem);
    line-height: 1.32;
  }

  .hero .couple-details {
    gap: 8px;
    margin-top: 12px;
  }

  .hero .couple-details strong {
    font-size: clamp(1.28rem, 5.65vw, 1.58rem);
  }

  .hero .couple-details span {
    font-size: clamp(0.78rem, 3.42vw, 0.9rem);
    line-height: 1.24;
  }

  .hero .couple-details .couple-connector {
    font-size: clamp(1.28rem, 5.35vw, 1.58rem);
  }

  .hero .primary-action {
    min-height: 48px;
    margin-top: 16px;
    padding: 0 24px;
    font-size: clamp(0.76rem, 3.35vw, 0.86rem);
    box-shadow: 4px 4px 0 rgba(201, 151, 43, 0.74);
  }
}
