.xmg-library,.xmg-detail{width:min(1200px,calc(100% - 40px));margin:0 auto;padding:50px 0 70px;color:#17202f}.xmg-library *,.xmg-detail *{box-sizing:border-box}.xmg-heading{display:flex;justify-content:space-between;align-items:end;gap:26px;margin-bottom:24px}.xmg-kicker{font-size:11px!important;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#002fa7;margin:0 0 10px!important}.xmg-heading h2{font-size:clamp(30px,4vw,48px);letter-spacing:-.045em;line-height:1.12;margin:0}.xmg-heading p:not(.xmg-kicker){font-size:15px;max-width:640px;line-height:1.65;color:#606c7e;margin:11px 0 0}.xmg-browse,.xmg-back{font-weight:650;color:#002fa7;text-decoration:underline;text-underline-offset:4px;white-space:nowrap}.xmg-controls{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.xmg-filters{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;gap:8px;padding:4px 0}.xmg-filters button{flex-shrink:0;border:1px solid #d7dce5;border-radius:999px;background:#fff;padding:9px 15px;cursor:pointer;font-size:13px;color:#465064}.xmg-filters button.active{background:#002fa7;border-color:#002fa7;color:#fff}.xmg-search input{min-width:200px;width:100%;height:40px;padding:0 13px;border:1px solid #d7dce5;border-radius:9px;background:#fff}.xmg-grid{display:grid;grid-template-columns:repeat(var(--xmg-columns,3),minmax(0,1fr));gap:20px}.xmg-card{display:block;min-width:0;border:1px solid #e8ebef;border-radius:14px;overflow:hidden;background:#fff;color:inherit;text-decoration:none;transition:border-color .18s,transform .18s}.xmg-card:hover{border-color:#b2c3e8;transform:translateY(-2px)}.xmg-media{aspect-ratio:4/3;position:relative;background:#f4f6f9;overflow:hidden}.xmg-media img{width:100%;height:100%;object-fit:cover;display:block}.xmg-no-photo{height:100%;display:grid;place-items:center;color:#687484;font-size:13px}.xmg-count{position:absolute;bottom:12px;right:12px;background:#fffffff0;border-radius:6px;padding:5px 9px;font-size:11px;color:#3b4654}.xmg-card-copy{padding:18px}.xmg-category{font-size:11px;font-weight:650;color:#002fa7;letter-spacing:.04em;text-transform:uppercase}.xmg-card h3{font-size:19px;letter-spacing:-.028em;margin:7px 0 0;line-height:1.3}.xmg-card p{margin:8px 0 0;color:#647084;font-size:13px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.xmg-empty{padding:36px;background:#f7f8fa;border:1px dashed #cbd5e1;color:#64748b;border-radius:12px}.xmg-featured .xmg-card:first-child:nth-last-child(n+2){grid-column:span 1}.xmg-featured .xmg-heading{margin-bottom:26px}.xmg-detail{padding-top:40px}.xmg-back{display:inline-block;margin-bottom:30px}.xmg-detail h1{font-size:clamp(35px,5vw,64px);letter-spacing:-.05em;line-height:1.08;max-width:930px;margin:0 0 18px}.xmg-detail-lede{font-size:17px;color:#5c6675;line-height:1.75;max-width:770px;margin:0 0 34px}.xmg-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:30px}.xmg-photo{border:0;background:#f4f6f8;border-radius:12px;padding:0;overflow:hidden;aspect-ratio:4/3;cursor:zoom-in}.xmg-photo img{width:100%;height:100%;object-fit:cover;display:block}.xmg-image-note{font-size:12px;color:#778092;line-height:1.6;margin-top:22px}.xmg-lightbox{border:0;padding:0;background:#0e1522;color:#fff;max-width:none;max-height:none;width:100vw;height:100vh}.xmg-lightbox::backdrop{background:#060c18f0}.xmg-lightbox-inner{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:20px}.xmg-lightbox img{min-height:0;min-width:0;max-height:calc(100vh - 140px);max-width:100%;width:auto;height:auto;object-fit:contain}.xmg-lightbox-toolbar{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;color:#c6d0de;min-height:36px}.xmg-lightbox-toolbar button{background:#28364c;border:1px solid #405472;color:#fff;border-radius:8px;padding:9px 13px;cursor:pointer}.xmg-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:950px){.xmg-grid,.xmg-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.xmg-controls{flex-direction:column;align-items:stretch}}@media(max-width:580px){.xmg-library,.xmg-detail{width:calc(100% - 28px);padding:30px 0 50px}.xmg-heading{display:block}.xmg-browse{display:inline-block;margin-top:12px}.xmg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.xmg-card-copy{padding:11px}.xmg-card h3{font-size:15px}.xmg-card p{display:none}.xmg-media{aspect-ratio:3/4}.xmg-category{font-size:9px}.xmg-detail-grid{gap:8px}.xmg-search input{min-width:0}.xmg-lightbox-inner{padding:12px}}@media(prefers-reduced-motion:reduce){.xmg-card{transition:none}.xmg-card:hover{transform:none}}.xmg-photo-browser .xmg-photo{height:auto;position:relative;width:100%;border:0;border-radius:11px;aspect-ratio:4/3;overflow:hidden}.xmg-photo-browser .xmg-photo img{width:100%;height:100%;object-fit:cover}.xmg-photo-caption{position:absolute;bottom:0;left:0;right:0;color:#fff;background:linear-gradient(transparent,#08121ecc);padding:22px 10px 9px;text-align:left;font-size:12px}.xmg-heading{align-items:center;margin-bottom:30px}.xmg-grid{align-items:start;gap:30px 24px}.xmg-card{border:0;border-radius:0;background:transparent}.xmg-card:hover{transform:none}.xmg-media{border-radius:16px;background:#f0f2f2;max-height:620px}.xmg-media img{object-fit:contain;transition:transform .45s cubic-bezier(.22,1,.36,1)}.xmg-card:hover .xmg-media img{transform:scale(1.015)}.xmg-card-copy{padding:17px 2px 0}.xmg-card h3{font-weight:550;font-size:22px}.xmg-category{font-size:10px;letter-spacing:.07em}.xmg-result-count{font-size:12px;color:#8a919c;margin:0 0 22px}.xmg-photo-browser .xmg-photo{aspect-ratio:auto;background:#f0f2f2}.xmg-photo-browser .xmg-photo img{width:100%;height:auto;max-height:650px;object-fit:contain}.xmg-project-stage{margin-top:30px}.xmg-project-main{display:flex;width:100%;border:0;padding:24px;align-items:center;justify-content:center;border-radius:22px;background:#f0f2f2;cursor:zoom-in}.xmg-project-main img{display:block;width:auto;height:auto;max-width:100%;max-height:720px;object-fit:contain;border-radius:8px}.xmg-project-caption{display:flex;gap:22px;align-items:center;min-height:70px;padding:12px 0;font-size:12px;color:#7d8794}.xmg-project-caption>span{font-variant-numeric:tabular-nums;white-space:nowrap}.xmg-project-caption>p{flex:1;line-height:1.6;margin:0}.xmg-project-caption>button{border:0;background:none;color:#002fa7;font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer;white-space:nowrap}.xmg-thumbnails{display:flex;gap:10px;overflow-x:auto;padding:5px 3px 12px;scroll-snap-type:x proximity}.xmg-thumbnails button{flex:0 0 110px;scroll-snap-align:start;border:1px solid transparent;border-radius:10px;overflow:hidden;background:#f0f2f2;padding:5px;cursor:pointer}.xmg-thumbnails button[aria-pressed=true]{border-color:#002fa7}.xmg-thumbnails img{display:block;width:100%;height:80px;object-fit:contain}.xmg-related{margin-top:65px;border-top:1px solid #e5e8eb;padding-top:35px}.xmg-related h2{font-size:32px;letter-spacing:-.04em;margin:0;font-weight:500}.xmg-related-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.xmg-related-heading>div{display:flex;gap:8px}.xmg-related button{border:1px solid #d9dee5;border-radius:30px;padding:9px 13px;font:inherit;font-size:11px;background:#fff;cursor:pointer}.xmg-related-rail{display:flex;gap:22px;overflow:auto;scroll-snap-type:x mandatory;padding:3px 3px 15px;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.xmg-related-rail>.xmg-card{flex:0 0 31%;min-width:230px;scroll-snap-align:start}.xmg-related-rail .xmg-media{height:245px;aspect-ratio:auto!important}.xmg-library :is(a,button,input):focus-visible,.xmg-detail :is(a,button):focus-visible{outline:2px solid #002fa7;outline-offset:4px}@media(max-width:580px){.xmg-grid{gap:25px 14px;grid-template-columns:minmax(0,1fr)}.xmg-card h3{font-size:22px}.xmg-card p{display:block}.xmg-media{max-height:none}.xmg-card-copy{padding:15px 2px 0}.xmg-category{font-size:10px}.xmg-project-main{padding:12px;border-radius:16px}.xmg-project-main img{max-height:560px}.xmg-project-caption{gap:12px;flex-wrap:wrap}.xmg-project-caption>p{min-width:60%;font-size:11px}.xmg-project-caption>button{margin-left:auto}.xmg-thumbnails button{flex-basis:82px}.xmg-thumbnails img{height:65px}.xmg-related{margin-top:40px}.xmg-related h2{font-size:27px}.xmg-related-rail>.xmg-card{flex-basis:82%;min-width:0}}@media(prefers-reduced-motion:reduce){.xmg-media img{transition:none}.xmg-card:hover .xmg-media img{transform:none}}.xmg-detail-header{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;row-gap:30px;align-items:start}.xmg-detail-header .xmg-back{grid-column:1;grid-row:1;margin:0;justify-self:start}.xmg-detail-title{grid-column:1;grid-row:2;min-width:0}.xmg-home-back{grid-column:2;grid-row:2;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:40px;padding:9px 18px;border:1px solid #002fa733;border-radius:999px;background:#f4f7ff;color:#002fa7;font-size:13px;font-weight:600;line-height:1.4;text-decoration:none;white-space:nowrap;transition:background .18s,border-color .18s}.xmg-home-back:hover{background:#e9efff;border-color:#002fa766}@media(max-width:580px){.xmg-detail-header{column-gap:18px;row-gap:24px;align-items:center}.xmg-home-back{grid-row:1;min-height:44px;min-width:80px;padding:10px 16px}.xmg-detail-title{grid-column:1/-1}}@media(prefers-reduced-motion:reduce){.xmg-home-back{transition:none}}
