/* Obsidian — locked prices and the registration window (members only). */

/* a locked price: a small gold padlock and a discreet invitation */
.pfrom { display: inline-flex; align-items: center; gap: 8px; color: var(--gold, #c9a45c); cursor: pointer; white-space: nowrap; transition: color .4s; }
.pfrom:not(.is-open) span { border-bottom: 1px solid rgba(201,164,92,.45); padding-bottom: 1px; transition: border-color .4s; }
.pfrom:not(.is-open):hover span, .pfrom:not(.is-open):focus-visible span { border-color: var(--gold, #c9a45c); }
.pfrom__lock { width: 12px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.pfrom.is-open { cursor: default; color: inherit; animation: pfromIn 1s cubic-bezier(.16,1,.3,1) both; }
@keyframes pfromIn { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } to { opacity: 1; filter: none; transform: none; } }
.pfrom--buy { font-size: 15px; letter-spacing: .02em; }
#price .pfrom { font-family: var(--sans, sans-serif); }

/* the registration window */
.mbr { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.mbr.is-on { visibility: visible; pointer-events: auto; }
.mbr__veil { position: absolute; inset: 0; background: rgba(6,6,7,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .6s cubic-bezier(.2,.7,.1,1); }
.mbr.is-on .mbr__veil { opacity: 1; }
.mbr__card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #0d0d0e; border: 1px solid rgba(201,164,92,.28);
  padding: clamp(28px, 5vw, 48px); color: var(--bone, #ecebe7); display: grid; gap: 16px;
  opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .7s cubic-bezier(.2,.7,.1,1), transform .9s cubic-bezier(.16,1,.3,1); }
.mbr.is-on .mbr__card { opacity: 1; transform: none; }
.mbr__x { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; font-size: 24px; line-height: 1; color: var(--mute, #8d8c88); background: none; border: 0; cursor: pointer; }
.mbr__x:hover { color: var(--bone, #ecebe7); }
.mbr .eyebrow { margin: 0; color: var(--gold, #c9a45c); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; }
.mbr__t { margin: 0; font-family: var(--serif, serif); font-weight: 400; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; }
.mbr__lede { margin: 0 0 6px; color: #b9b8b3; font-size: 14px; line-height: 1.6; }
.mbr__f { display: grid; gap: 14px; }
.mbr__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mbr label { display: grid; gap: 6px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--mute, #8d8c88); }
.mbr input:not([type=checkbox]) { font: 300 15px var(--sans, sans-serif); color: var(--bone, #ecebe7); background: transparent; border: 0; border-bottom: 1px solid rgba(236,235,231,.22); padding: 10px 0; border-radius: 0; letter-spacing: 0; text-transform: none; transition: border-color .4s; }
.mbr input:not([type=checkbox]):focus { outline: none; border-color: var(--gold, #c9a45c); }
.mbr__ok { grid-template-columns: auto 1fr; align-items: start; gap: 12px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 12.5px !important; line-height: 1.5; color: #a9a8a3 !important; margin-top: 4px; }
.mbr__ok input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: #c9a45c; }
.mbr__msg { margin: 0; min-height: 1.4em; font-size: 13px; }
.mbr__msg.is-err { color: #e0a39a; }
.mbr__msg.is-ok { color: var(--gold, #c9a45c); font-family: var(--serif, serif); font-style: italic; font-size: 17px; }
.mbr__send[disabled] { opacity: .6; cursor: wait; }
.mbr.is-done .mbr__f > :not(.mbr__msg) { display: none; }
.mbr.is-done .mbr__lede { display: none; }
html.mbr-open { overflow: hidden; }
@media (max-width: 520px) { .mbr__row { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mbr__card, .mbr__veil, .pfrom.is-open { transition: none; animation: none; } }
.mbr *, .mbr *::before { box-sizing: border-box; }
.mbr label { min-width: 0; }
.mbr input:not([type=checkbox]) { width: 100%; min-width: 0; }
.pfrom.is-pending { color: #b9b8b3; }
.pfrom.is-pending span { border-bottom-style: dotted; }
