/* Homepage footer: current Atlas identity, using the live brand token contract.
 * Scoped separately from the legacy footers on other templates. */
.nch-home-footer {
  --nch-footer-font: "Montserrat", "Figtree", sans-serif;
  --nch-footer-copy-size: .8125rem;
  --nch-footer-label-size: .625rem;
  --nch-footer-word-size: 1.25rem;
  --nch-footer-small-size: .75rem;
  --nch-footer-muted: color-mix(in srgb, var(--nch-bone) 78%, var(--nch-ink));
  --nch-footer-line: color-mix(in srgb, var(--nch-bone) 20%, var(--nch-ink));
  padding: calc(var(--nch-space) * 16) calc(var(--nch-space) * 6) calc(var(--nch-space) * 8);
  background: var(--nch-ink);
  color: var(--nch-bone);
  font-family: var(--nch-footer-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.nch-home-footer *, .nch-home-footer *::before, .nch-home-footer *::after { box-sizing: border-box; }
.nch-home-footer__grid, .nch-home-footer__bottom { max-width: var(--nch-shell); margin-inline: auto; }
.nch-home-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--nch-space) * 10); }
.nch-home-footer .nch-home-footer__logo {
  display: inline-flex; align-items: center; gap: calc(var(--nch-space) * 3);
  min-height: calc(var(--nch-space) * 11); max-width: 100%;
  color: var(--nch-bone); text-decoration: none;
}
.nch-home-footer__logo svg { flex: none; width: calc(var(--nch-space) * 10); height: calc(var(--nch-space) * 10); fill: currentColor; }
.nch-home-footer__word { display: grid; gap: var(--nch-space); line-height: 1.2; }
.nch-home-footer__word b { font-size: var(--nch-footer-label-size); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.nch-home-footer__word > span { font-size: var(--nch-footer-word-size); font-weight: 600; letter-spacing: .01em; }
.nch-home-footer__brand p {
  max-width: 34ch; margin: calc(var(--nch-space) * 5) 0 0;
  font-size: var(--nch-footer-copy-size); line-height: 1.85; color: var(--nch-footer-muted);
}
/* Team Wong contact under the brand line (2026-10-02 meeting) */
.nch-home-footer__contact { display: grid; margin-top: calc(var(--nch-space) * 5); }
.nch-home-footer__contact a {
  display: flex; align-items: center; gap: calc(var(--nch-space) * 2); min-height: calc(var(--nch-space) * 11);
  color: var(--nch-bone); font-size: var(--nch-footer-copy-size); line-height: 1.5; text-decoration: none; text-underline-offset: var(--nch-space);
}
.nch-home-footer__contact .k {
  flex: none; width: 7.5rem; font-size: var(--nch-footer-label-size); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--nch-sand);
}
@media (hover: hover) { .nch-home-footer__contact a:hover { text-decoration: underline; } }
.nch-home-footer__column h2 {
  margin: 0 0 calc(var(--nch-space) * 3); font-family: inherit;
  font-size: var(--nch-footer-label-size); font-weight: 600; line-height: 1.5;
  text-transform: uppercase; letter-spacing: .18em; color: var(--nch-sand);
}
.nch-home-footer__column a {
  display: flex; align-items: center; min-height: calc(var(--nch-space) * 11);
  padding-block: calc(var(--nch-space) * 2); color: var(--nch-bone);
  font-size: var(--nch-footer-copy-size); font-weight: 400; line-height: 1.5;
  text-decoration: none; text-underline-offset: var(--nch-space);
}
.nch-home-footer a:focus-visible { outline: 2px solid var(--nch-sand); outline-offset: var(--nch-space); }
@media (hover: hover) {
  .nch-home-footer a:hover { color: var(--nch-sand); }
  .nch-home-footer__column a:hover { text-decoration: underline; }
}
.nch-home-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: calc(var(--nch-space) * 4); margin-top: calc(var(--nch-space) * 12);
  padding-top: calc(var(--nch-space) * 6); border-top: 1px solid var(--nch-footer-line);
  font-size: var(--nch-footer-small-size); line-height: 1.7; color: var(--nch-footer-muted);
}
@media (min-width: 640px) {
  .nch-home-footer { padding-inline: calc(var(--nch-space) * 10); }
  .nch-home-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .nch-home-footer { padding-inline: calc(var(--nch-space) * 12); }
  .nch-home-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
}
