/* Footer: a row of furniture standing on the signboard frame */
body > footer { padding-top: 44px; }
footer .sign { padding-top: 0; }
.skyline { display: block; width: 100%; height: 170px; fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.skyline .glow { stroke: var(--sun); fill: var(--sun); }
.invite { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin: 0 -48px 44px; padding: 34px 48px; border-bottom: 2px solid #fff; }
.invite p { font: 700 clamp(25px, 3vw, 36px)/1.1 var(--head); margin: 0; text-wrap: balance; }
footer .btn.sun { color: var(--ink); }
@media (max-width: 900px) {
  .skyline { height: 120px; }
  .invite { margin: 0 -24px 30px; padding: 26px 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Header: the name is painted on, then catches the light. The logo stays still. */
  .bar .paint { background: linear-gradient(100deg, var(--ink) 42%, #e0a92f 50%, var(--ink) 58%) 100% 0/300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: paint .9s cubic-bezier(.6, 0, .2, 1) both, shine 6s 1.2s ease-in-out infinite; }

  .slide { overflow: hidden; }
  .slide .sign { z-index: 1; }
  .dots { z-index: 2; }
  .slide .sign > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .slide .sign > :nth-child(2) { animation-delay: .12s; }
  .slide .sign > :nth-child(3) { animation-delay: .24s; }
  .slide .sign::after { animation: frame .9s cubic-bezier(.6, 0, .2, 1) both; }
  .slide > img { animation: drift 9s ease-out both; }

  .wait { opacity: 0; }
  .seen { animation: rise .65s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 70ms); }

  .btn { transition: background .15s, color .15s, transform .15s; }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: none; }
  .cats img { transition: transform .35s; }
  .cats a:hover img { transform: translateY(-6px); }
  .cols div > a:not(.brand, .num) { transition: transform .2s; }
  .cols div > a:not(.brand, .num):hover { transform: translateX(5px); }
  .heart.pop .icon { animation: pop .4s; }
  .stage svg.settle { animation: settle .4s cubic-bezier(.3, 1.5, .5, 1); transform-origin: 50% 88%; }

  .skyline.wait { opacity: 1; }
  .skyline.wait path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .skyline.wait .glow { fill-opacity: 0; }
  .skyline.seen { animation: none; }
  .skyline.seen path { stroke-dasharray: 1; animation: draw 1.8s ease-in-out both; }
  .skyline.seen .glow { animation: draw 1.8s ease-in-out both, light .5s 1.7s both; }
}

@keyframes paint { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
@keyframes shine { 0%, 55% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes frame { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0); } }
@keyframes drift { from { transform: scale(1.08); } to { transform: none; } }
@keyframes pop { 40% { transform: scale(1.4); } }
@keyframes settle { from { transform: scale(1.03, .93); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes light { from { fill-opacity: 0; } to { fill-opacity: 1; } }
