/* A seven-second welcome: light, artwork, words, then the page. */
.intro {
  --intro-duration: 7200ms;
  --intro-exit-duration: 1200ms;
  background: #fff5f6;
  isolation: isolate;
  padding: 46px 24px 76px;
  overflow-y: auto;
  clip-path: inset(0 0 0 0 round 0 0 0 0);
  transition: clip-path var(--intro-exit-duration) cubic-bezier(.76,0,.24,1), visibility var(--intro-exit-duration);
  animation: none;
}
.intro.exit { clip-path: inset(0 0 100% 0 round 0 0 45% 45%); }
.intro-atmosphere {
  position: absolute;
  inset: -25%;
  z-index: -3;
  pointer-events: none;
  background: radial-gradient(ellipse at 35% 50%, #f3b8cd88, transparent 45%), radial-gradient(ellipse at 70% 35%, #e8d9f266, transparent 36%), radial-gradient(ellipse at 50% 70%, #fffdfb, transparent 55%);
  animation: welcome-light 9s ease-in-out infinite alternate;
}
.intro-content { width: min(100%, 820px); animation: none; }
.intro-content > .eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .24em;
  animation: welcome-rise 1.3s .15s both;
}
.intro-artwork {
  width: min(43vh, 390px, 72vw);
  position: relative;
  margin: 22px auto 15px;
  animation: welcome-art 2.2s cubic-bezier(.16,1,.3,1) both;
}
.intro-content .intro-artwork img {
  width: 100%;
  margin: 0;
  position: relative;
  filter: drop-shadow(0 18px 26px #a4436424);
  animation: welcome-float 5s 2.2s ease-in-out infinite;
}
.intro-halo {
  position: absolute;
  inset: 2% -10% -4%;
  border-radius: 50%;
  background: radial-gradient(circle, #fffaf7 0%, #fffaf7b3 32%, #f6c1d34d 55%, transparent 70%);
  animation: welcome-halo 4s ease-in-out infinite;
}
.intro-orbit {
  position: absolute;
  width: min(70vw, 620px);
  border-color: #be829833;
  pointer-events: none;
  z-index: -1;
  animation: welcome-orbit 22s linear infinite;
}
.intro-orbit:after { inset: 22px; border-color: #fffaf7d9; }
.intro-orbit:before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  top: 14%;
  left: 14%;
  border-radius: 50%;
  background: #c987a2;
  box-shadow: 0 0 18px 5px #e6a2be55;
}
.intro-orbit-outer { width: min(89vw, 830px); border-style: dashed; border-color: #cbb1ce40; animation-direction: reverse; animation-duration: 40s; }
.intro-orbit-outer:before { background: #ac99ba; width: 5px; height: 5px; }
.intro-orbit-outer:after { inset: -32px; border-color: #e3bdce33; }
.intro-star { position: absolute; color: var(--rose); animation: welcome-spark 3.5s ease-in-out infinite; }
.intro-star-left { left: -9%; top: 39%; font-size: 48px; }
.intro-star-right { right: -6%; top: 12%; font-size: 26px; color: var(--purple); animation-delay: 1s; }
.intro-content > p { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -.045em; }
.intro-content > p > span { display: block; font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 10px; animation: welcome-rise 1.1s 1.1s both; }
.intro-content > p > em { display: inline-block; animation: welcome-rise 1.4s 1.6s both; }
.intro-values { display: flex; justify-content: center; gap: 23px; margin-top: 21px; font-size: 13px; letter-spacing: .1em; color: var(--muted); }
.intro-values span { animation: welcome-rise .9s both; }
.intro-values span:nth-child(1) { animation-delay: 2.6s; }
.intro-values span:nth-child(2) { animation-delay: 3.3s; }
.intro-values span:nth-child(3) { animation-delay: 4s; }
.intro-line { width: 190px; height: 2px; margin: 26px auto 16px; background: #e7cad5; }
.intro-line span { background: linear-gradient(90deg, #d993ae, var(--rose), #aa86b5); animation: load-line var(--intro-duration) cubic-bezier(.3,.1,.3,1) both; }
.intro-note { display: block; font-size: 12px; letter-spacing: .025em; animation: welcome-rise 1.2s 4.7s both; }
.intro-skip { position: fixed; z-index: 3; right: 32px; bottom: 24px; padding: 12px 20px; min-height: 44px; border: 1px solid #d8afc055; border-radius: 30px; background: #fffaf7b3; font-size: 12px; transition: background .2s, border-color .2s; }
.intro-skip:hover { background: var(--paper); border-color: #c48ba1; }
.intro-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.intro-particles > span { position: absolute; left: var(--x); top: 90%; width: var(--size); height: var(--size); border-radius: 50%; background: #c68ca6; box-shadow: 0 0 10px 3px #fffaf7; opacity: 0; animation: welcome-particle 6s var(--delay) ease-in-out infinite; }
@keyframes welcome-art { from { opacity: 0; transform: translateY(35px) scale(.78); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes welcome-rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes welcome-light { to { transform: translate(4%, -3%) scale(1.1); } }
@keyframes welcome-halo { 50% { transform: scale(1.13); opacity: .65; } }
@keyframes welcome-orbit { to { transform: rotate(360deg); } }
@keyframes welcome-float { 50% { transform: translateY(-9px); } }
@keyframes welcome-spark { 0%,100% { opacity: .45; transform: scale(.85) rotate(-10deg); } 50% { opacity: 1; transform: scale(1.08) rotate(10deg); } }
@keyframes welcome-particle { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 20% { opacity: .6; } 75% { opacity: .35; } 100% { opacity: 0; transform: translate(var(--drift), -75vh) scale(1); } }
@media (max-width: 600px) {
  .intro { padding: 40px 20px 82px; }
  .intro-content > .eyebrow { font-size: 9px; letter-spacing: .14em; }
  .intro-artwork { width: min(39vh, 68vw); margin-top: 25px; }
  .intro-orbit { width: 90vw; }
  .intro-orbit-outer { width: 125vw; }
  .intro-content > p { font-size: clamp(38px, 10vw, 52px); }
  .intro-content > p > span { font-size: 10px; }
  .intro-star-left { font-size: 36px; left: -7%; }
  .intro-star-right { font-size: 22px; }
  .intro-skip { bottom: 18px; right: 18px; }
}
@media (max-height: 580px) {
  .intro { padding-top: 20px; padding-bottom: 65px; }
  .intro-artwork { width: min(30vh, 160px); margin: 10px auto; }
  .intro-content > p { font-size: 34px; }
  .intro-values { margin-top: 12px; }
  .intro-line { margin: 16px auto 10px; }
}
