/* ───── ATELIER footer ─────
   Calm. Centered shop wordmark up top (no marquee, no outline-stroke
   theatrics — just the brand mark), 4-col link grid below, copyright +
   payment chips at the bottom. */

.vp-footer {
  background: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: clamp(64px, 7vw, 96px);
  position: relative;
}

/* Replace Vapor's marquee wordmark with a single centered serif wordmark. */
.vp-footer__shout {
  border-bottom: 0;
  padding-block: 0 clamp(40px, 5vw, 64px);
  text-align: center;
  display: block;
  overflow: visible;
  --marquee-duration: 0s;
}
.vp-footer__shout .marquee__track {
  animation: none !important;
  display: inline-block;
}
/* Hide all but the first marquee item (the duplicate-tracks pattern was
   for the scrolling marquee — Atelier just shows one). */
.vp-footer__shout .marquee__track:nth-child(2) { display: none; }
.vp-footer__shout .marquee__track > *:not(:first-child) { display: none; }
.vp-footer__shout .marquee__item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-text);
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: currentColor;
}
.vp-footer__shout .marquee__item::after { content: none; }

/* ── Main grid ── */
.vp-footer__main {
  padding-block: clamp(4rem, 7vw, 6rem) var(--space-5);
}
.vp-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--color-border);
}
@media (max-width: 900px) {
  .vp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .vp-footer__grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

.vp-footer__brand {
  display: grid;
  gap: var(--space-4);
}
.vp-footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  text-transform: uppercase;
  letter-spacing: var(--tracking-tight);
  color: var(--color-text);
  line-height: 1;
}
.vp-footer__tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
  color: var(--color-text-muted);
  max-width: 32ch;
  margin: 0;
}

.vp-footer__social {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}
.vp-footer__social a {
  width: 36px; height: 36px;
  border: 1px solid var(--color-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--color-text);
  border-radius: var(--radius-xs);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.vp-footer__social a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
  background: var(--color-accent);
}
.vp-footer__social svg { width: 14px; height: 14px; }

/* ── Link columns ── */
.vp-footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-4);
}
.vp-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.vp-footer__col li { font-family: var(--font-body); font-size: var(--text-sm); }
.vp-footer__col a {
  color: var(--color-text);
  position: relative;
  display: inline-block;
}
.vp-footer__col a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}
.vp-footer__col a:hover { color: var(--color-accent); }
.vp-footer__col a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── Bottom row ── */
.vp-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  padding-block: var(--space-5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: var(--tracking-wide);
  color: var(--color-text-soft);
  text-transform: uppercase;
}
.vp-footer__pay {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
/* Engine-rendered payment row (shop.payment_icons_html). Themes style only the
   container — each chip is a self-contained 40×26 SVG card shipped by the engine. */
.qm-payment-icons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
}
.qm-payment-icon {
  display: inline-flex;
  line-height: 0;
}
