:root{--blue: #0EA5DF;--indigo: #6610f2;--purple: #6f42c1;--pink: #e83e8c;--red: #dc3545;--orange: #FCE7E7FF;--yellow: #ffc107;--green: #28a745;--teal: #20c997;--cyan: #17a2b8;--white: #fff;--gray: #6c757d;--gray-dark: #343a40;--primary: #0EA5DF;--secondary: #6c757d;--success: #28a745;--info: #17a2b8;--warning: #ffc107;--danger: #dc3545;--light: #f8f9fa;--dark: #343a40}body.projects #wrapper>header .header-inner,body.blog #wrapper>header .header-inner,.archive #wrapper>header .header-inner{text-align:center}body.projects .btn-switch .primary--button,body.blog .btn-switch .primary--button,.archive .btn-switch .primary--button{width:150px;min-height:43px;background-color:rgba(0,0,0,0);border-radius:50px;position:relative;cursor:pointer;border:1px solid #0ea5df;padding:0}body.projects .btn-switch .primary--button:focus,body.blog .btn-switch .primary--button:focus,.archive .btn-switch .primary--button:focus{border:1px solid #0ea5df;box-shadow:0 0 0 rgba(0,0,0,0);outline:none}body.projects .btn-switch .primary--button:after,body.blog .btn-switch .primary--button:after,.archive .btn-switch .primary--button:after{content:"Global";min-height:43px;line-height:43px;width:77px;font-size:18px;display:block;border-radius:50px;box-shadow:rgba(0,0,0,.1) 0px 4px 12px;background-color:#0ea5df;position:absolute;top:50%;transform:translate(0, -50%);transition:transform 1s;color:#fff}body.projects .btn-switch .primary--button:before,body.blog .btn-switch .primary--button:before,.archive .btn-switch .primary--button:before{content:"Local";font-size:18px;position:absolute;top:50%;left:90px;right:unset;transform:translateY(-50%);color:#333;transition:content 1s}body.projects .btn-switch.turn-on .primary--button:before,body.blog .btn-switch.turn-on .primary--button:before,.archive .btn-switch.turn-on .primary--button:before{content:"Global";right:90px;left:unset;transition:content 1s}body.projects .btn-switch.turn-on .primary--button:after,body.blog .btn-switch.turn-on .primary--button:after,.archive .btn-switch.turn-on .primary--button:after{content:"Local";min-height:43px;width:77px;display:block;border-radius:50px;box-shadow:rgba(0,0,0,.1) 0px 4px 12px;background-color:#0ea5df;position:absolute;top:50%;transform:translate(71px, -50%);transition:transform 1s}@media screen and (max-width: 575px){body.projects .filters-column,body.blog .filters-column,.archive .filters-column{width:100%}}body.projects .selected-filters .selected-filter-item,body.blog .selected-filters .selected-filter-item,.archive .selected-filters .selected-filter-item{background:rgba(236,236,236,0.6392156863);color:#000;border:0;border-radius:30px;padding:12px 20px;font-size:16px;margin:0 10px}body.projects .selected-filters .selected-filter-item .close,body.blog .selected-filters .selected-filter-item .close,.archive .selected-filters .selected-filter-item .close{padding:0;margin-left:12px}@media screen and (max-width: 575px){body.projects .selected-filters .selected-filter-item,body.blog .selected-filters .selected-filter-item,.archive .selected-filters .selected-filter-item{margin:10px}}body.projects .projects-with-category-filter .search-by-name,body.blog .projects-with-category-filter .search-by-name,.archive .projects-with-category-filter .search-by-name{background:rgba(0,0,0,0) !important;border-bottom:1px solid #000;border-radius:0px !important}@media screen and (max-width: 575px){body.projects .projects-with-category-filter .search-by-name,body.blog .projects-with-category-filter .search-by-name,.archive .projects-with-category-filter .search-by-name{width:calc(100% - 80px)}}body.projects .projects-with-category-filter .navbar-toggler:focus,body.blog .projects-with-category-filter .navbar-toggler:focus,.archive .projects-with-category-filter .navbar-toggler:focus{outline:none}body.projects .projects-with-category-filter .filter-model,body.blog .projects-with-category-filter .filter-model,.archive .projects-with-category-filter .filter-model{position:absolute;right:0;top:40px;border:1px solid #acacac;display:none;background:#fff;width:400px;border-radius:5px;padding:60px 40px 40px;z-index:1}@media screen and (max-width: 575px){body.projects .projects-with-category-filter .filter-model,body.blog .projects-with-category-filter .filter-model,.archive .projects-with-category-filter .filter-model{width:88vw;max-width:575px}}body.projects .projects-with-category-filter .filter-model.show,body.blog .projects-with-category-filter .filter-model.show,.archive .projects-with-category-filter .filter-model.show{display:block}body.projects .projects-with-category-filter .filter-model .close-model,body.blog .projects-with-category-filter .filter-model .close-model,.archive .projects-with-category-filter .filter-model .close-model{position:absolute;right:20px;top:20px;background:rgba(0,0,0,0);border:0;color:#acacac;font-size:16px}body.projects .projects-with-category-filter .filter-menu,body.blog .projects-with-category-filter .filter-menu,.archive .projects-with-category-filter .filter-menu{margin-top:10px}body.projects .projects-with-category-filter .show-filter-result,body.blog .projects-with-category-filter .show-filter-result,.archive .projects-with-category-filter .show-filter-result{background:#3a3a3a;color:#fff;text-align:center;padding:5px;border:1px solid #0ea5df;border-radius:30px;cursor:pointer}body.projects .projects-with-category-filter #clearFilters,body.blog .projects-with-category-filter #clearFilters,.archive .projects-with-category-filter #clearFilters{background:rgba(0,0,0,0);color:#3a3a3a;border:0;text-decoration:underline;font-size:12px}body.projects .projects-with-category-filter #clearFilters:hover,body.blog .projects-with-category-filter #clearFilters:hover,.archive .projects-with-category-filter #clearFilters:hover{text-decoration:none}body.projects .projects-with-category-filter .filter-by-heading,body.blog .projects-with-category-filter .filter-by-heading,.archive .projects-with-category-filter .filter-by-heading{margin-top:10px;border-top:solid 1px #acacac}body.projects .projects-with-category-filter .country_nav,body.projects .projects-with-category-filter .cat_nav,body.blog .projects-with-category-filter .country_nav,body.blog .projects-with-category-filter .cat_nav,.archive .projects-with-category-filter .country_nav,.archive .projects-with-category-filter .cat_nav{padding:20px 0px;text-align:left}body.projects .projects-with-category-filter .country_nav li,body.projects .projects-with-category-filter .cat_nav li,body.blog .projects-with-category-filter .country_nav li,body.blog .projects-with-category-filter .cat_nav li,.archive .projects-with-category-filter .country_nav li,.archive .projects-with-category-filter .cat_nav li{color:#000;line-height:1.2;padding:0px 0;display:block;font-size:15px;cursor:pointer}body.projects .projects-with-category-filter .country_nav li .form-check-input,body.projects .projects-with-category-filter .cat_nav li .form-check-input,body.blog .projects-with-category-filter .country_nav li .form-check-input,body.blog .projects-with-category-filter .cat_nav li .form-check-input,.archive .projects-with-category-filter .country_nav li .form-check-input,.archive .projects-with-category-filter .cat_nav li .form-check-input{width:15px;height:15px;border-radius:0}body.projects .projects-with-category-filter .country_nav li .form-check-input:before,body.projects .projects-with-category-filter .cat_nav li .form-check-input:before,body.blog .projects-with-category-filter .country_nav li .form-check-input:before,body.blog .projects-with-category-filter .cat_nav li .form-check-input:before,.archive .projects-with-category-filter .country_nav li .form-check-input:before,.archive .projects-with-category-filter .cat_nav li .form-check-input:before{float:left;display:inline-block;vertical-align:middle;margin:-0.1rem 0 0 -0.1rem;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:15px;width:15px;background-color:#fff;border:1px solid #8c8f94;content:"";outline:none}body.projects .projects-with-category-filter .country_nav li .form-check-input:checked:before,body.projects .projects-with-category-filter .cat_nav li .form-check-input:checked:before,body.blog .projects-with-category-filter .country_nav li .form-check-input:checked:before,body.blog .projects-with-category-filter .cat_nav li .form-check-input:checked:before,.archive .projects-with-category-filter .country_nav li .form-check-input:checked:before,.archive .projects-with-category-filter .cat_nav li .form-check-input:checked:before{height:15px;width:15px;background-color:#0ea5df;border:1px solid #0ea5df;content:""}body.projects .projects-with-category-filter .country_nav li.active,body.projects .projects-with-category-filter .cat_nav li.active,body.blog .projects-with-category-filter .country_nav li.active,body.blog .projects-with-category-filter .cat_nav li.active,.archive .projects-with-category-filter .country_nav li.active,.archive .projects-with-category-filter .cat_nav li.active{color:#0ea5df}body.projects .category-description h1,body.projects .category-description h2,body.projects .category-description h3,body.blog .category-description h1,body.blog .category-description h2,body.blog .category-description h3,.archive .category-description h1,.archive .category-description h2,.archive .category-description h3{margin-bottom:4rem}body.projects .category-description h1,body.blog .category-description h1,.archive .category-description h1{font-size:xxx-large}body.projects .category-description h2,body.blog .category-description h2,.archive .category-description h2{font-size:xxx-large}body.projects .category-description h3,body.blog .category-description h3,.archive .category-description h3{font-size:xx-large}body.projects .category-description h4,body.blog .category-description h4,.archive .category-description h4{font-size:x-large}body.projects .category-description h5,body.blog .category-description h5,.archive .category-description h5{font-size:large}body.projects .category-description h6,body.blog .category-description h6,.archive .category-description h6{font-size:medium}body.projects .category-description p,body.blog .category-description p,.archive .category-description p{font-size:16px;margin-bottom:3rem}body.projects .solutions,body.blog .solutions,.archive .solutions{padding:0}body.projects .solutions.container.latest-article,body.blog .solutions.container.latest-article,.archive .solutions.container.latest-article{max-width:100%}body.projects .solutions.container .row.project-list,body.blog .solutions.container .row.project-list,.archive .solutions.container .row.project-list{display:none}body.projects .solutions.container .row article,body.blog .solutions.container .row article,.archive .solutions.container .row article{padding-bottom:20px;flex-basis:auto;width:25%}@media only screen and (max-width: 1240px){body.projects .solutions.container .row article,body.blog .solutions.container .row article,.archive .solutions.container .row article{width:33%}}@media only screen and (max-width: 767px){body.projects .solutions.container .row article,body.blog .solutions.container .row article,.archive .solutions.container .row article{width:50%}}body.projects .solutions.container .row a,body.blog .solutions.container .row a,.archive .solutions.container .row a{color:#000}body.projects .solutions.container .row a.thumb,body.blog .solutions.container .row a.thumb,.archive .solutions.container .row a.thumb{transition:all 1s ease-in-out;position:relative;padding-bottom:400px;display:block;overflow:hidden;margin-bottom:10px;border-radius:15px}@media only screen and (max-width: 1440px){body.projects .solutions.container .row a.thumb,body.blog .solutions.container .row a.thumb,.archive .solutions.container .row a.thumb{padding-bottom:300px}}@media only screen and (max-width: 767px){body.projects .solutions.container .row a.thumb,body.blog .solutions.container .row a.thumb,.archive .solutions.container .row a.thumb{padding-bottom:173px}}body.projects .solutions.container .row a.thumb:hover img,body.blog .solutions.container .row a.thumb:hover img,.archive .solutions.container .row a.thumb:hover img{transform:scale(1.15)}body.projects .solutions.container .row .gap-30,body.blog .solutions.container .row .gap-30,.archive .solutions.container .row .gap-30{gap:30px}body.projects .solutions.container .row .blog-item__title,body.blog .solutions.container .row .blog-item__title,.archive .solutions.container .row .blog-item__title{font-size:22px;text-align:left;transition:all .3s ease-in-out;padding:14px 0;font-weight:600;margin:0}@media only screen and (max-width: 575px){body.projects .solutions.container .row .blog-item__title,body.blog .solutions.container .row .blog-item__title,.archive .solutions.container .row .blog-item__title{font-size:16px}}body.projects .solutions.container .row .blog-item-category,body.blog .solutions.container .row .blog-item-category,.archive .solutions.container .row .blog-item-category{font-size:12px;border:1px solid #0ea5df;text-align:center;border-radius:20px;align-self:flex-start;padding:5px 10px !important}body.projects .solutions.container .row img,body.blog .solutions.container .row img,.archive .solutions.container .row img{max-width:initial;transition:all .3s ease-in-out;will-change:filter;min-height:100%;width:100%;height:100%;object-fit:cover;position:absolute}body.projects.list-active .solutions.container .row .project-list,body.projects.list-active .solutions.container .row.project-list,body.blog.list-active .solutions.container .row .project-list,body.blog.list-active .solutions.container .row.project-list,.archive.list-active .solutions.container .row .project-list,.archive.list-active .solutions.container .row.project-list{display:flex}body.projects.list-active .solutions.container .row .project-list.border-bottom,body.projects.list-active .solutions.container .row.project-list.border-bottom,body.blog.list-active .solutions.container .row .project-list.border-bottom,body.blog.list-active .solutions.container .row.project-list.border-bottom,.archive.list-active .solutions.container .row .project-list.border-bottom,.archive.list-active .solutions.container .row.project-list.border-bottom{border-color:#acacac !important}@media only screen and (max-width: 575px){body.projects.list-active .solutions.container .row .project-list.border-bottom,body.projects.list-active .solutions.container .row.project-list.border-bottom,body.blog.list-active .solutions.container .row .project-list.border-bottom,body.blog.list-active .solutions.container .row.project-list.border-bottom,.archive.list-active .solutions.container .row .project-list.border-bottom,.archive.list-active .solutions.container .row.project-list.border-bottom{display:none}}body.projects.list-active .solutions.container .row .project-grid,body.projects.list-active .solutions.container .row.project-grid,body.blog.list-active .solutions.container .row .project-grid,body.blog.list-active .solutions.container .row.project-grid,.archive.list-active .solutions.container .row .project-grid,.archive.list-active .solutions.container .row.project-grid{display:none !important}body.projects.list-active .solutions.container .row.container-fluid-list,body.blog.list-active .solutions.container .row.container-fluid-list,.archive.list-active .solutions.container .row.container-fluid-list{width:100% !important;padding-right:0px;padding-left:0px;margin-right:auto;margin-left:auto}body.projects.list-active .solutions.container .row article,body.blog.list-active .solutions.container .row article,.archive.list-active .solutions.container .row article{width:100% !important;border-bottom:1px solid #acacac;padding-left:0 !important;padding-right:0 !important}.solution-item{display:none}#download-pdf-sticky{position:absolute;bottom:0;right:0;opacity:0;border-radius:30px !important}#download-pdf-sticky.fixed{position:fixed;bottom:50px;right:40px;z-index:999;opacity:1}#download-pdf-sticky.relative{position:absolute;bottom:0;right:0;opacity:1}

/* --- 2026-08-24, Kim: projects index UI --- */
/* Tap target on the LINK. Padding on the h2 loses to the theme global heading reset. */
.solutions .blog-item__link{display:block;padding:9px 0;text-decoration:none}
.solutions .blog-item__link .blog-item__title{padding:0;margin:0}
/* Local/Global switch hidden for now. Live on AE only. One line to restore. */
body.projects .btn-switch.local_global{display:none}
/* The filter trigger read as plain text rather than a control. */
body.projects .projects-with-category-filter .navbar-toggler{border:1px solid #acacac;border-radius:30px;padding:10px 20px;min-height:44px;font-size:15px;line-height:1.2;background:#fff;transition:border-color .2s ease,color .2s ease}
body.projects .projects-with-category-filter .navbar-toggler:hover,body.projects .projects-with-category-filter .navbar-toggler:focus-visible{border-color:#0ea5df;color:#0ea5df}
body.projects .projects-with-category-filter .navbar-toggler:focus-visible{outline:2px solid #0ea5df;outline-offset:2px}
@media (prefers-reduced-motion:reduce){body.projects .projects-with-category-filter .navbar-toggler{transition:none}}
/* The switch is hidden, so its wrapper must go too: it was still holding a row and mb-5 of
   margin, which read as unexplained empty space above the grid. */
body.projects .local-global-wrap{display:none}
/* The view toggles were 17x10. Real target, and a focus ring they did not have. */
body.projects .grid_list .btn{min-width:44px;min-height:44px;align-items:center;justify-content:center;border-radius:8px}
body.projects .grid_list .btn:focus-visible{outline:2px solid #0ea5df;outline-offset:2px}
body.projects .grid_list .btn svg{width:20px;height:20px}
/* --- 2026-08-24, Kim: filter panel redesign --- */
/* Never taller than the viewport. The panel was 681px with its bottom at 969px in an 888px
   window, so the last countries were unreachable. Scrolls its own body instead. */
body.projects .projects-with-category-filter .filter-model{
  width:460px;padding:22px 26px 20px;border-radius:12px;
  box-shadow:0 18px 44px -18px rgba(0,0,0,.28);
  
}
/* The close X was floating in 60px of dead padding. */
body.projects .projects-with-category-filter .filter-model .close-model{
  right:14px;top:12px;width:32px;height:32px;border-radius:50%;line-height:1;
}
body.projects .projects-with-category-filter .filter-model .close-model:hover{background:#f2f2f2;color:#3a3a3a}
body.projects .projects-with-category-filter .filter-model .close-model:focus-visible{outline:2px solid #0ea5df;outline-offset:2px}
/* "Filter By" reads as the panel title. */
body.projects .projects-with-category-filter .filter-model > .d-flex > span{font-weight:600;font-size:17px}
/* CLEAR ALL WAS 0x0 AND UNCLICKABLE. Given real dimensions and a visible affordance. */
body.projects .projects-with-category-filter #clearFilters{
  display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;width:auto;
  font-size:13px;color:#3a3a3a;text-decoration:underline;background:transparent;border:0;border-radius:6px;
}
body.projects .projects-with-category-filter #clearFilters:hover{color:#0ea5df;background:#f6f6f6;text-decoration:none}
body.projects .projects-with-category-filter #clearFilters:focus-visible{outline:2px solid #0ea5df;outline-offset:2px}
/* Two even columns with a real gutter, so 18 country names stop wrapping against 138px.
   The element used to carry Bootstrap's .d-flex, and .d-flex{display:flex!important} beat
   this rule, so the mobile single-column rule below was inert and the panel rendered two
   columns at 390px with its left edge off screen. The classes are gone from the markup;
   this stylesheet owns the layout now. */
body.projects .projects-with-category-filter .filter-menu{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:16px;align-items:start}
/* A visible hint that the lists scroll, rather than leaving the cut-off ambiguous. */
body.projects .projects-with-category-filter .filter-menu{scrollbar-width:thin;scrollbar-color:#cfcfcf transparent}
body.projects .projects-with-category-filter .filter-menu::-webkit-scrollbar{width:8px}
body.projects .projects-with-category-filter .filter-menu::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:4px}
body.projects .projects-with-category-filter .filter-menu::-webkit-scrollbar-track{background:transparent}
body.projects .projects-with-category-filter .country_nav,
body.projects .projects-with-category-filter .cat_nav{padding:0;margin:0}
/* The Type / Country heading is a real column header now: it sits above the scroller instead of
   sticking inside it, so nothing slides under it and the rule under it never moves. */
body.projects .projects-with-category-filter .filter-col{display:flex;flex-direction:column;min-width:0}
body.projects .projects-with-category-filter .filter-col__head{
  flex:0 0 auto;
  font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#767676;
  padding:0 6px 10px 0;margin-bottom:6px;border-bottom:1px solid #ececec;background:#fff;
  /* Kim's call. It was inheriting text-align:right from the .text-right wrapper the panel sits
     in, which is accidental and would break the day that wrapper changes. Stated outright. */
  text-align:right;
}
/* Each row is a proper target: the label was the only hit area and it was ~18px tall. */
body.projects .projects-with-category-filter .country_nav li,
body.projects .projects-with-category-filter .cat_nav li{
  display:flex;align-items:center;gap:9px;min-height:32px;padding:2px 0;margin:0;font-size:14px;
}
body.projects .projects-with-category-filter .country_nav li .form-check-label,
body.projects .projects-with-category-filter .cat_nav li .form-check-label{cursor:pointer;flex:1;padding:4px 0}
body.projects .projects-with-category-filter .form-check-input:focus-visible{outline:2px solid #0ea5df;outline-offset:2px}
/* THE COUNT IS FEEDBACK, NOT THE PRIMARY ACTION. It was a dark filled pill with cursor:pointer,
   which reads as Apply on a panel where filtering is already live. Quiet text instead, so the
   checkboxes stay the loudest thing on the panel. */
body.projects .projects-with-category-filter .show-filter-result{
  background:transparent;color:#767676;border:0;border-top:1px solid #ececec;border-radius:0;
  text-align:left;padding:14px 0 0;margin-top:18px;font-size:13px;cursor:default;
}
body.projects .projects-with-category-filter .show-filter-result .count{font-weight:600;color:#3a3a3a}
@media screen and (max-width:575px){
  /* PINNED TO THE VIEWPORT, NOT THE TRIGGER. The panel is right-anchored to .filter-region,
     which ends ~45px short of the viewport edge, so a 92vw panel hung 14px off the left of a
     390px screen. Insetting from the viewport is the only version that cannot overflow
     whatever the container's gutter becomes later. Fixed rather than absolute because the
     anchor, not the width, was the problem. */
  body.projects .projects-with-category-filter .filter-model{
    position:fixed;left:12px;right:12px;width:auto;
    top:calc(var(--enttec-chrome-h, 72px) + 56px);
    padding:20px 18px 18px;
    /* The desktop panel's z-index:1 was enough while it was absolutely positioned inside the
       filter row. Fixed puts it in the root stacking context, where the page title band paints
       over its top third: the "Filter By" header and the Type heading disappeared while the
       rest of the panel looked fine. */
    z-index:1200;
  }
  body.projects .projects-with-category-filter .filter-menu{grid-template-columns:1fr;gap:18px}
}
/* The chevron inherited the trigger font size and read too heavy next to 15px text. */
body.projects .projects-with-category-filter .navbar-toggler i.fa{font-size:11px;padding-left:8px !important;position:relative;top:-1px;opacity:.75}
/* The panel sat 40px from the trigger top, i.e. touching a 44px button. Clear it properly. */
body.projects .projects-with-category-filter .filter-model{top:56px}
/* A partial last row must not stretch its cards: .col flex-grows by default, so 6 results in a
   4-across grid gave the final two double width. Keep the card size, leave the gap. */
body.projects .solutions.container .row article{flex-grow:0}
/* --- 2026-08-24, Kim: filter polish --- */
/* A checked box was a bare blue square with no tick. */
body.projects .projects-with-category-filter .country_nav li .form-check-input:checked:before,
body.projects .projects-with-category-filter .cat_nav li .form-check-input:checked:before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-6'/%3E%3C/svg%3E");background-size:13px 13px;background-position:center;background-repeat:no-repeat;
}
/* Slightly larger box: 15px is small for a 32px row and hard to hit accurately. */
body.projects .projects-with-category-filter .country_nav li .form-check-input,
body.projects .projects-with-category-filter .cat_nav li .form-check-input,
body.projects .projects-with-category-filter .country_nav li .form-check-input:before,
body.projects .projects-with-category-filter .cat_nav li .form-check-input:before,
body.projects .projects-with-category-filter .country_nav li .form-check-input:checked:before,
body.projects .projects-with-category-filter .cat_nav li .form-check-input:checked:before{
  width:17px;height:17px;border-radius:3px;
}
/* CLEAR ALL APPEARING MUST NOT RESIZE THE PANEL. Reserve its row height either way. */
body.projects .projects-with-category-filter .filter-model > .d-flex.justify-content-between{
  min-height:43px;align-items:center;
}
/* The chips took two rows at nine selections and pushed the grid down. Compact, one row,
   scrolling sideways rather than wrapping, so the grid never moves. */
body.projects .selected-filters{flex-wrap:nowrap !important;overflow-x:auto;overscroll-behavior-x:contain;gap:8px;scrollbar-width:thin}
body.projects .selected-filters .selected-filter-item{
  padding:6px 12px;font-size:13px;margin:0;flex:0 0 auto;line-height:1.3;
}
body.projects .selected-filters .selected-filter-item .close{margin-left:8px;font-size:15px;opacity:.6}
body.projects .selected-filters .selected-filter-item .close:hover{opacity:1}
/* per-column scroll, and the scroller is the LIST only (the heading is its sibling above), so
   the two different-length lists stay aligned and neither heading can scroll out of view. */
body.projects .projects-with-category-filter .cat_nav,
body.projects .projects-with-category-filter .country_nav{
  max-height:min(46vh,340px);overflow-y:auto;overscroll-behavior:contain;padding-right:6px;
  scrollbar-width:thin;scrollbar-color:#cfcfcf transparent;
}
body.projects .projects-with-category-filter .cat_nav::-webkit-scrollbar,
body.projects .projects-with-category-filter .country_nav::-webkit-scrollbar{width:8px}
body.projects .projects-with-category-filter .cat_nav::-webkit-scrollbar-thumb,
body.projects .projects-with-category-filter .country_nav::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:4px}
/* The scroller starts at the top of the list, so the first row needs no heading offset. */
body.projects .projects-with-category-filter .cat_nav,
body.projects .projects-with-category-filter .country_nav{padding-top:0}
/* MOBILE CAP, AND IT HAS TO LIVE HERE. The two lists stack into one panel at =575px, so a
   340px cap each puts the panel's bottom past the fold. The @media block higher up sets this
   too, but the desktop min(46vh,340px) rule below it wins on source order at equal
   specificity, so the mobile value only takes effect from here. These lists are the ONLY
   scrollers on mobile: the panel itself must never scroll, or it scrolls its own "Filter By"
   header and the Type heading out of sight. */
@media screen and (max-width:575px){
  body.projects .projects-with-category-filter .cat_nav,
  body.projects .projects-with-category-filter .country_nav{max-height:min(26vh,190px)}
}

/* PROGRESSIVE REVEAL control. Centred and full-measure because it is the only thing below the
   grid and a thumb should not have to aim; 48px tall for the same reason. Bordered rather than
   filled so it stays quieter than the project cards above it. */
body.projects .projects-more{display:flex;justify-content:center;padding:8px 0 40px}
body.projects .projects-more[hidden]{display:none}
body.projects .projects-more__btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:48px;padding:12px 28px;
  font-size:15px;font-weight:600;color:#3a3a3a;background:#fff;
  border:1px solid #acacac;border-radius:999px;cursor:pointer;
  transition:background .3s cubic-bezier(.22,.61,.36,1),color .3s cubic-bezier(.22,.61,.36,1),border-color .3s cubic-bezier(.22,.61,.36,1);
}
body.projects .projects-more__btn:hover{background:#3a3a3a;color:#fff;border-color:#3a3a3a}
body.projects .projects-more__btn:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}
@media (prefers-reduced-motion: reduce){
  body.projects .projects-more__btn{transition:none}
}

/* --- 2026-08-25, Kim: the projects control row --- */

/* THE VIEW TOGGLES WERE THE "BROKEN BUTTON ON THE LEFT". Two 44px squares, the active one
   marked only by Bootstrap's .bg-light, which is #f8f9fa: a half-percent step off white. So
   the pair read as one boxed button and one bare icon rather than as a choice with a state,
   which is exactly what a broken control looks like. Made into a real segmented control: one
   bordered track, the selected half filled, and a focus ring that was absent entirely. */
body.projects .grid_list{
  display:inline-flex;align-items:center;gap:0;
  border:1px solid #dcdcdc;border-radius:999px;padding:3px;background:#fff;
}
body.projects .grid_list .btn{
  width:44px;min-height:38px;height:38px;display:grid;place-items:center;padding:0;margin:0;
  border:0;border-radius:999px;background:transparent;color:#6c757d;
  transition:background .25s cubic-bezier(.22,.61,.36,1),color .25s cubic-bezier(.22,.61,.36,1);
}
body.projects .grid_list .btn:hover{background:#f2f2f2;color:#3a3a3a}
/* .bg-light is what the page's own JS toggles, so the selected state hangs off it rather than
   off a new class the JS would also have to learn. */
body.projects .grid_list .btn.bg-light{background:#3a3a3a !important;color:#fff}
body.projects .grid_list .btn:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}
body.projects .grid_list .btn svg{width:18px;height:18px}

/* The trigger now reads as the control it is, and matches the segmented track's height so the
   row lines up. It was a bare 15px text link with a chevron. */
body.projects .projects-with-category-filter .navbar-toggler{
  display:inline-flex;align-items:center;gap:2px;min-height:44px;padding:8px 20px;
  font-size:15px;font-weight:600;color:#3a3a3a;background:#fff;
  border:1px solid #dcdcdc;border-radius:999px;
  transition:background .25s cubic-bezier(.22,.61,.36,1),border-color .25s cubic-bezier(.22,.61,.36,1);
}
body.projects .projects-with-category-filter .navbar-toggler:hover{background:#f6f6f6;border-color:#acacac}
body.projects .projects-with-category-filter .navbar-toggler:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}
/* Open state, so the trigger and the panel below it read as one object. */
body.projects .projects-with-category-filter .navbar-toggler.show{background:#3a3a3a;border-color:#3a3a3a;color:#fff}

/* PANEL POLISH. Softer elevation, and a hairline under the two columns so the result count
   below reads as a footer rather than as a third column heading. */
body.projects .projects-with-category-filter .filter-model{
  box-shadow:0 24px 56px -24px rgba(16,40,60,.32);border-color:#dcdcdc;
}
/* A ticked row is now legible at a glance instead of only by its checkbox. */
body.projects .projects-with-category-filter .cat_nav li:has(.form-check-input:checked) .form-check-label,
body.projects .projects-with-category-filter .country_nav li:has(.form-check-input:checked) .form-check-label{
  color:#0ea5df;font-weight:600;
}
/* Hovering a row shows it is a target: the label was the only hit affordance. */
body.projects .projects-with-category-filter .cat_nav li:hover .form-check-label,
body.projects .projects-with-category-filter .country_nav li:hover .form-check-label{color:#0ea5df}
@media (prefers-reduced-motion: reduce){
  body.projects .grid_list .btn,
  body.projects .projects-with-category-filter .navbar-toggler{transition:none}
}


/* --- 2026-08-25, Kim: /projects controls pass --- */

/* 1 + 2 + 3. THE VIEW TOGGLE AND THE "FILTER BY" TRIGGER ARE ONE CONTROL FAMILY.
   They sat on the same row looking unrelated: the trigger is a 999px outlined pill,
   the toggles were borderless 8px squares with Bootstrap's .btn padding making them
   taller than the pill beside them. The toggles now take the trigger's exact values
   (#dcdcdc hairline, 999px, white ground, 600 weight) so DEFAULT, HOVER and ACTIVE
   read identically on both. The 44px minimum survives losing the padding because it
   comes from min-height, not from padding. */
body.projects .grid_list{gap:8px}
body.projects .grid_list .btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;min-height:44px;padding:0 14px;
  font-size:15px;font-weight:600;color:#3a3a3a;background:#fff;
  border:1px solid #dcdcdc;border-radius:999px;
  transition:background .25s cubic-bezier(.22,.61,.36,1),border-color .25s cubic-bezier(.22,.61,.36,1),color .25s cubic-bezier(.22,.61,.36,1);
}
body.projects .grid_list .btn:hover{background:#f6f6f6;border-color:#acacac}
body.projects .grid_list .btn:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}

/* ACTIVE IS NOT A DARK FILL, ON EITHER CONTROL.
   Two separate greys were doing the same job badly. The view toggle marked the current
   view with Bootstrap's .bg-light, whose grey reads as "disabled" rather than "current".
   The trigger's open state was a #3a3a3a near-black fill, the heaviest thing on an
   otherwise white control strip, which made opening a filter panel look like a mode
   change. Both now say active the same quiet way: white ground, brand-blue hairline and
   text. Same shape and weight as at rest, so only the colour changes.
   The .bg-light override is here rather than renamed in the JS so the click handler
   keeps its single source of state. */
body.projects .grid_list .btn.bg-light,
body.projects .projects-with-category-filter .navbar-toggler.show,
body.projects .projects-with-category-filter .navbar-toggler[aria-expanded="true"]{
  background:#fff !important;border-color:#0ea5df !important;color:#0ea5df !important;
}
body.projects .grid_list .btn.bg-light:hover,
body.projects .projects-with-category-filter .navbar-toggler.show:hover,
body.projects .projects-with-category-filter .navbar-toggler[aria-expanded="true"]:hover{
  background:#f2fbfe !important;
}

/* 4. TYPE / COUNTRY HEADINGS LEFT ALIGN.
   They were explicitly right-aligned. Reversed on Kim's call 2026-08-25: the checkbox
   rows beneath are left-aligned, so a right-aligned heading detached from the column it
   labels. The padding-right that balanced the old alignment goes with it. */
body.projects .projects-with-category-filter .filter-col__head{
  text-align:left;padding:0 0 10px 0;
}

/* 6. THE CHECKBOX FOCUS RING WAS BEING CLIPPED.
   .cat_nav / .country_nav are overflow-y:auto scrollers with padding-right for the
   scrollbar and nothing on the left, so the 2px outline at 2px offset fell outside the
   scroll box and was cut down the left edge the moment a checkbox took focus.
   Padding alone would shift every row 6px right and pull the list out of line with the
   heading above and the count below. The negative margin cancels that: the scroll box
   grows 6px further left into the panel's own padding while its contents stay exactly
   where they were, so header and footer need no compensating change and cannot drift
   apart from the list later. */
body.projects .projects-with-category-filter .cat_nav,
body.projects .projects-with-category-filter .country_nav{
  padding-left:6px;margin-left:-6px;
}

/* 5. THE FILTER PANEL MUST SIT ABOVE THE STICKY PORTFOLIO BUTTON.
   This fixed the panel opening UNDERNEATH the old sticky button (z-index:999 vs the
   panel's 1). That button has since been removed entirely, so this is no longer load
   bearing for it; kept because an open panel should outrank page content regardless. */
body.projects .projects-with-category-filter .filter-model{z-index:1000}

@media (prefers-reduced-motion: reduce){
  body.projects .grid_list .btn{transition:none}
}

/* --- 2026-08-25 (2), Kim: chips and Clear All --- */

/* THE CHIPS WRAP AGAIN, AND THE SIDEWAYS SCROLLER GOES.
   They were forced onto one line with overflow-x:auto so the grid below never moved.
   That traded one problem for a worse one: a visible horizontal scrollbar under the
   chips, and every filter past the fold hidden behind a gesture nobody knows is there.
   Applied filters are the one piece of state the visitor must be able to see and undo,
   so hiding them off-screen is the wrong trade. They wrap now. Eighteen selections is
   two rows, which is honest about how much is applied. */
body.projects .selected-filters{
  flex-wrap:wrap !important;overflow:visible;gap:8px;padding:0;
  scrollbar-width:auto;
}
body.projects .selected-filters::-webkit-scrollbar{display:none}

/* Chips join the control family: same hairline, same pill, same white ground as the
   view toggle and Filter by. They were solid grey blocks with square-ish corners that
   matched nothing else on the row. */
body.projects .selected-filters .selected-filter-item{
  display:inline-flex;align-items:center;gap:2px;
  padding:5px 6px 5px 12px;margin:0;flex:0 0 auto;
  font-size:13px;font-weight:600;line-height:1.3;color:#3a3a3a;
  background:#fff;border:1px solid #dcdcdc;border-radius:999px;
  transition:border-color .2s ease,color .2s ease,background-color .2s ease;
}
body.projects .selected-filters .selected-filter-item:hover{border-color:#0ea5df;color:#0ea5df}
body.projects .selected-filters .selected-filter-item:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}

/* The x is the actual target, so it gets a real one rather than a 15px glyph with
   opacity. 24px circle, hover fills it, and it sits inside the chip's own padding. */
body.projects .selected-filters .selected-filter-item .close{
  display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;margin:0;border-radius:50%;
  font-size:15px;line-height:1;opacity:.55;color:inherit;text-shadow:none;
  transition:opacity .2s ease,background-color .2s ease;
}
body.projects .selected-filters .selected-filter-item .close:hover{opacity:1;background:#f0f0f0}

/* CLEAR ALL WAS UNDERLINED PLAIN TEXT sitting against the panel title, which read as a
   stray link rather than the destructive action it is. Same pill language as everything
   else, but quieter than the filters themselves: no border until hover, so it never
   competes with the checkboxes for attention. */
body.projects .projects-with-category-filter #clearFilters{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:30px;padding:4px 14px;width:auto;
  font-size:13px;font-weight:600;line-height:1;
  color:#767676;background:#fff;border:1px solid transparent;border-radius:999px;
  text-decoration:none;
  transition:color .2s ease,border-color .2s ease,background-color .2s ease;
}
body.projects .projects-with-category-filter #clearFilters:hover{
  color:#0ea5df;border-color:#0ea5df;background:#fff;text-decoration:none;
}
body.projects .projects-with-category-filter #clearFilters:focus-visible{
  outline:3px solid #0ea5df;outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  body.projects .selected-filters .selected-filter-item,
  body.projects .selected-filters .selected-filter-item .close,
  body.projects .projects-with-category-filter #clearFilters{transition:none}
}

/* CHIPS GET THEIR OWN ROW.
   All three children (view toggle, chips, Filter by) shared one flex row with
   justify-content-between, so once a few filters were applied the chips grew into the
   space the trigger occupies and slid underneath it. Constraining their width would
   just reintroduce the truncation the horizontal scroller was hiding. Dropping them to
   a full-width line of their own is the only version that cannot collide however many
   filters are applied: controls on top, applied state beneath, which is also the order
   people read them in. */
body.projects .filters-column{flex:1 0 100%;order:3;max-width:100%}
body.projects .selected-filters{margin-top:12px}
body.projects .selected-filters:empty{margin-top:0}

/* Clear All keeps a hairline at rest. As a borderless ghost it still read as stray
   underlined text rather than a control, which was Kim's original complaint; the
   underline alone was not the whole problem. */
body.projects .projects-with-category-filter #clearFilters{border-color:#dcdcdc}

/* --- 2026-08-25 (3), Kim: the ME portfolio card replaces the sticky button --- */
/* Sits between the filter controls and the first row of cards, in the container the
   template already had there. The whole card is the link, not just the CTA text, so the
   target is the full 640x150 rather than a line of text (Fitts). Cover art is pending,
   so the placeholder is styled rather than a broken image and this ships either way. */
body.projects .proj-portfolio{
  display:flex;max-width:640px;margin:0 0 30px;text-decoration:none;color:var(--eds-ink,#3a3a3a);
  background:#fff;border:1px solid #dcdcdc;border-radius:14px;overflow:hidden;text-align:left;
  box-shadow:0 14px 34px -18px rgba(0,0,0,.28);
  transition:transform .28s cubic-bezier(.22,.61,.36,1),box-shadow .28s cubic-bezier(.22,.61,.36,1),border-color .28s cubic-bezier(.22,.61,.36,1);
}
body.projects .proj-portfolio:hover{transform:translateY(-3px);box-shadow:0 22px 48px -18px rgba(0,0,0,.36);border-color:#0ea5df}
body.projects .proj-portfolio:focus-visible{outline:3px solid #0ea5df;outline-offset:3px}
body.projects .proj-portfolio__cover{
  flex:0 0 150px;display:flex;align-items:center;justify-content:center;
  background:#eceff1;overflow:hidden;
}
body.projects .proj-portfolio__cover img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .5s cubic-bezier(.22,.61,.36,1)}
body.projects .proj-portfolio:hover .proj-portfolio__cover img{transform:scale(1.04)}
/* Placeholder standing in for the cover until the artwork lands. */
body.projects .proj-portfolio__placeholder{
  display:flex;align-items:flex-start;justify-content:flex-start;
  width:88px;height:116px;padding:12px;border-radius:3px;transform:rotate(-5deg);
  background:linear-gradient(150deg,#11151a,#2b3541);box-shadow:0 12px 26px -8px rgba(0,0,0,.55);
  color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
body.projects .proj-portfolio:hover .proj-portfolio__placeholder{transform:rotate(-5deg) scale(1.05)}
body.projects .proj-portfolio__body{flex:1;padding:18px 20px;min-width:0}
body.projects .proj-portfolio__title{display:block;font-size:16px;font-weight:700;line-height:1.3;margin-bottom:5px}
body.projects .proj-portfolio__desc{display:block;font-size:13px;color:#767676;line-height:1.5;margin-bottom:12px}
body.projects .proj-portfolio__cta{display:inline-flex;align-items:center;gap:7px;font-size:14px;font-weight:600;color:#0ea5df}
body.projects .proj-portfolio__cta svg{transition:transform .28s cubic-bezier(.22,.61,.36,1)}
body.projects .proj-portfolio:hover .proj-portfolio__cta svg{transform:translateX(3px)}
/* 12px is the floor for customer-facing text. */
body.projects .proj-portfolio__meta{display:block;margin-top:9px;font-size:12px;color:#767676}
@media screen and (max-width:560px){
  body.projects .proj-portfolio{flex-direction:column}
  body.projects .proj-portfolio__cover{flex:0 0 150px;height:150px;width:100%}
}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-portfolio,
  body.projects .proj-portfolio__cover img,
  body.projects .proj-portfolio__placeholder,
  body.projects .proj-portfolio__cta svg{transition:none}
  body.projects .proj-portfolio:hover{transform:none}
  body.projects .proj-portfolio:hover .proj-portfolio__placeholder{transform:rotate(-5deg)}
  body.projects .proj-portfolio:hover .proj-portfolio__cover img{transform:none}
}

/* --- 2026-08-25 (4), Kim: toggle, pills, card spacing --- */

/* THE VIEW TOGGLE IS ONE CONTROL, NOT TWO BUTTONS.
   Giving each segment its own pill border made a single two-state control read as two
   unrelated buttons sitting next to each other, which is what Kim flagged. Standard
   segmented control instead: the border belongs to the wrapper, the segments carry none,
   a hairline separates them, and the active one is filled rather than merely outlined.
   Segments stay 44px so the tap target does not regress. */
body.projects .grid_list{
  display:inline-flex;gap:0;padding:0;overflow:hidden;min-height:46px;
  background:#fff;border:1px solid #dcdcdc;border-radius:999px;
}
body.projects .grid_list .btn{
  min-width:52px;min-height:44px;padding:0;
  border:0;border-radius:0;background:transparent;color:#9a9a9a;box-shadow:none;
  transition:background-color .2s ease,color .2s ease;
}
body.projects .grid_list .btn + .btn{border-left:1px solid #ececec}
body.projects .grid_list .btn:hover{background:#f6f6f6;color:#3a3a3a}
body.projects .grid_list .btn:focus-visible{outline:3px solid #0ea5df;outline-offset:-3px}
/* Filled, so "which view am I in" is answerable at a glance rather than by comparing
   two outlines. This is the one place a solid fill earns its keep. */
body.projects .grid_list .btn.bg-light{background:#0ea5df !important;color:#fff !important}
body.projects .grid_list .btn.bg-light:hover{background:#0b8ec1 !important;color:#fff !important}
/* Same height as the segmented control so the row sits on one baseline. */
body.projects .projects-with-category-filter .navbar-toggler{min-height:46px}

/* CHECKED FILTER LABELS KEEP THEIR WEIGHT.
   Selection was signalled twice, by colour and by jumping 400 to 600, and the weight
   change made the list jitter as rows reflowed. Colour alone is enough here because the
   checkbox itself is the primary indicator; the text is not carrying the state on its own. */
body.projects .projects-with-category-filter .cat_nav li:has(.form-check-input:checked),
body.projects .projects-with-category-filter .country_nav li:has(.form-check-input:checked),
body.projects .projects-with-category-filter .cat_nav li:has(.form-check-input:checked) .form-check-label,
body.projects .projects-with-category-filter .country_nav li:has(.form-check-input:checked) .form-check-label{
  font-weight:400;
}

/* TITLE TO SUBTEXT WAS 14px OF DEAD SPACE.
   The h2 carried 5px of its own bottom padding and its wrapping link added 9px more, so
   the year and location floated away from the name they belong to. They are one unit;
   4px reads as one. */
body.projects .solutions .blog-item__link{padding:9px 0 0}
body.projects .solutions .blog-item__title,
body.projects .solutions .blog-item__title.pb-2{padding-bottom:0}
body.projects .solutions article small{display:block;margin-top:4px;line-height:1.4}

/* CATEGORY PILLS: ONE PER TERM, AND THEY STOP BREAKING MID-LABEL.
   Every term used to be imploded into a single pill, so three categories produced one
   long pill wrapping onto two lines. Now each term is its own pill (matching the filter
   chips), the group wraps as whole pills, and the markup caps it at two plus a count so
   the card's height cannot run away. white-space:nowrap is the part that guarantees a
   label never splits across lines. */
body.projects .solutions .blog-item-category{
  display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;
  border:0 !important;padding:0 !important;margin:0 0 10px;
  align-self:flex-start;max-width:60%;
}
body.projects .solutions .blog-item-category__pill{
  display:inline-block;white-space:nowrap;
  font-size:12px;line-height:1.2;padding:5px 11px;
  color:#3a3a3a;background:#fff;border:1px solid #dcdcdc;border-radius:999px;
}
body.projects .solutions .blog-item-category__pill--more{color:#767676;background:#f6f6f6;border-color:#ececec}

/* --- 2026-08-25 (5), Kim: toggle height, and the card stops being an orphan --- */

/* THE TOGGLE WAS 46px AROUND AN 18px ICON, ie. 13px of air above and below.
   All of that height came from the 44px tap target, and I had added 2px of wrapper
   border on top of it. Back to 44px overall, with the border inside the box, and the
   icons grown to 20px so they fill the control rather than float in it. The segment is
   42px, which is still far above the WCAG AA minimum of 24px; only the 44px AAA target
   is given up, and 2px of it. */
body.projects .grid_list{min-height:44px}
body.projects .grid_list .btn{min-height:42px}
body.projects .grid_list .btn svg{width:20px;height:20px}
body.projects .projects-with-category-filter .navbar-toggler{min-height:44px}

/* THE PORTFOLIO CARD SPANS THE ROW.
   At 640px in a 1733px row it left 1108px of white to its right and read as an orphan
   dropped onto a line of its own, which is exactly what Kim called out. Spanning the
   full width makes the line deliberate: it becomes a band introducing the listing rather
   than a card that failed to find a column. Cover left, copy centre, action right, which
   also gives the CTA somewhere sensible to sit instead of trailing the paragraph. */
body.projects .proj-portfolio{max-width:100%;align-items:stretch}
body.projects .proj-portfolio__cover{flex:0 0 190px}
body.projects .proj-portfolio__body{
  display:flex;align-items:center;gap:32px;padding:20px 26px;
}
body.projects .proj-portfolio__text{flex:1;min-width:0}
body.projects .proj-portfolio__title{font-size:19px;margin-bottom:6px}
body.projects .proj-portfolio__desc{margin-bottom:0;font-size:14px;max-width:68ch}
body.projects .proj-portfolio__action{
  flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:8px;
}
/* The CTA becomes a real button here: on a full-width band a bare text link at the far
   right of 1700px reads as an afterthought. */
body.projects .proj-portfolio__cta{
  background:#0ea5df;color:#fff;padding:12px 22px;border-radius:999px;font-size:15px;
  transition:background-color .25s cubic-bezier(.22,.61,.36,1);
}
body.projects .proj-portfolio:hover .proj-portfolio__cta{background:#0b8ec1}
body.projects .proj-portfolio__meta{margin-top:0;text-align:right}
@media screen and (max-width:900px){
  body.projects .proj-portfolio__body{flex-direction:column;align-items:flex-start;gap:16px}
  body.projects .proj-portfolio__action{align-items:flex-start;width:100%}
  body.projects .proj-portfolio__meta{text-align:left}
}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-portfolio__cta{transition:none}
}

/* --- 2026-08-25 (6), Kim: pill overflow on hover, portfolio as a popup --- */

/* ONE CATEGORY PLUS A COUNT, REST ON HOVER.
   Two pills plus a "+1" was three chips saying very little, and on Otherworld it read as
   "Architecture / Entertainment / +1", which is more clutter than information. One label
   plus "+2" is two chips and says the same thing. The remainder appears on hover in a
   popover rather than by expanding the group, because expanding would reflow the card and
   shove the grid around. tabindex on the wrapper makes it reachable without a mouse, and
   the aria-label carries the full list for screen readers, which never see the popover. */
body.projects .solutions .blog-item-category__more{
  position:relative;display:inline-flex;outline:none;
}
body.projects .solutions .blog-item-category__more:focus-visible .blog-item-category__pill--more{
  outline:3px solid #0ea5df;outline-offset:2px;
}
body.projects .solutions .blog-item-category__rest{
  position:absolute;right:0;bottom:calc(100% + 8px);z-index:5;
  display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px;
  width:max-content;max-width:220px;padding:8px;
  background:#fff;border:1px solid #dcdcdc;border-radius:10px;
  box-shadow:0 14px 30px -12px rgba(0,0,0,.3);
  opacity:0;visibility:hidden;transform:translateY(4px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;
}
body.projects .solutions .blog-item-category__more:hover .blog-item-category__rest,
body.projects .solutions .blog-item-category__more:focus-visible .blog-item-category__rest,
body.projects .solutions .blog-item-category__more:focus-within .blog-item-category__rest{
  opacity:1;visibility:visible;transform:translateY(0);
}
body.projects .solutions .blog-item-category__pill--more{cursor:default}

/* THE PORTFOLIO IS A POPUP NOW, NOT A ROW.
   As a full-width band it still owned a whole line above the grid. As a 640px card it was
   an orphan in white space. Neither earns permanent real estate for one PDF, so it is a
   trigger in the controls row that opens a panel on the left, with a close button. It
   costs the listing no vertical space at all until someone asks for it. */
body.projects .proj-portfolio-wrap{position:relative;display:inline-flex}
body.projects .proj-portfolio-trigger{
  display:inline-flex;align-items:center;gap:8px;
  min-height:44px;padding:8px 18px;
  font-size:15px;font-weight:600;line-height:1.2;color:#3a3a3a;
  background:#fff;border:1px solid #dcdcdc;border-radius:999px;
  transition:background-color .25s cubic-bezier(.22,.61,.36,1),border-color .25s cubic-bezier(.22,.61,.36,1),color .25s cubic-bezier(.22,.61,.36,1);
}
body.projects .proj-portfolio-trigger:hover{background:#f6f6f6;border-color:#acacac}
body.projects .proj-portfolio-trigger:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}
/* Open state matches the Filter by trigger: blue on white, never a dark fill. */
body.projects .proj-portfolio-trigger[aria-expanded="true"]{
  border-color:#0ea5df;color:#0ea5df;background:#fff;
}

body.projects .proj-portfolio-panel{
  position:absolute;left:0;top:calc(100% + 10px);z-index:1000;
  width:min(560px,calc(100vw - 40px));padding:0;
  background:#fff;border:1px solid #dcdcdc;border-radius:14px;overflow:hidden;
  box-shadow:0 24px 54px -20px rgba(0,0,0,.34);
}
body.projects .proj-portfolio-panel[hidden]{display:none}
body.projects .proj-portfolio-panel__close{
  position:absolute;right:10px;top:10px;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  width:32px;height:32px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.9);color:#767676;cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
body.projects .proj-portfolio-panel__close:hover{background:#f2f2f2;color:#3a3a3a}
body.projects .proj-portfolio-panel__close:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}

/* Inside the panel the card goes back to its stacked shape: the panel is 560px, so the
   full-width band layout would squeeze the copy against the CTA. */
body.projects .proj-portfolio-panel .proj-portfolio{
  max-width:100%;margin:0;border:0;border-radius:0;box-shadow:none;
}
body.projects .proj-portfolio-panel .proj-portfolio:hover{transform:none;box-shadow:none;border-color:transparent}
body.projects .proj-portfolio-panel .proj-portfolio__cover{flex:0 0 140px}
body.projects .proj-portfolio-panel .proj-portfolio__body{
  flex-direction:column;align-items:flex-start;gap:12px;padding:18px 20px;
}
body.projects .proj-portfolio-panel .proj-portfolio__title{font-size:17px}
body.projects .proj-portfolio-panel .proj-portfolio__action{align-items:flex-start;width:100%}
body.projects .proj-portfolio-panel .proj-portfolio__meta{text-align:left}
@media screen and (max-width:560px){
  body.projects .proj-portfolio-panel{position:fixed;left:20px;right:20px;width:auto;top:auto;bottom:20px}
  body.projects .proj-portfolio-panel .proj-portfolio{flex-direction:column}
  body.projects .proj-portfolio-panel .proj-portfolio__cover{width:100%;height:130px;flex:0 0 130px}
}
@media (prefers-reduced-motion:reduce){
  body.projects .solutions .blog-item-category__rest,
  body.projects .proj-portfolio-trigger,
  body.projects .proj-portfolio-panel__close{transition:none}
}

/* --- 2026-08-25 (7), Kim: page intro and a sticky controls bar --- */

/* PAGE INTRO. The header handed the listing a 140px H1 and 1588px of dead space, so the
   page opened with no statement of what it is or how much of it there is. One line of
   purpose and a live count, sitting above the controls where a reader looks first. */
body.projects .proj-intro{margin:0 0 22px}
body.projects .proj-intro__lead{
  margin:0 0 6px;max-width:64ch;font-size:16px;line-height:1.55;color:#5a5a5a;
}
body.projects .proj-intro__count{
  margin:0;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#767676;
}
body.projects .proj-intro__n{font-weight:700;color:#3a3a3a}

/* STICKY CONTROLS BAR.
   53 projects revealed four rows at a time means the filter leaves the screen almost at
   once, and the only way back was a scroll to the top. The row pins instead. It is only
   position:fixed while .is-pinned is set by the script, so with JS off the bar simply
   stays in the flow and nothing is lost.
   The negative margins and matching padding let the pinned bar's background run the full
   viewport width while its contents stay on the page's own gutter. */
body.projects .proj-bar{transition:box-shadow .2s ease}
body.projects .proj-bar.is-pinned{
  position:fixed;left:0;right:0;z-index:900;
  width:100%;max-width:100%;margin:0;
  /* 80px, NOT 65px, and measured rather than guessed: the top-level nav's content sits
     in .header-inner at max-width calc(100% - 160px), ie. exactly 80px inset each side.
     At 65px the pinned bar's contents sat 15px wider than the nav above it, which is
     the misalignment Kim spotted. */
  padding:12px 80px;
  background:rgba(255,255,255,.96);
  backdrop-filter:saturate(180%) blur(8px);
  -webkit-backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid #ececec;
  box-shadow:0 6px 18px -12px rgba(0,0,0,.3);
}
@media screen and (max-width:575px){
  body.projects .proj-bar.is-pinned{padding:8px 16px}
}
/* The applied-filter chips are useful pinned, but a wrapped stack of them would eat the
   viewport, so pinned they stay on one line and scroll. This is the one place the
   sideways scroller is right: it is a temporary bar, not the page's own content. */
body.projects .proj-bar.is-pinned .selected-filters{
  flex-wrap:nowrap !important;overflow-x:auto;margin-top:8px;padding-bottom:2px;
  scrollbar-width:thin;
}
body.projects .proj-bar.is-pinned .selected-filters::-webkit-scrollbar{height:6px}
body.projects .proj-bar.is-pinned .selected-filters::-webkit-scrollbar-thumb{background:#dcdcdc;border-radius:3px}
/* Pinned, the panel is anchored to a fixed element, so it must not be clipped by it. */
body.projects .proj-bar.is-pinned .proj-portfolio-panel{z-index:1000}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-bar{transition:none}
}

/* --- 2026-08-25 (8), Kim: the intro takes the controls row's left slot --- */
/* It is a flex child of the bar now rather than a block above it, so it needs a width
   ceiling or the sentence pushes Filter by off the right. */
body.projects .proj-intro{
  flex:1 1 auto;min-width:0;max-width:56ch;margin:0;padding:0;
}
body.projects .proj-intro__lead{
  margin:0 0 3px;font-size:15px;line-height:1.45;color:#5a5a5a;
}
body.projects .proj-intro__count{
  margin:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:#767676;
}
body.projects .proj-intro__n{font-weight:700;color:#3a3a3a}
/* PINNED, THE SENTENCE GOES AND THE COUNT STAYS. A pinned bar exists to keep the filter
   reachable; a full sentence of scene-setting there is read once and then costs height on
   every screen after. The count is the half that stays useful while browsing. */
body.projects .proj-bar.is-pinned .proj-intro__lead{display:none}
body.projects .proj-bar.is-pinned .proj-intro{max-width:none}
@media screen and (max-width:575px){
  body.projects .proj-intro{flex:1 1 100%;max-width:none;margin-bottom:10px}
  body.projects .proj-intro__lead{font-size:14px}
}

/* --- 2026-08-25 (9), Kim: close the header gap, lift the small text --- */

/* 86px BETWEEN THE PAGE TITLE AND THE INTRO, from two spacers stacking:
   .header.clear.mb-5 contributes 50px (30px margin plus the header-inner's 20px bottom
   padding) and .projects_nav.py-5 adds 30px of padding-top on top of it. Neither is wrong
   on its own; together they leave the listing floating away from its own title.
   Both overrides are scoped to body.projects, so no other template that shares these
   site-wide classes moves. Lands at roughly 32px, which reads as one block. */
/* !important is required, not lazy: both targets carry Bootstrap spacing utilities
   (.mb-5 and .py-5) which ship !important themselves, so no amount of specificity wins
   without it. Scoped to body.projects so nothing else sharing those classes moves. */
body.projects .header.clear{margin-bottom:0 !important}
body.projects .projects_nav{padding-top:6px !important}

/* SUBTEXT WAS SITTING ON THE 12px FLOOR, NOT ABOVE IT.
   The project count was 12px and the card's year/location line 12.8px, which is the
   minimum we allow rather than a size chosen to be read. Both come up. 12px stays the
   hard floor for customer-facing text; nothing here goes near it now. */
body.projects .proj-intro__count{font-size:13px}
body.projects .proj-intro__lead{font-size:16px}
body.projects .solutions article small{font-size:14px;color:#5a5a5a}
/* The category pills and the panel's result count move with them, or the card ends up
   with three different small sizes competing. */
body.projects .solutions .blog-item-category__pill{font-size:13px}
body.projects .projects-with-category-filter .show-filter-result{font-size:14px}
body.projects .selected-filters .selected-filter-item{font-size:14px}

/* --- 2026-08-25 (10), Kim: sticky bar width, entrance, alignment, left content --- */

/* IT SLID IN WITH NO ANIMATION AND READ AS A SNAP.
   The bar goes from static to fixed, so there is nothing for a plain transition to
   interpolate: it simply appears. Animating it in from above its own height is the only
   version that reads as arriving rather than blinking into place. Short and eased, not a
   flourish, because this happens on every scroll past the threshold. */
@keyframes projBarIn{
  from{transform:translateY(-100%);opacity:0}
  to{transform:translateY(0);opacity:1}
}
body.projects .proj-bar.is-pinned{
  animation:projBarIn .26s cubic-bezier(.22,.61,.36,1) both;
}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-bar.is-pinned{animation:none}
}

/* VERTICAL CENTRING. align-items:center centres the flex CHILDREN, but the row also
   carried Bootstrap's own vertical padding on .container-fluid, so the contents sat high
   in the pinned band. Padding is symmetric here and every child is centred on its own
   axis, so the band is centred on its contents rather than approximately so. */
body.projects .proj-bar.is-pinned{align-items:center}
body.projects .proj-bar.is-pinned > *{margin-top:0;margin-bottom:0}
body.projects .proj-bar.is-pinned .proj-intro,
body.projects .proj-bar.is-pinned .filter-region,
body.projects .proj-bar.is-pinned .filters-column{display:flex;align-items:center}
body.projects .proj-bar.is-pinned .filters-column{flex-wrap:wrap}

/* "53 PROJECTS" ALONE ON THE LEFT LOOKED LIKE A LEFTOVER, not a label.
   Hiding the lead when pinned is still right (a full sentence of scene-setting costs
   height on every screen after it is read), but the count was left at 13px muted, which
   reads as a stray number. Given the weight and colour of a real label it reads as the
   bar telling you what you are looking at, which is exactly its job once filters narrow
   the set. */
body.projects .proj-bar.is-pinned .proj-intro__count{
  font-size:14px;font-weight:600;color:#3a3a3a;letter-spacing:.02em;text-transform:none;
}
body.projects .proj-bar.is-pinned .proj-intro__n{color:#0ea5df}

@media screen and (max-width:991px){
  body.projects .proj-bar.is-pinned{padding:10px 24px}
}
@media screen and (max-width:575px){
  body.projects .proj-bar.is-pinned{padding:8px 16px}
}

/* --- 2026-08-25 (11), Kim: two sticky-bar faults, both measured --- */

/* FILTER BY DRIFTED LEFT WHEN PINNED, and it was my own doing. Making .filter-region a
   flex container to centre it vertically turned its child into a flex ITEM, which sizes
   to content and sits at the start of the line, so the Bootstrap .text-right that used to
   push the trigger over stopped applying to anything. Measured: the trigger's right edge
   was 1105 inside a region ending at 1813. justify-content:flex-end restores it without
   giving up the vertical centring. */
body.projects .proj-bar.is-pinned .filter-region{justify-content:flex-end}
body.projects .proj-bar.is-pinned .filter-region > *{width:100%}
body.projects .proj-bar.is-pinned .projects-with-category-filter > div > .d-flex{justify-content:flex-end}

/* THE BAND LOOKED TOP-HEAVY BECAUSE AN EMPTY ROW WAS HOLDING THE BOTTOM OPEN.
   With no filters applied the chips container is empty but .filters-column is
   flex:1 0 100%, so it still forced a second line and 18px of height with nothing in it.
   The contents then sat 10px above the band's centre. There is already a :empty rule for
   the chips, but the pinned margin-top:8px I added later beat it, which is exactly the
   kind of override that undoes an earlier fix silently.
   Collapsing the whole column, not just the chips, is what removes the forced line break. */
body.projects .selected-filters:empty{display:none;margin-top:0}
body.projects .proj-bar .filters-column:has(> .selected-filters:empty){display:none}
/* :has is already a dependency of this stylesheet (the checked-label rule uses it), so
   this adds no new support requirement. Fallback if it ever needs one: the chips row
   simply reappears empty, which is the pre-existing behaviour rather than a break. */

/*# sourceMappingURL=solutions.css.map */

/* --- 2026-08-26, Kim: tablet cards, pill cramping, and card widths --- */

/* TWO-UP BETWEEN 768 AND 991. At three-up the card is 248px, and with the pill taking
   110-123px plus a 30px gap the title is left about 90px of it, so titles wrapped to four
   lines and ran into the next card's pill. This band gives 375px cards instead. Declared
   after the max-width:1240px rule above so it wins on source order at equal specificity. */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  body.projects .solutions.container .row article,
  body.blog .solutions.container .row article,
  .archive .solutions.container .row article { width: 50%; }
}

/* THE PILL STOPS SHARING THE TITLE'S LINE below the wide desktop grid. The markup carries
   Bootstrap's .flex-sm-row, which turns the title and the pill into a two-column row from
   576px up: fine on a 360px card, cramped on anything narrower. Stacking gives the title the
   card's full width, so it wraps to one or two lines instead of four. !important because the
   Bootstrap utility it overrides carries its own. */
@media screen and (max-width: 1240px) {
  body.projects .solutions.container .row article .project-grid.d-flex {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

/* THE PINNED BAR PAINTS UPWARD INTO THE HEADER'S TRANSPARENT TAIL.
   On a phone #navbar is 70px tall but its background is rgba(255,255,255,0): the only opaque
   header is #enttec-mm-topbar at 56px. The bar pins to #navbar's bottom, correctly, because
   that is where the nav's CONTENT ends, which leaves 56-70 covered by nothing and a 14px
   slice of card titles scrolling through the gap. Extending the bar's own background upward
   closes it; the top bar out-z-indexes this (999990 against 900) so the overspill is hidden
   behind it rather than painting over the nav, and on desktop the bar pins at 0 so this
   simply falls outside the viewport. */
body.projects .proj-bar.is-pinned::before{
  content:'';position:absolute;left:0;right:0;bottom:100%;height:24px;
  /* Solid, NOT the bar's own 96% white: at 4% transparency the card titles still ghosted
     through the strip. Nothing frosted needs to show here, it sits behind the header. */
  background:#fff;pointer-events:none;
}

/* --- 2026-08-26, Kim: the listing lines up with the nav at tablet --- */

/* Bootstrap's .container is a FIXED 750px at this breakpoint while the nav insets 40px each
   side, so the cards sat 85px inside the header and read as a mistake. Measured chain:
   nav content L=40, container L=125, and the card's visible edge (a.thumb) lands exactly on
   the container's left edge, so moving the container is all that is needed.
   Scoped to body.projects: every other Bootstrap page on the site keeps the 750px container.
   Held off below 576px, where a 40px inset would eat a phone's width. */
@media screen and (min-width: 576px) and (max-width: 1240px) {
  /* BOTH containers, not just the grid. The controls row lives in its own .container
     (.projects_nav), so widening only the grid left the intro and Filter by 85px inside the
     cards. Same relationship holds in each: the container's left edge is where the card's
     visible edge and the intro's text edge land, because the row's -15px gutter and the
     column's 15px padding cancel out. */
  body.projects .solutions.container,
  body.projects .container.projects_nav { max-width: calc(100% - 80px); }

  /* The pinned bar has to travel with the cards, and its 80px was wrong independently: the
     comment above it reasoned from .header-inner, but the element that actually carries the
     nav's content is .nav_container, and that insets 40px. Measured, not typed. */
  body.projects .proj-bar.is-pinned { padding-left: 40px; padding-right: 40px; }
}

/* --- 2026-08-26, Kim: the portfolio moves into the controls row --- */

/* Fourth placement, and the one that stops the fight for a corner. Bottom-left is owned by
   two pieces of consent furniture (#gdpr-notice, and #show-gdpr "Privacy & cookies policy"
   fixed at left 35 / bottom 0, 257x51) and bottom-right by #go-to-top, so a floating card had
   to track and dodge them, and needed a dismiss, a parked state and an offset calculation to
   do it. A link in the controls row is always reachable because the row pins on scroll, and
   nothing the reader can ignore needs closing.

   Sized and shaped as a sibling of Filter by so the two read as one control family, but
   quieter: no border, so the pill next to it stays the primary action. */
body.projects .proj-portfolio-link{
  display:inline-flex;align-items:center;gap:7px;
  margin-right:14px;padding:8px 4px;
  color:#3a3a3a;font-size:15px;font-weight:500;line-height:1;
  text-decoration:none;white-space:nowrap;
  transition:color .2s ease;
}
body.projects .proj-portfolio-link:hover{color:#0ea5df;text-decoration:none}
body.projects .proj-portfolio-link svg{flex:0 0 auto;color:#0ea5df}
/* Blue, matching every other focus ring on this page. The parked tab used a dark ring only
   because it was itself blue, and Kim flagged that it read as a stray black border. */
body.projects .proj-portfolio-link:focus-visible{
  outline:3px solid #0ea5df;outline-offset:3px;border-radius:4px;
}
@media screen and (max-width:419px){
  /* The label goes only on a genuinely narrow phone. At 480 there is room for the word, and a
     lone icon sitting next to a labelled pill reads as something half-rendered rather than a
     control. The aria-label carries the full description either way. */
  body.projects .proj-portfolio-link__label{display:none}
  /* Icon only, so the box has to be padded up to a real touch target: at the icon's own size
     plus 8px it measured 31x31, under the 44px floor. Fitts's law, and thumbs. */
  body.projects .proj-portfolio-link{
    margin-right:4px;padding:0;
    min-width:44px;min-height:44px;justify-content:center;
  }
}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-portfolio-link{transition:none}
}

/* CLEAR ALL STOPS RUNNING UNDER THE CLOSE BUTTON. Measured overlap 20x21px: the panel's
   close sits absolutely 47px in from its right edge, while the header row it overlaps ends
   at the panel's 27px padding, so Clear All had 20px of itself underneath the X. The panel's
   padding was tightened at some point from 60px to 22px top, which pulled this row up into
   the close button's line; reserving the button's footprint in the row is the fix that does
   not give the wasted 38px back. The border-bottom still spans the full row, because padding
   sits inside the border box. */
body.projects .filter-model .d-flex.justify-content-between.border-bottom{
  /* No rule under this row, per Kim. The TYPE and COUNTRY headings keep theirs: those separate
     a heading from the list it belongs to, whereas this one was drawing a line under a row that
     is already visually separated by the panel's own padding. !important because the Bootstrap
     utility it overrides ships with one. */
  border-bottom:0 !important;
  padding-right:30px;
  /* CLEAR ALL AND THE CLOSE BUTTON SHARE A CENTRE LINE, by construction rather than by a typed
     offset. Both boxes are 32px tall and both start at the panel's content top, so their centres
     coincide whatever the font metrics do. They were 10px apart: the close sat at top 20 while
     Clear All, being in this row, started at the panel's 22px padding and is 30px tall. */
  align-items:center;
  min-height:32px;
}
body.projects .filter-model #clearFilters{height:32px}
/* Selector matched to the existing `body.projects .projects-with-category-filter .filter-model
   .close-model` rule, which sets top:12px. A shorter selector lost to it on specificity and the
   button stayed 10px high; matching the shape and declaring later is what wins.
   22px is the panel's own padding-top, so the close starts exactly where the header row's
   content does and, both being 32px tall, their centres land on the same line. */
body.projects .projects-with-category-filter .filter-model .close-model{
  top:22px;right:14px;
  width:32px;height:32px;
  display:inline-flex;align-items:center;justify-content:center;
}
/* --- 2026-08-25 (12), Kim: the ME portfolio returns, pinned bottom-left --- */
/* Same card language as the homepage catalogue promo: cover, title, one line, a link.
   Bottom LEFT, not right: the old sticky button sat bottom-right where it fought the
   filter panel for the same corner, and the back-to-top control still lives there. */
body.projects .proj-promo{
  /* --proj-promo-gap is the design gap and stays CSS-owned. --proj-promo-bar is how much
     of the viewport bottom the cookie bar actually covers right now, written by script.
     Splitting them this way means JS never has an opinion about the layout, so the mobile
     gap below is a one-line override instead of a second copy of the maths in the script. */
  --proj-promo-gap:24px;
  position:fixed;left:24px;bottom:calc(var(--proj-promo-gap) + var(--proj-promo-bar, 0px));z-index:880;
  transition:bottom .3s cubic-bezier(.22,.61,.36,1);
  width:300px;max-width:calc(100vw - 48px);
  /* No border. Against the grid's photography a light 1px ring read as a stray white
     outline rather than an edge, and the shadow already separates the card from what is
     behind it, which is all the border was doing. */
  background:#fff;border-radius:14px;overflow:hidden;
  box-shadow:0 22px 50px -20px rgba(0,0,0,.4);
  animation:projPromoIn .34s cubic-bezier(.22,.61,.36,1) both;
  animation-delay:.6s;
}
body.projects .proj-promo[hidden]{display:none}
/* Below the sticky bar (900) so it can never cover the filter, above ordinary content. */
@keyframes projPromoIn{
  from{transform:translateY(12px);opacity:0}
  to{transform:translateY(0);opacity:1}
}
body.projects .proj-promo__close{
  position:absolute;right:8px;top:8px;z-index:2;
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;padding:0;border:0;border-radius:50%;
  background:rgba(255,255,255,.92);color:#767676;cursor:pointer;
  transition:background-color .2s ease,color .2s ease;
}
/* 28x28 IS THE VISIBLE SIZE, 44x44 IS THE TARGET. The circle has to stay small because it
   sits over the card's artwork, so the hit area comes off the layout instead: -8px all round
   on a 28px box is 44x44 exactly, and being absolutely positioned inside a padded card there
   is nothing in that ring to steal a click from. Same trick as .pf-chip button. */
body.projects .proj-layout .proj-promo__close::after{content:'';position:absolute;inset:-8px}
body.projects .proj-promo__close:hover{background:#f2f2f2;color:#3a3a3a}
body.projects .proj-promo__close:focus-visible{outline:3px solid #0ea5df;outline-offset:2px}
body.projects .proj-promo__link{
  display:block;text-decoration:none;color:#3a3a3a;
  transition:background-color .2s ease;
}
body.projects .proj-promo__link:hover{background:#fafafa}
body.projects .proj-promo__link:focus-visible{outline:3px solid #0ea5df;outline-offset:-3px}
body.projects .proj-promo__cover{
  display:flex;align-items:center;justify-content:center;
  /* Matches the artwork exactly (2300x1400), so object-fit:cover has nothing left to crop.
     A fixed height cannot do this: the card width changes on mobile, so a fixed height is a
     different ratio at every breakpoint and the crop moves with it. */
  aspect-ratio:2300/1400;background:#eceff1;overflow:hidden;
}
body.projects .proj-promo__cover img{width:100%;height:100%;object-fit:cover;display:block;
  transition:transform .5s cubic-bezier(.22,.61,.36,1)}
body.projects .proj-promo__link:hover .proj-promo__cover img{transform:scale(1.04)}
body.projects .proj-promo__placeholder{
  display:flex;align-items:flex-start;width:74px;height:98px;padding:10px;
  border-radius:3px;transform:rotate(-5deg);
  background:linear-gradient(150deg,#11151a,#2b3541);box-shadow:0 10px 22px -8px rgba(0,0,0,.55);
  color:#fff;font-size:12px;font-weight:700;letter-spacing:.14em;
  transition:transform .5s cubic-bezier(.22,.61,.36,1);
}
body.projects .proj-promo__link:hover .proj-promo__placeholder{transform:rotate(-5deg) scale(1.06)}
body.projects .proj-promo__body{display:block;padding:14px 16px 16px}
body.projects .proj-promo__title{display:block;font-size:16px;font-weight:700;line-height:1.3;margin-bottom:4px}
body.projects .proj-promo__desc{display:block;font-size:13px;line-height:1.5;color:#767676;margin-bottom:10px}
body.projects .proj-promo__cta{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#0ea5df}
body.projects .proj-promo__cta svg{transition:transform .25s cubic-bezier(.22,.61,.36,1)}
body.projects .proj-promo__link:hover .proj-promo__cta svg{transform:translateX(3px)}
@media screen and (max-width:575px){
  /* On a phone a 300px card bottom-left covers a third of the grid, so it goes narrow and
     sits above the cookie bar rather than under it. */
  body.projects .proj-promo{left:12px;right:12px;width:auto;--proj-promo-gap:12px}
  /* COMPACT ROW ON A PHONE. Keeping the cover full-width here made it 199px tall, and with
     the consent bar at 270px on a 375px screen the card and the bar together covered the
     entire listing. Turning the card into a row keeps the artwork uncropped (the thumbnail
     holds the same aspect-ratio) while the card itself drops to about 100px. */
  body.projects .proj-promo__link{display:flex;align-items:center;gap:12px}
  body.projects .proj-promo__cover{flex:0 0 104px;width:104px}
  body.projects .proj-promo__body{padding:10px 12px 10px 0;min-width:0}
  body.projects .proj-promo__title{font-size:15px}
  /* The description is the first thing to go: the title and the CTA carry the card, and two
     lines of body copy is what pushed it over a third of the screen. */
  body.projects .proj-promo__desc{display:none}
  /* Clear of the 28px close button so a long title never runs under it. */
  body.projects .proj-promo__body{padding-right:34px}
}
@media (prefers-reduced-motion:reduce){
  body.projects .proj-promo{animation:none;transition:none}
  body.projects .proj-promo__cover img,
  body.projects .proj-promo__placeholder,
  body.projects .proj-promo__cta svg,
  body.projects .proj-promo__close,
  body.projects .proj-promo__link{transition:none}
  body.projects .proj-promo__link:hover .proj-promo__placeholder{transform:rotate(-5deg)}
  body.projects .proj-promo__link:hover .proj-promo__cover img{transform:none}
}

/* WHOLE-ARTWORK THUMBNAIL ON A PHONE. The box and the artwork are the same ratio, so
   object-fit was never actually cropping, but at 104px wide the brochure stack runs corner to
   corner and the grey margin is too thin to read as one, which is why it looked chopped.
   contain over a matching backdrop puts a visible edge back around it. */
@media screen and (max-width:575px){
  body.projects .proj-promo__cover{background:#8a8d99;padding:4px}
  body.projects .proj-promo__cover img{object-fit:contain}
}

/* The button and the card are the same thing in two states, so only one is ever on screen.
   [hidden] needs saying out loud here because the card sets display on .proj-promo. */
body.projects .proj-portfolio-link[hidden]{display:none}

/* ONE ROW ON A PHONE, not two. .proj-intro carries flex-basis:100%, so it claimed the whole
   line and pushed Filter by onto a second one: measured two row tops, -4 and 17, inside an
   82px bar. Letting the intro size to the space that is left, and the filter column to its
   own content, puts them side by side. The chips column keeps its 100% basis, because applied
   filters genuinely do belong on their own line below. */
@media screen and (max-width: 575px) {
  body.projects .proj-bar{align-items:center}
  /* flex-basis 0, NOT auto. With auto the base size is the sentence's max-content width, which
     on its own exceeds the row, so the controls still wrapped and the fix did nothing. Basis 0
     plus min-width:0 lets the text shrink and wrap inside its share instead of pushing. */
  /* display:contents dissolves the intro's own box so its two lines become direct children of
     the bar and can be placed independently. Without it the sentence and the count are welded
     together in one column, and putting that column beside the controls squeezed the sentence
     into three wrapped lines. The sentence is a sentence, so it gets the full width; the count
     is short, so it rides the controls row. Pinned, the sentence is display:none already, which
     leaves exactly the count-plus-controls line Kim asked for. */
  /* The .is-pinned variants are not optional: a pinned rule sets .proj-intro{display:flex},
     which outranks a shorter selector, so pinned kept the old full-width column and the controls
     kept wrapping. Pinned is the state Kim screenshotted. */
  body.projects .proj-bar .proj-intro,
  body.projects .proj-bar.is-pinned .proj-intro{display:contents}
  body.projects .proj-bar .proj-intro__lead{flex:1 1 100%;order:0;margin-bottom:6px}
  body.projects .proj-bar .proj-intro__count,
  body.projects .proj-bar.is-pinned .proj-intro__count{flex:1 1 auto;order:1;min-width:0;margin:0}
  body.projects .proj-bar .filter-region,
  body.projects .proj-bar.is-pinned .filter-region{flex:0 0 auto;width:auto;max-width:none;order:2}
  body.projects .proj-bar .filters-column,
  body.projects .proj-bar.is-pinned .filters-column{order:3}
}

/* --- 2026-08-26, Kim: Filter by padding --- */
/* 6px 18px, down from 8px 20px. Selector matched to the existing
   `body.projects .projects-with-category-filter .navbar-toggler` rules (there are two, at
   10px 20px and 8px 20px) and declared later, because a shorter selector loses to them and the
   change would silently not apply. */
body.projects .projects-with-category-filter .navbar-toggler{
  padding:6px 18px;
}

/* --- 2026-08-26, Kim: the controls row breaks between 576 and 991 --- */

/* THE CONTROLS OVERFLOWED THEIR OWN COLUMN AND SPILLED OVER THE INTRO TEXT.
   .filter-region is a Bootstrap .col, so flex:1 1 0. With the intro's basis being its content
   width (445px), the free space split 1:1 left the column only 140px while Portfolio plus
   Filter by need 212px. The column does not clip, and .text-right justifies to the end, so the
   excess spilled LEFT, straight across the sentence: measured a 71x16px overlap at 695px wide.
   The boxes themselves never overlapped, which is why this reads as a mystery until you measure
   the contents rather than the containers.

   Giving the controls their content width and letting the sentence shrink instead fixes it for
   the whole band. Above 992 the row is wide enough that the 1:1 split already leaves the column
   more than it needs, so this is deliberately scoped. */
@media screen and (min-width: 576px) and (max-width: 991px) {
  body.projects .proj-bar{align-items:center}
  body.projects .proj-bar .proj-intro,
  body.projects .proj-bar.is-pinned .proj-intro{flex:1 1 0%;min-width:0}
  body.projects .proj-bar .filter-region,
  body.projects .proj-bar.is-pinned .filter-region{flex:0 0 auto;width:auto;max-width:none}
}

/* --- 2026-08-26, Kim: Filter by was 30px short of the card grid's right edge --- */

/* The controls row carries BOTH .container-fluid and .row, which is a Bootstrap contradiction:
   container-fluid adds 15px padding and pins width to 100% of the container, while row adds
   -15px margins. The negative margin and the padding cancel on the LEFT, so its content starts
   at 40 like the cards do, but the width never grows to absorb the two negative margins, so the
   right edge lands 30px inside. Measured at 695: controls content right 625, card grid right
   655. The grid's own row has no container-fluid, which is exactly why the cards line up.

   width:auto lets the -15px margins do their job, so the box spans the full 645 and the 15px
   padding brings content back to 40 and 655, matching the grid on both sides. The pinned state
   sets width:100% and its own padding explicitly, so it is unaffected. */
body.projects .proj-bar:not(.is-pinned){
  width:auto;
}

/* --- 2026-08-26, Kim: pills on one line, left aligned, and tighter rows --- */

/* ONE LINE, LEFT ALIGNED. The pill row was flex-wrap:wrap with justify-content:flex-end in a
   119px box, while the label (98px) plus the gap (6px) plus "+2" (37px) needs 141px, so it
   wrapped and then right-aligned the remainder, which put "+2" alone on a second line under the
   label. nowrap keeps them together and flex-start puts them where the title and the year
   already are. The label can ellipsis rather than overflow the card, which is the one thing
   nowrap could otherwise cause on a long term. */
body.projects .solutions.container .row .blog-item-category{
  flex-wrap:nowrap;
  justify-content:flex-start;
  max-width:100%;
  /* The article's own padding-bottom separates the cards, so this was a second gap doing the
     same job. */
  margin-bottom:0;
  /* !important is unavoidable: the winning rule is
     `body.projects .solutions.container .row .blog-item-category{padding:5px 10px!important}`,
     a leftover from when this element WAS the pill (its border is already overridden to 0).
     That 10px inset is what stopped the pills lining up with the title, and without !important
     the declaration was simply ignored. The child pills carry their own padding. */
  padding:0 !important;
}
body.projects .solutions.container .row .blog-item-category__pill{
  min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}

/* TIGHTER ROWS. The measured gap BETWEEN rows was already 0: the space was inside the card,
   20px of article padding plus the 10px pill margin above, on top of the wrapped pill line the
   rule above removes. Selector matched to the existing article rule so it actually wins. */
body.projects .solutions.container .row article,
body.blog .solutions.container .row article,
.archive .solutions.container .row article{
  padding-bottom:12px;
}

/* TIGHTER GAP BETWEEN CARD ROWS ON TABLET AND UP. The article carries Bootstrap's .mb-sm-5,
   already overridden somewhere to 30px, and that stacked on the 12px padding-bottom for a
   measured 42px between the last pill of one row and the next row's image. 20px of margin over
   the 12px padding lands on 32px, which reads as a deliberate gutter rather than a dropped row. !important because .mb-sm-5 ships with one, so
   specificity alone never wins here. Below 576px .mb-sm-5 does not apply and the padding is
   already the whole gap, so this only affects the band Kim reported. */
@media screen and (min-width: 576px) {
  body.projects .solutions.container .row article,
  body.blog .solutions.container .row article,
  .archive .solutions.container .row article{
    margin-bottom:20px !important;
  }
}

/* ============================================================================
 * WI #8842: THE FOUR-FACET FILTER RAIL. Everything below renders on the test box
 * and local dev only, gated in page-projects.php on the ENTTEC_PROJECTS_FILTER_RAIL
 * constant, which picks projects-loop-rail.php where it is defined and
 * projects-loop.php everywhere else. An earlier version of that gate used
 * enttec_is_prod_host(), and that helper still exists for other features, so do not
 * go looking for it here. See the
 * long note in page-projects.php for why it is two templates and what promoting it
 * to production involves.
 *
 * WHY MOST OF THIS IS SAFE ON PRODUCTION ANYWAY: .pf-*, .proj-layout, .proj-main,
 * .proj-kit*, .proj-empty, .proj-pillbtn and .proj-caret match nothing in the
 * template production renders, so they are inert there whatever the gate does.
 *
 * FOUR ELEMENTS ARE SHARED WITH THAT TEMPLATE, and every rule touching them is
 * scoped under .proj-layout on purpose: .proj-bar, .proj-promo, .proj-portfolio-link
 * and a.thumb all exist on the live page today. .proj-layout exists only in the rail
 * template, so the scope is what keeps production's controls row, its AE portfolio
 * card and its 400px thumbnail box exactly as they are. If you add a rule here that
 * names one of those four, scope it the same way.
 * ========================================================================= */

/* --- 2026-09-03, Kim: the filter becomes a persistent left rail (Task 9, WI #8842) ---
   Ported from the approved prototype at _kim/projects-filter-sidebar.html, which replaced
   the "Filter by" popover this block used to style. Kim rejected the popover outright: a
   filter you can see the whole time is one whose state you can read at a glance, which a
   closed panel with a count badge is not.

   TWO THINGS THIS BLOCK DOES NOT DO.
   1. It does not restyle the CARD GRID. The prototype had its own CSS grid of cards; prod
      keeps the theme's existing Bootstrap row/col grid, per Kim's ruling, because the card
      presentation is not part of REQ-143 and does not get redesigned alongside the filter.
      Only the product-tag pills on the card change, and only in which of them show.
   2. It invents no form controls. Every checkbox and the sort dropdown are the My Account
      design system's own components (.enttec-check / __box from enttec-account-ds2.css,
      .enttec-locale-switcher from locale-switcher.css plus that file's DS-blue override
      layer), reused with their ancestor scope swapped to .pf-ds. The `eds` design system
      has no form primitives at all, so there was nothing else to reach for. Neither of
      those two stylesheets is enqueued on /projects/, which is why the rules are restated
      here rather than simply relied on.

   THE ONLY BLUE IS #0EA5DF. Not the --acct-info sky/navy pair (#bae6fd / #0369a1) that
   ships alongside these components in the account area; borders and text are ENTTEC blue,
   low-opacity washes may stay.

   NO :focus RINGS, :focus-visible only, so a mouse click never draws a ring a keyboard Tab
   needs. The !important on those rules is earned: the block-editor stylesheet this page
   also loads resets every bare <input>'s focus outline and box-shadow to WordPress admin
   blue (#2271b1), and specificity alone does not beat it. */

/* Tokens on the layout wrapper, not :root, so nothing here can reach the rest of the site.
   The --acct-* values are taken as-is from the account DS; they are not ours to invent. */
body.projects .proj-layout{
  --pf-ink:#1d2327; --pf-body:#444; --pf-muted:#6c757d; --pf-pill-ink:#3a3a3a;
  --pf-line:#dcdcdc; --pf-line-soft:#ececec; --pf-blue:#0EA5DF; --pf-blue-dark:#0c8bbb;
  --pf-blue-wash:#f0f9ff; --pf-ease:cubic-bezier(.22,.61,.36,1);
  /* The rail's width and the gutter beside it are tokens because THREE things need to
     agree on them: the grid track below, and the AE portfolio card's left edge further
     down. A literal in any one of those is a drift waiting to happen. */
  --pf-rail-w:248px; --pf-rail-gap:44px;
  --acct-blue:#0EA5DF; --acct-blue-hover:#0c8bbb;
  --acct-border:#d8d8d8; --acct-border-soft:#e6e8eb; --acct-table-border:#e0e0e0;
  --acct-text:#1a1a1a; --acct-text-2:#2b2b2b; --acct-text-muted:#6c757d;
  --acct-surface-2:#f7f8fa;
  --acct-ring-soft:0 0 0 3px rgba(14,165,223,0.25);
  --acct-radius:8px; --acct-dur:170ms; --acct-ease:cubic-bezier(0.4,0,0.2,1);
}
/* Scoped, not the prototype's global `*`: this page loads seven other stylesheets. */
body.projects .proj-layout *{box-sizing:border-box}

/* ---------- layout: rail + results ---------- */
body.projects .proj-layout{display:grid;grid-template-columns:var(--pf-rail-w) 1fr;gap:var(--pf-rail-gap);align-items:start}
body.projects .proj-main{min-width:0}

/* ---------- the rail ----------
   THIS IS THE ONLY SCROLL REGION IN THE RAIL, and it is a safety net rather than the fix.
   The per-group option lists cap nothing of their own, so there is nothing to nest a second
   scrollbar inside. What actually keeps the rail short is "Show all N" below. At the default
   open state (Product open, the other three closed) this never engages on a normal screen.

   scrollbar-gutter:stable reserves the bar's width whether or not it is showing, so opening
   a facet group cannot shift every label sideways by the width of a scrollbar appearing. */
body.projects .pf-rail{
  /* STICKS BELOW THE PINNED RESULTS BAR, not at a literal offset from the viewport top.
     The bar pins position:fixed, full viewport width, opaque, at z-index 900, and the rail
     is sticky with no z-index of its own, so a literal top:24px put the rail's "FILTER /
     Clear all" row at 24..53 underneath a bar occupying 0..69: measured, the top 69px of
     the rail was hidden, the whole header row and the top of the Product heading with it.
     Harmless under the old popover layout because the left column was empty; the rail is
     the second thing in this change to trip over that assumption, after the AE card.

     --pf-rail-top-gap is the design gap and stays CSS-owned. --proj-bar-pinned-h is how
     much of the viewport top the bar actually occupies right now, written by the pinning
     script, which is the same split the portfolio card already uses for the cookie bar:
     script reports a measurement, CSS decides what to do about it. Unset until the script
     runs and 0px while unpinned, so with JS off this is simply top:24px. */
  --pf-rail-top-gap:24px;
  position:sticky;
  top:calc(var(--pf-rail-top-gap) + var(--proj-bar-pinned-h, 0px));
  /* The ceiling has to come down by the same amount, or a rail pushed 69px down keeps a
     full-viewport max-height and its own scrollbar runs off the bottom of the screen.
     --enttec-consent-h does the same job at the other end. The consent furniture is fixed to
     the viewport bottom and both pieces of it are in this column: #show-gdpr is a 257px box
     at left 35, the rail starts at 24. Measured at 1024x768, the "Privacy & cookies policy"
     pill covered 228 x 47.6px of the Country heading and a real click was refused. It is a
     short-viewport fault rather than a narrow one, so landscape tablet is the case that
     loses, and taking the ceiling down means the rail's own scroll ends above the pill
     instead of underneath it. 0px once consent is answered, which is the usual case. */
  /* THE CEILING IS MEASURED FROM WHERE THE RAIL ACTUALLY IS, not from where the stuck
     position says it should be. This used to read 100vh minus twice the gap minus the pinned
     bar, which is correct only while the rail is stuck at --pf-rail-top-gap. At scroll 0 it
     is not stuck: measured 194px against an assumed 24px, so every result landed 170px lower
     than the arithmetic allowed. On a 1366x768 laptop that put the rail's bottom at 750 with
     "Privacy & cookies policy" starting at 729, and elementFromPoint across the overlap
     returned .consent-text at every sample, so the rail's bottom rows were not merely covered,
     they were unclickable. That is the same fault the note above records being fixed once for
     the stuck case; this is the half that was missed.

     --pf-rail-top is the rail's own rect.top, published by the pin handler in
     projects-loop-rail.php on the scroll, resize and load it already listens to. A sticky
     element's rect.top is the sticky offset while stuck and the flow position while not, so
     the single value is right in both states and the pinned-bar term is gone from here: a
     rail stuck below the bar already reports a top that includes it.

     THE FALLBACK IS THE OLD SUM, so with JS off, or before the first frame runs, the rail
     behaves exactly as it shipped rather than collapsing to nothing.

     Subtracting --enttec-consent-h here rather than in JS is what makes the banner appearing
     or being dismissed re-resolve this on its own: syncBottomBar() already maintains that
     value, so no second listener is needed and the numbers stay in the stylesheet. */
  max-height:calc(100vh
    - var(--pf-rail-top, calc(var(--pf-rail-top-gap) + var(--proj-bar-pinned-h, 0px)))
    - var(--enttec-consent-h, 0px)
    - var(--pf-rail-top-gap));
  overflow-y:auto;
  scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#cfcfcf transparent;
}
/* Firefox reads scrollbar-width/scrollbar-color above; these are the WebKit/Chromium
   equivalent, kept because scrollbar-color alone renders a heavy near-black thumb there.
   A 6px thumb inside a 10px track, which is the prototype's measured shape. */
body.projects .pf-rail::-webkit-scrollbar{width:10px}
body.projects .pf-rail::-webkit-scrollbar-track{background:transparent}
body.projects .pf-rail::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:3px;border:2px solid transparent;background-clip:content-box}
/* PINNED INSIDE THE RAIL AT EVERY WIDTH, not just in the mobile drawer.
   The rail is its own scroll container, and on a short viewport its content is taller
   than its ceiling: measured at 914x649, 721px of content in a 601px scrollport. A
   static header then scrolls away with everything else, so at 185px of rail scroll this
   row sat at -96..-67 against a scrollport of 89..625, gone. It took "Clear all" with
   it, which is the one control that must never become unreachable while filters are on.
   top:0 pins flush because the rail has no padding-top to offset it (Chrome shifts a
   sticky child by its scroll container's padding-top; that is why the drawer keeps its
   own top padding on this row instead of on the rail). The opaque background and the
   z-index are what let the option rows pass underneath rather than through. */
body.projects .pf-rail__top{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding-bottom:14px;border-bottom:1px solid var(--pf-line);
  position:sticky;top:0;z-index:1;background:#fff;
}
/* THE ROW'S HEIGHT CANNOT DEPEND ON WHETHER "CLEAR ALL" IS THERE (Kim, 2026-09-07).
   Measured: the row went 29.39px to 33.19px the moment a filter was picked, and every
   group below it dropped by that same 3.8px. Two things caused it, and only one was
   obvious. The button's line box is 18.19px against the heading's 14.39px, because it is
   13px type and the heading is 12px, so it was the taller child and it set the row height.
   Worse, under align-items:baseline the HEADING moved too: "FILTER" itself dropped 3px to
   put its baseline on the button's.

   Taking the button out of flow fixes both at once and is invariant rather than tuned: a
   min-height on the row would work today and go stale the moment the padding or either
   font size changes, and matching the two line-heights still leaves a fraction of a pixel
   because the two font sizes put their baselines in different places. An out-of-flow child
   contributes nothing to its parent's height by definition, so there is no number here to
   get wrong later. It overhangs the heading's box by 3.8px into the 14px of padding-bottom,
   which has room, and the row keeps its position:relative from the sticky rule above. */
/* NO position:relative HERE. It used to be, added so the absolutely-positioned
   .pf-clearbtn had a containing block, and being a byte-identical selector later in the
   file it beat the position:sticky above and killed it outright. Measured at 914x649 with
   1747px of rail content in a 601px scrollport: 250px of rail scroll put the header at -56
   against a scrollport top of 194, so it left the screen and took "Clear all" with it,
   which is the exact regression the sticky rule exists to prevent. position:sticky is
   already a positioned ancestor, so the button never needed a second one. */
body.projects .pf-rail__top h2{
  font-family:"Source Sans 3",sans-serif;font-size:12px;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;color:var(--pf-muted);margin:0;
}
/* NO PADDING, NO MIN-HEIGHT ON THE VISIBLE BOX (Kim, 2026-09-07: the 44px floor was
   setting the height of the whole .pf-rail__top row, so the rail's header was 59px tall to
   hold an 18px word). The tap target does not go away, it moves off the layout: ::after
   stretches the hit area to 44px without the button occupying 44px. Same trick already used
   twice nearby, on .pf-chip button and on .proj-promo__close (which only got it on
   2026-09-07: this comment used to claim prod's version already had the trick, and prod's
   version has no ::after at all, so the claim was wrong when it was written), and it is the right
   one whenever a control has to be visually small and physically reachable at once.
   THE TARGET GROWS DOWNWARD ONLY, and it does not reach 44px. Worth being straight about
   rather than leaving a number in the CSS that the browser does not honour: a symmetric
   -13px inset measured 44px but 13px of it sat ABOVE the row, and .pf-rail__top is sticky
   at the very top of the rail's own scrollport, so overflow-y:auto clipped that half away.
   Real target was about 31px while the CSS claimed 44.
   Downward there is 14px of padding-bottom to use before the border, which lands the target
   at 28x64. It stops there on purpose: another 14px would reach the Product heading's own
   clickable box and start stealing its clicks, which is a worse bug than a small button.
   30x64 is the honest maximum for a 29px row, and the row is 29px because a 44px control
   was setting the height of the whole header. Fitts's law is served on the wide axis, which
   is the one with room. */
body.projects .pf-clearbtn{
  font:inherit;font-size:13px;color:var(--pf-blue);background:none;border:0;
  cursor:pointer;padding:0;border-radius:4px;
  display:inline-flex;align-items:center;
  /* absolute, not relative: see the note on .pf-rail__top above. top:0 lines it up with the
     heading's own box top, which is where it sat before anyway. */
  position:absolute;right:0;top:0;
}
body.projects .pf-clearbtn::after{content:'';position:absolute;inset:0 -10px -10px}
body.projects .pf-clearbtn:hover{text-decoration:underline}
body.projects .pf-clearbtn:focus-visible{outline:2px solid var(--pf-blue);outline-offset:2px}
body.projects .pf-clearbtn[hidden]{display:none}

body.projects .pf-group{border-bottom:1px solid var(--pf-line-soft)}
/* INK AT REST, BLUE WHEN OPEN OR HOVERED (Kim, 2026-09-07). All four headings used to be
   #0EA5DF all the time, so colour said nothing: every group looked active and the one
   actually expanded looked no different from the three that were not. Colour now carries
   the state, which the caret alone was carrying before. Blue still means "this is where
   you are", it just stops meaning "this is a heading". */
body.projects .pf-group__head{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;
  font:inherit;font-size:15px;font-weight:600;color:var(--pf-ink);background:none;border:0;
  cursor:pointer;padding:16px 2px;min-height:44px;text-align:left;
  transition:color .17s var(--pf-ease);
}
body.projects .pf-group__head:hover,
body.projects .pf-group__head[aria-expanded="true"]{color:var(--pf-blue)}
body.projects .pf-group__head:focus-visible{outline:2px solid var(--pf-blue);outline-offset:2px}
/* DO NOT COPY THE translate() OUT OF THIS RULE. In `rotate(X) translate(a,b)` the translate
   runs in the ALREADY-ROTATED axis, so at 45deg a 2px nudge is 2 x sqrt(2) = 2.83px on screen,
   plus horizontal shift nobody asked for. The numbers here were tuned by eye against a 41px
   heading row, where a 3px drop is invisible; they are not a general caret recipe.
   This exact copy-paste put .pf-catmore's caret 2.8px below centre on a 32px option row
   (2026-09-08), next to a checkbox that was dead centre. That rule now uses rotation only and
   lets flex do the centring, which is what to do anywhere else this caret is wanted.
   If a rotated thing looks off, MEASURE the midpoints before nudging: an offset equal to your
   translate times sqrt(2) means the answer is deletion, not a different number. */
/* ONE CHEVRON ON THIS PAGE, and it is an SVG (Kim, 2026-09-08: "make sure its the same down
   chevron on product filter and the dropdown"). These headings, the category rows and the
   sort control now render the same 10x6 path, so nothing on the rail is a different shape,
   weight or size from anything beside it.

   The bordered-square caret this replaces is gone from the page entirely, and that is a fix
   rather than a tidy. It draws its ink on two of a square's four edges, so the ink sits in a
   corner while the element box stays centred: rotate it and it MEASURES dead centre while
   LOOKING low. That cost two failed attempts at centring the category caret, the second of
   which reported 0.0px offset on something plainly off, because the box was the wrong thing
   to measure. It also needed translate() inside the rotated axis to sit right, where a 2px
   nudge is really 2 x sqrt(2) = 2.83px.
   This path's ink is centred in its own viewBox, so there is nothing to tune here and nothing
   to copy wrongly into the next context. */
body.projects .pf-group__head .pf-caret{
  display:block;flex:0 0 auto;color:var(--pf-muted);
  transition:transform .25s var(--pf-ease);
}
body.projects .pf-group__head[aria-expanded="false"] .pf-caret{transform:rotate(-90deg)}
body.projects .pf-group__body{padding:0 2px 16px}
/* ARIA-EXPANDED IS THE ONLY STATE. An adjacent-sibling rule off the attribute means there
   is no second class for the JS to keep in step with what assistive tech is told. */
body.projects .pf-group__head[aria-expanded="false"] + .pf-group__body{display:none}

/* SELECTOR IS input.pf-search, NOT .pf-search, ON PURPOSE. The prod header bundle ships
   input[type=search] with its own padding and a 40px min-height, and an attribute+type
   selector outranks a bare class, so a 44px min-height on .pf-search alone loses and the
   box renders 40px, under the tap-target floor. Adding the element ties the specificity and
   ours is declared later, so it wins with no extra !important. Do not simplify this. */
body.projects input.pf-search{
  width:100%;font:inherit;font-size:14px;padding:11px;margin-bottom:10px;
  border:1px solid var(--pf-line);border-radius:6px;min-height:44px;color:var(--pf-body);
}
/* !important x3: the block-editor stylesheet resets every bare input's :focus outline and
   box-shadow to WP admin blue and specificity alone does not beat it. :focus-visible, not
   :focus, though a browser treats any focus on a text input as focus-visible anyway. */
body.projects .pf-search:focus-visible{outline:none!important;border-color:var(--pf-blue)!important;box-shadow:0 0 0 3px var(--pf-blue-wash)!important}
/* THE NATIVE CLEAR BUTTON, STYLED (Kim, 2026-09-07: "the clear input field is an unstyled
   element"). Chrome and Safari draw their own grey x inside a type=search input, and it is
   the one control in the rail that was not ours. -webkit-appearance:none removes their
   glyph; the x is redrawn as a CSS mask so it takes currentColor and can therefore darken
   on hover like everything else here. Sized 14px, which is smaller than the 44px tap floor
   on purpose: it is a shortcut, not the only way to clear the box (select-all-delete and
   "Clear all" both do it), and inflating it would crowd a 224px-wide field. Firefox draws
   no such button, so nothing here changes it. */
body.projects input.pf-search::-webkit-search-cancel-button{
  -webkit-appearance:none;appearance:none;
  width:14px;height:14px;margin-left:6px;cursor:pointer;
  background-color:var(--pf-muted);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 4.5l7 7M11.5 4.5l-7 7' stroke='%23000' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat;
  transition:background-color .17s var(--pf-ease);
}
body.projects input.pf-search::-webkit-search-cancel-button:hover{background-color:var(--pf-ink)}

/* ---------- facet options ----------
   .pf-opts / .pf-opt-item / .pf-opt-text / .pf-opt-count are our own layout glue (a list
   row, label left, count right) plus the tap-target sizing. They touch no DS-declared
   value; the checkbox itself is the DS control below. */
/* THE OPTION LIST IS ITS OWN SCROLLPORT (Kim, 2026-09-08: "scrollbar needs to be in the
   item list not on the toggle section container").

   Before this the only scrollport was .pf-rail, so "Show all 21" grew the list from 269px to
   738px, pushed the rail from 840 to 1049, and the whole column scrolled. The group heading
   and, worse, the search box scrolled away with it: you would type into a box that then left
   the screen while you read the results it was filtering. .pf-rail__top is sticky and stayed,
   which is exactly why the rest going was so noticeable.

   Capping the <ul> instead means the heading, the search box and "Show all N" all hold still
   and only the rows move, which is the standard shape for a faceted list with a search in it.

   THE CAP IS SET SO THE DEFAULT STATE NEVER SCROLLS. Each facet renders 8 options before
   "Show all N", measured at 269px with one wrapped label. 392px here clears 8 rows at the
   44px touch height; the pointer block further down brings it to 288px, which clears the same
   8 rows at 32px with headroom for a second wrapped line. So a scrollbar only ever appears
   after someone asks for the full list, and it never competes with the disclosure control.
   Product's rows are the tall ones and they are identical in every locale, because product
   names are not translated.

   overscroll-behavior:contain stops a flick at the end of the list scrolling the page behind
   it, and scrollbar-gutter:stable stops the rows shifting sideways when the bar appears. The
   thumb is the rail's own, so the two scrollbars do not look like different controls. */
body.projects .pf-opts{
  /* padding-right:10px BUYS THE GAP, a wider rail would not (Kim, 2026-09-08: "too tight,
     needs more spacing between the number and the scrollbar, maybe increasing the width of
     the main container?"). Measured 2px between the count's right edge and the bar. The count
     is right-aligned inside its row, so widening --pf-rail-w moves the row edge and the count
     together and leaves the same 2px, while costing the card grid the width it took. The gap
     has to come from inside the scrollport, which is what this is: content now ends 12px
     clear of the bar. 10px because that is the bar's own width, so the row's right margin and
     4px, NOT MORE, and the ceiling is real rather than chosen: at 6px the longest label,
     "ELM (ENTTEC LED Mapper)", wraps to a second line and the first row of the most-used
     facet goes 32px to 45px. Measured the threshold, it sits between 4 and 6. So 6px of
     visual gap is what this rail width can pay for. More needs label room, which means a
     wider --pf-rail-w, and that comes out of the card grid.
     Pairs with scrollbar-gutter:stable below: the 10px is reserved whether or not the list
     is scrolling, so rows do not shift sideways when "Show all N" makes the bar appear. */
  list-style:none;margin:0;padding:0 4px 0 0;
  max-height:392px;overflow-y:auto;overscroll-behavior:contain;
  scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#cfcfcf transparent;
  /* contain:paint, or the rail grows a SECOND scrollbar right next to this one. Chromium
     was still counting these clipped rows in .pf-rail's scrollHeight: measured 846 against a
     599px children sum and a 599px client box, so the rail offered 247px of scroll over
     content that already fitted. Two bars side by side reads as a bug, and it is the exact
     thing this change was meant to remove.
     contain:paint promises the browser nothing here paints outside the box, which lets it
     stop propagating that overflow upward: rail scrollHeight drops to 599 and its bar goes,
     while this list keeps its own. Verified against contain:layout/content too; paint is the
     weakest one that works, so it is the one to use. The element already clips via
     overflow-y, so this grants no clipping it did not already have. The rail keeps its own
     overflow-y:auto for the case that still needs it, all four groups open at once. */
  contain:paint;
}
body.projects .pf-opts::-webkit-scrollbar{width:10px}
body.projects .pf-opts::-webkit-scrollbar-track{background:transparent}
body.projects .pf-opts::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:3px;border:2px solid transparent;background-clip:content-box}
body.projects .pf-opt-item{margin:0}
body.projects .pf-opt-item[hidden]{display:none}
/* Greyed, not disabled: the option is still tickable, it just says in advance that this
   combination would empty the grid. */
body.projects .pf-opt-item.is-empty{opacity:.4}
body.projects .pf-opt-item:hover .pf-opt-label{color:var(--pf-ink)}
body.projects .pf-noopts{color:var(--pf-muted);font-size:13px;margin:6px 2px}

/* DS CHECKBOX, reused verbatim from #enttec-account.acct-ds2 .enttec-check, with one
   deliberate change: the tick glyph comes up to 12px from the DS's own slightly smaller
   value, because 12px is the site-wide text floor and the component predates that rule.
   Every other value here is the DS's own. */
body.projects .pf-ds .enttec-check{
  display:inline-flex;align-items:center;gap:10px;cursor:pointer;
  font-size:14px;color:var(--acct-text-2);line-height:1.4;margin:0;
}
/* outline:none on the REAL input, which is 0x0 and opacity 0: the block-editor stylesheet
   paints a 2px black focus outline on every bare input, and on a zero-size element that
   rendered as a stray black square. The visible indicator is the sibling box's
   :focus-visible rule below; this only silences the invisible input's own ring. */
body.projects .pf-ds .enttec-check input{position:absolute!important;opacity:0!important;width:0!important;height:0!important;outline:none!important;box-shadow:none!important}
body.projects .pf-ds .enttec-check__box{
  flex:0 0 auto;width:20px;height:20px;
  border:1.5px solid var(--acct-border);background:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  color:#fff;font-size:12px;border-radius:5px;
  transition:background var(--acct-dur) var(--acct-ease),border-color var(--acct-dur) var(--acct-ease),transform 90ms var(--acct-ease);
}
body.projects .pf-ds .enttec-check--radio .enttec-check__box{border-radius:50%}
body.projects .pf-ds .enttec-check__box i{opacity:0;transform:scale(.6);transition:opacity var(--acct-dur) var(--acct-ease),transform var(--acct-dur) var(--acct-ease)}
body.projects .pf-ds .enttec-check input:checked + .enttec-check__box{background:var(--acct-blue);border-color:var(--acct-blue)}
body.projects .pf-ds .enttec-check input:checked + .enttec-check__box i{opacity:1;transform:scale(1)}
body.projects .pf-ds .enttec-check input:focus-visible + .enttec-check__box{box-shadow:var(--acct-ring-soft);border-color:var(--acct-blue)}
body.projects .pf-ds .enttec-check input:active + .enttec-check__box{transform:scale(.92)}
body.projects .pf-ds .enttec-check input:disabled ~ *{opacity:.5}

/* Integration glue over the DS rule above without changing it: a full-width 44px row. */
body.projects .pf-opt-item .enttec-check{width:100%;min-height:44px;padding:7px 2px}

/* COMPRESS THE RAIL FOR A MOUSE, KEEP THE TOUCH TARGET FOR A FINGER. Kim, 2026-09-08:
   the option list holds more space than it needs. It does, on a pointer: the 44px row and
   the 16px heading padding above are both there to clear the touch-target floor, which a
   mouse does not need, and the cost is that only eight options fit before "Show all 21".

   MEASURED at 1512: eight rows ran 361px and the group heading 53px. At 32px a row and
   10px of heading padding the same eight rows come to 256px and the heading to 41px, so a
   little over 120px comes back per open group. Nothing is hidden and no text shrinks, the
   font stays 14px; only the empty space around it goes.

   POINTER:FINE, NOT A WIDTH BREAKPOINT, and this is the part worth keeping. The question
   is "is this a finger or a mouse", and a width query answers a different one: a touchscreen
   laptop or a tablet in landscape sits at desktop widths and would silently lose its 44px
   targets. hover:hover pairs with it so a device that reports both coarse and fine (a
   convertible with a mouse attached) is not compressed on the strength of the mouse alone.
   Anything that does not match, which is every phone and tablet including the drawer, keeps
   the 44px rows verbatim. */
@media (hover:hover) and (pointer:fine){
  body.projects .pf-opt-item .enttec-check{min-height:32px;padding:3px 2px}
  body.projects .pf-group__head{padding:10px 2px;min-height:0}
  body.projects .pf-showmore{min-height:0;padding-top:4px}
  /* 8 rows at the compressed 32px height, plus room for one wrapped label. Keeps the
     promise made on .pf-opts above: the default 8-option list never shows a scrollbar. */
  body.projects .pf-opts{max-height:288px}
}

/* ---------- grouped Product facet: category rows and their members ----------
   The four category rows carry the filter; the caret beside each only reveals its SKUs.
   Two controls on one row, so the <li> becomes the flex parent and the label keeps the
   width it had, minus the caret. */
/* THE CATEGORY ROW PINS WHILE ITS MEMBERS SCROLL UNDER IT (Kim, 2026-09-09: expanding a
   category and scrolling left three SKUs sitting at the top of the list with no visible
   parent, so they read as loose ungrouped products rather than members of a category).

   .pf-opts is the scrollport and this <li> is a direct child of it, so sticky resolves
   against the list and needs no offset arithmetic. The rows are one flat <ul>: a category
   and its members are siblings, which is why the members pass underneath instead of
   carrying their heading up the list with them.

   Opaque background and a z-index, or the member rows show through it and then over it.
   Both sit in the same stacking context, where document order alone puts the later
   member row on top.

   Collapsed categories pin too, and that is wanted: whichever group you are reading holds
   the top until the next one reaches it. Nothing pins in the default state, where seven
   rows measure 224px against the 288px cap and the list does not scroll at all. */
body.projects .pf-opt-item--cat{
  display:flex;align-items:center;gap:2px;
  position:sticky;top:0;z-index:2;background:#fff;
}
body.projects .pf-opt-item--cat .enttec-check{flex:1;min-width:0}
/* Weight, not colour. Blue on this page already means "heading, or an action on the whole
   filter" (see the Clear all note further down), and a category row is neither: it is an
   option like any other, just one that contains others. */
body.projects .pf-opt-item--cat .pf-opt-label{font-weight:600}
body.projects .pf-catmore{
  flex:0 0 auto;width:24px;height:24px;padding:0;margin:0;
  background:none;border:0;cursor:pointer;border-radius:4px;
  display:inline-flex;align-items:center;justify-content:center;color:var(--pf-muted);
}
body.projects .pf-catmore:hover{color:var(--pf-ink)}
/* The browser's own black focus ring, off (Kim, 2026-09-08). :focus-visible directly below
   is what replaces it, so a keyboard user still gets a ring and only a mouse user loses one.
   Order matters: :focus first, then :focus-visible, or the blue never paints. */
body.projects .pf-catmore:focus{outline:none}
body.projects .pf-catmore:focus-visible{outline:2px solid var(--pf-blue);outline-offset:2px}
/* AN SVG CHEVRON, NOT THE BORDERED-SQUARE CARET used by .pf-group__head. Two goes at
   centring that caret failed, and the second failure is the instructive one: the square
   draws its ink on only two of its four edges, so the INK sits in a corner while the
   ELEMENT BOX stays centred. Rotate it and the box measures dead centre while the visible
   chevron sits low. Measuring getBoundingClientRect() therefore reported 0.0px offset on
   something Kim could plainly see was off, because the box was the wrong thing to measure.
   This path's ink is centred inside its own viewBox (y from 1 to 5 of 6, x from 1 to 9 of
   10), so it is centred by construction and there is nothing left to tune. It is the same
   10x6 chevron the sort control uses, which also makes the two read as one icon set. */
body.projects .pf-catmore__chevron{display:block;transition:transform .25s var(--pf-ease)}
body.projects .pf-catmore[aria-expanded="false"] .pf-catmore__chevron{transform:rotate(-90deg)}
/* THE INDENT IS THE ONLY THING SAYING "THIS BELONGS TO THAT", since the members are flat
   siblings in the same <ul> rather than a nested list. That flatness is deliberate: the
   search, the greying probe and the visibility pass all iterate .pf-opt-item and keep
   working untouched. 22px lines a member's checkbox up under its parent's label. */
body.projects .pf-opt-item--child .enttec-check{padding-left:22px}
body.projects .pf-opt-item--child .pf-opt-label{color:var(--pf-text-2,#4a4a4a)}
body.projects .pf-opt-text{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:8px}
body.projects .pf-opt-count{color:var(--pf-muted);font-size:12px;font-variant-numeric:tabular-nums;flex:0 0 auto}

/* "SHOW ALL N" is what keeps the rail short, not the rail's own overflow. Product (21),
   Type (10) and Country (16) render their first eight options and the rest start with the
   hidden attribute, so every option is still in the HTML and reachable without JS. It
   composes with the search boxes, which already cut the list down and, while a search is
   active, bypass the cap entirely so every match is visible. */
body.projects .pf-showmore{
  display:block;font:inherit;font-size:13px;font-weight:600;color:var(--pf-blue-dark);
  background:none;border:0;cursor:pointer;padding:8px 2px;min-height:44px;text-align:left;
  border-radius:4px;
}
body.projects .pf-showmore:hover{text-decoration:underline}
body.projects .pf-showmore:focus-visible{outline:2px solid var(--pf-blue);outline-offset:2px}
body.projects .pf-showmore[hidden]{display:none}

/* ---------- the results bar ----------
   .proj-bar keeps its name and its pinning rules (further up this file, unchanged): the
   sticky mechanism, the spacer that stops the grid jumping, and the pinned inset derived
   from --container-max-width are all still right. Only its own layout changes, because it
   is a plain flex row now rather than a Bootstrap .container-fluid.row of three columns.
   margin-bottom:0 overrides the earlier 30px rule: the gap to the grid is this row's
   padding-bottom plus the chip row's margin, which is what the prototype measures. */
body.projects .proj-layout .proj-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.projects .proj-layout .proj-bar:not(.is-pinned){margin-bottom:0}
body.projects .pf-count{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--pf-muted)}
body.projects .pf-count b{color:var(--pf-ink);font-weight:600}
body.projects .pf-tools{display:flex;align-items:center;gap:10px}
/* THE MOBILE FILTER PILL. .proj-pillbtn / .proj-caret are the prototype's .pillbtn and
   its .caret, kept under their existing prod names because those rules already existed
   on this page and their values already match the prototype exactly (15px on #3a3a3a,
   1px #dcdcdc, a 999px radius, 0 18px of padding, a 44px floor). Only the Filter pill
   uses them now that the "Filter by" and "Sort" popover triggers are gone, and it only
   renders at the drawer breakpoint, but it still needs a real control's shape there:
   without these it measured 51x28, plain text with no box, well under the tap floor. */
body.projects .proj-pillbtn{
  display:inline-flex;align-items:center;gap:9px;font:inherit;font-size:15px;
  color:var(--pf-pill-ink,#3a3a3a);background:#fff;border:1px solid var(--pf-line,#dcdcdc);
  border-radius:999px;padding:0 18px;min-height:44px;cursor:pointer;
  transition:border-color .2s ease,color .2s ease;
}
body.projects .proj-pillbtn:hover{border-color:#0ea5df;color:#0ea5df}
/* The same shared chevron, for the same reason: this pill is the drawer's trigger, so on a
   phone it is the ONLY chevron on screen, and a second shape here would be the inconsistency
   turning up exactly where it gets checked least. Open flips it to point up, which is what
   the square's rotate(-135deg) was doing. */
body.projects .proj-caret{
  display:block;flex:0 0 auto;transition:transform .25s ease;
}
body.projects .proj-pillbtn[aria-expanded="true"] .proj-caret{transform:rotate(180deg)}

/* SORT: the DS dropdown, structure and interaction taken from .enttec-locale-switcher
   (locale-switcher.css for the base, merged with the DS-blue override layer in
   enttec-account-ds2.css, which is the same end result production renders from those two
   cascading files). The __globe icon is dropped, this sorts rather than switches language.
   min-height:44px is the one addition: the DS toggle's own padding measured 30.5px.

   THE CHEVRON IS AN INLINE SVG, not the account area's FontAwesome <i>. Both variants ship
   in the DS (see the two branches in inc/i18n.php); the SVG one is sized with width/height
   where the icon-font one has to be sized by type scale, and a sub-12px glyph trips the
   repo's minimum text-size guard. That guard is right in spirit even though this glyph is
   decorative and aria-hidden, so the variant needing no type scale at all is the one to
   use. Same 10x6 box, so it renders at the size the prototype was signed off at. */
body.projects .pf-sortwrap{position:relative;display:inline-flex;align-items:center;line-height:1}
body.projects .pf-ds .enttec-locale-switcher__toggle{
  display:inline-flex!important;align-items:center!important;
  gap:.5rem!important;background:transparent!important;
  border:1px solid transparent!important;border-radius:var(--acct-radius)!important;
  padding:6px 16px!important;margin:0!important;min-height:44px!important;
  font-size:13px!important;font-weight:600!important;line-height:1.5!important;
  color:var(--acct-text-muted)!important;cursor:pointer!important;height:auto!important;
  box-shadow:none!important;-webkit-appearance:none;appearance:none;
  transition:background-color .17s var(--acct-ease),color .17s var(--acct-ease),border-color .17s var(--acct-ease);
}
body.projects .pf-ds .enttec-locale-switcher__toggle:hover{background-color:var(--acct-surface-2)!important;color:var(--acct-text)!important;border-color:var(--acct-border-soft)!important}
body.projects .pf-ds .enttec-locale-switcher__toggle[aria-expanded="true"]{background-color:var(--acct-surface-2)!important;color:var(--acct-text)!important;border-color:var(--acct-blue)!important}
body.projects .pf-ds .enttec-locale-switcher__toggle:focus-visible{outline:none!important;box-shadow:var(--acct-ring-soft)!important}
body.projects .pf-ds .enttec-locale-switcher__current{line-height:1.5;white-space:nowrap}
body.projects .pf-ds .enttec-locale-switcher__chevron{display:inline-flex;align-items:center;margin-left:.15rem;opacity:.7;position:relative;top:-1px;transition:transform .17s var(--acct-ease)}
body.projects .pf-ds .enttec-locale-switcher__chevron svg{display:block;width:10px;height:6px}
body.projects .pf-ds .enttec-locale-switcher__toggle[aria-expanded="true"] .enttec-locale-switcher__chevron{transform:rotate(180deg);opacity:1}
body.projects .pf-ds .enttec-locale-switcher__menu{
  position:absolute;top:calc(100% + 8px);right:0;z-index:1000;
  /* min-width:100%, NOT A FIXED 220px (Kim, 2026-09-08: "the width of the items is too
     long"). 220px was measured against the English labels, and "Most products used" is the
     widest thing this menu ever holds in English. Chinese says the same in 84px, so the CN
     menu carried 92px of empty space beside every row: measured 220 rendered against 128 of
     content. A hardcoded width is a guess about the longest translation, and there are
     nineteen catalogues to be wrong about.

     100% resolves against .pf-sortwrap, so the floor is the toggle's own width and the menu
     can never be narrower than the control it hangs off. Above that it shrink-wraps, which
     is what an absolutely positioned block does anyway. English lands near 190px, Chinese
     near 128px, and a future locale is right without anyone editing this number. */
  list-style:none;margin:0;padding:6px 0;min-width:100%;max-height:320px;
  overflow-x:hidden;overflow-y:auto;background:#fff;
  border:1px solid var(--acct-table-border);border-radius:10px;
  box-shadow:0 8px 24px rgba(16,24,40,.10),0 2px 6px rgba(16,24,40,.06);
  font-size:14px;line-height:1.5;
}
body.projects .pf-ds .enttec-locale-switcher__menu[hidden]{display:none!important}
/* margin:0 IS THE REAL FIX FOR THE GAPS, not the row height (Kim, 2026-09-08). The theme
   ships a global `dd,li{margin-bottom:6px}` in common.min.css and these options are <li>,
   so the menu inherited 6px between every row and 6px under the last one on top of the
   menu's own padding. Nothing in this file set it, which is why it did not show up in the
   rail's own numbers. Unlike the pointer:fine compression below, this one is wrong on
   every device: a finger does not want the gap either, it wants the 44px target, and the
   two are independent. */
body.projects .pf-ds .enttec-locale-switcher__option{
  display:flex;align-items:center;justify-content:flex-start;margin:0;
  min-height:44px;padding:0 16px!important;cursor:pointer;color:var(--acct-text-2);
  text-align:left;line-height:1.3;white-space:nowrap;
  transition:background-color .12s ease,color .12s ease;
}
body.projects .pf-ds .enttec-locale-switcher__option:hover,
body.projects .pf-ds .enttec-locale-switcher__option:focus-visible{background-color:#f0f9ff;color:var(--acct-blue)}
body.projects .pf-ds .enttec-locale-switcher__option[aria-selected="true"]{background-color:transparent;color:var(--acct-blue);font-weight:600}
body.projects .pf-ds .enttec-locale-switcher__option[aria-selected="true"]::after{content:"\2713";margin-left:auto;padding-left:.75rem;color:var(--acct-blue);font-weight:600}
body.projects .pf-ds .enttec-locale-switcher__option-label{line-height:1.5;text-align:left}

/* COMPRESS THE SORT MENU FOR A MOUSE, KEEP THE TOUCH TARGET FOR A FINGER (Kim, 2026-09-08:
   "too much gap in between the items in the dropdown menu"). Exactly the argument the rail
   rows make further up this file, under exactly the same query: the 44px floors are a
   finger's, and on a pointer they are paid for in empty space.

   MEASURED at 1512 before this: the toggle was 100x44 and the menu 220x214 for four
   labels. At a 36px toggle and 32px rows the menu comes to 136px, so 78px of nothing goes.
   No text shrinks, no row is hidden, the labels stay 14px. The menu's own padding drops
   6px to 4px to match, because 6px reads as a rhythm against a 44px row and as a gap
   against a 32px one.

   A SECOND BLOCK RATHER THAN LINES IN THE RAIL'S ONE, and this is the part worth keeping:
   the rail's block sits at the top of this section, ABOVE the .enttec-locale-switcher
   rules, and these selectors are the same specificity as the base ones they override. Put
   there they parse, match, and lose on source order, which is silent. A media query does
   not raise specificity, so an override of a later rule has to come later. Sitting next to
   what it modifies is also how the rest of this file is arranged.

   The toggle only loses height here. Its 16px sides come from the base rule and apply on
   every device, which is the shape Kim asked for: wider than it is tall, rather than the
   7.5px sides against a 44px floor it had. Every phone and tablet, and the mobile drawer,
   keeps the 44px rows verbatim. */
@media (hover:hover) and (pointer:fine){
  body.projects .pf-ds .enttec-locale-switcher__toggle{min-height:36px!important}
  body.projects .pf-ds .enttec-locale-switcher__menu{padding:4px 0}
  body.projects .pf-ds .enttec-locale-switcher__option{min-height:32px}
}

/* ---------- active-filter chips ---------- */
body.projects .pf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
/* RESERVE THE CHIPS ROW ON TOUCH, so the first filter does not shove the grid 34px down in
   the moment between the tap that applied it and the tap that follows. A moving target is a
   mis-tap, and on a pointer it is only a flicker, which is why the reserve stops at the
   drawer breakpoint: on desktop this would be 34px of permanent dead space above the grid
   for a shift a mouse absorbs, and the desktop layout is signed off as it stands.
   34px is the measured height of one chip row, not a guess. */
@media screen and (max-width:900px){
  body.projects .pf-chips{min-height:34px}
}
/* 9px on the right, not 6px (Kim, 2026-09-07: "the contents inside dont look centered").
   Vertically it already was: text and button centres agree to 0.1px. The imbalance was
   horizontal, measured 14px from the pill edge to the label but only 7px from the pill
   edge to the close button. The close button is a 22px circle whose glyph sits a few px
   inside its own box, so matching the raw padding left and right still LOOKS tighter on
   the right; the right value has to be larger to land in the same optical place. */
body.projects .pf-chip{
  display:inline-flex;align-items:center;gap:8px;background:var(--pf-blue-wash);
  border:1px solid #0EA5DF;border-radius:999px;padding:5px 9px 5px 13px;font-size:13px;color:var(--pf-ink);
}
/* The visible circle stays 22px so a row of a dozen chips does not become a row of
   oversized buttons; ::after extends the real tappable area to 44px instead. */
body.projects .pf-chip button{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:22px;height:22px;flex:0 0 auto;border:0;border-radius:50%;background:transparent;
  color:#0EA5DF;cursor:pointer;font-size:15px;line-height:1;padding:0;
}
body.projects .pf-chip button::after{content:'';position:absolute;inset:-11px}
body.projects .pf-chip button:hover{background:#fff;color:var(--pf-ink)}
body.projects .pf-chip button:focus-visible{outline:2px solid var(--pf-blue);outline-offset:1px}

/* ---------- product tags on the card ----------
   THE WHOLE KIT SHOWS, matched blue and the rest grey (Kim's ruling, 2026-09-03, and a
   better answer than the matched-only version this replaces): once a reader has asked
   which installs used OCTO, the next question is what else was in that rig, and the card
   can answer it without a page load. Nothing renders at rest, because 53 cards' worth of
   full kit lists is noise before any product has been asked about. Weight 400 on every
   pill, never bold. */
body.projects .proj-kit{display:none;flex-wrap:wrap;gap:5px}
body.projects .proj-kit.is-active{display:flex;margin-top:11px}
body.projects .proj-kit__pill{
  font-size:12px;padding:3px 9px;border-radius:999px;font-weight:400;
  border:1px solid var(--pf-line,#dcdcdc);color:#6c757d;background:#fff;
}
body.projects .proj-kit__pill.is-hit{border-color:#0EA5DF;color:#0EA5DF;background:#f0f9ff}
body.projects .proj-kit__pill.is-rest{border-color:#dcdcdc;color:#6c757d;background:#fff}

/* --- 2026-09-03 (3), Kim: the AE portfolio card clears the rail (WI #8842) ---
   Kim's call: keep the floating card, so this moves it rather than dropping it.

   The card is position:fixed at left:24px, which was empty space under the old popover
   layout and is now permanently the filter: measured at 1440 it spanned 24..324 across a
   rail sitting at 40..288, so it covered the Product options outright.

   Anchoring it to the RESULTS COLUMN's left edge instead of the page's keeps everything
   the card is for (bottom-left, floating over the grid, dismissible, handing over to the
   permanent link in the results bar) and takes nothing away. The inset formula is the one
   .proj-bar.is-pinned already uses and had browser-verified at 1440/1280/768/375, not a
   new guess, and the rail width and gutter come from the same two tokens the grid track
   is built from, so the card cannot drift away from the column it is aligned to.

   901px, because below that the rail is a full-screen drawer and out of flow entirely:
   there is no column to align to and no filter to avoid, so the card keeps its original
   page-edge position and the phone rules further up this file still apply unchanged. */
@media screen and (min-width:901px){
  body.projects .proj-layout .proj-promo{
    /* Minus 24px (Kim, 2026-09-07): flush with the results column put the card's left edge
       on exactly the same pixel as the first card image, which read as an accident rather
       than as alignment. Nudged into the gutter so the offset is clearly deliberate, and
       24px keeps it 20px clear of the rail's right edge at every width this rule covers. */
    left:calc((100% - var(--container-max-width)) / 2 + var(--pf-rail-w) + var(--pf-rail-gap) - 24px);
  }
}

/* ---------- the results column is the grid's container, once ----------
   Kim, 2026-09-07: "there seems to be too much left and right padding".
   .solutions.container is nested inside .container.projects_nav and both independently
   carry the theme's max-width:calc(100% - 80px) auto-centring .container rule, so the grid
   centres a second time inside a box that is already inset. Measured at 1523: .proj-main
   runs 332 to 1468 while .solutions.container runs 372 to 1428, a further 40px off each
   side, and the grid's own -15px Bootstrap row margin masks it down to the 25px of apparent
   padding Kim spotted.

   This is the same fault, and the same fix, as 2026-09-02 (2) on the feature branch. It did
   not come across in the port because it lived in an earlier dated block than the one that
   was carried over. Scoped under .proj-layout, because production's page has the identical
   nesting and its own long-standing spacing depends on it: this corrects the column the rail
   introduced, it does not re-space the live grid. */
body.projects .proj-layout .solutions.container{max-width:none;margin-left:0;margin-right:0;width:100%}

/* ---------- three cards per row, not four ----------
   Kim, 2026-09-07: three per row reads better than four beside the rail.
   The legacy grid gives every card width:25%, stepping to 33% below 1240 and 50% below 767.
   Those three declarations all carry the same specificity as each other, so an override has
   to restate the ladder or it wins at widths it was never meant to touch: a bare
   width:33.3333% here would also beat the 767 rule and put three cramped cards on a phone.

   Two up below 767 is therefore repeated unchanged. The 1240 step needs no rule of its own
   any more, because three up is now what that breakpoint was already stepping down to.

   The thumbnail needs no matching change: it is aspect-ratio:4/3 rather than a fixed
   padding-bottom (see the block below), so it follows the wider card on its own.

   SCOPED UNDER .proj-layout for the same reason as the rules around it: production's page
   has the identical nesting and stays four up until the filter is switched on there. */
body.projects .proj-layout .solutions.container .row article{width:33.3333%}
@media only screen and (max-width:767px){
  body.projects .proj-layout .solutions.container .row article{width:50%}
}

/* ---------- the card thumbnail follows the card's width ----------
   Kim, 2026-09-07: "the project images height in my browser width is too long".
   It was. padding-bottom:400px is a fixed height chosen before this rail existed, when a
   card at 1920 was about 440px wide. The rail takes 248px plus a 44px gutter out of the
   row, so the same card is now 341px wide and that fixed 400px height made it PORTRAIT:
   measured aspect 0.85 against roughly 1.1 before. Nothing was stretched, the box simply
   stopped matching the picture in it.

   aspect-ratio replaces the fixed height so the box tracks whatever width the card ends up
   with, at any viewport, instead of needing a new magic number per breakpoint (there were
   three: 400, 300 at 1440, 173 at 767). 4/3 is the ratio the signed-off prototype used, and
   it sits between the 3:2 and 16:9 sources so neither crops badly.

   SCOPED UNDER .proj-layout DELIBERATELY. That wrapper only exists where the new filter
   renders, so production's card grid keeps its existing 400px box untouched and this cannot
   change the page for anyone until the filter itself is switched on there. */
body.projects .proj-layout .solutions.container .row a.thumb{
  padding-bottom:0;
  height:auto;
  aspect-ratio:4/3;
}

/* ---------- the title is capped at three lines, with no floor under it ----------
   Kim, 2026-09-07, reviewing the rail at three up: take the min-height off this.

   It had one. The original version of this rule reserved three line boxes on every card
   (min-height:calc(3lh + 5px), with a 3.6em fallback) so that every ROW came out the same
   height: a Bootstrap row already stretches its items to match each other, but the tallest
   title in a row sets that row, and at four up the titles wrapped to wildly different
   lengths, giving 335px against 381px row to row.

   Going three up changed the arithmetic the floor was solving for. A card is 366px wide
   now rather than 341px, so measured at 1440 the titles come out at 1 line on 7, 2 on 5,
   3 on 3 and 5 on one. The floor was reserving three lines on cards that mostly needed
   one, which is roughly 53px of empty space under half the grid, to buy a uniformity the
   wider cards no longer needed much help with.

   WHAT IT COSTS, so nobody re-adds it by reflex: rows are no longer all identical. They
   measure 358, 384 and 410 at 1440, a 52px spread. That is the deliberate trade, and it is
   a gap under a card rather than anything cut off: no card overflows its own box (verified,
   0 of 16 visible), and the audit gained no clipping findings.

   THE CAP STAYS. -webkit-line-clamp:3 is doing separate work from the floor that came off
   with it: it stops one long title from setting a tall row for everything beside it, which
   is why the 5-line project above is the only one truncated. Clamping is visual only, so
   the full title stays in the DOM for assistive tech and search engines, and the project
   page carries it in full. */
body.projects .proj-layout .solutions.container .row .blog-item__title{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* ONE LINE, CLAMPED, WITH THE PADDING MOVED OUT OF THE CLIP BOX.

   The first attempt used -webkit-line-clamp:1 and showed a sliver of line two under the
   ellipsis. The second replaced it with white-space:nowrap, which killed the sliver and
   introduced a worse bug: nowrap means the text can no longer wrap, so the heading grew
   horizontally instead and escaped the card, and no amount of min-width:0 up the flex chain
   reliably reined it in (measured at 1024: 7 of 12 titles still overflowing by up to 217px
   with min-width:0 computing on every ancestor).

   The sliver was never really line-clamp's fault. This heading carries padding-bottom:5px,
   and padding is INSIDE the overflow box, so the clip edge sat 5px below line one and the
   top of line two rendered into that strip. Moving the same 5px to margin-bottom, which is
   outside the box, makes the clip edge land exactly on the end of line one.

   So: line-clamp does the clamping, and the text still wraps normally, which is why it can
   never overflow the card the way nowrap did. Same mechanism as the 3-line rule above,
   differing only in the count, which is what makes the two states easy to reason about. */
body.projects.proj-filtered .proj-layout .solutions.container .row .blog-item__title{
  -webkit-line-clamp:1;
  /* !important is not a shortcut past specificity here, it is the only thing that works:
     the markup carries Bootstrap's .pb-2 utility, and Bootstrap ships its utilities WITH
     !important (0.5rem, which is 5px at this theme's 10px root). A normal declaration loses
     to it no matter how many classes the selector stacks, which is exactly what happened on
     the first pass: this rule matched, computed padding-bottom stayed 5px, and the sliver
     survived. Scoped to the filtered state and this one property. */
  padding-bottom:0!important;
  margin-bottom:5px;
}

/* THE ELLIPSIS NEEDS ITS ANCESTORS TO ALLOW SHRINKING, or nowrap just overflows.
   A flex item defaults to min-width:auto, which means "never shrink below your content",
   so the title's column was sized to the full 359px of "Sparkle" @ Museum DIORAMA inside a
   355px row. text-overflow never fired, because nothing ever clipped: the heading simply
   grew, pushed out past the card's right edge and ran under the category pill beside it.

   The h2 already had min-width:0 and overflow:hidden. That is not enough on its own,
   because the constraint has to exist at every flex level between the heading and the row
   that actually has a width; one ancestor still saying "size me to my content" hands the
   heading a box big enough to never need an ellipsis. .blog-item__link and the column
   wrapper are those two levels.

   Scoped to .proj-filtered on purpose. The unfiltered grid wraps to three lines, where
   min-width:auto is harmless and the legacy card layout is long-standing and shared with
   /blog/, so this does not touch it. */
body.projects.proj-filtered .proj-layout .solutions.container .row article .blog-item__link,
body.projects.proj-filtered .proj-layout .solutions.container .row article .d-flex.flex-column{
  min-width:0;
}

/* THE CATEGORY PILL SITS ON THE TITLE'S LINE, NOT THE ROW'S TOP EDGE.
   The pill carries align-self:flex-start on itself, which beats the row's align-items, so
   it pinned to the top of a row that is taller than the title: the row holds the title AND
   the location line in its left column, while the pill is only as tall as one pill. Its
   centre sat about 11px above the title's, which is what read as "not vertically aligned".

   align-items:center on the row is the obvious move and it is wrong here: it would centre
   the pill against the full two-line column, dropping it BELOW the title instead. Baseline
   does nothing while the pill's own align-self is still winning. So the pill's align-self is
   what has to change, and it is nudged onto the title's first line rather than the column's
   middle.

   Filtered state only, where the title is exactly one line and this geometry is fixed. The
   unfiltered grid wraps to three lines and a top-aligned pill is right there. */
body.projects.proj-filtered .proj-layout .solutions.container .row article .blog-item-category{
  align-self:flex-start;
  margin-top:8px;
}

/* The year and location line, with no height reserved for it.

   IT USED TO RESERVE TWO LINE BOXES so that a card whose location wraps did not sit taller
   than its neighbours. Kim removed that on 2026-09-08, and it is the same call as dropping
   the title's floor the night before: the reserve bought row-to-row evenness by holding
   empty space open under the cards that did not need it, and measured across all 53 it was
   space almost nothing used. At 768 and wider every location fits on one line, so the
   second box was dead on every card there; only at 390 do 18 of 53 wrap to two.

   WHAT IT COSTS, so nobody re-adds it by reflex: on a phone a card whose location wraps is
   now 19.6px taller than the card beside it. Nothing is clipped and nothing overflows, it
   is a ragged bottom edge rather than lost text.

   NOT CLAMPED EITHER, deliberately. A truncated location is worse than a truncated project
   name: it is the thing a salesperson scans for, and losing the country to an ellipsis
   defeats the point of showing it. So this line wraps freely and the card grows. */
body.projects .proj-layout .solutions.container .row article small{
  display:block;
}

/* ---------- empty state ---------- */
body.projects .proj-empty{padding:80px 8px;text-align:center;color:var(--pf-muted,#6c757d)}
body.projects .proj-empty p{margin:0 0 20px;font-size:18px}
/* .proj-linkbtn HAD NO RULE AT ALL, so it rendered as the browser's default grey button in
   the middle of an otherwise styled page (Kim, 2026-09-08: "the button is unstyled"). It is
   the page's existing pill, not a new shape: the geometry below is .proj-pillbtn's, kept in
   its own rule rather than by adding a class in the template, because that pill is one of the
   four elements shared with the production template and this state is not.

   OUTLINE, FILLING ON HOVER, rather than a solid blue at rest. Clearing filters is a recovery
   action and the only control on the screen, so it does not need to compete for attention; it
   needs to be unmistakably a button, which the border and the 44px pill carry. A solid CTA
   here would read as the page's primary action while the visitor is looking at nothing.

   The icon is muted to --pf-line, a step lighter than the sentence under it, so the order of
   reading is sentence first and picture second. */
body.projects .proj-empty__icon{display:block;width:44px;height:44px;margin:0 auto 18px;color:var(--pf-line,#dcdcdc)}
body.projects .proj-empty__icon svg{display:block;width:100%;height:100%}
body.projects .proj-linkbtn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font:inherit;font-size:15px;font-weight:600;
  color:var(--pf-blue,#0ea5df);background:#fff;border:1px solid var(--pf-blue,#0ea5df);
  border-radius:999px;padding:0 22px;min-height:44px;cursor:pointer;
  transition:background-color .2s var(--pf-ease,ease),color .2s var(--pf-ease,ease),border-color .2s var(--pf-ease,ease),transform .12s var(--pf-ease,ease);
}
body.projects .proj-linkbtn:hover{background-color:var(--pf-blue,#0ea5df);color:#fff}
body.projects .proj-linkbtn:focus-visible{outline:2px solid var(--pf-blue,#0ea5df);outline-offset:2px}
body.projects .proj-linkbtn:active{transform:scale(.97)}
/* The state appears by having [hidden] removed, which fires no transition, so the entry is a
   keyframe. 6px and 280ms: enough that the block is noticed arriving where the grid was,
   short enough that it is never in the way of reading it. Killed under reduce below, where
   the block simply appears; nothing here is motion-only, the sentence carries the meaning. */
body.projects .proj-empty:not([hidden]){animation:pf-empty-in .28s var(--pf-ease,ease) both}
@keyframes pf-empty-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

/* ---------- mobile: the rail becomes a drawer ----------
   900px, the prototype's own breakpoint, chosen against the rail's 248px plus its 44px gap
   rather than against one of the theme's card-grid breakpoints: below it there is not room
   for a column of filters beside a readable grid. */
body.projects .pf-railbtn{display:none}
body.projects .pf-rail__done{display:none}
@media screen and (max-width:900px){
  body.projects .proj-layout{grid-template-columns:1fr;gap:0}
  body.projects .pf-railbtn{display:inline-flex}
  /* padding-top 70px: the real #navbar is position:fixed, top:0 and 70px tall at this
     width, and its z-index (111111) beats the drawer's, so without this the drawer's own
     "Filter / Clear all" header rendered underneath it and was invisible. */
  /* THE DRAWER STARTS BELOW THE NAVBAR, it does not pad itself away from it.
     Fixing a fault the prototype has too, so this is a deliberate deviation from it
     rather than drift: measured at 390 on BOTH, the sticky "FILTER / Clear all" row
     rendered at y=160 while the Product group head above it sat at y=123, i.e. the
     header had slid below the first group and the two overlapped. Cause is the sticky
     row's `top` interacting with its own scroll container's padding: the row is the
     first child, the container carried 90px of padding-top, and Chrome offset the row
     a further 70px down from its static position. Nobody caught it because the row is
     small grey uppercase text landing beside a blue "Product" heading.
     Moving the 70px of navbar clearance off the padding and onto the container's own
     inset removes the interaction entirely: the scrollport now begins where content is
     actually allowed to be, so the row sticks to the scrollport's own top edge with no
     offset to get wrong. #navbar is position:fixed at z-index 111111 and paints over
     that band on its own, which is what covers the gap the drawer no longer fills. */
  body.projects .pf-rail{
    /* THE PANEL ENDS WHERE THE CONSENT BANNER BEGINS, rather than running under it with
       its footer floating clear. --enttec-consent-modal-h counts only furniture that
       actually paints ON TOP of this drawer (see the note on that variable below), so in
       the normal case it is 0px and the drawer is full height. */
    position:fixed;inset:70px 0 var(--enttec-consent-modal-h, 0px) 0;z-index:1100;background:#fff;max-height:none;
    /* Stops a swipe that reaches the drawer's own end from continuing into the grid behind
       it (scroll chaining). The JS lock handles the page; this handles the hand-off. */
    overflow-y:auto;overscroll-behavior:contain;
    /* THE BOTTOM PADDING CLEARS THE "Show results" BAR. A FLAT 88px now, no consent
       height folded in any more. The inset above now shortens the
       whole panel, so this only has to clear the 58px bar sitting on the panel's own
       bottom edge. Adding the banner height here as well double-counted it and left a
       second empty band the length of the banner at the end of the option list. */
    padding:0 clamp(20px,5vw,28px) 88px;display:none;
  }
  body.projects .pf-rail.is-open{display:block}
  /* ZERO PADDING-TOP ON THE CONTAINER, THE SPACE LIVES ON THIS ROW INSTEAD, and that is
     the actual mechanism rather than a taste call: Chrome offsets a position:sticky child
     by its scroll container's padding-top, so with any padding there the row cannot pin
     flush to the scrollport and scrolled content appears in the strip above it. Measured
     at 390: with 20px of container padding the row pinned at y=90 while the Product head
     scrolled up to y=74, showing through the 20px gap. With the padding moved onto the
     row, the row pins at the scrollport's own top edge and its white background is what
     fills the breathing space, so nothing can ever pass above it. */
  body.projects .pf-rail__top{padding-top:20px}
  /* "CLEAR ALL" REACHES 44px HERE, AND ONLY HERE. Measured 63.9 x 28.2 in the drawer, which
     is a touch target under the floor on the one device class that taps it. The two
     objections in the desktop note above are both about the 248px rail: no room sideways,
     and a symmetric expansion clipped by the sticky row's own scrollport. Neither holds in
     the drawer, where the row is 687px wide and the header carries 20px of padding-top for
     the upward half to live inside, so it is inside the sticky row's box and cannot be
     clipped. Downward stays at 10px, because the desktop note is right that another 14px
     starts stealing the Product heading's clicks. Desktop is untouched, exactly as signed
     off. */
  body.projects .pf-clearbtn::after{inset:-16px -12px -10px}
  /* SIT ABOVE WHAT PAINTS OVER THE DRAWER, AND ONLY THAT. At bottom:0 the cookie bar
     covered all 58px of this button and a real tap was refused by div.consent-text, so on
     a tablet the drawer was a one-way door: Escape closes it, but that is keyboard only.

     IT USED TO READ --enttec-consent-h, WHICH IS THE WRONG QUESTION HERE (Kim,
     2026-09-11: "the show all results button is not showing at the bottom of the
     screen"). That variable is the whole bottom coverage of the page, and it counts
     #show-gdpr, the "Privacy & cookies policy" link that replaces the banner once it is
     answered. That link is z-index 20 against this drawer's 1100, so the drawer already
     paints over it and needs no clearance at all, yet the bar lifted 48px to clear it and
     sat detached with a white strip underneath. Measured 738 to 796 in an 844px viewport
     with the banner answered, which is what every returning visitor sees.

     --enttec-consent-modal-h is the same measurement filtered to furniture that outranks
     the drawer in the stack, so today only #gdpr-notice (z-index 1000020) counts. It is
     published on the root element by projects-loop-rail.php beside --enttec-consent-h;
     the desktop rail's ceiling still uses the unfiltered one, because that rail is in
     flow and genuinely is covered by both. */
  body.projects .pf-rail.is-open .pf-rail__done{
    display:block;position:fixed;left:0;right:0;bottom:var(--enttec-consent-modal-h, 0px);width:100%;
    font:inherit;font-size:15px;font-weight:600;min-height:58px;border:0;
    background:var(--pf-blue);color:#fff;cursor:pointer;
  }
  body.projects .pf-rail.is-open .pf-rail__done:focus-visible{outline:2px solid #fff;outline-offset:-4px}
  /* The AE portfolio card is position:fixed at z-index 880, which floats it above the
     drawer and its Show results bar; measured 46px of overlap at 375. Prod has no drawer,
     so there is no precedent for the combination, and hiding the card while the drawer is
     open is the safe call: its dismissal state is untouched and it is back the instant the
     drawer closes. Delete this rule alongside the AE-only block if that ever goes. */
  body.projects:has(#pf-rail.is-open) .proj-promo{display:none!important}
}

/* Every transition above, off. No feedback here is motion-only: the caret rotation is
   paired with aria-expanded and a hidden body, the checkbox tick with a filled box, and
   the chips appear and disappear outright. */
@media (prefers-reduced-motion:reduce){
  /* The head's OWN colour transition, not just its caret. The caret was listed and the
     button it sits in was not, so the one thing actually moving under a reduce setting was
     the heading turning blue. */
  body.projects .pf-group__head,
  /* The grid's thumbnails carry transition:all 1s from the legacy minified block at the top
     of this file, unscoped and never overridden: the slowest animation on the page, and the
     one a reduce user notices most because it fires on every card they pass. */
  body.projects .proj-layout .solutions.container .row a.thumb,
  body.projects .proj-layout .solutions.container .row a.thumb img,
  body.projects .pf-group__head .pf-caret,
  body.projects .pf-catmore__chevron,
  body.projects .pf-ds .enttec-check__box,
  body.projects .pf-ds .enttec-check__box i,
  body.projects .pf-ds .enttec-locale-switcher__toggle,
  body.projects .pf-ds .enttec-locale-switcher__chevron,
  body.projects .pf-ds .enttec-locale-switcher__option,
  body.projects .proj-pillbtn,
  body.projects .proj-linkbtn,
  body.projects .proj-empty,
  body.projects .proj-empty:not([hidden]),
  body.projects .proj-caret,
  body.projects .proj-kit__pill,
  body.projects .proj-layout .proj-bar{transition:none!important;animation:none!important}
  /* Pseudo-elements do not inherit the block above, so the search field's clear button needs
     naming in its own right. */
  body.projects input.pf-search::-webkit-search-cancel-button{transition:none!important}

  /* THE LOADING SPINNER BECOMES ITS OWN LABEL RATHER THAN JUST STOPPING. It is Bootstrap's
     .spinner-border, a 0.75s infinite rotation and the only endless animation on the page,
     which makes it the one that actually matters to a vestibular reader. Killing the spin
     alone would leave a static ring, i.e. no feedback at all, and motion-only feedback is
     not allowed to degrade into no feedback. The markup already carries the answer: a
     .sr-only "Loading..." that only screen readers get. Reduce turns the ring off and the
     words on, so everyone still learns the same thing. */
  body.projects .proj-layout #solutions-loader .spinner-border{
    animation:none!important;width:auto;height:auto;border:0;
  }
  body.projects .proj-layout #solutions-loader .spinner-border .sr-only{
    position:static;width:auto;height:auto;overflow:visible;clip:auto;
    white-space:normal;font-size:14px;color:var(--pf-muted,#6c757d);
  }
}

/* --- 2026-09-03 (2), Kim: five drifts the parity measurement caught (WI #8842) ---
   All five were measured against the signed-off prototype at 1440, not eyeballed. */

/* 1. THE RAIL'S SCROLLBAR CLEARANCE. Measured: the prototype's option rows are 224px
      wide inside a 248px rail, the first port's were 234px, so every label and count sat
      10px further right than signed off. scrollbar-gutter:stable reserves the track, but
      the prototype also pads the content off it, and that padding is what stops the bar
      crowding the counts. Chrome honours scrollbar-width:thin over ::-webkit-scrollbar,
      so the 6px below only bites in older Chromium and Safari; both are kept because
      between them they cover every engine. */
/* min-width:901px, because this sits after the drawer's own padding rule and outside any
   query, so unscoped it won a same-specificity fight and left the drawer's option rows 10px
   from the right against 20px on the left. The gutter is for the desktop rail's scrollbar;
   the drawer has none to clear. */
@media screen and (min-width:901px){
  body.projects .pf-rail{padding-right:10px}
}
body.projects .pf-rail::-webkit-scrollbar{width:6px}
body.projects .pf-rail::-webkit-scrollbar-track{background:transparent}
body.projects .pf-rail::-webkit-scrollbar-thumb{background:#cfcfcf;border-radius:3px;border:0;background-clip:border-box}
body.projects .pf-rail::-webkit-scrollbar-thumb:hover{background:#b5b5b5}

/* 2. THE LEDE'S LINE HEIGHT. Measured 24.8px against the prototype's 22.4px: the
      prototype declares no line-height on .lede and inherits 1.4, while the port had
      carried 1.55 over from the version of this paragraph that lived in the controls
      row. Declared explicitly rather than deleted, so the value does not depend on
      whatever the theme's body line-height happens to be next.
      SCOPED TO .proj-layout (2026-09-07): main's projects-loop.php renders this same
      paragraph, and solutions.css is not behind ENTTEC_PROJECTS_FILTER_RAIL, so unscoped
      this was the one rule on the branch that would have changed prod's own /projects/
      with the flag still off. */
body.projects .proj-layout .proj-intro__lead{line-height:1.4}

/* 3. Explicit [hidden] with !important, because the button's own rule sets display:flex
      via inline-flex and the prototype needed the same override to beat it. */
body.projects .pf-clearbtn[hidden]{display:none!important}

/* 4 and 5. NO BORROWED FOCUS ARTEFACT ON CLICK, AND THE RIGHT RING ON TAB.
   This whole block was in the prototype and missing from the first port, which is the
   drift with the least visible symptom and the most annoying one: it only shows the
   moment someone clicks a control.

   Clicking a control was leaving a 1px solid #2271b1 (WordPress admin blue) border on
   it, and the block-editor stylesheet paints a black outline on bare inputs. Both
   arrive from the other stylesheets this page loads, not from anything here, which is
   why plain specificity does not settle it and every line below carries !important.

   Neutralised on :focus, then the ENTTEC ring is put back on :focus-visible ONLY, so a
   mouse click shows nothing and Tab still shows where you are. Taking it away from the
   keyboard too would make the rail unnavigable, which is why the two halves are
   separate rather than one blanket rule. */
body.projects .pf-ds .enttec-check input:focus,
body.projects .pf-ds .enttec-check input:focus-visible,
body.projects .pf-ds .enttec-locale-switcher__toggle:focus,
body.projects .pf-ds .enttec-locale-switcher__option:focus,
body.projects .pf-clearbtn:focus,
body.projects .pf-showmore:focus,
body.projects .pf-search:focus,
body.projects .pf-chips [data-drop]:focus,
body.projects .pf-group__head:focus,
body.projects .pf-rail__done:focus,
body.projects .proj-pillbtn:focus,
body.projects .proj-layout .proj-promo button:focus,
body.projects .proj-layout .proj-portfolio-link:focus{
  outline:none!important;border-color:transparent!important;box-shadow:none!important;
}
/* The search box keeps its blue edge on a plain click, since that edge is the only thing
   telling the reader which of the two search boxes they are typing into. */
body.projects .pf-search:focus{border-color:#0EA5DF!important}
/* Keyboard only, ENTTEC blue. */
body.projects .pf-ds .enttec-check input:focus-visible + .enttec-check__box,
body.projects .pf-ds .enttec-locale-switcher__toggle:focus-visible,
body.projects .pf-clearbtn:focus-visible,
body.projects .pf-showmore:focus-visible,
body.projects .pf-chips [data-drop]:focus-visible,
body.projects .pf-group__head:focus-visible,
body.projects .pf-rail__done:focus-visible,
body.projects .proj-pillbtn:focus-visible,
body.projects .proj-layout .proj-promo button:focus-visible,
body.projects .proj-layout .proj-portfolio-link:focus-visible{
  outline:2px solid #0EA5DF!important;outline-offset:2px;
}
body.projects .pf-search:focus-visible{box-shadow:0 0 0 3px rgba(14,165,223,.25)!important}
/* 6. THE SORT WRAPPER'S BORROWED SIDE MARGIN. Measured: the sort control sat 2.5px
      inside the content edge instead of flush on it, and .pf-tools came out 104.8px
      around a 99.8px child. Cause is worth remembering rather than just patching:
      reusing a design-system class means inheriting whatever else on the page already
      styles it. The header's own language switcher prints an INLINE <style> block on
      every page declaring the full .enttec-locale-switcher component, margin:0 .25rem
      included, and our wrapper carries that same class so it collected the margin too.
      The prototype never saw it, because the captured chrome it was built on did not
      include that inline block. Zeroed here rather than by dropping the class, since the
      class is what makes this the DS control and not a lookalike. */
body.projects .pf-sortwrap{margin:0}
/* --- 2026-09-03 (4), Kim: blue in the rail means one thing (WI #8842) ---
   Two passes, and the second one corrects the first.

   "Clear all" takes ENTTEC blue at rest, per Kim, with the darker #0c8bbb moving to
   :hover. That is the same behaviour the group headings already have, and it is right for
   Clear all: it lives in the rail's header row beside "FILTER", it is a real action, and
   it is the only thing at that level, so nothing competes with it.

   "Show all 21" went blue in the same pass and should not have. It sits INSIDE a facet
   group, 67px above the next group heading, at a similar size and weight, so in the same
   blue it read as a fifth facet heading rather than as a disclosure control belonging to
   Product. Three things in one blue at one level is not a hierarchy.
   It is muted grey with a standing underline instead: still unmistakably a control (the
   underline carries that, not the colour), clearly subordinate to the headings, and it
   leaves blue meaning "heading, or an action on the whole filter". Hover goes to full ink
   rather than to blue, so the feedback does not reintroduce the competition. */
body.projects .pf-clearbtn:hover{color:var(--pf-blue-dark);text-decoration:underline}
body.projects .pf-showmore{color:var(--pf-muted);text-decoration:underline}
body.projects .pf-showmore:hover{color:var(--pf-ink);text-decoration:underline}

/* --- 2026-09-11, Kim: the phone gutter, and the Filter control's shape (WI #8842) --- */

/* ---------- ONE GUTTER ON A PHONE, AND IT IS THE HEADER'S ----------
   Kim: "on mobile view, the projects are aligned with the left and right / width of the
   header above it". They were not. Measured at 375, three different left edges stacked
   down the page: the "Projects" header at 20, the results bar and its Filter control at
   15, and the card images at 35. The 35 is what reads as wrong, but fixing only that
   would have left the bar 5px out from the header, which is the next thing to notice.

   Where each one came from, because none of them is arbitrary:
     - 20px is the page header's own inset (.header-inner carries margin-left:20px with
       max-width:calc(100% - 40px)), so it is the edge every other page on the site lines
       up to at this width. It is the one to keep.
     - 15px is Bootstrap's .container padding on .projects_nav, which wraps the whole
       filter layout.
     - 35px is that 15 plus a further 20 from an inline `@media (max-width:500px)` block
       the theme prints for body.projects .solutions, because the card grid sits in a
       SECOND .container nested inside the first. Two containers, two gutters.

   575px, not the drawer's 900px: from 576 up the existing (min-width:576px) block already
   pulls both containers to calc(100% - 80px) and the header to the same 40px, so
   everything above that breakpoint already agrees. Verified at 768: header, bar and grid
   container all run 40 to 728.

   :has(.proj-layout) is what keeps this off production. .projects_nav is the PARENT of the
   filter layout and is shared with projects-loop.php, so it cannot be reached by descendant
   scoping the way every other rule in this section is. The live page keeps its 15 + 20
   exactly as it is today. */
@media screen and (max-width:575px){
  body.projects .container.projects_nav:has(.proj-layout){padding-left:20px;padding-right:20px}
  /* The inner container stops contributing a gutter of its own. !important is not laziness
     here: the 20px comes from an inline <style> block the theme prints in the document head,
     and that block declares `padding:0 20px !important`. An important declaration can only
     be beaten by another important one, whatever the specificity, so this is the only shape
     of override available. Scoped as tightly as it can be so the reach is still exactly the
     rail page's own grid. */
  body.projects .proj-layout .solutions.container{padding-left:0!important;padding-right:0!important}
  /* The bar leaves flow when it pins, so it carries the gutter itself or the count and the
     Filter control jump 4px sideways the moment it sticks.

     SCOPED UNDER .proj-layout, and that is load-bearing rather than tidiness: projects-loop.php
     renders a .proj-bar of its own, so a bare .proj-bar.is-pinned here would have moved the
     LIVE projects page's pinned bar from 16px to 20px on a phone, which is not a change anyone
     asked for. The rail's bar is a DOM descendant of .proj-layout whether or not it is pinned
     (position:fixed does not move it), so the scope holds in both states, and the added class
     also clears the 8px 16px rule further up this file on specificity rather than order. */
  body.projects .proj-layout .proj-bar.is-pinned{padding-left:20px;padding-right:20px}
}

/* ---------- THE FILTER CONTROL IS THE SORT CONTROL'S SHAPE ----------
   Kim: "the filter button matches the look of the newest first dropdown". They sit side by
   side in the same row and did not belong to the same family: Filter was a 999px pill with
   a standing 1px #dcdcdc border in 15px #3a3a3a, Sort was a borderless 13px/600 muted label
   with an 8px radius that only draws a box on hover. Two shapes, two type sizes, two
   weights, for two controls doing the same job at the same level.

   Sort is the one to copy, not the other way round, because it is the design system's own
   dropdown (.enttec-locale-switcher) and this page already renders it from the DS tokens.
   Matching the pill to it makes both controls DS controls; matching the DS control to the
   pill would have made a lookalike of a component we already have.

   HEIGHT FOLLOWS SORT TOO, INCLUDING ITS POINTER EXCEPTION. Sort is 44px on touch and
   drops to 36px inside (hover:hover) and (pointer:fine), which is the existing argument
   that a 44px floor is a finger's and is paid for in empty space on a mouse. The same
   argument applies to this control, and the two sit in the same row: leaving Filter at a
   flat 44 made them 44 against 36 in a desktop browser's responsive view, which is where
   this page gets looked at most. Both floors are restated below rather than added to the
   existing pointer block, because that block sits earlier in the file at the same
   specificity and would lose to the rule above on source order.

   Scoped to .pf-railbtn, not .proj-pillbtn: the pill class is the old filter UI's and is
   still what production's page renders. */
body.projects .pf-railbtn{
  gap:.5rem;background:transparent;border:1px solid transparent;
  border-radius:var(--acct-radius);padding:6px 16px;min-height:44px;
  font-size:13px;font-weight:600;line-height:1.5;color:var(--acct-text-muted);
  transition:background-color .17s var(--acct-ease),color .17s var(--acct-ease),border-color .17s var(--acct-ease);
}
body.projects .pf-railbtn:hover{background-color:var(--acct-surface-2);color:var(--acct-text);border-color:var(--acct-border-soft)}
/* Open is the DS's open state: the same wash, with blue on the border rather than a second
   fill, so the control reads as active without competing with the drawer it just opened. */
body.projects .pf-railbtn[aria-expanded="true"]{background-color:var(--acct-surface-2);color:var(--acct-text);border-color:var(--acct-blue)}
body.projects .pf-railbtn:focus-visible{outline:none;box-shadow:var(--acct-ring-soft)}
@media (hover:hover) and (pointer:fine){
  body.projects .pf-railbtn{min-height:36px}
}
/* The chevron already rotates on open (.proj-caret, further up). This is the rest of the
   DS treatment for it: held back to 70% at rest so the label leads, full strength when
   open, and lifted 1px because a 10x6 chevron optically centres low against 13px text. */
body.projects .pf-railbtn .proj-caret{opacity:.7;position:relative;top:-1px;transition:transform .25s ease,opacity .17s var(--acct-ease)}
body.projects .pf-railbtn[aria-expanded="true"] .proj-caret{opacity:1}
@media (prefers-reduced-motion:reduce){
  body.projects .pf-railbtn,
  body.projects .pf-railbtn .proj-caret{transition:none!important}
}
