/* Shared by the initial HTML, public React pages, and the static system map.
   Keep these rules scoped: staff themes must not change contact readability. */
#site-contact {
  background: #233424;
  color: #f4f0e8;
  padding: 32px 24px;
  font: 400 14px/1.8 "Plus Jakarta Sans", sans-serif;
}
#site-contact * { box-sizing: border-box; }
#site-contact .site-footer-inner {
  max-width: 1184px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
  align-items: center;
}
#site-contact #site-contact-copy {
  max-width: 48ch;
  margin: 0;
  font: inherit;
  overflow-wrap: break-word;
}
#site-contact [id^="site-footer-"]:empty { display: none; }
#site-contact .site-footer-inner:has(.site-footer-brand) {
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 20px;
}
#site-contact .site-footer-inner:has(.site-footer-brand) #site-contact-copy {
  align-self: center;
  justify-self: center;
  text-align: center;
}
#site-contact #site-footer-navigation { grid-column: 1 / -1; }
#site-contact a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
}
#site-contact a:hover { color: #dfbd80; text-decoration: underline; text-underline-offset: 4px; }
#site-contact a:focus-visible { outline: 2px solid #dfbd80; outline-offset: 4px; border-radius: 2px; }
#site-contact .site-footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
#site-contact .site-footer-brand img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
#site-contact .site-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}
#site-contact .site-footer-links a { font-size: 14px; }
#site-contact #site-footer-utilities { grid-column: 1 / -1; }
#site-contact .site-footer-utilities {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  color: #c2c9bf;
  /* Leave room for the existing fixed wine-advisor launcher. */
  padding-right: 112px;
}
#site-contact small { font: inherit; font-size: 12px; }
#site-contact .site-footer-utilities nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 12px; }
@media (max-width: 767px) {
  #site-contact:has(.site-footer-brand) { padding-bottom: 96px; }
}
@media (min-width: 1024px) {
  #site-contact { padding: 36px 48px 20px; }
  #site-contact .site-footer-inner:has(.site-footer-brand) {
    grid-template-columns: 160px minmax(0, 1fr) 240px;
    gap: 20px 40px;
  }
  #site-contact #site-footer-navigation { grid-column: auto; }
  #site-contact .site-footer-brand img { width: 96px; height: 96px; }
}
