/* RGG-local projection, typography and interactive previews. */
.brand-galaxy { position:absolute; inset:0; z-index:2; pointer-events:none; }
.brand-plane { position:absolute; left:50%; top:50%; padding:8px; border:0; border-radius:5px; background:transparent; color:inherit; font:inherit; text-align:center; cursor:pointer; pointer-events:none; touch-action:manipulation; opacity:0; transform-origin:center; }
.brand-plane:focus-visible { outline:1px solid #c6cec8; outline-offset:4px; }
.brand-mark { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; user-select:none; }
/* Centered text, invisible project boxes and vignettes never swallow logo input. */
.design-hero[data-active-project="retail-group"] .project-entry,
#retail-group,#retail-group *,.rgg-messages,.rgg-message { pointer-events:none; }
.rgg-central-logo { display:block; width:clamp(140px,18vw,245px); height:auto; margin:0 auto; object-fit:contain; }
.rgg-identity { transform:none; }
#retail-group.rgg-fixed { z-index:5; width:max-content; max-width:90vw; transform:translate3d(var(--rgg-identity-x,0px),var(--rgg-identity-y,0px),var(--rgg-identity-z,-2400px)) translate(-50%,-50%); translate:none; rotate:none; animation:none; opacity:var(--rgg-identity-opacity,0); filter:blur(var(--rgg-identity-blur,0px))!important; will-change:transform,opacity; }
.rgg-messages { position:absolute; inset:0; z-index:5; }
.rgg-message { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:max-content; max-width:90vw; margin:0; text-align:center; font-family:var(--font-family,inherit); font-weight:600; line-height:1.4; color:#f0f0e9; opacity:0; text-shadow:0 2px 22px #090b0b; }
.rgg-message span,.rgg-message strong { display:block; }
.rgg-message::before { content:''; position:absolute; z-index:-1; inset:-36px -40px; background:radial-gradient(ellipse,#090b0bf0 0%,#090b0b80 45%,transparent 72%); pointer-events:none; }
.rgg-message-label { font-size:clamp(22px,2.5vw,36px); font-weight:500; }
.rgg-message-number { font-size:clamp(104px,min(14vw,22vh),196px); line-height:1.05; font-weight:700; letter-spacing:-.045em; }
.rgg-message-caption { margin-top:10px; font-size:clamp(17px,2.5vw,36px); white-space:nowrap; }
.rgg-message--second { font-size:clamp(22px,3.7vw,52px); line-height:1.65; }
.rgg-message-number,.rgg-message--second span:first-child { color:var(--accent); }
.rgg-message--second span:first-child { font-weight:700; }
.rgg-message--second span { color:#c6cec8; white-space:nowrap; }
.brand-info-card { position:fixed; z-index:100; box-sizing:border-box; padding:0; color:#edf1ed; background:rgba(12,18,17,.96); border:1px solid #b5c6bc30; border-radius:8px; backdrop-filter:blur(8px); box-shadow:0 6px 20px #0003; opacity:0; visibility:hidden; pointer-events:none; transform:translateY(5px); transition:opacity .18s ease,transform .18s ease,visibility .18s; overflow:auto; }
.brand-info-card.is-open { opacity:var(--environment-opacity,1); visibility:visible; pointer-events:auto; transform:none; }
.brand-info-card h3 { margin:0; padding-right:20px; font-size:13px; line-height:1.45; font-weight:500; overflow-wrap:anywhere; }
.brand-info-close { position:absolute; left:5px; top:5px; width:44px; height:44px; padding:0; border:0; background:#0c1211e6; border-radius:4px; color:inherit; font-size:21px; cursor:pointer; }
.brand-info-image { display:block; max-width:100%; height:auto; object-fit:contain; border-radius:4px; margin:0; }
.brand-info-preview { display:block; position:relative; width:fit-content; max-width:100%; margin:0 auto; }
.brand-info-card .brand-info-preview { padding:0; }
.brand-info-preview[href]::after { content:'↗'; position:absolute; right:4px; top:4px; padding:2px 6px; background:#0c1211d9; border-radius:3px; color:#fff; font-size:13px; }
.brand-info-preview[href]:hover { outline:1px solid #b5c6bc80; outline-offset:3px; }
.brand-info-preview[hidden] { display:none; }
.brand-info-logo { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%) scale(2); width:clamp(24px,18%,80px); max-width:25%; height:auto; max-height:50%; object-fit:contain; pointer-events:none; background:none; border:0; border-radius:0; box-shadow:none; filter:none; padding:0; margin:0; }
.brand-info-logo[hidden] { display:none; }
.brand-info-logo[data-brand="ACCESSORIZE"] { transform:translate(-50%,-50%) scale(4); }
.brand-info-logo[data-brand="flormar"] { top:90%; }
.brand-info-logo[data-brand="SeRGeNT MaJoR"] { transform:translate(-50%,-50%) scale(3); }
.brand-info-logo[data-brand="F&F"] { transform:translate(-50%,-50%) scale(1.4); }
.brand-info-placeholder { width:100%; min-height:48px; box-sizing:border-box; border-radius:4px; margin:0 0 10px; }
.brand-info-details { min-width:0; }
.brand-info-description { margin:5px 0 0; font-size:12px; line-height:1.5; overflow-wrap:anywhere; }
.brand-info-credit { margin:6px 0 0; color:#a8b6ad; font-size:10px; line-height:1.5; }
.brand-info-links { display:flex; flex-wrap:wrap; gap:0 12px; }
.brand-info-card a { padding:8px 0; color:inherit; overflow-wrap:anywhere; }
.brand-info-card :focus-visible { outline:2px solid #a8d7bd; outline-offset:2px; }
.brand-info-placeholder { display:grid; place-items:center; padding:12px; border:1px dashed #b5c6bc30; background:linear-gradient(135deg,#19231e,#0e1512); color:#a8b6ad; font-size:11px; text-align:center; }
.brand-info-link { display:block; margin-top:8px; font-size:12px; text-decoration:underline; }
.brand-info-link[hidden],.brand-info-image[hidden],.brand-info-placeholder[hidden] { display:none; }
@media(max-width:899px) { .rgg-central-logo { width:clamp(125px,25vw,180px); } }
@media(max-width:360px) { .rgg-message-caption { font-size:15px; } .rgg-message--second { font-size:20px; } }
@media(max-height:550px) { .rgg-central-logo { width:110px; } .rgg-message-number { font-size:80px; } .rgg-message--second { font-size:clamp(20px,4vh,30px); } }
@media(prefers-reduced-motion:reduce) {
 .brand-info-card { transition:none; }
 .rgg-messages { position:relative; inset:auto; }
 .rgg-message { position:relative; left:auto; top:auto; transform:none; margin:36px auto; opacity:1!important; }
 .brand-galaxy.is-static { position:relative; inset:auto; padding:0 6vw; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:24px; }
 .brand-galaxy.is-static .brand-plane { position:relative; left:auto; top:auto; width:min(220px,38vw); height:100px; transform:none!important; filter:none!important; opacity:1!important; pointer-events:auto!important; }
}

.brand-info-close[hidden] { display:none; }
