/* Bingkai Bujur: blush ivory paper, antique gold oval frames, deep red script; a gold locket opens */
:root {
  --bg: #e9d3cc; --paper: #f8eee9; --paper-2: #fdf7f3; --ink: #4b2027; --ink-2: #6e3a41; --muted: #94717a;
  --rose: #8f1f35; --gold: #a98445; --gold-d: #85642c; --gold-rgb: 169 132 69; --on-gold: #fffaf2;
  --gold-foil: linear-gradient(100deg, #7a5524 0%, #c09450 22%, #ecd29c 38%, #a98445 52%, #dcbd82 68%, #8a6430 86%, #bf9a5c 100%);
  --shadow: 90 40 45; --dock: 253 247 243;
  --name-size: clamp(56px, 16vw, 74px);
}
.tm-kicker { font-family: var(--sans); letter-spacing: .34em; color: var(--rose); font-size: 10.5px; }
.tm-name { font-size: var(--name-size); background: none; color: var(--rose); -webkit-text-fill-color: var(--rose); animation: none; padding: 0 .2em .16em; }
.tm-amp { font-family: var(--serif); font-style: italic; color: var(--gold-d); }
.tm-h { font-family: var(--serif); font-style: italic; font-size: 40px; font-weight: 400; background: none; color: var(--rose); -webkit-text-fill-color: var(--rose); }
.tm-h span { font-family: var(--sans); font-style: normal; color: var(--gold-d); -webkit-text-fill-color: var(--gold-d); }
.tm-full { font-family: var(--serif); font-weight: 500; font-size: 22px; }
.tm-with { font-family: var(--script); color: var(--gold-d); }
.tm-session h3 { color: var(--rose); }
.tm-closing-names { background: none; color: var(--rose); -webkit-text-fill-color: var(--rose); }

.lx-hero { padding: 120px 34px 150px; }
.lx-hero .tm-hero-inner { max-width: 270px; }
.lx-hero { padding: 140px 54px 200px; }
.lx-hero .tm-photo { border-radius: 50%; aspect-ratio: 4/5; }
.lx-panel { background: var(--paper-2); border-radius: 50% 50% 18px 18px / 120px 120px 18px 18px; padding-top: 70px; box-shadow: 0 0 0 1px rgb(var(--gold-rgb) / 45%), 0 20px 46px rgb(var(--shadow) / 12%); }
.lx-panel::before { inset: 10px; border-radius: 50% 50% 12px 12px / 112px 112px 12px 12px; border-color: rgb(var(--gold-rgb) / 35%); outline: 0; }
.lx-panel::after { display: none; }
.tm-corner { width: 180px; }
.tm-corner-tr { top: 0; right: -20px; transform: scaleX(-1); }
.lx-foot { display: none; }

/* ================= opener: gold locket ================= */
.lx-open-loket { background: radial-gradient(90% 70% at 50% 40%, #fbf1ec, #ead2ca 70%, #dcbab0); perspective: 1400px; }
.lx-open-loket::before { opacity: .45; }
.lx-locket-wrap { position: relative; width: min(64vw, 250px); aspect-ratio: 500 / 650; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.6,0,.3,1) 1.3s, opacity .45s 1.35s; }
.lx-locket-in { position: absolute; left: 10%; right: 10%; top: 26%; bottom: 6%; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: #fdf7f3 var(--tex); background-size: 240px; box-shadow: inset 0 0 0 3px #c09450, inset 0 0 0 7px #fdf7f3, inset 0 0 0 8px rgb(169 132 69 / 50%), inset 0 8px 20px rgb(90 40 45 / 25%); }
.lx-locket-in .tm-kicker { font-size: 8.5px; margin-bottom: 4px; }
.lx-locket-names { margin: 0; display: grid; font-family: var(--script); font-size: 34px; line-height: 1.05; color: var(--rose); }
.lx-locket-names span { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--gold-d); }
.lx-locket-lid { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: center / 100% 100% no-repeat; transform-origin: 12% 60%;
  filter: drop-shadow(0 18px 24px rgb(80 30 30 / 35%)); transition: transform 1.2s cubic-bezier(.5,0,.3,1) .1s; backface-visibility: hidden; animation: lx-sway 4s ease-in-out infinite alternate; }
.lx-locket-lid span { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-20%); font-family: var(--script); font-size: 48px; color: #7a5524; text-shadow: 0 1px 0 rgb(255 240 200 / 70%), 0 -1px 0 rgb(60 30 0 / 35%); }
.lx-locket-lid span i { font-family: var(--serif); font-size: 22px; font-style: italic; margin: 0 2px; }
@keyframes lx-sway { from { transform: rotate(-1.4deg); } to { transform: rotate(1.4deg); } }
.lx-open-loket .tm-opener-text { margin-top: 10px; }
.lx-open-loket.is-opening .lx-locket-lid { animation: none; transform: rotateY(-165deg); }
.lx-open-loket.is-opening .lx-locket-wrap { transform: scale(2.6) translateY(4%); opacity: 0; }
.lx-open-loket.is-opening { background: transparent; transition: background .7s ease 1.6s, opacity .7s, visibility 0s .7s; }
.lx-open-loket.is-opening::before { opacity: 0; transition: opacity .7s 1.6s; }
.lx-open-loket .lx-to { margin: 0 0 16px; }
@media (prefers-reduced-motion: reduce) { .lx-locket-lid { animation: none; } }

.lx-hero .tm-hero-inner { --fx: 58px; --ft: 120px; --fb: 150px; }
