/* URBAN PATCH public site — Phase C interface refinements. */
/* The Professional microsite is excluded by the conditional enqueue in PHP. */
:root { --upm-c-ink:#111110; --upm-c-muted:#4c4c49; --upm-c-rule:#d2d2cc; }
body.single-post .entry-content .upm-project-context,
body.single-post .entry-content .upm-project-navigation {
  box-sizing:border-box;
  width:min(1160px,calc(100% - 40px));
  max-width:1160px;
  color:var(--upm-c-ink);
  margin-left:auto!important;
  margin-right:auto!important;
}
body.single-post .entry-content .upm-project-context {
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:12px;padding:14px 0 16px;margin-top:12px!important;margin-bottom:clamp(32px,4vw,54px)!important;
  border-bottom:1px solid var(--upm-c-rule);
  font-size:10px;line-height:1.5;font-weight:500;font-family:inherit;letter-spacing:.12em;text-transform:uppercase;
  color:var(--upm-c-muted);
}
body.single-post .entry-content .upm-project-navigation {
  border-top:1px solid var(--upm-c-ink);
  padding:25px 0 0;
  margin-top:clamp(72px,9vw,144px)!important;
  margin-bottom:clamp(55px,8vw,100px)!important;
}
.upm-project-navigation-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 0 25px;color:var(--upm-c-muted);font-size:10px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;font-variant-numeric:tabular-nums;}
.upm-project-navigation-links {display:grid;grid-template-columns:minmax(0,1fr) minmax(185px,.65fr) minmax(0,1fr);gap:15px;align-items:stretch;}
.upm-project-navigation-links>a {color:inherit!important;text-decoration:none!important;border:1px solid var(--upm-c-rule);padding:25px 22px 28px;display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-height:156px;transition:background-color .22s ease,border-color .22s ease;overflow-wrap:anywhere;}
.upm-project-navigation-links>a:hover {background:#f2f2ef;border-color:#8b8b84;}
.upm-project-navigation-links>a:focus-visible {outline:2px solid #111;outline-offset:3px;}
.upm-project-navigation-links .upm-project-nav-caption {color:var(--upm-c-muted);font-size:10px;line-height:1.5;letter-spacing:.12em;text-transform:uppercase;font-weight:600;}
.upm-project-navigation-links strong {font-weight:500;font-size:clamp(17px,2vw,26px);line-height:1.15;letter-spacing:-.035em;}
.upm-project-navigation-links .upm-project-nav-all {background:#111;color:#fff!important;border-color:#111;text-align:center;align-items:center;}
.upm-project-navigation-links .upm-project-nav-all .upm-project-nav-caption{color:#d3d3cf;}
.upm-project-navigation-links .upm-project-nav-all:hover {background:#333;border-color:#333;}
.upm-project-navigation-links .upm-project-nav-empty {display:block;border:1px solid transparent;}
.upm-project-navigation-links .upm-project-nav-next {text-align:right;align-items:flex-end;}
/* Selected UI labels and interaction targets. */
body.page-id-2 .upm-home .upm-hero-nav {opacity:.88!important;min-width:48px;}
body.page-id-2 .upm-home .upm-dot:not(.is-active) {opacity:.76!important;}
body.page-id-2 .upm-home .upm-hero-count,
body.page-id-2 .upm-home .upm-hero-cat {opacity:1!important;}
body.page-id-485 .upm-filter {min-height:44px;color:#202020;}
body.page-id-1048 .upm-research .upm-eyebrow,
body.page-id-335 .upm-about .upm-eyebrow {color:var(--upm-c-muted);}
body.single-post .nallah-project .nh-gallery-nav {opacity:.86;min-width:48px;}
body.single-post .nallah-project .nh-gallery-nav:focus-visible,
body.single-post .dairy-scape .ds-gallery-arrow:focus-visible {outline:2px solid #111!important;outline-offset:-4px!important;}
body.single-post .upm-lite-film .upm-lite-video-title {font-size:clamp(12px,1.15vw,15px);font-weight:600;}
@media(max-width:760px) {
  body.single-post .entry-content .upm-project-context {font-size:9px;gap:6px;margin-bottom:30px!important;}
  .upm-project-navigation-links {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;}
  .upm-project-navigation-links .upm-project-nav-all {grid-column:1/-1;grid-row:1;min-height:68px;padding:15px 18px;flex-direction:row;}
  .upm-project-navigation-links .upm-project-nav-all strong {font-size:18px;}
  .upm-project-navigation-links .upm-project-nav-prev,
  .upm-project-navigation-links .upm-project-nav-next {min-height:142px;padding:17px 14px;}
  .upm-project-navigation-links strong {font-size:17px;}
  .upm-project-navigation-links .upm-project-nav-caption {font-size:9px;letter-spacing:.08em;}
}
@media(prefers-reduced-motion:reduce){.upm-project-navigation-links>a{transition:none!important}}
