/* Multi-page shell and hub cards */
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.hub-card { position: relative; display: flex; flex-direction: column; gap: 7px; min-height: 172px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); color: var(--ink); text-decoration: none; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.hub-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.hub-card h3 { font-family: var(--serif); font-size: 22px; letter-spacing: -.02em; margin: 2px 0 0; }
.hub-card p { color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.hub-ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.hub-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hub-go { margin-top: auto; color: var(--accent); font-family: var(--mono); font-size: 11px; }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.site-nav a[aria-current="false"] { color: inherit; }
/* Compact page header (the section itself still supplies the kicker and h2) */
main > .section:first-child { padding-top: 34px; }
@media (max-width: 680px) {
  main > .section:first-child { padding-top: 26px; }
  .hub-card { min-height: 150px; padding: 14px; }
  .hub-card h3 { font-size: 20px; }
}
