:root {
  --cream: #f2f1ee;        /* Putih Susu */
  --parchment: #d3d1c7;   /* Abu Muda */
  --warm-bg: #e8e7e3;     /* Putih Kusam */
  --gold: #5f5e5a;        /* Abu Tua — accent */
  --gold-light: #b4b2a9;  /* Abu Netral */
  --brown: #888780;       /* Abu Sedang */
  --dark-brown: #444441;  /* Abu Gelap */
  --sepia-dark: #1e1e1c;  /* Arang — dark sections */
  --text-body: #2e2d2b;   /* near-black charcoal */
  --text-muted: #888780;  /* Abu Sedang */
  --white: #f8f8f6;       /* Putih Gading */
  --accent: #444441;      /* Abu Gelap */
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  background: var(--warm-bg);
  color: var(--text-body);
  font-family: "Lora", Georgia, serif;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  opacity: 0.035;
  pointer-events: none;
  z-index: 9999;
}


/* ================================================
 HERO
    ================================================ */
.hero {
  height: 100vh;
  min-height: 620px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://res.cloudinary.com/dyoktutj5/image/upload/v1778656727/IMG-20260509-WA0018_pniuqx.jpg");
  background-size: cover;
  background-position: center 30%;
  filter: grayscale(70%) brightness(0.4) contrast(1.1);
  transform: scale(1.06);
  transition: transform 7s ease;
}
.hero-bg.loaded {
  transform: scale(1);
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 18, 0.6) 0%,
    rgba(20, 20, 18, 0.2) 50%,
    rgba(20, 20, 18, 0.88) 100%
  );
}
/* Side edge darkening — no circle, no radial bloom */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(20, 20, 18, 0.45) 0%,
    transparent 30%,
    transparent 70%,
    rgba(20, 20, 18, 0.45) 100%
  );
}
.hero-texture {
  display: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(95, 94, 90, 0.6);
  background: rgba(95, 94, 90, 0.15);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 22px;
  font-family: "Lora", serif;
  opacity: 0;
  animation: fade-up 0.9s ease 0.2s forwards;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.hero-khat {
  font-family: "Dancing Script", cursive;
  font-size: clamp(30px, 4.5vw, 40px);
  color: var(--gold-light);
  opacity: 0;
  animation: fade-up 0.9s ease 0.45s forwards;
  margin-bottom: 6px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero-title {
  font-family: "Abhaya Libre", serif;
  font-size: clamp(54px, 10vw, 100px);
  font-weight: 800;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: -1px;
  opacity: 0;
  animation: fade-up 0.9s ease 0.65s forwards;
  margin-bottom: 14px;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.7),
    0 4px 48px rgba(0, 0, 0, 0.5);
}
.hero-tagline {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: clamp(17px, 2.5vw, 21px);
  color: rgba(255, 253, 248, 0.92);
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up 0.9s ease 0.85s forwards;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
  animation: fade-up 0.9s ease 1s forwards;
  font-family: "Lora", serif;
  font-size: 16px;
  letter-spacing: 0.5px;
  color: rgba(255, 253, 248, 0.75);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
.hero-meta-item {
  padding: 0 14px;
}
.hero-meta-sep {
  color: rgba(95, 94, 90, 0.6);
  font-size: 14px;
  font-style: normal;
}
.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.9s ease 1.15s forwards;
}
.btn-gold {
  background: var(--dark-brown);
  color: var(--white);
  border: none;
  font-family: "Abhaya Libre", serif;
  font-size: 20px;
  font-weight: 700;
  padding: 17px 36px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(42, 42, 40, 0.3);
}
.btn-ghost-light {
  background: transparent;
  color: rgba(255, 253, 248, 0.9);
  border: 1.5px solid rgba(255, 253, 248, 0.35);
  font-family: "Abhaya Libre", serif;
  font-size: 20px;
  padding: 17px 36px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-ghost-light:hover {
  border-color: rgba(255, 253, 248, 0.8);
  background: rgba(255, 253, 248, 0.08);
  transform: translateY(-2px);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 253, 248, 0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fade-up 1s ease 1.6s both;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(95, 94, 90, 0.6),
    transparent
  );
  animation: scroll-pulse 2s ease infinite;
}
@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ================================================
 SHARED SECTION STYLES
    ================================================ */
.section {
  padding: 88px 24px;
}

.section-inner {
  max-width: 840px;
  margin: 0 auto;
}

.s-khat {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.s-title {
  font-family: "Abhaya Libre", serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  color: var(--dark-brown);
  line-height: 1.15;
  margin-bottom: 16px;
}
.s-rule {
  width: 44px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 36px;
  border-radius: 2px;
}
.s-rule.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Dark section variant */
.s-khat-light {
  color: var(--gold-light);
}
.s-title-light {
  color: var(--white);
}
.s-rule-light {
  background: linear-gradient(90deg, var(--gold-light), transparent);
}

/* CSS reveal — driven by IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1.in {
  transition-delay: 0.1s;
}
.reveal-delay-2.in {
  transition-delay: 0.2s;
}
.reveal-delay-3.in {
  transition-delay: 0.3s;
}
.reveal-delay-4.in {
  transition-delay: 0.4s;
}

/* ================================================
 COUNTDOWN
    ================================================ */
.countdown-section {
  background: #1a1a18;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(95, 94, 90, 0.18);
  border-bottom: 1px solid rgba(95, 94, 90, 0.18);
}
/* Subtle diagonal line texture — no photo, no clash */
.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(95, 94, 90, 0.025) 40px,
    rgba(95, 94, 90, 0.025) 41px
  );
  pointer-events: none;
}
/* Horizontal gold accent lines top & bottom — no circle */
.countdown-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(95, 94, 90, 0.3),
    transparent
  );
  pointer-events: none;
}
.countdown-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 540px;
  margin: 0 auto;
}
.cd-box {
  background: rgba(220, 218, 212, 0.07);
  border: 1px solid rgba(95, 94, 90, 0.3);
  border-radius: 6px;
  padding: 22px 10px 18px;
  position: relative;
  overflow: hidden;
}
.cd-box::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}
.cd-num {
  font-family: "Abhaya Libre", serif;
  font-size: clamp(38px, 7vw, 60px);
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  letter-spacing: -1px;
}
.cd-label {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(220, 218, 212, 0.55);
  margin-top: 10px;
  display: block;
}
.cd-tagline {
  font-family: "Lora", serif;
  font-style: italic;
  color: rgba(220, 218, 212, 0.65);
  font-size: 17px;
  margin-top: 28px;
}

/* ================================================
 INFO ACARA — Editorial Band
    ================================================ */
.info-section {
  background: var(--warm-bg);
}
.info-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 8px;
  border-top: 1px solid rgba(95, 94, 90, 0.22);
  border-bottom: 1px solid rgba(95, 94, 90, 0.22);
}
.info-item {
  padding: 40px 28px 40px 0;
  border-right: 1px solid rgba(95, 94, 90, 0.15);
  position: relative;
  transition: background 0.3s ease;
}
.info-item:last-child {
  border-right: none;
  padding-right: 0;
}
.info-item:first-child {
  padding-left: 0;
}
.info-item:not(:first-child) {
  padding-left: 28px;
}
.info-item:hover {
  background: rgba(95, 94, 90, 0.02);
}
.info-num {
  font-family: "Abhaya Libre", serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.info-num::after {
  content: "";
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  margin-top: 8px;
}
.info-tag {
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}
.info-val {
  font-family: "Abhaya Libre", serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.25;
  margin-bottom: 12px;
}
.info-sub {
  font-size: 20px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}
/* Hide old card classes if any remnant */
.info-grid {
  display: none;
}
.info-card,
.info-ico,
.info-marker {
  display: none;
}

/* ================================================
 GALLERY
    ================================================ */
.gallery-section {
  background: var(--cream);
  padding: 88px 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 10px;
}
.g-item {
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.g-item:first-child {
  grid-row: span 2;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.9) contrast(1.05);
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
  display: block;
}
.g-item:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.04);
}
.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(42, 42, 40, 0.5) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.g-item:hover::after {
  opacity: 1;
}

/* ================================================
 PETI WASIAT
    ================================================ */
.peti-section {
  background: var(--sepia-dark);
  position: relative;
  overflow: hidden;
}
.peti-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(95, 94, 90, 0.03) 40px,
    rgba(95, 94, 90, 0.03) 41px
  );
}
.peti-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(42, 42, 40, 0.3) 0%,
    rgba(42, 42, 40, 0.7) 100%
  );
}
.peti-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.peti-box {
  background: rgba(220, 218, 212, 0.05);
  border: 1px solid rgba(95, 94, 90, 0.35);
  border-radius: 6px;
  padding: 40px 36px;
  margin-top: 8px;
}
.peti-ico {
  display: none;
}
.peti-desc {
  font-style: italic;
  color: rgba(220, 218, 212, 0.85);
  font-size: 18px;
  line-height: 2;
  margin-bottom: 32px;
}
.peti-steps {
  list-style: none;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 28px;
}
.peti-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(220, 218, 212, 0.85);
  font-size: 17px;
  line-height: 1.8;
}
.step-num {
  background: var(--dark-brown);
  color: var(--white);
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}
.peti-quote {
  color: var(--gold-light);
  font-style: italic;
  font-size: 19px;
  font-family: "Lora", serif;
}

/* ================================================
 LOKASI
    ================================================ */
.location-section {
  background: var(--warm-bg);
}
.map-wrap {
  width: 100%;
  height: 320px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(95, 94, 90, 0.25);
  margin-top: 24px;
  filter: grayscale(15%) contrast(1.05);
  box-shadow: 0 8px 32px rgba(42, 42, 40, 0.1);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-cta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-brown);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-family: "Abhaya Libre", serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-dark:hover {
  background: var(--sepia-dark);
  transform: translateY(-2px);
}

/* ================================================
 FORM KEHADIRAN
    ================================================ */
.form-section {
  background: var(--cream);
}
.form-card {
  background: var(--white);
  border: 1px solid rgba(95, 94, 90, 0.2);
  border-radius: 6px;
  padding: 44px 40px;
  box-shadow: 0 8px 40px rgba(42, 42, 40, 0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: "Abhaya Libre", serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 9px;
  letter-spacing: 0.3px;
}
.form-label .opt {
  font-family: "Lora", serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
}
.form-input,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(136, 135, 128, 0.2);
  border-radius: 4px;
  background: var(--warm-bg);
  color: var(--dark-brown);
  font-family: "Lora", serif;
  font-size: 17px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(95, 94, 90, 0.1);
}
.form-input::placeholder {
  color: var(--text-muted);
  opacity: 0.55;
}

/* ── Portrait Photo Upload ─────────────────── */
.photo-upload-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.photo-zone {
  position: relative;
  border: 2px dashed rgba(136, 135, 128, 0.3);
  border-radius: 8px;
  background: var(--warm-bg);
  width: 220px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background 0.25s;
  overflow: hidden;
}
.photo-zone:hover {
  border-color: var(--gold);
  background: rgba(95, 94, 90, 0.04);
}
.photo-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}
.photo-zone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  pointer-events: none;
}
.photo-zone-placeholder svg {
  opacity: 0.35;
}
.photo-zone-text {
  font-size: 16px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.photo-zone-sub {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
}
#photoPreview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.photo-change {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(42, 42, 40, 0.72);
  color: var(--gold-light);
  font-size: 15px;
  text-align: center;
  padding: 8px;
  display: none;
  z-index: 2;
  font-family: "Lora", serif;
  cursor: pointer;
}
.photo-upload-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.photo-info-title {
  font-family: "Abhaya Libre", serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-brown);
}
.photo-info-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}
.photo-info-spec {
  font-size: 14px;
  color: var(--text-muted);
  opacity: 0.65;
  letter-spacing: 0.3px;
}

/* ── Form Status ─────────────────────────────── */
.form-status-box {
  display: none;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-family: "Lora", serif;
  font-size: 17px;
}
.form-status-box.info {
  background: var(--dark-brown);
  border: 1px solid rgba(95, 94, 90, 0.3);
  color: var(--gold-light);
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.form-status-box.info::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(95, 94, 90, 0.35);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.form-status-box.error {
  background: rgba(120, 20, 20, 0.07);
  border: 1px solid rgba(180, 30, 30, 0.25);
  color: #7a1a1a;
  display: block !important;
}
.form-status-box.warning {
  background: rgba(95, 94, 90, 0.08);
  border: 1px solid rgba(95, 94, 90, 0.3);
  color: var(--brown);
  display: block !important;
}

/* ── Attendees Swiper Section ─────────────────── */
.attendees-section {
  background: var(--cream);
}
.attendees-swiper {
  width: 100%;
  padding: 8px 4px 40px !important;
  overflow: hidden;
}
.attendee-slide {
  width: 180px !important;
  flex-shrink: 0;
}
.attendee-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(95, 94, 90, 0.2);
  box-shadow: 0 4px 20px rgba(42, 42, 40, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.attendee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(42, 42, 40, 0.14);
}
.attendee-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--parchment);
  position: relative;
}
.attendee-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(10%) brightness(0.98);
  transition: filter 0.4s ease;
  display: block;
}
.attendee-card:hover .attendee-photo {
  filter: sepia(0%) brightness(1);
}
.attendee-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--parchment), var(--cream));
  font-family: "Abhaya Libre", serif;
  font-size: 40px;
  font-weight: 800;
  color: rgba(136, 135, 128, 0.35);
}
.attendee-info {
  padding: 12px 12px 14px;
  text-align: center;
}
.attendee-name {
  font-family: "Abhaya Libre", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-brown);
  line-height: 1.3;
}
.attendee-kelas {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}
.swiper-pagination-bullet {
  background: var(--parchment) !important;
  border: 1px solid var(--gold) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
}
.attendees-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
  font-style: italic;
  font-size: 18px;
}

.btn-submit-wa {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--dark-brown),
    var(--sepia-dark)
  );
  color: var(--white);
  border: none;
  font-family: "Abhaya Libre", serif;
  font-size: 22px;
  font-weight: 700;
  padding: 22px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  margin-top: 28px;
  letter-spacing: 0.5px;
}
.btn-submit-wa:hover {
  background: linear-gradient(135deg, var(--sepia-dark), #111110);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42, 42, 40, 0.3);
}
.form-footnote {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 14px;
  font-style: italic;
}

/* ================================================
 CONTACT PERSON
    ================================================ */
.contact-section {
  background: var(--warm-bg);
}
.contact-card {
  background: var(--white);
  border: 1px solid rgba(95, 94, 90, 0.2);
  border-radius: 6px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 36px rgba(42, 42, 40, 0.06);
}
.contact-avatar-wrap {
  flex-shrink: 0;
  position: relative;
}
.contact-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(15%) brightness(0.97);
  border: 3px solid var(--gold);
  display: block;
}
.contact-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  background: #25d366;
  border-radius: 50%;
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.contact-name {
  font-family: "Abhaya Libre", serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--dark-brown);
  margin-bottom: 5px;
}
.contact-role {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: white;
  padding: 13px 24px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  font-family: "Lora", serif;
}
.btn-wa:hover {
  background: #1da851;
  transform: translateY(-1px);
}

/* ================================================
 FOOTER
    ================================================ */
footer {
  background: var(--sepia-dark);
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
}
/* footer::after removed — no texture circles */
.footer-inner {
  position: relative;
  z-index: 2;
}
.footer-khat {
  font-family: "Dancing Script", cursive;
  font-size: 44px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.footer-label {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(220, 218, 212, 0.45);
  margin-bottom: 28px;
}
.footer-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    transparent
  );
  margin: 0 auto 24px;
}
.footer-quote {
  font-style: italic;
  color: rgba(220, 218, 212, 0.65);
  font-size: 18px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 2;
}
.footer-copy {
  margin-top: 32px;
  font-size: 14px;
  color: rgba(220, 218, 212, 0.3);
  letter-spacing: 1px;
}

/* ================================================
 SURAT DIGITAL — Section by Section (aged-paper theme)
    ================================================ */
.surat-section {
  background: #5F5E5A;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(180, 130, 60, 0.22);
  border-bottom: 1px solid rgba(180, 130, 60, 0.22);
}
.surat-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(180, 130, 60, 0.03) 40px,
    rgba(180, 130, 60, 0.03) 41px
  );
  pointer-events: none;
}
/* Warm amber tint for surat header text */
.surat-section .s-khat-light {
  color: #c4956a;
}
.surat-section .s-rule-light {
  background: linear-gradient(90deg, #c4956a, transparent);
}
.surat-inline-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

/* Aged paper card */
.schap-block {
  background: linear-gradient(160deg, #faf5e4 0%, #ede8cc 100%);
  border-radius: 6px;
  border: 1px solid rgba(160, 120, 60, 0.42);
  box-shadow:
    0 8px 40px rgba(30, 15, 5, 0.55),
    inset 0 1px 0 rgba(255, 248, 220, 0.6);
  overflow: hidden;
  position: relative;
  text-align: left;
}
/* Paper grain texture overlay */
.schap-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.09;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.schap-head {
  position: relative;
  padding: 28px 36px 20px;
  border-bottom: 1px solid rgba(160, 120, 60, 0.22);
  background: linear-gradient(180deg, rgba(220, 180, 80, 0.06) 0%, transparent 100%);
}
.schap-tag {
  font-family: "Lora", serif;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8b6430;
  display: block;
  margin-bottom: 8px;
}
.schap-title {
  font-family: "Abhaya Libre", serif;
  font-size: 36px;
  font-weight: 800;
  color: #2e1a0e;
  line-height: 1.25;
  margin: 0;
}
.schap-body {
  position: relative;
  padding: 32px 36px;
  line-height: 2.1;
  font-size: 22px;
  color: #3d2b1f;
}
.schap-body p {
  margin-bottom: 20px;
}
.schap-body p:last-child {
  margin-bottom: 0;
}
.schap-body .khat {
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  color: #7a4e28;
  display: block;
  margin: 24px 0 6px;
  text-align: center;
}
.schap-body strong {
  color: #2e1a0e;
}
.schap-body em {
  color: #8b6430;
}
.schap-divider {
  text-align: center;
  color: rgba(180, 130, 60, 0.65);
  font-size: 18px;
  padding: 26px 0;
  letter-spacing: 4px;
}
.surat-closing {
  text-align: center;
  color: rgba(210, 175, 110, 0.85);
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  padding-top: 10px;
  letter-spacing: 0.5px;
}

/* ================================================
 SWEETALERT2 — Sepia Custom Theme
    ================================================ */
.swal2-popup.swal-sepia {
  background: var(--white) !important;
  border: 1px solid rgba(95, 94, 90, 0.25) !important;
  border-radius: 6px !important;
  font-family: "Lora", Georgia, serif !important;
  box-shadow: 0 32px 80px rgba(42, 42, 40, 0.3) !important;
}
.swal2-popup.swal-sepia::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 6px;
  pointer-events: none;
}
.swal2-popup.swal-sepia .swal2-title {
  font-family: "Abhaya Libre", serif !important;
  color: var(--dark-brown) !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  position: relative;
}
.swal2-popup.swal-sepia .swal2-html-container {
  color: var(--text-body) !important;
  font-size: 18px !important;
  line-height: 1.9 !important;
  position: relative;
}
.swal2-popup.swal-sepia .swal2-confirm.swal-btn-sepia {
  background: var(--dark-brown) !important;
  color: var(--white) !important;
  font-family: "Abhaya Libre", serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  padding: 14px 36px !important;
  border: 1px solid rgba(95, 94, 90, 0.4) !important;
  box-shadow: none !important;
}
.swal2-popup.swal-sepia .swal2-confirm.swal-btn-sepia:hover {
  background: var(--sepia-dark) !important;
}
.swal2-popup.swal-sepia .swal2-icon.swal2-success {
  border-color: var(--gold) !important;
  color: var(--gold) !important;
}
.swal2-popup.swal-sepia .swal2-success-ring {
  border-color: rgba(95, 94, 90, 0.3) !important;
}
.swal2-popup.swal-sepia [class^="swal2-success-line"] {
  background: var(--gold) !important;
}
.swal2-popup.swal-sepia .swal2-icon {
  position: relative;
}

/* ================================================
 RESPONSIVE
    ================================================ */
@media (max-width: 768px) {
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .info-band {
    grid-template-columns: 1fr 1fr;
  }
  .info-item {
    padding: 28px 16px 28px 0;
  }
  .info-item:not(:first-child) {
    padding-left: 16px;
  }
  .info-item:nth-child(even) {
    border-right: none;
  }
  .info-item:nth-child(3) {
    border-top: 1px solid rgba(95, 94, 90, 0.15);
  }
  .info-item:nth-child(4) {
    border-top: 1px solid rgba(95, 94, 90, 0.15);
  }
  .photo-upload-row {
    grid-template-columns: 160px 1fr;
    gap: 16px;
  }
  .photo-zone {
    width: 160px;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }
  .g-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
  .form-card {
    padding: 28px 22px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .peti-box {
    padding: 28px 20px;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 58px;
  }
  .s-title {
    font-size: 32px;
  }
  .schap-head {
    padding: 22px 24px 16px;
  }
  .schap-title {
    font-size: 28px;
  }
  .schap-body {
    padding: 22px 24px;
    font-size: 19px;
    line-height: 2.0;
  }
}
