/* The home page, /events and the five named collections. */

/* One day of the agenda: a date block beside that day's listings. */
.nyc-day { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.nyc-main .nyc-day-head { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0; font-size: inherit; font-weight: 400; }
.nyc-day-stack { display: flex; flex-direction: column; gap: 4px; }
.nyc-day-wd, .nyc-day-mon { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.nyc-day-num { font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.nyc-day-head .nyc-badge { margin-top: 6px; }

.nyc-events { display: flex; flex-direction: column; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nyc-event { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; }
.nyc-event-time { font-size: 0.8125rem; color: var(--label); white-space: nowrap; }
.nyc-event-body { min-width: 0; }
.nyc-event-link { color: var(--fg); font-size: 0.9375rem; font-weight: 600; line-height: 1.4; text-decoration: none; text-wrap: pretty; }
.nyc-event-link::after { content: ''; position: absolute; inset: 0; }
.nyc-event:hover .nyc-event-link, .nyc-event:focus-within .nyc-event-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.nyc-event-where { display: flex; flex-wrap: wrap; gap: 2px 8px; margin-top: 6px; font-size: 0.8125rem; color: var(--muted); }
.nyc-event-where .nyc-fact { display: inline-flex; gap: 8px; }
.nyc-event-labels { margin-top: 10px; }
.nyc-event-access { font-size: 0.75rem; color: var(--label); white-space: nowrap; }

/* /events and the named collections */
.nyc-collection-head .nyc-title { margin-bottom: 12px; }
.nyc-count { margin-top: 36px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 0.8125rem; color: var(--muted); }
.nyc-results > .nyc-empty, .nyc-results > .nyc-alert { margin-top: 24px; }
.nyc-collection-head + .nyc-results > .nyc-count { margin-top: 32px; }

/* the home page */
.nyc-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 64px; }
.nyc-hero-copy { flex: 1 1 32rem; min-width: 0; max-width: 44rem; }
.nyc-hero .eyebrow { margin-bottom: 20px; }
.nyc-hero .nyc-title { margin: 0; font-size: clamp(1.875rem, 5vw, 2.75rem); line-height: 1.12; }
.nyc-hero .lede { margin-top: 24px; font-size: 0.9375rem; line-height: 1.65; }
.nyc-stats { flex: 0 1 24rem; min-width: 17.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.nyc-stat { padding: 18px 16px; }
.nyc-stat + .nyc-stat { border-left: 1px solid var(--border); }
.nyc-stat dt { font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.nyc-stat dd { margin: 8px 0 0; font-size: 1.875rem; line-height: 1; font-variant-numeric: tabular-nums; }

.nyc-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 40px; }
.nyc-jump-label { margin-right: 6px; font-size: 0.75rem; color: var(--muted); }
.nyc-jump-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(250, 246, 235, 0.3); border-radius: var(--radius); color: var(--fg); font-size: 0.8125rem; text-decoration: none; }
.nyc-jump-link:hover { border-color: var(--accent); color: var(--accent); }
.nyc-jump-count { font-size: 0.75rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.nyc-jump-none .nyc-jump-count { color: var(--placeholder); }
.nyc-hero + .nyc-jump + .nyc-asof { margin-top: 20px; }

.nyc-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.nyc-main .nyc-section-head h2 { margin: 0; font-size: 1.125rem; font-weight: 400; }
.nyc-section-head a { font-size: 0.8125rem; }
.nyc-home-upcoming, .nyc-browse { margin-top: 72px; }
.nyc-home-empty { margin-top: 24px; max-width: 40rem; }
.nyc-main .nyc-browse h2 { margin: 0 0 20px; font-size: 1.125rem; font-weight: 400; }
.nyc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.nyc-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.nyc-card:hover, .nyc-card:focus-within { border-color: rgba(250, 246, 235, 0.3); }
.nyc-card-link { color: var(--fg); font-size: 1.25rem; text-decoration: none; }
.nyc-card-link::after { content: ''; position: absolute; inset: 0; }
.nyc-card-note { font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.nyc-card-cta { margin-top: auto; font-size: 0.8125rem; color: var(--accent); }

@media (max-width: 639px) {
  .nyc-day { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 12px 16px; }
  .nyc-day-num { font-size: 1.625rem; }
  .nyc-event { grid-template-columns: minmax(0, 1fr); }
  .nyc-event-where { flex-direction: column; }
  .nyc-event-where .nyc-sep { display: none; }
  .nyc-stats { flex-basis: 100%; min-width: 0; }
  .nyc-stat dd { font-size: 1.5rem; }
}
