/* Brand reveal: the supplied PNG is kept intact. No page content depends on it. */
.brand-intro:not([open]) { display: none; }
.brand-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 28px;
  border: 0;
  overflow: auto;
  background: var(--vitalle-ivory);
  color: var(--vitalle-ink);
}
.brand-intro[open] { display: grid; place-items: center; }
.brand-intro::backdrop { background: var(--vitalle-ivory); }
.intro-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.intro-scene {
  position: relative;
  display: flex;
  width: min(100%, 700px);
  min-height: min(720px, 82dvh);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  isolation: isolate;
}
.intro-orbit {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(80vw, 590px);
  aspect-ratio: 1;
  border: 1px solid rgba(76, 105, 113, .16);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  pointer-events: none;
}
.intro-orbit-inner { width: min(68vw, 495px); border-color: rgba(35, 154, 150, .12); }
.intro-location {
  position: relative;
  margin: 0 0 14px;
  color: var(--vitalle-petrol);
  font: 600 10px/1.7 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
.intro-location span { margin: 0 8px; }
.intro-logo-wrap { position: relative; width: min(70vw, 390px); overflow: hidden; }
.intro-logo { display: block; width: 100%; height: auto; }
.intro-light {
  position: absolute;
  inset: -20% auto -20% -35%;
  width: 32%;
  transform: translateX(-100%) rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
  pointer-events: none;
}
.intro-description {
  margin: 10px 0 0;
  color: var(--vitalle-ink);
  font: 500 clamp(24px, 3.2vw, 33px)/1.15 var(--serif);
}
.intro-description em { color: var(--vitalle-teal); font-weight: 400; }
.intro-progress { width: 70px; height: 1px; margin-top: 29px; background: var(--vitalle-petrol); transform-origin: left; }
.intro-skip {
  position: absolute;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(28px, env(safe-area-inset-bottom));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 10px 20px;
  border: 1px solid var(--vitalle-border);
  border-radius: 999px;
  background: var(--vitalle-white);
  color: var(--vitalle-ink);
  font: 600 12px/1.6 var(--sans);
  cursor: pointer;
}
.intro-skip:hover { border-color: var(--vitalle-petrol); }
.intro-replay {
  display: none;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.js .intro-replay:not([hidden]) { display: inline-flex; align-items: center; gap: 12px; }
.intro-replay:hover { color: #a4ddd3; }
.brand-intro[open] .intro-logo { animation: vitalle-logo-reveal 950ms cubic-bezier(.22, 1, .36, 1) both; }
.brand-intro[open] .intro-light { animation: vitalle-light-pass 1600ms 650ms cubic-bezier(.22, 1, .36, 1) both; }
.brand-intro[open] .intro-orbit { animation: vitalle-orbit-reveal 1800ms cubic-bezier(.22, 1, .36, 1) both; }
.brand-intro[open] .intro-location,
.brand-intro[open] .intro-description { animation: vitalle-type-reveal 1000ms 300ms ease both; }
.brand-intro[open] .intro-progress { animation: vitalle-progress 2600ms linear both; }
@keyframes vitalle-logo-reveal { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes vitalle-light-pass { from { transform: translateX(-100%) rotate(18deg); } to { transform: translateX(580%) rotate(18deg); } }
@keyframes vitalle-orbit-reveal { from { opacity: 0; transform: translate(-50%, -50%) scale(.93); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes vitalle-type-reveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes vitalle-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 700px) {
  .brand-intro { padding: 24px; }
  .intro-scene { min-height: 68dvh; }
  .intro-logo-wrap { width: min(80vw, 320px); }
  .intro-location { margin-bottom: 12px; font-size: 9px; letter-spacing: .15em; }
  .intro-description { margin-top: 13px; font-size: 27px; }
  .intro-skip { right: 24px; bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-height: 500px) {
  .intro-scene { min-height: 0; padding-bottom: 56px; }
  .intro-logo-wrap { width: min(45vh, 220px); }
  .intro-orbit { width: min(65vh, 300px); }
  .intro-orbit-inner { width: min(55vh, 240px); }
  .intro-description { font-size: 23px; }
  .intro-location { margin-bottom: 0; }
  .intro-progress { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-intro[open] .intro-logo,
  .brand-intro[open] .intro-light,
  .brand-intro[open] .intro-orbit,
  .brand-intro[open] .intro-location,
  .brand-intro[open] .intro-description,
  .brand-intro[open] .intro-progress { animation: none !important; }
  .intro-light, .intro-progress { display: none; }
}
