/* ==========================================================================
   NR-BOS product tour — real screenshots, dedicated page (/work/nr-bos/).
   Loaded only on pageKey == "nrBos" (see base.njk). Namespaced under
   .nrb- so it can't collide with the rest of the site. Uses the site's
   real brand tokens (--navy/--gold/--paper/--muted/--border from
   styles.css) — no new palette introduced for this feature.
   ========================================================================== */

.nrb-scope { color: var(--charcoal); }

.nrb-back {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #855f28; /* 5.35:1 on --paper, WCAG AA — var(--gold-hover) was 2.66:1 */
  text-decoration: none;
  margin-bottom: 3rem;
}
.nrb-back:hover { text-decoration: underline; }

.nrb-block {
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border);
}
.nrb-block:first-of-type { padding-top: 0; margin-top: 0; border-top: 0; }

.nrb-block-head { max-width: 640px; margin: 0 0 1.75rem; }

.nrb-block-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0.4rem 0 0.75rem;
}

.nrb-block-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
}

.nrb-shots {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
.nrb-shots-2 { grid-template-columns: repeat(2, 1fr); }
.nrb-shots-3 { grid-template-columns: repeat(3, 1fr); }

.nrb-frame {
  margin: 0;
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 12px 32px -18px rgba(0,0,0,0.35));
  border: 1px solid var(--border);
}
.nrb-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
}
.nrb-frame-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.nrb-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}
.nrb-frame figcaption {
  padding: 0.6rem 0.9rem 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  background: var(--navy);
}

@media (max-width: 860px) {
  .nrb-shots-2, .nrb-shots-3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .nrb-scope * { transition: none !important; animation: none !important; }
}
