:root{--mgpm-gold:#c8a65a;--mgpm-ink:#171717;--mgpm-muted:#6c6c6c}
.mgpm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.mgpm-columns-1{grid-template-columns:1fr}.mgpm-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.mgpm-columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.mgpm-card{overflow:hidden;background:#fff;border:1px solid #e8e2d4;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.06);min-width:0}.mgpm-card-photo{display:block;background:#191919;aspect-ratio:4/3;overflow:hidden}.mgpm-card-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.mgpm-card:hover .mgpm-card-image{transform:scale(1.035)}.mgpm-placeholder{height:100%;min-height:190px;display:grid;place-items:center;color:var(--mgpm-gold);font-size:72px;font-family:Georgia,serif}.mgpm-card-body{padding:19px}.mgpm-role{color:#9b792c;text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700}.mgpm-card h3{margin:7px 0 5px;font-size:22px;line-height:1.25}.mgpm-card h3 a{color:#181818;text-decoration:none}.mgpm-designation{margin:0 0 10px;color:#6d5b32;font-weight:600}.mgpm-summary{color:#606060;line-height:1.65}.mgpm-read-more{display:inline-block;margin-top:5px;color:#8d6d25;font-weight:700;text-decoration:none}.mgpm-read-more span{padding-left:5px}.mgpm-empty{padding:20px;border:1px solid #eee}
.mgpm-profile{max-width:1120px;margin:36px auto;padding:0 18px}.mgpm-profile-header{display:grid;grid-template-columns:minmax(260px, .8fr) 1.2fr;gap:38px;align-items:start}.mgpm-profile-portrait{width:100%;max-height:560px;object-fit:cover;border-radius:8px;background:#eee}.mgpm-profile-no-image{min-height:300px;background:#181818;color:var(--mgpm-gold);display:grid;place-items:center;font-size:100px}.mgpm-eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;color:#9b792e;font-weight:700}.mgpm-profile h1{font-size:clamp(30px,4vw,48px);margin:8px 0 10px;line-height:1.1}.mgpm-profile-designation{font-size:20px;color:#8d6d25;font-weight:600;margin:0 0 18px}.mgpm-profile-summary{font-size:18px;line-height:1.7;color:#555}.mgpm-profile-content{margin:36px 0;line-height:1.8}.mgpm-profile-content h2,.mgpm-gallery-heading{font-size:25px;border-bottom:2px solid var(--mgpm-gold);padding-bottom:10px}.mgpm-profile-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.mgpm-profile-meta a,.mgpm-profile-meta span{border:1px solid #e4d7b5;padding:8px 12px;border-radius:4px;color:#70551b;text-decoration:none}.mgpm-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 40px}.mgpm-gallery a{display:block;overflow:hidden;border-radius:5px;background:#eee;aspect-ratio:4/3}.mgpm-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.mgpm-gallery a:hover img{transform:scale(1.04)}.mgpm-role-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.mgpm-role-links a{padding:10px 14px;background:#191919;color:#fff;text-decoration:none;border-radius:4px}.mgpm-role-links span{margin-left:10px;color:var(--mgpm-gold)}.mgpm-archive-wrap{max-width:1200px;margin:32px auto;padding:0 18px}.mgpm-archive-title{font-size:clamp(30px,4vw,44px);margin-bottom:10px}.mgpm-archive-intro{color:var(--mgpm-muted);margin-bottom:20px}
@media(max-width:900px){.mgpm-grid,.mgpm-columns-4{grid-template-columns:repeat(2,minmax(0,1fr))}.mgpm-profile-header{grid-template-columns:1fr;gap:24px}.mgpm-profile-portrait{max-height:500px}.mgpm-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.mgpm-grid,.mgpm-columns-2,.mgpm-columns-3,.mgpm-columns-4{grid-template-columns:1fr}.mgpm-card h3{font-size:20px}.mgpm-gallery{grid-template-columns:1fr 1fr;gap:8px}.mgpm-profile{padding:0 12px}}
.mgpm-lightbox{display:none;position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.92);align-items:center;justify-content:center;padding:50px 20px}.mgpm-lightbox.is-open{display:flex}.mgpm-lightbox img{max-width:92vw;max-height:88vh;object-fit:contain}.mgpm-lightbox button{position:absolute;right:24px;top:12px;background:transparent;border:0;color:#fff;font-size:42px;cursor:pointer}

/* Homepage portfolio section */
.mgpm-home-section{max-width:1200px;margin:48px auto;padding:0 18px}.mgpm-home-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}.mgpm-home-heading h2{margin:0 0 8px;font-size:clamp(28px,3vw,40px);line-height:1.15}.mgpm-home-heading p{margin:0;color:var(--mgpm-muted);line-height:1.6}.mgpm-home-view-all{flex-shrink:0;display:inline-block;padding:11px 16px;border:1px solid var(--mgpm-gold);border-radius:4px;color:#70551b;text-decoration:none;font-weight:700}.mgpm-home-view-all:hover{background:#191919;color:#fff}@media(max-width:600px){.mgpm-home-heading{align-items:flex-start;flex-direction:column}.mgpm-home-view-all{margin-top:8px}}
