:root {
  color-scheme: light;
  --ink: #442323;
  --wine: #692a3d;
  --wine-deep: #461326;
  --wine-rich: #642139;
  --paper: #fff6e4;
  --gold: #e3ad61;
  --line: #d8aa66;
  --serif: Georgia, "Nirmala UI", serif;
  --sans: system-ui, "Nirmala UI", sans-serif;
  --hero-serif: "Cormorant Garamond", "Noto Serif Devanagari", Georgia, "Nirmala UI", serif;
  --hero-sans: "Plus Jakarta Sans", system-ui, "Nirmala UI", sans-serif;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--wine-deep); color: var(--ink); font: 1rem/1.55 var(--sans); }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #e3a63d; outline-offset: 4px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.topbar {
  position: absolute;
  z-index: 3;
  inset: max(.9rem, env(safe-area-inset-top)) 1.15rem auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--paper);
}
.monogram {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  min-height: 44px;
  padding: .25rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  font: 500 1.25rem var(--hero-serif);
  letter-spacing: .12em;
  transition: opacity 200ms var(--ease-luxury), transform 180ms var(--ease-luxury);
}
.monogram span { font-style: italic; color: var(--gold); }
.monogram:active { transform: scale(0.97); }
.languages {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(235, 198, 134, 0.45);
  border-radius: 999px;
  background: rgba(38, 9, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 246, 228, 0.12);
}
.languages button {
  min-width: 44px;
  min-height: 38px;
  padding: .15rem .65rem;
  color: inherit;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 500 .85rem var(--hero-sans);
  transition: background-color 220ms var(--ease-luxury), color 220ms var(--ease-luxury), transform 140ms var(--ease-luxury);
}
.languages button:active { transform: scale(0.96); }
.languages button[aria-pressed="true"] {
  color: var(--wine-deep);
  background: #fff3d7;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(5.2rem, 10svh, 6.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 6svh, 4rem);
  background:
    radial-gradient(ellipse 80% 65% at 75% 42%, rgba(164, 62, 92, 0.36), transparent 64%),
    radial-gradient(ellipse 60% 55% at 15% 85%, rgba(122, 34, 62, 0.42), transparent 60%),
    linear-gradient(160deg, #431124 0%, #5b1b32 52%, #4a1529 100%);
  color: var(--paper);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(227, 173, 97, 0.55) 20%, rgba(227, 173, 97, 0.55) 80%, transparent);
  pointer-events: none;
}
.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: min(62vw, 42rem);
  aspect-ratio: 1;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 180, 94, 0.22) 0%, rgba(227, 173, 97, 0.06) 45%, transparent 72%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}
.hero-ornament {
  position: absolute;
  width: clamp(5rem, 9vw, 8rem);
  height: auto;
  color: rgba(227, 173, 97, 0.28);
}
.hero-ornament-tl {
  top: clamp(4.2rem, 8svh, 5.2rem);
  left: clamp(1rem, 2.8vw, 2.5rem);
}
.hero-ornament-bl {
  bottom: clamp(1.2rem, 3svh, 2rem);
  left: clamp(1rem, 2.8vw, 2.5rem);
  transform: scaleY(-1);
}

.hero-grid {
  width: min(100%, 75rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5rem);
}

.hero-content {
  display: grid;
  justify-items: start;
  gap: clamp(1.15rem, 2.6svh, 1.8rem);
  text-align: start;
}

.hero-eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  max-width: 100%;
  padding: .38rem .9rem .38rem .55rem;
  border: 1px solid rgba(227, 173, 97, 0.34);
  border-radius: 999px;
  background: rgba(255, 246, 228, 0.05);
}
.hero-lotus {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(227, 173, 97, 0.16);
  color: var(--gold);
}
.hero-lotus svg { width: 15px; height: 15px; }
.hero .eyebrow {
  margin: 0;
  color: #f6ddb0;
  font: 600 clamp(.64rem, 2.35vw, .75rem)/1.25 var(--hero-sans);
  text-transform: uppercase;
  letter-spacing: clamp(.08em, 1.3vw, .18em);
  text-wrap: balance;
}

.eyebrow { margin: 0 0 .75rem; font: 700 .875rem/1.4 var(--sans); text-transform: uppercase; letter-spacing: .15em; }

.hero-title {
  display: grid;
  gap: .08em;
  margin: 0;
  font: 500 clamp(2.85rem, 6.2vw, 5.25rem)/.96 var(--hero-serif);
  letter-spacing: -.025em;
  color: #fff8ea;
  text-shadow: 0 10px 30px rgba(20, 4, 10, 0.38);
  text-wrap: balance;
}
.hero-amp {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: .12em 0;
  color: var(--gold);
  font: italic 400 clamp(1.15rem, 2.1vw, 1.55rem)/1 var(--hero-serif);
  letter-spacing: .06em;
}
.hero-rule {
  width: clamp(1.6rem, 4vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(227, 173, 97, 0.15), rgba(227, 173, 97, 0.85));
}
.hero-amp .hero-rule:last-child {
  background: linear-gradient(90deg, rgba(227, 173, 97, 0.85), rgba(227, 173, 97, 0.15));
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  width: min(100%, 30rem);
  margin: .2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(227, 173, 97, 0.28);
  border-bottom: 1px solid rgba(227, 173, 97, 0.28);
}
.hero-meta-item {
  display: grid;
  gap: .2rem;
}
.hero-meta dt {
  font: 600 .7rem/1.2 var(--hero-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 221, 176, 0.72);
}
.hero-meta dd {
  margin: 0;
  font: 500 clamp(1.05rem, 1.5vw, 1.2rem)/1.35 var(--hero-serif);
  font-variant-numeric: tabular-nums;
  color: var(--paper);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.5rem;
  padding-top: .25rem;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-height: 48px;
  padding: .38rem .42rem .38rem 1.35rem;
  border-radius: 999px;
  background: var(--paper);
  color: var(--wine-deep);
  text-decoration: none;
  font: 600 .92rem/1 var(--hero-sans);
  box-shadow: 0 14px 30px -8px rgba(18, 4, 10, 0.55), inset 0 1px 0 #ffffff;
  transition: transform 200ms var(--ease-luxury), background-color 220ms var(--ease-luxury), box-shadow 220ms var(--ease-luxury);
}
.hero-cta-badge {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wine-rich);
  color: var(--paper);
  transition: transform 280ms var(--ease-luxury), background-color 220ms var(--ease-luxury);
}
.hero-cta-badge svg { width: 15px; height: 15px; }
.hero-cta:active { transform: scale(0.97); }

.hero-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .25rem 0;
  color: #f6ddb0;
  text-decoration: none;
  font: 500 .92rem/1.2 var(--hero-sans);
  letter-spacing: .02em;
  border-bottom: 1px solid rgba(227, 173, 97, 0.42);
  transition: color 200ms var(--ease-luxury), border-color 200ms var(--ease-luxury);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 27.5rem);
  padding-bottom: 1rem;
}
.hero-arch-outer {
  position: relative;
  padding: 10px;
  border-radius: 50% 50% 1.85rem 1.85rem / 38% 38% 1.85rem 1.85rem;
  border: 1px solid rgba(227, 173, 97, 0.5);
  background: linear-gradient(165deg, rgba(255, 246, 228, 0.12), rgba(227, 173, 97, 0.04));
  box-shadow:
    0 28px 64px -12px rgba(18, 4, 10, 0.68),
    inset 0 1px 0 rgba(255, 248, 232, 0.25);
}
.hero-arch-inner {
  position: relative;
  aspect-ratio: 4 / 5.15;
  overflow: hidden;
  border: 1.5px solid #e3ad61;
  border-radius: 50% 50% 1.25rem 1.25rem / 37% 37% 1.25rem 1.25rem;
  background: #2f0d1b;
}
.hero-arch-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(47, 12, 26, 0.45), transparent 28%),
    radial-gradient(ellipse at 50% 10%, rgba(255, 224, 168, 0.2), transparent 56%);
  box-shadow: inset 0 0 28px rgba(40, 10, 22, 0.28);
}
.hero-arch-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: saturate(0.94) contrast(1.03);
  transform: translate3d(0, var(--hero-img-y, 0px), 0) scale(1.06);
  will-change: transform;
}

.hero-seal {
  position: absolute;
  left: -1.1rem;
  bottom: 0;
  display: grid;
  justify-items: center;
  gap: .15rem;
  padding: .75rem 1.15rem;
  border: 4px double #b6803e;
  border-radius: 1rem;
  background: radial-gradient(circle at 30% 25%, #fffaf0, #f5e9d2);
  color: var(--wine-deep);
  box-shadow:
    0 0 0 2px rgba(227, 173, 97, 0.45),
    0 18px 36px -8px rgba(18, 4, 10, 0.62);
  transform: translate3d(0, var(--hero-seal-y, 0px), 0);
}
.hero-seal-monogram {
  font: 600 1.2rem/1.1 var(--hero-serif);
  letter-spacing: .12em;
}
.hero-seal-monogram i { font-style: italic; color: #8c5823; }
.hero-seal-jubilee {
  font: 600 .62rem/1.1 var(--hero-sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8c5823;
}
.hero-seal-date {
  font: 600 .68rem/1 var(--hero-sans);
  letter-spacing: .16em;
  font-variant-numeric: tabular-nums;
  color: #713c43;
}

.motion-enabled .hero-enter {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: heroEnter 720ms var(--ease-luxury) forwards;
  animation-delay: calc(var(--stagger, 0) * 75ms);
}
@keyframes heroEnter {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .monogram:hover { opacity: .82; }
  .languages button:hover:not([aria-pressed="true"]) { background: rgba(255, 243, 215, 0.12); }
  .hero-cta:hover {
    background: #fffdf8;
    box-shadow: 0 18px 36px -8px rgba(18, 4, 10, 0.65), inset 0 1px 0 #ffffff;
  }
  .hero-cta:hover .hero-cta-badge {
    transform: translateY(2px);
    background: var(--wine-deep);
  }
  .hero-secondary:hover {
    color: var(--paper);
    border-color: var(--gold);
  }
}

.formal, .venue { display: grid; place-items: center; padding: clamp(3.5rem, 11vh, 7.5rem) 1.3rem; text-align: center; }
.formal {
  position: relative;
  isolation: isolate;
  padding: clamp(8.5rem, 28vw, 20rem) 1rem clamp(4rem, 10vw, 8rem);
  background: linear-gradient(var(--wine-deep), #fff9e7 clamp(9rem, 28vw, 22rem), #fff9e7 72%, #e8f2f4);
}
.formal-arch {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  mask-image: linear-gradient(transparent, black 7%, black 68%, transparent);
}
.venue-panel {
  width: min(100%, 32rem);
  padding: clamp(2.5rem, 8vh, 5rem) .85rem;
  border: 6px double #ac7837;
  border-radius: 50% 50% 2.5rem 2.5rem / 4rem 4rem 2.5rem 2.5rem;
  background: var(--paper);
  box-shadow: 0 0 0 5px #e3ad61, 0 1.1rem 2.8rem #3f241c66;
}
.formal-card {
  width: min(100%, 35rem);
  padding: clamp(.8rem, 2vw, 1.6rem) .55rem;
}
.courtyard::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 0 auto;
  height: min(17svh, 9rem);
}
.formal-names {
  display: grid;
  justify-content: center;
  gap: .08em;
  margin: 0 0 .8rem;
  font: normal clamp(2.35rem, 7vw, 4rem)/1.01 var(--serif);
  letter-spacing: -.045em;
}
.formal-names i { font-size: .43em; line-height: 1.35; }
.formal-card time { font: 1.15rem var(--serif); }
.formal-jubilee { margin: .35rem 0 0; font: italic .98rem var(--serif); color: #7a424d; }

.celebrations {
  display: grid;
  justify-items: center;
  gap: clamp(1.5rem, 5svh, 2.75rem);
  padding: clamp(2.5rem, 8svh, 5rem) 1.2rem clamp(3.5rem, 9svh, 7rem);
  text-align: center;
  background: #e8f2f4;
}
.celebrations > h2 { margin: 0; }
.event {
  position: relative;
  display: grid;
  align-items: end;
  width: min(83vw, 19.5rem, 54svh);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid #e2c59a;
  border-radius: .9rem;
  background: #fff3da;
  box-shadow: 0 1rem 2.8rem #604c3429;
  text-align: start;
}
.event img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-copy { position: relative; padding: 2.15rem 1rem 1.15rem; background: linear-gradient(transparent, #fff3d9 40%); }
.event h3 { margin: 0 0 .45rem; color: #4a592d; font: normal clamp(1.65rem, 5.7vw, 2.4rem)/1.05 var(--serif); letter-spacing: -.03em; }
.event time { font-size: .95rem; }
.second-language { margin: 0 0 .25rem; }
.event-anniversary h3 { color: var(--wine); }
.motion-enabled [data-scroll-in] { transform: translate3d(0, var(--entry-y, 0px), 0); }
.motion-enabled .formal-card { transform: translate3d(0, calc(var(--entry-y, 0px) * .45), 0); }

.courtyard { position: relative; height: clamp(350px, 79svh, 850px); overflow: hidden; background: #ba8e5e; }
.courtyard img { display: block; width: 100%; height: 116%; object-fit: cover; object-position: center 68%; transform: translate3d(0, var(--courtyard-y, -7%), 0); }
.courtyard::before { z-index: 1; height: min(11svh, 5rem); background: linear-gradient(#e8f2f4, transparent); }
.venue {
  grid-template-rows: minmax(29svh, auto) 1fr;
  min-height: 140svh;
  padding: 2.2rem 1.35rem 4.8rem;
  background: radial-gradient(ellipse at 15% 8%, #a7445a88, transparent 45%), radial-gradient(ellipse at 86% 94%, #983d5277, transparent 48%), #642139;
}
.venue-title { margin: 0; color: #ffedc1; font: normal clamp(2rem, 5vw, 3.5rem)/1.18 var(--serif); }
.venue-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  justify-content: center;
  width: min(100%, 62rem);
  border: 7px double #bc8b4a;
  border-radius: 50% 50% 2rem 2rem / clamp(4.5rem, 14vw, 8rem) clamp(4.5rem, 14vw, 8rem) 2rem 2rem;
  box-shadow: 0 0 0 4px #ab6d48, 0 1.2rem 2.6rem #30111970;
  background: radial-gradient(ellipse at 52% 28%, #fff8e7, #f6eddb);
}
.venue-address { margin: .55rem 0; font: normal clamp(1.75rem, 5.6vw, 3rem)/1.14 var(--serif); }
.venue-landmark { margin: 0; }
.venue-emblem {
  display: grid;
  place-content: center;
  grid-auto-flow: column;
  gap: .3em;
  align-items: baseline;
  width: clamp(6.4rem, 20vw, 9.25rem);
  aspect-ratio: .86;
  margin-top: clamp(1.65rem, 5vh, 3rem);
  border: 6px double #b07e3e;
  outline: 1px solid #a77430;
  outline-offset: 4px;
  border-radius: 1rem;
  background: #6d263c;
  color: #ffe6ac;
  font: normal clamp(1.25rem, 4vw, 1.7rem) var(--serif);
}
.venue-emblem i { font-size: .6em; }

.music { position: fixed; z-index: 4; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: grid; justify-items: end; }
.music button { display: flex; align-items: center; gap: .55rem; min-height: 44px; padding: .38rem .9rem .38rem .45rem; border: 1px solid #d797a5; border-radius: 30px; background: var(--wine); color: #fff9ea; box-shadow: 0 .25rem 1rem #44232336; font-size: .875rem; }
#music-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #ffffff22; }
#music-status { max-width: min(19rem, 85vw); margin: .45rem 0 0; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: .45rem; background: var(--paper); }

:lang(hi) .eyebrow, :lang(hi) .hero-title, :lang(hi) .formal-names, :lang(hi) .event h3 { letter-spacing: normal; }
:lang(hi) .hero-title { line-height: 1.14; }
:lang(hi) .hero-amp, :lang(hi) .formal-jubilee { font-style: normal; }
:lang(hi) .formal-names { line-height: 1.22; }
:lang(hi) .hero-meta dt, :lang(hi) .hero-seal-jubilee { letter-spacing: .04em; }

@media (min-width: 800px) {
  .topbar { inset-inline: 3.5vw; }
  .courtyard img { object-position: center 68%; }
}
@media (max-width: 860px) {
  .hero {
    padding: 5.25rem 1.25rem 4.25rem;
  }
  .hero-ornament-bl { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    text-align: center;
  }
  .hero-content {
    justify-items: center;
    text-align: center;
  }
  .hero-title {
    justify-items: center;
    font-size: clamp(2.65rem, 11vw, 3.8rem);
  }
  .hero-meta {
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    width: min(86vw, 21.5rem);
  }
  .hero-seal {
    left: 50%;
    transform: translate3d(-50%, var(--hero-seal-y, 0px), 0);
  }
}
@media (max-width: 420px) {
  .hero-meta {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
}
@media (max-width: 360px) {
  .music button { gap: 0; padding-inline: .45rem; }
  #music-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion-enabled .hero-enter { opacity: 1; transform: none; animation: none; }
  .hero-arch-inner img, .hero-seal, .courtyard img, .motion-enabled [data-scroll-in] { transform: none; }
}
