/* ==========================================================================
   Services A–Z directory. 10,000 functions, no filters — Manny is the filter.
   Loaded alongside immersive-storefront.css and impollez.css.
   ========================================================================== */

.az-hero {
  padding: clamp(84px, 12vw, 170px) 6vw clamp(34px, 5vw, 64px);
  max-width: var(--shell); margin: auto;
  border-bottom: 1px solid var(--line);
}
.az-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem); line-height: .95;
  letter-spacing: -.045em; margin: .16em 0 .34em;
}
.az-hero .eyebrow {
  color: var(--gold); font-weight: 850; letter-spacing: .16em; font-size: .78rem;
  text-transform: uppercase; margin: 0;
}
.az-hero p { font-size: clamp(1rem, 1.7vw, 1.3rem); line-height: 1.55; max-width: 68ch; color: var(--muted); }
.az-hero .primary,
footer .primary {
  display: inline-block; margin-top: 16px; text-decoration: none; color: #fff;
  font-weight: 850; padding: 13px 24px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-deep), #c2a34d);
  box-shadow: 0 0 34px rgba(215, 184, 87, .15);
}

/* Sticky A–Z rail. Deliberately the only navigation aid: there is no search
   box and no filter, because the point of the directory is scale, not triage. */
nav.az {
  position: sticky; top: 58px; z-index: 10;
  display: flex; flex-wrap: wrap; gap: 4px; justify-content: center;
  padding: 12px 4vw; background: rgba(7, 9, 7, .9);
  backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
}
nav.az a {
  display: grid; place-items: center; min-width: 34px; height: 34px;
  border-radius: 9px; color: var(--muted); text-decoration: none;
  font-weight: 800; font-size: .9rem; border: 1px solid transparent;
}
nav.az a:hover, nav.az a:focus-visible { color: var(--paper); border-color: var(--gold); }
/* Eight letters have no functions yet. They stay in the rail so the A–Z is
   still an A–Z, but they are not links to nowhere. */
nav.az .off {
  display: grid; place-items: center; min-width: 34px; height: 34px;
  border-radius: 9px; color: var(--muted); opacity: .3;
  font-weight: 800; font-size: .9rem; cursor: default;
}

main section { max-width: var(--shell); margin: auto; padding: 46px 6vw 10px; scroll-margin-top: 118px; }
main section h2 {
  font-size: clamp(3rem, 9vw, 7rem); line-height: .82; letter-spacing: -.06em;
  color: var(--gold); margin: 0 0 22px; opacity: .92;
}

ul.function-list {
  list-style: none; margin: 0; padding: 0;
  columns: 4 240px; column-gap: 34px;
}
ul.function-list li {
  break-inside: avoid; padding: 9px 0; font-size: .95rem; color: var(--muted);
  border-bottom: 1px solid var(--line-soft); line-height: 1.4;
}

footer {
  max-width: var(--shell); margin: auto; text-align: center;
  padding: clamp(70px, 10vw, 140px) 6vw;
}
footer h2 {
  font-size: clamp(1.9rem, 4.4vw, 4rem); line-height: 1;
  letter-spacing: -.045em; margin: 0 0 .3em;
}
footer p { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }

@media (max-width: 900px) {
  nav.az { top: 54px; padding: 8px 3vw; gap: 3px; }
  /* 26 cells must not take three sticky rows out of a phone screen. */
  nav.az a, nav.az .off { min-width: 27px; height: 29px; font-size: .78rem; border-radius: 8px; }
  ul.function-list { columns: 1; }
  main section { padding: 34px 5vw 6px; scroll-margin-top: 108px; }
}
