/* Homepage project browser. Project artwork is supplied by native WordPress attachments. */
body.home #featured-projects.ng-portfolio-gallery {
  --pg-ink: #202124;
  --pg-green: #84C041;
  --pg-lime: #B5E66A;
  background: #F7F8F9; color: var(--pg-ink);
  margin: 0; padding: clamp(44px,5.5vw,82px) 0;
  scroll-margin-top: 90px; text-align: left;
}
.ng-portfolio-gallery *, .ng-portfolio-gallery *::before, .ng-portfolio-gallery *::after { box-sizing: border-box; }
.ng-portfolio-gallery .ng-pg-shell { width: min(1180px,calc(100% - clamp(36px,8vw,100px))); margin: 0 auto; }
.ng-portfolio-gallery .ng-pg-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; margin: 0 0 clamp(22px,2.8vw,38px); }
#featured-projects.ng-portfolio-gallery h2 { margin: 0; padding: 0; color: var(--pg-ink); font: 700 clamp(40px,4.8vw,68px)/.99 'Proximanova-bold',Arial,sans-serif; letter-spacing: -.057em; text-transform: none; }
.ng-portfolio-gallery h2 span { color: var(--pg-green); }
#featured-projects .ng-pg-hub, #featured-projects .ng-pg-visit {
  display: inline-flex; align-items: center; flex: none; width: fit-content; min-height: 44px; gap: 10px;
  padding: 0; border: 0; background: transparent; color: var(--pg-ink);
  font: 700 16px/1.2 'Proximanova-bold',Arial,sans-serif; text-decoration: none;
}
.ng-portfolio-gallery .ng-pg-footer { display:flex; justify-content:center; margin-top:clamp(22px,3vw,36px); }
#featured-projects .ng-pg-footer .ng-pg-hub { min-height:48px; gap:12px; padding:6px 8px 6px 22px; border-radius:30px; background:#202124; color:#fff; }
#featured-projects .ng-pg-hub span { display:grid; place-items:center; height:32px; width:32px; border-radius:50%; background:var(--pg-lime); color:#202124; font:20px/1 Arial,sans-serif; }
#featured-projects .ng-pg-footer .ng-pg-hub:focus-visible { outline:3px solid #202124; outline-offset:4px; }
#featured-projects .ng-pg-hub:hover, #featured-projects .ng-pg-visit:hover { text-decoration: underline; text-underline-offset: 4px; }
.ng-portfolio-gallery [hidden] { display: none !important; }
.ng-portfolio-gallery .ng-pg-layout { display: block; }
.ng-portfolio-gallery[data-ready] .ng-pg-layout {
  display: grid; grid-template-columns: minmax(0,1.83fr) minmax(268px,1fr);
  grid-template-areas: "panels picker"; align-items: start; gap: clamp(28px,3.8vw,58px);
}
.ng-portfolio-gallery .ng-pg-panels { grid-area: panels; min-width: 0; }
.ng-portfolio-gallery .ng-pg-picker { grid-area: picker; min-width: 0; }
.ng-portfolio-gallery .ng-pg-panel { display: block; padding: 0; margin: 0; border: none; border-radius: 0; background: transparent; box-shadow: none; }
.ng-portfolio-gallery:not([data-ready]) .ng-pg-panel + .ng-pg-panel { margin-top: 34px; }
.ng-portfolio-gallery .ng-pg-screen { overflow: hidden; border: 1px solid #CDD0D2; border-radius: 10px; background: #FFF; box-shadow: 0 6px 18px rgba(32,33,36,.07); }
.ng-portfolio-gallery .ng-pg-browser {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 12px; height: 29px; background: #202124; color: #EBEDEF;
  font: 600 11px/1.2 'Proximanova-regular',Arial,sans-serif; letter-spacing: .045em; text-align: center;
}
.ng-portfolio-gallery .ng-pg-dots { display: flex; align-items: center; gap: 4px; }
.ng-portfolio-gallery .ng-pg-dots i { display: block; width: 5px; height: 5px; background: #8F9497; border-radius: 50%; }
.ng-portfolio-gallery .ng-pg-dots i:first-child { background: var(--pg-lime); }
.ng-portfolio-gallery .ng-pg-capture { width: 100%; aspect-ratio: 1.54; background-color: #FFF; display: grid; place-items: center; overflow: hidden; }
.ng-portfolio-gallery .ng-pg-capture.ngh-site-still--air-force { background-color: #fff; background-position: center; background-repeat: no-repeat; background-size: contain; }
.ng-portfolio-gallery .ng-pg-thumb.ngh-site-still--air-force { background-position: center top; background-repeat: no-repeat; background-size: cover; }
#featured-projects .ng-pg-capture img { display: block; width: 100%; height: 100%; min-height: 0; max-width: 100%; object-fit: contain; object-position: center; }
.ng-portfolio-gallery .ng-pg-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: clamp(14px,1.6vw,22px); }
.ng-portfolio-gallery .ng-pg-copy { min-width: 0; }
#featured-projects .ng-pg-copy .ng-pg-industry, #featured-projects .ng-pg-list-label, #featured-projects .ng-pg-mobile label {
  display: block; margin: 0; padding: 0; color: #52575B; font: 700 12px/1.3 'Proximanova-bold',Arial,sans-serif; letter-spacing: .09em; text-transform: uppercase;
}
#featured-projects .ng-pg-copy h3 { margin: 5px 0 0; padding: 0; color: var(--pg-ink); font: 700 clamp(25px,2.6vw,37px)/1.08 'Proximanova-bold',Arial,sans-serif; letter-spacing: -.045em; text-transform: none; }
#featured-projects .ng-pg-copy .ng-pg-description { margin: 7px 0 0; padding: 0; max-width: 58ch; color: #52575B; font-size: 16px; line-height: 1.45; }
#featured-projects .ng-pg-visit { gap: 6px; font-size: 15px; }
#featured-projects .ng-pg-visit span { color: var(--pg-ink); font: 17px/1 Arial,sans-serif; }
#featured-projects .ng-pg-list-label { padding: 2px 0 12px; border-bottom: 2px solid #202124; }
.ng-portfolio-gallery .ng-pg-list { display: grid; }
#featured-projects .ng-pg-list button {
  appearance: none; display: grid; grid-template-columns: 58px 1fr 21px; gap: 14px; align-items: center;
  width: 100%; min-height: 68px; margin: 0; padding: 10px 12px; position: relative;
  border: 0; border-bottom: 1px solid #D2D5D6; border-radius: 0; box-shadow: none; background: transparent; color: var(--pg-ink);
  font: 700 clamp(17px,1.4vw,21px)/1.16 'Proximanova-bold',Arial,sans-serif; letter-spacing: -.025em; text-transform: none; text-align: left; cursor: pointer;
}
#featured-projects .ng-pg-list button[aria-selected="true"] { background: #202124; color: white; border-color: #202124; }
#featured-projects .ng-pg-list button[aria-selected="false"]:hover { background: #ECEEF0; }
#featured-projects .ng-pg-list button[aria-selected="true"]::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--pg-green); }
.ng-portfolio-gallery .ng-pg-thumb { display: block; width: 58px; height: 40px; overflow: hidden; border-radius: 3px; background-color: #ECEEF0; }
#featured-projects .ng-pg-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ng-portfolio-gallery .ng-pg-marker { color: #63686B; font: 20px/1 Arial,sans-serif; text-align: center; }
.ng-portfolio-gallery [aria-selected="true"] .ng-pg-marker { color: var(--pg-lime); }
.ng-portfolio-gallery .ng-pg-mobile { display: none; }
#featured-projects :is(button,a,select):focus-visible { outline: 3px solid #648C2F; outline-offset: 3px; z-index: 1; }
@media(prefers-reduced-motion:no-preference) {
  .ng-portfolio-gallery[data-ready] .ng-pg-panel.is-new .ng-pg-capture img { animation: ng-pg-resolve .28s ease-out both; }
  @keyframes ng-pg-resolve { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: none; } }
}
@media(max-width:900px) {
  .ng-portfolio-gallery[data-ready] .ng-pg-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "picker" "panels"; gap: 13px; }
  #featured-projects .ng-pg-list-label, .ng-portfolio-gallery .ng-pg-list { display: none; }
  .ng-portfolio-gallery .ng-pg-mobile { display: block; }
  #featured-projects .ng-pg-mobile label { font-size: 11px; margin: 0 0 6px; }
  .ng-portfolio-gallery .ng-pg-select-wrap { position: relative; }
  #featured-projects .ng-pg-select-wrap select { appearance: none; width: 100%; height: 46px; margin: 0; padding: 8px 38px 8px 13px; border-radius: 6px; border: 1px solid #A9AFB1; color: #202124; background: white; font: 700 16px/1.3 'Proximanova-bold',Arial,sans-serif; }
  .ng-portfolio-gallery .ng-pg-select-wrap span { position: absolute; right: 17px; top: 50%; transform: translateY(-57%); pointer-events: none; color:#202124; font: 22px/1 Arial,sans-serif; }
  .ng-portfolio-gallery .ng-pg-screen { border-radius: 7px; }
  .ng-portfolio-gallery .ng-pg-caption { padding-top: 14px; }
}
@media(max-width:540px) {
  .ng-portfolio-gallery .ng-pg-heading { align-items: flex-start; flex-direction: column; gap: 2px; margin-bottom: 14px; }
  #featured-projects .ng-pg-hub { font-size: 15px; }
  #featured-projects .ng-pg-hub span { width: 26px; height: 26px; font-size: 17px; }
  .ng-portfolio-gallery .ng-pg-caption { display: block; }
  #featured-projects .ng-pg-visit { margin-top: 2px; }
}
