@font-face {
  font-family: "Thuluth";
  src: url("/assets/font/DecoType%20Thuluth%20II%20Regular.ttf") format("truetype");
  font-display: swap;
}

:root {
  --dark: #173127;
  --ink: #24332b;
  --muted: #476654;
  --line: rgba(71, 102, 84, 0.24);
  --paper: #f6f7f2;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.78);
  --sage: #7b957f;
  --sage-soft: #dfe8dc;
  --moss: #284638;
  --leaf: #8ea68b;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.16);
  --serif: "Lora", serif;
  --display: "Italiana", serif;
  --sans: "Raleway", sans-serif;
  --arabic: "Thuluth", "Amiri", serif;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
}

main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

.site-bg,
.bg-slide {
  position: fixed;
  inset: 0;
}

.site-bg {
  z-index: -2;
  background: #3a4c42;
}

.desktop-showcase {
  display: none;
}

.bg-slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: bgFade var(--bg-duration, 15s) ease-in-out infinite;
  will-change: opacity;
}

.bg-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 26, 18, 0.52);
}

.bg-slide-1 {
  background-image: var(--bg-image-1, url("/assets/images/3.webp"));
}

.bg-slide-2 {
  background-image: var(--bg-image-2, url("/assets/images/11.webp"));
  animation-delay: 3s;
}

.bg-slide-3 {
  background-image: var(--bg-image-3, url("/assets/images/19.webp"));
  animation-delay: 6s;
}

@keyframes bgFade {
  0%, 100% { opacity: 0; }
  8%, 28% { opacity: 1; }
  38% { opacity: 0; }
}

.desktop-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: desktopSlideFade 40s ease-in-out infinite;
  will-change: opacity, transform;
}

.desktop-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 45, 34, 0.54), rgba(18, 45, 34, 0.66)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), transparent 46%);
}

@keyframes desktopSlideFade {
  0%, 100% {
    opacity: 0;
    transform: scale(1.04);
  }

  8%, 25% {
    opacity: 1;
    transform: scale(1);
  }

  33% {
    opacity: 0;
    transform: scale(1.02);
  }
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  isolation: isolate;
  min-height: 100dvh;
  display: grid;
  place-items: stretch center;
  padding: 28px 25px max(24px, calc(env(safe-area-inset-bottom) + 24px));
  overflow: hidden;
  background: #0b2418;
  color: #fff;
  transition: opacity 900ms ease, transform 900ms ease, visibility 900ms;
}

.opening::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(8, 24, 16, 0.54), rgba(8, 24, 16, 0.5));
  pointer-events: none;
}

.opening.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8%);
  pointer-events: none;
}

.opening-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 54%;
}

.opening-inner {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  min-height: calc(100dvh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: center;
}

.opening-title {
  position: absolute;
  top: clamp(145px, 23dvh, 210px);
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.34);
}

.opening-title span {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(13px, 3.2vw, 16px);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.opening-bottom {
  position: relative;
  z-index: 1;
}

.opening-photo {
  width: 120px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  margin: 0 auto 22px;
  border-radius: 80px 80px 28px 28px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(13px, 3.2vw, 18px);
  letter-spacing: 0;
}

.eyebrow.light {
  color: #fff;
}

.opening h1,
.hero h2,
.section-heading h2,
.countdown-card h2,
.venue-copy h2,
.phone-showcase h2,
.gift-card h2,
.closing h2,
.prayer-card h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0;
}

.opening h1 {
  margin-top: 10px;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1;
  white-space: nowrap;
}

.guest-box {
  margin: 24px auto 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.3;
}

.guest-box strong {
  display: block;
  margin: 6px 0 10px;
  font-size: 22px;
  line-height: 1.16;
}

.guest-box strong span {
  display: block;
}

button,
a {
  transition: opacity 180ms ease, transform 200ms ease, background 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 18px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn:hover,
.btn:focus-visible {
  transform: none;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.46);
  box-shadow: none;
  outline: none;
  backdrop-filter: blur(8px);
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-frost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border-color: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(8px);
}

.btn-muted {
  background: var(--muted);
  color: #fff;
  border-color: var(--muted);
}

.btn-ghost {
  color: var(--muted);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.btn-solid {
  background: var(--moss);
  color: #fff;
  border-color: var(--moss);
  box-shadow: 0 12px 18px -12px rgba(0, 0, 0, 0.45);
}

.btn:active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.86);
  background: rgba(0, 0, 0, 0.58);
  box-shadow: none;
}

.section-dark {
  color: #fff;
  background: rgba(15, 36, 27, 0.56);
}

.hero {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 60px 25px 120px;
  text-align: center;
}

.hero-content h2 {
  margin-top: 12px;
  font-size: clamp(56px, 15vw, 92px);
  line-height: 0.9;
}

.hero-names {
  display: grid;
  justify-items: center;
}

.hero-names span,
.hero-names em {
  display: block;
}

.hero-names em {
  margin: -4px 0;
  font-family: var(--serif);
  font-size: 0.48em;
  font-style: normal;
  line-height: 1;
}

.date-mark {
  margin: 18px 0 0;
  font-size: clamp(16px, 4vw, 24px);
  font-weight: 700;
  letter-spacing: 0;
}

.swipe-hint {
  position: absolute;
  bottom: 112px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-weight: 700;
}

.swipe-hint svg {
  width: 28px;
  height: 28px;
  animation: swipe 1.4s infinite;
}

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

.paper-section {
  position: relative;
  padding: 64px 25px;
  background-image:
    linear-gradient(rgba(246, 248, 243, 0.38), rgba(246, 248, 243, 0.5)),
    url("/assets/images/880-kul-11.webp");
  background-repeat: repeat, repeat;
  background-size: auto, 480px auto;
  background-position: top left, top left;
  overflow: hidden;
}

.paper-card,
.gift-card {
  width: min(720px, 100%);
  margin: 0 auto;
  background: #fff;
  border-radius: 50px;
  box-shadow: var(--shadow);
}

.prayer-card {
  padding: clamp(28px, 6vw, 42px) clamp(20px, 6vw, 50px);
  text-align: center;
}

.prayer-photo-frame {
  position: relative;
  width: min(100%, 620px);
  margin: 0 auto 32px;
  border: 5px solid var(--muted);
  border-radius: 15px;
  background: var(--muted);
  box-shadow: 0 18px 44px rgba(24, 41, 32, 0.13);
}

.prayer-photo-frame::before,
.prayer-photo-frame::after {
  content: "";
  position: absolute;
  z-index: 2;
  aspect-ratio: 1;
  background: url("/assets/images/flower-rum.png?v=2") center / contain no-repeat;
  opacity: 0.72;
  pointer-events: none;
}

.prayer-photo-frame::before {
  width: clamp(58px, 16vw, 104px);
  top: -16px;
  right: -18px;
  transform: translate3d(0, 0, 0);
}

.prayer-photo-frame::after {
  width: clamp(58px, 16vw, 104px);
  left: -20px;
  bottom: -18px;
  transform: scaleX(-1);
}

.prayer-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 58%;
  border-radius: 10px;
}

.prayer-card.is-visible .prayer-photo-frame::before {
  animation: rumFlowerTop 13s ease-in-out infinite;
}

.prayer-card.is-visible .prayer-photo-frame::after {
  animation: rumFlowerBottom 13s ease-in-out infinite;
}

.prayer-card h2,
.section-heading h2 {
  color: var(--muted);
  font-size: clamp(42px, 11vw, 72px);
}

.arabic-quote,
.bismillah-arabic {
  margin: 0;
  color: var(--muted);
  font-family: var(--arabic);
  font-weight: 400;
  letter-spacing: 0;
  direction: rtl;
  text-align: center;
}

.arabic-quote {
  margin: 0 auto 8px;
  display: inline-block;
  width: max-content;
  max-width: none;
  font-size: clamp(17px, 5.1vw, 23px);
  line-height: 2;
  white-space: pre;
  transform: scaleX(0.96);
  transform-origin: center;
}

.bismillah-arabic {
  margin: 0 auto 6px;
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: clamp(18px, 5.7vw, 30px);
  line-height: 1.65;
  white-space: nowrap;
}

.salam-text {
  margin: 0 auto 18px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(13px, 3.5vw, 16px);
  font-weight: 600;
  line-height: 1.5;
}

.quote {
  margin: 18px 0 22px;
  font-size: clamp(13px, 3vw, 15px);
  font-style: italic;
  line-height: 1.7;
  text-align: justify;
}

.prayer-card .quote:first-child {
  margin-top: 0;
}

.ornament,
.divider-ornament,
.top-ornament {
  margin: 32px auto 0;
  width: 96px;
  height: 48px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.ornament::before,
.divider-ornament::before,
.top-ornament::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--muted);
  border-width: 0 1px 1px 0;
  transform: translateX(-50%) rotate(45deg);
  opacity: 0.45;
}

.prayer-card .ornament {
  width: 190px;
  height: 78px;
  border-bottom: 0;
  background: url("/assets/images/flower.png") center / 72px auto no-repeat;
  opacity: 0.62;
}

.prayer-card .ornament::before,
.prayer-card .ornament::after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: auto;
  width: 48px;
  height: 1px;
  border: 0;
  background: var(--line);
  opacity: 1;
  transform: translateY(-50%);
}

.prayer-card .ornament::before {
  left: 0;
}

.prayer-card .ornament::after {
  right: 0;
}

.section-heading {
  width: min(780px, 100%);
  margin: 64px auto 28px;
  text-align: center;
}

.paper-section > .section-heading:first-child,
.story-section > .section-heading:first-child,
.gallery-section > .section-heading:first-child {
  margin-top: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 16px auto 0;
  max-width: 720px;
  line-height: 1.7;
  text-align: center;
}

.couple-grid {
  --couple-gap: clamp(52px, 9vw, 86px);
  --amp-left: 50%;
  --amp-top: 50%;
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: var(--couple-gap);
  position: relative;
}

.couple-card {
  text-align: center;
}

.couple-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 5px solid var(--sage-soft);
  border-radius: 500px 500px 200px 200px;
}

.couple-card > span {
  display: block;
  margin-top: -48px;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(24px, 5.1vw, 34px);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.couple-card h3 {
  margin: 42px 0 4px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: clamp(14px, 3.5vw, 22px);
  line-height: 1.26;
}

.couple-card p {
  display: block;
  margin: 0 0 4px;
  color: rgba(36, 51, 43, 0.72);
  line-height: 1.45;
}

.couple-name-line,
.couple-parent-line {
  display: block;
  white-space: nowrap;
}

.couple-parent-line {
  margin-top: 1px;
  font-size: clamp(9.5px, 2.6vw, 13px);
  line-height: 1.25;
}

.ampersand {
  grid-column: 1 / -1;
  grid-row: 1;
  position: absolute;
  top: var(--amp-top);
  left: var(--amp-left);
  z-index: 2;
  padding-top: 0;
  transform: translate(-50%, -50%);
  color: var(--muted);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  pointer-events: none;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 auto;
  color: var(--muted);
}

.mini-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(12%) saturate(972%) hue-rotate(95deg) brightness(91%) contrast(89%);
}

.event-section {
  padding: 120px 25px 64px;
  background: transparent;
}

.countdown-card,
.venue-card,
.schedule-card {
  width: min(720px, 100%);
  margin: 0 auto;
}

.countdown-card {
  min-height: 620px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 90px 36px;
  text-align: center;
  border: 1px solid rgba(217, 217, 217, 0.5);
  border-radius: 500px 500px 90px 90px;
  box-shadow: var(--shadow);
  background: rgba(239, 244, 239, 0.12);
  backdrop-filter: blur(2px);
}

.countdown-card h2,
.venue-copy h2 {
  margin-top: 12px;
  font-size: clamp(38px, 8vw, 58px);
}

.countdown-card h2 {
  font-family: var(--serif);
  font-weight: 700;
}

.event-date {
  margin: 14px 0 24px;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 700;
}

.schedule-date-card {
  width: min(320px, 100%);
  margin: 18px auto 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
}

.schedule-date-card span {
  min-height: 24px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}

.schedule-date-card span:first-child {
  border-right: 2px solid var(--muted);
}

.schedule-date-card span:nth-child(3) {
  border-left: 2px solid var(--muted);
}

.schedule-date-card strong {
  font-family: var(--serif);
  font-size: clamp(34px, 7vw, 46px);
  line-height: 1;
  font-weight: 400;
}

.schedule-date-card em,
.schedule-date-card small {
  grid-column: 1 / -1;
  font-style: normal;
}

.schedule-date-card em {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 700;
}

.schedule-date-card small {
  margin-top: 8px;
  font-size: 13px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(430px, 100%);
  gap: 10px;
  margin: 0 auto 24px;
}

.countdown div {
  display: grid;
}

.countdown strong {
  font-family: var(--serif);
  font-size: clamp(34px, 8vw, 52px);
  line-height: 1;
}

.countdown span {
  font-family: var(--sans);
  font-size: 13px;
}

.venue-card {
  position: relative;
  margin-top: 90px;
  overflow: hidden;
  border-radius: 24px;
}

.venue-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.58);
}

.venue-copy {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: end;
  padding: 42px 42px 54px;
  text-align: center;
}

.schedule-card {
  margin-top: -28px;
  padding: 80px 30px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.schedule-card article {
  max-width: 520px;
  margin: 0 auto;
}

.schedule-card article + article {
  margin-top: 72px;
}

.schedule-card article > strong {
  display: block;
  max-width: 340px;
  margin: 18px auto 8px;
  color: var(--muted);
  font-size: clamp(13px, 3.25vw, 16px);
  line-height: 1.25;
}

.schedule-card article > p {
  max-width: 340px;
  margin: 0 auto;
  color: rgba(36, 51, 43, 0.74);
  font-size: clamp(11px, 2.9vw, 13px);
  line-height: 1.45;
}

.schedule-art {
  display: block;
  margin: 0 auto 18px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(12%) saturate(972%) hue-rotate(95deg) brightness(91%) contrast(89%);
}

.schedule-art-ring {
  width: min(118px, 30vw);
}

.schedule-art-gate {
  width: min(140px, 36vw);
}

.schedule-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 11vw, 68px);
  font-weight: 400;
}

.schedule-card .tueng-dara-baro-title {
  font-size: clamp(20px, 6.2vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.schedule-map-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin: 26px auto 10px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(36%) sepia(12%) saturate(972%) hue-rotate(95deg) brightness(91%) contrast(89%);
}

.btn-map-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.schedule-card svg {
  width: 34px;
  height: 34px;
  margin: 26px auto 10px;
}

.location-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.media-section {
  padding-top: 0;
  padding-bottom: 0;
}

.video-frame {
  width: min(880px, 100%);
  margin: 0 auto 90px;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 60%;
  border-radius: 10px;
  background: #d9d9d9;
}

.phone-showcase {
  margin: 0;
  padding: 68px 25px 72px;
  color: #fff;
  text-align: center;
  background: rgba(71, 102, 84, 0.98);
}

.phone-frame {
  width: min(280px, 76vw);
  aspect-ratio: 1622 / 3328;
  margin: 0 auto 32px;
  position: relative;
}

.phone-shell {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
}

.phone-screen-layer {
  position: absolute;
  inset: 1.9% 4.9%;
  width: calc(100% - 9.8%);
  height: calc(100% - 3.8%);
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.18) brightness(1.08);
}

.phone-frame-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}

.phone-flower {
  position: absolute;
  width: 72%;
  max-width: none;
  display: block;
  opacity: 0.22;
}

.phone-flower-top {
  top: 0;
  left: -24%;
  transform: rotate(180deg);
}

.phone-flower-bottom {
  right: -18%;
  bottom: -5%;
}

.phone-monogram {
  position: absolute;
  top: 34px;
  right: 17px;
  width: 48px;
  height: 76px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  font-family: var(--display);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.phone-monogram span {
  font-size: 26px;
}

.phone-monogram small {
  margin: 1px 0;
  font-family: var(--sans);
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.phone-frame-copy {
  position: absolute;
  left: 12px;
  right: 0;
  bottom: 40px;
  display: grid;
  justify-items: start;
  padding: 0 18px;
  text-align: left;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.phone-frame-copy small {
  font-size: 10px;
}

.phone-frame-copy strong {
  margin-top: -2px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
}

.phone-frame-copy span {
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.8px;
}

.phone-dress-code {
  width: min(620px, 100%);
  margin: 0 auto;
}

.phone-dress-code .eyebrow {
  margin: 0 0 3px;
  color: #e9dfb7;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
}

.phone-dress-code h2 {
  margin: 2px 0 22px;
  color: #e9dfb7;
  font-family: var(--serif);
  font-size: clamp(30px, 9vw, 46px);
  font-style: italic;
  font-weight: 600;
  line-height: 0.95;
}

.phone-dress-code > p:not(.eyebrow) {
  width: min(430px, 100%);
  margin: 0 auto 28px;
  color: rgba(247, 245, 233, 0.9);
  font-size: 14px;
  line-height: 1.7;
}

.dress-code-swatches {
  display: flex;
  justify-content: center;
  gap: 0;
}

.dress-code-swatch {
  width: clamp(42px, 12vw, 56px);
  aspect-ratio: 1;
  display: block;
  border-radius: 50%;
  background: var(--dress-color);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.dress-code-swatch + .dress-code-swatch {
  margin-left: -6px;
}

.story-section {
  padding: 58px 25px 68px;
  color: var(--ink);
  background-image:
    linear-gradient(rgba(246, 248, 243, 0.44), rgba(246, 248, 243, 0.54)),
    url("/assets/images/880-kul-11.webp");
  background-repeat: repeat, repeat;
  background-size: auto, 480px auto;
  background-position: top left, top left;
}

.light-heading h2,
.light-heading p {
  color: #fff;
}

.story-heading {
  margin-top: 0;
  margin-bottom: 28px;
}

.story-heading h2 {
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(36px, 10vw, 56px);
  font-style: italic;
  font-weight: 600;
}

.timeline {
  width: min(100%, 820px);
  margin: 24px auto 0;
  display: block;
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding: 0 25px 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.timeline:active {
  cursor: grabbing;
}

.timeline-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.timeline::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.timeline.is-auto-sliding {
  pointer-events: auto;
}

.timeline.is-auto-sliding .timeline-track {
  animation: timelineAutoSlide var(--timeline-loop-duration, 36s) linear infinite;
}

.timeline.is-paused .timeline-track {
  animation-play-state: paused;
}

@keyframes timelineAutoSlide {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--timeline-loop-distance, 0px)), 0, 0);
  }
}

.timeline-card {
  flex: 0 0 min(246px, calc(100vw - 168px));
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 24px;
  color: var(--muted);
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  scroll-snap-align: start;
}

.timeline-dot {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--muted);
  box-shadow: 0 8px 18px rgba(24, 41, 32, 0.18);
}

.timeline-dot svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke-width: 0;
}

.timeline-card img {
  width: 100%;
  height: clamp(176px, 46vw, 198px);
  object-fit: cover;
  object-position: center center;
  border-radius: 14px;
}

.timeline-card:nth-child(3) img,
.timeline-card:nth-child(4) img {
  object-position: center 30%;
}

.timeline-card time {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 18px 8px 6px;
  color: rgba(36, 51, 43, 0.72);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline-infinity {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.45em;
  font-weight: 600;
  line-height: 0.78;
  transform: translateY(-1px);
}

.timeline-card h3 {
  margin: 0 8px 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
}

.timeline-card p {
  margin: 0 8px;
  color: rgba(36, 51, 43, 0.76);
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.58;
  text-align: justify;
  text-align-last: left;
}

.gallery-quote {
  width: min(780px, calc(100% - 50px));
  max-width: 780px;
  margin: 0 auto;
  font-size: clamp(14px, 3.2vw, 20px);
  font-style: italic;
  line-height: 1.7;
  text-align: center;
}

.gallery-section {
  padding: 64px 0;
  background: rgba(71, 102, 84, 0.98);
  overflow: hidden;
}

.gallery-section .section-heading {
  padding: 0 25px;
  margin-top: 0;
}

.gallery-section .section-heading .eyebrow {
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 600;
}

.gallery-section .section-heading p:not(.eyebrow) {
  font-size: clamp(16px, 4.2vw, 20px);
  font-weight: 600;
}

.gallery-grid {
  width: min(760px, calc(100% - 50px));
  margin: 0 auto 42px;
  display: grid;
  gap: 9px;
  max-height: min(980px, 72vh);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-video-top {
  width: min(760px, calc(100% - 50px));
  margin: 0 auto 9px;
}

.gallery-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.gallery-video-heading {
  margin-top: 34px;
  margin-bottom: 16px;
}

.gallery-video-heading h2 {
  font-size: clamp(42px, 11vw, 68px);
}

.gallery-video-frame {
  width: min(760px, calc(100% - 50px));
  margin-bottom: 34px;
}

.gallery-row {
  display: grid;
  gap: 9px;
  align-items: start;
}

.gallery-row.layout-two-portrait,
.gallery-row.layout-two-landscape {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-row.layout-three-portrait {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-row.layout-portrait-landscape {
  grid-template-columns: minmax(0, 4fr) minmax(0, 9fr);
}

.gallery-row.layout-landscape-portrait {
  grid-template-columns: minmax(0, 9fr) minmax(0, 4fr);
}

.gallery-row.layout-full-landscape {
  grid-template-columns: 1fr;
}

.gallery-row.layout-single-portrait {
  grid-template-columns: minmax(0, min(58%, 340px));
  justify-content: center;
}

.gallery-row.layout-feature-duo {
  aspect-ratio: 13 / 8;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  align-items: stretch;
}

.gallery-row.layout-feature-duo .gallery-item {
  height: 100%;
  aspect-ratio: auto;
}

.gallery-row.layout-portrait-stack-landscape,
.gallery-row.layout-landscape-stack-portrait {
  aspect-ratio: 4 / 3;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.gallery-row.layout-portrait-stack-landscape .gallery-item,
.gallery-row.layout-landscape-stack-portrait .gallery-item {
  height: 100%;
  aspect-ratio: auto;
}

.gallery-row.layout-portrait-stack-landscape .gallery-item:nth-child(1) {
  grid-row: 1 / span 2;
}

.gallery-row.layout-portrait-stack-landscape .gallery-item:nth-child(2),
.gallery-row.layout-portrait-stack-landscape .gallery-item:nth-child(3) {
  grid-column: 2;
}

.gallery-row.layout-portrait-stack-landscape .gallery-item:nth-child(2),
.gallery-row.layout-landscape-stack-portrait .gallery-item:nth-child(1) {
  grid-row: 1;
}

.gallery-row.layout-portrait-stack-landscape .gallery-item:nth-child(3),
.gallery-row.layout-landscape-stack-portrait .gallery-item:nth-child(2) {
  grid-row: 2;
}

.gallery-row.layout-landscape-stack-portrait .gallery-item:nth-child(1),
.gallery-row.layout-landscape-stack-portrait .gallery-item:nth-child(2) {
  grid-column: 1;
}

.gallery-row.layout-landscape-stack-portrait .gallery-item:nth-child(3) {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.gallery-item {
  width: 100%;
  display: block;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(18, 35, 26, 0.18);
  cursor: zoom-in;
}

.gallery-item.is-portrait {
  aspect-ratio: 2 / 3;
}

.gallery-item.is-landscape {
  aspect-ratio: 3 / 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 300ms ease, filter 300ms ease;
}

.gallery-item.gallery-video-item {
  aspect-ratio: 848 / 478;
  background: transparent;
  cursor: default;
  pointer-events: auto;
  touch-action: pan-y;
}

.gallery-video-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) brightness(0.82);
  pointer-events: none;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.wishes-section {
  padding-top: 44px;
  padding-bottom: 68px;
}

.wishes-section .section-heading h2 {
  font-size: clamp(22px, 5.75vw, 38px);
  line-height: 1;
  white-space: nowrap;
}

.wish-layout {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.wish-form {
  display: grid;
  gap: 18px;
}

.wish-form label {
  position: relative;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
  z-index: 1;
}

.wish-form label.is-select-open {
  z-index: 70;
}

.wish-form input,
.wish-form select,
.wish-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  outline: none;
  font-weight: 400;
}

.wish-form select.wish-native-select {
  display: none;
}

.wish-select {
  position: relative;
  z-index: 5;
}

.wish-select.is-open {
  z-index: 20;
}

.wish-select-trigger {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid var(--muted);
  border-radius: 0;
  padding: 9px 0 11px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.2;
  text-align: left;
}

.wish-select-trigger:focus-visible {
  outline: 2px solid rgba(71, 102, 84, 0.28);
  outline-offset: 4px;
}

.wish-select-chevron {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 180ms ease;
}

.wish-select.is-open .wish-select-chevron {
  transform: translateY(2px) rotate(225deg);
}

.wish-select-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 6px;
  border: 1px solid rgba(71, 102, 84, 0.28);
  border-radius: 14px;
  background: #f8f9f4;
  box-shadow: 0 18px 36px rgba(24, 41, 32, 0.2);
  isolation: isolate;
}

.wish-select-menu[hidden] {
  display: none;
}

.wish-select-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--ink);
  background: #f8f9f4;
  cursor: pointer;
  pointer-events: auto;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.2;
  text-align: left;
  opacity: 1;
  transform: none;
  user-select: none;
}

.wish-select-trigger,
.wish-select-value,
.wish-select-chevron {
  opacity: 1 !important;
}

.wish-select-trigger,
.wish-select-value {
  transform: none !important;
}

.wish-select-option:hover,
.wish-select-option:focus-visible,
.wish-select-option[aria-selected="true"] {
  color: #fff;
  background: var(--muted);
  outline: none;
}

.wish-form.reveal,
.wish-form.reveal :is(
  label,
  input,
  textarea,
  button,
  span,
  .wish-select,
  .wish-select-menu,
  .wish-select-option
) {
  opacity: 1 !important;
  transform: none !important;
}

.wish-form.reveal .wish-select-menu,
.wish-form.reveal .wish-select-option {
  transition: none !important;
}

.wish-form textarea {
  resize: vertical;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
}

.wish-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted);
  text-align: center;
}

.wish-stats span {
  display: grid;
  padding: 14px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 12px;
}

.wish-stats strong {
  font-family: var(--serif);
  font-size: 24px;
}

.wish-list {
  max-height: 50vh;
  margin: 0;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;
  scrollbar-gutter: stable;
  list-style: none;
}

.wish-list li {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(110, 110, 110, 0.18);
}

.wish-list .name {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.wish-list .message {
  margin: 6px 0;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}

.wish-list .time {
  color: #9a9a9a;
  font-family: var(--sans);
  font-size: 12px;
}

.gift-section {
  padding: 58px 25px;
  background: var(--muted);
}

.gift-card {
  padding: clamp(32px, 7vw, 58px) clamp(20px, 6vw, 46px);
  text-align: center;
}

.gift-card > svg {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  color: rgba(71, 102, 84, 0.78);
}

.gift-card h2 {
  color: var(--muted);
  font-size: clamp(20px, 5vw, 31px);
  line-height: 1;
  white-space: nowrap;
}

.gift-card p {
  line-height: 1.7;
}

.gift-actions {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px auto 0;
}

.gift-toggle {
  min-width: 0;
  color: #fff;
  background: var(--muted);
  border-color: var(--muted);
  box-shadow: 0 12px 22px rgba(24, 41, 32, 0.18);
}

.gift-toggle.is-active {
  background: var(--moss);
  border-color: var(--moss);
}

.gift-toggle.is-active:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.46);
  box-shadow: none;
}

.gift-toggle.is-active:active {
  background: rgba(0, 0, 0, 0.58);
}

.gift-panel {
  margin-top: 24px;
}

.bank-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(520px, 100%);
  margin: 0 0 18px;
  margin-inline: auto;
  text-align: left;
}

.bank-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 30px 26px 26px;
  color: #6f6f6f;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 231, 231, 0.86)),
    linear-gradient(32deg, transparent 0 28%, rgba(198, 198, 198, 0.22) 28% 33%, transparent 33% 100%),
    linear-gradient(150deg, transparent 0 44%, rgba(185, 185, 185, 0.2) 44% 50%, transparent 50% 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.bank-card::before,
.bank-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(190, 190, 190, 0.18);
  pointer-events: none;
}

.bank-card::after {
  inset: -42% auto auto -28%;
  width: 58%;
  background: rgba(255, 255, 255, 0.42);
}

.bank-brand {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0647ad;
  font-family: var(--sans);
}

.bank-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.bank-card-mandiri .bank-brand {
  top: 28px;
  right: 24px;
}

.bank-card-mandiri .bank-brand img {
  width: 96px;
  height: auto;
}

.bank-brand strong {
  font-size: clamp(20px, 5.2vw, 27px);
  line-height: 1;
  letter-spacing: 0;
}

.bank-card-mandiri .bank-brand {
  color: #111;
}

.bank-chip {
  width: 40px;
  height: 30px;
  margin-bottom: 24px;
  border: 1px solid rgba(114, 92, 34, 0.52);
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(114, 92, 34, 0.36) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(114, 92, 34, 0.3) 48% 52%, transparent 52%),
    #e5c76f;
}

.bank-number,
.bank-owner {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--sans);
}

.bank-number-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

.bank-number {
  flex: 0 1 auto;
  min-width: 0;
  color: #737373;
  font-size: clamp(16px, 4.35vw, 21px);
  line-height: 1.1;
  white-space: nowrap;
}

.bank-owner {
  margin-top: 8px;
  max-width: 100%;
  color: #777;
  font-size: clamp(11px, 3.05vw, 14px);
  line-height: 1.25;
  white-space: nowrap;
}

.bank-copy-btn {
  position: static;
  flex: 0 0 auto;
  z-index: 2;
  min-height: 22px;
  gap: 4px;
  padding: 0;
  color: #777;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 9px;
  font-weight: 700;
}

.bank-copy-btn svg {
  width: 10px;
  height: 10px;
}

.bank-copy-btn:hover,
.bank-copy-btn:focus-visible,
.bank-copy-btn:active {
  color: var(--muted);
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.registry-grid {
  display: flex;
  gap: 12px;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  background: #fff;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  text-align: left;
  touch-action: pan-x pan-y;
}

.registry-grid::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.registry-page {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(102px, auto));
  align-content: start;
  gap: 12px;
  background: #fff;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.registry-page-clone .registry-item {
  pointer-events: none;
}

.registry-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 102px;
  overflow: visible;
  padding: 10px 12px;
  border: 0;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 231, 231, 0.86)),
    linear-gradient(32deg, transparent 0 28%, rgba(198, 198, 198, 0.22) 28% 33%, transparent 33% 100%),
    linear-gradient(150deg, transparent 0 44%, rgba(185, 185, 185, 0.2) 44% 50%, transparent 50% 100%);
  box-shadow: none;
}

.registry-image-link {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(223, 232, 220, 0.52);
}

.registry-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.registry-copy {
  min-width: 0;
  padding: 0;
}

.registry-copy h3 {
  margin: 0 0 8px;
  color: #111;
  font-family: var(--serif);
  font-size: clamp(17px, 4.8vw, 22px);
  line-height: 1.2;
}

.registry-copy p,
.registry-copy span {
  display: block;
  margin: 0;
  color: #151515;
  font-size: clamp(16px, 4.6vw, 18px);
  line-height: 1.25;
}

.registry-link {
  display: inline-flex;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gift-address-card {
  width: 100%;
  max-width: 340px;
  margin: 18px auto 0;
  padding: 20px 22px 18px;
  color: #6f6f6f;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 231, 231, 0.86)),
    linear-gradient(32deg, transparent 0 28%, rgba(198, 198, 198, 0.22) 28% 33%, transparent 33% 100%),
    linear-gradient(150deg, transparent 0 44%, rgba(185, 185, 185, 0.2) 44% 50%, transparent 50% 100%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.gift-address-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.gift-address-heading svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.gift-address-heading h3 {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.1;
}

.gift-address-card address {
  display: block;
  margin: 14px 0 16px;
  color: #777;
  font-family: var(--sans);
  font-size: 11px;
  font-style: normal;
  line-height: 1.55;
  white-space: pre-line;
}

.gift-address-copy {
  min-height: 32px;
  padding: 6px 11px;
  color: #fff;
  border-color: var(--muted);
  background: var(--muted);
  font-size: 10px;
}

.gift-address-copy svg {
  width: 13px;
  height: 13px;
}

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

.gift-confirm-card {
  width: 100%;
  max-width: 340px;
  margin: 22px auto 0;
  padding: 24px clamp(18px, 5vw, 26px) 24px;
  display: grid;
  gap: 12px;
  overflow: visible;
  text-align: left;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
}

.gift-confirm-card h3 {
  margin: 0 0 6px;
  color: #6f6f6f;
  font-family: var(--serif);
  font-size: clamp(15px, 3.8vw, 20px);
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
}

.gift-confirm-card input:not([type="hidden"]),
.gift-confirm-card select {
  width: 100%;
  min-height: 38px;
  padding: 0 4px;
  color: #111;
  border: 0;
  border-bottom: 1px solid #777;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
}

.gift-confirm-card input::placeholder {
  color: rgba(105, 105, 105, 0.44);
}

.gift-select {
  position: relative;
  z-index: 4;
}

.gift-select.is-open {
  margin-bottom: 90px;
}

.gift-select-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 4px;
  color: #313d35;
  border: 0;
  border-bottom: 1px solid #777;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.gift-select-trigger:focus {
  outline: none;
}

.gift-select-trigger:focus-visible {
  border-bottom-color: var(--muted);
  box-shadow: 0 3px 0 -1px rgba(71, 102, 84, 0.42);
}

.gift-select-trigger svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.gift-select.is-open .gift-select-trigger svg {
  transform: rotate(180deg);
}

.gift-select-menu {
  position: absolute;
  left: -6px;
  right: -6px;
  top: calc(100% + 8px);
  z-index: 20;
  display: grid;
  gap: 5px;
  padding: 7px;
  border: 1px solid rgba(71, 102, 84, 0.22);
  border-radius: 16px;
  background: rgba(246, 247, 242, 0.98);
  box-shadow: 0 16px 34px rgba(24, 41, 32, 0.18);
  backdrop-filter: blur(10px);
}

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

.gift-select-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 8px 10px;
  color: var(--ink);
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.gift-select-menu button:hover,
.gift-select-menu button[aria-selected="true"] {
  color: #fff;
  background: var(--muted);
}

.gift-select-menu strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.gift-confirm-card .btn {
  justify-self: end;
  min-width: 132px;
  min-height: 34px;
  max-width: 100%;
  padding: 7px 12px;
  color: #fff;
  border-color: rgba(97, 97, 97, 0.9);
  background: rgba(97, 97, 97, 0.95);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.gift-confirm-card .btn svg {
  width: 14px;
  height: 14px;
}

.wa-dialog {
  width: min(318px, calc(100vw - 42px));
  border: 0;
  padding: 0;
  background: transparent;
}

.wa-dialog::backdrop {
  background: rgba(18, 35, 26, 0.52);
  backdrop-filter: blur(4px);
}

.wa-dialog-card {
  position: relative;
  padding: 24px 22px 22px;
  color: var(--ink);
  border: 1px solid rgba(71, 102, 84, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("/assets/images/880-kul-11.webp") top left / 160px auto repeat;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.wa-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  cursor: pointer;
}

.wa-dialog-close svg {
  width: 16px;
  height: 16px;
}

.wa-dialog-card h4 {
  margin: 0 34px 4px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}

.wa-dialog-card p {
  margin: 0 0 14px;
  color: rgba(36, 51, 43, 0.68);
  font-family: var(--sans);
  font-size: 12px;
}

.wa-choice-list {
  display: grid;
  gap: 9px;
}

.wa-choice-list button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid rgba(71, 102, 84, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  font-family: var(--sans);
  font-size: 13px;
  cursor: pointer;
}

.wa-choice-list button:hover {
  color: #fff;
  border-color: var(--muted);
  background: var(--muted);
}

.wa-choice-list strong {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.closing {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 80px 25px 120px;
  text-align: center;
  background:
    linear-gradient(rgba(8, 24, 16, 0.62), rgba(8, 24, 16, 0.62)),
    url("/assets/images/3.webp") center / cover no-repeat;
}

.closing-copy {
  display: grid;
  gap: 8px;
}

.closing h2 {
  font-size: clamp(48px, 13vw, 80px);
}

.closing span,
.closing strong {
  font-family: var(--sans);
  font-size: 12px;
}

.float-actions {
  position: fixed;
  left: 12px;
  bottom: 105px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-actions button,
.bottom-nav a,
.lightbox button {
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.float-actions button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.float-actions button:hover,
.bottom-nav a:hover,
.lightbox button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.46);
  box-shadow: none;
}

.float-actions button:active,
.bottom-nav a:active,
.lightbox button:active {
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
}

.float-actions button.is-muted {
  opacity: 0.45;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 55;
  width: min(420px, 90vw);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 18px 18px max(12px, env(safe-area-inset-bottom));
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
}

body.is-nhp-version .gift-section,
body.is-nhp-version .bottom-nav a[href="#gift"] {
  display: none;
}

body.is-nhp-version .bottom-nav {
  grid-template-columns: repeat(5, 1fr);
}

.bottom-nav a {
  min-height: 34px;
  color: var(--ink);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
}

.lightbox {
  width: min(900px, calc(100vw - 32px));
  border: 0;
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  max-height: 86vh;
  margin: auto;
  border-radius: 14px;
  object-fit: contain;
}

.lightbox button {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
}

.reveal {
  --reveal-y: 28px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
  --reveal-rotate-y: 0deg;
  --reveal-duration: 1940ms;
  --reveal-ease: cubic-bezier(0.18, 0.82, 0.22, 1);
  opacity: 0;
  transform:
    translate3d(0, var(--reveal-y), 0)
    scale(var(--reveal-scale))
    rotateX(var(--reveal-rotate-x))
    rotateY(var(--reveal-rotate-y));
  transform-origin: center;
  transition:
    opacity var(--reveal-duration) ease,
    transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
  --reveal-rotate-y: 0deg;
  opacity: 1;
}

.hero-content.reveal,
.paper-card.reveal,
.countdown-card.reveal,
.gift-card.reveal {
  --reveal-y: 34px;
  --reveal-scale: 0.97;
}

.reveal-fade {
  --reveal-y: 0px;
  --reveal-scale: 1;
}

.reveal-slide-up {
  --reveal-y: 38px;
  --reveal-scale: 0.99;
}

.reveal-slide-down {
  --reveal-y: -32px;
  --reveal-scale: 0.99;
}

.reveal-zoom {
  --reveal-y: 10px;
  --reveal-scale: 0.92;
}

.reveal-flip-left {
  --reveal-y: 26px;
  --reveal-scale: 0.97;
  --reveal-rotate-y: -16deg;
}

.reveal-flip-right {
  --reveal-y: 26px;
  --reveal-scale: 0.97;
  --reveal-rotate-y: 16deg;
}

.section-heading.reveal,
.gallery-quote.reveal,
.closing-copy.reveal {
  --reveal-y: 20px;
}

.schedule-card.reveal,
.phone-dress-code.reveal {
  --reveal-y: -24px;
  --reveal-scale: 0.98;
}

.venue-card.reveal,
.wish-form.reveal,
.wish-list-wrap.reveal {
  --reveal-y: 22px;
  --reveal-scale: 0.98;
  --reveal-rotate-x: 8deg;
}

.couple-card.reveal,
.timeline-card.reveal {
  --reveal-y: 30px;
  --reveal-scale: 0.96;
}

.gallery-item.reveal {
  --reveal-y: 18px;
  --reveal-scale: 0.96;
  --reveal-rotate-y: 12deg;
  backface-visibility: hidden;
  transition-duration: var(--reveal-duration);
}

.ampersand.reveal {
  --reveal-y: -18px;
  --reveal-scale: 0.9;
  transform:
    translate(-50%, calc(-50% + var(--reveal-y)))
    scale(var(--reveal-scale))
    rotateY(var(--reveal-rotate-y));
}

.reveal.is-visible {
  --reveal-y: 0px;
  --reveal-scale: 1;
  --reveal-rotate-x: 0deg;
  --reveal-rotate-y: 0deg;
  opacity: 1;
}

.reveal :is(
  h1,
  h2,
  h3,
  p,
  strong,
  span,
  time,
  small,
  em,
  a,
  button,
  label,
  input,
  textarea,
  select,
  .quote,
  .arabic-quote,
  .bismillah-arabic,
  .salam-text,
  .date-mark,
  .schedule-date-card,
  .location-actions,
  .countdown div,
  .dress-code-swatches,
  .gift-panel,
  .bank-detail
) {
  --text-x: 0px;
  --text-y: 16px;
  --text-scale: 0.99;
  --text-delay: 240ms;
  opacity: 0;
  transform:
    translate3d(var(--text-x), var(--text-y), 0)
    scale(var(--text-scale));
  transition:
    opacity 2200ms ease,
    transform 2200ms cubic-bezier(0.18, 0.82, 0.22, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--text-delay));
  will-change: opacity, transform;
}

.reveal.is-visible :is(
  h1,
  h2,
  h3,
  p,
  strong,
  span,
  time,
  small,
  em,
  a,
  button,
  label,
  input,
  textarea,
  select,
  .quote,
  .arabic-quote,
  .bismillah-arabic,
  .salam-text,
  .date-mark,
  .schedule-date-card,
  .location-actions,
  .countdown div,
  .dress-code-swatches,
  .gift-panel,
  .bank-detail
) {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.reveal :is(h1, h2, h3, .arabic-quote, .bismillah-arabic) {
  --text-y: -14px;
  --text-scale: 0.96;
}

.reveal :is(.eyebrow, time, small, em) {
  --text-y: -10px;
  --text-delay: 120ms;
}

.reveal :is(p, .quote, .salam-text) {
  --text-y: 20px;
  --text-delay: 360ms;
}

.reveal :is(a, button, .location-actions) {
  --text-y: 12px;
  --text-scale: 0.94;
  --text-delay: 520ms;
}

.reveal :is(.countdown div, .schedule-date-card) {
  --text-y: 0px;
  --text-scale: 0.9;
  --text-delay: 430ms;
}

.reveal :is(h1, h2, h3, p, strong, span, time, small, em, a, button):nth-child(2) {
  --text-delay: 320ms;
}

.reveal :is(h1, h2, h3, p, strong, span, time, small, em, a, button):nth-child(3) {
  --text-delay: 450ms;
}

.reveal :is(h1, h2, h3, p, strong, span, time, small, em, a, button):nth-child(4) {
  --text-delay: 580ms;
}

.reveal :is(h1, h2, h3, p, strong, span, time, small, em, a, button):nth-child(n + 5) {
  --text-delay: 700ms;
}

.phone-dress-code.reveal,
.wishes-section .reveal {
  --reveal-duration: 1750ms;
}

.phone-dress-code.reveal :is(
  h1,
  h2,
  h3,
  p,
  strong,
  span,
  time,
  small,
  em,
  a,
  button,
  label,
  input,
  textarea,
  select,
  .quote,
  .arabic-quote,
  .bismillah-arabic,
  .salam-text,
  .date-mark,
  .schedule-date-card,
  .location-actions,
  .countdown div,
  .dress-code-swatches,
  .gift-panel,
  .bank-detail
),
.wishes-section .reveal :is(
  h1,
  h2,
  h3,
  p,
  strong,
  span,
  time,
  small,
  em,
  a,
  button,
  label,
  input,
  textarea,
  select,
  .quote,
  .arabic-quote,
  .bismillah-arabic,
  .salam-text,
  .date-mark,
  .schedule-date-card,
  .location-actions,
  .countdown div,
  .dress-code-swatches,
  .gift-panel,
  .bank-detail
) {
  transition-duration: 1980ms;
}

.prayer-card.is-visible .prayer-photo,
.couple-card.is-visible > img,
.venue-card.is-visible > img,
.timeline-card.is-visible img,
.gallery-item.is-visible img {
  animation: softZoom 14.5s ease-in-out infinite alternate;
}

@keyframes softZoom {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes rumFlowerTop {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-2px, -5px, 0) scale(1.04) rotate(-1.5deg); }
}

@keyframes rumFlowerBottom {
  0%, 100% { transform: scaleX(-1) translate3d(0, 0, 0) scale(1); }
  50% { transform: scaleX(-1) translate3d(2px, -5px, 0) scale(1.04) rotate(1.5deg); }
}

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

  .timeline.is-auto-sliding .timeline-track {
    animation: none;
    transform: none;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

.prayer-card.is-visible .prayer-photo-frame::before,
.prayer-card.is-visible .prayer-photo-frame::after,
.prayer-card.is-visible .prayer-photo,
.couple-card.is-visible > img,
.venue-card.is-visible > img,
.timeline-card.is-visible img,
.gallery-item.is-visible img {
  animation: none;
}

  .reveal :is(
    h1,
    h2,
    h3,
    p,
    strong,
    span,
    time,
    small,
    em,
    a,
    button,
    label,
    input,
    textarea,
    select,
    .quote,
    .arabic-quote,
    .bismillah-arabic,
    .salam-text,
    .date-mark,
    .schedule-date-card,
    .location-actions,
    .countdown div,
    .dress-code-swatches,
    .gift-panel,
    .bank-detail
  ) {
    opacity: 1;
    transform: none;
    transition: none;
  }

}

@media (min-width: 451px) and (hover: hover) and (pointer: fine) {
  body {
    background: var(--dark);
  }

  main {
    position: relative;
    z-index: 2;
    margin-left: auto;
    width: 450px;
    max-width: 450px;
    min-height: 100dvh;
    background: transparent;
    border-left: 1px solid rgba(246, 247, 242, 0.24);
    box-shadow: -12px 0 42px rgba(0, 0, 0, 0.2);
  }

  .site-bg {
    z-index: 0;
    left: auto;
    right: 0;
    width: 450px;
  }

  .bg-slide {
    left: auto;
    right: 0;
    width: 450px;
  }

  .opening {
    left: auto;
    right: 0;
    width: 450px;
  }

  .desktop-showcase {
    position: fixed;
    inset: 0 450px 0 0;
    z-index: 1;
    display: grid;
    place-items: end center;
    overflow: hidden;
    min-width: 0;
    color: #fff;
    background: var(--dark);
  }

  .desktop-slides {
    position: absolute;
    inset: 0;
  }

  .desktop-showcase-copy {
    position: relative;
    z-index: 1;
    width: min(760px, 74%);
    text-align: center;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
    margin-bottom: clamp(26px, 4vh, 44px);
  }

  .desktop-showcase-copy p {
    margin: 0 0 14px;
    font-family: var(--sans);
    font-size: clamp(15px, 1.4vw, 21px);
    font-weight: 700;
    text-transform: uppercase;
  }

  .desktop-showcase-copy h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(48px, 5.2vw, 92px);
    font-weight: 400;
    line-height: 0.9;
  }

  .desktop-showcase-copy span {
    display: block;
    margin-top: 28px;
    font-family: var(--sans);
    font-size: clamp(18px, 1.8vw, 30px);
    font-weight: 700;
  }

  .bottom-nav {
    left: auto;
    right: 22px;
    transform: none;
    width: min(420px, calc(450px - 44px));
  }

  .opening h1,
  .hero-content h2,
  .closing h2 {
    font-size: 64px;
  }

  .opening h1 {
    margin-top: 6px;
    font-size: 39px;
    line-height: 1;
  }

  .opening .eyebrow {
    font-size: 16px;
  }

  .opening-photo {
    margin-bottom: 16px;
  }

  .guest-box {
    margin: 16px auto 14px;
    font-size: 12px;
    line-height: 1.24;
  }

  .guest-box strong {
    margin: 5px 0 8px;
    font-size: 20px;
  }

  .hero-content {
    width: min(100%, 410px);
  }

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

  .couple-card > span {
    margin-top: -42px;
    font-size: 26px;
  }

  .couple-card h3 {
    margin-top: 36px;
    margin-bottom: 3px;
    font-size: 20px;
  }

  .couple-card p {
    font-size: 12px;
  }

  .ampersand {
    font-size: 23px;
  }

  .paper-section,
  .story-section,
  .gallery-section,
  .gift-section {
    padding-top: 60px;
  }

  .paper-section,
  .story-section {
    background-size: auto, 380px auto;
    background-position: top left, top left;
  }

  .paper-card,
  .gift-card {
    border-radius: 28px;
  }

  .event-section {
    padding-top: 88px;
  }

  .countdown-card {
    min-height: 520px;
    padding: 70px 24px;
    border-radius: 260px 260px 72px 72px;
  }

  .venue-card img {
    height: 360px;
  }

  .schedule-card {
    padding: 60px 24px;
  }

  .timeline,
  .wish-layout,
  .bank-grid,
  .gift-actions {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 8px;
  }

  .gallery-row {
    gap: 8px;
  }

  .wish-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wish-stats span {
    font-size: 10px;
    padding: 11px 5px;
  }
}

@media (max-width: 767px) {
  .paper-section,
  .story-section,
  .gallery-section,
  .gift-section {
    padding-top: 58px;
  }

  .paper-section,
  .story-section {
    background-size: auto, min(380px, 98vw) auto;
    background-position: top left, top left;
  }

  .paper-card,
  .gift-card {
    border-radius: 28px;
  }

  .couple-grid {
    --couple-gap: clamp(42px, 12vw, 58px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: var(--couple-gap);
  }

  .ampersand {
    font-size: 23px;
  }

  .couple-card h3 {
    margin-top: 36px;
    margin-bottom: 3px;
  }

  .couple-card p {
    font-size: 12px;
  }

  .event-section {
    padding-top: 88px;
  }

  .countdown-card {
    min-height: 520px;
    padding: 70px 24px;
    border-radius: 260px 260px 72px 72px;
  }

  .venue-card img {
    height: 360px;
  }

  .schedule-card {
    padding: 60px 24px;
  }

  .wish-layout,
  .bank-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 8px;
  }

  .gallery-row {
    gap: 8px;
  }

  .wish-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wish-stats span {
    font-size: 10px;
    padding: 11px 5px;
  }
}

@media (max-width: 450px) {
  .phone-frame {
    width: min(250px, 68vw);
    aspect-ratio: 2 / 3;
  }

  .phone-shell {
    display: none;
  }

  .phone-screen-layer {
    inset: 0;
    width: 100%;
    height: 100%;
    border: 5px solid rgba(255, 255, 255, 0.76);
    border-radius: 180px 180px 48px 48px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  }

  .phone-frame-copy {
    bottom: 20px;
  }
}

@media (max-width: 430px) {
  .gallery-video-top {
    width: calc(100% - 32px);
  }

  .gallery-grid {
    width: calc(100% - 32px);
    gap: 7px;
  }

  .gallery-row {
    gap: 7px;
  }

  .registry-item {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
    gap: 12px;
  }

  .registry-image-link {
    width: 76px;
    height: 76px;
  }

  .opening h1,
  .hero-content h2,
  .closing h2 {
    font-size: 52px;
  }

  .opening h1 {
    font-size: 36px;
  }

  .date-mark {
    letter-spacing: 0;
  }
}

@media (max-width: 380px) {
  .paper-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .couple-grid {
    --couple-gap: 20px;
  }

  .couple-card h3 {
    font-size: 13px;
    line-height: 1.22;
  }

  .couple-card p {
    font-size: 11px;
    line-height: 1.32;
  }

  .couple-parent-line {
    margin-top: 0;
    font-size: 9.75px;
    line-height: 1.16;
  }

  .ampersand {
    font-size: 21px;
  }
}
