/* MSH Prime · Projects gallery · 4.3.16. Scoped to the projects page. */
html:has(.mpp){scroll-behavior:smooth}
.mpp{--mpp-ink:#03143f;--mpp-accent:#a67b21;--mpp-muted:#5b6574;background:#fff;color:var(--mpp-ink);padding-top:88px;font-family:var(--site-font,Arial,sans-serif);font-weight:400;line-height:1.6}
.mpp *{box-sizing:border-box}
.mpp [hidden]{display:none!important}
.mpp-wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}
.mpp a,.mpp button{color:inherit}
.mpp button{font:inherit;cursor:pointer;box-shadow:none}
.mpp :is(a,button,summary):focus-visible{outline:3px solid #b78a2f;outline-offset:5px}
.mpp :is(h1,h2,h3,p,figure){margin:0}
.mpp-intro{position:relative;isolation:isolate;padding:34px 0 66px;background:#f4f3ef;overflow:hidden}
.mpp-intro-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center 53%;z-index:-2}
.mpp-intro::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(247,247,244,.97) 0%,rgba(247,247,244,.92) 24%,rgba(247,247,244,.76) 43%,rgba(247,247,244,.38) 64%,rgba(247,247,244,.12) 82%,rgba(247,247,244,.04) 100%)}
.mpp-intro-content{width:min(1220px,calc(100% - 80px))}
.mpp-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:34px;font-size:12px;line-height:1.6;color:#677079}
.mpp-breadcrumb a:hover{text-decoration:underline}
.mpp-intro-copy{max-width:700px}
.mpp-eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:18px;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#58616c}
.mpp-eyebrow::before{content:"";width:32px;height:3px;flex:none;background:var(--mpp-accent)}
.mpp-intro h1{font-size:clamp(42px,4.67vw,63px);line-height:1.07;font-weight:800;letter-spacing:-.045em;color:var(--mpp-ink);text-shadow:none}
.mpp-intro h1 em{font-style:normal;color:#927020}
.mpp-intro-copy>p{max-width:560px;margin-top:22px;font-size:16px;line-height:1.6;color:#42494f}
.mpp-transform{padding:68px 0 48px;background:linear-gradient(180deg,#f8f7f3 0%,#fbfaf7 62%,#fff 100%);scroll-margin-top:108px}
.mpp-transform-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:44px;margin-bottom:32px}
.mpp-transform-heading .mpp-eyebrow{margin-bottom:12px}
.mpp-transform-heading h2{font-size:clamp(30px,3.2vw,44px);line-height:1.12;letter-spacing:-.04em;font-weight:800;color:var(--mpp-ink)}
.mpp-transform-heading>p{max-width:420px;font-size:14px;line-height:1.75;color:var(--mpp-muted)}
.mpp-comparison-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;margin-bottom:26px;border-top:1px solid #deded8;border-bottom:1px solid #deded8}
.mpp-comparison-current{min-width:0;font-size:14px;font-weight:800;letter-spacing:-.015em;overflow-wrap:anywhere}
.mpp-comparison-navigation{display:flex;align-items:center;gap:10px;flex-shrink:0}
.mpp-comparison-navigation button{display:grid;place-items:center;width:44px;height:44px;padding:11px;border:1px solid #d4d7dc;border-radius:3px;background:#fff;color:var(--mpp-ink);transition:background-color .18s,border-color .18s}
.mpp-comparison-navigation button:hover{border-color:var(--mpp-accent);background:#f3ead4}
.mpp-comparison-navigation svg{width:22px;height:22px}
.mpp-comparison-count{min-width:63px;text-align:center;color:#5b6574;font-size:12px;font-weight:700;letter-spacing:.08em;font-variant-numeric:tabular-nums}
.mpp-comparison-project{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,2fr);gap:48px;align-items:center}
.mpp-comparison-project+ .mpp-comparison-project{margin-top:36px}
.mpp-comparison[data-mpp-comparison-ready] .mpp-comparison-project{margin-top:0}
.mpp-project-type{display:block;color:#927020;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.mpp-comparison-copy h3{font-size:clamp(24px,2.4vw,32px);font-weight:800;letter-spacing:-.035em;line-height:1.2;margin:0 0 18px}
.mpp-comparison-copy>p{font-size:14px;line-height:1.8;color:var(--mpp-muted)}
.mpp-comparison-hint{display:block;margin-top:26px;padding-top:18px;border-top:1px solid #deded8;color:#68717b;font-size:12px;line-height:1.6}
.mpp-pair-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;min-width:0}
.mpp-pair{min-width:0}
.mpp-pair-label{display:flex;align-items:center;gap:9px;margin-bottom:12px;color:#58616c;font-size:12px;font-weight:800;line-height:1.4;letter-spacing:.11em;text-transform:uppercase}
.mpp-pair--after .mpp-pair-label{color:var(--mpp-ink)}
.mpp-pair-dot{width:7px;height:7px;border-radius:50%;background:#939aa3;flex-shrink:0}
.mpp-pair--after .mpp-pair-dot{background:#b38a27}
.mpp-compare-photo{display:block;aspect-ratio:3/4;background:#e9e9e5;overflow:hidden;outline-offset:4px}
.mpp-compare-photo img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.mpp-compare-photo:hover{outline:2px solid #b38a27}
.mpp-comparison-note{margin-top:22px!important;text-align:right;color:#717882;font-size:11px;line-height:1.6}
.mpp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.mpp-gallery{padding:88px 0;background:#fff;scroll-margin-top:110px}
.mpp-anchor{display:block;scroll-margin-top:115px}
.mpp-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.mpp-filter{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 19px;border:1px solid #e5e6e8;border-radius:3px;background:#f4f4f4;color:#505860!important;font-size:12px!important;font-weight:700!important;line-height:1.4!important;transition:background-color .18s,color .18s,border-color .18s}
.mpp-filter:hover{background:#ece8df;border-color:#c8b88f}
.mpp-filter[aria-pressed=true]{background:var(--mpp-ink);border-color:var(--mpp-ink);color:#fff!important}
.mpp-status{margin:0 0 20px!important;font-size:12px;color:var(--mpp-muted)}
.mpp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 28px;align-items:start}
.mpp-card{display:block;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:transparent;text-align:left;text-decoration:none;color:var(--mpp-ink)}
.mpp-photo{position:relative;display:block;aspect-ratio:1.38;overflow:hidden;background:#e8ebed}
.mpp-photo>img{width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center;transition:transform .85s cubic-bezier(.22,1,.36,1)}
.mpp-card:hover .mpp-photo>img{transform:scale(1.035)}
.mpp-plus{position:absolute;right:12px;bottom:12px;display:flex;align-items:center;justify-content:center;width:35px;height:35px;background:#fff;color:var(--mpp-ink);transition:background-color .18s}
.mpp-plus svg{width:19px;height:19px}
.mpp-card:hover .mpp-plus{background:#f4d87f}
.mpp-meta{padding:19px 0 5px}
.mpp-meta h3{margin:0 0 5px;font-size:18px;font-weight:800;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere}
.mpp-meta p{font-size:12px;line-height:1.5;color:var(--mpp-muted)}
.mpp-extras{margin-top:56px;display:flex;gap:28px;align-items:flex-start;border-top:1px solid #e1e4e8;padding-top:24px;scroll-margin-top:110px}
.mpp-video-details{flex:1;min-width:0}
.mpp-video-details summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:44px;cursor:pointer;list-style:none;font-size:15px;font-weight:700}
.mpp-video-details summary::-webkit-details-marker{display:none}
.mpp-video-details summary>span{font-size:23px;font-weight:400;transition:transform .2s}
.mpp-video-details[open] summary>span{transform:rotate(45deg)}
.mpp-video-content{padding-top:22px;max-width:800px}
.mpp-video-content h2{font-size:25px;line-height:1.3;margin-bottom:12px}
.mpp-video-content p{font-size:14px;color:var(--mpp-muted);margin-bottom:20px}
.mpp-video-content video{display:block;width:100%;max-height:600px;background:#0b1326;object-fit:contain}
.mpp-pdf{display:flex;gap:18px;align-items:center;min-height:44px;font-size:13px;font-weight:700;text-decoration:underline!important;text-underline-offset:5px}
.mpp-cta{padding:38px 0;background:var(--mpp-ink);color:#fff}
.mpp-cta-inner{display:flex;justify-content:space-between;align-items:center;gap:32px}
.mpp-cta h2{font-size:clamp(25px,2.25vw,32px);line-height:1.2;letter-spacing:-.03em;font-weight:800;color:#fff}
.mpp-cta p{margin-top:10px;color:#d8deea;font-size:14px}
.mpp-cta-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;flex-shrink:0;padding:15px 22px;min-height:48px;border-radius:3px;background:#fff;color:var(--mpp-ink)!important;font-size:13px;font-weight:800;transition:background-color .18s}
.mpp-cta-button:hover{background:#f4d87f}
.mpp-dialog{position:fixed;inset:0;width:100vw;max-width:100vw;height:100vh;height:100dvh;max-height:100dvh;margin:0;padding:68px 82px 26px;border:0;border-radius:0;background:rgba(5,12,23,.97);color:#fff;overflow:hidden;overscroll-behavior:contain}
.mpp-dialog:not([open]){display:none}
.mpp-dialog[open]{display:grid;place-items:center;animation:mpp-dialog-enter .25s ease-out}
.mpp-dialog::backdrop{background:rgba(5,12,23,.95)}
.mpp-view{width:100%;height:100%;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;pointer-events:none}
.mpp-view>img{display:block;max-width:100%;width:auto;height:auto;max-height:calc(100dvh - 170px);object-fit:contain;min-height:0;pointer-events:auto}
.mpp-view>figcaption{width:100%;max-width:1000px;display:flex;align-items:flex-start;justify-content:center;gap:16px;text-align:center;font-size:14px;line-height:1.5;flex-shrink:0}
.mpp-caption{overflow-wrap:anywhere}
.mpp-count{white-space:nowrap;color:#b7c1d3;font-variant-numeric:tabular-nums}
.mpp-dialog button{position:absolute;display:grid;place-items:center;width:48px;height:48px;border:1px solid rgba(255,255,255,.4);border-radius:3px;background:rgba(255,255,255,.08);color:#fff;z-index:2;padding:12px;touch-action:manipulation}
.mpp-dialog button:hover{background:rgba(255,255,255,.2)}
.mpp-dialog button svg{width:24px;height:24px;pointer-events:none}
.mpp-close{right:22px;top:18px}
.mpp-arrow{top:50%;transform:translateY(-50%)}
.mpp-prev{left:18px}
.mpp-next{right:18px}
.mpp-image-error{color:#fff;text-align:center;font-size:16px}
.mpp-reveal{transition:opacity 1.05s cubic-bezier(.22,1,.36,1),transform 1.1s cubic-bezier(.22,1,.36,1);transition-delay:var(--mpp-reveal-delay,0ms)}
.mpp-reveal[data-mpp-pending]{opacity:0;transform:translateY(34px)}
.mpp-reveal:focus-within{opacity:1;transform:none;transition-delay:0ms}
@keyframes mpp-dialog-enter{from{opacity:0}to{opacity:1}}
@media(max-width:980px){
  .mpp{padding-top:82px}
  .mpp-wrap,.mpp-intro-content{width:calc(100% - 48px)}
  .mpp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
  .mpp-gallery{padding:60px 0}
  .mpp-transform{padding:52px 0 36px}
  .mpp-transform-heading{display:block;margin-bottom:26px}
  .mpp-transform-heading>p{max-width:580px;margin-top:16px}
  .mpp-comparison-project{grid-template-columns:1fr;gap:24px}
  .mpp-comparison-copy h3{font-size:27px;margin-bottom:12px}
  .mpp-comparison-copy>p{max-width:640px}
  .mpp-comparison-hint{margin-top:14px;padding-top:0;border:0}
  .mpp-pair-grid{width:min(100%,720px);margin-inline:auto}
  .mpp-comparison-note{text-align:left}
  .mpp-cta-inner{align-items:flex-start;flex-direction:column;gap:24px}
}
@media(max-width:680px){
  .mpp{padding-top:76px}
  .mpp-wrap,.mpp-intro-content{width:calc(100% - 36px)}
  .mpp-intro{padding:25px 0 40px}
  .mpp-intro::after{background:linear-gradient(100deg,rgba(247,247,244,.97),rgba(247,247,244,.9) 42%,rgba(247,247,244,.76) 72%,rgba(247,247,244,.62))}
  .mpp-intro-image{object-position:64% center}
  .mpp-breadcrumb{margin-bottom:28px;font-size:11px}
  .mpp-eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:16px}
  .mpp-intro h1{font-size:clamp(34px,8.9vw,46px);line-height:1.1;letter-spacing:-.045em}
  .mpp-intro-copy>p{font-size:14px;margin-top:20px;line-height:1.7}
  .mpp-gallery{padding:40px 0 48px}
  .mpp-transform{padding:38px 0 30px;scroll-margin-top:90px}
  .mpp-transform-heading{margin-bottom:22px}
  .mpp-transform-heading h2{font-size:31px}
  .mpp-transform-heading>p{font-size:13px;line-height:1.7;margin-top:13px}
  .mpp-comparison-toolbar{gap:10px;padding:12px 0;margin-bottom:22px}
  .mpp-comparison-current{font-size:12px;line-height:1.4;max-width:130px}
  .mpp-comparison-navigation{gap:4px}
  .mpp-comparison-count{min-width:52px;font-size:11px;letter-spacing:.02em}
  .mpp-comparison-copy h3{font-size:25px}
  .mpp-comparison-copy>p{font-size:13px;line-height:1.7}
  .mpp-project-type{display:none}
  .mpp-comparison-hint{font-size:11px;margin-top:12px}
  .mpp-comparison-project{gap:20px}
  .mpp-pair-grid{gap:12px}
  .mpp-pair-label{font-size:11px;margin-bottom:9px;gap:7px}
  .mpp-comparison-note{font-size:10px;margin-top:16px!important}
  .mpp-filters{gap:8px;margin-bottom:22px}
  .mpp-filter{padding:10px 13px;font-size:11px!important}
  .mpp-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .mpp-photo{aspect-ratio:1.38}
  .mpp-meta{padding-top:15px}
  .mpp-meta h3{font-size:18px}
  .mpp-extras{display:block;margin-top:36px;padding-top:16px}
  .mpp-pdf{margin-top:12px}
  .mpp-video-content h2{font-size:22px}
  .mpp-cta{padding:34px 0}
  .mpp-cta h2{font-size:27px}
  .mpp-cta-button{width:100%;font-size:12px;gap:14px}
  .mpp-dialog{padding:76px 12px 24px}
  .mpp-view>img{max-height:calc(100dvh - 190px)}
  .mpp-view>figcaption{flex-direction:column;align-items:center;gap:5px;padding-inline:10px;font-size:12px;max-width:100%}
  .mpp-dialog button{width:44px;height:44px;padding:10px;background:rgba(5,12,23,.7)}
  .mpp-close{right:12px;top:16px}
  .mpp-prev{left:10px}
  .mpp-next{right:10px}
}
@media(max-width:380px){.mpp-comparison-navigation{gap:0}.mpp-comparison-count{min-width:44px}}
@media(prefers-reduced-motion:reduce){html:has(.mpp){scroll-behavior:auto!important}.mpp *,.mpp *::before,.mpp *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}.mpp-reveal[data-mpp-pending]{opacity:1;transform:none}}
@media print{.mpp-reveal[data-mpp-pending]{opacity:1;transform:none}}
