/* Shared Invest Hamilton County footer — the one organizational footer that
   closes every Alex page. Self-contained: brand values carry var() fallbacks so
   it renders correctly whether or not the host app defines Alex/IHC tokens.
   Vanilla, no build step, print-safe, reduced-motion safe. */

.ihc-footer{
  --ihcf-ink: var(--brand-deep, #2b235e);
  --ihcf-bg:  var(--ihc-footer-bg, #2b235e);
  --ihcf-fg:  #f4f2fb;
  --ihcf-muted: rgba(244,242,251,.72);
  --ihcf-rule: rgba(244,242,251,.18);
  --ihcf-accent: var(--brand, #5EAEE0);
  background: var(--ihcf-bg);
  color: var(--ihcf-fg);
  font-family: var(--font-body, "Lora", Georgia, serif);
  margin-top: auto;
}
.ihc-footer *{ box-sizing: border-box; }

.ihc-footer__inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 2.5rem;
}

.ihc-footer__wordmark{
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ihcf-fg);
  line-height: 1.1;
}
.ihc-footer__org{
  font-family: var(--font-display, "Montserrat", system-ui, sans-serif);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: .2px;
}
.ihc-footer__tagline{
  font-style: italic;
  color: var(--ihcf-muted);
  font-size: .95rem;
  margin-top: .28rem;
}
.ihc-footer__note{
  color: var(--ihcf-muted);
  font-size: .9rem;
  max-width: 42ch;
  margin: 1rem 0 0;
}
.ihc-footer__contact{
  font-style: normal;
  margin-top: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .92rem;
}
.ihc-footer__contact span{ color: var(--ihcf-muted); }
.ihc-footer__contact a{ color: var(--ihcf-fg); text-decoration: none; }
.ihc-footer__contact a:hover,
.ihc-footer__contact a:focus-visible{ text-decoration: underline; }

.ihc-footer__social{
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .9rem;
}
.ihc-footer__social a{
  color: var(--ihcf-fg);
  text-decoration: none;
  font-family: var(--font-display, "Montserrat", system-ui, sans-serif);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .3px;
  border-bottom: 2px solid transparent;
  padding-bottom: 1px;
}
.ihc-footer__social a:hover,
.ihc-footer__social a:focus-visible{ border-bottom-color: var(--ihcf-accent); }

.ihc-footer__explore,
.ihc-footer__app{ min-width: 0; }
.ihc-footer__h{
  font-family: var(--font-display, "Montserrat", system-ui, sans-serif);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ihcf-muted);
  margin: 0 0 .9rem;
}
.ihc-footer__explore ul,
.ihc-footer__app ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.ihc-footer__explore a,
.ihc-footer__app a{
  color: var(--ihcf-fg);
  text-decoration: none;
  font-size: .94rem;
}
.ihc-footer__explore a:hover,
.ihc-footer__explore a:focus-visible,
.ihc-footer__app a:hover,
.ihc-footer__app a:focus-visible{ color: var(--ihcf-accent); }

.ihc-footer__bottom{
  border-top: 1px solid var(--ihcf-rule);
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  font-size: .84rem;
  color: var(--ihcf-muted);
}
.ihc-footer__legal{ display: inline-flex; gap: 1.2rem; flex-wrap: wrap; }
.ihc-footer__legal a{ color: var(--ihcf-muted); text-decoration: none; }
.ihc-footer__legal a:hover,
.ihc-footer__legal a:focus-visible{ color: var(--ihcf-fg); text-decoration: underline; }

@media (max-width: 860px){
  .ihc-footer__inner{ grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ihc-footer__brandcol{ grid-column: 1 / -1; }
}
@media (max-width: 520px){
  .ihc-footer__inner{ grid-template-columns: 1fr; padding: 2.25rem 1.25rem 1.5rem; }
  .ihc-footer__bottom{ justify-content: flex-start; }
}
@media print{ .ihc-footer{ display: none !important; } }
