:root {
  --cream-50: #fff9f0;
  --cream-100: #fdf3e3;
  --cream-200: #f3e3cb;
  --cream-300: #e8d3b4;
  --sand: #dfc5a0;
  --terracotta-500: #bc6247;
  --terracotta-600: #a94e34;
  --terracotta-700: #8e3f2a;
  --terracotta-900: #6f2f1f;
  --brown-900: #3b241c;
  --brown-800: #4b2e22;
  --brown-700: #5a3a2a;
  --gold-500: #c9a45c;
  --gold-300: #e1c894;
  --text: #5c493f;
  --muted: #7d685c;
  --white: #fffdf9;
  --font-display: "Cinzel Decorative", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --nav-h: 68px;
  --panel-w: 480px;
  --section-x: clamp(20px, 6cqw, 32px);
  --ease-soft: cubic-bezier(.22, .68, .18, 1);
  --ease-cover: cubic-bezier(.77, 0, .18, 1);
  --shadow-card: 0 18px 44px rgba(59, 36, 28, .12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(225, 200, 148, .24), transparent 65%),
    var(--cream-200);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
blockquote,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(169, 78, 52, .2);
  color: var(--brown-900);
}

:focus-visible {
  outline: 2px solid var(--terracotta-600);
  outline-offset: 3px;
}

.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;
}

.noscript {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  padding: 14px 20px;
  background: var(--brown-900);
  color: var(--cream-50);
  font-size: 13px;
  text-align: center;
}

.page-shell {
  position: relative;
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  background: var(--cream-50);
  box-shadow: 0 0 70px rgba(59, 36, 28, .18);
}

.main {
  position: relative;
  overflow: hidden;
}

.invitation {
  position: relative;
  background: var(--cream-50);
  container-type: inline-size;
}

.section {
  position: relative;
  padding: clamp(68px, 15cqw, 92px) var(--section-x);
  overflow: hidden;
  text-align: center;
}

.section-divider {
  position: relative;
  z-index: 4;
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin: -21px 0;
  padding: 0 calc(var(--section-x) + 8px);
  pointer-events: none;
}

.section-divider::before,
.section-divider::after {
  height: 1px;
  max-width: 92px;
  flex: 1 1 24px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, .62));
  content: "";
  animation: line-glow 5.5s ease-in-out infinite;
}

.section-divider::after {
  background: linear-gradient(90deg, rgba(201, 164, 92, .62), transparent);
  animation-delay: -2.7s;
}

.section-divider img {
  width: clamp(138px, 44cqw, 214px);
  height: auto;
  flex: 0 0 auto;
  margin: 0 6px;
  opacity: .64;
  filter: drop-shadow(0 3px 7px rgba(142, 63, 42, .12));
  animation: line-glow 6.5s ease-in-out infinite;
}

.section-divider--page {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.section-divider--page::before,
.section-divider--page::after {
  display: none;
}

.section-divider--page img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  opacity: .58;
  object-fit: contain;
}

.sparkle-layer {
  position: fixed;
  inset: 0;
  z-index: 55;
  overflow: hidden;
  pointer-events: none;
}

.sparkle-layer span {
  position: absolute;
  width: 7px;
  height: 7px;
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(201, 164, 92, .92) 48% 52%, transparent 55%),
    linear-gradient(180deg, transparent 0 45%, rgba(246, 227, 182, .96) 48% 52%, transparent 55%);
  opacity: 0;
  filter: drop-shadow(0 0 4px rgba(201, 164, 92, .42));
  transform: scale(.35);
  animation: sparkle-twinkle 5.2s ease-in-out infinite;
}

.sparkle-layer span::after {
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: #f4dfaa;
  box-shadow: 0 0 5px 1px rgba(201, 164, 92, .48);
  content: "";
}

.sparkle-layer span:nth-child(1) { top: 9%; left: 7%; animation-delay: -1.2s; animation-duration: 4.6s; }
.sparkle-layer span:nth-child(2) { top: 18%; left: 27%; animation-delay: -3.4s; animation-duration: 5.8s; }
.sparkle-layer span:nth-child(3) { top: 13%; left: 82%; animation-delay: -.6s; animation-duration: 5.1s; }
.sparkle-layer span:nth-child(4) { top: 29%; left: 58%; animation-delay: -2.1s; animation-duration: 4.2s; }
.sparkle-layer span:nth-child(5) { top: 43%; left: 12%; animation-delay: -4.3s; animation-duration: 6s; }
.sparkle-layer span:nth-child(6) { top: 51%; left: 91%; animation-delay: -2.8s; animation-duration: 4.8s; }
.sparkle-layer span:nth-child(7) { top: 62%; left: 34%; animation-delay: -5.2s; animation-duration: 5.6s; }
.sparkle-layer span:nth-child(8) { top: 68%; left: 72%; animation-delay: -1.7s; animation-duration: 4.4s; }
.sparkle-layer span:nth-child(9) { top: 79%; left: 6%; animation-delay: -3.9s; animation-duration: 5.9s; }
.sparkle-layer span:nth-child(10) { top: 84%; left: 54%; animation-delay: -.9s; animation-duration: 4.9s; }
.sparkle-layer span:nth-child(11) { top: 92%; left: 86%; animation-delay: -4.8s; animation-duration: 6.2s; }
.sparkle-layer span:nth-child(12) { top: 36%; left: 43%; animation-delay: -2.5s; animation-duration: 5.4s; }

.eyebrow {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  color: var(--terracotta-600);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
}

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

.section__title {
  position: relative;
  z-index: 2;
  color: var(--brown-900);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8.4cqw, 2.55rem);
  line-height: 1.3;
  text-wrap: balance;
}

.section__lead {
  position: relative;
  z-index: 2;
  max-width: 340px;
  margin: 0 auto;
  color: var(--text);
  font-size: .86rem;
  line-height: 1.85;
  text-wrap: pretty;
}

.section__lead--small {
  font-size: .8rem;
}

.amp {
  display: inline-block;
  color: var(--terracotta-500);
  font-size: .68em;
  transform: translateY(-.04em);
}

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform .25s var(--ease-soft),
    box-shadow .25s var(--ease-soft),
    background-color .25s var(--ease-soft),
    color .25s var(--ease-soft),
    border-color .25s var(--ease-soft);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--terracotta-500), var(--terracotta-700));
  box-shadow: 0 12px 28px rgba(142, 63, 42, .24);
  color: #fffaf4;
}

.btn--primary:hover {
  box-shadow: 0 16px 32px rgba(142, 63, 42, .3);
}

.btn--outline {
  border-color: rgba(169, 78, 52, .55);
  background: rgba(255, 249, 240, .42);
  color: var(--terracotta-700);
}

.btn--outline:hover {
  background: rgba(255, 249, 240, .85);
}

.btn--pulse {
  animation: pulse-ring 2.8s ease-out infinite;
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(70% 45% at 50% 100%, rgba(169, 78, 52, .14), transparent 70%),
    var(--cream-200);
  transition:
    transform 1.15s var(--ease-cover),
    opacity .8s ease .2s,
    visibility 1.15s;
}

.cover.is-open {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
}

.cover__panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(80% 40% at 50% 100%, rgba(188, 98, 71, .2), transparent 72%),
    radial-gradient(65% 40% at 50% 0%, rgba(225, 200, 148, .35), transparent 70%),
    linear-gradient(165deg, var(--cream-50) 0%, var(--cream-100) 48%, #efd9bc 100%);
  box-shadow: 0 0 70px rgba(59, 36, 28, .2);
}

.cover__panel::after {
  position: absolute;
  inset: 13px;
  z-index: 1;
  border: 1px solid rgba(201, 164, 92, .4);
  border-radius: 160px 160px 12px 12px;
  content: "";
  pointer-events: none;
}

.cover__panel::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    radial-gradient(circle at 14% 22%, rgba(246, 227, 182, .9) 0 1.2px, transparent 2.4px),
    radial-gradient(circle at 82% 16%, rgba(201, 164, 92, .82) 0 1px, transparent 2.2px),
    radial-gradient(circle at 91% 42%, rgba(246, 227, 182, .86) 0 1.3px, transparent 2.5px),
    radial-gradient(circle at 21% 58%, rgba(201, 164, 92, .72) 0 .9px, transparent 2.1px),
    radial-gradient(circle at 74% 71%, rgba(246, 227, 182, .92) 0 1.1px, transparent 2.3px),
    radial-gradient(circle at 37% 86%, rgba(201, 164, 92, .76) 0 1px, transparent 2.2px),
    radial-gradient(circle at 88% 88%, rgba(246, 227, 182, .8) 0 .9px, transparent 2.1px);
  content: "";
  opacity: .72;
  pointer-events: none;
  animation: cover-sparkle 6.5s ease-in-out infinite alternate;
}

.cover__ornament {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.cover__ornament img {
  width: 100%;
  height: auto;
}

.cover__ornament--ornate {
  top: clamp(190px, 36vh, 360px);
  right: -36px;
  bottom: auto;
  left: auto;
  width: clamp(142px, 40cqw, 184px);
  opacity: .26;
  transform-origin: 50% 100%;
  animation: sway-left 3s ease-in-out infinite alternate;
}

.cover__ornament--wayang {
  top: clamp(190px, 36vh, 360px);
  right: auto;
  bottom: auto;
  left: -48px;
  width: clamp(156px, 45cqw, 200px);
  opacity: .3;
  transform-origin: 50% 100%;
  animation: sway-right 3s ease-in-out infinite alternate;
}

.cover__content {
  position: relative;
  z-index: 3;
  display: flex;
  width: 100%;
  max-width: 380px;
  height: 100%;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 26px 26px;
  text-align: center;
}

.cover__eyebrow {
  margin-bottom: 4px;
  color: var(--brown-700);
  font-size: .64rem;
  letter-spacing: .24em;
  text-transform: none;
}

.cover__photo {
  position: relative;
  width: clamp(142px, 23vh, 190px);
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
  margin: 18px auto 18px;
  padding: 5px;
  border: 1px solid rgba(201, 164, 92, .7);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(150deg, rgba(255, 249, 240, .95), rgba(225, 200, 148, .75));
  box-shadow: 0 18px 45px rgba(59, 36, 28, .2);
}

.cover__photo > img:first-child {
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 14px 14px;
  object-fit: cover;
  object-position: center 30%;
}

.cover__photo::before {
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 249, 240, .58);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}


.cover__names {
  display: flex;
  max-width: 330px;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .18em;
  color: var(--brown-900);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9cqw, 2.55rem);
  letter-spacing: .01em;
  line-height: 1.18;
  text-transform: uppercase;
  text-wrap: balance;
}

.cover__names .amp {
  color: var(--terracotta-600);
  font-size: .62em;
}

.cover__date {
  margin-top: 7px;
  color: var(--brown-700);
  font-size: .67rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cover__line {
  width: 156px;
  margin: 12px auto 15px;
  opacity: .58;
}

.cover__guest {
  display: flex;
  width: min(100%, 292px);
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
  padding: 12px 18px;
  border: 1px solid rgba(169, 78, 52, .2);
  border-radius: 8px;
  background: rgba(255, 249, 240, .48);
  box-shadow: inset 0 0 0 3px rgba(255, 249, 240, .4);
  color: var(--text);
  font-size: .68rem;
  line-height: 1.55;
}

.cover__guest strong {
  display: block;
  margin-top: 3px;
  color: var(--brown-900);
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.cover__note {
  max-width: 280px;
  margin-top: 15px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.65;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 100px var(--section-x) 164px;
  background:
    radial-gradient(78% 52% at 50% 16%, rgba(225, 200, 148, .13), transparent 70%),
    radial-gradient(90% 48% at 50% 100%, rgba(169, 78, 52, .24), transparent 72%),
    var(--brown-900);
  color: var(--cream-50);
  text-align: center;
}

.hero__slides,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__slides {
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.3s ease;
}

.hero__slide.is-active {
  opacity: 1;
  animation: ken-burns 9s ease-out both;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(59, 36, 28, .04) 0%, rgba(59, 36, 28, .08) 34%, rgba(59, 36, 28, .54) 74%, rgba(59, 36, 28, .92) 100%),
    linear-gradient(90deg, rgba(59, 36, 28, .28), transparent 58%, rgba(59, 36, 28, .06));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  margin: 0 auto;
}

.hero__names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .2em;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 10cqw, 2.85rem);
  letter-spacing: .01em;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .3);
  text-transform: uppercase;
  text-wrap: balance;
}

.hero__names .amp {
  color: var(--gold-300);
  font-size: .62em;
}

.hero__date {
  margin-top: 8px;
  color: rgba(255, 249, 240, .84);
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.hero__guest {
  display: none;
}

.countdown {
  display: grid;
  max-width: 360px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 29px auto 0;
}

.countdown__item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 3px 8px;
  border: 1px solid rgba(255, 249, 240, .34);
  border-radius: 8px;
  background: rgba(59, 36, 28, .36);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.countdown__item strong {
  color: var(--cream-50);
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 5cqw, 1.38rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.countdown__item span {
  color: rgba(255, 249, 240, .7);
  font-size: .54rem;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.countdown__past {
  max-width: 330px;
  margin: 29px auto 0;
  padding: 13px 18px;
  border: 1px solid rgba(255, 249, 240, .3);
  border-radius: 8px;
  background: rgba(59, 36, 28, .34);
  color: var(--cream-50);
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.55;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.countdown-section {
  position: relative;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(82px, 16vh, 116px) var(--section-x) calc(var(--nav-h) + 62px);
  background:
    radial-gradient(58% 38% at 8% 16%, rgba(225, 200, 148, .48), transparent 76%),
    radial-gradient(52% 34% at 94% 84%, rgba(188, 98, 71, .13), transparent 78%),
    linear-gradient(172deg, var(--cream-50), var(--cream-100) 54%, #efd9bc);
  text-align: center;
}

.countdown-section::before {
  position: absolute;
  inset: 15px;
  z-index: 0;
  border: 1px solid rgba(201, 164, 92, .32);
  border-radius: 18px;
  content: "";
  pointer-events: none;
}

.countdown-section__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.countdown-section__date {
  margin-top: 10px;
  color: var(--terracotta-700);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 1.7;
  text-transform: uppercase;
}

.countdown-section__penjor,
.countdown-section__wayang {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

.countdown-section__penjor {
  bottom: 400px;
  left: -20px;
  width: clamp(98px, 28cqw, 158px);
  opacity: .52;
  scale: -1 1;
  rotate: 3deg;
  transform-origin: 50% 100%;
  animation: sway-left 9s ease-in-out infinite alternate;
}

.countdown-section__penjor--right {
  right: -20px;
  left: auto;
  scale: 1 1;
  rotate: -3deg;
  animation-name: sway-penjor-right;
}

.countdown-section__flower-stack {
  position: absolute;
  right: -130px;
  bottom: 280px;
  z-index: 1;
  width: clamp(200px, 10cqw, 190px);
  opacity: .46;
  filter: drop-shadow(0 8px 14px rgba(59, 36, 28, .1));
  transform-origin: 72% 100%;
  pointer-events: none;
  user-select: none;
  animation: sway-flower 8.5s ease-in-out infinite alternate;
}

.countdown-section__flower-stack--left {
  right: auto;
  left: -130px;
  scale: -1 1;
  width: clamp(200px, 20cqw, 190px);
  transform-origin: 50% 100%;
  animation-delay: -2.7s;
}

.countdown-section__wayang {
  right: -34px;
  bottom: -16px;
  width: clamp(132px, 40cqw, 208px);
  opacity: .55;
  filter: drop-shadow(0 12px 22px rgba(59, 36, 28, .15));
  transform-origin: 50% 100%;
  animation: sway-left 10s ease-in-out infinite alternate-reverse;
}

.countdown-section .countdown-section__portrait {
  width: clamp(220px, 56cqw, 240px);
  margin: 30px auto 0;
}

.mirror-cloud,
.mirror-flower {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.mirror-cloud {
  z-index: 0;
  width: 82%;
  opacity: .34;
  mix-blend-mode: multiply;
  filter: sepia(.32) saturate(.82) brightness(.98);
}

.mirror-cloud--left {
  top: 5%;
  left: -35%;
  animation: cloud-drift 15s ease-in-out infinite;
}

.mirror-cloud--right {
  right: -39%;
  bottom: 3%;
  opacity: .27;
  animation: cloud-drift 18s ease-in-out infinite reverse;
  animation-delay: -4s;
}

.mirror-flower {
  z-index: 4;
  width: clamp(92px, 25cqw, 108px);
  opacity: .9;
  filter: drop-shadow(0 8px 14px rgba(59, 36, 28, .13));
  transform-origin: 50% 100%;
}

.mirror-flower--left {
  bottom: 9%;
  left: -20px;
  --ornament-rot: -12deg;
  animation: ornament-drift 7.5s ease-in-out infinite;
  animation-delay: -1.4s;
}

.mirror-flower--right {
  top: 12%;
  right: -8px;
  --ornament-rot: 14deg;
  --ornament-flip: -1;
  animation: ornament-drift 8.5s ease-in-out infinite;
  animation-delay: -3.2s;
}

.countdown-section .countdown {
  max-width: 342px;
  margin-top: 28px;
}

.countdown-section .countdown__item {
  border-color: rgba(169, 78, 52, .24);
  background: rgba(255, 253, 249, .69);
  box-shadow: 0 8px 22px rgba(59, 36, 28, .06);
}

.countdown-section .countdown__item strong {
  color: var(--terracotta-700);
}

.countdown-section .countdown__item span {
  color: var(--muted);
}

.countdown-section .countdown__past {
  border-color: rgba(169, 78, 52, .22);
  background: rgba(255, 253, 249, .72);
  color: var(--brown-700);
}

.scroll-cue {
  position: absolute;
  bottom: 84px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(255, 249, 240, .58);
  font-size: .5rem;
  letter-spacing: .25em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 29px;
  overflow: hidden;
  background: rgba(255, 249, 240, .22);
}

.scroll-cue i::after {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--gold-300);
  content: "";
  animation: scroll-line 2.2s ease-in-out infinite;
}

.quote {
  padding-top: 78px;
  padding-bottom: 74px;
  background:
    radial-gradient(65% 55% at 50% 50%, rgba(225, 200, 148, .16), transparent 70%),
    var(--cream-50);
}

.quote__flower {
  position: absolute;
  top: -8px;
  right: -62px;
  z-index: 0;
  width: 185px;
  opacity: .2;
  transform: rotate(16deg);
}

.quote__mark {
  position: relative;
  z-index: 1;
  height: .55em;
  color: var(--terracotta-500);
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: .8;
  opacity: .32;
}

.quote__text {
  position: relative;
  z-index: 2;
  max-width: 354px;
  margin: 12px auto 0;
  color: var(--brown-700);
  font-family: var(--font-serif);
  font-size: clamp(1.12rem, 4.8cqw, 1.3rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.68;
  text-wrap: pretty;
}

.quote__source {
  position: relative;
  z-index: 2;
  margin-top: 15px;
  color: var(--terracotta-700);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.quote__line {
  width: min(188px, 52%);
  margin: 22px auto 0;
  opacity: .52;
}

.couple {
  padding-top: 82px;
  padding-bottom: 78px;
  background:
    radial-gradient(55% 32% at 8% 8%, rgba(225, 200, 148, .25), transparent 75%),
    radial-gradient(50% 32% at 94% 88%, rgba(188, 98, 71, .12), transparent 75%),
    repeating-linear-gradient(45deg, rgba(169, 78, 52, .022) 0 1px, transparent 1px 15px),
    linear-gradient(180deg, var(--cream-50), var(--cream-100));
}

.couple__frame {
  position: absolute;
  inset: 13px;
  z-index: 0;
  border: 1px dashed rgba(169, 78, 52, .38);
  border-radius: 16px;
  pointer-events: none;
}

.couple__flower {
  position: absolute;
  z-index: 0;
  width: 195px;
  opacity: .16;
  pointer-events: none;
}

.couple__flower--left {
  top: 50px;
  left: -112px;
  transform: rotate(-18deg);
}

.couple__flower--right {
  right: -94px;
  bottom: 80px;
  opacity: .13;
  transform: rotate(24deg) scaleX(-1);
}

.couple__lead {
  margin-bottom: 39px;
}

.couple__portrait {
  position: relative;
  z-index: 2;
  width: clamp(158px, 48cqw, 198px);
  aspect-ratio: 864 / 1029;
  margin: 0 auto 34px;
  filter: drop-shadow(0 16px 28px rgba(59, 36, 28, .18));
}

.couple__portrait::before {
  position: absolute;
  inset: 8% 12%;
  z-index: 0;
  border-radius: 48% 48% 8px 8px;
  background:
    radial-gradient(70% 60% at 50% 12%, rgba(255, 249, 240, .72), transparent 74%),
    linear-gradient(160deg, rgba(225, 200, 148, .42), rgba(169, 78, 52, .16));
  content: "";
}

.couple__portrait-photo {
  position: absolute;
  top: 9%;
  left: 14%;
  z-index: 1;
  width: 72%;
  height: 82%;
  border-radius: 46% 46% 5px 5px;
  object-fit: cover;
  object-position: center 28%;
}

.couple__portrait-frame {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.person {
  position: relative;
  z-index: 2;
  padding: 0 4px;
}

.person__media {
  position: relative;
  width: min(61cqw, 226px);
  aspect-ratio: 4 / 5;
  margin: 0 auto 22px;
  padding: 6px;
  border: 1px solid rgba(201, 164, 92, .65);
  border-radius: 999px 999px 18px 18px;
  background: linear-gradient(155deg, var(--cream-50), var(--cream-200));
  box-shadow: var(--shadow-card);
}

.person__media > img:first-child {
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 14px 14px;
  object-fit: cover;
  object-position: center 28%;
}

.person--bride .person__media > img:first-child {
  object-position: center 30%;
}

.person__ring {
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(169, 78, 52, .36);
  border-radius: 999px 999px 22px 22px;
  pointer-events: none;
}

.person__flower {
  position: absolute;
  right: -47px;
  bottom: -34px;
  z-index: 3;
  width: 96px;
  opacity: .92;
  transform: rotate(10deg);
  filter: drop-shadow(0 6px 11px rgba(59, 36, 28, .13));
}

.person--bride .person__flower {
  right: auto;
  left: -47px;
  transform: rotate(-12deg) scaleX(-1);
}

.person__nick {
  margin-top: 12px;
  color: var(--terracotta-700);
  font-family: var(--font-display);
  font-size: clamp(2rem, 8cqw, 2.35rem);
  line-height: 1.2;
}

.person__name {
  margin-top: 3px;
  color: var(--brown-900);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .025em;
  text-wrap: balance;
}

.person__order {
  margin: 7px 0 10px;
  color: var(--terracotta-600);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.person__parents {
  max-width: 318px;
  margin: 0 auto;
  color: var(--text);
  font-size: .79rem;
  line-height: 1.72;
}

.and {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 41px auto;
  color: var(--terracotta-700);
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .25em;
}

.and span {
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 63, 42, .5));
}

.and span:last-child {
  background: linear-gradient(90deg, rgba(142, 63, 42, .5), transparent);
}

.event {
  padding-bottom: 160px;
  background:
    radial-gradient(65% 35% at 100% 0%, rgba(225, 200, 148, .38), transparent 75%),
    linear-gradient(165deg, var(--cream-100), var(--cream-50) 46%, #efd9bc);
}

.event__flower {
  position: absolute;
  top: 24px;
  left: -78px;
  z-index: 0;
  width: 190px;
  opacity: .16;
  transform: rotate(-18deg);
  pointer-events: none;
}

.event__list {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 380px;
  gap: 22px;
  margin: 36px auto 0;
}

.event-card {
  position: relative;
  padding: 29px 20px 24px;
  border: 1px solid rgba(169, 78, 52, .35);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(255, 253, 249, .97), rgba(247, 232, 211, .97));
  box-shadow:
    0 18px 42px rgba(59, 36, 28, .1),
    inset 0 0 0 4px rgba(255, 249, 240, .8),
    inset 0 0 0 5px rgba(201, 164, 92, .38);
  text-align: center;
}

.event-card::before,
.event-card::after {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(201, 164, 92, .65);
  border-style: solid;
  content: "";
  pointer-events: none;
}

.event-card::before {
  top: 9px;
  left: 9px;
  border-width: 1px 0 0 1px;
}

.event-card::after {
  right: 9px;
  bottom: 9px;
  border-width: 0 1px 1px 0;
}

.event-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 11px;
  place-items: center;
  border: 1px solid rgba(169, 78, 52, .35);
  border-radius: 50%;
  background: rgba(255, 249, 240, .65);
  color: var(--terracotta-700);
}

.event-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.45;
}

.event-card h3 {
  color: var(--brown-900);
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.35;
}

.event-card__date {
  margin-top: 3px;
  color: var(--muted);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.event-card__time {
  margin: 7px 0 12px;
  color: var(--terracotta-700);
  font-size: 1.02rem;
  font-weight: 500;
}

.event-card__place {
  color: var(--brown-900);
  font-size: .88rem;
  font-weight: 600;
}

.event-card__address {
  margin: 4px 0 0;
  color: var(--text);
  font-size: .75rem;
  line-height: 1.65;
}

.event__map {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin: 26px auto 0;
}

.event__map .btn {
  width: 100%;
  min-height: 42px;
  padding: 9px 18px;
  font-size: .62rem;
}

.event__joglo {
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: 0;
  width: 100%;
  max-width: 480px;
  opacity: .14;
  transform: translateX(-50%);
  pointer-events: none;
}

.gallery {
  background:
    radial-gradient(50% 30% at 92% 12%, rgba(225, 200, 148, .22), transparent 78%),
    var(--cream-50);
}

.gallery__flower {
  position: absolute;
  top: 38px;
  left: -74px;
  z-index: 0;
  width: 174px;
  opacity: .18;
  transform: rotate(-20deg);
  pointer-events: none;
}

.gallery__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 29px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(201, 164, 92, .38);
  border-radius: 8px;
  background: var(--cream-200);
  box-shadow: 0 8px 20px rgba(59, 36, 28, .08);
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-soft);
}

.gallery__item::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 249, 240, .2);
  content: "";
  pointer-events: none;
}

.story {
  padding-top: 0;
  padding-bottom: 88px;
  background:
    radial-gradient(70% 35% at 0% 100%, rgba(169, 78, 52, .1), transparent 75%),
    linear-gradient(180deg, var(--cream-100), #ead3b5);
}

.story__banner {
  position: relative;
  width: calc(100% + (var(--section-x) * 2));
  height: clamp(240px, 52cqw, 310px);
  margin: 0 0 0 calc(var(--section-x) * -1);
  overflow: hidden;
}

.story__banner::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 36, 28, .02) 45%, rgba(59, 36, 28, .35));
  content: "";
}

.story__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}

.story__card {
  position: relative;
  z-index: 2;
  max-width: 390px;
  margin: -48px auto 0;
  padding: 34px 22px 30px;
  border: 1px solid rgba(169, 78, 52, .35);
  border-radius: 12px;
  background: linear-gradient(155deg, rgba(255, 253, 249, .97), rgba(247, 232, 211, .97));
  box-shadow:
    0 22px 50px rgba(59, 36, 28, .16),
    inset 0 0 0 4px rgba(255, 249, 240, .7),
    inset 0 0 0 5px rgba(201, 164, 92, .42);
  text-align: center;
}

.story__names {
  font-size: clamp(1.7rem, 7.4cqw, 2.2rem);
}

.story__line {
  width: 158px;
  margin: 14px auto 21px;
  opacity: .52;
}

.story__heading {
  margin-bottom: 15px;
  color: var(--terracotta-700);
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
}

.story__body p {
  margin-bottom: 14px;
  color: var(--text);
  font-size: .79rem;
  line-height: 1.88;
  text-align: center;
  text-wrap: pretty;
}

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

.story__cloud {
  position: absolute;
  top: clamp(315px, 76cqw, 370px);
  right: -108px;
  z-index: 1;
  width: clamp(228px, 60cqw, 296px);
  opacity: .14;
  filter: sepia(.25) saturate(.62) brightness(.98);
  pointer-events: none;
  animation: cloud-drift 14s ease-in-out infinite reverse;
}

.story__flower {
  position: absolute;
  right: -86px;
  bottom: 18px;
  z-index: 0;
  width: 245px;
  opacity: .14;
  transform: rotate(22deg);
  pointer-events: none;
}

.wishes {
  padding-bottom: 88px;
  background:
    radial-gradient(55% 30% at 100% 5%, rgba(225, 200, 148, .3), transparent 78%),
    radial-gradient(55% 30% at 0% 75%, rgba(188, 98, 71, .09), transparent 78%),
    var(--cream-50);
}

.wishes__flower {
  position: absolute;
  top: 30px;
  right: -82px;
  z-index: 0;
  width: 195px;
  opacity: .16;
  transform: rotate(18deg) scaleX(-1);
  pointer-events: none;
}

.wishes .section__lead {
  margin-top: 16px;
}

.form {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 380px;
  margin: 30px auto 0;
  text-align: left;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--brown-700);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid rgba(169, 78, 52, .26);
  border-radius: 8px;
  background: rgba(255, 253, 249, .82);
  color: var(--brown-900);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  outline: none;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a59083;
  opacity: 1;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta-600);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(169, 78, 52, .11);
}

.field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--terracotta-600) 50%),
    linear-gradient(135deg, var(--terracotta-600) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% + 1px),
    calc(100% - 13px) calc(50% + 1px);
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  width: 100%;
  margin-top: 6px;
}

.form__status {
  min-height: 1.5em;
  margin-top: 11px;
  color: var(--terracotta-700);
  font-size: .75rem;
  line-height: 1.5;
  text-align: center;
}

.form__status.is-success {
  color: #356b4e;
}

.form__status.is-error {
  color: #9a2f2f;
}

.btn[disabled] {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.wishes__divider {
  display: flex;
  max-width: 360px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin: 48px auto 33px;
  opacity: .55;
}

.wishes__divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(142, 63, 42, .4));
}

.wishes__divider span:last-child {
  background: linear-gradient(90deg, rgba(142, 63, 42, .4), transparent);
}

.wishes__divider img {
  width: 82px;
}

.subtitle {
  color: var(--brown-900);
  font-family: var(--font-display);
  font-size: 1.72rem;
  line-height: 1.4;
  text-align: center;
}

.wish-list {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 380px;
  max-height: 460px;
  gap: 11px;
  margin: 29px auto 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(169, 78, 52, .35) transparent;
  scrollbar-width: thin;
  text-align: left;
}

.wish-card {
  padding: 13px 15px;
  border: 1px solid rgba(169, 78, 52, .16);
  border-left: 3px solid var(--terracotta-500);
  border-radius: 8px;
  background: rgba(255, 253, 249, .76);
  box-shadow: 0 7px 18px rgba(59, 36, 28, .045);
}

.wish-card strong {
  display: block;
  margin-bottom: 3px;
  color: var(--terracotta-700);
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 400;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.wish-card p {
  color: var(--text);
  font-size: .77rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.wish-empty {
  padding: 20px 16px;
  border: 1px dashed rgba(169, 78, 52, .26);
  border-radius: 8px;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.65;
  text-align: center;
}

.gift {
  padding-bottom: 78px;
  background:
    radial-gradient(55% 32% at 4% 6%, rgba(225, 200, 148, .3), transparent 75%),
    linear-gradient(180deg, var(--cream-100), #efd9bc);
}

.gift__flower {
  position: absolute;
  top: 18px;
  left: -92px;
  z-index: 0;
  width: 215px;
  opacity: .16;
  transform: rotate(-22deg);
  pointer-events: none;
}

.gift .section__lead {
  margin-top: 16px;
}

.gift__list {
  position: relative;
  z-index: 2;
  display: grid;
  max-width: 370px;
  gap: 14px;
  margin: 31px auto 0;
}

.gift-card {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(201, 164, 92, .62);
  border-radius: 10px;
  background: rgba(255, 253, 249, .88);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.gift-card::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(169, 78, 52, .16);
  border-radius: 6px;
  content: "";
  pointer-events: none;
}

.gift-card__bank {
  color: var(--terracotta-700);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.gift-card__holder {
  margin-top: 5px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

.gift-card--account.is-open {
  border-color: rgba(169, 78, 52, .42);
}

.gift-card__toggle {
  margin-top: 14px;
}

.gift-card__toggle svg {
  transition: transform .3s var(--ease-soft);
}

.gift-card__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.gift-card__details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(201, 164, 92, .42);
  animation: gift-details-in .35s var(--ease-soft);
}

.gift-card__details[hidden] {
  display: none;
}

.gift-card__details .gift-card__holder {
  margin-top: 0;
}

.gift-card__details .gift-card__number {
  margin-top: 6px;
}

.gift-card--address .gift-card__holder {
  color: var(--brown-900);
  font-size: .78rem;
}

.gift-card__address {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.gift-card__number {
  margin: 5px 0 14px;
  color: var(--brown-900);
  font-family: var(--font-serif);
  font-size: 1.52rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .055em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.gift-card .btn {
  width: 100%;
  min-height: 40px;
  padding: 9px 14px;
  font-size: .61rem;
}

.gift__map {
  margin-top: 26px;
}

.gift__address {
  position: relative;
  z-index: 2;
  max-width: 335px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: .7rem;
  line-height: 1.7;
}

.closing {
  position: relative;
  display: flex;
  min-height: 78vh;
  min-height: 78svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 92px var(--section-x) 100px;
  background:
    radial-gradient(62% 42% at 50% 42%, rgba(225, 200, 148, .09), transparent 72%),
    radial-gradient(80% 48% at 50% 100%, rgba(169, 78, 52, .18), transparent 74%),
    var(--brown-900);
  color: var(--cream-50);
  text-align: center;
}

.closing__slides,
.closing__veil {
  position: absolute;
  inset: 0;
}

.closing__slides {
  overflow: hidden;
}

.closing__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.closing__slide.is-active {
  opacity: 1;
  animation: ken-burns 10s ease-out both;
}

.closing__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing__veil {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(59, 36, 28, .78), rgba(59, 36, 28, .66) 45%, rgba(59, 36, 28, .9)),
    radial-gradient(60% 45% at 50% 50%, transparent, rgba(59, 36, 28, .4));
}

.closing__penjor {
  position: absolute;
  bottom: -80px;
  z-index: 1;
  width: clamp(104px, 30cqw, 148px);
  opacity: .2;
  filter: brightness(1.55) saturate(.62);
  pointer-events: none;
  animation: float-y 11s ease-in-out infinite;
}

.closing__penjor--left {
  left: -42px;
}

.closing__penjor--right {
  right: -42px;
  scale: -1 1;
  animation-delay: -4.5s;
}

.closing__joglo {
  position: absolute;
  bottom: -8px;
  left: 50%;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  opacity: .09;
  filter: brightness(0) invert(1);
  transform: translateX(-50%);
  pointer-events: none;
  animation: joglo-drift 12s ease-in-out infinite;
}

.closing__content {
  position: relative;
  z-index: 2;
  max-width: 360px;
}

.closing__line {
  width: 128px;
  margin: 0 auto 23px;
  opacity: .32;
  filter: brightness(0) invert(1);
}

.closing__text {
  margin-bottom: 25px;
  color: rgba(255, 249, 240, .88);
  font-size: .79rem;
  line-height: 1.9;
  text-wrap: pretty;
}

.closing__names {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 .18em;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9.5cqw, 2.7rem);
  letter-spacing: .01em;
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
}

.closing__names .amp {
  color: var(--gold-300);
  font-size: .62em;
}

.closing__credit {
  margin-top: 27px;
  color: rgba(255, 249, 240, .48);
  font-size: .55rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.winaya {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(34px, 8cqw, 48px) var(--section-x) clamp(36px, 9cqw, 54px);
  border-top: 1px solid rgba(169, 78, 52, .12);
  background:
    radial-gradient(64% 90% at 50% 0%, rgba(225, 200, 148, .24), transparent 76%),
    var(--cream-50);
}

.winaya__logo {
  display: block;
  width: clamp(142px, 38cqw, 184px);
  height: auto;
  opacity: .6;
  filter: drop-shadow(0 8px 18px rgba(59, 36, 28, .08));
}

.winaya__credit {
  margin-top: 11px;
  color: rgba(59, 36, 28, .54);
  font-size: .6rem;
  letter-spacing: .11em;
  line-height: 1.7;
  text-wrap: balance;
}

.winaya__credit a {
  color: var(--terracotta-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .25s ease;
}

.winaya__credit a:hover {
  color: var(--brown-900);
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 60;
  display: flex;
  width: 100%;
  max-width: 480px;
  justify-content: space-around;
  gap: 2px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(169, 78, 52, .16);
  background: rgba(253, 243, 227, .94);
  box-shadow: 0 -10px 30px rgba(59, 36, 28, .08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  transition:
    opacity .45s ease,
    visibility .45s;
}

body.is-open .bottom-nav {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.bottom-nav a {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 1px;
  border-radius: 9px;
  color: var(--muted);
  font-size: .55rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition:
    color .2s ease,
    background-color .2s ease;
}

.bottom-nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bottom-nav a.is-active {
  background: rgba(169, 78, 52, .09);
  color: var(--terracotta-700);
}

.bottom-nav a.is-active svg {
  stroke-width: 1.8;
}

.music-toggle {
  position: fixed;
  right: max(14px, calc((100cqw - 480px) / 2 + 14px));
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 13px);
  z-index: 61;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(169, 78, 52, .32);
  border-radius: 50%;
  background: rgba(253, 243, 227, .95);
  box-shadow: 0 10px 25px rgba(59, 36, 28, .18);
  color: var(--terracotta-700);
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .35s ease,
    transform .35s ease,
    visibility .35s,
    background-color .2s ease;
}

body.is-open .music-toggle:not([hidden]) {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.music-toggle:hover {
  background: var(--cream-100);
}

.music-toggle svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.music-toggle__pause {
  display: none;
}

.music-toggle.is-playing .music-toggle__play {
  display: none;
}

.music-toggle.is-playing .music-toggle__pause {
  display: block;
}

.music-toggle.is-playing::after {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(169, 78, 52, .3);
  border-radius: 50%;
  content: "";
  animation: music-ring 2.4s ease-out infinite;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 52px 58px;
  background: rgba(30, 17, 12, .95);
  color: var(--cream-50);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.lightbox__figure {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  max-height: calc(100svh - 170px);
  border-radius: 4px;
  object-fit: contain;
  box-shadow: 0 24px 65px rgba(0, 0, 0, .55);
}

.lightbox__figure figcaption {
  color: rgba(255, 249, 240, .62);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 249, 240, .22);
  border-radius: 50%;
  background: rgba(255, 249, 240, .08);
  color: var(--cream-50);
  cursor: pointer;
  transition: background-color .2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 249, 240, .18);
}

.lightbox__close {
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev {
  left: 8px;
}

.lightbox__nav--next {
  right: 8px;
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.lightbox__counter {
  position: absolute;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  color: rgba(255, 249, 240, .58);
  font-size: .64rem;
  letter-spacing: .18em;
  transform: translateX(-50%);
}

.toast {
  position: fixed;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 72px);
  left: 50%;
  z-index: 160;
  max-width: calc(100cqw - 42px);
  padding: 10px 18px;
  border: 1px solid rgba(201, 164, 92, .35);
  border-radius: 999px;
  background: rgba(59, 36, 28, .96);
  box-shadow: 0 12px 30px rgba(59, 36, 28, .26);
  color: var(--cream-50);
  font-size: .72rem;
  letter-spacing: .02em;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity .3s ease,
    transform .3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cover__photo {
  animation: float-soft 8.5s ease-in-out infinite;
}


.quote__mark {
  animation: mark-breathe 6s ease-in-out infinite;
}

.quote__flower {
  --ornament-rot: 16deg;
  animation: ornament-drift 9s ease-in-out infinite;
  animation-delay: -1s;
}

.couple__flower--left {
  --ornament-rot: -18deg;
  animation: ornament-drift 10s ease-in-out infinite;
  animation-delay: -2s;
}

.couple__flower--right {
  --ornament-rot: 24deg;
  --ornament-flip: -1;
  animation: ornament-drift 11s ease-in-out infinite;
  animation-delay: -4s;
}

.person__media {
  animation: portrait-glow 6.5s ease-in-out infinite;
}

.person__ring {
  animation: halo-pulse 4.8s ease-in-out infinite;
}

.person__flower {
  --ornament-rot: 10deg;
  animation: ornament-drift 8s ease-in-out infinite;
  animation-delay: -1.5s;
}

.person--bride .person__flower {
  --ornament-rot: -12deg;
  --ornament-flip: -1;
  animation-delay: -3.5s;
}

.and span,
.wishes__divider span {
  animation: line-pulse 4.5s ease-in-out infinite;
}

.and span:last-child,
.wishes__divider span:last-child {
  animation-delay: -2.2s;
}

.event__flower {
  --ornament-rot: -18deg;
  animation: ornament-drift 9.5s ease-in-out infinite;
  animation-delay: -2.5s;
}

.event-card__icon {
  animation: icon-bob 5.5s ease-in-out infinite;
}

.event-card:nth-child(2) .event-card__icon {
  animation-delay: -2.2s;
}

.event__joglo {
  animation: joglo-drift 10s ease-in-out infinite;
}

.gallery__flower {
  --ornament-rot: -20deg;
  animation: ornament-drift 10.5s ease-in-out infinite;
  animation-delay: -5s;
}

.story__banner img {
  animation: slow-zoom 18s ease-in-out infinite alternate;
}

.story__flower {
  --ornament-rot: 22deg;
  animation: ornament-drift 12s ease-in-out infinite;
  animation-delay: -3s;
}

.wishes__flower {
  --ornament-rot: 18deg;
  --ornament-flip: -1;
  animation: ornament-drift 10s ease-in-out infinite;
  animation-delay: -1.5s;
}

.gift__flower {
  --ornament-rot: -22deg;
  animation: ornament-drift 11.5s ease-in-out infinite;
  animation-delay: -4.5s;
}

.section__title {
  animation: title-glow 7s ease-in-out infinite;
}

.amp {
  animation: amp-beat 4.8s ease-in-out infinite;
}

.cover__line,
.quote__line,
.story__line,
.wishes__divider img,
.closing__line {
  animation: line-glow 5.5s ease-in-out infinite;
}

.btn--primary {
  overflow: hidden;
}

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

.btn--primary::after {
  position: absolute;
  inset: -60%;
  z-index: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .24) 50%, transparent 62%);
  content: "";
  pointer-events: none;
  animation: btn-sheen 5.2s ease-in-out infinite;
}

.bottom-nav a.is-active svg {
  animation: nav-bob .6s var(--ease-soft);
}

.field input,
.field select,
.field textarea {
  transition:
    transform .22s var(--ease-soft),
    border-color .2s ease,
    box-shadow .2s ease,
    background-color .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  transform: translateY(-1px);
}

.countdown__item strong.is-ticking {
  animation: digit-tick .32s ease;
}

.wish-card {
  animation: wish-in .55s var(--ease-soft) both;
}

.lightbox:not([hidden]) .lightbox__figure {
  animation: lightbox-in .38s var(--ease-soft) both;
}

@keyframes ornament-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--ornament-rot, 0deg)) scaleX(var(--ornament-flip, 1));
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(calc(var(--ornament-rot, 0deg) + 2.5deg)) scaleX(var(--ornament-flip, 1));
  }
}

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes mark-breathe {
  0%,
  100% {
    opacity: .24;
    transform: translateY(0);
  }

  50% {
    opacity: .42;
    transform: translateY(-3px);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: .45;
  }

  50% {
    opacity: .95;
  }
}

@keyframes portrait-glow {
  0%,
  100% {
    box-shadow: var(--shadow-card);
  }

  50% {
    box-shadow: 0 26px 54px rgba(59, 36, 28, .17);
  }
}

@keyframes icon-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes joglo-drift {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, -9px);
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08) translateY(-1.5%);
  }
}

@keyframes title-glow {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(201, 164, 92, 0);
  }

  50% {
    text-shadow: 0 5px 20px rgba(201, 164, 92, .28);
  }
}

@keyframes amp-beat {
  0%,
  100% {
    transform: translateY(-.04em) scale(1);
  }

  50% {
    transform: translateY(-.04em) scale(1.09);
  }
}

@keyframes line-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(201, 164, 92, 0));
  }

  50% {
    filter: drop-shadow(0 0 7px rgba(201, 164, 92, .42));
  }
}

@keyframes line-pulse {
  0%,
  100% {
    opacity: .45;
  }

  50% {
    opacity: 1;
  }
}

@keyframes btn-sheen {
  0%,
  55% {
    transform: translateX(-70%) rotate(8deg);
  }

  100% {
    transform: translateX(70%) rotate(8deg);
  }
}

@keyframes nav-bob {
  0% {
    transform: translateY(0);
  }

  42% {
    transform: translateY(-3px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes digit-tick {
  0% {
    opacity: .45;
    transform: translateY(-3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gift-details-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

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

@keyframes wish-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

@keyframes lightbox-in {
  from {
    opacity: 0;
    transform: scale(.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

[data-parallax] {
  translate: 0 var(--parallax-y, 0px);
}

.js-reveal [data-bg-parallax] img {
  scale: 1.08;
  translate: 0 var(--bg-parallax-y, 0px);
}

.js-reveal [data-anim] {
  opacity: 0;
  transition:
    opacity 1s var(--ease-soft),
    transform 1.2s cubic-bezier(.16, 1, .3, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

.js-reveal [data-anim="up"] {
  transform: translateY(56px);
}

.js-reveal [data-anim="down"] {
  transform: translateY(-46px);
}

.js-reveal [data-anim="left"] {
  transform: translateX(-60px);
}

.js-reveal [data-anim="right"] {
  transform: translateX(60px);
}

.js-reveal [data-anim="zoom"] {
  transform: scale(.8);
}

.js-reveal [data-anim].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.12);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(169, 78, 52, .34);
  }

  50% {
    box-shadow: 0 0 0 13px rgba(169, 78, 52, 0);
  }
}

@keyframes sway-left {
  from {
    transform: rotate(-2deg);
  }

  to {
    transform: rotate(3deg) translateY(4px);
  }
}

@keyframes sway-right {
  from {
    transform: scaleX(-1) rotate(2deg);
  }

  to {
    transform: scaleX(-1) rotate(-3deg) translateY(4px);
  }
}

@keyframes sway-penjor-right {
  from {
    transform: rotate(2deg);
  }

  to {
    transform: rotate(-3deg) translateY(4px);
  }
}

@keyframes sway-flower {
  from {
    transform: rotate(-1deg);
  }

  to {
    transform: rotate(2deg) translateY(3px);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-11px);
  }
}

@keyframes cloud-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(20px, -12px, 0) scale(1.035);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(-100%);
  }

  55%,
  100% {
    transform: translateY(100%);
  }
}

@keyframes music-ring {
  0% {
    opacity: .6;
    transform: scale(.94);
  }

  100% {
    opacity: 0;
    transform: scale(1.22);
  }
}

@keyframes cover-sparkle {
  0% {
    opacity: .44;
    transform: translateY(0);
  }

  100% {
    opacity: .82;
    transform: translateY(-4px);
  }
}

@keyframes sparkle-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(.25) rotate(0deg);
  }

  42%,
  64% {
    opacity: .68;
    transform: scale(1) rotate(12deg);
  }
}

@media (hover: hover) {
  .gallery__item:hover img,
  .gallery__item:focus-visible img {
    transform: scale(1.055);
  }
}

@media (max-width: 370px) {
  :root {
    --section-x: 18px;
  }

  .cover__content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cover__names,
  .hero__names {
    font-size: 2rem;
  }

  .cover__photo {
    width: 136px;
    margin-top: 13px;
    margin-bottom: 14px;
  }

  .cover__guest {
    margin-bottom: 15px;
    padding: 10px 14px;
  }

  .cover__note {
    display: none;
  }

  .countdown {
    gap: 5px;
  }

  .countdown__item {
    padding: 8px 2px 7px;
  }

  .countdown__item span {
    font-size: .49rem;
  }

  .bottom-nav a {
    font-size: .51rem;
  }

  .lightbox {
    padding-right: 42px;
    padding-left: 42px;
  }
}

@media (max-height: 700px) {
  .cover__photo {
    width: clamp(116px, 21vh, 150px);
    margin-top: 10px;
    margin-bottom: 12px;
  }

  .cover__names {
    font-size: clamp(1.85rem, 8.5cqw, 2.2rem);
  }

  .cover__guest {
    margin-bottom: 14px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .cover__note {
    display: none;
  }

  .cover__line {
    margin-top: 8px;
    margin-bottom: 10px;
  }

}

@media (max-height: 560px) {
  .cover__content {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .cover__eyebrow {
    margin-bottom: 2px;
    font-size: .56rem;
  }

  .cover__photo {
    width: 96px;
    margin-top: 2px;
    margin-bottom: 6px;
  }

  .cover__names {
    font-size: clamp(1.7rem, 5.5cqw, 2rem);
  }

  .cover__date {
    margin-top: 3px;
    font-size: .6rem;
  }

  .cover__line {
    width: 120px;
    margin-top: 5px;
    margin-bottom: 7px;
  }

  .cover__guest {
    gap: 0;
    margin-bottom: 9px;
    padding: 7px 12px;
    font-size: .6rem;
    line-height: 1.35;
  }

  .cover__guest strong {
    margin-top: 1px;
    font-size: 1.08rem;
  }
}

@media (max-height: 430px) {
  .cover__photo {
    display: none;
  }

  .cover__names {
    font-size: 1.7rem;
  }

  .cover__guest {
    margin-bottom: 7px;
    padding: 5px 12px;
  }
}

@media (min-width: 600px) {
  .page-shell {
    margin-top: 0;
  }

  .cover__panel,
  .bottom-nav {
    box-shadow: 0 0 80px rgba(59, 36, 28, .22);
  }
}

@media (min-width: 1025px) {
  body {
    background: var(--brown-900);
  }

  .page-shell {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
    background: var(--brown-900);
    box-shadow: none;
  }

  .cover {
    justify-content: flex-end;
    background: transparent;
  }

  .cover__panel {
    flex: 0 0 var(--panel-w);
    box-shadow: -24px 0 70px rgba(30, 17, 12, .34);
  }

  .main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--panel-w);
    align-items: start;
    overflow: visible;
  }

  .invitation {
    min-width: 0;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
    background: var(--cream-50);
    box-shadow: -24px 0 60px rgba(30, 17, 12, .24);
  }

  .hero {
    position: sticky;
    top: 0;
    width: auto;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    align-self: start;
    padding-right: clamp(36px, 5cqw, 82px);
    padding-bottom: clamp(110px, 14vh, 150px);
    padding-left: clamp(36px, 5cqw, 82px);
  }

  .hero__content {
    max-width: min(560px, 76%);
  }

  .hero__names {
    font-size: clamp(2.7rem, 4.2cqw, 4.25rem);
  }

  .hero__date {
    font-size: .76rem;
  }

  .hero__guest {
    display: flex;
    max-width: 360px;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 19px auto 0;
    color: rgba(255, 249, 240, .64);
    font-size: .58rem;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .hero__guest strong {
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.6cqw, 1.45rem);
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-transform: none;
    text-wrap: balance;
  }

  .scroll-cue {
    display: none;
  }

  .bottom-nav {
    right: 0;
    left: auto;
    width: var(--panel-w);
    max-width: none;
    transform: none;
  }

  .music-toggle {
    right: 18px;
  }

  .toast {
    right: 21px;
    left: auto;
    width: auto;
    max-width: calc(var(--panel-w) - 42px);
    transform: translateY(12px);
  }

  .toast.is-visible {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }

  .js-reveal [data-anim] {
    opacity: 1;
    transform: none;
  }

  [data-parallax] {
    translate: none;
  }

  .js-reveal [data-bg-parallax] img {
    scale: 1;
    translate: none;
  }

  .hero__slide,
  .closing__slide {
    transition: none;
  }
}
