/*
 * HOSAENA public maison footer.
 *
 * Isolated CSS for the existing four-band `.ho-footer` in footer.php.
 * Does not change copy, destinations, MailPoet, or functions.php.
 */

.site-footer.ho-footer {
  --ho-footer-page: var(--ho-color-calacatta, #f7f3ec);
  --ho-footer-ink: var(--ho-color-nero, #0f0f0f);
  --ho-footer-gold: var(--ho-color-gold, #c1a46d);
  --ho-footer-border: var(--ho-color-border, rgba(15, 15, 15, 0.08));
  --ho-footer-muted: var(--ho-text-muted, rgba(15, 15, 15, 0.62));
  --ho-footer-subtle: var(--ho-text-subtle, rgba(15, 15, 15, 0.46));
  --ho-footer-max: var(--ho-container-max, 90rem);
  --ho-footer-pad: var(--ho-container-pad, clamp(1.25rem, 4vw, 5rem));

  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: var(--ho-footer-page);
  color: var(--ho-footer-ink);
  font-family: var(--ho-font-body, "Lato", sans-serif);
  border-top: 1px solid var(--ho-footer-border);
  -webkit-font-smoothing: antialiased;
}

.site-footer.ho-footer *,
.site-footer.ho-footer *::before,
.site-footer.ho-footer *::after {
  box-sizing: border-box;
}

body:has(footer.ho-footer) .ast-small-footer,
body:has(footer.ho-footer) .ast-footer-overlay {
  display: none !important;
}

.ho-footer__inner {
  width: min(100%, var(--ho-footer-max));
  margin-inline: auto;
  padding-inline: var(--ho-footer-pad);
}

.ho-footer__house-mark,
.ho-footer__navigator,
.ho-footer__presence,
.ho-footer__basement {
  width: 100%;
  background: var(--ho-footer-page);
}

.ho-footer__house-mark {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.ho-footer__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.ho-footer__ornament-rule {
  display: block;
  width: clamp(2.5rem, 8vw, 5.5rem);
  height: 1px;
  background: rgba(193, 164, 109, 0.55);
}

.ho-footer__ornament-diamond {
  width: 0.4rem;
  height: 0.4rem;
  background: var(--ho-footer-gold);
  transform: rotate(45deg);
}

.ho-footer__wordmark {
  margin: 0;
  font-family: var(--ho-font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.32em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--ho-footer-ink);
}

.ho-footer__identity {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ho-footer-muted);
}

.ho-footer__identity--am {
  font-family: var(--ho-font-amharic, "Noto Sans Ethiopic", sans-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--ho-footer-ink);
}

.ho-footer__statement {
  max-width: 36rem;
  margin: 1rem auto 0;
  font-family: var(--ho-font-display, "Cormorant Garamond", serif);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ho-footer-muted);
}

.ho-footer__volume {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ho-footer-gold);
}

.ho-footer__volume-am {
  font-family: var(--ho-font-amharic, "Noto Sans Ethiopic", sans-serif);
  letter-spacing: 0.08em;
  text-transform: none;
}

.ho-footer__volume-phon {
  text-transform: none;
  letter-spacing: 0.08em;
}

.ho-footer__navigator {
  padding-block: clamp(2rem, 4vw, 3.25rem);
  border-top: 1px solid var(--ho-footer-border);
}

.ho-footer__directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ho-footer__column-title {
  margin: 0 0 1rem;
  font-family: var(--ho-font-body, "Lato", sans-serif);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--ho-footer-gold);
}

.ho-footer__column-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.ho-footer__nav-link {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--ho-footer-ink);
  text-decoration: none;
}

.ho-footer__nav-link--caps {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

.ho-footer__nav-link:hover,
.ho-footer__nav-link:focus-visible {
  color: var(--ho-footer-gold);
  opacity: 1;
}

.ho-footer__nav-link:focus-visible,
.ho-footer__channel-value:focus-visible,
.ho-footer__policy-link:focus-visible,
.ho-footer__newsletter-submit:focus-visible,
.ho-footer__newsletter-field:focus-visible {
  outline: 1px solid rgba(193, 164, 109, 0.7);
  outline-offset: 0.2rem;
}

.ho-footer__nav-link--placeholder,
.ho-footer__channel-value--placeholder,
.ho-footer__policy-link--placeholder {
  color: var(--ho-footer-subtle);
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.ho-footer__nav-link-sub {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--ho-footer-subtle);
}

.ho-footer__newsletter {
  margin-top: 1.25rem;
}

.ho-footer__newsletter-invite {
  margin: 0 0 0.85rem;
  max-width: 18rem;
  font-family: var(--ho-font-display, "Cormorant Garamond", serif);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ho-footer-muted);
}

.ho-footer__newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ho-footer__newsletter-row {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 22rem;
  border-bottom: 1px solid var(--ho-footer-ink);
}

.ho-footer__newsletter-field {
  flex: 1 1 auto;
  min-height: 2.75rem;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ho-footer-ink);
  font-size: 0.9375rem;
  appearance: none;
}

.ho-footer__newsletter-field::placeholder {
  color: var(--ho-footer-subtle);
}

.ho-footer__newsletter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  padding: 0 0.15rem 0 0.75rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ho-footer-ink);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.ho-footer__newsletter-submit:hover,
.ho-footer__newsletter-submit:focus-visible {
  color: var(--ho-footer-gold);
}

.ho-footer__newsletter-status {
  margin: 0.6rem 0 0;
  font-size: 0.8125rem;
  color: var(--ho-footer-muted);
}

.ho-footer__newsletter-status--error {
  color: var(--ho-footer-ink);
}

.ho-footer__presence {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--ho-footer-border);
}

.ho-footer__presence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.ho-footer__presence-divider {
  width: 1px;
  min-height: 6rem;
  align-self: stretch;
  background: var(--ho-footer-border);
}

.ho-footer__channel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.12rem;
  margin-bottom: 1rem;
}

.ho-footer__channel-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ho-footer-subtle);
}

.ho-footer__channel-value {
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--ho-footer-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ho-footer__channel-value:hover,
.ho-footer__channel-value:focus-visible {
  color: var(--ho-footer-gold);
  opacity: 1;
}

.ho-footer__channel-note {
  font-size: 0.8125rem;
  color: var(--ho-footer-subtle);
}

.ho-footer__address {
  display: grid;
  gap: 0.2rem;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.ho-footer__address-meta {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--ho-footer-gold);
}

.ho-footer__quote {
  margin: 1.1rem 0 0;
  max-width: 22rem;
  font-family: var(--ho-font-display, "Cormorant Garamond", serif);
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--ho-footer-muted);
}

.ho-footer__basement {
  padding-block: 1.25rem 1.75rem;
  border-top: 1px solid var(--ho-footer-border);
  background: var(--ho-footer-page);
  color: var(--ho-footer-ink);
}

.ho-footer__basement-row {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  gap: 1rem 1.5rem;
  align-items: center;
}

.ho-footer__copyright,
.ho-footer__policy-link,
.ho-footer__provenance {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ho-footer-subtle);
}

.ho-footer__policies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.1rem;
}

.ho-footer__policy-link {
  text-decoration: none;
}

.ho-footer__policy-link:hover,
.ho-footer__policy-link:focus-visible {
  color: var(--ho-footer-ink);
  opacity: 1;
}

.ho-footer__provenance {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ho-footer__amharic-close {
  font-family: var(--ho-font-amharic, "Noto Sans Ethiopic", sans-serif);
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ho-footer-ink);
}

.ho-footer__provenance-rule {
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: rgba(193, 164, 109, 0.55);
}

@media (max-width: 1024px) {
  .ho-footer__directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ho-footer__presence-grid {
    grid-template-columns: 1fr;
  }

  .ho-footer__presence-divider {
    width: 100%;
    min-height: 0;
    height: 1px;
  }

  .ho-footer__basement-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

@media (max-width: 767px) {
  .ho-footer__directory {
    grid-template-columns: 1fr;
  }
}
