@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Cairo:wght@400;600;700&family=Gulzar&family=Mirza:wght@400;500;600&family=Pinyon+Script&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Great+Vibes&display=swap");

/* Language switch ? EN / ???? like reference reel */
.lang-switch {
  position: fixed;
  top: max(0.85rem, env(safe-area-inset-top));
  inset-inline-end: max(0.85rem, env(safe-area-inset-right));
  z-index: 10000003;
  display: flex;
  gap: 0.35rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.lang-switch__btn {
  border: none;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-family: 'Cairo', Tahoma, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(77, 66, 58, 0.75);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: #4d423a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 2px;
}

html[dir="ltr"] [data-aos="reveal-slide"] {
  transform: translateX(-55px) scale(0.98);
}

html[dir="ltr"] [data-aos="reveal-slide"].aos-animate {
  transform: translateX(0) scale(1);
}

html[dir="ltr"] .hero-menu-desktop ul {
  direction: ltr;
}

html[dir="ltr"] .bodytext,
html[dir="ltr"] .h2.subtitle {
  line-height: 1.75;
}

:root {
  --font-couple-names: "Pinyon Script", cursive;
  --font-couple-names-ar: "Gulzar", "Mirza", serif;
  --color-names: #1e2a24;
  --color-names-accent: #5a6f62;
  --color-names-hero: #ffffff;
  --color-gate-dear: #5a6f62;
  --color-gate-guest: #1e2a24;
  --color-accent: #b08d57;
  --color-story-ink: #2c3a33;
  --color-story-muted: #5a6f62;
}

html[dir="rtl"] {
  --font-couple-names: var(--font-couple-names-ar);
}

html[dir="ltr"] {
  --font-couple-names: "Alex Brush", cursive;
}

.has-vertically-aligned-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

* {
  box-sizing: border-box;
}

html {
  font-family: 'Cairo', Tahoma, sans-serif;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* ????? ?????? ?????? ??? ????? ??? ???????? */
a,
button,
input,
textarea,
select,
summary,
[role="button"],
.wax-seal,
.envelope-artwork,
.envelope-paper,
.lang-switch__btn,
.btn-cta,
.btn-open-invite,
.btn-confirm-rsvp,
.btn-submit-comment,
.hero-reel__cta {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

a:focus,
button:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.lang-switch__btn:focus-visible,
.wax-seal:focus-visible,
.btn-cta:focus-visible,
.btn-open-invite:focus-visible,
.btn-confirm-rsvp:focus-visible,
.btn-submit-comment:focus-visible,
.hero-reel__cta:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.75);
  outline-offset: 3px;
}

.btn-cta:active,
.btn-open-invite:active,
.btn-confirm-rsvp:active,
.btn-submit-comment:active,
.hero-reel__cta:active,
.lang-switch__btn:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.wax-seal:active .wax-seal-img {
  transform: scale(0.96);
}

.header-wrapper {
  padding-bottom: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.navbar-item {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;
}

.navbar-item.is-active {
  border-bottom: 2px solid #8c7b6e;
}

a.navbar-item {
  color: #8c7b6e;
}


.hero {
  font-family: 'Cairo', sans-serif;
  width: 100%;
  overflow: hidden;
}

/* ????? ?????? ? ??? / ???? (?????? ?? ?????? ???????) */
.hero-bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
  background:
    linear-gradient(180deg,
      rgba(18, 28, 24, 0.45) 0%,
      rgba(18, 28, 24, 0.18) 38%,
      rgba(12, 18, 16, 0.55) 100%),
    url("../image/hero_garden_dusk_mobile.png") no-repeat center center;
  background-size: cover;
}

body.invite-open .hero-bg-layer {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 769px) {
  .hero-bg-layer {
    background-image:
      linear-gradient(180deg,
        rgba(18, 28, 24, 0.4) 0%,
        rgba(18, 28, 24, 0.14) 40%,
        rgba(12, 18, 16, 0.5) 100%),
      url("../image/hero_garden_dusk_desktop.png");
  }
}

/* Full-screen reel-style hero */
.hero--reel {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  min-height: 100dvh;
  isolation: isolate;
  background:
    linear-gradient(180deg,
      rgba(18, 28, 24, 0.45) 0%,
      rgba(18, 28, 24, 0.18) 38%,
      rgba(12, 18, 16, 0.55) 100%),
    url("../image/hero_garden_dusk_mobile.png") no-repeat center center;
  background-size: cover;
  background-position: center center;
  color: #fff;
}

@media (min-width: 769px) {
  .hero--reel {
    background-image:
      linear-gradient(180deg,
        rgba(18, 28, 24, 0.4) 0%,
        rgba(18, 28, 24, 0.14) 40%,
        rgba(12, 18, 16, 0.5) 100%),
      url("../image/hero_garden_dusk_desktop.png");
  }
}

.hero--reel .hero-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  min-height: 100dvh;
  padding: max(4.5rem, calc(env(safe-area-inset-top) + 3.5rem)) 1.25rem
    max(2.5rem, calc(env(safe-area-inset-bottom) + 1.5rem));
}

.hero-reel {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: calc(100svh - 7rem);
  min-height: calc(100dvh - 7rem);
}

@media (max-width: 768px) {
  .hero-bg-layer,
  .hero--reel {
    background-position: center 42%;
  }

  .hero--reel .hero-body {
    align-items: center;
    justify-content: center;
    padding: max(3.5rem, calc(env(safe-area-inset-top) + 2.75rem)) 1.15rem
      max(2rem, calc(env(safe-area-inset-bottom) + 1.25rem));
  }

  .hero-reel {
    justify-content: center;
    flex: 0 1 auto;
    min-height: 0;
    width: 100%;
    max-width: 22rem;
    padding: 0;
    gap: 0.2rem;
    transform: translateY(6vh);
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .hero-reel__tagline {
    margin: 0 0 0.65rem;
    letter-spacing: 0.32em;
  }

  .hero-reel__names {
    margin: 0.2rem 0 0.55rem;
    gap: 0.4rem;
  }

  .hero-reel__name {
    font-size: clamp(2.85rem, 12.5vw, 4.25rem);
  }

  html[dir="rtl"] .hero-reel__name {
    font-size: clamp(2.35rem, 11.5vw, 3.65rem);
    line-height: 1.4;
  }

  html[dir="rtl"] .hero-reel__names {
    gap: 0.45rem;
  }

  .hero-reel__date {
    margin: 0.25rem 0 0;
  }

  .hero-reel__cta {
    margin-top: 1.1rem;
  }
}

.hero-reel__eyebrow {
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: clamp(0.7rem, 2.6vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(232, 214, 170, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
  margin: 0 0 0.55rem;
}

html[dir="rtl"] .hero-reel__eyebrow {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
}

.hero-reel__tagline {
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: clamp(0.62rem, 2.8vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 252, 245, 0.92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  margin: 0 0 1.25rem;
  padding: 0 0.5rem;
}

html[dir="rtl"] .hero-reel__tagline {
  letter-spacing: 0.06em;
  text-transform: none;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: clamp(0.8rem, 3.2vw, 0.95rem);
}

.hero-reel__names {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0.35rem 0 1rem;
  padding: 0.25rem 0.5rem;
  max-width: 100%;
  line-height: 1.1;
}

.hero-reel__name,
.hero-reel__heart,
.hero-reel__amp {
  opacity: 0;
  will-change: opacity, transform;
}

.hero-reel__name {
  font-family: var(--font-couple-names);
  font-weight: 700;
  font-size: clamp(3.25rem, 15vw, 5.75rem);
  line-height: 1.05;
  display: block;
  color: var(--color-names-hero);
  -webkit-text-fill-color: var(--color-names-hero);
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.55),
    0 4px 28px rgba(0, 0, 0, 0.45);
}

html[dir="rtl"] .hero-reel__names {
  gap: 0.55rem;
  margin: 0.25rem 0 0.85rem;
}

html[dir="rtl"] .hero-reel__name {
  font-family: var(--font-couple-names-ar);
  font-weight: 400;
  font-size: clamp(2.65rem, 12.5vw, 4.35rem);
  line-height: 1.45;
  letter-spacing: 0;
  padding: 0.08rem 0.25rem;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

html[dir="rtl"] .hero-reel__name--bride {
  margin-bottom: 0.1rem;
}

html[dir="rtl"] .hero-reel__name--groom {
  margin-top: 0.1rem;
}

html[dir="ltr"] .hero-reel__name {
  font-family: "Great Vibes", "Alex Brush", cursive;
  font-weight: 400;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

.hero-reel__heart,
.hero-reel__amp {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  font-size: clamp(1rem, 4vw, 1.35rem);
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  margin: 0.25rem 0;
  line-height: 1;
}

.hero-reel__amp {
  font-family: "Great Vibes", "Alex Brush", cursive;
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  color: rgba(232, 214, 170, 0.95);
  -webkit-text-fill-color: rgba(232, 214, 170, 0.95);
}

html[dir="rtl"] .hero-reel__heart,
html[dir="rtl"] .hero-reel__amp {
  margin: 0.35rem 0;
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

/* ???? ???????: ????? ? ? ? ????? */
.site-content.is-revealed .hero-reel__name--groom {
  animation:
    nameReveal 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
    nameFloat 7s ease-in-out 2.1s infinite;
}

.site-content.is-revealed .hero-reel__heart,
.site-content.is-revealed .hero-reel__amp {
  animation:
    nameReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards,
    heartGlow 3.2s ease-in-out 2.4s infinite;
}

.site-content.is-revealed .hero-reel__name--bride {
  animation:
    nameReveal 1.35s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards,
    nameFloat 7s ease-in-out 2.6s infinite;
}

@keyframes nameReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nameFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes heartGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reel__name,
  .hero-reel__heart,
  .hero-reel__amp {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .site-content.is-revealed .hero-reel__name,
  .site-content.is-revealed .hero-reel__heart,
  .site-content.is-revealed .hero-reel__amp {
    animation: none !important;
  }
}

.hero-reel__date {
  display: inline-block;
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fffdf9;
  margin: 0.35rem 0 auto;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  background: rgba(42, 30, 26, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 4px 22px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

html[dir="rtl"] .hero-reel__date {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-reel__cta {
  display: inline-block;
  margin-top: auto;
  padding: 0.85rem 0.5rem 0.25rem;
  font-family: 'Cairo', Tahoma, sans-serif;
  font-size: clamp(0.68rem, 2.9vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 252, 245, 0.95);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  border-bottom: 1px solid rgba(255, 252, 245, 0.45);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

html[dir="rtl"] .hero-reel__cta {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: clamp(0.85rem, 3.5vw, 1rem);
}

.hero-reel__cta:hover,
.hero-reel__cta:focus-visible {
  color: #fffaf6;
  border-bottom-color: rgba(255, 250, 242, 0.85);
  transform: translateY(-2px);
  outline: none;
}

/* Names in intro section (below hero) */
.couple-names-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0;
  margin-bottom: 2rem;
}

.couple-name-item {
  font-family: var(--font-couple-names);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5rem) !important;
  line-height: 1.1;
  color: #4d423a !important;
  -webkit-text-fill-color: #4d423a;
  text-shadow: 0 1px 3px rgba(120, 85, 80, 0.15);
  margin-bottom: 0 !important;
}

.couple-heart-divider {
  font-size: 1.75rem;
  color: #8c7b6e;
  opacity: 0.85;
  animation: heartBeat 2s infinite ease-in-out;
  line-height: 1;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.hero .subtitle {
  padding: 35px;
  color: #7a5554;
  font-size: 1.3rem;
}

.hero .tempatwaktu {
  padding-top: 35px;
  font-size: 1.3rem;
  color: #7a5554;
}

.hero .hero-foot {
  display: none;
}

.hero .hero-foot .hero-foot--wrapper {
  margin: 7px auto;
  height: 50px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop {
  line-height: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1rem;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li {
  display: inline-block;
  padding-right: 15px;
  padding-left: 15px;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li.is-active a {
  border-bottom: 2px solid #8c7b6e;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a {
  color: #8c7b6e;
}

.hero .hero-foot .hero-foot--wrapper .hero-menu-desktop ul li a:hover {
  color: #8c7b6e;
  transition: all .2s ease-in-out;
  border-bottom: 2px solid #8c7b6e;
}


.space40px {
  height: 40px;
}

.space24px {
  height: 24px;
}

.main-content {
  padding-top: 2rem;
  color: #000;
  font-family: 'Cairo', sans-serif;
}

.main-content .section-dark {
  background-color: #FAF5F5;
  padding: 80px 40px;
}

.main-content .section-darker {
  background-color: #F3E8E7;
  padding: 80px 40px;
}

.main-content .section-dark.resume {
  height: 400px;
  padding-top: 60px;

}

@media (max-width: 599px) {
  .main-content .section-dark.resume {
    padding-top: 75px;
  }
}

.main-content .section-dark.resume .title {
  padding: 20px;
}

.main-content .section-dark.resume button {
  border: 2px solid #8c7b6e;
  background: white;
  color: #8c7b6e;
  height: 50px;
  width: 250px;
  font-size: 1rem;
  text-transform: uppercase;
}

.main-content .section-dark.resume .fa-download {
  color: #8c7b6e;
}

.main-content .section-dark.my-work {
  padding: 80px 40px;
}

.main-content .section-cashbac {
  background-color: rgb(238, 250, 253);
  padding: 80px 40px;
}

@media (max-width: 599px) {
  .main-content .section-dark.foto-foto {
    padding: 75px 20px;
  }
}

.main-content .section-dark.foto-foto .foto-item {
  margin-bottom: 1rem;
  -webkit-transition: all .1s ease-in-out;
  transition: all .1s ease-in-out;
  border-radius: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

.main-content .section-dark.my-work .work-item:hover {
  -webkit-transform: scale(1.055) translateY(-2px);
  transform: scale(1.055) translateY(-2px);
  -webkit-box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
  box-shadow: 0 2px 25px 0 rgba(30, 30, 30, 0.1);
}

.section-map {
  padding: 0 0 0 0;
}

.main-content .section-light {
  padding: 80px 40px;
}

.main-content .section-light.regular-section {
  padding-bottom: 80px;
}

.main-content .section-light.regular-section .is-larger {
  font-size: 1.2rem;
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .about-links {
    text-align: center;
  }
}

.main-content .section-light.regular-section .right-image img {
  border-radius: 11px;
  margin: 20px;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

@media (max-width: 599px) {
  .main-content .section-light.regular-section .right-image img {
    margin: auto;
  }
}

.main-content .section-light.skills {
  padding: 100px;
}

@media (max-width: 599px) {
  .main-content .section-light.skills {
    padding: 50px 20px 40px 20px;
    padding-bottom: 20px;
  }
}

.main-content .section-light.skills h1 {
  padding: 10px;
  font-size: 24px;
}

.main-content .section-light.contact {
  padding: 80px;
}

.main-content .section-light.contact button {
  width: 100%;
  color: white;
  height: 50px;
  font-size: 1.1rem;
  text-transform: uppercase;
  font-family: 'Cairo', sans-serif;
}

@media (max-width: 599px) {
  .main-content .section-light.contact {
    padding: 80px 40px;
  }
}

.main-content .section-color.pertanyaan {
  padding: 100px;
  background-color: #8c7b6e;
  color: white;
}

.main-content .section-color.pertanyaan .title,
.main-content .section-color.pertanyaan .subtitle {
  color: white;
}

.main-content .section-color.pertanyaan i {
  font-size: 3rem;
  padding: 20px;
}

.main-content .section-title {
  font-family: var(--font-couple-names);
  font-weight: 700;
  color: #4d423a;
  font-size: 2.25rem;
  letter-spacing: 0px;
  padding-bottom: 60px;
}

.nama-lengkap.couple-names,
.couple-names.nama-lengkap {
  font-family: var(--font-couple-names);
  font-weight: 700;
  color: var(--color-names) !important;
  font-size: clamp(3rem, 9vw, 5rem);
  letter-spacing: 0.03em;
  padding-bottom: 4px;
  line-height: 1.35;
}

.couple-names-accent,
.ampersand.couple-names-accent {
  font-family: var(--font-couple-names);
  font-weight: 400;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  color: var(--color-names-accent) !important;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
  margin: 0.15rem 0.5rem;
}

.bodytext {
  font-size: 18px;
}

.waktu {
  font-size: 1.4rem;
  font-family: 'Cairo', sans-serif;
}

.tanggal-angka {
  font-size: 5rem;
  font-family: 'Cairo', sans-serif;
  font-weight: 900;
  line-height: 1;
}

.tempat {
  font-size: 1.4rem;
  font-family: 'Cairo', sans-serif;
  margin-bottom: 50px;
}


.has-vertically-align {
  vertical-align: middle;
}

.main-content .no-padding-top {
  padding-top: 0px;
}

.fa-download {
  color: #43485c;
}

.divider {
  margin: 40px 25px;
  display: inline-block;
  max-height: 60px;
  max-width: min(280px, 85vw);
  width: auto;
  height: auto;
  vertical-align: middle;
}

.bismillah {
  margin: 25px;
  display: inline-block;
  max-height: 50px;
  max-width: min(320px, 88vw);
  width: auto;
  height: auto;
  vertical-align: middle;
}

#toTop {
  height: 50px;
  width: 50px;
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #8c7b6e;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(14, 25, 80, 0.3);
}

#toTop a {
  color: white;
}

#toTop:hover {
  background-color: #a8978a;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: #FAF5F5;
}

::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 6px #8c7b6e;
  -webkit-box-shadow: inset 0 0 6px #8c7b6e;
  background-color: #a8978a;
}

html.gate-locked,
body.gate-locked {
  overflow: hidden;
  height: 100%;
  height: 100dvh;
  overscroll-behavior: none;
}

body.gate-locked {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  touch-action: none;
}

body.gate-locked #site-content {
  display: none;
}

body.gate-locked .lang-switch {
  opacity: 1;
  pointer-events: auto;
  z-index: 10000010;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 18px rgba(77, 66, 58, 0.12);
}

/* ???? ?????? */
.flower-gate {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #e8c4c3 0%, #d8a9a8 45%, #bc8887 100%);
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.flower-gate__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.flower-gate__btn {
  position: relative;
  display: inline-block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.flower-gate__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 8px;
  border-radius: 50%;
}

.flower-gate__flower {
  position: relative;
  z-index: 2;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(120, 70, 70, 0.35));
  animation: flowerPulse 2.2s ease-in-out infinite;
  transition: transform 0.35s ease;
}

.flower-gate__btn:hover .flower-gate__flower {
  transform: scale(1.08);
}

.flower-gate__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160px;
  height: 160px;
  margin: -80px 0 0 -80px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  animation: ringPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.flower-gate__ring--2 {
  animation-delay: 1.1s;
}

.flower-gate__petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.flower-gate__petals span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 18px;
  margin: -9px 0 0 -7px;
  background: linear-gradient(135deg, #f5d0cf, #c28285);
  border-radius: 50% 50% 50% 0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
}

.flower-gate.is-opening .flower-gate__flower {
  animation: flowerBloom 1.1s cubic-bezier(0.34, 1.2, 0.64, 1) forwards;
}

.flower-gate.is-opening .flower-gate__ring {
  animation: ringExpand 0.9s ease-out forwards;
}

.flower-gate.is-opening .flower-gate__petals span {
  animation: petalBurst 1.4s ease-out forwards;
}

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

.flower-gate__petals span:nth-child(1) {
  --angle: 0deg;
  animation-delay: 0.05s;
}

.flower-gate__petals span:nth-child(2) {
  --angle: 30deg;
  animation-delay: 0.08s;
}

.flower-gate__petals span:nth-child(3) {
  --angle: 60deg;
  animation-delay: 0.11s;
}

.flower-gate__petals span:nth-child(4) {
  --angle: 90deg;
  animation-delay: 0.14s;
}

.flower-gate__petals span:nth-child(5) {
  --angle: 120deg;
  animation-delay: 0.17s;
}

.flower-gate__petals span:nth-child(6) {
  --angle: 150deg;
  animation-delay: 0.2s;
}

.flower-gate__petals span:nth-child(7) {
  --angle: 180deg;
  animation-delay: 0.23s;
}

.flower-gate__petals span:nth-child(8) {
  --angle: 210deg;
  animation-delay: 0.26s;
}

.flower-gate__petals span:nth-child(9) {
  --angle: 240deg;
  animation-delay: 0.29s;
}

.flower-gate__petals span:nth-child(10) {
  --angle: 270deg;
  animation-delay: 0.32s;
}

.flower-gate__petals span:nth-child(11) {
  --angle: 300deg;
  animation-delay: 0.35s;
}

.flower-gate__petals span:nth-child(12) {
  --angle: 330deg;
  animation-delay: 0.38s;
}

.site-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  will-change: opacity, transform;
}

.site-content.is-revealed {
  animation: contentReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.site-content.is-revealed.is-reveal-done {
  transform: none;
  will-change: auto;
}

@keyframes flowerPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes ringPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

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

@keyframes flowerBloom {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }

  35% {
    transform: scale(1.35) rotate(8deg);
    opacity: 1;
  }

  100% {
    transform: scale(2.2) rotate(20deg);
    opacity: 0;
  }
}

@keyframes ringExpand {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes petalBurst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(0) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-min(42vw, 220px)) scale(0.3);
  }
}

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

@media (prefers-reduced-motion: reduce) {

  .flower-gate__flower,
  .flower-gate__ring,
  .site-content.is-revealed {
    animation: none !important;
  }

  .flower-gate.is-opening .flower-gate__flower {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .site-content.is-revealed {
    opacity: 1;
    transform: none;
  }
}


.btn-whatsapp:hover {
  color: white;
  background-color: #59a543;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #59a543;
  width: 210px;
  height: 65px;
  align-items: center;
  margin: 1rem;
}


.btn-whatsapp {
  background-color: #6cc751;
  width: 210px;
  height: 65px;
  color: white;
  font-size: 1.2rem;
  border-radius: 10px;
  border-left: 1px solid #6cc751;
  border-right: 1px solid #6cc751;
  border-top: 1px solid #6cc751;
  border-bottom: 1px solid #6cc751;
  align-items: center;
  margin: 1rem;

}


.btn-cta:hover {
  color: white;
  background-color: #7a6a60;
  font-size: 1.2rem;
  border-radius: 10px;
  border: 2px solid #7a6a60;
  width: 210px;
  height: 65px;
  align-items: center;
  margin: 1rem;
}

.btn-cta {
  background-color: #8c7b6e;
  width: 210px;
  height: 65px;
  color: white;
  font-size: 1.2rem;
  border: 2px solid #8c7b6e;
  border-radius: 10px;
  align-items: center;
  margin: 1rem;
}

.cashbac-logo-inline {
  width: 160px;
  vertical-align: middle;
}

.button-download {
  min-width: 200px;
  height: 55px;
  align-items: center;
  margin: 0.1rem;

}

.voucher-code {
  height: 55px;
  max-width: 180px;
  border: 2px solid #26ade4;
  border-radius: 10px 0 0 10px;
  font-size: 24px;
  padding: 15px;
}

.btn-voucher-code {
  height: 55px;
  min-width: 100px;
  border: 2px solid #26ade4;
  background-color: #26ade4;
  border-radius: 0 10px 10px 0;
  font-size: 20px;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  color: white;
}

.fa-copy {
  margin-right: 5px;
}

.white {
  color: ghostwhite
}


.dusty-pink {
  color: #D8A9A8
}

.dusty-pink-lighter {
  color: #EDD2D1
}

.dusty-pink-lightest {
  color: #F4E2E2
}

.dusty-pink-darker {
  color: #BC8887
}

.dusty-pink-darkest {
  color: #8c7b6e
}

.tile {
  border-radius: 10px;
}


.foto1 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/beatriz-perez-moya-M2T1j-6Fn8w-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}


.foto2 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/evelina-friman-hw_sKmjb0ns-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto3 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/jeremy-wong-weddings-464ps_nOflw-unsplash.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto4 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/jeremy-wong-weddings-K8KiCHh4WU4-unsplash.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  min-height: 24rem;
}

.foto5 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/nathan-dumlao-5BB_atDT4oA-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}


.foto6 {
  background-image: linear-gradient(rgba(95, 2, 2, 0.5), rgba(48, 47, 47, 0.9)), url("../image/samantha-gades-x40Q9jrEVT0-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 24rem;
}



.title-foto {
  font-size: 18pt;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  text-align: start;
  color: white;
}


.subtitle-foto {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 14pt;
  font-weight: 600;
  margin-top: 15px;
  text-align: start;
  color: white;
}

.section-light {
  background-image: url(../image/divider-flowers-leaves.png);
  background-position: bottom -30px center;
  background-repeat: no-repeat;
  background-size: initial;
}

.instagram {
  color: #8c7b6e;
  font-size: 1.25rem;
  font-weight: 900;
  margin-top: 0.5rem;
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  padding: 10px;
}

/* ??????? ??????? ? ??? ?????? ???? ?????? ??? ???? ?????? */
#site-content [data-aos] {
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#site-content [data-aos]:not(.aos-animate) {
  will-change: opacity, transform, filter;
}

#site-content [data-aos].aos-animate {
  will-change: auto;
}

[data-aos^="fade"],
[data-aos="zoom-in"] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos="fade-up"] {
  transform: translate3d(0, 28px, 0);
}

[data-aos="fade-down"] {
  transform: translate3d(0, -28px, 0);
}

[data-aos="fade-left"] {
  transform: translate3d(36px, 0, 0);
}

[data-aos="fade-right"] {
  transform: translate3d(-36px, 0, 0);
}

[data-aos="zoom-in"] {
  transform: translate3d(0, 0, 0) scale(0.94);
}

[data-aos^="fade"].aos-animate,
[data-aos="zoom-in"].aos-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.invite-flow > section,
.invite-flow .columns,
.invite-flow .prolog {
  overflow: visible;
}

[data-aos="reveal-blur"] {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(40px) scale(0.97);
  transition-property: opacity, transform, filter;
}

[data-aos="reveal-blur"].aos-animate {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

[data-aos="reveal-zoom"] {
  opacity: 0;
  transform: scale(0.75) rotate(-4deg);
  transition-property: opacity, transform;
}

[data-aos="reveal-zoom"].aos-animate {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

[data-aos="reveal-flip"] {
  opacity: 0;
  transform: perspective(900px) rotateX(22deg) translateY(36px);
  transform-origin: center bottom;
  transition-property: opacity, transform;
}

[data-aos="reveal-flip"].aos-animate {
  opacity: 1;
  transform: perspective(900px) rotateX(0deg) translateY(0);
}

[data-aos="reveal-slide"] {
  opacity: 0;
  transform: translateX(55px) scale(0.98);
  transition-property: opacity, transform;
}

[data-aos="reveal-slide"].aos-animate {
  opacity: 1;
  transform: translateX(0) scale(1);
}

[data-aos="reveal-float"] {
  opacity: 0;
  transform: translateY(55px) scale(0.94);
  transition-property: opacity, transform;
}

[data-aos="reveal-float"].aos-animate {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.section-map[data-aos] iframe {
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.98);
  box-shadow: 0 0 0 rgba(153, 110, 109, 0);
}

.section-map[data-aos].aos-animate iframe {
  transform: scale(1);
  box-shadow: 0 12px 40px rgba(153, 110, 109, 0.28);
}

.tile.is-child[data-aos] {
  transition: box-shadow 1s ease, opacity 1s ease, transform 1s ease;
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
}

.tile.is-child[data-aos].aos-animate {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  #site-content [data-aos] {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .section-map[data-aos].aos-animate iframe,
  .tile.is-child[data-aos].aos-animate {
    animation: none !important;
  }
}

/* ???? ????? ??????? */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

body:not(.gate-locked) .scroll-progress {
  opacity: 1;
  visibility: visible;
}

.scroll-progress__track {
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 1px 0 rgba(153, 110, 109, 0.12);
}

.scroll-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(270deg,
      #ebdcb9 0%,
      #a8978a 45%,
      #8c7b6e 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 14px rgba(140, 123, 110, 0.55);
  transition: width 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: width;
}

html[dir="rtl"] .scroll-progress__fill {
  margin-inline-start: auto;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg,
      #ebdcb9 0%,
      #a8978a 45%,
      #8c7b6e 100%);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-progress__fill {
    transition: none;
  }
}

/* ?? Envelope gate ? reel-style CSS envelope + wax seal */
.envelope-gate {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 35%, #fffdf9 0%, #f5efe6 55%, #e8ddd0 100%);
  transition: opacity 0.9s ease, visibility 0.9s;
  overflow: hidden;
}

.envelope-screen {
  width: 100%;
  max-width: 24rem;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.envelope-guest-label {
  text-align: center;
  margin-bottom: 1.75rem;
  pointer-events: none;
  animation: fadeInDown 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.guest-label-dear {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--color-gate-dear);
  margin-bottom: 0.35rem;
  opacity: 0.85;
}

.guest-label-name {
  font-family: 'Pinyon Script', cursive;
  font-size: 3rem;
  font-weight: 400;
  color: var(--color-gate-guest);
  -webkit-text-fill-color: var(--color-gate-guest);
  line-height: 1;
  text-shadow: none;
  margin-top: -0.15rem;
}

html[dir="rtl"] .guest-label-dear {
  letter-spacing: 0;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: none;
  color: var(--color-gate-dear);
}

html[dir="rtl"] .guest-label-name {
  font-family: var(--font-couple-names-ar);
  font-size: clamp(2.35rem, 11vw, 3.1rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-gate-guest) !important;
  -webkit-text-fill-color: var(--color-gate-guest) !important;
  text-shadow: none;
  margin-top: 0.15rem;
}

.envelope-stage {
  position: relative;
  width: min(90vw, 340px);
  height: min(58vw, 260px);
  margin: 0 auto;
}

.envelope-artwork {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transform: none;
  transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.75s ease;
}

.envelope-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(77, 66, 58, 0.18));
}

.envelope-paper {
  display: none;
  position: absolute;
  left: 50%;
  top: 8%;
  width: 86%;
  max-width: 280px;
  min-height: 300px;
  transform: translateX(-50%) translateY(28%) scale(0.9);
  background: #fffefb;
  border: 1px solid #d4c9b8;
  border-radius: 10px;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(77, 66, 58, 0.12);
  transition:
    transform 1s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.7s ease,
    box-shadow 0.8s ease;
}

.envelope-paper__content {
  padding: 2.25rem 1.5rem 1.5rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7a5554;
}

.paper-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  font-weight: 600;
  color: #8c7b6e;
}

.paper-couple {
  font-family: var(--font-couple-names);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-gate-guest);
  -webkit-text-fill-color: var(--color-gate-guest);
  margin-bottom: 0.25rem;
  line-height: 1.1;
}

html[dir="rtl"] .paper-couple {
  font-family: var(--font-couple-names-ar);
  font-weight: 400;
  font-size: 2rem;
}

.paper-divider {
  width: 100px;
  height: 20px;
  background: url("../image/divider-leaves.png") no-repeat center center;
  background-size: contain;
  margin: 0.65rem 0;
}

.paper-text {
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
  line-height: 1.5;
  color: #7a5554;
  max-width: 90%;
}

.paper-guest {
  font-family: 'Alex Brush', cursive;
  font-size: 1.8rem;
  color: #8c7b6e;
  background: #faf7f2;
  padding: 0.15rem 1.75rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  border: 1px solid #ebdcb9;
  box-shadow: inset 0 1px 3px rgba(120, 85, 80, 0.04);
  line-height: 1.2;
}

html[dir="rtl"] .paper-guest {
  font-family: var(--font-couple-names-ar);
  font-size: 1.35rem;
  font-weight: 400;
  padding: 0.35rem 1.75rem;
  color: var(--color-gate-dear);
  -webkit-text-fill-color: var(--color-gate-dear);
}

.btn-open-invite {
  background-color: #4d423a !important;
  color: #fff !important;
  border: 1px solid #dfc69f !important;
  font-family: 'Cairo', sans-serif !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  letter-spacing: 1px !important;
  padding: 0.6rem 2.25rem !important;
  border-radius: 30px !important;
  height: auto !important;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(107, 69, 68, 0.25);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn-open-invite:hover {
  background-color: #6e5d53 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 69, 68, 0.35);
  border-color: #ebdcb9 !important;
}

/* ??? ???? ???? ? ???? + ??? (????? ???????) */
.envelope-artwork .wax-seal {
  position: absolute;
  top: 54%;
  left: 50%;
  width: clamp(5rem, 22vw, 6.875rem);
  height: clamp(5rem, 22vw, 6.875rem);
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 10;
  animation: goldPulse 2.2s ease-in-out infinite;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.5s ease, opacity 0.45s ease, filter 0.45s ease;
}

.wax-seal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

@keyframes goldPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 4px 10px rgba(180, 140, 60, 0.35));
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    filter: drop-shadow(0 8px 22px rgba(212, 175, 55, 0.65));
  }
}

.envelope-hint {
  margin: 1.5rem 0 0;
  font-family: 'Cairo', Tahoma, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9a8b7c;
  text-align: center;
  animation: hintPulse 2s ease-in-out infinite;
}

html[dir="rtl"] .envelope-hint {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.85rem;
}

.envelope-gate.is-open-seal .wax-seal {
  animation: sealBreakImg 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  pointer-events: none;
}

@keyframes sealBreakImg {
  0% {
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.7) rotate(24deg);
    opacity: 0;
    filter: blur(5px);
  }
}

.envelope-gate.is-opening-flap .envelope-artwork {
  transform: translateY(12%) scale(0.94);
  opacity: 0;
  pointer-events: none;
}

.envelope-gate.is-raising-paper {
  overflow: visible;
}

.envelope-gate.is-raising-paper .envelope-guest-label {
  opacity: 0;
  visibility: hidden;
  height: 0;
  margin: 0;
  overflow: hidden;
}

.envelope-gate.is-raising-paper .envelope-stage {
  overflow: visible;
}

.envelope-gate.is-raising-paper .envelope-paper {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(90vw, 320px);
  max-width: 320px;
  max-height: min(82dvh, 480px);
  min-height: 0;
  transform: translate(-50%, -50%) scale(1);
  z-index: 10000001;
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 48px rgba(77, 66, 58, 0.22);
}

.envelope-gate.is-raising-paper .envelope-hint {
  opacity: 0;
  visibility: hidden;
}

@media (max-width: 768px) {
  .envelope-stage {
    width: min(92vw, 320px);
    height: min(62vw, 240px);
  }

  .envelope-gate.is-raising-paper .envelope-paper {
    top: 50%;
    width: min(92vw, 300px);
    max-height: min(78dvh, 440px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .wax-seal,
  .envelope-hint {
    animation: none !important;
  }

  .envelope-gate.is-open-seal .wax-seal {
    opacity: 0;
  }
}

.envelope-gate.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hintPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ?? Guestbook Section Styling */
.guestbook-section {
  background-color: #F3E8E7;
  padding: 80px 40px;
}

@media (max-width: 599px) {
  .guestbook-section {
    padding: 60px 20px;
  }
}

.guestbook-form-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 16px;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(120, 80, 80, 0.08);
}

@media (max-width: 599px) {
  .guestbook-form-card {
    padding: 1.5rem;
  }
}

.guestbook-form-card .form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4d423a;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(153, 110, 109, 0.25);
  padding-bottom: 0.5rem;
}

.guestbook-form-card .label {
  color: #7a5554;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.guestbook-form-card .input,
.guestbook-form-card .textarea {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(153, 110, 109, 0.35);
  border-radius: 8px;
  color: #5c3d3c;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
}

.guestbook-form-card .input:focus,
.guestbook-form-card .textarea:focus {
  border-color: #8c7b6e;
  box-shadow: 0 0 0 3px rgba(153, 110, 109, 0.18);
  outline: none;
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-input {
  width: 100%;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(153, 110, 109, 0.35);
  border-radius: 8px;
  padding: 0 10px;
  color: #5c3d3c;
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.select-input:focus {
  border-color: #8c7b6e;
  box-shadow: 0 0 0 3px rgba(140, 123, 110, 0.18);
}

.select-wrapper::after {
  content: '?';
  font-size: 0.8rem;
  color: #8c7b6e;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

html[dir="rtl"] .select-wrapper::after {
  right: auto;
  left: 15px;
}

.btn-submit-comment {
  background-color: #8c7b6e !important;
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border-radius: 10px !important;
  border: none !important;
  width: 100% !important;
  height: 50px !important;
  margin: 1rem 0 0 0 !important;
  box-shadow: 0 6px 18px rgba(153, 110, 109, 0.3);
  transition: all 0.3s ease !important;
}

.btn-submit-comment:hover {
  background-color: #6e5d53 !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 22px rgba(153, 110, 109, 0.4);
}

.guestbook-form-actions {
  margin-top: 0.25rem;
}

.guestbook-rsvp-field {
  margin: 0.85rem 0 0.25rem;
}

.guestbook-rsvp-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 2px solid rgba(89, 165, 67, 0.35);
  background: rgba(89, 165, 67, 0.08);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.guestbook-rsvp-option:hover {
  border-color: rgba(89, 165, 67, 0.55);
  background: rgba(89, 165, 67, 0.12);
}

.guestbook-rsvp-option__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.guestbook-rsvp-option__box {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.15rem;
  border-radius: 6px;
  border: 2px solid #59a543;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.guestbook-rsvp-option__input:checked + .guestbook-rsvp-option__box {
  background: #59a543;
  border-color: #59a543;
  color: #fff;
}

.guestbook-rsvp-option__input:focus-visible + .guestbook-rsvp-option__box {
  outline: 2px solid rgba(89, 165, 67, 0.65);
  outline-offset: 2px;
}

.guestbook-rsvp-option__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.guestbook-rsvp-option__main {
  font-size: 0.98rem;
  font-weight: 700;
  color: #2d5a24;
  line-height: 1.35;
}

.guestbook-rsvp-option__hint {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(45, 90, 36, 0.75);
  line-height: 1.4;
}

.wish-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
}

.wish-attending {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2d5a24;
  background: rgba(89, 165, 67, 0.15);
  border: 1px solid rgba(89, 165, 67, 0.35);
  white-space: nowrap;
}

.wish-card--attending {
  border-color: rgba(89, 165, 67, 0.28);
}

html[dir="rtl"] .wish-badges {
  justify-content: flex-start;
}

.guestbook-rsvp-block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(140, 123, 110, 0.35);
}

.guestbook-rsvp-block__divider {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: #a8978a;
}

html[dir="rtl"] .guestbook-rsvp-block__divider {
  letter-spacing: 0.04em;
  text-transform: none;
}

.guestbook-rsvp-block__label {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #6e5d53;
}

.btn-confirm-rsvp {
  display: flex !important;
  align-items: center;
  gap: 0.85rem;
  width: 100% !important;
  height: auto !important;
  min-height: 3.35rem;
  margin: 0 0 0.65rem !important;
  padding: 0.75rem 1rem !important;
  border-radius: 999px !important;
  border: 2px solid #59a543 !important;
  background: rgba(89, 165, 67, 0.1) !important;
  color: #2d5a24 !important;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(89, 165, 67, 0.18);
  transition: all 0.25s ease !important;
}

html[dir="rtl"] .btn-confirm-rsvp {
  text-align: right;
}

.btn-confirm-rsvp--secondary {
  border-color: #8c7b6e !important;
  background: rgba(255, 255, 255, 0.75) !important;
  color: #4d423a !important;
  box-shadow: 0 4px 14px rgba(77, 66, 58, 0.1);
}

.btn-confirm-rsvp__icon {
  flex-shrink: 0;
  font-size: 1.45rem;
  line-height: 1;
  color: #59a543;
}

.btn-confirm-rsvp--secondary .btn-confirm-rsvp__icon {
  color: #8c7b6e;
}

.btn-confirm-rsvp__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
}

html[dir="rtl"] .btn-confirm-rsvp__text {
  align-items: flex-end;
}

.btn-confirm-rsvp__main {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
}

.btn-confirm-rsvp__sub {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.82;
  line-height: 1.35;
}

.btn-confirm-rsvp:hover,
.btn-confirm-rsvp:focus-visible {
  background: rgba(89, 165, 67, 0.2) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(89, 165, 67, 0.28);
}

.btn-confirm-rsvp--secondary:hover,
.btn-confirm-rsvp--secondary:focus-visible {
  background: #fff !important;
  border-color: #6e5d53 !important;
  box-shadow: 0 6px 18px rgba(77, 66, 58, 0.14);
}

/* ?? ???????: ?? ??????? ??????? ???? ??????? (???? ???? ??? ??????? ???????) */
.guestbook-section .columns.is-multiline {
  align-items: flex-start;
}

.guestbook-wishes-column {
  overflow: visible;
  min-height: 0;
  align-self: flex-start;
}

.wishes-list-container {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  min-height: 0;
  height: auto;
  max-height: none;
  overflow: visible;
  position: relative;
}

.wishes-feed {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  overflow: visible;
  max-height: none;
  height: auto;
}

.wishes-feed[hidden] {
  display: none !important;
}

.wishes-show-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.75rem 1.25rem;
  border: 1px dashed rgba(153, 110, 109, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  color: #6e5d53;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wishes-show-more:hover,
.wishes-show-more:focus-visible {
  background: #fff;
  border-color: rgba(153, 110, 109, 0.65);
  transform: translateY(-1px);
  outline: none;
}

.wishes-show-more.is-hidden {
  display: none;
}

.wishes-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #7a5554;
  font-weight: 700;
  padding: 2.5rem 1.5rem;
}

.wishes-status.is-hidden {
  display: none !important;
}

.loader-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(140, 123, 110, 0.15);
  border-top: 4px solid #8c7b6e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.25rem;
}

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

/* Wish Card Design */
.wish-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(120, 80, 80, 0.04);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: cardFadeIn 0.5s ease-out forwards;
}

.wish-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(120, 80, 80, 0.08);
  border-color: rgba(153, 110, 109, 0.2);
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(153, 110, 109, 0.15);
  padding-bottom: 0.5rem;
}

.wish-name {
  font-weight: 700;
  color: #4d423a;
  font-size: 1.05rem;
}

.wish-relation {
  font-size: 0.8rem;
  background: rgba(140, 123, 110, 0.12);
  color: #8c7b6e;
  padding: 0.15rem 0.65rem;
  border-radius: 10px;
  font-weight: 700;
}

.wish-relation.family {
  background: rgba(140, 123, 110, 0.12);
  color: #8c7b6e;
}

.wish-relation.friend {
  background: rgba(108, 199, 81, 0.12);
  color: #4b8c36;
}

.wish-relation.colleague {
  background: rgba(38, 173, 228, 0.12);
  color: #1a7fa8;
}

.wish-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #5c3d3c;
  word-break: break-word;
  white-space: pre-wrap;
}

.wish-time {
  font-size: 0.75rem;
  color: #9e8484;
  text-align: left;
  margin-top: 0.5rem;
}

html[dir="ltr"] .wish-time {
  text-align: right;
}

/* ??? Scroll sections ? reel / sample.wedding style flow ??? */
.invite-flow {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #faf7f2 0%, #f5efe6 45%, #f0e8df 100%);
  color: #4d423a;
  padding-top: 0;
}

.invite-flow > section {
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2.5rem);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.invite-flow .section-light,
.invite-flow .section-dark,
.invite-flow .section-darker,
.invite-flow .guestbook-section {
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2.5rem);
}

.invite-flow .container {
  max-width: 40rem;
  padding-left: 0;
  padding-right: 0;
}

.invite-flow .section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6e5d53;
  padding-bottom: 1.75rem;
  margin-bottom: 0.5rem;
  position: relative;
}

html[dir="rtl"] .invite-flow .section-title {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
}

.invite-flow .section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c4b5a8, transparent);
  margin: 1rem auto 0;
}

.invite-flow .bodytext,
.invite-flow .h2.subtitle,
.invite-flow .tempat,
.invite-flow .prolog p {
  font-size: clamp(1rem, 3.8vw, 1.12rem);
  line-height: 1.85;
  color: #5c4f47;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.invite-flow .section-bismillah {
  text-align: center;
  padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
}

.invite-flow .section-bismillah .bismillah {
  margin: 0 auto;
}

.invite-flow #Waktu {
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(1.5rem, 4.5vw, 2.25rem);
}

.invite-flow .schedule-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-bottom: 0.25rem;
}

.invite-flow .schedule-actions .btn-cta {
  margin: 0;
}

.invite-flow .section-light {
  background-image: none;
}

.invite-flow .divider {
  margin: 1.5rem auto;
  opacity: 0.85;
}

.invite-flow .section-end-divider {
  margin-top: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 0;
}

.invite-flow .section-end-divider .divider {
  margin: 0 auto;
}

.invite-flow #tentang-pasangan {
  padding-top: clamp(1.5rem, 4.5vw, 2.35rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.invite-flow #tentang-pasangan .section-title {
  padding-bottom: 1.25rem;
  margin-bottom: 0.25rem;
}

.invite-flow #Waktu .section-map {
  margin-bottom: 0.5rem;
}

.invite-flow .space40px {
  height: clamp(1.25rem, 4vw, 2rem);
}

/* Countdown ? soft glass chips, single row on all screens */
.invite-flow #hitungmundur {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  max-width: min(100%, 22rem);
  margin: 0 auto 2rem;
  gap: 0.18rem 0.1rem;
}

.invite-flow #hitungmundur li:not(.separator) {
  width: 100%;
  min-width: 0;
  padding: clamp(0.5rem, 2.5vw, 0.85rem) clamp(0.15rem, 1.5vw, 0.4rem) clamp(0.4rem, 2vw, 0.65rem);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(196, 181, 168, 0.45);
  box-shadow: 0 8px 24px rgba(77, 66, 58, 0.06);
}

.invite-flow #hitungmundur li.separator {
  min-width: 0;
  width: auto;
  padding: 0 0.02rem;
  background: none;
  border: none;
  box-shadow: none;
  align-self: center;
  color: #a8978a;
}

.invite-flow .invite-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(196, 181, 168, 0.4);
  border-radius: 18px;
  padding: 1.75rem 1.25rem !important;
  margin-bottom: 1rem;
  box-shadow: 0 10px 32px rgba(77, 66, 58, 0.07);
  text-align: center;
}

.invite-flow .invite-card__note {
  font-size: 0.95rem !important;
  margin-top: 0.5rem;
  color: #8c7b6e;
  font-weight: 600;
}

.invite-flow .tanggal-angka {
  font-size: clamp(3rem, 12vw, 4.5rem);
  color: #4d423a;
  font-weight: 700;
}

.invite-flow .tanggal-hari,
.invite-flow .tanggal-bulan,
.invite-flow .waktu {
  color: #5c4f47;
}

.invite-flow .section-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(196, 181, 168, 0.45);
  box-shadow: 0 12px 36px rgba(77, 66, 58, 0.1);
  margin-top: 1.5rem;
}

.invite-flow .section-map iframe {
  display: block;
  border-radius: 18px;
}

.invite-flow .btn-cta {
  background: #4d423a;
  border: 1px solid #4d423a;
  border-radius: 999px;
  width: auto;
  min-width: min(100%, 260px);
  max-width: 100%;
  height: auto;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(77, 66, 58, 0.2);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

html[dir="rtl"] .invite-flow .btn-cta {
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 0.95rem;
}

.invite-flow .btn-cta:hover {
  background: #6e5d53;
  border-color: #6e5d53;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(77, 66, 58, 0.28);
}

.invite-flow .tile.is-child.notification {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.invite-flow .title-foto {
  font-family: 'Playfair Display', serif;
}

.invite-flow .guestbook-form-card,
.invite-flow .wishes-list-container {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(196, 181, 168, 0.42);
  box-shadow: 0 12px 36px rgba(77, 66, 58, 0.08);
}

.invite-flow .btn-submit-comment {
  border-radius: 999px !important;
  background-color: #4d423a !important;
}

.invite-flow .btn-submit-comment:hover {
  background-color: #6e5d53 !important;
}

.invite-flow .btn-confirm-rsvp {
  font-family: 'Cairo', sans-serif;
}

html[dir="ltr"] .invite-flow .btn-confirm-rsvp {
  font-family: 'Playfair Display', 'Cairo', serif;
}

.invite-flow .instagram {
  color: #6e5d53;
  font-weight: 600;
}

/* ??? Story journey: childhood ? mystery reveal ??? */
.story-journey__intro {
  max-width: 22rem;
  margin: 0 auto 1.75rem;
  text-align: center;
  font-size: clamp(0.95rem, 3.6vw, 1.08rem);
  line-height: 1.75;
  color: #6e5d53;
  font-weight: 600;
}

.story-journey {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 20rem;
  margin: 0 auto;
}

.story-frame {
  width: 100%;
  text-align: center;
}

.story-frame__badge {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

html[dir="rtl"] .story-frame__badge {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.82rem;
}

.story-frame__badge--start {
  color: #4d423a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(196, 181, 168, 0.55);
  box-shadow: 0 6px 18px rgba(77, 66, 58, 0.08);
}

.story-frame__badge--mystery {
  color: #fffdf9;
  background: linear-gradient(135deg, #8c7b6e 0%, #6e5d53 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 22px rgba(77, 66, 58, 0.2);
}

.story-frame__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fffefb;
  padding: 0.55rem;
  border: 1px solid rgba(212, 201, 184, 0.65);
  box-shadow:
    0 18px 42px rgba(77, 66, 58, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.85) inset;
  transform: rotate(-1.5deg);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.story-frame--start .story-frame__media:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 22px 48px rgba(77, 66, 58, 0.18);
}

.story-frame--mystery .story-frame__media {
  transform: rotate(1.25deg);
}

.story-frame__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 14px;
}

.story-frame__img--blur {
  filter: blur(11px) saturate(1.05);
  transform: scale(1.08);
}

.story-frame__media--mystery {
  min-height: 14.5rem;
}

.story-frame__veil {
  position: absolute;
  inset: 0.55rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(42, 30, 26, 0.28) 0%,
    rgba(77, 66, 58, 0.42) 45%,
    rgba(22, 16, 14, 0.55) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.story-frame__question {
  position: absolute;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  font-family: "Great Vibes", "Gulzar", "Pinyon Script", cursive;
  font-size: clamp(4rem, 20vw, 6rem);
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(77, 66, 58, 0.4),
    0 6px 24px rgba(0, 0, 0, 0.5);
  animation: mysteryPulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.story-frame__teaser-bar {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.55rem;
  z-index: 3;
  padding: 0.65rem 0.75rem 0.7rem;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 253, 249, 0) 0%,
    rgba(255, 253, 249, 0.88) 28%,
    rgba(255, 253, 249, 0.96) 100%
  );
  pointer-events: none;
}

.story-frame__teaser {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  font-size: clamp(0.88rem, 3.8vw, 1.05rem);
  font-weight: 700;
  line-height: 1.45;
  color: #4d423a;
  text-shadow: none;
}

html[dir="ltr"] .story-frame__teaser {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.82rem, 3.5vw, 0.98rem);
  letter-spacing: 0.02em;
}

.story-frame__caption,
.story-frame__hint {
  margin: 0.85rem auto 0;
  max-width: 18rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6e5d53;
}

.story-frame__hint {
  font-size: 0.82rem;
  opacity: 0.88;
  font-style: italic;
}

html[dir="ltr"] .story-frame__hint {
  font-style: normal;
}

.story-journey__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0.85rem 0 1.1rem;
  gap: 0.5rem;
}

.story-journey__path {
  display: block;
  width: 2px;
  height: clamp(2.25rem, 8vw, 3.25rem);
  background: linear-gradient(180deg, #c4b5a8 0%, #8c7b6e 100%);
  border-radius: 2px;
  animation: pathGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  flex-shrink: 0;
}

.story-journey__spark {
  position: relative;
  flex-shrink: 0;
  width: 2.1rem;
  height: 2.1rem;
  margin: 0.15rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fffefb;
  border: 1px solid rgba(196, 181, 168, 0.65);
  color: #a8978a;
  font-size: 0.72rem;
  box-shadow: 0 6px 16px rgba(77, 66, 58, 0.12);
  animation: heartBeat 2.4s ease-in-out infinite;
  z-index: 2;
}

.story-journey__label {
  margin: 0.15rem 0 0;
  padding: 0.4rem 0.85rem 0.35rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.88rem, 3.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e5d53;
  text-align: center;
  line-height: 1.35;
  background: rgba(255, 254, 251, 0.92);
  border-radius: 10px;
  border: 1px solid rgba(196, 181, 168, 0.4);
  box-shadow: 0 4px 14px rgba(77, 66, 58, 0.06);
}

html[dir="rtl"] .story-journey__label {
  font-family: var(--font-couple-names-ar);
  letter-spacing: 0;
  text-transform: none;
  font-size: clamp(1.02rem, 4.2vw, 1.2rem);
  font-weight: 700;
}

@keyframes pathGrow {
  from {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }
  to {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes mysteryPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    opacity: 1;
  }
}

@media (min-width: 640px) {
  .story-journey {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    max-width: 36rem;
  }

  html[dir="rtl"] .story-journey {
    flex-direction: row-reverse;
  }

  .story-frame {
    flex: 1;
    max-width: 16.5rem;
  }

  .story-journey__connector {
    flex-shrink: 0;
    width: auto;
    padding: 2rem 0.5rem 0;
    justify-content: center;
    gap: 0.45rem;
  }

  .story-journey__path {
    width: clamp(2.5rem, 7vw, 3.75rem);
    height: 2px;
    background: linear-gradient(90deg, #c4b5a8 0%, #8c7b6e 100%);
    transform-origin: left;
  }

  html[dir="rtl"] .story-journey__path {
    background: linear-gradient(270deg, #c4b5a8 0%, #8c7b6e 100%);
    transform-origin: right;
  }

  @keyframes pathGrow {
    from {
      transform: scaleX(0);
      opacity: 0;
    }
    to {
      transform: scaleX(1);
      opacity: 1;
    }
  }

  .story-journey__label {
    margin-top: 0.35rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-frame__question,
  .story-journey__spark,
  .story-journey__path {
    animation: none !important;
  }
}

.invite-flow #tentang-pasangan .tile.is-ancestor {
  margin-bottom: 0.75rem;
}

@media (min-width: 769px) {
  .invite-flow > section {
    max-width: 52rem;
  }

  .invite-flow .container {
    max-width: 48rem;
  }

  .invite-flow__cards .invite-card {
    margin-bottom: 0;
  }
}

/* ??? Mobile layout: spacing, no horizontal drift ??? */
@media (max-width: 768px) {
  .main-content {
    padding-top: 0;
  }

  .invite-flow > section {
    padding: 2.75rem 1.15rem;
  }

  .bodytext {
    font-size: 1rem;
    line-height: 1.75;
    padding-inline: 0.25rem;
  }

  .space40px {
    height: 24px;
  }

  .section-light {
    background-size: min(100%, 420px);
    background-position: bottom center;
  }

  .tanggal-angka {
    font-size: 3.5rem;
  }

  .waktu {
    font-size: 1.15rem;
  }

  ul#hitungmundur {
    margin: 1.25rem auto;
    max-width: min(100%, 20rem);
    gap: 0.15rem 0.08rem;
  }

  .invite-flow #hitungmundur li:not(.separator) {
    padding: 0.45rem 0.12rem 0.38rem;
    border-radius: 10px;
  }

  .section-map iframe {
    height: min(50vh, 320px);
  }

  .btn-cta,
  .btn-whatsapp {
    width: min(100%, 280px);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .guestbook-section .column.is-5,
  .guestbook-section .column.is-7,
  .guestbook-wishes-column {
    width: 100%;
    overflow: visible;
    max-height: none;
  }

  .wishes-list-container,
  .wishes-feed {
    overflow: visible;
    max-height: none;
    height: auto;
  }

  #site-content [data-aos="reveal-slide"] {
    transform: translateY(36px) scale(0.98);
  }

  #site-content [data-aos="reveal-slide"].aos-animate {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 380px) {
  .hero-reel__name {
    font-size: clamp(2.85rem, 14vw, 3.75rem);
  }

  html[dir="rtl"] .hero-reel__name {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
    line-height: 1.38;
  }

  html[dir="rtl"] .hero-reel__heart {
    margin: 0.3rem 0;
  }

  ul#hitungmundur {
    max-width: 100%;
    gap: 0.12rem 0.06rem;
  }

  .invite-flow #hitungmundur li:not(.separator) {
    padding: 0.4rem 0.08rem 0.32rem;
  }

  ul#hitungmundur li p {
    font-size: clamp(0.52rem, 2vw, 0.62rem);
    margin-top: 0.2rem;
  }
}
/* --- Story chapters: ????? ? ???? ? ???? ????? --- */
.story-section {
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(176, 141, 87, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(90, 111, 98, 0.1), transparent 55%);
}

.story-chapters {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 22rem;
  margin: 0 auto 1.75rem;
  padding: 0.5rem 0;
}

.story-chapter {
  width: 100%;
  text-align: center;
  padding: 1.35rem 1.25rem 1.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(90, 111, 98, 0.18);
  box-shadow: 0 12px 32px rgba(30, 42, 36, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.story-chapter:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(30, 42, 36, 0.1);
}

.story-chapter--finale {
  background:
    linear-gradient(165deg, rgba(255, 252, 245, 0.92) 0%, rgba(232, 214, 170, 0.28) 100%);
  border-color: rgba(176, 141, 87, 0.35);
}

.story-chapter__num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--color-accent);
  margin-bottom: 0.55rem;
}

.story-chapter__title {
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  font-weight: 700;
  color: var(--color-story-ink);
  margin: 0 0 0.65rem;
  line-height: 1.3;
}

html[dir="rtl"] .story-chapter__title {
  font-family: 'Mirza', 'Cairo', serif;
  font-weight: 600;
}

.story-chapter__body {
  margin: 0;
  font-size: clamp(0.92rem, 3.4vw, 1.02rem);
  line-height: 1.85;
  color: var(--color-story-muted);
  font-weight: 500;
}

.story-chapters__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.65rem 0;
  color: var(--color-accent);
  font-size: 0.75rem;
}

.story-chapters__line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(176, 141, 87, 0.55), transparent);
}

.story-closing {
  position: relative;
  z-index: 1;
  max-width: 24rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  font-family: 'Playfair Display', 'Cairo', serif;
  font-size: clamp(1rem, 3.8vw, 1.15rem);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-story-ink);
  font-weight: 600;
}

html[dir="rtl"] .story-closing {
  font-family: 'Mirza', 'Cairo', serif;
  font-style: normal;
}

@media (min-width: 769px) {
  .story-chapters {
    max-width: 42rem;
    flex-direction: row;
    align-items: stretch;
    gap: 0.75rem;
  }

  .story-chapter {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .story-chapters__connector {
    flex-direction: column;
    padding: 0 0.15rem;
    align-self: center;
  }

  .story-chapters__line {
    width: 1px;
    height: 1.75rem;
    background: linear-gradient(180deg, transparent, rgba(176, 141, 87, 0.55), transparent);
  }
}

/* =========================================================
   Theme garden ? Mostafa & Nermeen full visual overhaul
   ========================================================= */

body.theme-garden {
  --color-names: #102018;
  --color-names-accent: #3d5a4c;
  --color-gate-dear: #3d5a4c;
  --color-gate-guest: #102018;
  --color-accent: #c4a46a;
  --color-story-ink: #15241c;
  --color-story-muted: #3d5a4c;
  --gate-bg: #e8efe6;
}

/* Hero: full-bleed garden ? NO invitation card in image */
body.theme-garden .hero-bg-layer {
  background:
    linear-gradient(180deg,
      rgba(10, 22, 16, 0.55) 0%,
      rgba(10, 22, 16, 0.28) 42%,
      rgba(8, 16, 12, 0.62) 100%),
    url("../image/hero_garden_dusk_mobile.png") no-repeat center center;
  background-size: cover;
}

body.theme-garden .hero--reel {
  background:
    linear-gradient(180deg,
      rgba(10, 22, 16, 0.55) 0%,
      rgba(10, 22, 16, 0.28) 42%,
      rgba(8, 16, 12, 0.62) 100%),
    url("../image/hero_garden_dusk_mobile.png") no-repeat center center;
  background-size: cover;
  background-position: center 40%;
}

@media (min-width: 769px) {
  body.theme-garden .hero-bg-layer,
  body.theme-garden .hero--reel {
    background-image:
      linear-gradient(180deg,
        rgba(10, 22, 16, 0.5) 0%,
        rgba(10, 22, 16, 0.22) 45%,
        rgba(8, 16, 12, 0.58) 100%),
      url("../image/hero_garden_dusk_desktop.png");
    background-position: center center;
  }
}

/* Hero composition: one clear stack, balanced spacing */
body.theme-garden .hero-reel {
  max-width: 28rem;
  gap: 0;
  justify-content: center;
  min-height: calc(100svh - 5rem);
  min-height: calc(100dvh - 5rem);
  padding: 1rem 1.25rem 2rem;
  transform: none;
}

body.theme-garden .hero--reel .hero-body {
  padding:
    max(5rem, calc(env(safe-area-inset-top) + 4rem))
    1.25rem
    max(3rem, calc(env(safe-area-inset-bottom) + 2rem));
  align-items: center;
  justify-content: center;
}

body.theme-garden .hero-reel__eyebrow {
  order: 1;
  margin: 0 0 1.1rem;
  font-size: clamp(0.68rem, 2.4vw, 0.78rem);
  letter-spacing: 0.28em;
  color: rgba(232, 214, 170, 0.9);
}

html[dir="rtl"] body.theme-garden .hero-reel__eyebrow {
  letter-spacing: 0.06em;
  font-size: clamp(0.85rem, 3vw, 0.95rem);
}

body.theme-garden .hero-reel__names {
  order: 2;
  margin: 0 0 1.15rem;
  gap: 0.15rem;
  padding: 0;
}

body.theme-garden .hero-reel__name {
  font-size: clamp(3.4rem, 14vw, 5.5rem);
  line-height: 1.02;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.45),
    0 1px 2px rgba(0, 0, 0, 0.35);
}

html[dir="rtl"] body.theme-garden .hero-reel__name {
  font-size: clamp(2.75rem, 12vw, 4.25rem);
  line-height: 1.35;
}

body.theme-garden .hero-reel__amp {
  margin: 0.05rem 0 0.15rem;
  font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  opacity: 1;
}

body.theme-garden .hero-reel__tagline {
  order: 3;
  margin: 0 0 1.35rem;
  max-width: 18rem;
  font-size: clamp(0.72rem, 2.8vw, 0.85rem);
  letter-spacing: 0.18em;
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.88);
}

html[dir="rtl"] body.theme-garden .hero-reel__tagline {
  letter-spacing: 0.04em;
  font-size: clamp(0.9rem, 3.2vw, 1.05rem);
  max-width: 16rem;
}

/* Date: light text line ? not a heavy pill floating in empty card */
body.theme-garden .hero-reel__date {
  order: 4;
  margin: 0 0 1.75rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: clamp(0.95rem, 3.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fffaf0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  position: relative;
}

body.theme-garden .hero-reel__date::before,
body.theme-garden .hero-reel__date::after {
  content: "";
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  margin: 0 0.75rem;
  vertical-align: middle;
  background: rgba(232, 214, 170, 0.65);
}

html[dir="rtl"] body.theme-garden .hero-reel__date {
  letter-spacing: 0;
}

body.theme-garden .hero-reel__cta {
  order: 5;
  margin-top: 0;
  padding: 0.7rem 1.4rem;
  border: 1px solid rgba(232, 214, 170, 0.55);
  border-radius: 2px;
  border-bottom: 1px solid rgba(232, 214, 170, 0.55);
  letter-spacing: 0.16em;
  background: rgba(10, 22, 16, 0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

html[dir="rtl"] body.theme-garden .hero-reel__cta {
  letter-spacing: 0.04em;
}

body.theme-garden .hero-reel__cta:hover,
body.theme-garden .hero-reel__cta:focus-visible {
  background: rgba(10, 22, 16, 0.45);
  border-color: rgba(232, 214, 170, 0.9);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  body.theme-garden .hero-reel {
    max-width: 22rem;
    transform: none;
    padding: 0.5rem 0.75rem 1.5rem;
  }

  body.theme-garden .hero-reel__names {
    margin-bottom: 0.95rem;
  }

  body.theme-garden .hero-reel__name {
    font-size: clamp(3rem, 13vw, 4.35rem);
  }

  html[dir="rtl"] body.theme-garden .hero-reel__name {
    font-size: clamp(2.45rem, 11.5vw, 3.5rem);
  }
}

/* --- Envelope gate redesign --- */
body.theme-garden .envelope-gate {
  background:
    radial-gradient(ellipse at 50% 20%, #f4f7f1 0%, transparent 55%),
    linear-gradient(165deg, #e7efe4 0%, #d5e0d2 45%, #c5d2c0 100%);
}

body.theme-garden .envelope-screen {
  max-width: 26rem;
  padding: 2rem 1.25rem 2.5rem;
  gap: 0;
}

body.theme-garden .gate-brand {
  margin: 0 0 0.35rem;
  text-align: center;
  font-family: "Great Vibes", "Alex Brush", cursive;
  font-size: clamp(1.85rem, 7vw, 2.35rem);
  color: #15241c;
  line-height: 1.15;
}

html[dir="rtl"] body.theme-garden .gate-brand {
  font-family: var(--font-couple-names-ar);
  font-size: clamp(1.55rem, 6.5vw, 2rem);
  font-weight: 400;
}

body.theme-garden .gate-occasion {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: "Playfair Display", "Cairo", serif;
  font-size: clamp(0.68rem, 2.5vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #3d5a4c;
}

html[dir="rtl"] body.theme-garden .gate-occasion {
  font-family: "Cairo", sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.9rem;
}

body.theme-garden .envelope-stage {
  width: min(86vw, 360px);
  height: auto;
  margin: 0 auto 1.25rem;
  aspect-ratio: 1 / 1;
}

body.theme-garden .envelope-artwork {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: visible;
}

body.theme-garden .envelope-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow:
    0 18px 48px rgba(20, 40, 28, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.35) inset;
  filter: none;
}

/* CSS botanical wax seal (replaces gold seal image) */
body.theme-garden .envelope-artwork .wax-seal {
  top: 52%;
  left: 50%;
  width: clamp(4.6rem, 20vw, 5.75rem);
  height: clamp(4.6rem, 20vw, 5.75rem);
  display: grid;
  place-items: center;
  animation: gardenSealPulse 2.4s ease-in-out infinite;
}

body.theme-garden .wax-seal__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(232, 214, 170, 0.55);
  background: radial-gradient(circle at 35% 30%, #3f6b52 0%, #1f3a2c 62%, #14241c 100%);
  box-shadow:
    0 10px 28px rgba(16, 36, 24, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

body.theme-garden .wax-seal__core {
  position: relative;
  z-index: 1;
  color: #e8d6aa;
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

@keyframes gardenSealPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

body.theme-garden .envelope-gate.is-open-seal .wax-seal {
  animation: sealBreakImg 0.55s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

body.theme-garden .envelope-guest-label {
  margin: 0.25rem 0 0.85rem;
  order: 0;
}

body.theme-garden .guest-label-dear {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: #3d5a4c;
}

body.theme-garden .guest-label-name {
  font-family: "Playfair Display", "Cairo", serif;
  font-size: clamp(1.35rem, 5vw, 1.65rem);
  color: #15241c;
  -webkit-text-fill-color: #15241c;
}

html[dir="rtl"] body.theme-garden .guest-label-name {
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.2rem, 4.5vw, 1.45rem);
}

body.theme-garden .envelope-hint {
  margin-top: 0.35rem;
  color: #5a6f62;
  letter-spacing: 0.14em;
}

/* Hide legacy paper card in new gate */
body.theme-garden .envelope-paper[hidden] {
  display: none !important;
}

/* Sections: softer garden palette */
body.theme-garden .invite-flow .section-light {
  background:
    linear-gradient(180deg, #f3f6f1 0%, #e8efe4 100%);
}

body.theme-garden .invite-flow .section-dark,
body.theme-garden .invite-flow .section-darker {
  background:
    linear-gradient(180deg, #1a2c22 0%, #122018 100%);
}

body.theme-garden .invite-flow .section-title {
  color: #15241c;
}

body.theme-garden .invite-flow .section-dark .section-title,
body.theme-garden .invite-flow .section-darker .section-title {
  color: #f4f7f1;
}

body.theme-garden .invite-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 214, 170, 0.22);
  border-radius: 6px;
  padding: 1.25rem 0.85rem;
}

body.theme-garden .scroll-progress__fill {
  background: linear-gradient(90deg, #c4a46a 0%, #3d5a4c 100%);
}

html[dir="rtl"] body.theme-garden .scroll-progress__fill {
  background: linear-gradient(270deg, #c4a46a 0%, #3d5a4c 100%);
}

body.theme-garden .lang-switch {
  background: rgba(243, 246, 241, 0.72);
}

body.theme-garden .lang-switch__btn.is-active {
  color: #15241c;
}

body.theme-garden .hero-reel__date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

body.theme-garden .hero-reel__date::before,
body.theme-garden .hero-reel__date::after {
  margin: 0;
  flex-shrink: 0;
}

body.theme-garden .envelope-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ??? ?????? ???? ??? ??? ?????? — ???? ????? ???? */
body.theme-garden .envelope-artwork .wax-seal {
  width: clamp(5.5rem, 24vw, 7rem);
  height: clamp(5.5rem, 24vw, 7rem);
  top: 50%;
  background: transparent;
}

body.theme-garden .wax-seal__ring {
  border: 2px solid rgba(196, 164, 106, 0.55);
  background: transparent;
  box-shadow: 0 0 0 0 rgba(196, 164, 106, 0.35);
  animation: gardenRingPulse 2.2s ease-in-out infinite;
}

body.theme-garden .wax-seal__core {
  display: none;
}

@keyframes gardenRingPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
    box-shadow: 0 0 0 0 rgba(196, 164, 106, 0.3);
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
    box-shadow: 0 0 0 10px rgba(196, 164, 106, 0);
  }
}

body.theme-garden .envelope-artwork .wax-seal {
  animation: none;
}

body.theme-garden .envelope-gate.is-open-seal .wax-seal__ring {
  animation: none;
  opacity: 0;
  transform: scale(1.4);
  transition: opacity 0.4s ease, transform 0.45s ease;
}

/* =========================================================
   Palette tune — soft sage mist + olive (no harsh white)
   ========================================================= */
body.theme-garden {
  --olive-deep: #24362c;
  --olive-mid: #2f4638;
  --olive-soft: #3d5a4c;
  --sage-mist: #d5ddd2;
  --sage-fog: #c8d2c4;
  --sage-paper: #e2e8de;
  --ink: #1a2a20;
  --ivory: #f2efe6;
  --champagne: #c4a46a;
  background-color: var(--sage-mist);
}

body.theme-garden.invite-open,
body.theme-garden #site-content,
body.theme-garden .main-content.invite-flow {
  background-color: var(--sage-mist);
  background-image:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(61, 90, 76, 0.08), transparent 55%),
    linear-gradient(180deg, #d9e1d5 0%, #cfd8cb 40%, #c6d0c2 100%);
}

/* Light sections: sage paper, not bright white */
body.theme-garden .invite-flow .section-light,
body.theme-garden .invite-flow .section-bismillah,
body.theme-garden .invite-flow .story-section {
  background:
    linear-gradient(180deg, #dde4d8 0%, #d2dccf 55%, #c9d4c6 100%) !important;
  color: var(--ink);
}

body.theme-garden .invite-flow .section-bismillah {
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
  border: none;
}

body.theme-garden .invite-flow .section-bismillah .bismillah {
  filter: brightness(0.85) sepia(0.25) hue-rotate(70deg) saturate(0.7);
  opacity: 0.9;
}

/* Dark olive sections — full-bleed feel within column, softer transition */
body.theme-garden .invite-flow .section-dark,
body.theme-garden .invite-flow .section-darker,
body.theme-garden .invite-flow .guestbook-section {
  background:
    linear-gradient(165deg, #2a3f33 0%, #1f3028 48%, #182620 100%) !important;
  color: var(--ivory);
  box-shadow:
    0 -24px 40px -28px rgba(36, 54, 44, 0.45),
    0 24px 40px -28px rgba(36, 54, 44, 0.35);
}

body.theme-garden .invite-flow .section-dark .section-title,
body.theme-garden .invite-flow .section-darker .section-title,
body.theme-garden .invite-flow .guestbook-section .section-title {
  color: var(--ivory) !important;
}

body.theme-garden .invite-flow .section-dark .section-title::after,
body.theme-garden .invite-flow .section-darker .section-title::after,
body.theme-garden .invite-flow .guestbook-section .section-title::after {
  background: linear-gradient(90deg, transparent, var(--champagne), transparent);
}

body.theme-garden .invite-flow .section-light .section-title,
body.theme-garden .invite-flow .story-section .section-title {
  color: var(--olive-soft) !important;
}

body.theme-garden .invite-flow .section-light .section-title::after,
body.theme-garden .invite-flow .story-section .section-title::after {
  background: linear-gradient(90deg, transparent, rgba(61, 90, 76, 0.55), transparent);
}

/* Countdown chips on olive — translucent ivory, readable */
body.theme-garden .invite-flow #hitungmundur li:not(.separator) {
  background: rgba(242, 239, 230, 0.1) !important;
  border: 1px solid rgba(196, 164, 106, 0.28) !important;
  box-shadow: none !important;
}

body.theme-garden .invite-flow #hitungmundur li.separator {
  color: rgba(196, 164, 106, 0.7) !important;
}

body.theme-garden #hitungmundur span,
body.theme-garden #hitungmundur li p,
body.theme-garden .invite-flow #hitungmundur .days,
body.theme-garden .invite-flow #hitungmundur .hours,
body.theme-garden .invite-flow #hitungmundur .minutes,
body.theme-garden .invite-flow #hitungmundur .seconds {
  color: var(--ivory) !important;
}

/* Info cards — light text on olive */
body.theme-garden .invite-flow .invite-card {
  background: rgba(242, 239, 230, 0.07) !important;
  border: 1px solid rgba(196, 164, 106, 0.22) !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}

body.theme-garden .invite-flow .tanggal-angka {
  color: var(--champagne) !important;
}

body.theme-garden .invite-flow .tanggal-hari,
body.theme-garden .invite-flow .tanggal-bulan,
body.theme-garden .invite-flow .waktu,
body.theme-garden .invite-flow .invite-card__note,
body.theme-garden .invite-flow .waktu strong,
body.theme-garden .invite-flow .waktu span {
  color: rgba(242, 239, 230, 0.92) !important;
}

body.theme-garden .invite-flow .invite-card__note {
  color: rgba(196, 164, 106, 0.95) !important;
}

/* Map frame softens into olive */
body.theme-garden .invite-flow .section-map {
  border: 1px solid rgba(196, 164, 106, 0.3) !important;
  box-shadow: 0 12px 36px rgba(8, 16, 12, 0.35) !important;
  border-radius: 12px !important;
}

/* CTA buttons — olive + champagne, not mauve brown */
body.theme-garden .invite-flow .btn-cta {
  background: var(--olive-soft) !important;
  border: 1px solid rgba(196, 164, 106, 0.55) !important;
  color: var(--ivory) !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 24px rgba(8, 16, 12, 0.28) !important;
  letter-spacing: 0.12em;
}

body.theme-garden .invite-flow .btn-cta:hover {
  background: #4a6b5a !important;
  border-color: var(--champagne) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Story section on sage mist */
body.theme-garden .story-journey__intro,
body.theme-garden .story-closing,
body.theme-garden .story-chapter__title {
  color: var(--ink) !important;
}

body.theme-garden .story-chapter__body,
body.theme-garden .story-chapter__num {
  color: var(--olive-soft) !important;
}

body.theme-garden .story-chapter {
  background: rgba(226, 232, 222, 0.75) !important;
  border-color: rgba(61, 90, 76, 0.2) !important;
  box-shadow: 0 10px 28px rgba(36, 54, 44, 0.08) !important;
}

body.theme-garden .story-chapter--finale {
  background:
    linear-gradient(165deg, rgba(226, 232, 222, 0.95) 0%, rgba(196, 164, 106, 0.22) 100%) !important;
  border-color: rgba(196, 164, 106, 0.4) !important;
}

/* Guestbook on olive */
body.theme-garden .guestbook-form-card {
  background: rgba(242, 239, 230, 0.08) !important;
  border: 1px solid rgba(196, 164, 106, 0.25) !important;
  box-shadow: none !important;
}

body.theme-garden .guestbook-form-card .form-title,
body.theme-garden .guestbook-form-card .label,
body.theme-garden .guestbook-rsvp-option__main {
  color: var(--ivory) !important;
}

body.theme-garden .guestbook-rsvp-option__hint,
body.theme-garden .wishes-status p,
body.theme-garden .guestbook-form-card .label {
  color: rgba(242, 239, 230, 0.78) !important;
}

body.theme-garden .guestbook-form-card .input,
body.theme-garden .guestbook-form-card .textarea,
body.theme-garden .guestbook-form-card .select-input {
  background: rgba(18, 38, 28, 0.45) !important;
  border-color: rgba(196, 164, 106, 0.35) !important;
  color: var(--ivory) !important;
}

body.theme-garden .guestbook-form-card .input::placeholder,
body.theme-garden .guestbook-form-card .textarea::placeholder {
  color: rgba(242, 239, 230, 0.45) !important;
}

body.theme-garden .btn-submit-comment {
  background: var(--champagne) !important;
  border-color: var(--champagne) !important;
  color: var(--ink) !important;
}

body.theme-garden .wishes-list-container,
body.theme-garden .wish-card {
  background: rgba(242, 239, 230, 0.07) !important;
  border-color: rgba(196, 164, 106, 0.2) !important;
  color: var(--ivory);
}

/* Envelope gate matches sage mist */
body.theme-garden .envelope-gate {
  background:
    radial-gradient(ellipse at 50% 18%, #e4ebe0 0%, transparent 50%),
    linear-gradient(165deg, #d5ddd2 0%, #c5d0c2 50%, #b7c4b4 100%) !important;
}

body.theme-garden .lang-switch {
  background: rgba(213, 221, 210, 0.85) !important;
  border: 1px solid rgba(61, 90, 76, 0.18);
}

body.theme-garden .lang-switch__btn {
  color: rgba(26, 42, 32, 0.65);
}

body.theme-garden .lang-switch__btn.is-active {
  background: rgba(226, 232, 222, 0.95);
  color: var(--ink) !important;
}

/* Olive a bit lighter */
body.theme-garden {
  --olive-deep: #354a3c;
  --olive-mid: #415848;
  --olive-soft: #4d6a58;
}

body.theme-garden .invite-flow .section-dark,
body.theme-garden .invite-flow .section-darker,
body.theme-garden .invite-flow .guestbook-section {
  background:
    linear-gradient(165deg, #3a5244 0%, #314739 48%, #2a3d32 100%) !important;
}

body.theme-garden .invite-flow .btn-cta {
  background: #4d6a58 !important;
}

body.theme-garden .invite-flow .btn-cta:hover {
  background: #5a7a66 !important;
}
