html:has(.dolce-welcome[open]) {
  overflow-y: hidden;
}

.dolce-welcome {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 32px 24px;
  border: 0;
  overflow: auto;
  color: #fff;
  background: #24190f;
  opacity: 1;
  transition: opacity 950ms ease-in-out;
}

.dolce-welcome:not([open]) {
  display: none;
}

.dolce-welcome[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.dolce-welcome::backdrop {
  background: transparent;
}

.dolce-welcome::before {
  content: "";
  position: fixed;
  inset: -16px;
  background:
    linear-gradient(115deg, rgba(18, 12, 6, 0.8), rgba(98, 55, 18, 0.55)),
    url("italia-hero.webp") center / cover no-repeat;
  filter: blur(8px);
  pointer-events: none;
}

.dolce-welcome__content {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: auto;
  animation: dolce-arrive 1100ms var(--ease) both;
}

.dolce-welcome__title {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.7px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.dolce-welcome__title:focus {
  outline: none;
}

.dolce-welcome__text {
  margin: 0;
  color: #ffe5b0;
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.5;
}

.dolce-welcome__skip {
  min-height: 44px;
  margin-top: 28px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: color 200ms ease;
}

.dolce-welcome__skip:hover {
  color: #ffe5b0;
}

.dolce-welcome__skip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.dolce-welcome.is-leaving {
  opacity: 0;
}

@keyframes dolce-arrive {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .dolce-welcome,
  .dolce-welcome * {
    animation: none;
    transition: none;
  }
}
