/* Kapur Putih: cotton letterpress paper, black ink, Bodoni; the card opens like a book */
:root {
  --bg: #e8e6e0; --paper: #fbfaf6; --paper-2: #ffffff; --ink: #161616; --ink-2: #3a3936; --muted: #6f6c66;
  --rose: #161616; --gold: #161616; --gold-d: #161616; --gold-rgb: 22 22 22; --on-gold: #ffffff;
  --gold-foil: linear-gradient(#161616, #161616);
  --shadow: 0 0 0; --dock: 251 250 246;
  --name-size: clamp(54px, 16vw, 76px);
}
.tm { box-shadow: 0 0 0 1px rgb(0 0 0 / 6%), 0 30px 70px rgb(0 0 0 / 10%); }
.tm-kicker { font-family: var(--sans); font-weight: 500; letter-spacing: .4em; font-size: 10px; color: var(--ink); }
.tm-name { font-family: var(--display); font-style: italic; font-weight: 400; font-size: var(--name-size); color: var(--ink); background: none; -webkit-text-fill-color: var(--ink); animation: none; line-height: 1; padding: 0 .08em .06em; }
.tm-amp { font-family: var(--display); font-style: normal; font-size: 26px; color: var(--muted); }
.tm-h { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 42px; background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.tm-h span { font-family: var(--sans); font-style: normal; font-weight: 500; letter-spacing: .4em; color: var(--muted); -webkit-text-fill-color: var(--muted); }
.tm-with { font-family: var(--display); font-style: italic; font-size: 22px; color: var(--muted); }
.tm-full { font-family: var(--display); font-weight: 400; }
.tm-closing-names { font-family: var(--display); font-style: italic; background: none; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.tm-cal-num, .tm-hero-date strong { font-family: var(--display); font-weight: 400; }
.tm-btn { border-color: var(--ink); color: var(--ink); border-radius: 0; background: transparent; }
.tm-btn-gold { background: var(--ink); color: #fff; box-shadow: none; text-shadow: none; }
.tm-choice span { border-radius: 0; }
.tm-choice input:checked + span { background: var(--ink); color: #fff; }
.tm-acct, .tm-wishes li, .tm-count-row div { border-radius: 0; }
.tm-count-row div::after { display: none; }
.tm-bismillah { color: var(--ink); }
.tm-stamp { --stamp: #161616; }
.tm-dock a:hover, .tm-dock button[aria-pressed="true"] { background: rgb(0 0 0 / 6%); color: var(--ink); }

.lx-hero { padding: 110px 36px 140px; }
.lx-rules { position: absolute; inset: 22px; border: 1px solid var(--ink); pointer-events: none; }
.lx-rules::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgb(0 0 0 / 35%); }
.js .lx-rules { clip-path: inset(0 0 100% 0); transition: clip-path 1.8s cubic-bezier(.6,0,.3,1) .3s; }
.js .tm-opener-active .lx-rules { clip-path: inset(0 0 100% 0); }
.js .lx-hero .lx-rules { clip-path: inset(0 0 0 0); }
.lx-panel { background: var(--paper-2); border-radius: 0; box-shadow: 0 0 0 1px rgb(0 0 0 / 10%); }
.lx-panel::before { display: none; }
.lx-panel::after { display: none; }
.lx-sprig { width: 50%; }
.tm-corner { display: none; }
.lx-foot { display: none; }

/* ================= opener: folded card ================= */
.lx-open-buku { background: #e8e6e0; perspective: 1600px; }
.lx-open-buku::before { display: none; }
.lx-book { position: relative; width: min(76vw, 300px); aspect-ratio: 5 / 7; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.6,0,.3,1) 1.15s, opacity .6s 1.45s; }
.lx-book-inside, .lx-book-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; padding: 24px;
  background: #fbfaf6 var(--tex); background-size: 300px; box-shadow: 0 1px 2px rgb(0 0 0 / 8%), 0 24px 50px rgb(0 0 0 / 14%); }
.lx-book-inside .tm-kicker { margin-bottom: 14px; }
.lx-book-to { margin: 0; font-family: var(--display); font-style: italic; font-size: 30px; line-height: 1.15; }
.lx-book-small { margin: 12px 0 0; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.lx-book-cover { border: 0; cursor: pointer; transform-origin: 0 50%; backface-visibility: hidden; transition: transform 1.2s cubic-bezier(.5,0,.25,1) .05s, box-shadow 1.2s; }
.lx-book-mono { font-family: var(--display); font-style: italic; font-size: 64px; line-height: 1; color: #f3f1ea;
  text-shadow: -1px -1px 0 rgb(0 0 0 / 22%), 1px 1px 0 rgb(255 255 255 / 90%); }
.lx-book-mono i { font-size: 30px; margin: 0 4px; }
.lx-book-names { margin-top: 26px; font-family: var(--sans); font-size: 11px; letter-spacing: .38em; text-transform: uppercase; color: #161616; }
.lx-book-date { margin-top: 10px; font-family: var(--display); font-size: 15px; letter-spacing: .2em; color: #6f6c66; }
.lx-open-buku .tm-opener-text { position: relative; bottom: auto; margin-top: 30px; }
.lx-open-buku.is-opening .lx-book-cover { transform: rotateY(-170deg); box-shadow: none; }
.lx-open-buku.is-opening .lx-book { transform: translateX(14%); }
.lx-open-buku.is-zoom .lx-book { transform: translateX(14%) scale(1.5); opacity: 0; transition: transform .7s ease, opacity .6s; }
.lx-open-buku.is-zoom { background: transparent; transition: background .6s, opacity .7s, visibility 0s .7s; }
