/* A quiet logo reveal before the first top-page visit in each tab. */
.clinic-opening { display: none; }
.opening-play .clinic-opening {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: #faf8f4;
  animation: opening-away 3.6s ease forwards;
}
.clinic-opening__center { width: min(68vw, 420px); transform: translateY(-6px); }
.clinic-opening__brand { position: relative; width: 100%; aspect-ratio: 545 / 88; }
.clinic-opening__logo {
  position: absolute; inset: 0; display: block;
  background: #9b835b;
  mask: url('/assets/bellefeel-logo.webp') center / contain no-repeat;
  -webkit-mask: url('/assets/bellefeel-logo.webp') center / contain no-repeat;
}
.clinic-opening__logo--trace { opacity: .09; }
.clinic-opening__logo--reveal {
  clip-path: inset(0 100% 0 0);
  animation: opening-draw 1.9s cubic-bezier(.42, 0, .18, 1) .15s forwards;
}
.clinic-opening__line {
  display: block; margin: 28px auto 0; width: 42px; height: 1px;
  background: #bca57e; transform: scaleX(0); opacity: 0;
  animation: opening-line .8s ease 1.5s forwards;
}
.clinic-opening__skip {
  position: absolute; bottom: max(32px, env(safe-area-inset-bottom)); right: 32px;
  padding: 12px; border: 0; background: transparent; color: #76674f;
  font: 11px/1.4 Arial, sans-serif; letter-spacing: .16em; cursor: pointer;
}
.clinic-opening__skip:focus-visible { outline: 1px solid currentColor; outline-offset: 3px; }
@keyframes opening-draw { to { clip-path: inset(0 0 0 0); } }
@keyframes opening-line { to { transform: scaleX(1); opacity: 1; } }
@keyframes opening-away {
  0%, 73% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .opening-play .clinic-opening { display: none; animation: none; } }
