@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600&family=Great+Vibes&family=Noto+Sans+Devanagari:wght@400;500;600&family=Noto+Serif+Devanagari:wght@400;500;600&family=Yeseva+One&display=swap');

:root {
  font-family: 'DM Sans', sans-serif;
  color: #302342;
  background: #fff5e5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }:root {
  --ink: #302342;
  --indigo: #332747;
  --saffron: #df7f22;
  --marigold: #f0ae36;
  --vermilion: #a53f32;
  --ivory: #fff5e5;
  --line: rgba(83, 49, 60, .22);
}

.access-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background-color: #3b203f;
  background-image: linear-gradient(120deg, rgba(47, 27, 56, .94), rgba(117, 40, 45, .86), rgba(223, 127, 34, .28));
}

.access-page::before {
  content: '';
  position: absolute;
  inset: -35%;
  background: radial-gradient(circle at 30% 35%, rgba(240, 174, 54, .2), transparent 28%), radial-gradient(circle at 75% 70%, rgba(165, 63, 50, .24), transparent 32%);
  animation: background-glow 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.access-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 530px);
  color: var(--ivory);
  text-align: center;
  padding: 56px clamp(28px, 7vw, 64px);
  border: 1px solid rgba(240, 174, 54, .7);
  background: rgba(47, 27, 56, .82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .25);
}

.background-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.background-image.is-loaded {
  opacity: 0.4;
}

.access-panel h1 {
  font-size: clamp(50px, 9vw, 74px);
  margin: 0;
}

#access-title,
.hero-copy h1 {
  font-family: 'Great Vibes', 'Yeseva One', Georgia, serif;
  font-weight: 400;
  line-height: 0.7;
}

[lang="mr"] #access-title,
[lang="hi"] #access-title {
  font-family: 'Noto Serif Devanagari', Georgia, serif;
  font-weight: 400;
  line-height: 0.8;
}

[lang="mr"] .hero-copy h1,
[lang="hi"] .hero-copy h1 {
  font-family: 'Noto Serif Devanagari', Georgia, serif;
  font-weight: 400;
}

.language-selector {
  display: inline-flex;
  margin: 0;
}

.language-selector select {
  min-width: 86px;
  padding: 7px 22px 7px 8px;
  color: var(--ink);
  border: 1px solid rgba(48, 35, 66, .25);
  border-radius: 0;
  background: rgba(255, 245, 229, .92);
  font-size: 12px;
  line-height: 1;
}

.language-selector-dark select {
  color: var(--ivory);
  border-color: rgba(255, 245, 229, .55);
  background: rgba(47, 27, 56, .42);
}

.access-panel>.language-selector {
  position: absolute;
  top: 18px;
  right: 18px;
}

.access-copy {
  margin: 26px auto 0;
  max-width: 350px;
  line-height: 1.65;
  color: rgba(255, 245, 229, .83);
}

.access-form {
  margin-top: 31px;
  text-align: left;
}

.access-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.access-form input {
  width: 100%;
  padding: 12px 1px;
  color: var(--ivory);
  border: 0;
  border-bottom: 1px solid rgba(255, 245, 229, .6);
  border-radius: 0;
  background: transparent;
  outline-color: var(--marigold);
}

.access-form .primary-button {
  width: 100%;
  margin-top: 28px;
}

.access-error {
  margin: 22px 0 -8px;
  color: #ffd9b8;
  font-size: 14px;
  line-height: 1.5;
}

main {
  overflow: hidden;
}

.scroll-panel {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}

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

.hero-section {
  min-height: 90svh;
  color: #fffdf7;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #3b203f;
  background-image: linear-gradient(90deg, rgba(47, 27, 56, .9), rgba(165, 63, 50, .52));
}

.hero-section::after {
  content: '';
  inset: 0;
  position: absolute;
  background: linear-gradient(0deg, rgba(47, 27, 56, .65), transparent 50%), repeating-linear-gradient(90deg, transparent 0 72px, rgba(240, 174, 54, .13) 73px 74px);
  pointer-events: none;
}

.sakura-petals {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.sakura-petal {
  position: absolute;
  top: -24px;
  left: 0;
  width: 10px;
  height: 7px;
  border-radius: 100% 0 100% 0;
  background: rgba(255, 210, 205, .82);
  box-shadow: 0 0 8px rgba(255, 230, 220, .25);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.sakura-petal:nth-child(1) {
  animation-name: petal-fall-1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(2) {
  animation-name: petal-fall-2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(3) {
  animation-name: petal-fall-3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(4) {
  animation-name: petal-fall-4;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(5) {
  animation-name: petal-fall-5;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(6) {
  animation-name: petal-fall-6;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(7) {
  animation-name: petal-fall-7;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(8) {
  animation-name: petal-fall-8;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(9) {
  animation-name: petal-fall-9;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.sakura-petal:nth-child(10) {
  animation-name: petal-fall-10;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaves {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.falling-leaf {
  position: absolute;
  top: -28px;
  left: 0;
  width: 10px;
  height: 14px;
  border-radius: 100% 0 100% 0;
  background: rgba(111, 159, 83, .82);
  box-shadow: 0 0 7px rgba(49, 91, 48, .2);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  backface-visibility: hidden;
  will-change: transform, opacity;
}

.falling-leaf:nth-child(1) {
  animation-name: leaf-fall-1;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(2) {
  animation-name: leaf-fall-2;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(3) {
  animation-name: leaf-fall-3;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(4) {
  animation-name: leaf-fall-4;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(5) {
  animation-name: leaf-fall-5;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(6) {
  animation-name: leaf-fall-6;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(7) {
  animation-name: leaf-fall-7;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.falling-leaf:nth-child(8) {
  animation-name: leaf-fall-8;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.nav,
.hero-copy {
  z-index: 2;
}

.nav {
  width: min(1240px, calc(100% - 72px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
}

.monogram {
  font-family: 'Great Vibes', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: 0;
}

.monogram span {
  font-size: 10px;
  padding: 0 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
}

.nav-links button {
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .75);
  padding: 10px 15px;
  font-size: 11px;
  letter-spacing: .1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-copy {
  text-align: center;
  margin: auto;
  padding: 70px 24px;
  position: relative;
  z-index: 1;
  animation: rise .9s ease-out both;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 19px;
}

h1,
h2,
h3 {
  font-family: 'Yeseva One', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0;
}

[lang="mr"] h1,
[lang="mr"] h2,
[lang="mr"] h3,
[lang="hi"] h1,
[lang="hi"] h2,
[lang="hi"] h3 {
  font-family: 'Noto Serif Devanagari', Georgia, serif;
}

[lang="mr"],
[lang="hi"] {
  font-family: 'Noto Sans Devanagari', sans-serif;
}

h1 {
  font-size: clamp(58px, 9vw, 126px);
  line-height: .95;
}

[lang="mr"] .hero-copy h1,
[lang="hi"] .hero-copy h1 {
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.18;
  margin-bottom: 22px;
}

h1 i {
  font-size: .7em;
  padding: 0 .04em;
}

.couple-ampersand {
  display: inline-block;
  font-family: 'Great Vibes', Georgia, serif;
  font-size: .5em;
  font-weight: 400;
  line-height: 1;
}

.couple-name {
  font-family: 'Great Vibes', Georgia, serif;
  font-size: 1em;
  font-weight: 400;
}

.date {
  /* font-family: "Great Vibes", "Yeseva One", sans-serif; */
  /* font-size: 20px; */
  /* font-weight: 500; */
  /* line-height: 1.4; */
  /* margin: 0 auto 10px; */
  /* max-width: 560px; */

  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

.guest-greeting {
  max-width: 570px;
  margin: 0 auto 28px;
  color: rgba(255, 253, 247, .92);
  line-height: 1.35;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-invitation {
  max-width: 570px;
  margin: 0 auto 28px;
  color: rgba(255, 253, 247, .92);
  font-size: 15px;
  line-height: 1.6;
}

.hero-invitation p {
  margin: 0 0 12px;
}

.hero-invitation p:last-child {
  margin-bottom: 0;
}

.hero-invitation strong {
  font-size: 1.1em;
}

.year {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 68px;
  color: inherit;
  font-size: 11px;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue span {
  font-size: 18px;
}

.welcome {
  max-width: 1100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  margin: 0 auto;
  padding: 135px 28px 128px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.welcome::before {
  content: 'ASHOKA CHAKRA';
  position: absolute;
  top: 72px;
  left: 50%;
  width: 58px;
  height: 58px;
  overflow: hidden;
  color: transparent;
  background: url("data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='602'%20height='602'%20viewBox='0%200%20602%20602'%20role='img'%20aria-labelledby='title'%3e%3ctitle%20id='title'%3eAshoka%20Chakra%3c/title%3e%3cdefs%3e%3cstyle%3e%20.chakra-blue%20{%20fill:%20%2307038d;%20}%20.chakra-white%20{%20fill:%20%23fff;%20}%20%3c/style%3e%3cg%20id='spoke'%3e%3cpath%20class='chakra-blue'%20d='m301.5,41.18l9.76,156.65-9.76,77.56-9.76-77.56,9.76-156.65Z'/%3e%3ccircle%20class='chakra-blue'%20cx='335.48'%20cy='43.4'%20r='11.39'/%3e%3c/g%3e%3c/defs%3e%3ccircle%20class='chakra-blue'%20cx='301.5'%20cy='301.5'%20r='301'/%3e%3ccircle%20class='chakra-white'%20cx='301.5'%20cy='301.5'%20r='260.32'/%3e%3ccircle%20class='chakra-blue'%20cx='301.5'%20cy='301.5'%20r='52.06'/%3e%3cg%3e%3cuse%20href='%23spoke'/%3e%3cuse%20href='%23spoke'%20transform='rotate(15%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(30%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(45%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(60%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(75%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(90%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(105%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(120%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(135%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(150%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(165%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(180%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(195%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(210%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(225%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(240%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(255%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(270%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(285%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(300%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(315%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(330%20301.5%20301.5)'/%3e%3cuse%20href='%23spoke'%20transform='rotate(345%20301.5%20301.5)'/%3e%3c/g%3e%3c/svg%3e") center/contain no-repeat;
  transform: translateX(-50%);
}

.welcome-copy {
  text-align: left;
}

.welcome-eyebrow {
  grid-column: 1 / -1;
  justify-self: center;
  margin: 0;
  text-align: center;
  padding-top: 8px;
}

.welcome h2,
.weekend-section h2,
.rsvp-banner h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  margin: 0;
}

.welcome-text {
  max-width: 520px;
  margin: 34px 0 0;
  color: #647168;
  line-height: 1.75;
  font-size: 15px;
}

.dikshabhoomi {
  display: block;
  width: 100%;
  max-width: 540px;
  height: auto;
  justify-self: end;
  opacity: .22;
  pointer-events: none;
}

.details-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: var(--indigo);
  color: var(--ivory);
}

.detail-image {
  min-height: 800px;
  background: var(--indigo) url('/assets/buddha_tree_white_transparent-CNYLTMs_.png') center / min(68%, 560px) auto no-repeat;
}

.detail-copy {
  padding: 105px clamp(36px, 8vw, 125px);
  align-self: center;
}

.detail-copy h2 {
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: 1.04;
  margin: 0 0 28px;
}

.detail-copy>p:not(.eyebrow) {
  line-height: 1.7;
  color: rgba(255, 245, 229, .75);
  margin: 0;
}

.time-line {
  border-top: 1px solid rgba(255, 255, 255, .25);
  margin: 42px 0 32px;
}

.time-line div {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  font-size: 13px;
}

.time-line strong {
  font-family: 'Yeseva One', Georgia, serif;
  font-size: 13px;
  font-weight: 600;
}

.venue-address {
  display: block;
  width: 150px;
  margin-top: 5px;
  color: rgba(255, 245, 229, .68);
  font-size: 12px;
  line-height: 1.55;
}

.event-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.text-link {
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-underline-offset: 7px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  opacity: .95;
}

.text-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.text-link span {
  font-size: 17px;
  padding-left: 8px;
}

.weekend-section {
  text-align: center;
  padding: 132px max(28px, calc((100% - 1160px) / 2));
  background: #f7dfac;
}

.event-group {
  position: relative;
  margin-top: 42px;
  padding: 38px 0 42px;
}

.event-group::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 78px;
  height: 1px;
  background: var(--vermilion);
  transform: translateX(-50%);
}

.event-group-title {
  color: var(--vermilion);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  margin: 0;
  text-transform: uppercase;
}

.event-group .events {
  margin-top: 32px;
}

.events {
  position: relative;
  display: grid;
  gap: 0;
  margin: 30px auto 0;
  padding: 8px 0;
  max-width: 820px;
  text-align: left;
}

.events::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(165, 63, 50, .42);
  transform: translateX(-50%);
}

.events article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  min-width: 0;
  min-height: 104px;
  padding: 22px 0;
  align-items: start;
}

.events article.event-card {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .7s ease, transform .7s ease;
}

.events article.event-card:nth-child(even) {
  transform: translateX(36px);
}

.events article.event-card.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.events article::before {
  content: '';
  position: absolute;
  top: 31px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
  background: #f7dfac;
  transform: translateX(-50%);
}

.events article::after {
  content: '';
  position: absolute;
  top: 34px;
  left: 50%;
  width: 28px;
  height: 1px;
  background: rgba(165, 63, 50, .42);
  transform: translateX(-50%);
}

.event-date {
  color: var(--vermilion);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.events h3 {
  color: var(--vermilion);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.events article>p:last-child {
  width: min(100%, 230px);
  color: var(--vermilion);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.55;
  margin: 0;
  text-transform: uppercase;
}

.event-calendar-link {
  grid-row: 4;
  color: var(--vermilion);
  font-size: 9px;
  letter-spacing: .1em;
  margin-top: 9px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.event-calendar-link span {
  display: inline-block;
  font-size: 14px;
  line-height: .7;
  margin-left: 4px;
  text-decoration: none;
}

.schedule-calendar-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--vermilion);
  font-size: 10px;
  letter-spacing: .12em;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.schedule-calendar-link span {
  font-size: 15px;
  line-height: .7;
  text-decoration: none;
}

.events article:nth-child(odd) .event-date,
.events article:nth-child(odd) h3,
.events article:nth-child(odd)>p:last-child {
  grid-column: 1;
  padding-right: 20px;
  text-align: right;
}

.events article:nth-child(odd) .event-date {
  grid-row: 1;
}

.events article:nth-child(odd) h3 {
  grid-row: 2;
  margin-top: 6px;
}

.events article:nth-child(odd)>p:last-child {
  grid-row: 3;
  justify-self: end;
  margin-top: 6px;
}

.events article:nth-child(odd) .event-calendar-link {
  grid-column: 1;
  justify-self: end;
  padding-right: 20px;
}

.events article:nth-child(even) .event-date,
.events article:nth-child(even) h3,
.events article:nth-child(even)>p:last-child {
  grid-column: 3;
  padding-left: 20px;
  text-align: left;
}

.events article:nth-child(even) .event-date {
  grid-row: 1;
}

.events article:nth-child(even) h3 {
  grid-row: 2;
  margin-top: 6px;
}

.events article:nth-child(even)>p:last-child {
  grid-row: 3;
  justify-self: start;
  margin-top: 6px;
}

.events article:nth-child(even) .event-calendar-link {
  grid-column: 3;
  justify-self: start;
  padding-left: 20px;
}

.rsvp-banner {
  text-align: center;
  color: var(--ivory);
  padding: 130px 24px;
  background: linear-gradient(rgba(47, 27, 56, .9), rgba(117, 40, 45, .87)), url('https://images.unsplash.com/photo-1604608675998-66a42aee2ffb?auto=format&fit=crop&w=1600&q=80') center/cover;
}

.rsvp-inline-copy {
  margin: 20px auto 0;
  max-width: 520px;
  color: rgba(255, 245, 229, .82);
  font-size: 15px;
  line-height: 1.7;
}

.rsvp-inline-panel {
  max-width: 560px;
  margin: 42px auto 0;
  text-align: left;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 245, 229, .08);
  border: 1px solid rgba(240, 174, 54, .45);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.rsvp-inline-panel h2 {
  color: var(--ivory);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  margin: 0 0 24px;
}

.rsvp-inline-panel label {
  display: block;
  color: rgba(255, 245, 229, .75);
  margin: 18px 0 7px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rsvp-inline-panel label span {
  text-transform: none;
  letter-spacing: 0;
}

.rsvp-inline-panel input,
.rsvp-inline-panel select,
.rsvp-inline-panel textarea {
  width: 100%;
  color: var(--ivory);
  background: rgba(255, 245, 229, .03);
  border: 0;
  border-bottom: 1px solid rgba(255, 245, 229, .48);
  border-radius: 0;
  padding: 9px 8px;
  outline-color: var(--marigold);
}

.rsvp-inline-panel textarea {
  resize: vertical;
}

.accommodation-options {
  border: 0;
  margin: 24px 0 8px;
  padding: 0;
}

.accommodation-options legend {
  color: rgba(255, 245, 229, .75);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.accommodation-options .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: rgba(255, 245, 229, .9);
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
}

.accommodation-options .checkbox-label input[type='checkbox'] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  accent-color: var(--marigold);
}

.rsvp-inline-panel .primary-button {
  width: 100%;
  margin-top: 26px;
}

.rsvp-inline-panel .rsvp-error {
  margin: 18px 0 -10px;
  color: #ffd9b8;
  font-size: 14px;
  line-height: 1.45;
}

.rsvp-inline-panel .confirmation {
  text-align: center;
  padding: 0;
}

.rsvp-inline-panel .confirmation>p:not(.eyebrow) {
  color: rgba(255, 245, 229, .84);
}

.primary-button {
  color: var(--indigo);
  background: var(--marigold);
  border: 1px solid var(--marigold);
  padding: 15px 23px;
  margin-top: 34px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .2s, color .2s;
}

.primary-button:hover {
  background: transparent;
  color: inherit;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 34px max(28px, calc((100% - 1160px) / 2));
  background: #fff0d2;
}

footer p {
  color: #7b5149;
  text-align: right;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(47, 27, 56, .78);
}

.rsvp-modal {
  width: min(100%, 505px);
  max-height: calc(100svh - 44px);
  overflow: auto;
  position: relative;
  background: var(--ivory);
  padding: 58px 62px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, .25);
  animation: rise .25s ease-out;
}

.close-button {
  position: absolute;
  right: 18px;
  top: 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
}

.rsvp-modal h2 {
  color: var(--ink);
  font-size: 45px;
  line-height: 1.05;
  margin: 0 0 34px;
}

.rsvp-modal label {
  display: block;
  color: #526159;
  margin: 18px 0 7px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.rsvp-modal label span {
  text-transform: none;
  letter-spacing: 0;
}

.rsvp-modal input,
.rsvp-modal select,
.rsvp-modal textarea {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c18b70;
  border-radius: 0;
  padding: 9px 1px;
  outline-color: var(--saffron);
}

.rsvp-modal textarea {
  resize: vertical;
}

.rsvp-modal .accommodation-options legend {
  color: #526159;
}

.rsvp-modal .accommodation-options .checkbox-label {
  color: #526159;
}

.rsvp-modal .accommodation-options .checkbox-label input[type='checkbox'] {
  border: 0;
}

.rsvp-modal .primary-button {
  width: 100%;
}

.rsvp-error {
  margin: 18px 0 -10px;
  color: var(--vermilion);
  font-size: 14px;
  line-height: 1.45;
}

.confirmation {
  text-align: center;
  padding: 18px 0;
}

.confirmation>p:not(.eyebrow) {
  color: #657168;
  line-height: 1.6;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

@keyframes background-glow {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .7; }
  to { transform: translate3d(2%, 1%, 0) scale(1.04); opacity: 1; }
}

@keyframes petal-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0deg);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(80px, 50vh, 0) rotate(40deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-40px, 108vh, 0) rotate(90deg);
  }
}

@keyframes petal-fall-1 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(90px, 50vh, 0) rotate(40deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-41px, 108vh, 0) rotate(90deg);
  }
}

@keyframes petal-fall-2 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-70px, 50vh, 0) rotate(-65deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(32px, 108vh, 0) rotate(180deg);
  }
}

@keyframes petal-fall-3 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(120px, 50vh, 0) rotate(110deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-54px, 108vh, 0) rotate(210deg);
  }
}

@keyframes petal-fall-4 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-95px, 50vh, 0) rotate(25deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(43px, 108vh, 0) rotate(140deg);
  }
}

@keyframes petal-fall-5 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(75px, 50vh, 0) rotate(-110deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-34px, 108vh, 0) rotate(100deg);
  }
}

@keyframes petal-fall-6 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-120px, 50vh, 0) rotate(80deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(54px, 108vh, 0) rotate(180deg);
  }
}

@keyframes petal-fall-7 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(105px, 50vh, 0) rotate(-30deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-47px, 108vh, 0) rotate(150deg);
  }
}

@keyframes petal-fall-8 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-80px, 50vh, 0) rotate(125deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(36px, 108vh, 0) rotate(210deg);
  }
}

@keyframes petal-fall-9 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(65px, 50vh, 0) rotate(-75deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-29px, 108vh, 0) rotate(120deg);
  }
}

@keyframes petal-fall-10 {
  0% {
    opacity: 0;
    transform: translate3d(0, -24px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-110px, 50vh, 0) rotate(55deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(49px, 108vh, 0) rotate(170deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sakura-petal {
    animation: none;
    opacity: .45;
    transform: translateY(22vh) rotate(35deg);
  }

  .falling-leaf {
    animation: none;
    opacity: .45;
    transform: translateY(22vh) rotate(35deg);
  }
}

@keyframes leaf-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0deg);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(80px, 50vh, 0) rotate(65deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-44px, 108vh, 0) rotate(110deg);
  }
}

@keyframes leaf-fall-1 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(80px, 50vh, 0) rotate(65deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-37px, 108vh, 0) rotate(140deg);
  }
}

@keyframes leaf-fall-2 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-90px, 50vh, 0) rotate(-45deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(41px, 108vh, 0) rotate(110deg);
  }
}

@keyframes leaf-fall-3 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(110px, 50vh, 0) rotate(95deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-51px, 108vh, 0) rotate(190deg);
  }
}

@keyframes leaf-fall-4 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-70px, 50vh, 0) rotate(-80deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(32px, 108vh, 0) rotate(130deg);
  }
}

@keyframes leaf-fall-5 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(95px, 50vh, 0) rotate(50deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-44px, 108vh, 0) rotate(150deg);
  }
}

@keyframes leaf-fall-6 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-105px, 50vh, 0) rotate(-60deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(48px, 108vh, 0) rotate(120deg);
  }
}

@keyframes leaf-fall-7 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(75px, 50vh, 0) rotate(115deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(-34px, 108vh, 0) rotate(220deg);
  }
}

@keyframes leaf-fall-8 {
  0% {
    opacity: 0;
    transform: translate3d(0, -28px, 0) rotate(0);
  }

  10% {
    opacity: .82;
  }

  50% {
    transform: translate3d(-85px, 50vh, 0) rotate(-35deg);
  }

  90% {
    opacity: .7;
  }

  100% {
    opacity: 0;
    transform: translate3d(39px, 108vh, 0) rotate(120deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-panel {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 760px) {
  .hero-section {
    min-height: 94svh;
  }

  .events article.event-card,
  .events article.event-card:nth-child(even) {
    transform: translateX(-18px);
  }

  .events article.event-card:nth-child(even) {
    transform: translateX(18px);
  }

  .events article.event-card.is-visible,
  .events article.event-card:nth-child(even).is-visible {
    transform: translateX(0);
  }

  .sakura-petal {
    animation-duration: 16s;
  }

  .falling-leaf {
    animation-duration: 20s;
  }

  .nav {
    width: calc(100% - 40px);
    padding: 20px 0;
  }

  .nav-links {
    gap: 16px;
    font-size: 10px;
  }

  .nav-links a {
    display: none;
  }

  .language-selector select {
    min-width: 74px;
    font-size: 11px;
  }

  .hero-copy {
    padding: 72px 20px;
  }

  .date {
    font-size: 11px;
  }

  .scroll-cue {
    margin-top: 48px;
  }

  .welcome {
    display: block;
    text-align: center;
    padding: 95px 28px;
  }

  .welcome-copy {
    text-align: center;
  }

  .welcome::before {
    position: static;
    display: block;
    margin: 0 auto 24px;
    transform: none;
  }

  .welcome-text {
    margin: 34px auto 0;
  }

  .dikshabhoomi {
    width: min(100%, 430px);
    margin: 48px auto 0;
  }

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

  .detail-image {
    min-height: 390px;
    background-size: min(72%, 360px) auto;
  }

  .detail-copy {
    padding: 0 30px 75px;
  }

  .weekend-section {
    padding: 92px 28px;
  }

  .event-group {
    margin-top: 28px;
    padding: 27px 18px 30px;
  }

  .event-group-title {
    font-size: 11px;
  }

  .events {
    margin-top: 34px;
    padding: 4px 0 4px 28px;
  }

  .events::before {
    left: 8px;
    transform: none;
  }

  .events article,
  .events article:first-child {
    display: block;
    min-height: 0;
    padding: 20px 0 23px;
    text-align: left;
  }

  .events article::before {
    top: 27px;
    left: -24px;
    transform: none;
  }

  .events article::after {
    top: 30px;
    left: -24px;
    width: 18px;
    transform: none;
  }

  .events article:nth-child(odd) {
    text-align: left;
  }

  .events article:nth-child(odd) .event-date,
  .events article:nth-child(even) .event-date,
  .events article:nth-child(even) h3,
  .events article:nth-child(even)>p:last-child,
  .events article:nth-child(odd) h3,
  .events article:nth-child(odd)>p:last-child {
    display: block;
    padding: 0;
    text-align: left;
    width: 100%;
  }

  .events article .event-calendar-link,
  .events article:nth-child(even) .event-calendar-link,
  .events article:nth-child(odd) .event-calendar-link {
    display: inline-flex;
    align-items: center;
    grid-column: auto;
    justify-self: start;
    padding: 0;
    margin-top: 10px;
  }

  .event-date {
    margin-top: 0;
  }

  .events h3 {
    font-size: 10px;
    margin: 6px 0 0;
  }

  .rsvp-banner {
    padding: 96px 24px;
  }

  .rsvp-modal {
    padding: 52px 30px 35px;
  }
}