/* Same motion as mercuriali.uz — adapted to Living's cream page + dark hero */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10050;
  background: linear-gradient(90deg, #5c1a28, #c1b094);
  pointer-events: none;
  box-shadow: 0 0 14px rgba(193, 176, 148, 0.45);
}

a.scroll-indicator,
.scroll-indicator {
  display: none !important;
}

/* Cursor: cream dot + bubble, dark ring so it reads on cream pages too */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: rgba(232, 224, 208, 0.95);
  box-shadow: 0 0 0 1px rgba(44, 33, 23, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10070;
  top: 0;
  left: 0;
  display: none;
  transition: transform 0.15s ease, background 0.4s ease;
}
.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(44, 33, 23, 0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10070;
  top: 0;
  left: 0;
  display: none;
  transition: transform 0.3s ease, border-color 0.4s ease, width 0.3s ease, height 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  html.has-eos-cursor .cursor-dot,
  html.has-eos-cursor .cursor-ring { display: block; }
  html.has-eos-cursor,
  html.has-eos-cursor * { cursor: none !important; }
}
@media (max-width: 900px) {
  .cursor-dot, .cursor-ring { display: none !important; }
  html.has-eos-cursor, html.has-eos-cursor * { cursor: auto !important; }
}

.atm-veil {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: multiply;
  opacity: 0.85;
}
.atm-haze {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 55% at 50% -8%, rgba(245, 237, 214, 0.35), transparent 60%),
    radial-gradient(ellipse 70% 45% at 100% 70%, rgba(193, 176, 148, 0.22), transparent 65%),
    radial-gradient(ellipse 55% 40% at 0% 85%, rgba(184, 118, 63, 0.16), transparent 60%);
  animation: atmMistBreath 14s ease-in-out infinite alternate;
}
.atm-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
}
.atm-orb-a {
  width: min(68vw, 820px);
  height: min(68vw, 820px);
  left: -16%;
  top: -12%;
  background: radial-gradient(circle, rgba(193, 176, 148, 0.95) 0%, transparent 70%);
  animation: atmDriftA 28s ease-in-out infinite;
}
.atm-orb-b {
  width: min(58vw, 680px);
  height: min(58vw, 680px);
  right: -14%;
  top: 22%;
  background: radial-gradient(circle, rgba(92, 26, 40, 0.5) 0%, transparent 72%);
  animation: atmDriftB 34s ease-in-out infinite;
}
.atm-orb-c {
  width: min(50vw, 560px);
  height: min(50vw, 560px);
  left: 28%;
  bottom: -16%;
  background: radial-gradient(circle, rgba(184, 118, 63, 0.65) 0%, transparent 68%);
  animation: atmDriftC 22s ease-in-out infinite;
}
@keyframes atmDriftA {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
  50% { transform: translate3d(8%, 10%, 0) scale(1.12); opacity: 1; }
}
@keyframes atmDriftB {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.5; }
  50% { transform: translate3d(-10%, -6%, 0) scale(1.08); opacity: 0.85; }
}
@keyframes atmDriftC {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  50% { transform: translate3d(-6%, -12%, 0); opacity: 0.8; }
}
canvas.atm-dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(245, 237, 214, 0.42), transparent 58%),
    radial-gradient(ellipse 60% 50% at 92% 78%, rgba(193, 176, 148, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(245, 237, 214, 0.1) 0%, transparent 45%, rgba(245, 237, 214, 0.14) 100%);
  animation: atmMistBreath 14s ease-in-out infinite alternate;
}
@keyframes atmMistBreath {
  0% { opacity: 0.65; }
  100% { opacity: 1; }
}

.hero h1 {
  letter-spacing: 0.03em;
  font-weight: 500;
  text-shadow:
    0 10px 36px rgba(20, 8, 10, 0.4),
    0 0 42px rgba(193, 176, 148, 0.22);
}

/* Title locked on the same center axis as the search pill */
.hero-stack {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: min(calc(100% - 2rem), 52rem) !important;
  max-width: calc(100vw - 2rem) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1rem !important;
  text-align: center !important;
  z-index: 4 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
  box-sizing: border-box !important;
}
.hero-stack .hero-content,
.hero-stack .hero-content--title,
.hero-stack .hero-content--lead {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  inset: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}
.hero-stack .hero-content--title h1,
.hero .hero-content--title h1,
.hero h1 {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 0.4rem !important;
  text-align: center !important;
}
.hero-stack .hero-search,
.hero .hero-search {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  transform: none !important;
  width: min(100%, 420px) !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  pointer-events: auto !important;
}
@media (max-width: 767px) {
  .hero-stack {
    width: min(calc(100% - 1.5rem), 52rem) !important;
    gap: 0.85rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .atm-orb, .hero::after, canvas.atm-dust,
  .scroll-indicator .scroll-line, .scroll-indicator .eos-chevron {
    animation: none !important;
  }
  canvas.atm-dust, .atm-veil { display: none !important; }
}
@media (max-width: 767px) {
  .atm-orb-c { display: none; }
}
