/* Catalogue and R&D page components (package E). Catalogue cards, filter chips and the toolbar live in
   interior.css; this file holds the pieces only the catalogue and R&D pages load. Catalogue order is the
   HTML order (keyboard and screen-reader order match what is seen). */

.collection-catalog-group { grid-column: 1 / -1; }

/* Mindset carousel (Micro): the track scrolls; home-navigation.js drives the status and buttons. */
.micro-mindset-carousel { position: relative; }
.micro-mindset-track { scrollbar-width: none; }
.micro-mindset-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .micro-mindset-track { scroll-behavior: smooth; }
}

/* R&D: chapters open with the shared section index; the body copy uses A's .rnd-section-copy measure. */
.rnd-section-head { max-width: var(--measure-head); margin-bottom: var(--space-head); }
.rnd-section-head .section-title { margin-bottom: 0; }
.rnd-section-head .rnd-section-copy { margin-top: 1rem; }
.rnd-section-body { min-width: 0; max-width: 100%; }
.rnd-section-copy { color: var(--ink-3); }
.rnd-section-body > .rnd-section-copy { margin-bottom: 2.5rem; }
.rnd-section-copy > p + p { margin-top: 1.25rem; }

/* Five-item grids (R&D lanes and gates): two wide cards over three, never a lone orphan card. */
.grid-five { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--grid-gap); }
@media (min-width: 768px) and (max-width: 1023px) {
    .grid-five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid-five > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
    .grid-five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .grid-five > :nth-child(-n+2) { grid-column: span 3; }
    .grid-five > :nth-child(n+3) { grid-column: span 2; }
}
