/* Cosmedoc Professional — shared custom styles (from the Stitch design export). */

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.backdrop-blur-nav {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.product-image-container {
  background: #ffffff;
}

.hairline-border {
  border: 1px solid #e4eaf0;
}

/* Clinical-white look: products sit flat on white, no float. */
.elegant-shadow {
  box-shadow: none;
}

.text-balanced {
  text-wrap: balance;
}

.bodoni-tight {
  letter-spacing: -0.02em;
}

/* Cinematic staggered reveal on scroll: fade + lift + de-blur, spring easing. */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(2px);
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* High-end hero entrance: staggered cinematic rise on load (one-shot). */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); filter: blur(5px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.hero-intro > * {
  opacity: 0;
  animation: hero-rise 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-intro > *:nth-child(1) { animation-delay: 0.08s; }
.hero-intro > *:nth-child(2) { animation-delay: 0.18s; }
.hero-intro > *:nth-child(3) { animation-delay: 0.30s; }
.hero-intro > *:nth-child(4) { animation-delay: 0.42s; }
.hero-intro > *:nth-child(5) { animation-delay: 0.54s; }

/* Magnetic primary CTA: cursor-tracking pull, kept snappy (transform only). */
[data-magnetic] { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1); }

@media (prefers-reduced-motion: reduce) {
  .hero-intro > * { opacity: 1; animation: none; }
  [data-magnetic] { transition: none; }
}

/* Eyebrow: plain tiny uppercase tracked label (Biologique-style, no pill). */
.eyebrow {
  display: inline-block !important;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

/* Mobile menu drawer */
.mobile-menu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mobile-menu[hidden] {
  display: none;
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Accessible keyboard focus (visible only for keyboard users, in the brand accent) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #2f3065;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}
