/* =========================================================
   Karnika & Kiran · Wedding Invitation
   Lotus theme · Light · Cinematic curtain
   ========================================================= */

:root {
  --cream:        #fdfaf3;
  --cream-warm:   #faf3e0;
  --parchment:    #f6ead0;
  --peach-wash:   #fbe9d6;
  --gold:         #c9a961;
  --gold-deep:    #a07f3a;
  --gold-soft:    #d9bf85;
  --bronze:       #8b6f47;
  --ink:          #4a3520;
  --ink-soft:     #7a5e3c;
  --pink:         #c93a6c;
  --pink-deep:    #8e2148;
  --pink-soft:    #f3a8c1;
  --pink-pale:    #fbe5ee;

  --serif:        'Cormorant Garamond', 'Times New Roman', serif;
  --display:      'Marcellus', serif;
  --script:       'Great Vibes', cursive;
  --script-fine:  'Pinyon Script', cursive;

  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(217, 191, 133, 0.16), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(236, 127, 165, 0.12), transparent 45%),
    linear-gradient(180deg, #fffdf7 0%, var(--cream-warm) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  font-weight: 400;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-radial-gradient(circle at 30% 20%, rgba(160, 127, 58, 0.04) 0, transparent 2px),
    repeating-radial-gradient(circle at 70% 80%, rgba(160, 127, 58, 0.03) 0, transparent 2px);
  z-index: 0;
}

/* =========================================================
   CURTAIN — slower, layered, emotional reveal
   ========================================================= */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  transition: opacity 1.4s var(--ease), visibility 1.4s var(--ease);
}
.curtain.hidden { opacity: 0; visibility: hidden; }

.curtain-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 35%, #a6336a 0%, #8e2148 45%, #5e1232 100%);
}
.curtain-bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(217, 184, 112, 0.18), transparent 38%),
    radial-gradient(circle at 85% 20%, rgba(217, 184, 112, 0.14), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(252, 228, 238, 0.06), transparent 55%);
  pointer-events: none;
}

/* Corner lotus blooms — large, peek in from edges */
.curtain-lotus {
  position: absolute;
  width: 360px;
  height: 360px;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
  opacity: 0;
  animation: lotusBloom 1.8s var(--ease-out) forwards;
}
.c-lotus-tr  { top: -90px;    right: -90px;  transform: rotate(20deg) scale(0.95); animation-delay: 0.3s; }
.c-lotus-tr2 { top: 60px;     right: 80px;   width: 200px; height: 200px; transform: rotate(-15deg) scale(0.8); animation-delay: 0.6s; }
.c-lotus-bl  { bottom: -90px; left: -90px;   transform: rotate(-25deg); animation-delay: 0.45s; }
.c-lotus-bl2 { bottom: 80px;  left: 60px;    width: 220px; height: 220px; transform: rotate(35deg) scale(0.75); animation-delay: 0.75s; }
@keyframes lotusBloom {
  from { opacity: 0; transform: scale(0.6) rotate(0deg); }
  to   { opacity: 1; }
}
/* Override the rotate+scale we set inline above by re-applying in keyframes targets */
.c-lotus-tr  { animation-name: lotusBloomTr; }
.c-lotus-tr2 { animation-name: lotusBloomTr2; }
.c-lotus-bl  { animation-name: lotusBloomBl; }
.c-lotus-bl2 { animation-name: lotusBloomBl2; }
@keyframes lotusBloomTr  { from { opacity: 0; transform: rotate(20deg)  scale(0.5); } to { opacity: 1; transform: rotate(20deg)  scale(0.95); } }
@keyframes lotusBloomTr2 { from { opacity: 0; transform: rotate(-15deg) scale(0.4); } to { opacity: 0.85; transform: rotate(-15deg) scale(0.8);  } }
@keyframes lotusBloomBl  { from { opacity: 0; transform: rotate(-25deg) scale(0.5); } to { opacity: 1; transform: rotate(-25deg) scale(1);     } }
@keyframes lotusBloomBl2 { from { opacity: 0; transform: rotate(35deg)  scale(0.4); } to { opacity: 0.85; transform: rotate(35deg)  scale(0.75); } }

/* Strands cascade in much more slowly than before — feels intentional, not abrupt */
.curtain-strands {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  gap: 1.2vw;
  pointer-events: none;
  z-index: 2;
}
.curtain-left  { left: 0;  padding-left: 1vw; }
.curtain-right { right: 0; padding-right: 1vw; }
.curtain-strands .strand {
  width: 60px;
  height: 880px;
  display: block;
  transform: translateY(-110%);
  animation: dropIn 2.4s var(--ease-out) forwards;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}
.curtain-left  .strand-1 { animation-delay: 1.6s; }
.curtain-left  .strand-2 { animation-delay: 1.85s; height: 800px; }
.curtain-left  .strand-3 { animation-delay: 2.10s; height: 840px; }
.curtain-right .strand-1 { animation-delay: 1.7s; }
.curtain-right .strand-2 { animation-delay: 1.95s; height: 820px; }
.curtain-right .strand-3 { animation-delay: 2.20s; height: 780px; }
@keyframes dropIn {
  0%   { transform: translateY(-110%); }
  60%  { transform: translateY(2%); }
  80%  { transform: translateY(-1%); }
  100% { transform: translateY(0); }
}

/* Lift sequence */
.curtain.lifting .curtain-left  .strand { animation: liftLeft  1.6s var(--ease) forwards; }
.curtain.lifting .curtain-right .strand { animation: liftRight 1.6s var(--ease) forwards; }
.curtain.lifting .curtain-left  .strand-2 { animation-delay: 0.08s; }
.curtain.lifting .curtain-left  .strand-3 { animation-delay: 0.16s; }
.curtain.lifting .curtain-right .strand-2 { animation-delay: 0.08s; }
.curtain.lifting .curtain-right .strand-3 { animation-delay: 0.16s; }
@keyframes liftLeft {
  to { transform: translateY(-115%) translateX(-30%) rotate(-7deg); }
}
@keyframes liftRight {
  to { transform: translateY(-115%) translateX(30%) rotate(7deg); }
}

/* Curtain center — sequential reveal: ganpati → blessing → K&K → names → date → tap */
.curtain-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem 22vh; /* extra bottom padding nudges content up visually */
  pointer-events: none;
}
.curtain-center > * { opacity: 0; }

.curtain-blessing {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #d9bf85;
  margin-bottom: 1.2rem;
  animation: fadeUp 1s var(--ease) 0.4s forwards;
}

.curtain-monogram-text {
  font-family: var(--script);
  font-size: clamp(5rem, 20vw, 9rem);
  color: #f8e3a8;
  line-height: 1;
  display: block;
  width: 100%;
  text-align: center;
  /* No left/right bias — the asymmetric margin on .amp now handles spacing,
     so the whole monogram can center naturally. */
  padding-right: 0.5em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 60px rgba(248, 227, 168, 0.25);
  margin-bottom: 0.8rem;
  animation: fadeUpBig 1.4s var(--ease-out) 0.9s forwards;
  white-space: nowrap;
}
.curtain-monogram-text .amp {
  font-family: var(--script);
  color: #fce4ee;
  font-size: 0.7em;
  /* asymmetric margin: the right K's natural left sidebearing already adds
     space, so we tighten that side specifically */
  margin-left: 0.5em;
  margin-right: 0.05em;
  vertical-align: 0.08em;
}

.curtain-names {
  font-family: var(--display);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #fff7e6;
  margin-bottom: 0.6rem;
  animation: fadeUp 1s var(--ease) 1.7s forwards;
}

.curtain-date {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: #d9bf85;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s var(--ease) 2.2s forwards;
}

.curtain-tap {
  pointer-events: auto;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #f8e3a8;
  padding: 0.7rem 1.6rem;
  border: 1px solid rgba(248, 227, 168, 0.6);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  cursor: pointer;
  animation: fadeIn 1s var(--ease) 3.0s forwards, pulseTap 2s ease-in-out 4.0s infinite;
}

@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpBig {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pulseTap {
  0%, 100% { box-shadow: 0 0 0 0 rgba(248, 227, 168, 0.45); }
  50%      { box-shadow: 0 0 0 14px rgba(248, 227, 168, 0); transform: scale(1.04); }
}

/* On lift, fade the centre upward */
.curtain.lifting .curtain-center { animation: fadeOutUp 0.9s var(--ease) forwards; }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-30px); } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem 4rem;
  z-index: 2;
  overflow: hidden;
}
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 580px;
  padding: 2rem 1rem;
}
.hero-ganpati {
  display: block;
  width: 110px;
  height: 120px;
  margin: 0 auto 1.4rem;
  color: var(--gold-deep);
  filter: drop-shadow(0 2px 8px rgba(160, 127, 58, 0.18));
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1.2rem;
}
.script-line {
  font-family: var(--script);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.names {
  font-family: var(--script);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 1.8rem 0;
  color: var(--gold-deep);
}
.name-first, .name-second {
  font-size: clamp(3.2rem, 8vw, 5rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.ampersand {
  font-family: var(--script);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--pink-deep);
  font-style: italic;
  line-height: 1;
}
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gold-deep);
}
.ornament-divider .line {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.ornament-divider svg { width: 60px; height: 20px; }

.save-the-date {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 1rem;
}
.date-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.4rem auto 0.6rem;
  padding: 0.6rem 1.4rem;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.db-day {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 4.4rem);
  color: var(--pink-deep);
  line-height: 1;
}
.db-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-align: left;
}
.db-month {
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}
.db-year {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.2;
}
.date-sub {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3rem;
}

.scroll-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: 0.7;
  animation: floatUp 2s ease-in-out infinite alternate;
}
.scroll-arrow {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold) 0%, transparent 100%);
}
@keyframes floatUp {
  from { transform: translateY(0); }
  to   { transform: translateY(8px); }
}

.lotus {
  position: absolute;
  bottom: -40px;
  width: 280px; height: 280px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 6px 18px rgba(201, 58, 108, 0.12));
}
.lotus-bl { left: -40px;  transform: rotate(-25deg); }
.lotus-br { right: -40px; transform: rotate(25deg) scaleX(-1); }

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
  position: relative;
  z-index: 2;
  padding: 3.5rem 1.5rem;
}
.container {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.ornament-cap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--gold-deep);
}
.ornament-cap svg { width: 200px; height: 40px; }

.section-eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 2rem;
  font-weight: 400;
}
.script-heading {
  font-family: var(--script);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
}
.muted { color: var(--ink-soft); font-style: italic; }

/* Invitation */
.invitation { padding-bottom: 2rem; }
.invitation-line {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.couple { padding-top: 2rem; }

/* Story */
.story-timeline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  text-align: center;
}
.story-item {
  padding: 0 1rem;
  position: relative;
}
.story-paisley {
  display: block;
  width: 60px; height: 75px;
  margin: 0 auto 1.2rem;
  color: var(--gold-deep);
  opacity: 0.85;
}
.story-when {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 0.8rem;
}
.story-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.7;
}

/* Couple */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
.couple-frame {
  position: relative;
  display: inline-block;
  padding: 16px;
  margin-bottom: 1.5rem;
}
.couple-frame::before {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.couple-frame::after {
  content: ''; position: absolute; inset: 6px;
  border: 1px solid var(--gold-soft);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.couple-portrait {
  width: 180px; height: 220px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.couple-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.couple-name {
  font-family: var(--script);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--gold-deep);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.couple-bio {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
}
.couple-amp {
  font-family: var(--script-fine);
  font-size: 2.4rem;
  color: var(--pink-deep);
  text-align: center;
  position: relative;
}
.couple-amp::before, .couple-amp::after {
  content: ''; display: block;
  width: 1px; height: 50px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  margin: 1rem auto;
}

/* Countdown */
.countdown-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(251, 229, 238, 0.45), transparent 65%);
}
.countdown {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  padding: 1.2rem 0.8rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(247,239,222,0.6));
  border: 1px solid var(--gold-soft);
  position: relative;
}
.cd-cell::before, .cd-cell::after {
  content: ''; position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--gold);
}
.cd-cell::before { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.cd-cell::after  { bottom: 4px; right: 4px; border-left: none; border-top: none; }
.cd-num {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--pink-deep);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.cd-lbl {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cd-sep {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  align-self: center;
  margin-bottom: 1rem;
}

/* Big date display */
.big-date {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--display);
  margin: 2rem 0 0.5rem;
  flex-wrap: wrap;
}
.bd-month, .bd-year {
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  color: var(--ink);
  position: relative;
  padding: 0 0.4rem;
}
.bd-month::after, .bd-year::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0; right: 0;
  height: 1px; background: var(--ink);
}
.bd-day {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 4.6rem);
  color: var(--pink-deep);
  line-height: 1;
}
.bd-bar {
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 300;
  opacity: 0.7;
}
.bd-year-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

/* Ceremony / Reception cards */
.ceremony-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(247, 239, 222, 0.55));
  border: 1px solid var(--gold-soft);
  padding: 2.5rem 2rem;
  margin: 2rem auto;
  max-width: 700px;
  position: relative;
  box-shadow: 0 10px 40px rgba(160, 127, 58, 0.08);
}
.ceremony-card::before, .ceremony-card::after {
  content: ''; position: absolute;
  width: 26px; height: 26px;
  border: 1px solid var(--gold);
}
.ceremony-card::before { top: 8px; left: 8px; border-right: none; border-bottom: none; }
.ceremony-card::after  { bottom: 8px; right: 8px; border-left: none; border-top: none; }
.ceremony-time {
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 1rem;
}
.ceremony-time strong {
  color: var(--pink-deep);
  font-weight: 400;
}
.ceremony-venue {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.ceremony-address {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.ceremony-note {
  font-family: var(--script);
  font-size: 1.4rem;
  color: var(--gold-deep);
  margin-top: 0.8rem;
  margin-bottom: 1rem;
}
.venue-map-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pink-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--pink-soft);
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
.venue-map-link:hover { color: var(--pink); border-bottom-color: var(--pink); }

/* Reception backdrop */
.reception {
  background: radial-gradient(ellipse at 50% 30%, rgba(251, 233, 214, 0.6), transparent 60%);
}

/* Timeline (two-day program) */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  margin-top: 2.5rem;
}
.tl-day {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(247, 239, 222, 0.5));
  border: 1px solid var(--gold-soft);
  padding: 2rem 1.8rem;
  position: relative;
}
.tl-day-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed var(--gold-soft);
  flex-wrap: wrap;
}
.tl-day-num {
  font-family: var(--display);
  font-size: 2.6rem;
  color: var(--pink-deep);
  line-height: 1;
}
.tl-day-name {
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}
.tl-day-tag {
  margin-left: auto;
  font-family: var(--script);
  font-size: 1.4rem;
  color: var(--gold-deep);
}
.tl-list { list-style: none; }
.tl-list li {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dotted rgba(160, 127, 58, 0.2);
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--ink);
}
.tl-list li:last-child { border-bottom: 0; }
.tl-time {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--pink-deep);
  min-width: 90px;
  flex-shrink: 0;
}
.tl-event { flex: 1; }

/* Dress code */
.dress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 600px;
  margin: 2rem auto 0;
}
.dress-item { text-align: center; }
.swatch {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  border: 1px solid var(--gold-soft);
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}
.swatch::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
}
.dress-day {
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.dress-note {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
}

/* Gallery */
.gallery { text-align: center; }

/* Blessings note — deep lotus background, light text */
.blessings-note {
  background:
    radial-gradient(ellipse at 50% 30%, #a6336a 0%, #8e2148 45%, #5e1232 100%);
  color: #fff7e6;
  position: relative;
  overflow: hidden;
}
.blessings-note::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 80%, rgba(217, 184, 112, 0.15), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(217, 184, 112, 0.12), transparent 40%);
  pointer-events: none;
}
.blessings-note .container { position: relative; z-index: 1; }
.blessings-note .section-eyebrow { color: var(--gold-soft); }
.blessings-note .ornament-cap   { color: var(--gold-soft); }
.blessings-note .script-heading { color: #f8e3a8; }
.blessings-text {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  color: #fff7e6;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* RSVP */
.rsvp-line {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  line-height: 1.8;
}
.rsvp-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-royal {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(180deg, var(--pink) 0%, var(--pink-deep) 100%);
  color: #fff;
  border: 1px solid var(--pink-deep);
  transition: all 0.4s var(--ease);
}
.btn-royal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(142, 33, 72, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--pink-deep);
}
.btn-outline:hover { background: var(--pink); color: #fff; }
.rsvp-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 2rem;
  opacity: 0.85;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  border-top: 1px solid var(--gold-soft);
  margin-top: 0;
  overflow: hidden;
}
.footer-lotus {
  position: absolute;
  width: 220px; height: 220px;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  opacity: 0.18;
  pointer-events: none;
}
.footer-monogram {
  font-family: var(--script);
  font-size: 2.6rem;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
  position: relative;
}
.footer-line {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.95rem;
  position: relative;
}
.footer-sub {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--bronze);
  margin-top: 0.6rem;
  position: relative;
}
/* Designer credit band — quiet, unobtrusive end-cap */
.credit-band {
  position: relative;
  z-index: 2;
  background: var(--cream-warm);
  text-align: center;
  padding: 0.85rem 1.5rem;
  border-top: 1px solid rgba(217, 184, 112, 0.22);
}
.credit-line {
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: 0.85;
}
.credit-line a {
  color: var(--pink-deep);
  text-decoration: none;
  margin-left: 0.4em;
  border-bottom: 1px solid rgba(142, 33, 72, 0.35);
  padding-bottom: 1px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.credit-line a:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.hero .reveal:nth-child(1).visible  { transition-delay: 0.2s; }
.hero .reveal:nth-child(2).visible  { transition-delay: 0.45s; }
.hero .reveal:nth-child(3).visible  { transition-delay: 0.7s; }
.hero .reveal:nth-child(4).visible  { transition-delay: 0.95s; }
.hero .reveal:nth-child(5).visible  { transition-delay: 1.2s; }
.hero .reveal:nth-child(6).visible  { transition-delay: 1.45s; }
.hero .reveal:nth-child(7).visible  { transition-delay: 1.7s; }
.hero .reveal:nth-child(8).visible  { transition-delay: 1.95s; }
.hero .reveal:nth-child(9).visible  { transition-delay: 2.2s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 880px) {
  .story-timeline { grid-template-columns: 1fr; gap: 2.5rem; }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hero { padding: 1.5rem 1.25rem 3rem; }
  .lotus { width: 200px; height: 200px; bottom: -30px; }
  .lotus-bl { left: -30px; }
  .lotus-br { right: -30px; }
  .hero-ganpati { width: 90px; height: 100px; }

  .curtain-strands .strand-3 { display: none; }
  .curtain-strands .strand { width: 50px; }
  .curtain-ganpati { width: 80px; height: 90px; }
  .c-lotus-tr  { width: 240px; height: 240px; top: -60px; right: -60px; }
  .c-lotus-tr2 { display: none; }
  .c-lotus-bl  { width: 240px; height: 240px; bottom: -60px; left: -60px; }
  .c-lotus-bl2 { display: none; }

  .couple-grid { grid-template-columns: 1fr; }
  .couple-amp::before, .couple-amp::after {
    width: 50px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .couple-amp { padding: 0.5rem 0; }

  .section { padding: 2.5rem 1.25rem; }
  .invitation { padding-bottom: 1.25rem; }
  .couple { padding-top: 1.25rem; }
  .ceremony-card { padding: 2rem 1.25rem; }

  .big-date { gap: 0.8rem; }
  .bd-month, .bd-year { font-size: 0.95rem; letter-spacing: 0.2em; }
  .bd-bar { font-size: 1.2rem; }

  .countdown { gap: 0.4rem; }
  .cd-cell { min-width: 70px; padding: 1rem 0.5rem; }
  .cd-sep { font-size: 1.2rem; }

  .dress-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .rsvp-actions { flex-direction: column; align-items: center; }
  .btn-royal { width: 100%; max-width: 320px; }
  .curtain-strands .strand-2,
  .curtain-strands .strand-3 { display: none; }
  .curtain-strands .strand { width: 44px; height: 560px !important; }
  .curtain-strands { gap: 0; }

  .countdown { gap: 0.3rem; }
  .cd-cell { min-width: 0; flex: 1; padding: 0.8rem 0.4rem; }
  .cd-sep { display: none; }
  .cd-num { font-size: 1.6rem; }
  .cd-lbl { font-size: 0.6rem; letter-spacing: 0.2em; }
}

/* =========================================================
   Audio toggle (floating, bottom-right)
   ========================================================= */
.audio-toggle {
  position: fixed;
  bottom: 1.4rem;
  right: 1.4rem;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,253,246,0.9), rgba(247,239,222,0.9));
  border: 1px solid var(--gold-soft);
  color: var(--gold-deep);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(160, 127, 58, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.6s var(--ease);
  opacity: 0;
}
.audio-toggle.ready { opacity: 1; }
.audio-toggle:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(160, 127, 58, 0.25); }
.audio-toggle svg { width: 22px; height: 22px; }
.audio-toggle .ic-off { display: none; }
.audio-toggle.muted .ic-on  { display: none; }
.audio-toggle.muted .ic-off { display: block; }
.audio-toggle.playing::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0;
  animation: pulseRing 2.4s ease-out infinite;
}
@keyframes pulseRing {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.5); }
}
@media (max-width: 480px) {
  .audio-toggle { bottom: 1rem; right: 1rem; width: 42px; height: 42px; }
  .audio-toggle svg { width: 19px; height: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
