/* ============================================
   Factor+ CASE BENTO  (homepage, serious mode)
   This case study's own tiles. The shared frame (columns, tiles, title,
   device) is styles.css, CASE BENTO. Scope every rule to .bento-factor-plus.
   ============================================ */
/* Layout differs from RAF's two columns: a row of two over one full-width
   tile, from the reference board (1907 x 1650): 1260 + 610 wide by 710
   tall, then 905 tall. --h is each item's share along its own axis. */
html:not(.fun-mode) .case-bento.bento-factor-plus { flex-direction: column; }
.bento-factor-plus .bento-row {
  display: flex;
  gap: var(--bento-gap);
  flex: var(--h) 1 0;
  min-height: 0;
}
.bento-factor-plus .bento-row > .bento-tile { min-width: 0; }
.bento-factor-plus:hover .fp-film > video { transform: scale(1.03); }

/* the join flow on iPhone, centred on the porch: the shared device
   (styles.css, CASE BENTO), scaled to its stage by index.html. 19% of the
   tile wide makes it 84% of the tile tall, 8% down. */
.bento-factor-plus .fp-stage {
  left: 40.5%;
  top: 8%;
  width: 19%;
}
.bento-factor-plus .fp-stage .bento-device {
  box-shadow: 0 30px 60px -20px rgba(30, 15, 0, 0.55);
}

/* the wordmark, bottom right, as on the board */
.bento-factor-plus .bento-tile > img.fp-logo {
  inset: auto;
  right: 2.2%;
  bottom: 3.9%;
  width: 21%;
  height: auto;
  object-fit: fill;
  z-index: 1;
}
