/* Site navigation sits below the contacts, above the page-location divider. */
.header .header-bar{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:24px;min-width:0;padding-top:12px;border-top:1px solid var(--line)}
.header .header-breadcrumb{display:flex;align-items:center;gap:8px;flex:1 1 0;min-width:0;margin:0;font-size:13px;line-height:1.5;letter-spacing:0;color:var(--muted)}
.header-breadcrumb>a,.header-breadcrumb>[aria-hidden="true"]{flex-shrink:0}
.header-breadcrumb>a{display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid transparent}
.header-breadcrumb>a:hover{color:var(--accent);border-color:currentColor}
.header-breadcrumb>.header-current{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.header-breadcrumb .header-path-meta{display:none}
.header-breadcrumb>a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(min-width:961px){
  .header{row-gap:6px}
  .header>.brand{grid-row:1/3;align-self:center}
  .header>.header-contacts{grid-column:2/-1}
  .header>.nav{grid-column:2/-1;grid-row:2;justify-self:end;width:max-content;max-width:100%;gap:26px;border:0;padding:0;white-space:nowrap;min-height:41px}
  .header>.nav>a{display:inline-flex;align-items:center;min-height:40px;padding:5px 0;border:0;background:transparent;color:var(--accent);box-shadow:none;line-height:1.4;text-decoration:none}
  .header>.nav>a:is([aria-current="page"],[aria-current="location"]){color:#253f4e;font-weight:500;border:0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
  .header>.nav>a:hover{color:#253f4e;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}
  .header>.nav>a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
  .header>.nav>.nav-contact{display:none}
  .header .header-bar--home{padding-top:0;min-height:1px}
  #top.hero{padding-top:28px;border-top:0}
}
/* The compact menu keeps its previous absolute positioning and controls. */
@media(max-width:960px){
  .header .header-bar{grid-row:2;gap:0;padding-top:8px}
  .header .header-bar--home{display:contents}
  .header .header-breadcrumb{flex-wrap:wrap;flex-basis:100%;gap:4px 8px;font-size:14px}
  .header-breadcrumb>.header-current{flex:1 1 150px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:break-word}
}
@media(max-width:760px){.header .header-bar{grid-row:3}}

/* Content begins at one consistent inset after the page-location rail. */
.workshop-page .ws-main .ws-hero{padding-top:28px}
.workshop-page .ws-hero-layout{align-items:start}
.about-page .about-intro{padding-top:28px;border-top:0}
.about-page .about-intro-layout{padding-top:0;align-items:start}
.portfolio-page .archive-intro{padding-top:28px;border-top:0}
.portfolio-page .archive-heading{padding-top:0}
.equipment-page .equipment-content{padding-top:28px}
.legal-main{padding-top:28px;border-top:0}
@media(min-width:761px){#top .hero-drawing.hero-product{align-self:start;margin-top:0}}
@media(max-width:960px){#top.hero{padding-top:24px}}
@media(max-width:760px){
  .workshop-page .ws-main .ws-hero,.about-page .about-intro,
  .portfolio-page .archive-intro,.equipment-page .equipment-content,.legal-main{padding-top:24px}
}
