/* Homepage business portfolio */
.aj-home .aj-ecosystem {
 padding-block: clamp(54px, 7vw, 105px);
 background: radial-gradient(ellipse at 50% 18%, #263a5c, #111f36 55%, #090f1e);
 border-block: 1px solid #b59056;
 color: #fff8eb;
}
.aj-home .aj-ecosystem-inner { display: block; max-width: 1100px; }
.aj-home .aj-ecosystem-copy { text-align: center; }
.aj-home .aj-ecosystem-copy h2 { font-size: clamp(35px, 4vw, 58px); }
.aj-group-portfolio { --group-rule: #c6a16a; margin-top: 34px; }
.aj-group-parent {
 position: relative;
 display: grid;
 justify-items: center;
 padding-bottom: clamp(43px, 5vw, 66px);
 text-align: center;
}
.aj-group-parent a {
 display: grid;
 place-items: center;
 position: relative;
 isolation: isolate;
 overflow: hidden;
 width: clamp(170px, 20vw, 252px);
 aspect-ratio: 1;
 border-radius: 50%;
 border: 1px solid #d6b984;
 background: #fffdf9;
 box-shadow: 0 0 0 8px #d6b98422, 0 0 0 17px #d6b98410, 0 14px 42px #05091480;
}
.aj-group-parent img {
 display: block;
 width: 94%;
 height: auto;
 mix-blend-mode: multiply;
}
.aj-group-parent::after,
.aj-group-companies::before {
 content: "";
 position: absolute;
 background: var(--group-rule);
}
.aj-group-parent::after {
 width: 1px;
 height: clamp(31px, 4vw, 54px);
 inset: auto auto 0 50%;
 transform-origin: top;
}
.aj-group-companies {
 position: relative;
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 --columns: 6;
 --gap: 14px;
 gap: var(--gap);
 list-style: none;
 margin: 0;
 padding: 18px 0 0;
}
.aj-group-companies::before {
 inset: 0 0 auto;
 height: 1px;
 background: linear-gradient(90deg, transparent, var(--group-rule) 18%, var(--group-rule) 82%, transparent);
}
.aj-group-companies li {
 flex: 0 0 calc((100% - (var(--columns) - 1) * var(--gap)) / var(--columns));
 min-width: 0;
}
.aj-group-companies .aj-logo-tile {
 width: 100%;
 height: clamp(88px, 8vw, 112px);
 padding: 10px 14px;
 overflow: hidden;
 background: linear-gradient(155deg, #fff, #fbf8f2);
 border: 1px solid #d8c49f;
 border-radius: 9px;
 box-shadow: 0 8px 20px #05091438;
}
.aj-group-companies .aj-logo-tile img {
 width: 100%;
 height: 100%;
 max-height: 80px;
 mix-blend-mode: multiply;
 transform: scale(var(--logo-scale, 1));
}
.aj-group-companies a:hover,
.aj-group-companies a:focus-visible { border-color: var(--group-rule); }
.aj-home .aj-ecosystem .aj-company-more { align-self: center; margin-top: 30px; color: #f3d8a4; }
@media (prefers-reduced-motion: no-preference) {
 .aj-group-companies a { transition: border-color .2s ease, box-shadow .2s ease; }
 .aj-group-companies a:hover { box-shadow: 0 0 0 2px #c6a16a44, 0 10px 22px #05091460; }
 .aj-company-side.aj-visible .aj-group-parent a {
  animation: aj-group-medallion .75s cubic-bezier(.2,.8,.25,1) both;
 }
 .aj-company-side.aj-visible .aj-group-parent a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 37%, #fff9 50%, transparent 63%);
  pointer-events: none;
  animation: aj-group-shine .85s .38s ease-out both;
 }
 .aj-group-parent a:focus-visible { animation: none !important; }

 .aj-company-side.aj-visible .aj-group-parent::after {
  animation: aj-group-line-down .35s .22s ease-out both;
 }
 .aj-company-side.aj-visible .aj-group-companies::before {
  animation: aj-group-line-across .45s .48s ease-out both;
 }
 .aj-company-side.aj-visible .aj-group-companies li {
  animation: aj-group-enter .44s ease-out both;
  animation-delay: calc(.57s + var(--company-order) * 45ms);
 }
 .aj-group-companies li:focus-within { animation: none !important; }
}
@keyframes aj-group-medallion {
 from { opacity: 0; transform: scale(.89); }
 to { opacity: 1; transform: scale(1); }
}
@keyframes aj-group-shine {
 from { transform: translateX(-100%); }
 to { transform: translateX(100%); }
}
@keyframes aj-group-enter {
 from { opacity: 0; transform: translateY(12px); }
 to { opacity: 1; transform: translateY(0); }
}
@keyframes aj-group-line-down { from { transform: scaleY(0); } }
@keyframes aj-group-line-across { from { transform: scaleX(0); } }
@media (max-width: 1000px) {
 .aj-group-companies { --columns: 4; }
}
@media (max-width: 760px) {
 .aj-group-companies { --columns: 2; }
}

/* Hide links to retired Ventures page injected by AJ Page Manager.
   WordPress menu entries are filtered in functions.php. */
.site-header .nav a[href*="/business-portfolio"],
.aj-footer a[href*="/business-portfolio"] { display:none!important; }
