.rbcc-site-footer {
  padding: 10rem 0 5rem;
  background: var(--rbcc-color-brand);
  color: rgba(255, 255, 255, 0.82);
}

.rbcc-site-footer > .rbcc-container--wide {
  width: min(calc(100% - 8rem), var(--rbcc-container));
}

.rbcc-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 6rem;
  min-height: 245px;
}

.rbcc-footer-brand {
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  gap: 2.925rem;
  min-width: 0;
}

.rbcc-footer-brand-heading {
  display: flex;
  flex-direction: column;
}

.rbcc-footer-brand-title,
.rbcc-footer-brand-subtitle,
.rbcc-footer-copy,
.rbcc-footer-newsletter__title,
.rbcc-footer-bottom p {
  margin: 0;
}

.rbcc-footer-brand-title {
  font-family: var(--rbcc-font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--rbcc-color-white);
}

.rbcc-footer-brand-subtitle {
  font-family: var(--rbcc-font-heading);
  font-style: italic;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: rgba(255, 255, 255, 0.7);
}

.rbcc-footer-divider {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.rbcc-footer-copy {
  max-width: 24rem;
  font-family: var(--rbcc-font-body);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.4);
}

.rbcc-footer-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-width: 0;
}

.rbcc-footer-heading {
  margin: 0;
  font-family: var(--rbcc-font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--rbcc-color-brand-soft);
}

.rbcc-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rbcc-footer-menu a,
.rbcc-footer-newsletter__title {
  font-family: var(--rbcc-font-body);
  font-weight: 300;
  font-size: 0.875rem;
  line-height: 1.43;
  color: rgba(255, 255, 255, 0.6);
}

.rbcc-footer-menu a,
.rbcc-footer-social a {
  transition: color var(--rbcc-transition);
}

.rbcc-footer-menu a:hover,
.rbcc-footer-menu a:focus-visible,
.rbcc-footer-social a:hover,
.rbcc-footer-social a:focus-visible {
  color: var(--rbcc-color-white);
}

.rbcc-footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rbcc-footer-contact {
  display: none;
}

.rbcc-footer-contact__address,
.rbcc-footer-contact__link {
  margin: 0;
  font-family: var(--rbcc-font-body);
  font-size: 0.75rem;
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  overflow-wrap: anywhere;
}

.rbcc-footer-contact__link {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(53, 87, 78, 0.9);
}

.rbcc-footer-contact__link span {
  font-size: 1rem;
  line-height: 1;
}

.rbcc-footer-newsletter__field {
  padding: 0.5rem 0 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--rbcc-font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.2);
}

.rbcc-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rbcc-footer-social a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--rbcc-font-body);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.rbcc-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 8rem;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rbcc-footer-bottom p {
  font-family: var(--rbcc-font-body);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

.rbcc-footer-tagline {
  font-family: var(--rbcc-font-heading) !important;
  font-style: italic;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.rbcc-site-footer a {
  color: inherit;
}

@media (min-width: 600px) and (max-width: 1023px) {
  .rbcc-site-footer {
    padding: 1.5625rem 0 1.125rem;
  }

  .rbcc-site-footer > .rbcc-container--wide {
    width: calc(100% - 6.125rem);
  }

  .rbcc-footer-grid {
    grid-template-columns: minmax(0, 245fr) minmax(0, 130fr) minmax(0, 150fr);
    column-gap: 2rem;
    min-height: 87px;
  }

  .rbcc-footer-brand {
    grid-column: auto;
    gap: 1.3125rem;
  }

  .rbcc-footer-brand-title { font-size: 1.25rem; }
  .rbcc-footer-brand-subtitle { font-size: 1.17rem; }
  .rbcc-footer-copy,
  .rbcc-footer-menu a,
  .rbcc-footer-newsletter__title { font-size: 0.75rem; }
  .rbcc-footer-brand .rbcc-footer-divider { display: none; }
  .rbcc-footer-heading { font-size: 0.625rem; }
  .rbcc-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    margin-top: 2.875rem;
    padding-top: 1.1875rem;
  }
}

@media (max-width: 599px) {
  .rbcc-site-footer {
    padding: 1.375rem 0 1rem;
  }

  .rbcc-site-footer > .rbcc-container--wide {
    width: calc(100% - 2.5rem);
  }

  .rbcc-footer-grid {
    grid-template-columns: minmax(0, 155fr) minmax(0, 95fr) minmax(0, 90fr);
    column-gap: 1.1875rem;
    min-height: 81px;
  }

  .rbcc-footer-brand {
    grid-column: auto;
    gap: 1.125rem;
  }

  .rbcc-footer-brand-title { font-size: 1.1rem; }
  .rbcc-footer-brand-subtitle { font-size: 1rem; }
  .rbcc-footer-copy,
  .rbcc-footer-menu a,
  .rbcc-footer-newsletter__title { font-size: 0.75rem; line-height: 1.55; }
  .rbcc-footer-brand .rbcc-footer-divider { display: none; }
  .rbcc-footer-heading { font-size: 0.625rem; letter-spacing: 0.2em; }
  .rbcc-footer-menu { gap: 0.65rem; }
  .rbcc-footer-newsletter__field,
  .rbcc-footer-social { display: none; }
  .rbcc-footer-connect { display: none; }
  .rbcc-footer-contact {
    display: block;
  }
  .rbcc-footer-contact__address,
  .rbcc-footer-contact__link { font-size: 0.75rem; }
  .rbcc-footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.5625rem;
    margin-top: 2.75rem;
    padding-top: 0;
    border-top: 0;
    text-align: center;
  }
  .rbcc-footer-bottom p { font-size: 0.625rem; letter-spacing: 0.12em; }
}

@media (max-width: 599px) {
  .rbcc-footer-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); row-gap: 2rem; }
  .rbcc-footer-brand { grid-column: 1 / -1; }
  .rbcc-footer-connect { display: none; }
  .rbcc-footer-contact { display: block; }
  .rbcc-footer-bottom { margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); }
}
