.nss-hub__release-note {
  align-self: end;
  border-top: 1px solid var(--editorial-ink);
  border-bottom: 1px solid var(--editorial-line);
  padding-block: var(--space-lg);
}

.nss-hub__release-mark {
  display: flex;
  gap: var(--space-sm);
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

.nss-hub__release-year {
  color: var(--editorial-accent);
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
}

.nss-hub__release-index {
  color: var(--editorial-faint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nss-hub__release-list {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--editorial-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.nss-hub__release-list strong {
  color: var(--editorial-ink);
  font-weight: 700;
}

.nss-hub__byline {
  display: grid;
  gap: var(--space-xs);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--editorial-line);
  color: var(--editorial-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.nss-hub__byline a {
  color: var(--editorial-ink);
  font-weight: 700;
  text-decoration-color: var(--editorial-accent);
  text-underline-offset: 0.2em;
}

.nss-hub__primer,
.nss-hub__method,
.nss-hub__related {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--editorial-line);
}

.nss-hub__principles {
  display: grid;
  gap: var(--space-xl);
  margin: var(--space-2xl) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: principle;
}

.nss-hub__principles li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
  align-content: start;
  counter-increment: principle;
}

.nss-hub__principles li::before {
  content: "0" counter(principle);
  color: var(--editorial-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nss-hub__principles h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.3;
}

.nss-hub__principles p {
  margin: var(--space-xs) 0 0;
  color: var(--editorial-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.nss-hub__directory {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: oklch(97% 0.014 45);
  border-top: 1px solid var(--editorial-line);
}

.nss-hub__directory-head {
  display: grid;
  gap: var(--space-xl);
  align-items: end;
}

.nss-hub__count {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}

.nss-hub__search {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-block: var(--space-lg);
  border-top: 1px solid var(--editorial-ink);
  border-bottom: 1px solid var(--editorial-line);
}

.nss-hub__search-field {
  display: grid;
  gap: var(--space-xs);
}

.nss-hub__search-field label,
.nss-hub__filter legend {
  color: var(--editorial-ink);
  font-size: 0.875rem;
  font-weight: 750;
}

.nss-hub__search-input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  border-bottom: 2px solid var(--editorial-ink);
}

.nss-hub__search input[type="search"] {
  width: 100%;
  min-height: 3.25rem;
  border: 0;
  border-radius: 0;
  padding: var(--space-sm) 0;
  color: var(--editorial-ink);
  background: transparent;
  font: inherit;
  font-size: 1.125rem;
}

.nss-hub__search input[type="search"]::placeholder {
  color: var(--editorial-muted);
  opacity: 1;
}

.nss-hub__search input[type="search"]:focus-visible {
  outline-offset: 4px;
}

.nss-hub__clear {
  min-width: 3.25rem;
  min-height: 3.25rem;
  border: 0;
  padding: var(--space-xs);
  color: var(--editorial-accent-dark);
  background: transparent;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 750;
  cursor: pointer;
}

.nss-hub__search-help {
  margin: 0;
  color: var(--editorial-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.nss-hub__filter {
  display: grid;
  gap: var(--space-sm);
  margin: 0;
  border: 0;
  padding: 0;
}

.nss-hub__filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.nss-hub__filter label {
  position: relative;
}

.nss-hub__filter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.nss-hub__filter span {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  border: 1px solid var(--editorial-line);
  padding: 0.6rem 0.85rem;
  color: var(--editorial-muted);
  background: var(--editorial-paper);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}

.nss-hub__filter input:checked + span {
  color: var(--editorial-paper);
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
}

.nss-hub__filter input:focus-visible + span {
  outline: 3px solid var(--editorial-focus);
  outline-offset: 3px;
}

.nss-hub__directory-panel {
  margin-top: var(--space-3xl);
}

.nss-hub__directory-panel + .nss-hub__directory-panel {
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--editorial-ink);
}

.nss-hub__panel-heading {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.nss-hub__panel-heading h3 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.nss-hub__panel-heading p {
  max-width: 65ch;
  margin: 0;
  color: var(--editorial-muted);
  line-height: 1.65;
}

.nss-hub__groups {
  column-count: 1;
  column-gap: var(--space-2xl);
}

.nss-hub__group {
  break-inside: avoid;
  margin-bottom: var(--space-2xl);
}

.nss-hub__group-heading {
  display: flex;
  gap: var(--space-sm);
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--editorial-ink);
  font-size: 1rem;
  font-weight: 780;
  line-height: 1.35;
}

.nss-hub__group-code,
.nss-hub__group-size {
  color: var(--editorial-faint);
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nss-hub__empty {
  display: grid;
  gap: var(--space-sm);
  justify-items: start;
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-paper);
}

.nss-hub__empty h3,
.nss-hub__empty p {
  margin: 0;
}

.nss-hub__empty h3 {
  font-size: 1.25rem;
  font-weight: 760;
}

.nss-hub__empty p {
  max-width: 55ch;
  color: var(--editorial-muted);
  line-height: 1.6;
}

.nss-hub__method-grid {
  display: grid;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
}

.nss-hub__method-copy {
  max-width: 68ch;
  color: var(--editorial-muted);
  line-height: 1.7;
}

.nss-hub__method-copy p {
  margin: 0;
}

.nss-hub__method-copy p + p {
  margin-top: var(--space-md);
}

.nss-hub__method-copy strong,
.nss-hub__method-copy a {
  color: var(--editorial-ink);
}

.nss-hub__method-copy a {
  text-decoration-color: var(--editorial-accent);
  text-underline-offset: 0.2em;
}

.nss-hub__details {
  border-top: 1px solid var(--editorial-ink);
}

.nss-hub__details details {
  border-bottom: 1px solid var(--editorial-line);
}

.nss-hub__details summary {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  padding-block: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 740;
  cursor: pointer;
  list-style: none;
}

.nss-hub__details summary::-webkit-details-marker {
  display: none;
}

.nss-hub__details summary::after {
  content: "+";
  color: var(--editorial-accent-dark);
  font-size: 1.25rem;
  font-weight: 500;
}

.nss-hub__details details[open] summary::after {
  content: "−";
}

.nss-hub__details details p {
  max-width: 64ch;
  margin: 0;
  padding: 0 0 var(--space-lg);
  color: var(--editorial-muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

.nss-hub__citation {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px solid var(--editorial-line);
  background: var(--editorial-wash);
}

.nss-hub__citation p {
  margin: var(--space-xs) 0 0;
  color: var(--editorial-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.nss-hub__citation-status {
  min-height: 1.25rem;
  margin-top: var(--space-xs) !important;
  color: var(--editorial-accent-dark) !important;
  font-weight: 700;
}

.nss-hub__related-grid {
  display: grid;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.nss-hub__related-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--editorial-ink);
}

.nss-hub__related-list li {
  border-bottom: 1px solid var(--editorial-line);
}

.nss-hub__related-list a {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  color: var(--editorial-ink);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.nss-hub__related-list a:hover {
  color: var(--editorial-accent-dark);
}

.nss-hub__cta {
  display: grid;
  gap: var(--space-md);
  align-content: start;
  padding: var(--space-xl);
  color: var(--editorial-paper);
  background: var(--editorial-ink);
}

.nss-hub__cta h3,
.nss-hub__cta p {
  margin: 0;
}

.nss-hub__cta h3 {
  font-size: 1.5rem;
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.nss-hub__cta p {
  color: oklch(86% 0.015 24);
  line-height: 1.65;
}

.nss-hub__cta .nss-hub__button {
  justify-self: start;
  color: var(--editorial-ink);
  background: var(--editorial-paper);
  border-color: var(--editorial-paper);
}

.nss-hub__cta .nss-hub__button:hover {
  color: var(--editorial-paper);
  background: var(--editorial-accent-dark);
  border-color: var(--editorial-accent-dark);
}

@media (min-width: 42rem) {
  .nss-hub__hero {
    grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.75fr);
  }

  .nss-hub__principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nss-hub__groups {
    column-count: 2;
  }

  .nss-hub__search {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 0.8fr);
    align-items: end;
  }

  .nss-hub__directory-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .nss-hub__count {
    text-align: right;
  }

  .nss-hub__method-grid,
  .nss-hub__related-grid {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  }
}

@media (min-width: 68rem) {
  .nss-hub__shell {
    width: min(100% - 4rem, 76rem);
  }

  .nss-hub__principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nss-hub__principles li + li {
    padding-left: var(--space-xl);
    border-left: 1px solid var(--editorial-line);
  }

  .nss-hub__groups {
    column-count: 3;
  }

  .nss-hub__hero {
    gap: clamp(3rem, 8vw, 6rem);
  }
}

@media (max-width: 41.99rem) {
  .nss-hub__hero {
    gap: var(--space-xl);
  }

  .nss-hub__release-note {
    padding-block: var(--space-md);
  }

  .nss-hub__release-mark {
    margin-bottom: var(--space-lg);
  }

  .nss-hub__directory {
    padding-top: var(--space-2xl);
  }
}

@media (hover: hover) and (pointer: fine) {
  .nss-hub__button,
  .nss-hub__text-button,
  .nss-hub__filter span {
    min-height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nss-hub__link-arrow {
    transition: none;
  }
}

@media print {
  .nss-hub {
    --editorial-paper: oklch(99.5% 0.003 54);
    --editorial-ink: oklch(12% 0.01 24);
    background: var(--editorial-paper);
  }

  .nss-hub__no-print,
  .nss-hub__masthead nav,
  .nss-hub__search,
  .nss-hub__cta {
    display: none !important;
  }

  .nss-hub__hero {
    grid-template-columns: 1fr 15rem;
    padding-block: 2rem;
  }

  .nss-hub__directory,
  .nss-hub__primer,
  .nss-hub__method,
  .nss-hub__related {
    padding-block: 2rem;
  }

  .nss-hub__groups {
    column-count: 3;
    column-gap: 1.5rem;
  }

  .nss-hub__directory-link {
    min-height: 0;
    padding-block: 0.35rem;
  }

  .nss-hub__link-arrow {
    display: none;
  }

  .nss-hub__details details:not([open]) > :not(summary) {
    display: block;
  }

  .nss-hub__details summary::after {
    display: none;
  }
}
