/* Barlow + Barlow Condensed (SIL Open Font License), latin subset, self-hosted. */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-400.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-500.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-600.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-condensed-500.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-600.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-700.woff2) format('woff2')}
/* Metric-matched local fallbacks (measured against Arial): text keeps its box while the woff2 loads, so no layout shift. */
@font-face{font-family:'Barlow Fallback';font-weight:400 500;src:local('Arial'),local('Liberation Sans');size-adjust:90.32%;ascent-override:110.72%;descent-override:22.14%;line-gap-override:0%}
@font-face{font-family:'Barlow Fallback';font-weight:600;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold');size-adjust:88.85%;ascent-override:112.55%;descent-override:22.51%;line-gap-override:0%}
@font-face{font-family:'Barlow Condensed Fallback';font-weight:500 600;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold');size-adjust:69.24%;ascent-override:144.43%;descent-override:28.89%;line-gap-override:0%}
@font-face{font-family:'Barlow Condensed Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold');size-adjust:70.51%;ascent-override:141.83%;descent-override:28.37%;line-gap-override:0%}

/* MPC Inc. — timfostermpc.com refresh
   Values transcribed from design_handoff_mpc_site_refresh/site/*.dc.html.
   Square, industrial: no border-radius, no shadows, no transitions. */

/* ---------- Base ---------- */
html, body { margin: 0; padding: 0; background: #f5f4f1; color: #22262a; }
body { font-family: Barlow, 'Barlow Fallback', sans-serif; -webkit-font-smoothing: antialiased; }
a { color: #ab5800; }
a:hover { color: #e8720c; }
*:focus-visible { outline: 2px solid #e8720c; outline-offset: 2px; }
img { max-width: 100%; }

.visually-hidden { position: absolute; left: -9999px; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; z-index: 100;
  background: #e8720c; color: #17191c; padding: 10px 16px;
  font: 600 15px Barlow, 'Barlow Fallback', sans-serif; text-decoration: none;
}
.skip-link:focus-visible { left: 16px; top: 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #17191c; border-bottom: 1px solid #34383e; }
.site-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px;
}
.logo-plate { display: block; background: #ffffff; padding: 6px 14px 6px 10px; text-decoration: none; }
.logo-plate:focus-visible { outline: 2px solid #e8720c; outline-offset: 3px; }
.logo-plate img { display: block; height: 46px; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; }
.site-nav a {
  font: 600 15px Barlow, 'Barlow Fallback', sans-serif; color: #a9afb6; text-decoration: none;
  padding: 8px 10px 6px; border-bottom: 2px solid transparent; letter-spacing: 0.02em;
}
.site-nav a:hover { color: #ffffff; }
.site-nav a[aria-current="page"] { color: #ffffff; border-bottom-color: #e8720c; }


/* Disclosure toggles for the collapsed header nav and Projects filters. Hidden on wide screens;
   site.js applies [hidden] to their targets only while the (max-width: 899px) query matches. */
.nav-toggle, .filter-bar__toggle { display: none; }
@media (max-width: 899px) {
  /* Collapsed state is driven by the toggle's aria-expanded so nothing shifts before site.js runs
     (the [hidden] attribute site.js also sets is belt and braces). <noscript> in each page restores both. */
  .nav-toggle[aria-expanded="false"] + .site-nav, .site-nav[hidden] { display: none; }
  .filter-bar:has(.filter-bar__toggle[aria-expanded="false"]) .filter-panel, .filter-panel[hidden] { display: none; }
}
@media (min-width: 900px) {
  .site-nav[hidden] { display: flex; }
  .filter-panel[hidden] { display: block; }
}

/* ---------- Mobile / tablet header (< 900px): compact sticky bar + disclosure nav ---------- */
@media (max-width: 899px) {
  .site-header__inner { padding: 8px 16px; gap: 8px 12px; }
  .logo-plate { padding: 5px 10px 5px 8px; }
  .logo-plate img { height: 34px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; margin-left: auto;
    background: transparent; border: 1px solid #4a4f56; color: #ffffff; cursor: pointer;
    font: 600 15px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.02em;
  }
  .nav-toggle:hover { border-color: #e8720c; }
  .nav-toggle:focus-visible { outline: 2px solid #e8720c; outline-offset: 2px; }
  .nav-toggle__bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; box-shadow: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before, .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 2px; background: #ffffff; transform: rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: rotate(-45deg); }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #34383e; padding: 6px 0 8px; }
  .site-nav a { padding: 12px 12px; min-height: 44px; font-size: 17px; border-bottom: 0; box-shadow: inset 3px 0 0 transparent; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 #e8720c; }
}

/* ---------- Footer ---------- */
.site-footer { background: #17191c; border-top: 3px solid #e8720c; color: #a9afb6; font: 400 15px Barlow, 'Barlow Fallback', sans-serif; }
.site-footer__grid {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 36px;
}
.site-footer .logo-plate { display: inline-block; }
.site-footer .logo-plate img { height: 42px; }
.site-footer__tag { margin: 12px 0 0; letter-spacing: 0.14em; font-size: 12px; color: #8a9099; }
.site-footer__blurb { margin: 14px 0 0; line-height: 1.55; max-width: 34ch; }
.site-footer h2 { font: 600 13px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.18em; color: #ffffff; margin: 0 0 14px; }
.site-footer p { margin: 0 0 8px; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: #e8964a; text-decoration: none; }
.site-footer a:hover { color: #ffffff; }
.site-footer__pages { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.site-footer__pages a { color: #a9afb6; }
.site-footer__pages a:hover { color: #ffffff; }
.site-footer__bottom { border-top: 1px solid #34383e; }
.site-footer__credit { margin-left: auto; }
.site-footer__credit a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #6a7076; }
.site-footer__credit a:hover { text-decoration-color: #e8964a; }
.site-footer__bottom-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 14px; color: #8a9099;
}

/* ---------- Shared type & layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; }
.eyebrow { margin: 0 0 12px; font: 600 14px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.24em; color: #e8964a; }
.eyebrow--light { color: #ab5800; margin-bottom: 10px; }
.h2 { margin: 0; font: 700 clamp(26px, 3vw, 36px) 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.h3 { margin: 0 0 8px; font: 600 21px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.card-text { margin: 0; color: #565c63; line-height: 1.55; font-size: 15px; }

.btn {
  display: inline-block; background: #e8720c; color: #17191c; font: 600 16px Barlow, 'Barlow Fallback', sans-serif;
  text-decoration: none; padding: 14px 28px; letter-spacing: 0.02em; border: none; cursor: pointer;
}
.btn:hover { background: #f5850f; color: #17191c; }
.btn--outline { background: transparent; border: 1px solid #6a7076; color: #ffffff; letter-spacing: 0; }
.btn--outline:hover { background: transparent; border-color: #ffffff; color: #ffffff; }

/* Interior page hero band */
.page-hero { background: #17191c; padding: 64px 24px; }
.page-hero h1 {
  margin: 0; font: 700 clamp(36px, 5vw, 60px) 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif;
  color: #ffffff; text-transform: uppercase;
}
.page-hero__intro { margin: 18px 0 0; color: #a9afb6; font-size: 17px; line-height: 1.6; max-width: 62ch; }

/* ---------- Home ---------- */
.home-hero { position: relative; background: #17191c; overflow: hidden; }
.home-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.home-hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(23,25,28,0.95) 0%, rgba(23,25,28,0.93) 30%, rgba(23,25,28,0.35) 75%); }
.home-hero__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 110px 24px 96px; }
.home-hero .eyebrow { margin: 0 0 16px; font-size: 14px; }
.home-hero h1 {
  margin: 0; font: 700 clamp(42px, 6vw, 76px)/1.02 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ffffff;
  letter-spacing: 0.01em; text-transform: uppercase; max-width: 14ch; text-wrap: pretty;
}
.home-hero__lead { margin: 22px 0 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #d4d7db; max-width: 52ch; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.stat-band { background: #212428; }
.stat-band__grid {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 32px;
}
.stat { border-left: 3px solid #e8720c; padding-left: 16px; }
@media (min-width: 560px) and (max-width: 943px) { .stat-band__grid { grid-template-columns: repeat(2, 1fr); } }
.stat__num { font: 700 34px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ffffff; }
.stat__label { font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #a9afb6; letter-spacing: 0.1em; }

.home-services { max-width: 1200px; margin: 0 auto; padding: 72px 24px 24px; }
.home-services h2 { margin: 0 0 8px; font: 700 clamp(30px, 3.5vw, 44px) 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; letter-spacing: 0.01em; }
.home-services__intro { margin: 0 0 36px; max-width: 60ch; color: #565c63; line-height: 1.6; font-size: 17px; }
.home-services__more { margin: 28px 0 0; }
.home-services__more a { font: 600 16px Barlow, 'Barlow Fallback', sans-serif; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.photo-card { text-decoration: none; color: #22262a; background: #ffffff; border: 1px solid #dcd9d3; display: block; }
.photo-card:hover { border-color: #e8720c; color: #22262a; }
.photo-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.photo-card__body { padding: 18px 20px 20px; }
.photo-card h3 { margin: 0 0 6px; font: 600 22px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.photo-card p { margin: 0; color: #565c63; line-height: 1.5; font-size: 15px; }

.featured { max-width: 1200px; margin: 0 auto; padding: 56px 24px 72px; }
.featured__panel { background: #17191c; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); align-items: stretch; }
.featured__panel img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.featured__body { padding: 44px 40px; color: #d4d7db; }
.featured__body .eyebrow { margin-bottom: 10px; }
.featured__body h2 { margin: 0 0 6px; font: 700 clamp(28px, 3vw, 40px) 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ffffff; text-transform: uppercase; }
.featured__meta { margin: 0 0 16px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #8a9099; letter-spacing: 0.08em; }
.featured__text { margin: 0 0 18px; line-height: 1.65; font-size: 16px; }
.featured__link { color: #e8964a; font: 600 16px Barlow, 'Barlow Fallback', sans-serif; }
.featured__link:hover { color: #ffffff; }

.client-strip { background: #ffffff; border-top: 1px solid #dcd9d3; }
.client-strip__inner { max-width: 1200px; margin: 0 auto; padding: 44px 24px 52px; }
.client-strip h2 { margin: 0 0 20px; font: 600 13px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.24em; color: #565c63; }
.client-strip__row { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: baseline; }
.client-strip__row span { font: 700 24px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #3a3f45; }
.client-strip .client-strip__grid { grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.client-strip__grid .logo-card { border-color: #dcd9d3; padding: 14px 14px 12px; }
.client-strip__grid .logo-card__box { height: 64px; }
.client-strip__grid .logo-card__box img { max-height: 64px; }
.client-strip__grid .logo-card__wordmark { font-size: 26px; }
.logo-card__link { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; height: 100%; text-decoration: none; color: inherit; }
.client-strip__grid .logo-card:hover { border-color: #e8720c; }
.logo-card__link:hover .logo-card__name { color: #ab5800; }

/* ---------- About ---------- */
.story {
  max-width: 1200px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 48px; align-items: start;
}
.story h2 { margin: 0 0 18px; }
.prose { font-size: 17px; line-height: 1.7; color: #3a3f45; display: grid; gap: 16px; }
.prose p { margin: 0; }
.story blockquote {
  margin: 28px 0 0; padding: 18px 22px; border-left: 3px solid #e8720c; background: #ffffff;
  font: 500 19px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #3a3f45;
}
.story__photos { display: grid; gap: 20px; }
.story__photos img { width: 100%; height: 290px; object-fit: cover; display: block; border: 1px solid #dcd9d3; }

.timeline { background: #ffffff; border-top: 1px solid #dcd9d3; border-bottom: 1px solid #dcd9d3; }
.timeline__inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.timeline h2 { margin: 0 0 32px; }
.timeline__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tl { display: grid; grid-template-columns: 110px 16px 1fr; gap: 0 18px; align-items: start; }
.tl__years { font: 700 18px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ab5800; text-align: right; padding-top: 2px; }
.tl__rail { display: flex; flex-direction: column; align-items: center; align-self: stretch; }
.tl__dot { width: 10px; height: 10px; background: #e8720c; margin-top: 7px; flex-shrink: 0; }
.tl__line { width: 2px; flex: 1; background: #dcd9d3; }
.tl__body { padding-bottom: 26px; }
.tl__role { font: 600 17px Barlow, 'Barlow Fallback', sans-serif; color: #22262a; }
.tl__detail { font-size: 15px; color: #565c63; line-height: 1.55; margin-top: 3px; max-width: 70ch; }

.group { max-width: 1200px; margin: 0 auto; padding: 64px 24px; scroll-margin-top: 90px; }
.group h2 { margin: 0 0 12px; }
.group__intro { margin: 0 0 28px; max-width: 66ch; color: #3a3f45; line-height: 1.7; font-size: 17px; }
.pyramid { background: #ffffff; border: 1px solid #dcd9d3; padding: 32px 24px 20px; margin: 0 0 36px; }
.pyramid h3 { margin: 0 0 18px; font: 600 13px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.24em; color: #565c63; text-align: center; }
.pyramid svg { width: 100%; max-width: 1000px; height: auto; display: block; margin: 0 auto; font-family: Barlow, 'Barlow Fallback', sans-serif; }
/* Below 900px the SVG's 14px labels would render at 3-8px, so the same 25 capabilities are listed by tier instead. */
.pyramid-list { display: none; }
@media (max-width: 899px) {
  .pyramid svg { display: none; }
  .pyramid-list { display: block; margin: 0; padding: 0; list-style: none; counter-reset: tier; }
  .pyramid-list > li { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 0 12px 44px; border-top: 1px solid #eeece7; }
  .pyramid-list > li::before { counter-increment: tier; content: counter(tier); position: absolute; left: 0; top: 11px; width: 30px; text-align: center; font: 700 15px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ab5800; }
  .pyramid-list > li:first-child::before { background: #e8720c; color: #17191c; }
  .pyramid-list__tier { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
  .pyramid-list__tier li { background: #f5f4f1; border: 1px solid #dcd9d3; padding: 5px 10px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #22262a; }
  .pyramid-list__end { font: 600 12px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #565c63; }
}
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.logo-card {
  background: #ffffff; border: 1px solid #dcd9d3; padding: 16px 18px 14px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
}
.logo-card__box { height: 70px; display: flex; align-items: center; justify-content: center; }
.logo-card__box img { max-width: 100%; max-height: 70px; object-fit: contain; }
.logo-card__wordmark { font: 700 30px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #8a9099; text-transform: uppercase; }
.logo-card__name { font: 600 14px Barlow, 'Barlow Fallback', sans-serif; color: #565c63; text-transform: uppercase; letter-spacing: 0.06em; text-align: center; }

.community { background: #17191c; scroll-margin-top: 90px; }
.community__inner { max-width: 1200px; margin: 0 auto; padding: 64px 24px; }
.community h2 { margin: 0 0 12px; color: #ffffff; }
.community p { margin: 0 0 24px; color: #a9afb6; line-height: 1.6; font-size: 17px; max-width: 62ch; }

/* ---------- Services ---------- */
.page-hero__intro--60 { max-width: 60ch; }
/* In-page jump links under long pages' heroes (Community ~15 phone screens, Services ~11). */
.jump { background: #212428; border-bottom: 1px solid #34383e; padding: 10px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.jump__label { font: 600 12px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.18em; color: #8a9099; text-transform: uppercase; margin-right: 10px; }
.jump a { color: #d4d7db; text-decoration: none; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; padding: 0 10px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; border-bottom: 2px solid transparent; }
.jump a:hover { color: #ffffff; border-bottom-color: #e8720c; }
.jump a:focus-visible { outline: 2px solid #e8720c; outline-offset: -2px; }
@media (max-width: 899px) {
  /* One scrollable row on phones/tablets: 11 Services links would otherwise wrap into a 600px block. */
  .jump { flex-wrap: nowrap; overflow-x: auto; padding: 6px 16px; gap: 0 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .jump__label { flex-shrink: 0; }
}
[id] { scroll-margin-top: calc(var(--header-h, 0px) + 12px); }
.svc-list { max-width: 1200px; margin: 0 auto; padding: 56px 24px; display: grid; gap: 28px; }
.svc {
  background: #ffffff; border: 1px solid #dcd9d3; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); scroll-margin-top: 90px;
}
.svc__text { padding: 32px 32px 30px; }
.svc h2 { margin: 0 0 10px; font: 700 26px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.svc__blurb { margin: 0 0 16px; color: #565c63; line-height: 1.6; font-size: 16px; }
.svc ul { margin: 0; padding: 0 0 0 18px; color: #3a3f45; line-height: 1.7; font-size: 15px; }
.svc__link { margin: 18px 0 0; }
.svc__link a { font: 600 15px Barlow, 'Barlow Fallback', sans-serif; }
.svc img { width: 100%; height: 100%; min-height: 240px; max-height: 420px; object-fit: cover; display: block; }

.expertise { background: #ffffff; border-top: 1px solid #dcd9d3; }
.expertise__inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 64px; }
.expertise h2 { margin: 0 0 10px; font: 700 clamp(24px, 3vw, 32px) 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.expertise__intro { margin: 0 0 24px; color: #565c63; max-width: 64ch; line-height: 1.6; font-size: 16px; }
.chip-wall { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip { border: 1px solid #dcd9d3; background: #f5f4f1; padding: 7px 14px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #3a3f45; }

.cta-band { background: #17191c; padding: 56px 24px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; color: #ffffff; }
.cta-band p { margin: 0 0 24px; color: #a9afb6; font-size: 16px; }
.cta-band .btn { padding: 14px 30px; letter-spacing: 0; }

/* ---------- Projects ---------- */
.page-hero--projects { padding: 64px 24px 56px; }
.filter-bar { background: #ffffff; border-bottom: 1px solid #dcd9d3; position: sticky; top: var(--header-h, 0px); z-index: 10; }
.filter-bar__row {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center;
}
.filter-bar__search {
  border: 1px solid #c9c5be; background: #f5f4f1; padding: 9px 12px;
  font: 400 15px Barlow, 'Barlow Fallback', sans-serif; color: #22262a; min-width: 220px; flex: 1; max-width: 320px;
}
.filter-bar__label { font: 600 14px Barlow, 'Barlow Fallback', sans-serif; color: #565c63; letter-spacing: 0.06em; }
.filter-bar__select { border: 1px solid #c9c5be; background: #f5f4f1; padding: 9px 10px; font: 400 15px Barlow, 'Barlow Fallback', sans-serif; color: #22262a; }
.filter-bar__count { font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #565c63; margin-left: auto; }
.filter-bar__chips { max-width: 1200px; margin: 0 auto; padding: 0 24px 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  border: 1px solid #c9c5be; background: #f5f4f1; color: #3a3f45; padding: 7px 13px;
  font: 500 13.5px Barlow, 'Barlow Fallback', sans-serif; cursor: pointer;
}
.tag-chip[aria-pressed="true"] { border-color: #17191c; background: #17191c; color: #ffffff; }
/* Desktop order: search, STATE, select, count (the toggle is display:none). Below 900px the toggle leads the
   sticky row with the live count beside it; search/STATE/select and the chip panel only show while it is expanded. */
.filter-bar__search { order: 1; } .filter-bar__label { order: 2; } .filter-bar__select { order: 3; } .filter-bar__count { order: 4; }
@media (max-width: 899px) {
  .filter-bar__row { padding: 10px 16px; gap: 8px 10px; }
  .filter-bar__toggle { order: 0; }
  .filter-bar__count { order: 1; flex: 1 1 auto; margin-left: auto; text-align: right; }
  .filter-bar__search { order: 2; min-width: 0; max-width: none; flex: 1 1 100%; min-height: 44px; }
  .filter-bar__label { order: 3; } .filter-bar__select { order: 4; }
  .filter-bar__toggle[aria-expanded="false"] ~ .filter-bar__search,
  .filter-bar__toggle[aria-expanded="false"] ~ .filter-bar__label,
  .filter-bar__toggle[aria-expanded="false"] ~ .filter-bar__select { display: none; }
  .filter-bar__toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
    border: 1px solid #c9c5be; background: #f5f4f1; color: #22262a; cursor: pointer;
    font: 600 14px Barlow, 'Barlow Fallback', sans-serif;
  }
  .filter-bar__toggle::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
  .filter-bar__toggle[aria-expanded="true"] { border-color: #17191c; background: #17191c; color: #ffffff; }
  .filter-bar__toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
  .filter-bar__toggle:focus-visible { outline: 2px solid #e8720c; outline-offset: 2px; }
  .filter-panel { max-height: 60vh; overflow-y: auto; border-top: 1px solid #ece9e3; }
  .filter-bar__select { min-height: 44px; flex: 1 1 auto; }
  .filter-bar__chips { padding: 8px 16px 14px; }
  .tag-chip { min-height: 44px; padding: 10px 14px; font-size: 14px; }
}

.project-list { max-width: 1200px; margin: 0 auto; padding: 40px 24px 72px; display: grid; gap: 18px; align-content: start; min-height: 100vh; }
.project-list__note { margin: 0; color: #565c63; font-size: 16px; }
.project-list__more { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.project-list__more-note { color: #565c63; font: 500 15px Barlow, 'Barlow Fallback', sans-serif; }
.project h2:focus-visible { outline: 2px solid #e8720c; outline-offset: 4px; }
.project { background: #ffffff; border: 1px solid #dcd9d3; padding: 26px 28px; min-width: 0; }
.project__head { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: baseline; justify-content: space-between; }
.project h2 { margin: 0; font: 700 24px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; color: #22262a; }
.project__date { font: 600 14px Barlow, 'Barlow Fallback', sans-serif; color: #ab5800; letter-spacing: 0.06em; }
.project__loc { margin: 4px 0 12px; font: 500 15px Barlow, 'Barlow Fallback', sans-serif; color: #565c63; }
.project__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.project__tag { background: #f5f4f1; border: 1px solid #dcd9d3; padding: 4px 10px; font: 500 13.5px Barlow, 'Barlow Fallback', sans-serif; color: #565c63; letter-spacing: 0.04em; }
.project__scope { margin: 0; padding: 0 0 0 18px; color: #3a3f45; line-height: 1.7; font-size: 15px; columns: 2; column-gap: 40px; }
.project__scope li { break-inside: avoid; overflow-wrap: anywhere; }
.project__toggle {
  margin-top: 14px; border: none; background: none; color: #ab5800;
  font: 600 14.5px Barlow, 'Barlow Fallback', sans-serif; cursor: pointer; padding: 12px 0; min-height: 44px;
}
.project__toggle:hover { color: #e8720c; }
.link-button {
  border: none; background: none; color: #ab5800; font: 600 15px Barlow, 'Barlow Fallback', sans-serif;
  cursor: pointer; padding: 0; text-decoration: underline;
}
.link-button:hover { color: #e8720c; }

/* ---------- Equipment ---------- */
.catalog { max-width: 1200px; margin: 0 auto; padding: 56px 24px 24px; }
.catalog h2 { margin: 0 0 28px; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.eq { background: #ffffff; border: 1px solid #dcd9d3; display: flex; flex-direction: column; }
.eq img { width: 100%; height: 180px; object-fit: cover; display: block; }
.eq__body { padding: 18px 20px 20px; flex: 1; }
.eq h3 { margin: 0 0 6px; }
.eq__partner { margin: 0 0 8px; font: 600 12px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.14em; color: #ab5800; }

.partners { max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px; }
.partners h2 { margin: 0 0 12px; }
.partners__intro { margin: 0 0 28px; max-width: 64ch; color: #3a3f45; line-height: 1.7; font-size: 17px; }
.partners__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.partner { border: 1px solid #dcd9d3; background: #ffffff; padding: 24px; border-top: 3px solid #e8720c; }
.partner h3 { margin: 0 0 4px; }
.partner__where { margin: 0 0 8px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #6f757c; letter-spacing: 0.08em; }
.partners__note { margin: 28px 0 0; color: #565c63; font-size: 15px; }

/* ---------- Safety & Compliance ---------- */
.registrations { max-width: 1200px; margin: 0 auto; padding: 56px 24px 8px; }
.registrations h2 { margin: 0 0 24px; }
.registrations__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; }
.reg { background: #ffffff; border: 1px solid #dcd9d3; border-top: 3px solid #e8720c; padding: 24px; }

.documents { max-width: 1200px; margin: 0 auto; padding: 48px 24px 8px; }
.documents h2 { margin: 0 0 8px; }
.documents__intro { margin: 0 0 24px; color: #565c63; font-size: 15px; max-width: 64ch; }
.documents__groups { display: grid; gap: 26px; }
.doc-group { background: #ffffff; border: 1px solid #dcd9d3; }
.doc-group h3 {
  margin: 0; padding: 16px 22px; font: 600 18px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase;
  letter-spacing: 0.04em; border-bottom: 1px solid #dcd9d3; background: #f5f4f1;
}
.doc-group__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); margin: 0; padding: 0; list-style: none; }
.doc-group__list--accordion { border-top: 1px solid #dcd9d3; }
.doc-group__list[hidden] { display: none; }
.doc { display: flex; align-items: center; gap: 10px; padding: 2px 22px; border-bottom: 1px solid #eeece7; font-size: 15px; color: #3a3f45; }
.doc a { color: #3a3f45; text-decoration: none; flex: 1; padding: 12px 0; }
.doc a:hover { color: #e8720c; text-decoration: underline; }
.doc__sep { color: #8a9099; }
.pdf-badge { font: 700 10px Barlow, 'Barlow Fallback', sans-serif; background: #17191c; color: #ffffff; padding: 3px 6px; letter-spacing: 0.08em; flex-shrink: 0; }
.accordion__btn {
  width: 100%; text-align: left; border: none; cursor: pointer; padding: 16px 22px;
  font: 600 18px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; letter-spacing: 0.04em;
  background: #f5f4f1; color: #22262a; display: flex; justify-content: space-between; align-items: center;
}
.accordion__hint { color: #ab5800; font: 600 14px Barlow, 'Barlow Fallback', sans-serif; }

.insurance-wrap { max-width: 1200px; margin: 0 auto; padding: 48px 24px 8px; }
.insurance {
  background: #17191c; padding: 36px 40px; display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between; scroll-margin-top: 90px;
}
.insurance__text { max-width: 60ch; }
.insurance h2 { margin: 0 0 8px; font: 700 28px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ffffff; text-transform: uppercase; }
.insurance p { margin: 0; color: #a9afb6; line-height: 1.6; font-size: 16px; }
.insurance .btn { padding: 14px 26px; white-space: nowrap; letter-spacing: 0; }

.affiliates { max-width: 1200px; margin: 0 auto; padding: 48px 24px 72px; scroll-margin-top: 90px; }
.affiliates h2 { margin: 0 0 12px; }
.affiliates__intro { margin: 0 0 24px; color: #565c63; font-size: 16px; max-width: 64ch; }
.affiliates .chip-wall { gap: 8px; }
.chip--name {
  border: 1px solid #dcd9d3; background: #ffffff; padding: 8px 15px;
  font: 600 14px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #3a3f45; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---------- Contact ---------- */
.contact {
  max-width: 1200px; margin: 0 auto; padding: 56px 24px 72px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 40px; align-items: start;
}
.contact-form[hidden] { display: none; }
.contact-form { background: #ffffff; border: 1px solid #dcd9d3; padding: 32px; display: grid; gap: 18px; }
.contact-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 14px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.08em; color: #3a3f45; }
.field input, .field select, .field textarea {
  min-width: 0; width: 100%; box-sizing: border-box;
  border: 1px solid #c9c5be; background: #f5f4f1; padding: 11px 12px;
  font: 400 16px Barlow, 'Barlow Fallback', sans-serif; color: #22262a;
}
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: inset 0 0 0 1px #b3261e; }
.field__error { margin: 0; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; color: #b3261e; line-height: 1.4; }
.field__error[hidden] { display: none; }
.field--trap { position: absolute; left: -9999px; }
.contact-form .btn { padding: 14px 30px; letter-spacing: 0; }
.form-notice { margin: 0; padding: 14px 16px; border: 1px solid #dcd9d3; border-left: 3px solid #e8720c; background: #f5f4f1; color: #3a3f45; font-size: 15px; line-height: 1.55; }
.form-notice[hidden] { display: none; }
.form-success { background: #ffffff; border: 1px solid #dcd9d3; border-top: 3px solid #e8720c; padding: 32px; }
.form-success[hidden] { display: none; }
.form-success h2 { margin: 0 0 8px; font: 700 26px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.form-success p { margin: 0; color: #565c63; line-height: 1.6; font-size: 16px; }
.contact-aside { display: grid; gap: 22px; }
.contact-card { background: #17191c; padding: 30px 32px; }
.contact-card h2 { margin: 0 0 16px; font: 700 24px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; color: #ffffff; text-transform: uppercase; }
.contact-card p { margin: 0 0 6px; color: #a9afb6; font-size: 16px; }
.contact-card p:last-child { margin-bottom: 0; }
.contact-card a { color: #e8964a; text-decoration: none; }
.contact-card a:hover { color: #ffffff; }
.contact-card__tel { font: 600 20px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; }
.contact-note { background: #ffffff; border: 1px solid #dcd9d3; padding: 26px 28px; }
.contact-note h2 { margin: 0 0 8px; font: 600 19px 'Barlow Condensed', 'Barlow Condensed Fallback', sans-serif; text-transform: uppercase; }
.contact-note p { margin: 0; color: #565c63; line-height: 1.6; font-size: 15px; }
.contact-aside img { width: 100%; height: 220px; object-fit: cover; display: block; border: 1px solid #dcd9d3; }

/* ---------- 404 ---------- */
.notfound { max-width: 1200px; margin: 0 auto; padding: 64px 24px 96px; }
.notfound p { margin: 0 0 24px; color: #3a3f45; font-size: 17px; line-height: 1.6; max-width: 60ch; }

/* Accordion heading wraps the button; reset the doc-group h3 chrome on it */
.doc-group h3.accordion__h { margin: 0; padding: 0; border: 0; background: none; }

/* ---------- Community outreach page ---------- */
.milestones { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.milestones li { position: relative; padding-left: 18px; color: #d4d7db; line-height: 1.5; font-size: 16px; }
.milestones li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: #e8720c; }
.outreach { max-width: 1200px; margin: 0 auto; padding: 24px 24px 32px; }
.outreach__intro { margin: 12px 0 8px; color: #565c63; font-size: 17px; line-height: 1.6; max-width: 62ch; }
.program { display: flex; flex-wrap: wrap; gap: 28px 48px; padding: 40px 0; border-top: 1px solid #dcd9d3; }
.program:first-of-type { border-top: 0; }
.program__text { flex: 1 1 280px; max-width: 46ch; }
.program__meta { margin: 0 0 12px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #565c63; }
.program__text p:not(.program__meta) { margin: 0; color: #3a3f45; line-height: 1.65; font-size: 16px; }
.program__photos { flex: 2 1 360px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.program__photos img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid #dcd9d3; background: #ffffff; }
.program__photos--logo img { object-fit: contain; padding: 16px; box-sizing: border-box; }

/* ---------- Photo galleries + lightbox (js/gallery.js) ---------- */
.zoom { display: block; cursor: zoom-in; }
.zoom:focus-visible { outline: 2px solid #e8720c; outline-offset: 3px; }
.featured__body a { color: #e8964a; }
.featured__body a:hover { color: #ffffff; }
.featured__source { margin: 0; font-size: 14px; color: #a9afb6; }
.featured__gallery { padding: 40px; display: grid; gap: 20px; align-content: center; }
.featured__panel--gallery { display: flex; flex-wrap: wrap; }
.featured__panel--gallery .featured__body { flex: 1 1 380px; min-width: 0; }
.featured__panel--gallery .featured__gallery { flex: 1.5 1 420px; min-width: 0; padding: 40px 40px 40px 8px; }
.featured__panel--gallery .featured__strip { flex: 1 1 100%; }
.gallery.featured__strip { grid-column: 1 / -1; padding: 0 40px 40px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 18px 20px; margin: 24px 0 20px; }
.facts dd { margin: 4px 0 0; }
.facts .stat__num { font-size: 30px; line-height: 1; }
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; margin: 0; }
.compare figure { margin: 0; }
.compare img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.compare figcaption { margin-top: 8px; font: 500 14px Barlow, 'Barlow Fallback', sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #a9afb6; }
.compare figcaption strong { color: #ffffff; font-weight: 600; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gallery img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(23, 25, 28, 0.94); }
.lightbox__fig { margin: 0; height: 100%; box-sizing: border-box; padding: 64px clamp(16px, 6vw, 72px) 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__cap { color: #d4d7db; font-size: 15px; text-align: center; max-width: 70ch; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 44px; height: 44px; background: rgba(23, 25, 28, 0.6); border: 1px solid #6a7076;
  color: #ffffff; font: 400 30px/1 Barlow, 'Barlow Fallback', sans-serif; cursor: pointer; padding: 0;
}
.lightbox__close:hover, .lightbox__nav:hover, .lightbox__close:focus-visible, .lightbox__nav:focus-visible { border-color: #e8720c; outline: none; }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

