/* Generated hub pages: the landing shelf, a project page, and every site. */

.landing, .project, .sites { padding-block: clamp(3rem, 8vw, 6rem) 0; }

.landing-title { font-size: clamp(2.8rem, 8.5vw, 6.75rem); margin: 0 0 1.75rem; }
.project-name { font-size: clamp(3rem, 9vw, 6.5rem); margin: 0 0 1.25rem; }
.sites h1 { font-size: clamp(3rem, 9vw, 6.5rem); margin-bottom: 1.25rem; }

.shelf-title {
  font-size: 1.05rem; font-weight: 650; letter-spacing: 0;
  font-variation-settings: "wdth" 100;
  margin: 4rem 0 0; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink);
}

/* the shelf: one row per project */
.shelf { list-style: none; margin: 0; padding: 0; }
.shelf li {
  display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr) auto;
  align-items: baseline; gap: 0.25rem 2rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--rule);
}
.shelf-name {
  font-variation-settings: "wdth" 125; font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.025em; line-height: 1.05; text-decoration: none;
}
.shelf-name:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.shelf-summary { color: var(--graphite); font-size: 1.02rem; line-height: 1.5; }
.shelf-meta { font-size: 0.875rem; color: var(--graphite); white-space: nowrap; }
@media (max-width: 52rem) { .shelf li { grid-template-columns: 1fr; } }

/* lists of pitches, documents and links */
.items, .links { list-style: none; margin: 0; padding: 0; }
.items li, .links li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--rule);
}
.items a, .links a { font-weight: 600; }
.items .meta { color: var(--graphite); font-size: 0.875rem; }
.items.recent li .meta { min-width: 6.5rem; }
.links .status { margin-left: auto; }
.empty { margin-top: 3rem; color: var(--graphite); }

/* every site */
.table-wrap { overflow-x: auto; margin-top: 0.5rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th { text-align: left; font-weight: 600; color: var(--graphite); padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
td { padding: 0.6rem 1rem 0.6rem 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
td:first-child { white-space: nowrap; }
