@layer components {
  /* Footer band: optional lines above its edge */
  .site-footer {
    box-shadow: var(--footer-shadow);
  }

  .footer__inner {
    justify-content: space-between;
    gap: var(--space-4);
  }

  .icon-spots {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .icon-spot {
    display: grid;
    place-items: center;
    width: var(--icon-spot);
    height: var(--icon-spot);
    font-size: var(--text-sm);
    text-decoration: none;
    background: var(--icon-spot-bg);
    border: var(--icon-spot-border);
    border-radius: 50%;
    box-shadow: var(--icon-spot-shadow);
    transition: transform var(--speed-fast) ease-out;
  }

  a.icon-spot:hover {
    transform: rotate(-8deg) scale(1.1);
  }

  .footer__date,
  .footer__moon,
  .footer__time {
    white-space: nowrap;
    font: var(--footer-text-font);
    letter-spacing: var(--footer-text-tracking);
    text-shadow: var(--footer-text-shadow);
  }

  .footer__time {
    font: var(--footer-time-font);
    letter-spacing: var(--footer-time-tracking);
    font-variant-numeric: var(--footer-time-nums);
  }
}
/* footer-icons: start */
.icon-spot[title="email" i] { --icon-spot-image: url("../../img/footer-icons/email.86549f4dc9c3.svg"); }
.icon-spot[title="music" i] { --icon-spot-image: url("../../img/footer-icons/music.601a06c4f6a8.svg"); }
.icon-spot[title="instagram" i] { --icon-spot-image: url("../../img/footer-icons/instagram.8e8d554c282b.svg"); }
.icon-spot[title="pinterest" i] { --icon-spot-image: url("../../img/footer-icons/pinterest.de8017cafcda.svg"); }
.icon-spot[title="etsy shop" i] { --icon-spot-image: url("../../img/footer-icons/etsy.e524266d3333.svg"); }
.icon-spot[title="shopify store" i] { --icon-spot-image: url("../../img/footer-icons/shop.13c7ae26a9a4.svg"); }
.icon-spot:is([title="email" i], [title="music" i], [title="instagram" i], [title="pinterest" i], [title="etsy shop" i], [title="shopify store" i]) > [aria-hidden="true"] {
  inline-size: var(--icon-spot-glyph);
  block-size: var(--icon-spot-glyph);
  font-size: 0;
  background-color: currentColor;
  -webkit-mask: var(--icon-spot-image) center / contain no-repeat;
  mask: var(--icon-spot-image) center / contain no-repeat;
}
/* footer-icons: end */
/* footer-clock: start */
.footer__clock {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.footer__clock[aria-pressed="true"] {
  opacity: 0.6;
}
/* footer-clock: end */
