:root {
  --maroon-950: #25050b;
  --maroon-900: #350811;
  --maroon-800: #4a0d18;
  --maroon-700: #5e1020;
  --maroon-600: #7a1426;
  --red: #a4133c;
  --red-bright: #c9184a;
  --gold: #d4af37;
  --gold-light: #f0d48a;
  --gold-pale: #f7e7b8;
  --brown-900: #2f1a11;
  --brown-800: #3d2417;
  --brown-700: #5b3a24;
  --brown-600: #7a4f31;
  --brown-500: #8b6b4a;
  --terracotta: #b5654a;
  --sage: #7a8b6f;
  --sand: #d8c3a5;
  --olive: #6b705c;
  --cream-warm: #e8dcc8;
  --cream: #fbf5e9;
  --cream-2: #f4ead6;
  --white: #fffdf8;
  --ink: #2b1b17;
  --ink-soft: #5c4a42;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Great Vibes", "Segoe Script", cursive;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft: 0 22px 60px rgba(42, 6, 13, 0.16);
  --shadow-deep: 0 30px 80px rgba(20, 3, 7, 0.45);
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--maroon-950);
  overflow-x: hidden;
}

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

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

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

button {
  font: inherit;
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--maroon-950);
}

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

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--maroon-950);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--gold), #8c6b16);
  border-radius: 999px;
  border: 2px solid var(--maroon-950);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--maroon-950);
  border-radius: 999px;
  font-size: 13px;
  transition: top 0.3s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
  padding-inline: clamp(0px, 1vw, 12px);
}

.container--narrow {
  width: min(780px, 90vw);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.amp {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(76px, 10vw, 136px);
  overflow: hidden;
}

.section > .container {
  position: relative;
  z-index: 2;
}

.section--cream {
  color: var(--ink);
  background:
    radial-gradient(1100px 620px at 8% 0%, rgba(212, 175, 55, 0.13), transparent 62%),
    radial-gradient(900px 520px at 96% 100%, rgba(139, 107, 74, 0.11), transparent 62%),
    radial-gradient(700px 420px at 50% 110%, rgba(164, 19, 60, 0.05), transparent 65%),
    var(--cream);
}

.section--cream::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/img/batik-parang.svg");
  background-size: 200px;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, transparent 20%, #000 100%);
  mask-image: radial-gradient(circle at 50% 45%, transparent 20%, #000 100%);
}

.section--dark {
  color: var(--cream);
  background:
    radial-gradient(1000px 640px at 18% 0%, rgba(164, 19, 60, 0.34), transparent 62%),
    radial-gradient(900px 700px at 92% 100%, rgba(122, 20, 38, 0.5), transparent 68%),
    radial-gradient(700px 500px at 50% 100%, rgba(139, 107, 74, 0.16), transparent 70%),
    linear-gradient(160deg, var(--maroon-900), var(--maroon-950) 62%);
}

.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/img/batik-kawung.svg");
  background-size: 190px;
  opacity: 0.22;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, transparent 12%, #000 88%);
  mask-image: radial-gradient(circle at 50% 40%, transparent 12%, #000 88%);
}

.section--doa {
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 101, 74, 0.2), transparent 48%),
    radial-gradient(900px 700px at 10% 100%, rgba(122, 20, 38, 0.4), transparent 65%),
    linear-gradient(160deg, var(--maroon-900), var(--maroon-950));
}

.section--doa::after {
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;
  z-index: 0;
  width: min(720px, 88vw);
  height: 520px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 50% 50% 18px 18px;
  transform: translateX(-50%);
  pointer-events: none;
}

.prayers {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.prayer {
  position: relative;
  padding: clamp(26px, 5vw, 48px) clamp(4px, 2vw, 18px);
  text-align: center;
}

.prayer + .prayer {
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}

.prayer + .prayer::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--maroon-950);
  transform: translateX(-50%) rotate(45deg);
}

.prayer__arabic {
  font-family: "Amiri", "Noto Naskh Arabic", serif;
  font-size: clamp(1.7rem, 3.6vw, 2.45rem);
  font-weight: 400;
  line-height: 2;
  color: var(--gold-pale);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.prayer__latin {
  max-width: 680px;
  margin: 18px auto 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.7;
  color: rgba(251, 245, 233, 0.7);
}

.prayer__translation {
  max-width: 660px;
  margin: 10px auto 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(251, 245, 233, 0.58);
}

.prayer__source {
  margin-top: 14px;
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.prayers__closing {
  position: relative;
  z-index: 2;
  margin-top: clamp(20px, 4vw, 32px);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-style: italic;
  text-align: center;
  color: var(--gold-light);
}

.section--culture {
  color: var(--cream);
  background:
    radial-gradient(circle at 12% 18%, rgba(212, 175, 55, 0.14), transparent 44%),
    radial-gradient(circle at 88% 88%, rgba(181, 101, 74, 0.28), transparent 52%),
    linear-gradient(165deg, var(--brown-800), var(--brown-900) 62%, var(--brown-700));
  padding-bottom: clamp(140px, 18vw, 220px);
}

.section--culture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("../assets/img/batik-parang.svg");
  background-size: 190px;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, transparent 16%, #000 88%);
  mask-image: radial-gradient(circle at 50% 40%, transparent 16%, #000 88%);
}

.section--culture .section-head .eyebrow {
  color: var(--gold-light);
}

.section--culture .section-title {
  color: var(--cream);
}

.section--culture .section-sub {
  color: rgba(251, 245, 233, 0.64);
}

.section--culture .section-head::after {
  background: linear-gradient(var(--gold-light), var(--gold-light)) center / 100% 1px no-repeat;
}

.culture__trees {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 95%);
  mask-image: linear-gradient(to top, #000 30%, transparent 95%);
}

.culture__trees img {
  width: 100%;
  height: auto;
  animation: treeBreathe 14s ease-in-out infinite;
}

.culture-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 2vw, 24px);
  max-width: 1080px;
  margin: 0 auto;
}

.culture-item {
  text-align: center;
}

.culture-item__icon {
  display: grid;
  place-items: center;
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  margin: 0 auto 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.17), rgba(212, 175, 55, 0.02) 70%);
  color: var(--gold-light);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease), border-color 0.45s var(--ease);
}

.culture-item__icon svg {
  width: 56%;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.culture-item:hover .culture-item__icon {
  transform: translateY(-5px) scale(1.04);
  border-color: rgba(240, 212, 138, 0.6);
  background: radial-gradient(circle, rgba(240, 212, 138, 0.25), rgba(212, 175, 55, 0.04) 72%);
}

.culture-item__name {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.7vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.culture-note {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: clamp(30px, 5vw, 44px) auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-style: italic;
  text-align: center;
  color: var(--gold-light);
}

.section-head {
  max-width: 700px;
  margin: 0 auto clamp(42px, 6vw, 68px);
  text-align: center;
}

.section-head .eyebrow {
  color: var(--red);
}

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

.section-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5.2vw, 3.7rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--maroon-800);
}

.section-head--light .section-title {
  color: var(--cream);
}

.section-sub {
  max-width: 560px;
  margin: 16px auto 0;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.section-head--light .section-sub {
  color: rgba(251, 245, 233, 0.66);
}

.section-head::after {
  content: "";
  display: block;
  width: 92px;
  height: 18px;
  margin: 22px auto 0;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 1px no-repeat;
  clip-path: polygon(0 40%, 42% 40%, 50% 0, 58% 40%, 100% 40%, 100% 60%, 58% 60%, 50% 100%, 42% 60%, 0 60%);
  opacity: 0.7;
}

.section-deco {
  position: absolute;
  bottom: -8px;
  z-index: 1;
  width: clamp(96px, 11vw, 165px);
  opacity: 0.24;
  pointer-events: none;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.16))
    drop-shadow(0 0 12px rgba(212, 175, 55, 0.24))
    drop-shadow(0 0 1px rgba(247, 231, 184, 0.36));
}

.section-deco--left {
  left: -4px;
}

.section-deco--right {
  right: -4px;
}

.section-deco img {
  width: 100%;
  height: auto;
  animation: wayangSway 11s ease-in-out infinite;
}

.section-deco--tree {
  width: clamp(220px, 28vw, 380px);
  bottom: -12px;
  opacity: 0.16;
}

.section-deco--tree img {
  animation: treeBreathe 16s ease-in-out infinite;
}

.section-ornament {
  width: clamp(72px, 10vw, 104px);
  height: auto;
  margin: 0 auto clamp(18px, 3vw, 28px);
  opacity: 0.9;
  animation: ornamentFloat 9s ease-in-out infinite;
}

.section-ornament--logo {
  height: clamp(88px, 9vw, 120px);
  width: auto;
  opacity: 0.72;
  animation-duration: 7s;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65em;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

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

.btn--gold {
  background: linear-gradient(135deg, var(--gold-pale), var(--gold) 55%, #b08a20);
  color: var(--maroon-950);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.25);
}

.btn--gold::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
}

.btn--gold:hover::after {
  left: 120%;
}

.btn--ghost {
  border-color: rgba(240, 212, 138, 0.45);
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.02);
}

.btn--outline {
  border-color: rgba(74, 13, 24, 0.3);
  color: var(--maroon-800);
  background: transparent;
}

.btn--sm {
  padding: 0.72rem 1.2rem;
  font-size: 10.5px;
}

.btn--block {
  width: 100%;
}

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

.btn--gold:hover {
  box-shadow: 0 18px 34px rgba(212, 175, 55, 0.34);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}

.btn--outline:hover {
  background: var(--maroon-800);
  border-color: var(--maroon-800);
  color: var(--gold-pale);
}

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

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(7px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    filter 1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.cover {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 42px);
  overflow: hidden;
  color: var(--cream);
  background: var(--maroon-950);
  transition:
    opacity 0.9s var(--ease),
    visibility 0.9s var(--ease),
    background-color 0.35s var(--ease);
}

.cover.is-opening {
  background-color: transparent;
}

.cover.is-opening .cover__bg,
.cover.is-opening .cover__batik {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cover[hidden] {
  display: none;
}

.cover__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(240, 212, 138, 0.2), transparent 34%),
    radial-gradient(circle at 12% 88%, rgba(164, 19, 60, 0.45), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(122, 20, 38, 0.55), transparent 46%),
    linear-gradient(165deg, var(--maroon-800), var(--maroon-950) 72%);
}

.cover__batik {
  position: absolute;
  inset: -10%;
  background-image: url("../assets/img/batik-kawung.svg");
  background-size: 170px;
  opacity: 0.28;
  transform: rotate(-3deg);
  animation: batikDrift 40s linear infinite alternate;
}

.cover__doors {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  perspective: 1800px;
  pointer-events: none;
}

.cover__door {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 42%, rgba(212, 175, 55, 0.11), transparent 52%),
    linear-gradient(125deg, #2b060d, var(--maroon-800) 58%, #350811);
  transition: transform 1.5s cubic-bezier(0.77, 0, 0.18, 1), filter 1.2s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}

.cover__door--left {
  transform-origin: left center;
}

.cover__door--right {
  transform-origin: right center;
  background:
    radial-gradient(circle at 0% 42%, rgba(212, 175, 55, 0.11), transparent 52%),
    linear-gradient(235deg, #2b060d, var(--maroon-800) 58%, #350811);
}

.cover__door::before {
  content: "";
  position: absolute;
  inset: -5%;
  background-image: url("../assets/img/batik-kawung.svg");
  background-size: 170px;
  opacity: 0.26;
  transform: rotate(-3deg);
}

.cover__wayang {
  position: absolute;
  bottom: -4%;
  width: min(50%, 230px);
  height: auto;
  opacity: 0.72;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 16px rgba(212, 175, 55, 0.3))
    drop-shadow(0 0 2px rgba(247, 231, 184, 0.45));
  animation: wayangSway 9s ease-in-out infinite;
}

.cover__door--right .cover__wayang {
  animation-name: wayangSwayAlt;
  animation-delay: -4.5s;
}

.cover__door--left .cover__wayang {
  left: -2%;
}

.cover__door--right .cover__wayang {
  right: -2%;
}

.cover.is-opening .cover__door--left {
  transform: translate3d(-104%, 0, 0) rotateY(-7deg);
  filter: brightness(0.72);
}

.cover.is-opening .cover__door--right {
  transform: translate3d(104%, 0, 0) rotateY(7deg);
  filter: brightness(0.72);
}

.cover.is-opening .cover__wayang {
  opacity: 0.5;
  transition: opacity 0.8s var(--ease);
}

.cover__birds {
  z-index: 4;
}

.clouds {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.cover__clouds {
  z-index: 2;
}

.hero__clouds {
  z-index: 1;
}

.cloud {
  position: absolute;
  top: var(--top, 20%);
  left: -32vw;
  width: var(--w, 180px);
  height: calc(var(--w, 180px) * 0.28);
  border-radius: 999px;
  background: rgba(250, 242, 225, 0.3);
  opacity: var(--op, 0.18);
  filter: blur(7px);
  animation: cloudDrift var(--dur, 70s) linear var(--delay, 0s) infinite;
}

.cover .cover__clouds {
  z-index: 2;
}

.hero .hero__clouds {
  z-index: 1;
}

.cover .cover__birds {
  z-index: 4;
}

.cloud::before,
.cloud::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: inherit;
}

.cloud::before {
  width: 52%;
  aspect-ratio: 1;
  left: 12%;
  bottom: 18%;
}

.cloud::after {
  width: 64%;
  aspect-ratio: 1;
  right: 10%;
  bottom: 8%;
}

.cover__light {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 50%,
    rgba(255, 227, 163, 0.36),
    rgba(212, 175, 55, 0.09) 34%,
    transparent 68%
  );
}

.cover.is-opening .cover__light {
  animation: gateLight 1.8s var(--ease) forwards;
}

.cover__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 0 190px 60px rgba(20, 3, 7, 0.78);
  pointer-events: none;
  transition: opacity 1s var(--ease);
}

.cover.is-opening .cover__vignette {
  opacity: 0;
}

.cover__inner {
  position: relative;
  z-index: 4;
  width: min(640px, 100%);
  max-height: calc(100svh - 36px);
  padding: clamp(26px, 4.5vw, 52px) clamp(20px, 4.5vw, 50px);
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(28, 4, 9, 0.52),
    rgba(28, 4, 9, 0.2) 64%,
    transparent 78%
  );
  border: 0;
  border-radius: 38px;
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  overflow-y: auto;
  scrollbar-width: thin;
  transition:
    opacity 0.55s var(--ease),
    transform 0.8s var(--ease),
    filter 0.8s var(--ease);
}

.cover.is-opening .cover__inner {
  opacity: 0;
  transform: scale(0.9) translateY(-10px);
  filter: blur(8px);
}

.cover__logo {
  height: clamp(94px, 13vh, 140px);
  width: auto;
  margin: 0 auto 4px;
  opacity: 0.96;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.35));
  animation: logoFloat 6s ease-in-out infinite;
}

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

.cover__names {
  margin: 10px 0 0;
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 11vw, 5.9rem);
  font-weight: 400;
  line-height: 0.95;
  color: var(--white);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.cover__names .amp {
  font-size: 0.55em;
  vertical-align: 0.08em;
  margin-inline: 0.08em;
}

.cover__date {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.cover__guest {
  margin: clamp(20px, 3.5vh, 30px) auto 0;
  padding: 0 10px;
  max-width: 420px;
}

.cover__guest-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.58);
}

.cover__guest strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.6vw, 1.55rem);
  font-weight: 600;
  color: var(--gold-pale);
}

.cover__note {
  max-width: 450px;
  margin: clamp(14px, 2.6vh, 22px) auto 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(251, 245, 233, 0.66);
}

.btn--open {
  margin-top: clamp(18px, 3vh, 26px);
}

.cover__hint {
  margin-top: 14px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.4);
}

.petals {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -12vh;
  width: 9px;
  height: 13px;
  border-radius: 60% 10% 60% 10%;
  background: linear-gradient(140deg, rgba(201, 24, 74, 0.9), rgba(122, 20, 38, 0.65));
  box-shadow: 0 0 6px rgba(201, 24, 74, 0.2);
  opacity: 0.55;
  animation: petalFall var(--dur, 16s) linear infinite;
  animation-delay: var(--delay, 0s);
}

.petal:nth-child(3n) {
  background: linear-gradient(140deg, rgba(240, 212, 138, 0.9), rgba(180, 140, 40, 0.6));
  width: 7px;
  height: 10px;
}

.petal:nth-child(4n) {
  width: 12px;
  height: 16px;
  opacity: 0.38;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.06);
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #8c6b16, var(--gold), var(--gold-pale), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 18px 0;
  transition:
    background 0.45s var(--ease),
    padding 0.45s var(--ease),
    border-color 0.45s var(--ease),
    backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-menu-open {
  padding: 10px 0;
  background: rgba(37, 5, 11, 0.9);
  border-bottom-color: rgba(212, 175, 55, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--gold-pale);
}

.brand em {
  font-size: 0.72em;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 28px);
}

.nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.72);
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--gold-light);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 8px 15px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  color: var(--gold-pale);
}

.nav__cta::after {
  display: none;
}

.nav__cta:hover {
  background: var(--gold);
  color: var(--maroon-950);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold-light);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 60px) 0 100px;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -6% 0;
  z-index: -2;
  overflow: hidden;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.96) brightness(0.68);
  transform: scale(1.04);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 36%, rgba(74, 13, 24, 0.08), rgba(37, 5, 11, 0.52) 70%),
    linear-gradient(to bottom, rgba(37, 5, 11, 0.4), rgba(37, 5, 11, 0.18) 38%, rgba(37, 5, 11, 0.72) 100%);
}

.hero__batik {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../assets/img/batik-kawung.svg");
  background-size: 200px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  transform: translateY(-6.5vh);
}

.hero__logo {
  height: clamp(72px, 6vw, 96px);
  width: auto;
  margin-bottom: 14px;
  opacity: 0.95;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.38));
}



.wayang {
  position: absolute;
  bottom: -7%;
  z-index: 1;
  width: clamp(130px, 17vw, 260px);
  height: auto;
  --wayang-min: 0.5;
  --wayang-max: 0.68;
  opacity: var(--wayang-min);
  pointer-events: none;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 18px rgba(212, 175, 55, 0.34))
    drop-shadow(0 0 2px rgba(247, 231, 184, 0.5));
  transform-origin: bottom center;
  animation:
    wayangSway 8.5s ease-in-out infinite,
    wayangGlow 5.5s ease-in-out infinite;
}

.wayang--left {
  left: -1%;
}

.wayang--right {
  right: -1%;
  animation-name: wayangSwayAlt, wayangGlow;
  animation-delay: -4.2s, -2.1s;
}

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

.bird {
  position: absolute;
  top: var(--top, 20%);
  left: -12%;
  width: var(--size, 26px);
  opacity: 0;
  color: rgba(247, 231, 184, 0.82);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  animation: birdFly var(--dur, 20s) linear var(--delay, 0s) infinite;
}

.bird svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.bird .wing {
  transform-box: fill-box;
  transform-origin: center;
  animation: wingFlap var(--flap-dur, 0.75s) ease-in-out infinite alternate;
  animation-delay: var(--flap-delay, 0s);
}

.bird .wing:last-child {
  animation-delay: calc(var(--flap-delay, 0s) + 0.08s);
}

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

.hero__kicker {
  margin-top: 20px;
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.6);
}

.hero__names {
  margin-top: 12px;
  font-family: var(--font-script);
  font-size: clamp(4rem, 14vw, 8.4rem);
  font-weight: 400;
  line-height: 0.9;
  text-align: center;
  color: var(--white);
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.hero__names .amp {
  font-size: 0.52em;
  vertical-align: 0.12em;
  margin-inline: 0.06em;
}

.hero__date {
  margin-top: 20px;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(7px, 1.8vw, 16px);
  margin-top: clamp(30px, 5vh, 46px);
}

.countdown__item {
  position: relative;
  width: clamp(62px, 15.5vw, 92px);
  padding: 13px 6px 10px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(255, 253, 248, 0.98), rgba(232, 220, 200, 0.94));
  box-shadow:
    0 12px 28px rgba(17, 3, 7, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.countdown__item::before,
.countdown__item::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-color: rgba(212, 175, 55, 0.65);
  border-style: solid;
}

.countdown__item::before {
  top: 5px;
  left: 5px;
  border-width: 1px 0 0 1px;
}

.countdown__item::after {
  right: 5px;
  bottom: 5px;
  border-width: 0 1px 1px 0;
}

.countdown__item span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  color: var(--maroon-800);
  font-variant-numeric: tabular-nums;
}

.countdown__item small {
  display: block;
  margin-top: 6px;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.countdown__done {
  margin-top: 32px;
  padding: 10px 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold-pale);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(30px, 5vh, 44px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  width: 25px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 999px;
  background: var(--gold-light);
  animation: scrollDot 2.1s var(--ease) infinite;
}

.quote {
  text-align: center;
}

.quote__text {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 2.9rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: var(--maroon-800);
}

.quote__text::before {
  content: "\201C";
  color: var(--gold);
}

.quote__text::after {
  content: "\201D";
  color: var(--gold);
}

.quote__meaning {
  max-width: 560px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.quote__source {
  display: inline-block;
  margin-top: 22px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
}

.section--couple::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 18%, rgba(212, 175, 55, 0.16), transparent 48%);
  pointer-events: none;
}

.couple-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.couple-card {
  position: relative;
  padding: clamp(22px, 3.5vw, 38px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(160deg, rgba(255, 253, 248, 0.92), rgba(232, 220, 200, 0.46));
  border: 1px solid rgba(139, 107, 74, 0.18);
  border-radius: 38px;
  box-shadow: 0 26px 58px rgba(59, 36, 24, 0.1);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.couple-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 72px rgba(59, 36, 24, 0.14);
}

.couple-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 30px;
  pointer-events: none;
}

.couple-card__photo {
  position: relative;
  width: min(100%, 336px);
  aspect-ratio: 3 / 4;
  margin: 0 auto clamp(20px, 3vw, 28px);
  border-radius: 999px 999px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  background: var(--maroon-800);
}

.couple-card__photo::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(247, 231, 184, 0.32);
  border-radius: 999px 999px 6px 6px;
  pointer-events: none;
  z-index: 2;
}

.couple-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.couple-card:hover .couple-card__photo img {
  transform: scale(1.045);
}

.couple-card__role {
  font-size: 9.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
}

.couple-card__name {
  margin-top: 8px;
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 4.4vw, 3.1rem);
  line-height: 1.12;
  color: var(--maroon-800);
}

.couple-card__order {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.couple-card__parents {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--maroon-700);
}

.couple-card__ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 7px 13px;
  border: 1px solid rgba(164, 19, 60, 0.22);
  border-radius: 999px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--red);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.couple-card__ig svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.couple-card__ig:hover {
  background: var(--red);
  color: var(--gold-pale);
}

.couple-invite {
  max-width: 720px;
  margin: clamp(38px, 6vw, 60px) auto 0;
  padding-top: clamp(28px, 4vw, 38px);
  border-top: 1px solid rgba(164, 19, 60, 0.16);
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
  color: var(--ink-soft);
}

.timeline {
  position: relative;
  max-width: 840px;
  margin: 0 auto;
  padding-block: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.45) 10%, rgba(212, 175, 55, 0.45) 90%, transparent);
  transform: translateX(-50%);
}

.timeline__item {
  position: relative;
  width: 50%;
  padding: 0 58px 42px 0;
  text-align: right;
}

.timeline__item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 42px 58px;
  text-align: left;
}

.timeline__item::after {
  content: "";
  position: absolute;
  top: 9px;
  right: -5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--maroon-900);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.08);
}

.timeline__item:nth-child(even)::after {
  right: auto;
  left: -5px;
}

.timeline__year {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.timeline__title {
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--cream);
}

.timeline__text {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(251, 245, 233, 0.64);
}

.section--gallery {
  padding-bottom: clamp(52px, 7vw, 88px);
}

.gallery {
  position: relative;
  perspective: 1700px;
}

.gallery__viewport {
  overflow: hidden;
  padding-block: 12px;
}

.gallery__track {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 26px);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.gallery__slide {
  position: relative;
  flex: 0 0 clamp(248px, 58%, 720px);
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--maroon-900);
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0.3;
  transform: translateZ(-70px) scale(0.84);
  filter: saturate(0.68) brightness(0.78);
  transform-style: preserve-3d;
  transition:
    opacity 1s var(--ease),
    transform 1.15s var(--ease),
    filter 1s var(--ease),
    box-shadow 0.8s var(--ease);
  will-change: transform, opacity;
}

.gallery__slide.is-prev {
  opacity: 0.62;
  transform: translateX(4%) rotateY(11deg) translateZ(-34px) scale(0.9);
  filter: saturate(0.82) brightness(0.9);
}

.gallery__slide.is-next {
  opacity: 0.62;
  transform: translateX(-4%) rotateY(-11deg) translateZ(-34px) scale(0.9);
  filter: saturate(0.82) brightness(0.9);
}

.gallery__slide::before {
  content: "";
  position: absolute;
  inset: -30% -70%;
  z-index: 1;
  background: linear-gradient(
    104deg,
    transparent 42%,
    rgba(255, 255, 255, 0.26) 50%,
    transparent 58%
  );
  transform: translateX(-65%) rotate(4deg);
  opacity: 0;
  pointer-events: none;
}

.gallery__slide.is-active::before {
  animation: photoSheen 5.2s var(--ease) 0.35s both;
}

.gallery__slide::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 3;
  border: 1px solid rgba(247, 231, 184, 0.28);
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease), border-color 0.6s var(--ease);
}

.gallery__slide.is-active {
  opacity: 1;
  transform: none;
  filter: none;
  box-shadow:
    0 28px 68px rgba(37, 5, 11, 0.34),
    0 0 0 1px rgba(212, 175, 55, 0.12);
}

.gallery__slide.is-active::after {
  opacity: 1;
  border-color: rgba(247, 231, 184, 0.48);
}

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

.gallery__slide.is-active img {
  animation: kenBurns 6.8s var(--ease) both;
}

.gallery__slide:nth-child(even).is-active img {
  animation-name: kenBurnsAlt;
}

.gallery__slide.is-active:hover {
  box-shadow:
    0 32px 78px rgba(37, 5, 11, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.2);
}

.gallery__slide.is-active:hover::after {
  border-color: rgba(247, 231, 184, 0.7);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 58px 22px 20px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-style: italic;
  line-height: 1.4;
  text-align: left;
  color: var(--gold-pale);
  background: linear-gradient(to top, rgba(20, 3, 7, 0.88), rgba(20, 3, 7, 0));
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.gallery__slide.is-active .gallery__caption {
  opacity: 1;
  transform: none;
}

.gallery__arrow {
  position: absolute;
  top: calc(50% - 28px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  background: rgba(251, 245, 233, 0.92);
  color: var(--maroon-800);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 5, 11, 0.14);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

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

.gallery__arrow:hover {
  background: var(--gold);
  color: var(--maroon-950);
  transform: scale(1.05);
}

.gallery__arrow--prev {
  left: clamp(2px, 1.4vw, 16px);
}

.gallery__arrow--next {
  right: clamp(2px, 1.4vw, 16px);
}

.gallery__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(18px, 3vw, 26px);
}

.gallery__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.gallery__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(74, 13, 24, 0.22);
  cursor: pointer;
  transition: width 0.4s var(--ease), background 0.4s var(--ease);
}

.gallery__dot.is-active {
  width: 26px;
  background: var(--gold);
}

.gallery__counter {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gallery__counter .sep {
  color: var(--gold);
}

.section--events::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: 0;
  background: linear-gradient(to top, rgba(37, 5, 11, 0.06), transparent);
  pointer-events: none;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 38px);
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(34px, 4.8vw, 50px) clamp(22px, 3.6vw, 40px) clamp(28px, 4vw, 42px);
  text-align: center;
  border: 1px solid rgba(139, 107, 74, 0.18);
  border-radius: clamp(42px, 5vw, 66px) clamp(42px, 5vw, 66px) 26px 26px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.16), transparent 38%),
    linear-gradient(165deg, rgba(255, 253, 248, 0.97), rgba(232, 220, 200, 0.72));
  box-shadow: 0 28px 64px rgba(59, 36, 24, 0.13);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 36px 80px rgba(59, 36, 24, 0.18);
}

.event-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.event-card::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -46px;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(139, 107, 74, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.event-card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(139, 107, 74, 0.32);
  border-radius: 50% 46% 52% 48%;
  background: linear-gradient(145deg, rgba(232, 220, 200, 0.7), rgba(212, 175, 55, 0.12));
  color: var(--brown-600);
  box-shadow: 0 10px 22px rgba(59, 36, 24, 0.1);
}

.event-card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-card__name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--maroon-800);
}

.event-card__date-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-600);
}

.event-card__when {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}

.event-card__date {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-card__date strong {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 3.8rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--maroon-800);
}

.event-card__date span {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  color: var(--brown-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-card__time {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-pale);
  background: linear-gradient(135deg, var(--brown-700), var(--maroon-800));
  box-shadow: 0 10px 22px rgba(59, 36, 24, 0.2);
}

.event-card__venue {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brown-800);
}

.event-card__address {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.event-card__note {
  margin-top: 12px;
  font-size: 11px;
  font-style: italic;
  color: rgba(92, 74, 66, 0.85);
}

.event-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 22px;
}

.dress-code {
  position: relative;
  margin-top: clamp(42px, 6vw, 64px);
  padding: clamp(30px, 4.6vw, 48px) clamp(22px, 4vw, 42px);
  border: 1px solid rgba(139, 107, 74, 0.2);
  border-radius: 56px 24px 56px 24px;
  background:
    radial-gradient(circle at 18% 18%, rgba(181, 101, 74, 0.16), transparent 42%),
    radial-gradient(circle at 84% 84%, rgba(122, 139, 111, 0.14), transparent 45%),
    linear-gradient(140deg, rgba(232, 220, 200, 0.6), rgba(255, 253, 248, 0.7));
  box-shadow: 0 26px 58px rgba(59, 36, 24, 0.1);
  overflow: hidden;
}

.dress-code::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -50px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(139, 107, 74, 0.16);
  border-radius: 50%;
}

.dress-code__head {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.dress-code__head .eyebrow {
  color: var(--brown-600);
}

.dress-code__head h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.55rem);
  font-weight: 700;
  color: var(--brown-800);
}

.dress-code__head p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.dress-code__swatches {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  margin-top: 28px;
}

.swatch {
  text-align: center;
}

.swatch__circle {
  display: block;
  width: clamp(50px, 6.5vw, 66px);
  height: clamp(50px, 6.5vw, 66px);
  margin: 0 auto;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.28),
    0 12px 24px rgba(59, 36, 24, 0.18);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.swatch:hover .swatch__circle {
  transform: translateY(-5px) scale(1.05);
  box-shadow:
    inset 0 0 0 4px rgba(255, 255, 255, 0.36),
    0 18px 30px rgba(59, 36, 24, 0.24);
}

.swatch__name {
  display: block;
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-800);
}

.swatch__hex {
  display: block;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: var(--brown-500);
}

.dress-code__hashtag {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--brown-600);
}

.dress-code__hashtag strong {
  margin-left: 6px;
  color: var(--maroon-800);
}

.venue-feature {
  max-width: 820px;
  margin: 0 auto clamp(24px, 4vw, 38px);
  text-align: center;
}

.venue-feature__art {
  width: min(100%, 600px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.36));
  animation: logoFloat 9s ease-in-out infinite;
}

.venue-feature__label {
  margin-top: 8px;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.map-card {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.24);
  border-radius: 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(181, 101, 74, 0.16), transparent 45%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(139, 107, 74, 0.08));
  box-shadow: var(--shadow-deep);
}

.map-card__frame {
  position: relative;
  min-height: 430px;
  background: var(--maroon-900);
}

.map-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(1.04);
}

.map-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(26px, 3.4vw, 36px);
  border-left: 1px solid rgba(212, 175, 55, 0.16);
}

.map-card__venue-art {
  width: min(100%, 330px);
  height: auto;
  margin: 0 0 12px;
  opacity: 0.96;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
}

.map-card__venue-label {
  margin-top: 0 !important;
  font-size: 8.5px !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold) !important;
}

.map-card__info h3 {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.7vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-pale);
}

.map-card__info p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(251, 245, 233, 0.62);
}

.map-card__direction {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 2px solid rgba(212, 175, 55, 0.7);
  border-radius: 0 18px 18px 0;
  background: rgba(212, 175, 55, 0.08);
}

.map-card__direction-label {
  display: block;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.map-card__direction p {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(251, 245, 233, 0.7);
}

.map-card__info .btn {
  margin-top: 20px;
}

.map-card__info .map-card__note {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.34);
}

.section--gift::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(164, 19, 60, 0.06), transparent 46%);
  pointer-events: none;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.gift-card {
  position: relative;
  padding: clamp(26px, 3vw, 34px) clamp(16px, 2.5vw, 26px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12), transparent 42%),
    linear-gradient(160deg, rgba(255, 253, 248, 0.94), rgba(232, 220, 200, 0.5));
  border: 1px solid rgba(139, 107, 74, 0.18);
  border-radius: 30px;
  box-shadow: 0 20px 46px rgba(59, 36, 24, 0.11);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(59, 36, 24, 0.16);
}

.gift-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand, var(--gold));
  opacity: 0.9;
}

.gift-card__kind {
  font-size: 8.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.gift-card__provider {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--maroon-800);
}

.gift-card__label {
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.gift-card__number {
  margin-top: 3px;
  font-size: clamp(1.15rem, 2.1vw, 1.38rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--maroon-800);
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}

.gift-card__holder {
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.gift-card .btn {
  margin-top: 18px;
}

.gift-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(24px, 4vw, 36px);
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px dashed rgba(139, 107, 74, 0.4);
  border-radius: 30px;
  background: rgba(232, 220, 200, 0.4);
}

.gift-address__label {
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
}

.gift-address__name {
  margin-top: 5px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--maroon-800);
}

.gift-address__text {
  max-width: 560px;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.qris {
  margin-top: 28px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(139, 107, 74, 0.22);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.7);
}

.qris img {
  width: min(260px, 100%);
  margin: 0 auto 12px;
}

.qris p {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section--rsvp::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 55%;
  background: radial-gradient(circle at 50% 100%, rgba(164, 19, 60, 0.18), transparent 65%);
  pointer-events: none;
}

.rsvp-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.rsvp-form {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(181, 101, 74, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--cream);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(251, 245, 233, 0.32);
}

.field select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(240, 212, 138, 0.8) 50%),
    linear-gradient(135deg, rgba(240, 212, 138, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 13px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option {
  color: var(--ink);
  background: var(--cream);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.72);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field-row .field {
  min-width: 0;
}

.rsvp-form .btn {
  margin-top: 4px;
}

.form-note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(251, 245, 233, 0.42);
}

.wishes {
  padding: clamp(24px, 3.4vw, 34px);
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 0% 100%, rgba(139, 107, 74, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.025);
}

.wishes__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
}

.wishes__head h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold-pale);
}

.wishes__badge {
  padding: 3px 9px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.wishes__list {
  display: grid;
  gap: 12px;
  max-height: 470px;
  margin-top: 16px;
  padding-right: 4px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.4) transparent;
}

.wishes__list::-webkit-scrollbar {
  width: 5px;
}

.wishes__list::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.35);
  border-radius: 999px;
}

.wish {
  padding: 16px 18px;
  border-left: 3px solid rgba(212, 175, 55, 0.55);
  border-radius: 4px 16px 16px 4px;
  background: rgba(255, 255, 255, 0.04);
}

.wish__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wish__name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--gold-pale);
}

.wish__badge {
  flex: none;
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.45);
}

.wish__text {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(251, 245, 233, 0.66);
}

.wish__meta {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 245, 233, 0.32);
}

.wishes__empty {
  padding: 24px 8px;
  font-size: 12.5px;
  line-height: 1.8;
  text-align: center;
  color: rgba(251, 245, 233, 0.42);
}

.closing {
  position: relative;
  padding-block: clamp(90px, 12vw, 160px);
  text-align: center;
  color: var(--cream);
  background:
    radial-gradient(circle at 50% 0%, rgba(164, 19, 60, 0.3), transparent 52%),
    linear-gradient(175deg, var(--maroon-900), var(--maroon-950));
  overflow: hidden;
}

.closing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/batik-kawung.svg");
  background-size: 200px;
  opacity: 0.18;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 75%);
}

.closing__inner {
  position: relative;
  z-index: 2;
}

.closing__logo {
  height: clamp(130px, 18vw, 190px);
  width: auto;
  margin: 0 auto clamp(14px, 2.4vw, 24px);
  opacity: 0.9;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.38));
  animation: logoFloat 8s ease-in-out infinite;
}

.closing__title {
  margin-top: 6px;
  font-family: var(--font-script);
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-pale);
  text-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
}

.closing__text {
  max-width: 620px;
  margin: 22px auto 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(251, 245, 233, 0.68);
}

.closing__salam {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--gold-light);
}

.closing__names {
  margin-top: clamp(30px, 5vw, 46px);
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--white);
}

.closing__names .amp {
  font-size: 0.55em;
  margin-inline: 0.08em;
}

.closing__family {
  margin-top: 16px;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(251, 245, 233, 0.5);
}

.closing__date {
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.closing__actions {
  margin-top: 28px;
}

.site-footer {
  padding: 28px 0;
  color: rgba(251, 245, 233, 0.45);
  background: var(--maroon-950);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  text-align: center;
}

.footer__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 8px;
  opacity: 0.55;
}

.footer__names {
  font-family: var(--font-script);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-pale);
}

.footer__meta {
  margin-top: 5px;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.footer__credit {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(251, 245, 233, 0.28);
}

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 800;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.float-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(247, 231, 184, 0.55);
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-pale), var(--gold));
  color: var(--maroon-950);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(20, 3, 7, 0.35);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

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

.float-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.float-btn__tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  transform: translateY(-50%) translateX(6px);
  padding: 7px 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  background: rgba(37, 5, 11, 0.94);
  color: var(--gold-pale);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s var(--ease);
}

.float-btn:hover .float-btn__tooltip,
.float-btn:focus-visible .float-btn__tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.float-btn--top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.float-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  height: 18px;
}

.eq i {
  display: block;
  width: 2.5px;
  height: 5px;
  border-radius: 999px;
  background: var(--maroon-950);
  transition: height 0.4s var(--ease);
}

.is-playing .eq i {
  animation: eqBounce 0.9s ease-in-out infinite;
}

.is-playing .eq i:nth-child(2) {
  animation-delay: 0.15s;
}

.is-playing .eq i:nth-child(3) {
  animation-delay: 0.3s;
}

.is-playing .eq i:nth-child(4) {
  animation-delay: 0.45s;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 1300;
  max-width: min(420px, 88vw);
  padding: 12px 22px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 999px;
  background: rgba(37, 5, 11, 0.96);
  color: var(--cream);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s var(--ease);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 44px);
  background: rgba(20, 3, 7, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox__figure {
  max-width: min(900px, 90vw);
  max-height: 88vh;
  text-align: center;
}

.lightbox__figure img {
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  border: 1px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__figure figcaption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-pale);
}

.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-pale);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.lightbox__close:hover {
  background: rgba(212, 175, 55, 0.18);
  transform: rotate(90deg);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-pale);
  cursor: pointer;
  transition: background 0.3s var(--ease);
}

.lightbox__arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lightbox__arrow:hover {
  background: rgba(212, 175, 55, 0.18);
}

.lightbox__arrow--prev {
  left: 16px;
}

.lightbox__arrow--next {
  right: 16px;
}

.hero .reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(7px);
}

body.is-opened .hero .reveal {
  animation: heroIn 1.1s var(--ease) forwards;
}

body.is-opened .hero__greeting {
  animation-delay: 0.15s;
}

body.is-opened .hero__kicker {
  animation-delay: 0.26s;
}

body.is-opened .hero__names {
  animation-delay: 0.37s;
}

body.is-opened .hero__date {
  animation-delay: 0.48s;
}

body.is-opened .countdown {
  animation-delay: 0.6s;
}

body.is-opened .hero__actions {
  animation-delay: 0.72s;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes ornamentFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-7px) rotate(4deg);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes treeBreathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.006);
  }
}

@keyframes gateLight {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  22% {
    opacity: 1;
  }
  68% {
    opacity: 0.5;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}

@keyframes wayangSway {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(3.2deg) translateY(-12px);
  }
}

@keyframes wayangSwayAlt {
  0%,
  100% {
    transform: rotate(2.4deg) translateY(0);
  }
  50% {
    transform: rotate(-2.8deg) translateY(-10px);
  }
}

@keyframes wayangGlow {
  0%,
  100% {
    opacity: var(--wayang-min, 0.28);
  }
  50% {
    opacity: var(--wayang-max, 0.43);
  }
}

@keyframes birdFly {
  0% {
    transform: translate3d(-10vw, 0, 0) rotate(-5deg);
    opacity: 0;
  }
  8% {
    opacity: 0.8;
  }
  50% {
    transform: translate3d(55vw, var(--rise, 0px), 0) rotate(2deg);
    opacity: 0.9;
  }
  92% {
    opacity: 0.45;
  }
  100% {
    transform: translate3d(118vw, calc(var(--rise, 0px) * 2), 0) rotate(-4deg);
    opacity: 0;
  }
}

@keyframes wingFlap {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0.32);
  }
}

@keyframes cloudDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(135vw, 0, 0);
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.13) translate3d(-1.4%, -1.6%, 0);
  }
}

@keyframes kenBurnsAlt {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.13) translate3d(1.4%, -1.2%, 0);
  }
}

@keyframes photoSheen {
  0% {
    opacity: 0;
    transform: translateX(-65%) rotate(4deg);
  }
  16% {
    opacity: 0.8;
  }
  55% {
    opacity: 0.28;
  }
  100% {
    opacity: 0;
    transform: translateX(65%) rotate(4deg);
  }
}

@keyframes batikDrift {
  0% {
    transform: rotate(-3deg) scale(1);
  }
  100% {
    transform: rotate(2deg) scale(1.05);
  }
}

@keyframes petalFall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
  }
  100% {
    transform: translate3d(var(--drift, 40px), 112vh, 0) rotate(720deg);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
    transform: translateY(14px);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes eqBounce {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 16px;
  }
}

@media (max-width: 1024px) {
  .gift-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-card:last-child {
    grid-column: span 2;
    max-width: 380px;
    justify-self: center;
    width: 100%;
  }

  .map-card {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 920px) {
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 4vw;
    right: 4vw;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 20px;
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 8px;
    background: rgba(30, 4, 9, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
  }

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

  .nav__link {
    padding: 11px 2px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    font-size: 11px;
  }

  .nav__link:last-child {
    border-bottom: 0;
  }

  .nav__cta {
    margin-top: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.45) !important;
  }

  .nav-toggle {
    display: flex;
  }

  .rsvp-layout {
    grid-template-columns: 1fr;
  }

  .map-card {
    grid-template-columns: 1fr;
  }

  .map-card__frame {
    min-height: 340px;
  }

  .map-card__info {
    border-left: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.18);
  }
}

@media (max-width: 1024px) {
  .wayang {
    width: 150px;
    --wayang-min: 0.34;
    --wayang-max: 0.48;
  }
}

@media (max-width: 980px) {
  .hero__names {
    text-align: center;
    font-size: clamp(3.6rem, 14vw, 6rem);
  }
}

@media (max-width: 860px) {
  .couple-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .couple-card__photo {
    width: min(72vw, 340px);
  }

  .wayang {
    width: 112px;
    --wayang-min: 0.3;
    --wayang-max: 0.42;
    bottom: -5%;
  }

  .culture-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .hero {
    place-items: end center;
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 72px;
  }

  .hero__inner {
    justify-content: flex-end;
  }

  .hero__media img {
    object-position: center 14%;
  }

  .wayang {
    width: 88px;
    --wayang-min: 0.28;
    --wayang-max: 0.4;
  }

  .culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .culture-item:last-child {
    grid-column: span 2;
  }

  .culture__trees {
    opacity: 0.32;
  }

  .event-card {
    border-radius: 42px 42px 22px 22px;
  }

  .event-card__when {
    gap: 12px;
  }

  .dress-code {
    border-radius: 36px 20px 36px 20px;
  }

  .dress-code__swatches {
    gap: 16px;
    row-gap: 20px;
  }

  .map-card {
    border-radius: 28px;
  }

  .map-card__venue-art {
    width: min(100%, 260px);
  }

  .prayer__arabic {
    font-size: 1.45rem;
    line-height: 2;
  }

  .section--doa::after {
    height: 420px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding-block: clamp(64px, 12vw, 92px);
  }

  .couple-grid,
  .event-grid {
    grid-template-columns: 1fr;
  }

  .couple-card__photo {
    width: min(78vw, 320px);
  }

  .timeline::before {
    left: 15px;
    transform: none;
  }

  .timeline__item,
  .timeline__item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 36px 46px;
    text-align: left;
  }

  .timeline__item::after,
  .timeline__item:nth-child(even)::after {
    left: 10px;
    right: auto;
  }

  .gallery__slide {
    flex-basis: 80%;
  }

  .gallery__caption {
    padding: 46px 18px 16px;
    font-size: 1rem;
  }

  .gallery__arrow {
    width: 40px;
    height: 40px;
    top: calc(50% - 20px);
  }

  .gift-grid {
    grid-template-columns: 1fr;
  }

  .gift-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .gift-address {
    flex-direction: column;
    align-items: flex-start;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .wishes__list {
    max-height: 520px;
  }

  .map-card__frame {
    min-height: 300px;
  }

  .floating {
    right: 14px;
    bottom: 14px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
  }

  .float-btn__tooltip {
    display: none;
  }

  .lightbox__arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox__arrow--prev {
    left: calc(50% - 58px);
  }

  .lightbox__arrow--next {
    right: calc(50% - 58px);
  }

  .lightbox__figure img {
    max-height: 68vh;
  }

  .lightbox__figure figcaption {
    padding-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: calc(var(--header-h) + 38px);
    padding-bottom: 84px;
  }

  .hero__names {
    font-size: clamp(3.5rem, 20vw, 5.6rem);
  }

  .hero__date {
    font-size: 12px;
    letter-spacing: 0.26em;
  }

  .countdown {
    gap: 6px;
  }

  .countdown__item {
    width: 64px;
    padding: 11px 4px 8px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .cover__inner {
    padding: 22px 18px;
  }

  .cover__names {
    font-size: clamp(2.9rem, 15vw, 4rem);
  }

  .cover__note {
    font-size: 11.5px;
  }

  .cover__logo {
    height: 86px;
    width: auto;
  }

  .hero__logo {
    height: 72px;
    width: auto;
    margin-bottom: 10px;
  }

  .closing__logo {
    height: 112px;
  }

  .section-ornament--logo {
    height: 78px;
  }

  .btn--open {
    width: 100%;
    max-width: 260px;
  }

  .section-title {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
  }

  .event-card__date strong {
    font-size: 3.2rem;
  }

  .gallery__slide {
    flex-basis: 86%;
  }

  .gallery__bottom {
    align-items: flex-start;
    padding-right: 58px;
  }

  .gift-card__number {
    font-size: 1.15rem;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  .cover__logo {
    height: 74px;
    width: auto;
  }

  .cover__note {
    display: none;
  }

  .cover__guest {
    margin-top: 14px;
  }

  .btn--open {
    margin-top: 16px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .petals,
  .birds {
    display: none;
  }
}

