/* The illustration opens like a ballroom door. Nothing keeps moving as the reader plays. */
.salon-hero .salon-art { transform-origin: 73% 37%; }
.salon-hero-copy { position: relative; z-index: 1; }
.salon-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  user-select: none;
}
.salon-atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 52% 3%, #ffdc8d38 0%, #ffd08214 12%, transparent 30%),
    radial-gradient(ellipse at 98% 28%, #ffd58a2e 0%, #f2ba7412 11%, transparent 25%);
  opacity: .7;
}
.salon-atmosphere i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size, 3px);
  height: var(--size, 3px);
  background: #ffdfa0;
  border-radius: 50%;
  box-shadow: 0 0 5px 1px #ffc76b89;
  opacity: 0;
}
.salon-atmosphere i:nth-child(1) { --x: 17%; --y: 37%; --travel: -30px; --drift: 6px; --delay: .14s; }
.salon-atmosphere i:nth-child(2) { --x: 39%; --y: 61%; --size: 4px; --travel: -19px; --drift: 4px; --delay: .48s; }
.salon-atmosphere i:nth-child(3) { --x: 44%; --y: 22%; --size: 10px; --travel: -8px; --drift: 2px; --delay: .3s; }
.salon-atmosphere i:nth-child(4) { --x: 61%; --y: 80%; --travel: -22px; --drift: 7px; --delay: .9s; }
.salon-atmosphere i:nth-child(5) { --x: 91%; --y: 53%; --size: 8px; --travel: -7px; --drift: 1px; --delay: .76s; }
.salon-atmosphere i:nth-child(6) { --x: 81%; --y: 16%; --size: 2px; --travel: -13px; --drift: 5px; --delay: 1.05s; }
.salon-atmosphere :is(i:nth-child(3),i:nth-child(5)) {
  clip-path: polygon(50% 0, 60% 41%, 100% 50%, 60% 59%, 50% 100%, 40% 59%, 0 50%, 40% 41%);
  background: #fff0c1;
}
.salon-hero .salon-primary {
  background: linear-gradient(110deg, #f8e9c8, #ebd3a0 70%, #f1dba9);
  border-color: #efdbb7;
  box-shadow: inset 0 0 0 2px #d5b681, inset 0 0 0 3px #ffebbc, 0 3px 12px #190e2047;
}
.salon-hero .salon-secondary {
  background: linear-gradient(145deg, #452d46df, #281b2be8);
  box-shadow: inset 0 0 0 2px #a189811f;
}
.salon-hero-actions :is(.salon-primary,.salon-secondary) {
  position: relative;
  overflow: hidden;
  transition: transform .12s ease-out, box-shadow .17s ease-out;
}
.salon-hero-actions :is(.salon-primary,.salon-secondary)::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(106deg, transparent 35%, #fff5c667 49%, transparent 64%);
  transform: translateX(-105%);
}
.salon-hero .salon-hero-actions :is(.salon-primary,.salon-secondary):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px #28142650;
}
@media (prefers-reduced-motion: no-preference) {
  html:not([data-salon-motion="reduced"]) .salon-hero .salon-art {
    animation: ballroom-arrive 3.2s cubic-bezier(.16,.72,.36,1) backwards;
  }
  html:not([data-salon-motion="reduced"]) .salon-atmosphere::before {
    animation: ballroom-candlelight 2.8s ease-in-out;
  }
  html:not([data-salon-motion="reduced"]) .salon-atmosphere i {
    animation: ballroom-mote 2.9s var(--delay, 0s) ease-out backwards;
  }
  html:not([data-salon-motion="reduced"]) .salon-hero-copy > :is(.salon-kicker,h1,.salon-lead,.salon-hero-actions) {
    animation: ballroom-introduction .68s var(--enter, 0s) cubic-bezier(.16,.82,.28,1) backwards;
  }
  .salon-hero-copy h1 { --enter: .07s; }
  .salon-hero-copy .salon-lead { --enter: .13s; }
  .salon-hero-copy .salon-hero-actions { --enter: .18s; }
  html:not([data-salon-motion="reduced"]) .salon-hero-actions :focus-visible::after {
    animation: ballroom-gilt .55s ease-out;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  html:not([data-salon-motion="reduced"]) .salon-hero-actions :hover::after {
    animation: ballroom-gilt .55s ease-out;
  }
}
@keyframes ballroom-arrive {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}
@keyframes ballroom-candlelight {
  from { opacity: .22; }
  56% { opacity: .84; }
  to { opacity: .7; }
}
@keyframes ballroom-mote {
  0% { opacity: 0; transform: translate(0, 3px) scale(.68); }
  32% { opacity: .77; }
  100% { opacity: 0; transform: translate(var(--drift), var(--travel)) scale(.85); }
}
@keyframes ballroom-introduction {
  from { opacity: .35; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ballroom-gilt {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}
@media (max-width: 650px) {
  .salon-hero .salon-art { transform-origin: 71% 30%; }
  .salon-atmosphere { bottom: 36%; }
  .salon-atmosphere i:nth-child(2) { --x: 29%; }
  .salon-atmosphere i:nth-child(3) { --x: 32%; }
  .salon-atmosphere i:nth-child(4) { --x: 83%; --y: 70%; }
  .salon-atmosphere i:nth-child(6) { --x: 92%; }
}
@media (prefers-reduced-motion: reduce) {
  .salon-hero .salon-hero-actions :is(button,a) { transition: none; }
  .salon-hero .salon-hero-actions :is(button,a):is(:hover,:active) { transform: none; }
}
html[data-salon-motion="reduced"] .salon-hero .salon-hero-actions :is(button,a) { transition: none; }
html[data-salon-motion="reduced"] .salon-hero .salon-hero-actions :is(button,a):is(:hover,:active) { transform: none; }
