/* Shared client identity. No customer-specific assets or fixed brand colors. */
.crisp-customer-menu .icon-btn,.crisp-customer-menu .filter-square,.crisp-customer-menu .page-back,
.crisp-customer-menu .fav,.crisp-customer-menu .reference-section-icon{color:var(--primary)}
.crisp-customer-menu .cat-visual{color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--surface))}
.crisp-customer-menu .cat.active{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
.crisp-customer-menu .cat.active .cat-visual{background:transparent;color:var(--on-primary)}
.crisp-customer-menu .product{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--primary) 5%,var(--surface)));border-color:color-mix(in srgb,var(--primary) 14%,var(--surface))}
.crisp-customer-menu .bottom-nav{background:color-mix(in srgb,var(--surface) 96%,transparent);border-color:color-mix(in srgb,var(--primary) 14%,var(--surface))}
.crisp-customer-menu .bottom-nav a.active{color:var(--primary)}
.crisp-customer-menu :is(.icon-btn,.filter-square,.page-back,.fav,.cat,.details,.reference-see-all){transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s}
.crisp-customer-menu :is(button,a):focus-visible{outline:3px solid var(--primary);outline-offset:4px}
@media(hover:hover){
 .crisp-customer-menu :is(.icon-btn,.filter-square,.page-back,.fav,.cat:not(.active),.reference-see-all):hover{background:color-mix(in srgb,var(--primary) 10%,var(--surface));border-color:color-mix(in srgb,var(--primary) 45%,var(--surface));box-shadow:0 6px 18px color-mix(in srgb,var(--primary) 12%,transparent)}
 .crisp-customer-menu .details:not(:disabled):hover{box-shadow:0 6px 18px color-mix(in srgb,var(--primary) 25%,transparent);transform:translateY(-1px)}
}
body.reference-home .reference-masthead{position:relative;isolation:isolate;padding:0 14px 8px;margin:0 -14px;overflow:hidden;border-radius:0 0 24px 24px}
body.reference-home .reference-masthead.is-illustrated{min-height:var(--masthead-height);display:flex;flex-direction:column;justify-content:space-between}
body.reference-home .reference-masthead-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-3;pointer-events:none}
body.reference-home .reference-masthead.is-illustrated::before{content:"";position:absolute;inset:0;z-index:-2;background:color-mix(in srgb,var(--bg) calc(var(--masthead-overlay)*100%),transparent);pointer-events:none}
body.reference-home .reference-masthead.is-illustrated::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,transparent 40%,color-mix(in srgb,var(--bg) 50%,transparent) 70%,var(--bg) 100%);pointer-events:none}
body.reference-home .reference-header-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
body.reference-home .reference-brand{max-width:none;min-width:0;gap:8px;align-items:center}
body.reference-home .reference-brand-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
body.reference-home .reference-logo-square{display:grid;place-items:center;width:56px;height:56px;flex:0 0 56px;padding:5px;border-radius:14px;background:var(--surface);border:1px solid var(--line);box-shadow:0 5px 16px color-mix(in srgb,var(--primary) 10%,transparent);overflow:hidden;color:var(--primary);font-size:1.3rem;font-weight:900}
body.reference-home .reference-logo-square .reference-client-logo{width:100%;height:100%;object-fit:contain}
body.reference-home .reference-masthead.is-illustrated .reference-header{flex:1;display:flex;flex-direction:column}
body.reference-home .reference-branch{padding:12px 14px;border-radius:18px;background:color-mix(in srgb,var(--surface) 94%,transparent);color:var(--text);border:1px solid var(--line)}
body.reference-home .reference-client-tagline{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text);font-size:.7rem;font-weight:700}
body.reference-home .reference-greeting{margin:0 0 14px;text-align:center}
body.reference-home .reference-greeting h1{font-size:1.15rem;letter-spacing:normal;line-height:1.5}
body.reference-home .reference-greeting p{margin-top:4px;font-size:.95rem;color:var(--text)}
body.reference-home .reference-masthead .tools{position:relative;margin-bottom:4px}
body.reference-home .cat.active{background:var(--primary);color:var(--on-primary)}
body.reference-home .cat.active .cat-visual{background:transparent;color:var(--on-primary)}
body.reference-home .reference-section-icon{color:var(--primary)}
@media(max-width:700px){
 body.reference-home .reference-actions .icon-btn{width:44px;height:44px;border-radius:14px;font-size:1.15rem}
 body.reference-home .reference-branch{font-size:.78rem;padding:10px;max-width:100%}
 body.reference-home .reference-logo-square{width:44px;height:44px;flex-basis:44px;border-radius:12px;padding:4px}
 body.reference-home .reference-header-row{gap:8px}
 body.reference-home .reference-client-tagline{font-size:.6rem}
  body.reference-home .reference-greeting h1{font-size:1rem}
 body.reference-home .reference-greeting p{font-size:.82rem}
}
@media(prefers-reduced-motion:reduce){.crisp-customer-menu :is(.icon-btn,.filter-square,.page-back,.fav,.cat,.details,.reference-see-all){transition:none!important}}

/* Keep all editable copy off the uploaded hero artwork. */
body.reference-home .reference-welcome-strip{margin:14px 0 0;padding:14px 16px;text-align:start;border:1px solid var(--line);border-radius:18px;background:color-mix(in srgb,var(--surface) 95%,var(--bg))}
body.reference-home .reference-welcome-strip h1{font-size:1.1rem;line-height:1.6;margin:0}
body.reference-home .reference-welcome-strip p{font-size:.85rem;line-height:1.7;margin:4px 0 0;color:var(--muted)}
body.reference-home .reference-welcome-strip .reference-welcome-tagline{color:var(--primary);font-size:.75rem;font-weight:700}
