/* ============================================================
   lana-michelle — intentional.css
   Shared thoughtful UI touches across all pages
   ============================================================ */

/* ── PAGE TRANSITION ── */
.lm-transition {
  position: fixed;
  inset: 0;
  background: #FAF7F2;
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

/* ── PROGRESS BAR ── */
.lm-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 1.5px;
  background: #C4A882;
  z-index: 99997;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── BACK TO TOP ── */
.lm-back-top {
  position: fixed;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer !important;
  background: none;
  border: none;
  padding: 0;
}

.lm-back-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.lm-back-top-line {
  width: 0.5px;
  height: 36px;
  background: #C4A882;
  transition: height 0.3s ease;
}

.lm-back-top:hover .lm-back-top-line { height: 48px; }

.lm-back-top-label {
  font-family: 'Jost', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C4A882;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ── MOBILE STICKY BOOK ── */
.lm-sticky-book {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9998;
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: #2E231B;
  background: #C4A882;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(46,35,27,0.25);
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  cursor: pointer !important;
}

.lm-sticky-book:hover { background: #5C4A3A; color: #FAF7F2; }

.lm-sticky-book.hidden {
  transform: translateX(-50%) translateY(80px);
  opacity: 0;
}

@media (max-width: 768px) {
  .lm-sticky-book { display: block; }
  .lm-back-top { display: none; }
}



/* ── ANIMATED RULE LINE ── */
.lm-animated-rule {
  display: block;
  height: 0.5px;
  background: #C4A882;
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.lm-animated-rule.expanded { width: 40px; }
.lm-animated-rule.full { width: 100%; }

/* ── ROTATING QUOTE ── */
.lm-rotating-quote {
  display: block;
  min-height: 2em;
}

.lm-rotating-quote .quote-line {
  display: none;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: inherit;
  color: inherit;
  line-height: 1.45;
  white-space: normal;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.lm-rotating-quote .quote-line.active {
  display: block;
  opacity: 1;
}
