/* References inherit the site's header, footer, typeface and button system. */
body.references-page{background:#fafafa;color:#282a2b}
.references-eyebrow{display:block;font-size:10px;font-weight:500;line-height:1.5;letter-spacing:1.25px;text-transform:uppercase;color:#777d7e;margin-bottom:22px}
.reference-collection{padding-bottom:80px}
.references-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px;border-bottom:1px solid #e6e7e7}
.references-filters{display:flex;align-items:stretch;gap:30px;min-width:0}
.references-filters button{position:relative;border:0;background:none;color:#767c7e;padding:16px 0 18px;min-height:50px;font-size:13px;line-height:1.6;font-weight:400;white-space:nowrap}
.references-filters button::after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#303333;transform:scaleX(0);transition:transform .18s}
.references-filters button[aria-pressed="true"]{color:#252829;font-weight:500}
.references-filters button[aria-pressed="true"]::after{transform:scaleX(1)}
.references-filters button:hover{color:#252829}
.references-count{flex-shrink:0;margin:0;font-size:12px;line-height:1.6;color:#868b8c;font-variant-numeric:tabular-nums}
.references-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:18px;list-style:none;padding:0;margin:0}
.reference-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid #e5e7e8;border-radius:2px;padding:28px 14px 18px;transition:border-color .18s;min-height:202px}
.reference-card[hidden]{display:none}
.reference-logo{height:112px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:14px}
.reference-logo img{height:auto;width:auto;max-width:min(100%,130px);max-height:94px;object-fit:contain;filter:grayscale(1);opacity:.74;transition:opacity .18s}
.reference-logo img.wide{max-width:min(100%,136px);max-height:62px}
.reference-logo img.landscape{max-width:min(100%,128px);max-height:82px}
.reference-logo img.reverse{filter:grayscale(1) invert(1) contrast(1.4)}
.reference-logo img.silhouette{filter:brightness(0)}
.reference-card:hover{border-color:#caced0}
.reference-card:hover img{opacity:.94}
.reference-name{font-size:11px;line-height:1.65;font-weight:400;color:#6c7376;max-width:100%;margin:0;min-height:36px;display:flex;align-items:center;justify-content:center}
.references-footer .signature-invitation h2{max-width:650px}
.references-contact{width:min(620px,calc(100vw - 40px));padding:36px;border:0;border-radius:2px;max-height:calc(100dvh - 40px);background:#fafafa;color:#282a2b;overflow:auto;box-shadow:0 20px 80px #0002}
.references-contact::backdrop{background:#202727a6;backdrop-filter:blur(5px)}
.references-contact:not([open]){display:none}
.references-contact .references-eyebrow{margin:0 48px 24px 0}
.references-contact h2{font-size:30px;line-height:1.25;letter-spacing:-1px;font-weight:500;margin:0 32px 18px 0}
.references-contact p{font-size:14px;line-height:1.9;color:#798082;margin:0 0 28px}
.references-contact .contact-close{position:absolute;top:20px;right:20px;width:40px;height:40px;display:grid;place-items:center;background:none;border:0;color:#657071}
.reference-contact-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.reference-contact-actions a{min-height:48px;border:1px solid #dcdfe0;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 12px;font-size:13px;font-weight:500;border-radius:2px;background:#fff}
.reference-contact-actions a:first-child{background:#282b2c;border-color:#282b2c;color:#fff}
.reference-contact-actions a:hover{border-color:#8b9192}
.reference-contact-actions .icon{width:17px;height:17px}
.references-contact .contact-address{margin:24px 0 0;font-size:13px}
body.references-modal-open{overflow:hidden}
@media(max-width:1239px){
 .references-grid{gap:14px}
 .reference-card{padding-inline:12px;min-height:196px}
 .reference-logo img{max-height:86px}
}
@media(max-width:1100px){
 .references-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .reference-card{min-height:204px}
 .references-count{display:none}
}
@media(max-width:767px){
 .references-eyebrow{font-size:10px;margin-bottom:18px}
 .references-toolbar{margin-bottom:22px;gap:0}
 .references-filters{gap:22px;max-width:100%;overflow-x:auto;scrollbar-width:none}
 .references-filters::-webkit-scrollbar{display:none}
 .references-filters button{font-size:12px;padding-block:14px;white-space:normal;text-align:left;line-height:1.55;flex-shrink:0}
 .references-filters button[data-reference-filter="institutions"]{max-width:136px}
 .references-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .reference-card{padding:20px 12px 16px;min-height:192px}
 .reference-logo{height:104px;margin-bottom:12px}
 .reference-logo img{max-height:88px;max-width:min(100%,116px)}
 .reference-logo img.wide{max-width:min(100%,124px);max-height:56px}
 .reference-logo img.landscape{max-width:min(100%,120px);max-height:74px}
 .reference-name{font-size:11px;min-height:36px}
 .reference-collection{padding-bottom:48px}
 .references-contact{padding:28px 24px}
 .references-contact h2{font-size:27px}
 .reference-contact-actions{gap:8px}
 .reference-contact-actions a{font-size:12px;flex-direction:column;gap:8px;min-height:70px;padding:10px 6px}
}
@media(prefers-reduced-motion:reduce){.references-page *, .references-page *::after{transition:none!important;scroll-behavior:auto!important}}
