/* Galoba foundation section (#team.gb) — compact redesign 2026-11. Scoped. */
#team.gb{--g:#cc9f52;--ink:#1c1208;color:#1c1208;position:relative;display:block;text-align:left;overflow:hidden}
#team.gb .rv{opacity:0;transform:translateY(24px);transition:opacity .9s cubic-bezier(.2,.8,.2,1),transform .9s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--d,0)*1ms)}
#team.gb.in .rv{opacity:1;transform:none}
#team.gb .gallery{display:contents}
#team.gb .gallery-itembig{display:block;width:100%;height:100%;object-fit:cover;filter:none;border-radius:0;box-shadow:none;transform:none;cursor:zoom-in}
#team.gb .ph{position:relative;margin:0;overflow:hidden}
#team.gb .ph::after{content:"";position:absolute;right:10px;bottom:10px;width:30px;height:30px;border-radius:50%;background:rgba(28,18,8,.85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6dfa8' stroke-width='2'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center/16px no-repeat;pointer-events:none;transition:transform .3s}
#team.gb .ph:hover::after{transform:scale(1.15)}
#team.gb .ph img{transition:transform .6s cubic-bezier(.2,.8,.2,1)}
#team.gb .ph:hover img{transform:scale(1.05)}
#team.gb *{box-sizing:border-box}
#team.gb h4{margin:0;color:#1c1208;text-transform:none;font:600 clamp(16px,1.45vw,21px)/1.35 'BPG Nino Elite Exp Caps',serif;font-size:clamp(16px,1.45vw,21px)!important}
#team.gb .tx{margin:0;columns:2;column-gap:34px;text-align:left;font:600 clamp(13.5px,1vw,15.5px)/1.65 'BPG Nino Elite Exp Caps',serif;font-size:clamp(13.5px,1vw,15.5px)!important}
#team.gb .tx::first-letter{float:left;font-size:3.1em!important;line-height:.8;padding:.08em .1em 0 0;color:var(--g)}
#team.gb .logo{display:block;height:84px;width:auto;transition:filter .3s,transform .3s}
#team.gb .logo:hover{filter:grayscale(1);transform:scale(1.03)}
.lightbox img{border-radius:0}
@media (prefers-reduced-motion:reduce){#team.gb .rv{opacity:1;transform:none}}

#team.gb{padding:54px 6vw;background:linear-gradient(180deg,#fff,#fbf3e6)}
#team.gb .wrap{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,340px) minmax(0,1fr);gap:clamp(30px,5vw,64px);align-items:center}
#team.gb .stack{position:relative;height:340px}
#team.gb .ph{position:absolute;padding:8px;background:#fff;border:1px solid rgba(204,159,82,.7);box-shadow:0 22px 38px -16px rgba(70,40,5,.5);overflow:visible}
#team.gb .ph img{height:auto;aspect-ratio:var(--ar);object-fit:cover}
#team.gb .ph::after{right:16px;bottom:16px}
#team.gb .ph.a{--ar:4/3.3;width:62%;left:0;top:6px;transform:rotate(-3.5deg);z-index:1}
#team.gb .ph.b{--ar:3/2;width:68%;right:0;bottom:6px;transform:rotate(3deg);z-index:2}
#team.gb.in .ph.a,#team.gb.in .ph.b{transform:none}
#team.gb.in .ph.a{transform:rotate(-3.5deg)}#team.gb.in .ph.b{transform:rotate(3deg)}
#team.gb .ph{transition:transform .5s cubic-bezier(.2,.8,.2,1),opacity .9s,box-shadow .4s}
#team.gb.in .ph:hover{transform:rotate(0) scale(1.04);z-index:3;box-shadow:0 30px 50px -16px rgba(70,40,5,.6)}
#team.gb .ph img{overflow:hidden}
#team.gb .head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:14px}
#team.gb .rule{display:flex;align-items:center;gap:12px;margin:0 0 16px}
#team.gb .rule::before{content:"";height:1px;width:70px;background:var(--g)}
#team.gb .rule i{width:7px;height:7px;background:var(--g);transform:rotate(45deg)}
#team.gb .rule::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--g),transparent)}
#team.gb .logo{height:64px;flex:none}
@media (max-width:860px){
 #team.gb{padding:40px 6vw}
 #team.gb .wrap{grid-template-columns:1fr;gap:26px}
 #team.gb .stack{height:min(64vw,300px);max-width:420px;margin:0 auto;width:100%}
 #team.gb .tx{columns:1}
 #team.gb .head{flex-direction:column-reverse;align-items:flex-start;gap:10px}
}
