/* ============================================================
   Aahana shared footer styles
   Loaded by every page. Pairs with footer.js, which writes the
   footer markup. Edit here to restyle the footer site-wide.
   ============================================================ */

.section-footer {
  background: #4A3328;
  padding: 80px 48px 40px;
}

.section-footer .footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(243,236,228,.08);
  align-items: start;
}
.section-footer .footer-top > div:not(:first-child) { padding-top: 40px; }

/* Same masked-mark technique as the nav, so both share one cached
   aahana-mark.svg and both take their colour from the surrounding text. */
.section-footer .footer-brand-lockup {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 20px;
}
.section-footer .footer-brand-words { display: flex; flex-direction: column; }
.section-footer .footer-mark,
.section-footer .footer-rule { display: none; }
@supports ((-webkit-mask-image: url(aahana-mark.svg)) or (mask-image: url(aahana-mark.svg))) {
  .section-footer .footer-mark {
    display: block;
    width: 38px; height: 40px; flex: 0 0 auto;
    background-color: var(--ivory);
    -webkit-mask: url(aahana-mark.svg) no-repeat center / contain;
            mask: url(aahana-mark.svg) no-repeat center / contain;
  }
  .section-footer .footer-rule {
    display: block;
    width: 0.5px; height: 34px; flex: 0 0 auto;
    background: rgba(243,236,228,.28);
  }
}
.section-footer .footer-brand-name {
  font-family: 'Contralto Big', 'Contralto Big Black', 'Cairo', sans-serif;
  font-size: 28px; font-weight: 200;
  color: var(--ivory);
  letter-spacing: .22em;
}
.section-footer .footer-brand-sub {
  font-size: 9px; font-weight: 300;
  letter-spacing: .2em; text-transform: uppercase;
  color: #F2DACE;
  margin-top: 4px;
}
.section-footer .footer-name-meaning {
  font-size: 12px; font-weight: 300;
  color: rgba(243, 236, 228, 0.59);
  letter-spacing: .08em;
  font-style: italic;
  margin-bottom: 14px;
}
.section-footer .footer-tagline {
  font-size: 13px; font-weight: 300; line-height: 1.8;
  color: rgba(243,236,228,.7);
  max-width: 240px;
}

.section-footer .footer-col h2, .section-footer .footer-col h5 {
  font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #F2DACE;
  margin-bottom: 16px;
}
.section-footer .footer-col p,
.section-footer .footer-col address {
  font-size: 13px; font-weight: 300; line-height: 1.9;
  color: rgba(243,236,228,.8);
  font-style: normal;
}
.section-footer .footer-col a { color: rgba(243,236,228,.8); text-decoration: none; }
.section-footer .footer-col a:hover { color: var(--ivory); }
/* Says what is behind the Care instructions link before anyone
   clicks it, so the password page is not a surprise. */
.section-footer .footer-note {
  display: block; font-size: 12px; line-height: 1.7;
  color: rgba(243,236,228,.68);   /* 5.5:1 on the footer ground. At .55 it was 4.2:1 and failed AA. */
}

.section-footer .footer-waitlist {
  background: none; border: none; cursor: pointer;
  font-family: 'Cairo', sans-serif;
  font-size: 13px; font-weight: 300;
  color: rgba(243,236,228,.8);
  padding: 0; text-align: left;
}
.section-footer .footer-waitlist:hover { color: var(--ivory); }

.section-footer .footer-bottom {
  padding-top: 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.section-footer .footer-legal {
  font-size: 10px; font-weight: 300;
  color: rgba(243,236,228,.66);
  letter-spacing: .06em;
}
.section-footer .footer-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--terra); opacity: .4;
}

@media (max-width: 1180px) {
  .section-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .section-footer { padding: 56px 24px 32px; }
  .section-footer .footer-top { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .section-footer .footer-top > div:not(:first-child) { padding-top: 0; }
  .section-footer .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

.footer-legal-link {
      color: inherit; text-decoration: none;
      border-bottom: 0.5px solid transparent;
      transition: border-color .2s, color .2s;
    }
.footer-legal-link:hover { color: var(--ivory); border-bottom-color: rgba(237,232,225,.5); }

.section-footer .footer-ig {
      display: inline-flex; align-items: center; gap: 8px;
    }
.section-footer .ig-glyph {
      width: 14px; height: 14px; flex: none;
      fill: none; stroke: currentColor; stroke-width: 1.7;
      overflow: visible;
    }
.section-footer .ig-glyph .ig-dot { fill: currentColor; stroke: none; }

/* Target size (WCAG 2.2 AA, 2.5.8). The legal links sit at 10px type in the
   footer bar; padding grows the pointer target to 24px without moving the
   text or changing the bar's height. */
.section-footer .footer-legal-link,
.section-footer .footer-waitlist,
.section-footer .footer-col a,
.section-footer .footer-ig {
  display: inline-block;
  padding-block: 6px;
  min-height: 24px;
}
.section-footer .footer-ig { display: inline-flex; align-items: center; }
