:root {
  --ivory: #f8f2e8;
  --ivory-deep: #efe2d0;
  --burgundy: #741f32;
  --gold: #c5a46d;
  --rose: #d6a1a8;
  --green: #28382f;
  --ink: #2b1d1e;
  --shadow: 0 24px 80px rgba(66, 32, 24, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --script: "Parisienne", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(214, 161, 168, .28), transparent 34rem),
    linear-gradient(115deg, rgba(197, 164, 109, .12), transparent 35%),
    var(--ivory);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: .26;
  background-image:
    linear-gradient(45deg, rgba(197, 164, 109, .16) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(116, 31, 50, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1rem;
  overflow: hidden;
  color: var(--burgundy);
  background: var(--ivory);
  transition: opacity .9s ease, visibility .9s ease;
}

.loader.is-done {
  visibility: hidden;
  opacity: 0;
}

.dust {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(197, 164, 109, .62) 0 1px, transparent 2px);
  background-size: 42px 42px;
  animation: floatDust 4s linear infinite;
  opacity: .35;
}

.loader-emblem {
  position: relative;
  width: 9rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(197, 164, 109, .5);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2.1rem;
  letter-spacing: .08em;
}

.loader-emblem::before,
.loader-emblem::after {
  position: absolute;
  inset: -.7rem;
  content: "";
  border: 1px solid rgba(197, 164, 109, .36);
  border-radius: 50%;
  border-left-color: transparent;
  animation: turn 2.4s ease-in-out infinite;
}

.loader-emblem::after {
  inset: -1.2rem;
  animation-direction: reverse;
}

.loader p,
.loader h1 {
  position: relative;
  margin: 0;
}

.loader p {
  font-size: .8rem;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.loader h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 4.8rem);
  font-weight: 500;
  opacity: 0;
  transform: translateY(18px);
  animation: loaderName 1.2s ease .8s forwards;
}

.loader-stroke {
  position: absolute;
  top: 50%;
  width: 34vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.loader-stroke-left {
  left: 4vw;
  animation: meetLeft 2s ease forwards;
}

.loader-stroke-right {
  right: 4vw;
  animation: meetRight 2s ease forwards;
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  color: var(--ivory);
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}

.site-nav.is-scrolled {
  color: var(--burgundy);
  background: rgba(248, 242, 232, .78);
  box-shadow: 0 14px 38px rgba(56, 27, 24, .08);
  backdrop-filter: blur(18px);
}

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

.site-nav nav {
  display: flex;
  gap: clamp(.7rem, 2.4vw, 1.8rem);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.nav-location,
.floating-location,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: .8rem 1.25rem;
  border: 1px solid rgba(197, 164, 109, .64);
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--ivory);
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.button {
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .34), transparent 78%);
  transform: translateX(-120%);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(58, 20, 25, .16);
}

.button:hover::after {
  animation: cardSheen .9s ease;
}

.button.secondary {
  color: var(--burgundy);
  background: rgba(255, 255, 255, .25);
}

.button.light {
  color: var(--burgundy);
  background: var(--ivory);
}

.button.ghost {
  color: var(--ivory);
  border-color: rgba(248, 242, 232, .48);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 34rem);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 7.5rem clamp(1rem, 6vw, 6rem) 5rem;
  overflow: hidden;
  color: var(--ivory);
  background:
    linear-gradient(110deg, rgba(41, 20, 23, .75), rgba(116, 31, 50, .62)),
    url("img/img5.jpeg") center / cover fixed;
}

.hero::after,
.quote-scene::after,
.finale::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 45% 35%, transparent 0 18rem, rgba(20, 9, 12, .5));
  pointer-events: none;
}

.hero-copy,
.hero-portrait,
.finale-copy,
.quote-scene blockquote {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 .85rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h2,
.section-intro h2,
.date-lockup,
.event h3,
.venue h2,
.finale h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: .92;
}

.hero h2 {
  display: grid;
  gap: .1rem;
  font-size: clamp(4rem, 12vw, 8.2rem);
}

.hero h2 span {
  animation: softFloat 6s ease-in-out infinite alternate;
}

.hero h2 span:last-child {
  animation-delay: -2.4s;
}

.hero h2 small {
  color: var(--gold);
  font-family: var(--script);
  font-size: .42em;
}

.invitation {
  max-width: 28rem;
  margin: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

.hero-details {
  display: grid;
  gap: .35rem;
  margin: 0 0 1.5rem;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-details strong {
  color: var(--gold);
}

.hero-portrait {
  align-self: end;
}

.arch-frame {
  position: relative;
  height: min(72svh, 46rem);
  min-height: 32rem;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, .58);
  border-radius: 17rem 17rem 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.arch-frame::after {
  position: absolute;
  inset: .8rem;
  content: "";
  border: 1px solid rgba(248, 242, 232, .52);
  border-radius: 16rem 16rem .8rem .8rem;
  pointer-events: none;
}

.hero-portrait p {
  position: absolute;
  right: -1.2rem;
  bottom: 3rem;
  margin: 0;
  color: var(--gold);
  font-family: var(--script);
  font-size: clamp(1.8rem, 5vw, 3.3rem);
  transform: rotate(-8deg);
}

.jaali {
  position: absolute;
  left: -3rem;
  bottom: -2rem;
  width: 11rem;
  aspect-ratio: 1;
  opacity: .42;
  background:
    radial-gradient(circle at 50% 0, transparent 35%, rgba(197, 164, 109, .55) 36% 38%, transparent 39%),
    radial-gradient(circle at 0 50%, transparent 35%, rgba(197, 164, 109, .55) 36% 38%, transparent 39%);
  background-size: 2rem 2rem;
}

.section-bloom::before {
  position: absolute;
  width: 20rem;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 161, 168, .42), transparent 66%);
  filter: blur(4px);
  pointer-events: none;
}

.hero.section-bloom::before {
  right: -7rem;
  top: 8rem;
}

.petals span {
  position: absolute;
  z-index: 3;
  top: 18%;
  width: .8rem;
  height: 1.25rem;
  border-radius: 80% 12% 80% 12%;
  background: rgba(214, 161, 168, .74);
  animation: petal 9s linear infinite;
}

.petals span:nth-child(1) { left: 12%; animation-delay: 0s; }
.petals span:nth-child(2) { left: 34%; animation-delay: 2s; }
.petals span:nth-child(3) { left: 72%; animation-delay: 4s; }
.petals span:nth-child(4) { left: 86%; animation-delay: 6s; }

.story,
.families,
.gallery,
.warm-regards,
.venue,
.date-section,
.countdown-section {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 6vw, 6rem);
}

.section-intro {
  max-width: 44rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-intro h2 {
  color: var(--burgundy);
  font-size: clamp(2.7rem, 7vw, 5.8rem);
}

.story {
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.story-lines {
  position: absolute;
  inset: 18% 0 auto;
  height: 18rem;
}

.botanical-line,
.geo-line,
.joining-thread {
  position: absolute;
  top: 50%;
  width: 43%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.botanical-line {
  left: 0;
}

.botanical-line::after {
  position: absolute;
  right: 3rem;
  top: -.55rem;
  width: 1.1rem;
  height: 1.1rem;
  content: "";
  border-radius: 100% 0;
  background: var(--green);
  transform: rotate(45deg);
}

.geo-line {
  right: 0;
  background: linear-gradient(270deg, transparent, var(--gold));
}

.geo-line::after {
  position: absolute;
  left: 3rem;
  top: -.45rem;
  width: .9rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.union-mark {
  width: 8.6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: -1.2rem auto 1.8rem;
  color: var(--burgundy);
  border: 1px solid rgba(197, 164, 109, .7);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.9rem;
  background: rgba(248, 242, 232, .85);
  box-shadow: 0 0 50px rgba(197, 164, 109, .38);
  animation: softGlow 3.8s ease-in-out infinite alternate;
}

.story-copy {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(43, 29, 30, .82);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.25;
}

.date-section {
  overflow: hidden;
  background: linear-gradient(180deg, transparent, rgba(197, 164, 109, .12), transparent);
}

.date-card {
  max-width: 48rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem);
  text-align: center;
  border-block: 1px solid rgba(197, 164, 109, .5);
}

.date-lockup span {
  display: block;
  color: var(--burgundy);
  font-size: clamp(7rem, 24vw, 15rem);
}

.date-lockup strong,
.date-lockup em {
  display: block;
  color: var(--green);
  font-size: clamp(2.2rem, 8vw, 5.2rem);
  font-style: normal;
  text-transform: uppercase;
}

.date-lockup em {
  color: var(--gold);
  font-size: clamp(1.8rem, 6vw, 4rem);
}

.venue-line {
  margin: 1.4rem 0;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
}

.family-flow {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  text-align: center;
}

.family-flow h3 {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
}

.family-flow p {
  color: rgba(43, 29, 30, .58);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.family-flow strong {
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
}

.joining-thread {
  position: static;
  display: block;
  width: clamp(3rem, 10vw, 7rem);
  background: linear-gradient(90deg, var(--gold), var(--rose), var(--gold));
}

.celebrations {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 6vw, 6rem);
  overflow: hidden;
  color: var(--burgundy);
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 161, 168, .32), transparent 18rem),
    radial-gradient(circle at 86% 72%, rgba(197, 164, 109, .2), transparent 24rem),
    linear-gradient(135deg, #fbf4ea 0%, #edd7ca 48%, #d8aeb1 100%);
}

.celebrations::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .22;
  background-image:
    linear-gradient(120deg, transparent 0 48%, rgba(197, 164, 109, .3) 49% 50%, transparent 51%),
    radial-gradient(circle, rgba(116, 31, 50, .2) 0 1px, transparent 1.5px);
  background-size: 7rem 7rem, 5rem 5rem;
  pointer-events: none;
}

.celebration-glow {
  position: absolute;
  left: -10rem;
  top: 18%;
  width: 22rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(197, 164, 109, .2);
  filter: blur(36px);
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.celebrations .section-intro h2 {
  color: var(--burgundy);
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(2.9rem, 6.4vw, 5.9rem);
}

.celebration-stage {
  position: relative;
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(18rem, .86fr) minmax(24rem, 1.14fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.celebration-stage::before {
  position: absolute;
  left: calc(43% + 1rem);
  top: 6%;
  bottom: 6%;
  width: 1px;
  content: "";
  background: linear-gradient(transparent, rgba(197, 164, 109, .92), rgba(116, 31, 50, .28), transparent);
  transform-origin: top;
  animation: threadPulse 4s ease-in-out infinite;
}

.celebration-photos {
  position: relative;
  min-height: 33rem;
}

.celebration-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, .5);
  box-shadow: 0 28px 70px rgba(116, 31, 50, .16);
}

.celebration-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(116, 31, 50, .22));
}

.celebration-photo img {
  transform: scale(1.04);
  animation: imageBreath 8s ease-in-out infinite alternate;
}

.main-photo {
  inset: 0 3rem 0 0;
  border-radius: 15rem 15rem 0 0;
  mask-image: linear-gradient(to bottom, #000 0 84%, transparent 100%);
}

.event-flow {
  display: grid;
  gap: clamp(1.3rem, 3vw, 2rem);
}

.event {
  position: relative;
  min-height: 16rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: .8rem;
  padding: clamp(1.35rem, 3vw, 2.4rem);
  border: 1px solid rgba(197, 164, 109, .42);
  border-left: 0;
  border-radius: 0 .7rem .7rem 0;
  background:
    linear-gradient(110deg, rgba(255, 251, 244, .76), rgba(255, 251, 244, .42)),
    rgba(255, 255, 255, .26);
  box-shadow: 0 22px 62px rgba(116, 31, 50, .08);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.event > * {
  position: relative;
  z-index: 1;
}

.event::before {
  position: absolute;
  left: -2.45rem;
  top: 50%;
  width: .9rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 0 .45rem rgba(197, 164, 109, .14), 0 0 24px rgba(197, 164, 109, .35);
  transform: translateY(-50%);
}

.event::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(120deg, transparent, rgba(197, 164, 109, .14), transparent);
  border-radius: inherit;
  transform: translateX(-55%);
  transition: opacity .4s ease;
}

.event:hover::after {
  opacity: 1;
  animation: cardSheen 1.3s ease;
}

.event span {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.event h3 {
  color: var(--burgundy);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.event time,
.event strong {
  color: var(--gold);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.event p {
  max-width: 32rem;
  margin: 0;
  color: rgba(43, 29, 30, .78);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

.wedding-event {
  min-height: 19rem;
  background:
    linear-gradient(110deg, rgba(255, 251, 244, .86), rgba(248, 242, 232, .52)),
    rgba(255, 255, 255, .32);
}

.event-sangeet {
  margin-right: clamp(0rem, 6vw, 4rem);
}

.countdown-section {
  text-align: center;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(.7rem, 2vw, 2rem);
  color: var(--burgundy);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.8vw, 2.4rem);
}

.countdown span {
  min-width: 9rem;
}

.countdown strong {
  display: block;
  font-size: clamp(3rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: .9;
  transition: opacity .25s ease, transform .25s ease;
}

.countdown strong.is-ticking {
  opacity: .72;
  transform: translateY(-4px);
}

.photo-story {
  max-width: 76rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.8rem, 2vw, 1.6rem);
  align-items: end;
}

.photo {
  position: relative;
  min-height: 18rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, .5);
  box-shadow: var(--shadow);
  clip-path: inset(0 0 0 0 round 1.1rem);
}

.photo img {
  filter: saturate(.82);
  transition: filter 1s ease, transform 1.2s ease;
}

.photo.is-visible img {
  filter: saturate(1);
  transform: scale(1.03);
}

.photo.large {
  grid-column: 1 / 8;
  height: 38rem;
}

.photo.overlap {
  grid-column: 7 / 13;
  height: 25rem;
  margin-left: -3rem;
  margin-bottom: 2rem;
}

.photo.wide {
  grid-column: 2 / 12;
  height: 30rem;
}

.photo:not(.large):not(.overlap):not(.wide):not(.portrait):not(.cinematic) {
  grid-column: 1 / 6;
  height: 27rem;
}

.photo.portrait {
  grid-column: 6 / 10;
  height: 36rem;
}

.photo.cinematic {
  grid-column: 9 / 13;
  height: 27rem;
}

.quote-scene,
.finale {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--ivory);
  text-align: center;
}

.quote-scene img,
.finale > img {
  position: absolute;
  inset: 0;
  filter: brightness(.54);
  transform: scale(1.08);
}

.quote-scene blockquote {
  margin: 0;
  padding: 0 1rem;
}

.quote-scene p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 8vw, 7rem);
  line-height: 1.02;
}

.quote-scene cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--gold);
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.venue-panel {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.venue h2 {
  color: var(--burgundy);
  font-size: clamp(3.2rem, 9vw, 7rem);
}

.venue-panel > p:not(.eyebrow) {
  margin: .8rem 0 1.8rem;
  font-family: var(--serif);
  font-size: 1.8rem;
}

.map-preview {
  position: relative;
  height: 18rem;
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid rgba(197, 164, 109, .58);
  background:
    linear-gradient(115deg, rgba(116, 31, 50, .16), transparent),
    repeating-linear-gradient(45deg, rgba(197, 164, 109, .16) 0 1px, transparent 1px 24px),
    var(--ivory-deep);
}

.map-preview span {
  position: absolute;
  height: 1px;
  background: rgba(116, 31, 50, .38);
  transform: rotate(-18deg);
}

.map-preview span:nth-child(1) { top: 28%; left: -5%; width: 70%; }
.map-preview span:nth-child(2) { top: 60%; right: -8%; width: 76%; transform: rotate(16deg); }
.map-preview span:nth-child(3) { top: 12%; left: 44%; width: 1px; height: 92%; transform: rotate(10deg); }

.map-preview strong {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 8rem;
  aspect-ratio: 1;
  color: var(--burgundy);
  background: rgba(248, 242, 232, .9);
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.regards-list {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.regards-list p {
  margin: 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.regards-list span {
  width: 5.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.finale-copy {
  width: min(58rem, calc(100% - 2rem));
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding: 5rem 0;
}

.finale-copy p {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  color: var(--gold);
}

.finale h2 {
  font-size: clamp(3.4rem, 10vw, 8rem);
}

.finale strong {
  color: var(--gold);
  letter-spacing: .22em;
}

.finale span {
  max-width: 36rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

footer {
  padding: 3rem 1rem 5rem;
  text-align: center;
  color: var(--burgundy);
  background: var(--ivory);
}

footer strong {
  font-family: var(--serif);
  font-size: 2rem;
}

footer p {
  margin: .5rem 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

footer small {
  color: rgba(43, 29, 30, .48);
}

.floating-location,
.music-toggle,
.enter-button {
  position: fixed;
  z-index: 18;
}

.floating-location {
  right: 1rem;
  bottom: 1rem;
  color: var(--ivory);
  background: var(--burgundy);
  box-shadow: 0 18px 44px rgba(40, 19, 22, .22);
}

.music-toggle {
  right: 1rem;
  bottom: 4.75rem;
  width: 3.1rem;
  height: 3.1rem;
  display: grid;
  place-items: center;
  color: var(--burgundy);
  background: rgba(248, 242, 232, .9);
  border: 1px solid rgba(197, 164, 109, .7);
  border-radius: 50%;
  box-shadow: 0 16px 42px rgba(40, 19, 22, .16);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform .25s ease, background .25s ease;
}

.music-toggle:hover {
  transform: translateY(-2px);
  background: var(--ivory);
}

.music-toggle::before {
  position: absolute;
  inset: .45rem;
  content: "";
  border: 1px solid rgba(197, 164, 109, .45);
  border-radius: 50%;
  animation: musicPulse 2.4s ease-in-out infinite;
}

.music-icon {
  position: relative;
  width: 1.15rem;
  height: 1rem;
}

.music-icon::before {
  position: absolute;
  left: 0;
  top: .32rem;
  width: .38rem;
  height: .42rem;
  content: "";
  background: currentColor;
  border-radius: .08rem;
}

.music-icon::after {
  position: absolute;
  left: .36rem;
  top: .15rem;
  width: .62rem;
  height: .7rem;
  content: "";
  border: solid currentColor;
  border-width: 0 .14rem .14rem 0;
  transform: skewY(-20deg);
}

.music-toggle.is-muted .music-icon {
  opacity: .72;
}

.music-toggle.is-muted .music-icon::after {
  box-shadow: .42rem -.1rem 0 -.24rem currentColor;
}

.music-toggle.is-muted::after {
  position: absolute;
  width: 1.55rem;
  height: 2px;
  content: "";
  background: var(--burgundy);
  transform: rotate(-42deg);
}

.enter-button {
  left: 50%;
  bottom: 1rem;
  min-height: 3rem;
  padding: .85rem 1.2rem;
  color: var(--burgundy);
  background: rgba(248, 242, 232, .9);
  border: 1px solid rgba(197, 164, 109, .75);
  border-radius: 999px;
  font: 600 .72rem var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

.enter-button.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s ease, transform .9s ease;
}

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

@keyframes turn {
  to { transform: rotate(360deg); }
}

@keyframes floatDust {
  to { background-position: 42px 84px; }
}

@keyframes loaderName {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes meetLeft {
  to { transform: translateX(18vw); }
}

@keyframes meetRight {
  to { transform: translateX(-18vw); }
}

@keyframes petal {
  0% { opacity: 0; transform: translateY(-12vh) rotate(0deg); }
  20% { opacity: .75; }
  100% { opacity: 0; transform: translateY(90vh) translateX(8vw) rotate(210deg); }
}

@keyframes glowDrift {
  to { transform: translate(16rem, 5rem) scale(1.15); }
}

@keyframes threadPulse {
  0%, 100% { opacity: .5; transform: scaleY(.82); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes imageBreath {
  to { transform: scale(1.1) translateY(-1.2%); }
}

@keyframes cardSheen {
  to { transform: translateX(120%); }
}

@keyframes softFloat {
  to { transform: translateY(-8px); }
}

@keyframes softGlow {
  to { box-shadow: 0 0 70px rgba(197, 164, 109, .62); }
}

@keyframes musicPulse {
  0%, 100% { opacity: .26; transform: scale(.88); }
  50% { opacity: .72; transform: scale(1.08); }
}

@media (max-width: 860px) {
  .site-nav {
    padding: .8rem 1rem;
  }

  .site-nav nav {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    z-index: 20;
    width: min(92vw, 28rem);
    justify-content: space-around;
    padding: .9rem;
    color: var(--burgundy);
    background: rgba(248, 242, 232, .9);
    border: 1px solid rgba(197, 164, 109, .38);
    border-radius: 999px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    transform: translateX(-50%);
  }

  .nav-location {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6rem;
    background-attachment: scroll;
  }

  .hero-copy {
    order: 2;
  }

  .hero-portrait {
    order: 1;
    width: min(28rem, 100%);
    margin: 0 auto;
  }

  .arch-frame {
    height: 32rem;
    min-height: 0;
  }

  .hero h2 {
    font-size: clamp(3.8rem, 18vw, 6.6rem);
  }

  .family-flow {
    grid-template-columns: 1fr;
  }

  .celebration-stage {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .celebration-stage::before {
    left: 1.1rem;
    top: auto;
    bottom: 3rem;
    height: 28rem;
  }

  .celebration-photos {
    min-height: 29rem;
    width: min(100%, 34rem);
    margin: 0 auto;
  }

  .event-flow {
    padding-left: 2.2rem;
  }

  .event::before {
    left: -1.55rem;
  }

  .event-sangeet {
    margin-right: 0;
  }

  .joining-thread {
    width: 1px;
    height: 4rem;
    justify-self: center;
  }

  .photo-story {
    grid-template-columns: 1fr;
  }

  .photo,
  .photo.large,
  .photo.overlap,
  .photo.wide,
  .photo.portrait,
  .photo.cinematic,
  .photo:not(.large):not(.overlap):not(.wide):not(.portrait):not(.cinematic) {
    grid-column: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 5;
    margin: 0;
  }

  .photo.wide,
  .photo.cinematic {
    aspect-ratio: 16 / 11;
  }

  .countdown span {
    min-width: 8rem;
  }

  .loader-stroke {
    width: 22vw;
  }

  .floating-location {
    display: none;
  }

  .music-toggle {
    right: 1rem;
    bottom: 5.55rem;
  }

  .enter-button {
    bottom: 5.6rem;
    width: min(90vw, 24rem);
  }
}

@media (max-width: 520px) {
  .site-nav nav {
    gap: .2rem;
    font-size: .62rem;
  }

  .button {
    width: 100%;
  }

  .actions {
    width: 100%;
  }

  .hero,
  .story,
  .families,
  .gallery,
  .warm-regards,
  .venue,
  .date-section,
  .countdown-section,
  .celebrations {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .event {
    min-height: 19rem;
  }

  .celebration-photos {
    min-height: 24rem;
  }

  .main-photo {
    inset: 0 8% 3rem 0;
  }
}

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

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