/* N. Card motion and the "What we cover" list. Design-system tokens: 400 ms enter (slow), 150 ms hover and press
   (fast: motion.md rule 1 runs every hover at fast), 50 ms stagger, the "out" curve. The list's reveal is 250 ms, the design partner's number.
   Reduced motion: opacity only, no movement, no stagger. The Owners room strip is untouched. */
:root { --n-out:cubic-bezier(0.4, 1, 0.6, 1); }

/* Enter: each set fades in and rises 12 px once, cards 50 ms apart, at most six steps. */
@media (prefers-reduced-motion:no-preference){
  html.n-ready .n-set:not(.n-in) > * { opacity:0; transform:translateY(12px); }
  html.n-ready .n-set > * { transition:opacity 400ms var(--n-out) calc(var(--n-i, 0) * 50ms), transform 400ms var(--n-out) calc(var(--n-i, 0) * 50ms), translate 150ms var(--n-out), scale 150ms var(--n-out), box-shadow 150ms var(--n-out); }
  html.n-ready .n-set.n-in > * { opacity:1; transform:none; }
}
@media (prefers-reduced-motion:reduce){
  html.n-ready .n-set:not(.n-in) > * { opacity:0; }
  html.n-ready .n-set > * { transition:opacity 400ms linear; }
}

/* Hover, desktop pointers only: lift 2 px with a deeper shadow; photos zoom 1.03 inside their frame; arrows nudge
   3 px (the same nudge t.css gives news and careers rows); investor logos go from muted to full. Uses the
   translate/scale properties so the enter transform is untouched. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  :is(.rlist a, .bts-strip figure) { transition:translate 150ms var(--n-out), box-shadow 150ms var(--n-out), scale 150ms var(--n-out); }
  :is(.advisors .adv, .news3 .nc, .roles > a, .rlist a, .bts-strip figure):hover { translate:0 -2px; box-shadow:0 10px 28px rgb(9 15 21 / .14); }
  :is(.team .person .photo, .bts-strip figure) { overflow:hidden; }
  :is(.team .person .photo img, .bts-strip figure img) { transition:scale 150ms var(--n-out); }
  :is(.team .person:hover .photo img, .bts-strip figure:hover img) { scale:1.03; }
  .go { display:inline-block; transition:translate 150ms var(--n-out); }
  :is(a, .nc):hover .go { translate:3px 0; }
  .backer-row img { opacity:.72; transition:opacity 150ms var(--n-out); }
  .backer-row li:hover img { opacity:1; }
}

/* Press, touch: cards dip to 0.98 for the tap. */
@media (hover:none) and (prefers-reduced-motion:no-preference){
  :is(.advisors .adv, .news3 .nc, .roles > a, .rlist a, .bts-strip figure, .team .person):active { scale:.98; }
}

/* "What we cover": the answer opens by grid rows (no measuring) on design-motion's accordion recipe, the base token
   on the in-out curve (it moves while visible); + turns to x on the base token; the open title is brand blue;
   one row open at a time (n.js). */
html.r5.acc-d .pts2 li > div > span { display:grid !important; grid-template-rows:0fr; margin-top:0; transition:grid-template-rows var(--pc-duration-base, 200ms) var(--pc-ease-in-out, cubic-bezier(0.4, 0, 0.2, 1)), margin-top var(--pc-duration-base, 200ms) var(--pc-ease-in-out, cubic-bezier(0.4, 0, 0.2, 1)); }
html.r5.acc-d .pts2 li > div > span > span { overflow:hidden; min-height:0; }
html.r5.acc-d .pts2 li.open > div > span { grid-template-rows:1fr; margin-top:10px; font-size:1rem; max-width:40rem; }
html.r5.acc-d .pts2 li b::after { transition:transform var(--dur-base) var(--n-out); }
html.r5.acc-d .pts2 li b { transition:color var(--pc-duration-base, 200ms) var(--n-out); }
html.r5.acc-d .pts2 li.open b { color:var(--b600); }
html.r5.acc-d .pts2 li:focus-visible { outline:2px solid var(--b600); outline-offset:4px; border-radius:4px; }
@media (prefers-reduced-motion:reduce){
  html.r5.acc-d .pts2 li > div > span { transition:none; }
  html.r5.acc-d .pts2 li > div > span > span { opacity:0; transition:opacity 150ms linear; }
  html.r5.acc-d .pts2 li.open > div > span > span { opacity:1; }
  html.r5.acc-d .pts2 li b::after { transition:none; }
}
