/* Avakode Hub — /about/ (lane 2.3, plan §4 «/about»). Loaded on that page only (inc/pages.php). The rhythm of the family pages:
   a 72 px bar, the rail on the left (--hub-gut), sections split by hairlines, type first; no shadows, no glass.
   Nothing here is a number, a face or a client: what the page says is in page-about.php. */

.hub-about__intro { position: relative; padding: 88px 0 56px; }
body.hub-page .hub-about__title {
  max-width: 14ch; margin: 16px 0 0; overflow-wrap: break-word;
  font-size: clamp(54px, 8.4vw, 124px); line-height: .94; letter-spacing: -.035em;
}
.hub-about__lead { max-width: 54ch; margin: 28px 0 0; color: var(--fg-2); font-size: 19px; }

.hub-about__sec { padding: 56px 0 64px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hub-bar) + 16px); }
body.hub-page .hub-about__h2 { margin: 0 0 32px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; letter-spacing: -.03em; }

/* what we do: a row per family — name with its code, the checked intro, the count */
.hub-about__fams { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.hub-about__fam {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr) auto; gap: 8px 40px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.hub-about__fam-link { font: 500 28px/1.1 var(--display); letter-spacing: -.02em; transition: color .4s var(--ease); }
.hub-about__fam-link i { display: inline-block; margin-left: 6px; font-style: normal; color: var(--signal-hot); transition: transform .5s var(--ease); }
.hub-about__fam-link:hover { color: var(--signal-hot); }
.hub-about__fam-link:hover i { transform: translateX(4px); }
.hub-about__fam-code { display: block; margin-bottom: 6px; font: 500 11px/1.6 var(--mono); letter-spacing: .22em; color: var(--muted); }
.hub-about__fam-intro { grid-column: 2; grid-row: 1; margin: 0; color: var(--fg-2); font-size: 16px; }
.hub-about__fam-count { grid-column: 3; grid-row: 1; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--signal-hot); white-space: nowrap; }

/* the seller and the contacts: a definition list split by hairlines */
.hub-about__facts { margin: 0; border-top: 1px solid var(--line); }
.hub-about__fact { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.hub-about__fact dt { font: 500 11px/1.8 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.hub-about__fact dd { margin: 0; color: var(--fg); font-size: 17px; overflow-wrap: anywhere; }
.hub-about__fact dd[data-seller] { max-width: 44ch; font-size: 19px; }
.hub-about__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
body.hub-page .hub-about__facts a { color: var(--signal-hot); text-decoration: underline; text-decoration-color: rgba(169,139,255,.4); text-underline-offset: 4px; transition: text-decoration-color .4s var(--ease); }
body.hub-page .hub-about__facts a:hover { text-decoration-color: var(--signal-hot); }

@media (max-width: 960px) {
  .hub-about__intro { padding: 56px 0 40px; }
  .hub-about__lead { margin-top: 20px; font-size: 17px; }
  .hub-about__sec { padding: 40px 0 48px; }
  .hub-about__fam { grid-template-columns: minmax(0, 1fr) auto; }
  .hub-about__fam-intro { grid-column: 1 / -1; grid-row: 2; }
  .hub-about__fam-count { grid-column: 2; grid-row: 1; }
}
@media (max-width: 560px) {
  body.hub-page .hub-about__title { font-size: clamp(40px, 11vw, 54px); }
  /* the family name keeps its arrow on one line (at 360 px the arrow dropped under «Compliance» and «WordPress», visual audit 5.7):
     the name takes what it needs, the count gets the rest and stays at the right edge */
  .hub-about__fam { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
  .hub-about__fam-link { font-size: clamp(24px, 7.2vw, 28px); white-space: nowrap; }
  .hub-about__fam-count { justify-self: end; }
  .hub-about__fact { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hub-about__fact dd[data-seller] { font-size: 17px; }
}
