/* ============================================================================
   ONEEXISTS — Footer
   5-column editorial architecture on desktop, stacked on mobile.
   ============================================================================ */

.oe-footer {
  background: rgb(var(--oe-bg-dark));
  color: rgb(var(--oe-text-inverse));
  padding: var(--oe-section-y-lg) 0 var(--oe-section-y-sm);
  margin-top: var(--oe-section-y);
}
.oe-footer a { color: rgb(var(--oe-white)); text-decoration: none; }
.oe-footer a:hover { color: rgb(var(--oe-silver)); }
.oe-footer h4 { color: rgb(var(--oe-white)); }

.oe-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--oe-gap-xl) var(--oe-gap-lg);
}

@media (min-width: 40rem)  { .oe-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem)  { .oe-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr; } }

.oe-footer__col--brand { grid-column: 1 / -1; }
@media (min-width: 64rem) { .oe-footer__col--brand { grid-column: auto; } }

.oe-footer__logo img { height: 26px; width: auto; filter: invert(1); }
.oe-footer .oe-wordmark { color: rgb(var(--oe-white)); }
.oe-footer__slogan {
  font-size: var(--oe-fs-body-lg);
  font-weight: var(--oe-fw-medium);
  letter-spacing: var(--oe-ls-tight);
  color: rgb(var(--oe-white));
  margin: 1.5rem 0 1rem;
  line-height: 1.3;
}
.oe-footer__byline {
  font-size: var(--oe-fs-caption);
  color: rgb(var(--oe-silver));
  margin: 0 0 1.5rem;
  line-height: 1.6;
}
.oe-footer__byline .oe-eyebrow { color: rgb(var(--oe-silver)); font-size: 0.6875rem; margin-bottom: 0.25rem; display: inline-block; }
.oe-footer__blurb {
  font-size: var(--oe-fs-small);
  color: rgb(var(--oe-silver));
  line-height: 1.55;
  margin: 0;
  max-width: 22em;
}

.oe-footer__heading {
  font-family: var(--oe-font-head);
  font-size: var(--oe-fs-caption);
  font-weight: var(--oe-fw-medium);
  letter-spacing: var(--oe-ls-extra-wide);
  text-transform: uppercase;
  color: rgb(var(--oe-white));
  margin: 0 0 1.25rem;
}

.oe-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.oe-footer__list li + li { margin-top: 0.75rem; }
.oe-footer__list a {
  font-size: var(--oe-fs-small);
  color: rgb(var(--oe-silver));
  line-height: 1.4;
  transition: color var(--oe-duration-fast) var(--oe-ease);
}
.oe-footer__list a:hover { color: rgb(var(--oe-white)); }

/* Newsletter column */
.oe-footer__nl-lead {
  font-size: var(--oe-fs-body);
  color: rgb(var(--oe-white));
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 22em;
}
.oe-footer .oe-newsletter {
  border-color: rgb(var(--oe-white));
  background: transparent;
  margin-bottom: 0.5rem;
}
.oe-footer .oe-newsletter .oe-input {
  color: rgb(var(--oe-white));
  background: transparent;
}
.oe-footer .oe-newsletter .oe-input::placeholder { color: rgb(var(--oe-silver)); }
.oe-footer .oe-newsletter .oe-btn--primary {
  background: rgb(var(--oe-white));
  color: rgb(var(--oe-black));
  border-color: rgb(var(--oe-white));
}
.oe-footer .oe-newsletter .oe-btn--primary:hover { background: rgb(var(--oe-silver)); border-color: rgb(var(--oe-silver)); }
.oe-footer__nl-hint {
  font-size: var(--oe-fs-caption);
  color: rgb(var(--oe-silver));
  margin: 0.5rem 0 1.5rem;
  line-height: 1.5;
}

.oe-social {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  gap: 1rem;
  font-size: var(--oe-fs-caption);
  letter-spacing: var(--oe-ls-wide);
  text-transform: uppercase;
}

.oe-footer__lab {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(var(--oe-charcoal));
  color: rgb(var(--oe-silver));
  font-size: var(--oe-fs-caption);
}
.oe-footer__lab .oe-eyebrow { color: rgb(var(--oe-silver)); margin-bottom: 0.5rem; }
.oe-footer__lab address { font-style: normal; line-height: 1.55; margin: 0; }

/* ---------- BOTTOM BAR ---------- */
.oe-footer-bottom {
  background: rgb(var(--oe-bg-dark));
  color: rgb(var(--oe-silver));
  border-top: 1px solid rgb(var(--oe-charcoal));
  padding: 1.5rem 0;
}
.oe-footer-bottom__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 48rem) {
  .oe-footer-bottom__grid {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
  }
  .oe-footer-bottom__pay { justify-self: center; }
  .oe-footer-bottom__legal { justify-self: end; }
}
.oe-footer-bottom__copy {
  margin: 0;
  font-size: var(--oe-fs-caption);
  color: rgb(var(--oe-silver));
}
.oe-footer-bottom__pay {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  font-size: var(--oe-fs-caption);
  letter-spacing: var(--oe-ls-wide);
  text-transform: uppercase;
  color: rgb(var(--oe-silver));
  justify-content: center;
  flex-wrap: wrap;
}
.oe-footer-bottom__legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
  font-size: var(--oe-fs-caption);
  letter-spacing: var(--oe-ls-wide);
  text-transform: uppercase;
  justify-content: center;
}
.oe-footer-bottom__legal-list a { color: rgb(var(--oe-silver)); }
.oe-footer-bottom__legal-list a:hover { color: rgb(var(--oe-white)); }
