/* ============================================================
   S H W E T A  &  S U L E K H
   "Peacock" — cream card, plum ink, teal and gold ornament
   HTML5 · CSS3 · vanilla JS
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --cream: #FBF6EC;
  --cream-2: #F4EADB;
  --cream-3: #EDDFCB;
  --card: #FFFDF8;

  --plum: #4A2340;
  --plum-mid: #5E2F51;
  --plum-deep: #371A30;

  --teal: #14615C;
  --teal-deep: #0C443F;
  --teal-soft: #3A8C84;

  --gold: #C4A055;
  --gold-light: #E6D19B;
  --gold-deep: #9C7C36;

  --ink: #3A2B33;
  --ink-soft: #6E5A64;
  --ink-faint: #9A8A91;

  --font-display: "Marcellus", "Cormorant Garamond", serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Karla", system-ui, sans-serif;

  --hairline: 1px solid rgba(196, 160, 85, .4);
  --shadow-card: 0 34px 70px -46px rgba(58, 39, 46, .55);

  --ease: cubic-bezier(.25, .7, .3, 1);
  --pad-x: clamp(18px, 5vw, 64px);
  --section-y: clamp(58px, 8.5vw, 110px);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-serif);
  font-size: clamp(16px, .5vw + 13.5px, 18px);
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { display: block; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: rgba(196, 160, 85, .35); color: var(--plum); }

/* ---------- 3. Type ---------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: clamp(.58rem, .34vw + .48rem, .68rem);
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--teal);
  padding-left: .34em;
}

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

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.34;
  letter-spacing: .01em;
  color: var(--plum);
  margin-top: .55em;
}

.section__title--light { color: var(--cream); }

.amp {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--teal);
}

.divider {
  display: block;
  width: min(320px, 84%);
  height: auto;
  margin: clamp(14px, 2.4vw, 22px) auto;
  color: var(--gold);
}
.divider--light { color: var(--gold-light); }

.section {
  position: relative;
  padding: var(--section-y) var(--pad-x);
}

.section__head {
  max-width: 680px;
  margin: 0 auto clamp(30px, 4.5vw, 50px);
  text-align: center;
}

/* corner ornaments */
.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  opacity: .85;
  pointer-events: none;
}
.corner--tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.corner--br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* ============================================================
   4. THE FOLDED CARD
   ============================================================ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(16px, 3.6vh, 36px) clamp(14px, 4vw, 36px);
  background:
    radial-gradient(62% 54% at 50% 42%, #FFFDF8 0%, rgba(251, 246, 236, 0) 64%),
    radial-gradient(80% 70% at 50% 108%, #EBDCC6 0%, rgba(244, 234, 219, 0) 62%),
    linear-gradient(166deg, #FBF6EC 0%, #F4EADB 54%, #EDDFCB 100%);
  transition: opacity 1s ease .55s, visibility 1s ease .55s;
}

.gate.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate__damask {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(196, 160, 85, .22) 1.2px, transparent 1.4px),
    radial-gradient(circle at 13px 13px, rgba(20, 97, 92, .12) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .8;
  pointer-events: none;
  mask-image: radial-gradient(70% 62% at 50% 46%, #000 4%, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 62% at 50% 46%, #000 4%, transparent 76%);
}

.gate__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.8vh, 20px);
  text-align: center;
}

.gate__over {
  font-family: var(--font-ui);
  font-size: clamp(.54rem, .32vw + .46rem, .64rem);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .38em;
  animation: fadeUp .9s var(--ease) .1s both;
}

.gate__names {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  letter-spacing: .18em;
  color: var(--plum);
  animation: fadeUp 1s var(--ease) .2s both;
}

.cardbtn {
  position: relative;
  width: min(68vw, 282px);
  aspect-ratio: 1 / 1.36;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1700px;
  perspective-origin: 50% 46%;
  margin-top: clamp(4px, 1.4vh, 14px);
  -webkit-tap-highlight-color: transparent;
  animation: fadeUp 1.2s var(--ease) .35s both;
  filter: drop-shadow(0 30px 40px rgba(58, 39, 46, .22));
}

.card3d {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 1s var(--ease);
}

.cardbtn:hover .card3d { transform: translateY(-5px); }

/* inside of the card */
.card__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .7em;
  background:
    radial-gradient(70% 60% at 50% 40%, #FFFFFF 0%, #FBF4E6 58%, #F3E7D4 100%);
  border: 1px solid rgba(196, 160, 85, .5);
  overflow: hidden;
}

.card__inner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(20, 97, 92, .22);
  pointer-events: none;
}

.card__inner-rule {
  width: 46%;
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 160, 85, 0), rgba(196, 160, 85, .9), rgba(196, 160, 85, 0));
}

.card__inner-names {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 4.6vw, 1.6rem);
  line-height: 1.35;
  letter-spacing: .04em;
  color: var(--plum);
}

.card__inner-names em {
  font-family: var(--font-serif);
  font-size: .9em;
  color: var(--teal);
}

.card__inner-date {
  font-family: var(--font-ui);
  font-size: .56rem;
  letter-spacing: .34em;
  color: var(--gold-deep);
  padding-left: .34em;
}

/* the two leaves */
.leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  backface-visibility: hidden;
  transition: transform 1.15s cubic-bezier(.55, .03, .24, 1) .18s, opacity .6s ease 1.1s;
}

.leaf--left { left: 0; transform-origin: left center; }
.leaf--right { right: 0; transform-origin: right center; }

.leaf__face {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 40%),
    linear-gradient(140deg, #FFFDF7 0%, #F9F1E2 55%, #F1E4D0 100%);
  border: 1px solid rgba(196, 160, 85, .55);
  box-shadow: inset 0 0 30px rgba(196, 160, 85, .1);
}
.leaf--left .leaf__face { border-radius: 4px 0 0 4px; border-right: 0; }
.leaf--right .leaf__face { border-radius: 0 4px 4px 0; border-left: 0; }

.leaf__face::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196, 160, 85, .3);
}
.leaf--left .leaf__face::before { border-right: 0; }
.leaf--right .leaf__face::before { border-left: 0; }

.leaf__corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(20, 97, 92, .45);
}
.leaf__corner--tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; }
.leaf__corner--bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; }
.leaf__corner--tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; }
.leaf__corner--br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; }

/* ribbon + seal */
.ribbon {
  position: absolute;
  z-index: 3;
  top: -6px;
  bottom: -6px;
  left: 50%;
  width: 26px;
  transform: translateX(-50%);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .18) 0%, rgba(0, 0, 0, 0) 40%, rgba(255, 255, 255, .22) 70%, rgba(0, 0, 0, .14) 100%),
    linear-gradient(180deg, #1B726B 0%, #14615C 48%, #0E4F4A 100%);
  box-shadow: 0 6px 14px rgba(12, 68, 63, .3);
  transition: transform .9s var(--ease), opacity .6s ease .18s;
}

.ribbon::before,
.ribbon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  height: 1px;
  background: rgba(230, 209, 155, .65);
}
.ribbon::before { top: 10px; }
.ribbon::after { bottom: 10px; }

.seal {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: clamp(58px, 16vw, 68px);
  height: clamp(58px, 16vw, 68px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(.68rem, 2.2vw, .8rem);
  letter-spacing: .1em;
  color: #4A3818;
  background:
    radial-gradient(circle at 34% 28%, #F2E3BC 0%, #D5B876 44%, #B3914C 78%, #97773A 100%);
  box-shadow:
    0 8px 18px -6px rgba(90, 68, 26, .5),
    inset 0 0 0 2px rgba(255, 248, 228, .4),
    inset 0 0 12px rgba(88, 62, 24, .35);
  transition: transform .6s var(--ease) .1s, opacity .5s ease .2s;
}

.seal::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(255, 250, 235, .45);
}

.seal em { font-family: var(--font-serif); font-style: italic; }

/* opening */
.gate.is-open .ribbon {
  transform: translate(-50%, -125%) rotate(-3deg);
  opacity: 0;
}
.gate.is-open .seal {
  transform: translate(-50%, -160%) scale(.6) rotate(18deg);
  opacity: 0;
}
.gate.is-open .leaf--left { transform: rotateY(-112deg); opacity: .0; }
.gate.is-open .leaf--right { transform: rotateY(112deg); opacity: .0; }

.gate__hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2em;
  font-family: var(--font-ui);
  font-size: clamp(.54rem, .32vw + .44rem, .64rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: .3em;
  animation: fadeUp 1s var(--ease) .9s both;
}

.gate__chev {
  font-size: 1.05rem;
  line-height: 1;
  color: var(--teal);
  animation: nudge 2.6s ease-in-out 1.6s infinite;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: clamp(40px, 7vw, 92px) var(--pad-x);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .9) 0%, rgba(251, 246, 236, 0) 62%),
    linear-gradient(180deg, #FBF6EC 0%, #F6EDDF 62%, #F0E2CF 100%);
}

.hero__card {
  position: relative;
  width: min(100%, 880px);
  padding: clamp(38px, 6vw, 82px) clamp(20px, 5vw, 76px);
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, #FFFFFF 0%, rgba(255, 253, 248, 0) 62%),
    linear-gradient(170deg, #FFFDF8 0%, #FCF6EB 58%, #F7EDDE 100%);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(196, 160, 85, .45);
  pointer-events: none;
}

.names {
  margin: clamp(14px, 2.6vw, 24px) 0 0;
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.7rem, 10vw, 6rem);
  line-height: .98;
  letter-spacing: -.005em;
  color: var(--plum);
}

.names__line { display: block; }

.names__amp {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .38em;
  line-height: 1;
  color: var(--gold-deep);
  margin: .2em 0 .14em;
}

.names__amp::before,
.names__amp::after {
  content: "";
  display: inline-block;
  width: clamp(26px, 7vw, 54px);
  height: 1px;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(196, 160, 85, 0), rgba(196, 160, 85, .8));
  margin-right: .7em;
}
.names__amp::after {
  background: linear-gradient(90deg, rgba(196, 160, 85, .8), rgba(196, 160, 85, 0));
  margin-right: 0;
  margin-left: .7em;
}

.hero__lead {
  max-width: 34ch;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.hero__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(6px, 1.4vw, 12px);
}

.hero__day {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--teal);
}

.hero__month {
  margin-top: .25em;
  font-family: var(--font-ui);
  font-size: clamp(.6rem, .38vw + .5rem, .72rem);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .42em;
}

.hero__extra {
  margin-top: .5em;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .96rem;
  color: var(--ink-soft);
}

.hero__place {
  margin-top: .8em;
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-left: .28em;
}

.hero .btn { margin-top: clamp(22px, 3.2vw, 32px); }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .92em 2em;
  font-family: var(--font-ui);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              background-color .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease);
}

.btn--ghost {
  color: var(--plum);
  border: 1px solid rgba(196, 160, 85, .7);
  background: rgba(255, 253, 248, .5);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #FFFDF8;
  border-color: var(--gold-deep);
  box-shadow: 0 16px 30px -22px rgba(58, 39, 46, .55);
  transform: translateY(-2px);
}

.btn--plum {
  color: var(--cream);
  background: var(--plum);
  border: 1px solid var(--plum);
  box-shadow: 0 16px 30px -22px rgba(55, 26, 48, .85);
}
.btn--plum:hover,
.btn--plum:focus-visible {
  background: var(--plum-deep);
  transform: translateY(-2px);
}

.btn--wa {
  width: 100%;
  margin-top: .3em;
  color: var(--cream);
  background: linear-gradient(135deg, #1F6B55 0%, #145240 100%);
  border: 1px solid rgba(20, 82, 64, .9);
  box-shadow: 0 18px 34px -22px rgba(20, 82, 64, .9);
}
.btn--wa:hover,
.btn--wa:focus-visible { transform: translateY(-2px); }

.wa-icon { width: 18px; height: 18px; }
.wa-icon svg { width: 100%; height: 100%; }

/* ============================================================
   7. PORTRAIT
   ============================================================ */
.portrait-section {
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, .8) 0%, rgba(244, 234, 219, 0) 62%),
    linear-gradient(180deg, #F0E2CF 0%, #F6EDDF 40%, #FBF6EC 100%);
}

.portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.feather {
  position: absolute;
  z-index: 1;
  width: clamp(76px, 15vw, 128px);
  aspect-ratio: 140 / 260;
  background: url("../assets/decorations/peacock-feather.svg") no-repeat center / contain;
  opacity: .85;
  pointer-events: none;
}
.feather--left { left: 50%; top: -6%; transform: translateX(calc(-100% - clamp(100px, 26vw, 190px))) rotate(-18deg); }
.feather--right { right: 50%; top: -6%; transform: translateX(calc(100% + clamp(100px, 26vw, 190px))) rotate(18deg); }

.portrait__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: min(78vw, 372px);
  padding: 12px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(160deg, #FFFDF8, #F4E8D6);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.portrait__frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 999px 999px 4px 4px;
  border: 1px solid rgba(20, 97, 92, .3);
  pointer-events: none;
}

.portrait__inner {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px 999px 3px 3px;
  aspect-ratio: 3 / 4;
  background: radial-gradient(circle at 50% 24%, #FFFDF8 0%, #F1E4D0 52%, #E4D2B8 100%);
}

.portrait__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s ease;
}
.portrait__img.is-loaded { opacity: 1; }

.portrait__placeholder {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4em;
  padding: 9%;
  text-align: center;
}

.ph-mark {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.4vw, 1.5rem);
  letter-spacing: .16em;
  color: var(--gold-deep);
}

.ph-names {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  color: var(--plum);
}

.ph-sub {
  font-family: var(--font-ui);
  font-size: .54rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: .28em;
}

.ph-hint {
  margin-top: 1em;
  font-family: var(--font-ui);
  font-size: .5rem;
  letter-spacing: .12em;
  color: rgba(110, 90, 100, .55);
}

.portrait figcaption {
  margin-top: clamp(18px, 3vw, 26px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--ink-soft);
}

/* ============================================================
   8. DETAILS STRIP
   ============================================================ */
.details {
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(20, 97, 92, .07) 0%, rgba(251, 246, 236, 0) 62%),
    linear-gradient(180deg, #FBF6EC 0%, #FDF9F1 100%);
}

.strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: clamp(10px, 2.4vw, 28px);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.strip__div {
  align-self: stretch;
  width: 1px;
  background: linear-gradient(180deg, rgba(196, 160, 85, 0), rgba(196, 160, 85, .55), rgba(196, 160, 85, 0));
}

.strip__item { padding: 0 clamp(4px, 1vw, 14px); }

.strip__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto .8em;
  border-radius: 50%;
  border: 1px solid rgba(196, 160, 85, .6);
  color: var(--teal);
  background: rgba(255, 255, 255, .6);
}
.strip__icon svg { width: 20px; height: 20px; }

.strip__label {
  font-family: var(--font-ui);
  font-size: .56rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding-left: .3em;
}

.strip__value {
  margin-top: .5em;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.45;
  color: var(--plum);
}

.strip__value--quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.98rem, 1.4vw, 1.12rem);
  line-height: 1.66;
  color: var(--ink-soft);
}

.strip__note {
  margin-top: .35em;
  font-family: var(--font-ui);
  font-size: .74rem;
  color: var(--ink-faint);
}

/* ============================================================
   9. COUNTDOWN
   ============================================================ */
.countdown-section {
  position: relative;
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(196, 160, 85, .24) 0%, rgba(74, 35, 64, 0) 62%),
    linear-gradient(170deg, #4A2340 0%, #401D39 52%, #33172E 100%);
  overflow: hidden;
}

.countdown-section::before,
.countdown-section::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 900px);
  height: 1px;
  background: linear-gradient(90deg, rgba(196, 160, 85, 0), rgba(196, 160, 85, .6), rgba(196, 160, 85, 0));
}
.countdown-section::before { top: 0; }
.countdown-section::after { bottom: 0; }

.countdown__head { max-width: 640px; margin: 0 auto; }

.countdown {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.6vw, 30px);
  margin-top: clamp(26px, 3.6vw, 40px);
}

.dial {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: .5em;
  width: clamp(76px, 15vw, 112px);
  height: clamp(76px, 15vw, 112px);
  border-radius: 50%;
  border: 1px solid rgba(196, 160, 85, .55);
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%);
}

.dial::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dotted rgba(196, 160, 85, .45);
}

.dial__num {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}

.dial__label {
  font-family: var(--font-ui);
  font-size: clamp(.46rem, .3vw + .4rem, .54rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, .68);
  padding-left: .24em;
}

.countdown__note {
  margin-top: clamp(20px, 3vw, 30px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.92rem, 1.3vw, 1.04rem);
  color: rgba(251, 246, 236, .82);
}

.countdown.is-past .dial__num { color: var(--gold-light); }

/* ============================================================
   10. VENUE
   ============================================================ */
.venue {
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, #FFFFFF 0%, rgba(251, 246, 236, 0) 58%),
    linear-gradient(180deg, #FBF6EC 0%, #F6EDDF 100%);
}

.venue__body { max-width: 620px; margin: 0 auto; }

.venue__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  letter-spacing: .02em;
  color: var(--plum);
}

.venue__place {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  margin-top: .5em;
  font-family: var(--font-ui);
  font-size: .62rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
}

.venue__pin { width: 20px; height: 20px; flex: none; }

.venue__note {
  max-width: 42ch;
  margin: clamp(16px, 2.4vw, 22px) auto clamp(22px, 3vw, 28px);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(.98rem, 1.3vw, 1.08rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.venue__map {
  max-width: 900px;
  margin: clamp(32px, 4.6vw, 52px) auto 0;
}

.map-frame {
  position: relative;
  padding: 10px;
  background: #FFFDF8;
  border: 1px solid var(--gold);
  border-radius: 130px 130px 8px 8px;
  box-shadow: var(--shadow-card);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(250px, 33vw, 380px);
  border: 0;
  border-radius: 122px 122px 3px 3px;
  filter: saturate(.9) contrast(.97);
}

/* ============================================================
   11. RSVP
   ============================================================ */
.rsvp {
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(20, 97, 92, .08) 0%, rgba(244, 234, 219, 0) 62%),
    linear-gradient(180deg, #F6EDDF 0%, #FBF6EC 45%, #F8F0E3 100%);
}

.rsvp__card {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 60px) clamp(20px, 4.4vw, 52px);
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, #FFFFFF 0%, rgba(255, 253, 248, 0) 60%),
    linear-gradient(170deg, #FFFDF8 0%, #FCF7EC 100%);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.rsvp__card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(196, 160, 85, .5);
  pointer-events: none;
}

.rsvp__sub {
  max-width: 34ch;
  margin: .8em auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.rsvp-form {
  display: grid;
  gap: clamp(18px, 2.4vw, 24px);
  margin-top: clamp(18px, 2.6vw, 26px);
  text-align: left;
}

.field > label,
.field legend {
  display: block;
  margin-bottom: .55em;
  font-family: var(--font-ui);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--teal);
  padding-left: .26em;
}

.field input[type="text"],
.field input[type="number"] {
  width: 100%;
  padding: .78em 1em;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  background: #FFFDF8;
  border: 1px solid rgba(196, 160, 85, .45);
  border-radius: 2px;
  appearance: none;
  transition: border-color .4s ease, box-shadow .4s ease;
}

.field input::placeholder { color: rgba(110, 90, 100, .55); font-style: italic; }

.field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 97, 92, .1);
}

.field input[aria-invalid="true"] {
  border-color: #A8574F;
  box-shadow: 0 0 0 3px rgba(168, 87, 79, .12);
}

.stepper {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  max-width: 210px;
}

.stepper input { text-align: center; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.stepper__btn {
  height: 44px;
  border: 1px solid rgba(196, 160, 85, .5);
  background: #FFFDF8;
  color: var(--teal);
  font-size: 1.05rem;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .35s ease, border-color .35s ease;
}
.stepper__btn:hover { background: rgba(196, 160, 85, .12); border-color: var(--gold-deep); }

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.choice__box {
  display: block;
  padding: .8em .6em;
  font-family: var(--font-ui);
  font-size: .66rem;
  letter-spacing: .1em;
  text-align: center;
  color: var(--ink-soft);
  background: #FFFDF8;
  border: 1px solid rgba(196, 160, 85, .45);
  border-radius: 2px;
  transition: border-color .4s ease, background-color .4s ease, color .4s ease;
}

.choice input:checked + .choice__box {
  border-color: var(--teal);
  background: rgba(20, 97, 92, .07);
  color: var(--teal-deep);
}
.choice input:focus-visible + .choice__box { outline: 2px solid var(--teal); outline-offset: 3px; }

.form-error {
  padding: .75em 1em;
  font-family: var(--font-ui);
  font-size: .74rem;
  color: #8A3F39;
  background: rgba(168, 87, 79, .09);
  border: 1px solid rgba(168, 87, 79, .35);
}

.rsvp__footnote {
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .06em;
  color: var(--ink-faint);
  text-align: center;
}

/* ============================================================
   12. BLESSINGS
   ============================================================ */
.blessings {
  position: relative;
  text-align: center;
  overflow: hidden;
  padding-bottom: 0;
  color: var(--cream);
  background:
    radial-gradient(60% 55% at 50% 18%, rgba(196, 160, 85, .22) 0%, rgba(74, 35, 64, 0) 66%),
    linear-gradient(175deg, #4A2340 0%, #3E1C37 46%, #2E152A 100%);
}

.blessings__ring {
  position: absolute;
  top: 14%;
  left: 50%;
  transform: translateX(-50%);
  width: min(76vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(196, 160, 85, .16);
  pointer-events: none;
}
.blessings__ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1px dotted rgba(196, 160, 85, .14);
}

.blessings__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}

.blessings__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 3.2vw, 2rem);
  line-height: 1.4;
  color: var(--cream);
}

.blessings__text {
  max-width: 34ch;
  margin: 1em auto 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.8;
  color: rgba(251, 246, 236, .82);
}

.blessings__with {
  margin-top: clamp(22px, 3.2vw, 32px);
  font-family: var(--font-ui);
  font-size: .58rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding-left: .32em;
}

.blessings__names {
  margin-top: .3em;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4.6vw, 2.6rem);
  font-weight: 300;
  color: var(--cream);
}

.blessings__names .amp { color: var(--gold-light); }

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(34px, 5vw, 54px);
  padding: 1.5em var(--pad-x);
  border-top: 1px solid rgba(196, 160, 85, .22);
  background: rgba(20, 8, 18, .25);
}

.site-footer p {
  font-family: var(--font-ui);
  font-size: .6rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, .68);
}

/* ============================================================
   13. REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   14. KEYFRAMES
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(5px); opacity: 1; }
}

body.is-entered .hero__card { animation: fadeUp 1.1s var(--ease) both; }

/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .feather { width: clamp(64px, 13vw, 96px); }
  .feather--left { transform: translateX(calc(-100% - clamp(70px, 24vw, 140px))) rotate(-16deg); }
  .feather--right { transform: translateX(calc(100% + clamp(70px, 24vw, 140px))) rotate(16deg); }
}

@media (max-width: 720px) {
  .strip {
    grid-template-columns: 1fr;
    gap: clamp(18px, 4vw, 26px);
    max-width: 420px;
  }
  .strip__div {
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(196, 160, 85, 0), rgba(196, 160, 85, .5), rgba(196, 160, 85, 0));
  }
  .strip__item { padding: 0; }
}

@media (max-width: 640px) {
  :root { --section-y: clamp(50px, 12vw, 82px); }

  .cardbtn { width: min(76vw, 250px); }
  .gate__names { font-size: 1rem; letter-spacing: .14em; }

  .hero__card { padding: clamp(34px, 8vw, 46px) clamp(16px, 5vw, 24px); }
  .names { font-size: clamp(2.5rem, 13.5vw, 3.4rem); }
  .names__amp::before { width: 26px; margin-right: .5em; }
  .names__amp::after { width: 26px; margin-left: .5em; }

  .feather { opacity: .55; width: 72px; }
  .feather--left { top: -8%; transform: translateX(calc(-100% - 62vw)) rotate(-14deg); }
  .feather--right { top: -8%; transform: translateX(calc(100% + 62vw)) rotate(14deg); }

  .choices { grid-template-columns: 1fr; }
  .stepper { max-width: 100%; grid-template-columns: 50px minmax(0, 1fr) 50px; }
  .stepper__btn { height: 48px; }

  .field input[type="text"],
  .field input[type="number"] { font-size: 16px; }

  .map-frame iframe { height: 280px; }
  .map-frame { border-radius: 80px 80px 6px 6px; }
  .map-frame iframe { border-radius: 74px 74px 3px 3px; }

  .dial { width: 74px; height: 74px; }
  .countdown { gap: 8px; }

  .btn { width: 100%; }
  .btn--ghost { width: auto; }
}

/* ============================================================
   16. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

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

  .gate__over,
  .gate__names,
  .cardbtn,
  .gate__hint { opacity: 1; animation: none; }

  .gate.is-open .leaf--left { transform: rotateY(-112deg); }
  .gate.is-open .leaf--right { transform: rotateY(112deg); }
}

/* ============================================================
   LANGUAGE SWITCH  (English / मराठी)
   ============================================================ */
.lang-switch {
  position: fixed;
  top: clamp(10px, 1.6vw, 18px);
  right: clamp(10px, 1.6vw, 18px);
  z-index: 950;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(43, 20, 36, .62);
  border: 1px solid rgba(196, 160, 85, .45);
  box-shadow: 0 10px 26px -14px rgba(20, 8, 17, .8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(245, 230, 200, .82);
  font-family: var(--font-ui);
  font-size: 11.5px;
  letter-spacing: .1em;
  line-height: 1;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}

.lang-switch__btn:hover {
  color: var(--gold-light);
}

.lang-switch__btn.is-active {
  background: var(--gold);
  color: var(--plum-deep);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

/* Devanagari needs typefaces that actually carry the script */
html[lang="mr"] {
  --font-display: "Tiro Devanagari Marathi", "Marcellus", serif;
  --font-serif: "Tiro Devanagari Marathi", "Cormorant Garamond", Georgia, serif;
  --font-ui: "Mukta", "Karla", system-ui, sans-serif;
}

html[lang="mr"] h1,
html[lang="mr"] h2,
html[lang="mr"] h3,
html[lang="mr"] p,
html[lang="mr"] span,
html[lang="mr"] label,
html[lang="mr"] legend,
html[lang="mr"] button,
html[lang="mr"] a,
html[lang="mr"] figcaption {
  letter-spacing: 0;
}

html[lang="mr"] .names,
html[lang="mr"] .blessings__title,
html[lang="mr"] .section__title,
html[lang="mr"] .garland-text {
  line-height: 1.3;
}

html[lang="mr"] .eyebrow,
html[lang="mr"] .gate__over,
html[lang="mr"] .strip__label,
html[lang="mr"] .dial__label {
  letter-spacing: .04em;
}

html[lang="mr"] .btn {
  font-size: 14px;
}

html[lang="mr"] .strip__value--quote {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .lang-switch__btn {
    padding: 7px 11px;
    font-size: 11px;
  }
}
