.intro {
  --bottle-height: min(88vw, clamp(185px, 46svh, 460px));
  --pour-angle: -113deg;
  --cap-seam: 8.3%;
  --bottle-y: 50%;
  position: fixed;
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 0;
  color: #fff1d6;
  overflow: hidden;
  background: transparent;
}
.intro-stage {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 75%, #4e62854d, transparent 46%),
    radial-gradient(ellipse at 50% 38%, #3c516e 0%, #233147 38%, #101722 77%);
}
.intro::backdrop { background: transparent; }
html.intro-open { overflow: hidden; }
.intro button:focus-visible { outline: 2px solid #ffd38b; outline-offset: 4px; }
.intro-trigger {
  position: absolute;
  z-index: 2;
  top: var(--bottle-y);
  left: 50%;
  width: calc(var(--bottle-height) * 317 / 1080);
  height: var(--bottle-height);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  touch-action: manipulation;
}
.intro-bottle,
.intro-bottle img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-bottle {
  filter: drop-shadow(9px 15px 15px #080d16);
  transition: filter 150ms;
}
.intro-trigger:hover .intro-bottle,
.intro-trigger:focus-visible .intro-bottle { filter: drop-shadow(0 4px 20px #9db8de62); }
.intro-cap { visibility: hidden; clip-path: inset(0 0 calc(99.6% - var(--cap-seam)) 0); }
.intro-shadow {
  position: absolute;
  top: calc(var(--bottle-y) + var(--bottle-height) * .48);
  left: 50%;
  width: calc(var(--bottle-height) * .50);
  height: 23px;
  background: #080e18cb;
  filter: blur(12px);
  border-radius: 50%;
  transform: translateX(-50%);
}
.sauce-pour {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  pointer-events: none;
}
.is-pouring .sauce-pour { visibility: visible; }
.is-filled .intro-stage { opacity: 0; }
.is-pouring .intro-trigger { cursor: default; }
.is-pouring .intro-body { clip-path: inset(var(--cap-seam) 0 0 0); }
.is-pouring .intro-cap { visibility: visible; animation: cap-pop 660ms ease-out both; }
.is-pouring .intro-bottle { animation: bottle-tip 650ms 240ms cubic-bezier(.25,.06,.34,1) both; }
.is-pouring .intro-shadow { animation: clear-stage 280ms ease-out both; }
@keyframes cap-pop {
  0% { transform: none; opacity: 1; }
  34% { transform: translate(15%, -9%) rotate(11deg); opacity: 1; }
  100% { transform: translate(85%, -38%) rotate(65deg); opacity: 0; }
}
@keyframes bottle-tip {
  from { transform: none; }
  to { transform: rotate(var(--pour-angle)); }
}
@keyframes clear-stage { to { opacity: 0; } }
.site-footer button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: 700 14px var(--body);
  cursor: pointer;
}
.site-footer button:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer button:focus-visible { outline: 2px solid #ffd38b; outline-offset: 4px; }
@media (max-width: 440px) {
  .site-footer nav { flex-wrap: wrap; gap: 8px 15px; }
}
@media (max-height: 560px) {
  .intro { --bottle-height: min(88vw, clamp(120px, 46svh, 250px)); }
}
@media (prefers-reduced-motion: reduce) {
  .intro.is-pouring,.intro.is-pouring * { animation: none; }
  .intro-bottle { transition: none; }
}
