/* =============================================================================
   LUMINA — tier Craft (acuan: prototypes/lumina-craft.html)
   Arah "soft film / Korean-minimal": album foto tipis — putih hangat, serif buku
   (Spectral), bingkai film tipis, surat pendek, banyak ruang napas. Universal
   & adaptif (wedding/corporate/family). BUKTI TIER CRAFT: TANPA canvas/gsap/lenis
   — hanya CSS + `Reveal` (IO). Semua kelas ter-scope `.lm`. Reveal state hanya
   aktif di bawah `.is-js` → tanpa JS konten terbaca; reduced-motion dinetralkan.
============================================================================= */

.lm {
  --lm-paper: #faf8f4;
  --lm-paper2: #f2eee6;
  --lm-ink: #2a2723;
  --lm-taupe: #9a7b58;
  --lm-taupe-ink: #7a5f40;
  --lm-muted: rgba(42, 39, 35, 0.67);
  --lm-line: rgba(42, 39, 35, 0.14);
  --lm-text: rgba(42, 39, 35, 0.85);
  --lm-serif: var(--lm-display), Georgia, serif;
  --lm-sans: var(--lm-body), system-ui, sans-serif;

  position: relative;
  background: #e9e5dc;
  color: var(--lm-ink);
  font-family: var(--lm-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.lm *,
.lm *::before,
.lm *::after {
  box-sizing: border-box;
}
.lm ::selection {
  background: var(--lm-taupe);
  color: #fff;
}

/* Stage — album tipis di tengah -------------------------------------------- */
.lm-stage {
  position: relative;
  max-width: 480px;
  min-height: 100svh;
  margin: 0 auto;
  background: var(--lm-paper);
  box-shadow: 0 0 90px rgba(42, 39, 35, 0.16);
}

/* Grain film --------------------------------------------------------------- */
.lm-grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal (Craft: CSS + IO) ------------------------------------------------- */
.lm .reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.lm.is-js .reveal {
  opacity: 0;
  transform: translateY(10px);
}
.lm.is-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .lm.is-js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

/* =============================================================== COVER ===== */
.lm-cover {
  display: none;
}
.lm.is-js .lm-cover {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  overflow: hidden;
  /* Foto latar (potret pasangan) — scrim RADIAL "pusat bersih": foto hanya
     mengintip di tepi/bingkai, tengah tempat teks nyaris polos; focal atas. */
  background-color: var(--lm-paper);
  background-image:
    radial-gradient(
      ellipse 90% 70% at 50% 50%,
      rgba(250, 248, 244, 0.95) 0%,
      rgba(250, 248, 244, 0.93) 52%,
      rgba(250, 248, 244, 0.6) 100%
    ),
    url("/demo/lumina/0.jpg");
  background-size: cover;
  background-position: center 15%;
  opacity: 1;
  transition: opacity 1s ease;
}
.lm.is-js.is-open .lm-cover {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .lm.is-js .lm-cover {
    transition: none;
  }
}

/* Orb cahaya + kilau bintang melayang — lapisan tipis fixed di atas sampul
   (z-65) dan tetap ada di seluruh undangan. Hanya transform/opacity;
   pointer-events none; reduced-motion → disembunyikan (juga digate motionOn
   di fx.tsx). Item luar menempuh naik, svg dalam mengambang/berkelip. */
.lm-drift {
  position: fixed;
  inset: 0;
  z-index: 65;
  pointer-events: none;
  overflow: hidden;
}
.lm-drift__item {
  position: absolute;
  top: 0;
  left: var(--x);
  opacity: var(--o);
  animation: lm-drift-rise var(--d) linear var(--dl) infinite;
  will-change: transform;
}
.lm-drift__item > svg {
  display: block;
  width: var(--s);
  height: auto;
  /* Pijar hangat supaya orb pucat terbaca di atas sampul kertas terang. */
  filter: drop-shadow(0 0 7px rgba(201, 168, 124, 0.55));
}
.lm-drift__item--float > svg {
  animation: lm-drift-float var(--sw) ease-in-out infinite alternate;
}
.lm-drift__item--twinkle > svg {
  animation: lm-drift-twinkle var(--sw) ease-in-out infinite alternate;
}
@keyframes lm-drift-rise {
  from {
    transform: translate3d(0, 108vh, 0);
  }
  to {
    transform: translate3d(0, -18vh, 0);
  }
}
@keyframes lm-drift-float {
  from {
    transform: translate3d(-7px, 6px, 0);
  }
  to {
    transform: translate3d(7px, -6px, 0);
  }
}
@keyframes lm-drift-twinkle {
  from {
    /* Lantai 0.5 (bukan 0.15): bintang tidak pernah nyaris hilang. */
    opacity: 0.5;
    transform: scale(0.75);
  }
  to {
    opacity: 1;
    transform: scale(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .lm-drift {
    display: none;
  }
}

.lm-cover__frame {
  position: absolute;
  inset: 16px;
  border: 1px solid var(--lm-line);
  pointer-events: none;
}
.lm-cover__frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(42, 39, 35, 0.08);
}

/* min-width:0 — tanpa itu item grid melebar mengikuti kata nama terpanjang,
   sehingga seluruh isi sampul bergeser keluar layar alih-alih namanya yang
   dikecilkan (cover.tsx, _shared/fit-names.ts). */
.lm-cover__inner {
  position: relative;
  text-align: center;
  padding: 28px;
  max-width: 400px;
  width: 100%;
  min-width: 0;
}
/* Entrance ringan (Craft, CSS) — hanya di bawah is-js, dinetralkan reduced-motion. */
.lm.is-js .lm-cover__inner > * {
  animation: lm-rise 0.95s both cubic-bezier(0.22, 1, 0.36, 1);
}
.lm.is-js .lm-cover__inner > *:nth-child(2) {
  animation-delay: 0.1s;
}
.lm.is-js .lm-cover__inner > *:nth-child(3) {
  animation-delay: 0.2s;
}
.lm.is-js .lm-cover__inner > *:nth-child(4) {
  animation-delay: 0.3s;
}
.lm.is-js .lm-cover__inner > *:nth-child(5) {
  animation-delay: 0.4s;
}
.lm.is-js .lm-cover__inner > *:nth-child(6) {
  animation-delay: 0.5s;
}
@keyframes lm-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lm.is-js .lm-cover__inner > * {
    animation: none;
  }
}

.lm-cover__date {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--lm-muted);
}
.lm-sprig {
  width: 54px;
  height: auto;
  margin: 26px auto 22px;
  display: block;
}
.lm-sprig path {
  fill: none;
  stroke: var(--lm-taupe);
  stroke-width: 1.1;
  stroke-linecap: round;
}
.lm-cover__names {
  font-family: var(--lm-serif);
  font-weight: 400;
  font-size: clamp(34px, 9.6vw, 44px);
  line-height: 1.5;
  color: var(--lm-ink);
}
/* stretch, bukan center: nama selebar wadahnya (teks tetap terpusat oleh
   text-align), jadi pengepas melihat kata yang meluap — span seketat teksnya
   selalu tampak "muat". */
.lm-cover__names--pair {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.lm-cover__name {
  display: block;
}
.lm-cover__amp {
  color: var(--lm-taupe);
  font-size: 22px;
  display: block;
  line-height: 1.2;
}
.lm-cover__sub {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--lm-muted);
  white-space: pre-line;
}
.lm-cover__guest {
  margin: 30px 0 32px;
  font-size: 12.5px;
  color: var(--lm-muted);
}
.lm-cover__guest b {
  display: block;
  font-family: var(--lm-serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--lm-ink);
  margin-top: 8px;
}
.lm-open {
  appearance: none;
  border: 1px solid var(--lm-ink);
  background: transparent;
  color: var(--lm-ink);
  font-family: var(--lm-sans);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.lm-open:hover {
  background: var(--lm-ink);
  color: var(--lm-paper);
}

/* Tombol musik mengambang -------------------------------------------------- */
.lm-music {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 55;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--lm-line);
  background: rgba(250, 248, 244, 0.94);
  color: var(--lm-ink);
  display: none;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(42, 39, 35, 0.12);
}
.lm.is-open .lm-music {
  display: grid;
}

/* =============================================================== LAYOUT ==== */
.lm-section {
  position: relative;
  padding: clamp(64px, 15vw, 92px) 30px;
  text-align: center;
}
.lm-section--tint {
  background: var(--lm-paper2);
  border-block: 1px solid var(--lm-line);
}
.lm-inner {
  max-width: 100%;
  margin: 0 auto;
}

.lm-eyebrow {
  font-family: var(--lm-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lm-taupe-ink);
  margin: 0 0 1rem;
}
.lm-eyebrow--center {
  text-align: center;
}
.lm-h2 {
  font-family: var(--lm-serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 7vw, 2.3rem);
  line-height: 1.3;
  color: var(--lm-ink);
  margin: 0 0 1.4rem;
}
.lm-lead {
  font-family: var(--lm-serif);
  font-size: 1.03rem;
  line-height: 2.1;
  color: var(--lm-text);
  margin: 1.4rem auto 0;
  max-width: 21rem;
}
.lm-lead--light {
  color: rgba(250, 248, 244, 0.85);
}
.lm-body-text {
  margin: 1rem auto 0;
  max-width: 22rem;
  color: var(--lm-muted);
}
.lm-muted {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--lm-muted);
  margin: 0.3rem 0;
}
.lm-quote {
  margin: 1.8rem auto 0;
  max-width: 22rem;
  border-top: 1px solid var(--lm-line);
  border-bottom: 1px solid var(--lm-line);
  padding: 1.4rem 0;
  font-family: var(--lm-serif);
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--lm-ink);
}
.lm-quote p {
  margin: 0;
}
.lm-quote__src {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--lm-sans);
  font-size: 0.72rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lm-taupe-ink);
}

/* Divider ------------------------------------------------------------------ */
.lm-divider {
  display: block;
  width: 2.4rem;
  height: 1px;
  background: var(--lm-taupe);
  margin: 1.4rem auto;
}

/* Principals --------------------------------------------------------------- */
/* minmax(0, 1fr) — dengan `1fr` (= minmax(auto, 1fr)) kolom melebar mengikuti
   kata nama terpanjang dan kolom kedua terdorong keluar layar; kini nama yang
   lebih lebar dari kolomnya dikecilkan fx.tsx (_shared/fit-names.ts). */
.lm-principals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.1rem;
  margin-top: 2rem;
}
.lm-principal {
  text-align: center;
}
/* Foto mempelai — rata tengah di atas peran, mengikuti susunan dua kolom yang
   simetris. Sudutnya hampir tegak (2px) dan hanya dibatasi hairline: tema ini
   bekerja dengan bidang lembut dan garis tipis, bukan bentuk yang menonjol.
   `aspect-ratio` WAJIB sama dengan `media.slots[].aspect` di `options.ts` —
   bingkai penyesuaian di editor memakai angka itu, dan selisih sedikit pun
   membuat hasil geser/zoom pemilik tak sama dengan yang tampil di undangan. */
.lm-principal__ph {
  width: 100%;
  max-width: 9.5rem;
  aspect-ratio: 4 / 5;
  margin: 0 auto 0.85rem;
  overflow: hidden;
  border: 1px solid var(--lm-line);
  border-radius: 2px;
  background: var(--lm-paper);
  display: grid;
  place-items: center;
}
.lm-principal__ph span {
  font-family: var(--lm-serif);
  font-size: 2.3rem;
  color: var(--lm-taupe-ink);
}
.lm-principal__name {
  font-family: var(--lm-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lm-ink);
  margin: 0.5rem 0 0.5rem;
}
.lm-principals__amp {
  display: none;
}
.lm-contact {
  margin: 1.5rem auto 0;
  padding: 1.4rem;
  background: var(--lm-paper);
  border: 1px solid var(--lm-line);
  max-width: 22rem;
  text-align: left;
}
.lm-contact__name {
  font-family: var(--lm-serif);
  font-size: 1.2rem;
  color: var(--lm-ink);
  margin: 0 0 0.6rem;
}
.lm-contact__row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
.lm-contact__row svg {
  color: var(--lm-taupe-ink);
  flex-shrink: 0;
}

/* Countdown — sebaris tenang ----------------------------------------------- */
.lm .countdown {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin: 1.8rem auto 0;
  flex-wrap: wrap;
}
.lm .count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lm .count-num {
  font-family: var(--lm-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 7vw, 2rem);
  color: var(--lm-ink);
  font-variant-numeric: tabular-nums;
}
.lm .count-label {
  font-size: 0.53rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin-top: 0.35rem;
}
.lm .countdown-done {
  font-family: var(--lm-serif);
  font-size: 1.3rem;
  color: var(--lm-ink);
}

/* Cards -------------------------------------------------------------------- */
.lm-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 24rem;
  margin: 1.6rem auto 0;
}
.lm-card {
  background: var(--lm-paper);
  border: 1px solid var(--lm-line);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
}
.lm-section--tint .lm-card {
  background: #fdfcf9;
}
.lm-card__title {
  font-family: var(--lm-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--lm-ink);
  margin: 0 0 0.8rem;
}
.lm-card__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin: 0.35rem 0;
}
.lm-card__row svg {
  color: var(--lm-taupe-ink);
  flex-shrink: 0;
}
.lm-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.lm-account__label {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-taupe-ink);
  margin: 0 0 0.5rem;
}
.lm-account__num {
  font-family: var(--lm-serif);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--lm-ink);
  margin: 0;
}

/* Buttons & links ---------------------------------------------------------- */
.lm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  border: 0;
  border-bottom: 1.5px solid var(--lm-taupe);
  background: transparent;
  color: var(--lm-ink);
  font-family: var(--lm-sans);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease;
}
.lm-btn:hover {
  color: var(--lm-taupe-ink);
}
.lm-btn--sm {
  padding: 0.35rem 0.4rem;
  font-size: 0.6rem;
}
.lm-btn--solid {
  border: 0;
  background: var(--lm-ink);
  color: var(--lm-paper);
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  margin-top: 1.1rem;
  letter-spacing: 0.2em;
}
.lm-btn--solid:hover {
  background: var(--lm-taupe-ink);
  color: var(--lm-paper);
}

/* Calendar dropdown -------------------------------------------------------- */
.lm-cal {
  position: relative;
}
.lm-cal__trigger {
  list-style: none;
}
.lm-cal__trigger::-webkit-details-marker {
  display: none;
}
.lm-cal__menu {
  position: absolute;
  z-index: 5;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  min-width: 12rem;
  background: var(--lm-paper);
  border: 1px solid var(--lm-line);
  box-shadow: 0 12px 30px rgba(42, 39, 35, 0.14);
}
.lm-cal__opt {
  display: block;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  color: var(--lm-text);
  text-decoration: none;
}
.lm-cal__opt:hover {
  background: var(--lm-paper2);
}

/* Gallery — film strip ----------------------------------------------------- */
.lm-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.lm-gallery__item {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
}
.lm-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94);
  transition: transform 0.6s ease;
}
.lm-gallery__item:hover img {
  transform: scale(1.04);
}

/* Timeline ----------------------------------------------------------------- */
.lm-timeline {
  max-width: 24rem;
  margin: 1.4rem auto 0;
  text-align: left;
}
.lm-story {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--lm-line);
}
.lm-story:last-child {
  border-bottom: none;
}
.lm-story__date {
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lm-taupe-ink);
  margin: 0 0 0.35rem;
}
.lm-story__title {
  font-family: var(--lm-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lm-ink);
  margin: 0 0 0.4rem;
}
.lm-story__body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--lm-muted);
  margin: 0;
}

/* Footer ------------------------------------------------------------------- */
.lm-footer {
  padding: clamp(72px, 16vw, 96px) 30px 106px;
  text-align: center;
  background: var(--lm-paper2);
  border-top: 1px solid var(--lm-line);
}
.lm-footer .lm-divider {
  background: var(--lm-taupe);
}
.lm-footer .lm-lead--light {
  color: var(--lm-text);
}
.lm-footer__thanks {
  font-family: var(--lm-serif);
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--lm-muted);
  margin: 0 0 0.8rem;
}
.lm-footer__title {
  font-family: var(--lm-serif);
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--lm-ink);
  margin: 0;
}
.lm-watermark {
  display: inline-block;
  margin: 1.8rem 0 0;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--lm-muted);
  border-bottom: 1px solid var(--lm-line);
  padding-bottom: 6px;
}
.lm-watermark a {
  color: var(--lm-taupe-ink);
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  .lm-gallery__item img {
    transition: none;
  }
}

/* ================================================================ Video ===
   Section video (FASE J) — kelas generik `_shared/video` ditata dengan token
   tema. Tanpa aturan reduced-motion: komponennya sendiri yang tak autoplay. */
.lm-video {
  margin-top: 22px;
}
.lm .video-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background: var(--lm-ink);
  border: 1px solid var(--lm-line);
  box-shadow: 0 16px 36px -24px rgba(42, 39, 35, 0.45);
}
/* Bingkai YouTube tak membawa rasio inline (bingkai berkas membawanya). */
.lm .video-frame--yt {
  aspect-ratio: 16 / 9;
}
.lm .video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.lm .video-mute,
.lm .video-play {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--lm-paper);
  color: var(--lm-ink);
}
.lm .video-mute {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--lm-line);
  cursor: pointer;
}
.lm .video-lite {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background-color: var(--lm-ink);
  background-size: cover;
  background-position: center;
}
/* Peredup agar tombol putar terbaca di atas poster terang. */
.lm .video-lite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 39, 35, 0.22);
}
.lm .video-play {
  position: relative;
  width: 64px;
  height: 64px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
}
.lm .video-play svg {
  margin-left: 3px;
}
.lm .video-mute:focus-visible {
  outline: 2px solid var(--lm-taupe-ink);
  outline-offset: 2px;
}
/* Di dalam bingkai `overflow: hidden` → cincin fokus ke dalam. */
.lm .video-lite:focus-visible {
  outline: 2px solid var(--lm-taupe-ink);
  outline-offset: -5px;
}

/* Tombol live streaming di section acara (Premium, DECISIONS #116) — gaya
   tombolnya `lm-btn` yang sama dengan "Petunjuk Arah". */
.lm-live {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Latar per-slide (aesthetic, universal modern bersih) */
.lm-stage > .lm-section:nth-of-type(1) {
  background:
    radial-gradient(
      100% 70% at 50% 0%,
      color-mix(in srgb, var(--lm-accent, #9a8b78) 14%, transparent),
      transparent 55%
    ),
    var(--lm-paper);
}
.lm-stage > .lm-section:nth-of-type(2),
.lm-section--tint {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lm-accent, #9a8b78) 8%, var(--lm-paper)),
    var(--lm-paper)
  );
}
.lm-stage > .lm-section:nth-of-type(3) {
  background:
    radial-gradient(
      80% 60% at 90% 70%,
      color-mix(in srgb, var(--lm-accent, #9a8b78) 10%, transparent),
      transparent 55%
    ),
    var(--lm-paper);
}
.lm-stage > .lm-section:nth-of-type(4) {
  background: linear-gradient(135deg, #f5f3ee 0%, #ffffff 100%);
}
.lm-stage > .lm-section:nth-of-type(5) {
  background:
    radial-gradient(
      70% 50% at 10% 30%,
      color-mix(in srgb, var(--lm-accent, #9a8b78) 9%, transparent),
      transparent 55%
    ),
    var(--lm-paper);
}
.lm-stage > .lm-section:nth-of-type(6) {
  background: linear-gradient(180deg, var(--lm-paper), #f3f1ec);
}
.lm-stage > .lm-section:nth-of-type(7) {
  background:
    radial-gradient(
      90% 60% at 70% 20%,
      color-mix(in srgb, var(--lm-accent, #9a8b78) 10%, transparent),
      transparent 55%
    ),
    var(--lm-paper);
}
.lm-stage > .lm-section:nth-of-type(8) {
  background: linear-gradient(180deg, #faf9f6, var(--lm-paper));
}
.lm-footer {
  background: linear-gradient(
    180deg,
    var(--lm-paper),
    color-mix(in srgb, var(--lm-accent, #9a8b78) 10%, var(--lm-paper))
  );
}

/* === Motion Bali v2 (12 Nov 2026): ritme latar selang-seling + bingkai === */
div[data-section-id]:nth-child(even) .lm-section {
  background:
    radial-gradient(
      110% 50% at 50% 0%,
      color-mix(in srgb, var(--lm-acc) 30%, transparent),
      transparent 65%
    ),
    repeating-linear-gradient(
      45deg,
      color-mix(in srgb, var(--lm-acc) 4%, transparent) 0 2px,
      transparent 2px 26px
    ),
    repeating-linear-gradient(
      -45deg,
      color-mix(in srgb, var(--lm-acc) 4%, transparent) 0 2px,
      transparent 2px 26px
    ),
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--lm-acc) 28%, var(--lm-paper)),
      color-mix(in srgb, var(--lm-acc) 20%, var(--lm-paper))
    );
}
.lm-section {
  border: 2px solid color-mix(in srgb, var(--lm-acc) 60%, transparent);
  outline: 1px solid color-mix(in srgb, var(--lm-acc) 40%, transparent);
  outline-offset: 6px;
  border-radius: 24px;
  margin: 20px 14px;
}
.lm-foto {
  border-radius: 999px 999px 18px 18px;
  box-shadow: 0 18px 40px color-mix(in srgb, var(--lm-acc) 45%, transparent);
}

/* === Tombol Lihat Lokasi (12 Nov 2026): lengkapi data preview === */
.lm-maps {
  display: inline-block;
  margin-top: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--lm-acc);
  color: var(--lm-on-acc, #fff);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
