/* Project ZETA — PROMETHEUS "Selected Archives": Austin's original handwritten research notes (v009).
   Loaded only by research/prometheus/index.html; every rule is scoped to .prom-notes* or the notes dialog.
   Three photographs in their supplied order, full image always shown (no cropping, no object-fit: cover),
   original aspect ratios kept by the width/height attributes. No headings or captions (by request). */

.prom-notes {
  list-style: none; margin: var(--space-7) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: var(--space-5);
  justify-items: center; align-items: start;
}
.prom-notes > li { margin: 0; width: 100%; max-width: 34rem; }
@media (min-width: 40rem) { .prom-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .prom-notes > li { max-width: none; } }
@media (min-width: 64rem) { .prom-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.2vw, 2.25rem); max-width: 84rem; margin-inline: auto; } }

.prom-notes__link {
  display: block; padding: 0.5rem; background: var(--ivory-50);
  border: 1px solid var(--gold-500); box-shadow: 0 1px 2px rgba(16, 29, 56, .06), 0 6px 18px rgba(16, 29, 56, .07);
  cursor: zoom-in; transition: border-color .2s ease, box-shadow .2s ease;
}
.prom-notes__link:hover { border-color: var(--navy-900); box-shadow: 0 2px 4px rgba(16, 29, 56, .08), 0 10px 28px rgba(16, 29, 56, .1); }
.prom-notes__link:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.prom-notes__link img { display: block; width: 100%; height: auto; }

/* ---------- Enlarged viewer (same modal pattern as the application and source-code viewers) ---------- */
.prom-notes__count { flex: 1 1 auto; margin: 0; text-align: center; font-size: 0.95rem; color: #e3e5ec; letter-spacing: 0.06em; }
.prom-notes__tools { display: flex; align-items: center; gap: 0.4rem; }
.prom-notes__btn {
  font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; min-width: 2.5rem; min-height: 2.25rem;
  padding: 0.35rem 0.75rem; border-radius: 999px; border: 1px solid var(--gold-300);
  background: transparent; color: var(--gold-300); white-space: nowrap;
}
.prom-notes__btn:hover { background: rgba(214, 189, 127, .14); }
.prom-notes__btn[aria-pressed="true"] { background: var(--gold-300); color: var(--navy-950); }
.prom-notes__btn:disabled { opacity: .45; cursor: default; }
.prom-modal--notes .prom-modal__body { overflow: auto; background: #1b2643; overscroll-behavior: contain; }
.prom-notes__canvas { min-width: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; padding: 1rem; box-sizing: border-box; }
.prom-notes__full { display: block; flex: none; background: #fff; box-shadow: 0 6px 30px rgba(0, 0, 0, .35); cursor: zoom-in; }
.prom-modal--notes.is-zoomed .prom-notes__canvas { align-items: flex-start; justify-content: flex-start; width: max-content; height: max-content; }
.prom-modal--notes.is-zoomed .prom-notes__full { cursor: zoom-out; margin: auto; }

@media (max-width: 40rem) {
  .prom-notes__count { order: 3; flex-basis: 100%; text-align: left; font-size: 0.85rem; }
  .prom-notes__tools { margin-left: auto; }
  .prom-notes__btn { padding-inline: 0.6rem; }
  .prom-notes__canvas { padding: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) { .prom-notes__link { transition: none; } }
@media (forced-colors: active) { .prom-notes__link, .prom-notes__btn { border: 1px solid ButtonText; } }
@media print {
  .prom-modal--notes { display: none !important; }
  .prom-notes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prom-notes__link { box-shadow: none; }
}
