/* Daun Pandan: cold-press paper, watercolour pandan blades; leaves part to reveal the card */
:root {
  --bg: #e3e8da; --paper: #f6f5ee; --paper-2: #fbfbf6; --ink: #2f3b28; --ink-2: #4e5d43; --muted: #7b866f;
  --rose: #5f7f45; --gold: #9a8a52; --gold-d: #77693a; --gold-rgb: 154 138 82; --on-gold: #fbfbf6;
  --gold-foil: linear-gradient(100deg, #4f6e39 0%, #7f9f5b 25%, #b7cc8e 40%, #66874a 55%, #9ab873 70%, #557a3d 88%, #7c9b58 100%);
  --shadow: 50 70 40; --dock: 251 251 246;
  --name-size: clamp(64px, 19vw, 90px);
}
.tm-kicker { font-family: var(--display); letter-spacing: .3em; color: var(--rose); }
.tm-name { font-size: var(--name-size); padding: .05em .22em .18em; }
.tm-amp { font-family: var(--display); font-style: normal; color: var(--gold-d); }
.tm-h { font-size: 56px; }
.tm-h span { font-family: var(--display); color: var(--gold-d); -webkit-text-fill-color: var(--gold-d); }
.tm-with { font-size: 38px; color: var(--rose); }
.tm-session h3, .tm-cal-day, .tm-cal-month { font-family: var(--display); }
.tm-btn-gold { text-shadow: none; }

.lx-hero { padding-top: min(56vw, 260px); padding-bottom: min(52vw, 240px); }
.lx-band-top { top: -10px; width: 112%; transform: translateX(-50%); transform-origin: 50% 0; animation: tm-sway 8s ease-in-out infinite alternate; }
.tm-par-bot { height: auto; inset: auto 0 0 0; }
.lx-band-bot { position: relative; display: block; width: 112%; transform: translateX(-50%) scale(-1, -1); opacity: .85; margin-bottom: -20px; }
.js .lx-band-top[data-b] { -webkit-mask-position: 50% 0%; mask-position: 50% 0%; }
.lx-panel { background: rgb(255 255 255 / 55%); border-radius: 28px; box-shadow: 0 0 0 1px rgb(95 127 69 / 22%), 0 20px 40px rgb(var(--shadow) / 8%); }
.lx-panel::before { inset: 10px; border-radius: 20px; border: 1px solid rgb(95 127 69 / 18%); outline: 0; }
.lx-panel::after { display: none; }
.tm-corner { width: 240px; opacity: .9; }
.tm-corner-tr { top: -40px; right: -40px; transform: scaleX(-1); }
.lx-foot { display: none; }

/* ================= opener: leaves part ================= */
.lx-open-daun { background: #f6f5ee var(--tex); background-size: var(--tex-size); }
.lx-open-daun::before { display: none; }
.lx-leaves { position: absolute; inset: 0; pointer-events: none; }
.lx-leaves i { position: absolute; left: var(--x); top: var(--y); width: 150%; height: 26vh; margin-left: -20%; background: center / contain no-repeat;
  transform: rotate(var(--r)); transform-origin: 50% 50%; animation: lx-rustle 5s ease-in-out calc(var(--i) * -.7s) infinite alternate;
  transition: transform 1.4s cubic-bezier(.55,0,.25,1) calc(var(--i) * .06s), opacity 1s calc(.3s + var(--i) * .06s); filter: drop-shadow(0 8px 10px rgb(50 70 40 / 18%)); }
@keyframes lx-rustle { from { rotate: -1.2deg; } to { rotate: 1.2deg; } }
.lx-leaf-card { position: relative; z-index: 2; display: grid; justify-items: center; gap: 6px; width: min(78vw, 300px); padding: 28px 20px 24px; border: 0; cursor: pointer;
  border-radius: 24px; background: rgb(251 251 246 / 92%); box-shadow: 0 0 0 1px rgb(95 127 69 / 25%), 0 24px 50px rgb(50 70 40 / 22%);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .8s cubic-bezier(.5,0,.3,1), opacity .6s .1s; }
.lx-leaf-card .tm-kicker { font-size: 10px; margin: 0; }
.lx-leaf-names { font-family: var(--script); font-size: 46px; line-height: 1.05; color: #4f6e39; }
.lx-leaf-names i { font-family: var(--display); font-style: normal; font-size: 18px; color: var(--gold-d); }
.lx-open-daun.is-opening { background: transparent; transition: background .7s ease .7s, opacity .7s, visibility 0s .7s; }
.lx-open-daun.is-opening .lx-leaves i { animation: none; transform: translateX(calc(var(--d) * 120%)) rotate(calc(var(--r) + var(--d) * 25deg)); opacity: 0; }
.lx-open-daun.is-opening .lx-leaf-card { transform: scale(.9) translateY(20px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .lx-leaves i, .lx-band-top { animation: none; } }
