/* Components — footer, featured items, shared UI */

/* ---- Footer ---- */

.footer {
  background: var(--charcoal);
  border-top: 3px solid var(--amber);
  padding: var(--space-2xl) var(--gutter);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-l);
}

.footer__brand {
  flex: 0 0 auto;
}

.footer__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--cream);
  letter-spacing: -0.02em;
}

.footer__title em {
  color: var(--amber);
  font-style: italic;
}

.footer__tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.08em;
  flex: 1;
  text-align: center;
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--steel);
  letter-spacing: 0.08em;
  line-height: 1.8;
  text-align: right;
}

/* ---- Loading state ---- */
/* Shown while JS fetches data */

.skeleton {
  background: linear-gradient(90deg, #e8e0ce 25%, #f0e8d8 50%, #e8e0ce 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 2px;
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
  .footer { padding: var(--space-xl) var(--gutter-mobile); }
  .footer__tagline { text-align: left; order: 3; flex-basis: 100%; }
  .footer__meta    { text-align: left; }
}
