/*
 * Mac Philosophy family lockup
 * Master Caps mark → divider → current capability.
 * The master mark is the compact, persistent route back to the product home.
 */
.family-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.family-home-mark {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  text-decoration: none;
}

.family-home-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 8px rgba(23, 19, 28, .18));
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), filter .18s cubic-bezier(.2, .8, .2, 1);
}

.family-home-mark:hover img {
  transform: translateY(-1px);
  filter: drop-shadow(0 9px 10px rgba(23, 19, 28, .22));
}

.family-home-mark:active img { transform: translateY(0) scale(.97); }

.family-divider {
  width: 1px;
  height: 29px;
  flex: 0 0 auto;
  background: rgba(23, 19, 28, .17);
}

.family-lockup .brand,
.family-lockup .product-brand,
.family-lockup .guide-identity {
  min-width: 0;
}

/* The master mark replaces the explanatory return control in child-page chrome. */
.site-header .return-anchor,
.guide-header > .return-anchor,
.pdf-site .hero-actions .return-anchor,
.pdf-site .status-actions .return-anchor,
.hero-actions .button-primary.return-anchor,
.host-actions .button-primary.return-anchor {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .family-home-mark img { transition: none; }
  .family-home-mark:hover img,
  .family-home-mark:active img { transform: none; }
}

@media (max-width: 640px) {
  .family-lockup { gap: 8px; }
  .family-home-mark { width: 36px; height: 36px; border-radius: 10px; }
  .family-divider { height: 24px; }
}

@media (forced-colors: active) {
  .family-home-mark { outline: 1px solid CanvasText; }
  .family-divider { background: CanvasText; }
}
