.footer {
  margin-top: 80px;
  padding-bottom: 100px;
}


.footer-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-touch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}

.footer-heading-wrap {
  position: relative;
}

.footer-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1;
}

.footer-heading--in {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
}

.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1;
}

.char {
  display: inline-block;
  transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
  transition-delay: calc(var(--i) * 35ms);
}

.footer-heading--in .char {
  transform: translateY(110%);
}

.footer-touch:hover .footer-heading--out .char {
  transform: translateY(-110%);
}

.footer-touch:hover .footer-heading--in .char {
  transform: translateY(0%);
}

.footer-arrow {
  width: 77px;
  height: 48px;
  filter: invert(1);
  transition: transform 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.footer-touch:hover .footer-arrow {
  transform: translateX(20px);
}

[data-theme="light"] .footer-arrow {
  filter: invert(0);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.footer-col .col-label {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li,
.footer-col ul li a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--text-muted);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link img {
  width: 19px;
  height: 12px;
  filter: invert(1);
}

[data-theme="light"] .footer-link img {
  filter: invert(0);
}

.footer-link:hover {
  color: var(--text-muted);
}

/* ── Spotify widget ──────────────────────────── */
.spotify-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-top: 4px;
}

.spotify-disc-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border);
  overflow: hidden;
}

/* vinyl centre hole */
.spotify-disc-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 2;
  pointer-events: none;
}

.spotify-disc {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  animation: spotify-spin 8s linear infinite;
  animation-play-state: paused;
}

.spotify-disc.playing {
  animation-play-state: running;
}

@keyframes spotify-spin {
  to {
    transform: rotate(360deg);
  }
}

.spotify-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spotify-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spotify-track {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.3;
}

.spotify-artist {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.blink-colon {
  animation: blink 1s step-start infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .footer-touch {
    padding: 40px 0;
  }
}

@media (max-width: 600px) {

  .footer {
    padding-bottom: 48px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding: 0 20px;
  }

  .footer-col {
    font-size: 0.85rem;
  }

  .footer-touch {
    padding: 28px 0;
  }

  .footer-arrow {
    width: 56px;
    height: 32px;
  }
}