/* Collection roles use the shared RAVTN scale; legacy files retain layout,
   imagery and interaction states. Load after typography.css. */
.ravtn-type.collection-page {
  font: 400 var(--type-body)/1.75 var(--sans);
}

.ravtn-type.collection-page .eyebrow {
  font: 600 var(--type-meta)/1.5 var(--sans);
  letter-spacing: .1em;
}
.ravtn-type.collection-page .hero h1 {
  font: 400 var(--type-hero)/1.08 var(--serif);
  letter-spacing: -.025em;
  margin: 16px 0 20px;
}
.ravtn-type.collection-page .section-heading h2,
.ravtn-type.collection-page .archive-heading h2 {
  font: 400 var(--type-section)/1.15 var(--serif);
  letter-spacing: -.02em;
  margin-top: 8px;
}
.ravtn-type.collection-page .hero-copy {
  font: 400 var(--type-body)/1.7 var(--sans);
  max-width: 38ch;
}
.ravtn-type.collection-page .hero-subcopy,
.ravtn-type.collection-page .archive-heading > p {
  font: 400 var(--type-support)/1.75 var(--sans);
}
.ravtn-type.collection-page .hero-work h2,
.ravtn-type.collection-page .hero-scene figcaption p,
.ravtn-type.collection-page .theme-tile h3,
.ravtn-type.collection-page .card-title,
.ravtn-type.collection-page .related-grid .card-title,
.ravtn-type.collection-page .memory-card h3 {
  font: 600 var(--type-card)/1.4 var(--sans);
  letter-spacing: -.01em;
}
.ravtn-type.collection-page .card-title { margin-top: 8px; }
.ravtn-type.collection-page .hero-facts,
.ravtn-type.collection-page .hero-work figcaption .eyebrow,
.ravtn-type.collection-page .hero-scene figcaption .eyebrow,
.ravtn-type.collection-page .concept-label,
.ravtn-type.collection-page .concept-tag,
.ravtn-type.collection-page .theme-tile .theme-meta,
.ravtn-type.collection-page .card-topline,
.ravtn-type.collection-page .card-theme,
.ravtn-type.collection-page .view-tabs button span,
.ravtn-type.collection-page .all-themes span,
.ravtn-type.collection-page .theme-option small,
.ravtn-type.collection-page .load-more p,
.ravtn-type.collection-page .detail-facts dt,
.ravtn-type.collection-page .detail-note,
.ravtn-type.collection-page .visual-note,
.ravtn-type.collection-page .source-content .source-type,
.ravtn-type.collection-page .source-open .source-host,
.ravtn-type.collection-page .source-content .source-origin,
.ravtn-type.collection-page .detail-pagination span,
.ravtn-type.collection-page .zoom-footer,
.ravtn-type.collection-page .zoom-controls span,
.ravtn-type.collection-page footer > p {
  font: 400 var(--type-meta)/1.65 var(--sans);
}
.ravtn-type.collection-page .concept-label,
.ravtn-type.collection-page .concept-tag { white-space: normal; max-width: none; }
.ravtn-type.collection-page .card-code { font-weight: 600; letter-spacing: .03em; }
.ravtn-type.collection-page .hero-facts b {
  font: 600 var(--type-subheading)/1.35 var(--sans);
  margin-bottom: 4px;
}
.ravtn-type.collection-page .card-place,
.ravtn-type.collection-page .card-subtitle,
.ravtn-type.collection-page .detail-facts dd,
.ravtn-type.collection-page .favorites-note,
.ravtn-type.collection-page .small-note,
.ravtn-type.collection-page .small-note#saved-note,
.ravtn-type.collection-page .source-notes,
.ravtn-type.collection-page .source-facts dd,
.ravtn-type.collection-page .source-content .source-open,
.ravtn-type.collection-page .source-content .source-help,
.ravtn-type.collection-page .interpretation-note,
.ravtn-type.collection-page .about > div > p.small-note {
  font: 400 var(--type-support)/1.75 var(--sans);
}
.ravtn-type.collection-page .result-line p,
.ravtn-type.collection-page .results-bar p,
.ravtn-type.collection-page .active-filters,
.ravtn-type.collection-page .legacy-tag,
.ravtn-type.collection-page .share-fallback,
.ravtn-type.collection-page .source-copy-fallback,
.ravtn-type.collection-page .source-copy,
.ravtn-type.collection-page .source-content .date-note,
.ravtn-type.collection-page .adaptation-note p,
.ravtn-type.collection-page footer nav a {
  font: 400 13px/1.65 var(--sans);
}
.ravtn-type.collection-page .button,
.ravtn-type.collection-page .primary-link,
.ravtn-type.collection-page .text-button,
.ravtn-type.collection-page .result-line .text-button,
.ravtn-type.collection-page .section-heading > .text-button,
.ravtn-type.collection-page .theme-filter,
.ravtn-type.collection-page .filter-toggle,
.ravtn-type.collection-page .view-tabs button,
.ravtn-type.collection-page .theme-options button,
.ravtn-type.collection-page .all-themes,
.ravtn-type.collection-page .theme-option > span,
.ravtn-type.collection-page .back-button,
.ravtn-type.collection-page .enlarge,
.ravtn-type.collection-page .enlarge-button,
.ravtn-type.collection-page .zoom-controls button,
.ravtn-type.collection-page .source-notes summary,
.ravtn-type.collection-page .source-content h3,
.ravtn-type.collection-page .source-open .source-open-label {
  font: 600 var(--type-control)/1.5 var(--sans);
  letter-spacing: 0;
  min-height: 44px;
}
.ravtn-type.collection-page .source-content h3 { min-height: 0; margin: 16px 0 8px; }
.ravtn-type.collection-page .source-notes summary { line-height: 1.75; }
.ravtn-type.collection-page .source-open .source-open-label { min-height: 0; }
.ravtn-type.collection-page .searchbox input,
.ravtn-type.collection-page .filter-toolbar input,
.ravtn-type.collection-page .filter-panel select,
.ravtn-type.collection-page .share-fallback input,
.ravtn-type.collection-page .source-copy-fallback input {
  font: 400 16px/1.5 var(--sans);
}
.ravtn-type.collection-page .detail-text h1,
.ravtn-type.collection-page .detail-text h2 {
  font: 400 var(--type-page)/1.12 var(--serif);
  letter-spacing: -.025em;
  margin: 12px 0 20px;
  max-width: 20ch;
  overflow-wrap: anywhere;
}
.ravtn-type.collection-page .detail-description,
.ravtn-type.collection-page .detail-story,
.ravtn-type.collection-page .about > div > p:not(.eyebrow):not(.small-note) {
  font: 400 var(--type-body)/1.8 var(--sans);
}
.ravtn-type.collection-page .detail-related h2,
.ravtn-type.collection-page .about h2 {
  font: 400 var(--type-section)/1.2 var(--serif);
  letter-spacing: -.02em;
}
.ravtn-type.collection-page .dialog-header h2,
.ravtn-type.collection-page .zoom-topbar h2,
.ravtn-type.collection-page .empty-state h3 {
  font: 600 var(--type-subheading)/1.35 var(--sans);
  letter-spacing: -.015em;
}
.ravtn-type.collection-page .empty-state p { font: 400 var(--type-body)/1.75 var(--sans); }
.ravtn-type.collection-page .closing > p:last-child {
  font: 400 var(--type-section)/1.3 var(--serif);
  letter-spacing: -.02em;
}
.ravtn-type.collection-page .toast { font: 400 13px/1.6 var(--sans); }
.ravtn-type.collection-page .save-work { width: 44px; height: 44px; }
.ravtn-type.collection-page .hero { padding-block: 56px 64px; }
.ravtn-type.collection-page .theme-section,
.ravtn-type.collection-page .archive,
.ravtn-type.collection-page .collection,
.ravtn-type.collection-page .about { padding-block: 56px 64px; }
.ravtn-type.collection-page .section-heading { margin-bottom: 28px; }
.ravtn-type.collection-page .detail-description { max-width: 48ch; }
.ravtn-type.collection-page .detail-text,
.ravtn-type.collection-page .hero-intro { min-width: 0; }
.ravtn-type.collection-page .zoom-topbar > div { min-width: 0; }
.ravtn-type.collection-page .zoom-topbar h2 { overflow-wrap: anywhere; }
.ravtn-type.collection-page .theme-option small { margin-top: 5px; }
.ravtn-type.collection-page .detail-note,
.ravtn-type.collection-page .visual-note { margin-top: 12px; }

/* Direction icons are drawn independently of installed font glyphs. */
.ravtn-type.collection-page span[aria-hidden="true"] > svg {
  display: block;
  width: 16px;
  height: 16px;
}
.ravtn-type.collection-page .work-arrow > svg,
.ravtn-type.collection-page .scene-arrow > svg { width: 20px; height: 20px; }
.ravtn-type.collection-page svg.direction-se { transform: rotate(90deg); }
.ravtn-type.collection-page footer .type-arrow { display: inline-flex; vertical-align: middle; }

@media (max-width: 950px) {
  .ravtn-type.collection-page .hero { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ravtn-type.memory-page .hero {
    grid-template-areas: 'intro' 'scene' 'actions';
    grid-template-rows: auto;
  }
  .ravtn-type.collection-page .hero-intro { padding: 0; }
  .ravtn-type.collection-page .hero-subcopy { max-width: 52ch; }
}

@media (max-width: 640px) {
  .ravtn-type.collection-page .hero { padding-block: 28px 36px; gap: 20px; }
  .ravtn-type.collection-page .hero h1 { margin: 12px 0 20px; }
  .ravtn-type.collection-page .theme-section,
  .ravtn-type.collection-page .archive,
  .ravtn-type.collection-page .collection,
  .ravtn-type.collection-page .about { padding-block: 36px 40px; }
  .ravtn-type.collection-page .section-heading { margin-bottom: 24px; }
  .ravtn-type.collection-page .hero-work figcaption { align-items: flex-start; }
  .ravtn-type.collection-page .hero-work figcaption > div { min-width: 0; }
  .ravtn-type.collection-page .concept-label { flex: 0 0 65px; text-align: right; }
  .ravtn-type.collection-page .search-row { flex-wrap: wrap; }
  .ravtn-type.collection-page .searchbox { flex: 1 1 180px; }
  .ravtn-type.collection-page .theme-filter { flex: 1 1 120px; max-width: none; justify-content: space-between; }
  .ravtn-type.collection-page .theme-filter span { max-width: none; }
  .ravtn-type.collection-page .view-tabs { gap: 18px; flex-wrap: wrap; }
  .ravtn-type.collection-page .view-tabs button { gap: 6px; }
  .ravtn-type.collection-page .theme-options button { padding: 10px 12px; }
  .ravtn-type.collection-page .detail-actions { display: flex; flex-wrap: wrap; }
  .ravtn-type.collection-page .detail-actions .button { flex: 1 1 135px; padding: 12px; }
  .ravtn-type.collection-page .detail-topbar { gap: 10px; }
  .ravtn-type.collection-page .zoom-topbar h2 { max-width: 24ch; }
  .ravtn-type.collection-page .zoom-footer { gap: 12px; }
  .ravtn-type.collection-page .zoom-footer > p { max-width: none; }
  .ravtn-type.collection-page .about { gap: 24px; }
  .ravtn-type.collection-page .about h2 { max-width: 22ch; }
  .ravtn-type.collection-page .detail-facts { gap: 20px; }
}
